Split nptl-signals.h out from pthreadP.h
[platform/upstream/glibc.git] / ChangeLog
1 2014-07-31  Roland McGrath  <roland@hack.frob.com>
2
3         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
4         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
5         * sysdeps/nptl/nptl-signals.h: New file.
6         * nptl/pthreadP.h: Include <nptl-signals.h>.
7
8 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
9
10         * sysdeps/s390/s390-64/utf16-utf32-z9.c
11         (ONE_DIRECTION): Define.
12         * sysdeps/s390/s390-64/utf8-utf16-z9.c
13         (ONE_DIRECTION): Define.
14         * sysdeps/s390/s390-64/utf8-utf32-z9.c
15         (ONE_DIRECTION): Define.
16
17 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
18
19         * sysdeps/s390/Makefile: Delete file.
20         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
21         * sysdeps/s390/__longjmp.c: Delete file.
22         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
23         Remove fields __flags and __reserved.
24         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
25         and add versioning.
26         * sysdeps/s390/rtld-__longjmp.c: Delete file.
27         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
28         * sysdeps/s390/rtld-setjmp.S: Likewise.
29         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
30         * sysdeps/s390/s390-32/__longjmp.c: ... here.
31         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
32         * sysdeps/s390/s390-32/setjmp.S: ... here.
33         Add versioning.
34         (__sigsetjmp): Remove setting __flags field.
35         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
36         * sysdeps/s390/s390-64/__longjmp.c: ... here.
37         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
38         * sysdeps/s390/s390-64/setjmp.S: ... here.
39         Add versioning.
40         (__sigsetjmp): Remove setting __flags field.
41         * sysdeps/s390/setjmp.S: Delete file.
42         * sysdeps/s390/sigjmp.c: Likewise.
43         * sysdeps/s390/v1-longjmp.c: Likewise.
44         * sysdeps/s390/v1-setjmp.h: Likewise.
45         * sysdeps/s390/v1-sigjmp.c: Likewise.
46         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
47         Remove v1-longjmp_chk.
48         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
49         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
50         Include debug/longjmp_chk.c and add versioning.
51         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
52         Include nptl/pt-longjmp.c and add versioning.
53         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
54         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
55         Include __longjmp.c.
56         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
57         Move to ...
58         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
59         (__getcontext): Remove setting __flags field.
60         Add versioning.
61         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
62         Don't restore upper high grps.
63         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
64         Likewise.
65         (__swapcontext): Remove setting uc_flags field.
66         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
67         Delete file.
68         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
69         Include __longjmp.c.
70         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
71         Move to ...
72         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
73         (__getcontext): Remove setting __flags field.
74         Add versioning.
75         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
76         (__swapcontext): Remove setting uc_flags field.
77         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
78         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
79         Remove fields uc_high_gprs and __reserved.
80         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
81         New file with reverted content.
82         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
83         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
84         Regenerated.
85         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
86         Regenerated.
87
88 2014-07-31  Andreas Schwab  <schwab@suse.de>
89
90         * config.h.in (HAVE_IFUNC): Define to 0.
91         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
92         definedness.
93
94 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
95
96         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
97         memmove-avx-unaligned, memcpy-avx-unaligned and
98         mempcpy-avx-unaligned.
99         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
100         Add tests for AVX memcpy functions.
101         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
102         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
103         memcpy_chk.
104         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
105         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
106         memmove_chk.
107         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
108         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
109         mempcpy_chk.
110         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
111         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
112         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
113
114 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
115
116         [BZ #17213]
117         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
118         powerpc64le.
119
120 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
121
122         [BZ #16839]
123         * manual/llio.texi: Add section about open file description locks.
124         * manual/examples/ofdlocks.c: Example of open file description
125         lock usage.
126         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
127         F_OFD_SETLK, and F_OFD_SETLKW.
128
129 2014-07-23  Allan McRae  <allan@archlinux.org>
130
131         * po/es.po: Update Spanish translation from translation project.
132
133 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
134
135         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
136
137 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
138
139         [BZ #17078]
140         * sysdeps/arm/dl-machine.h (elf_machine_rela)
141         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
142         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
143
144 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
145
146         [BZ #17088]
147         * math/fesetenv.c (__fesetenv)
148         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
149         * math/feupdateenv.c (__feupdateenv)
150         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
151
152         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
153         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
154         (__ASSUME_SOCKETCALL): Do not define.
155
156         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
157         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
158         (__ASSUME_SOCKETCALL): Do not define.
159         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
160         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
161         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
162         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
163         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
164         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
165         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
166         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
167
168         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
169         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
170         (__ASSUME_SOCKETCALL): Do not define.
171         (__ASSUME_IPC64): Define unconditionally.
172         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
173         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
174         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
175         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
176         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
177         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
178         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
179         Likewise.
180
181         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
182         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
183         (__ASSUME_SOCKETCALL): Do not define.
184         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
185         (__ASSUME_FUTEX_LOCK_PI): Likewise.
186         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
187         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
188         (__ASSUME_REQUEUE_PI): Define unconditionally.
189         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
190         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
191         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
192         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
193         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
194         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
195
196         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
197         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
198         (__ASSUME_SOCKETCALL): Do not define.
199         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
200         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
201         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
202         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
203         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
204         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
205
206         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
207         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
208         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
209         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
210         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
211         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
212         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
213         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
214         (__ASSUME_GETCPU_SYSCALL): Likewise.
215
216         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
217         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
218         cases for individual architectures.
219         * sysdeps/gnu/configure: Regenerated.
220         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
221         LIBC_SLIBDIR_RTLDDIR.
222         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
223         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
224         LIBC_SLIBDIR_RTLDDIR.
225         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
227         LIBC_SLIBDIR_RTLDDIR.
228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
229         Regenerated.
230         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
231         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
232         file.
233         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
234         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
235         file.
236         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
237         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
238         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
239         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
240
241         * sysdeps/aarch64/shlib-versions: Move to ...
242         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
243         * sysdeps/alpha/shlib-versions: Move to ...
244         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
245         * sysdeps/arm/shlib-versions: Move to ...
246         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
247         * sysdeps/hppa/shlib-versions: Move all contents except for
248         libgcc_s entry to ...
249         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
250         entry from ...
251         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
252         * sysdeps/ia64/shlib-versions: Move to ...
253         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
254         entry from ...
255         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
256         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
257         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
258         * sysdeps/microblaze/shlib-versions: Move to ...
259         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
260         * sysdeps/mips/shlib-versions: Move to ...
261         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
262         entry from ...
263         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
264         * sysdeps/tile/shlib-versions: Move to ...
265         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
266         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
267         from ...
268         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
269         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
270         entry from ...
271         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
272
273 2014-07-17  Will Newton  <will.newton@linaro.org>
274
275         * sysdeps/arm/bits/atomic.h
276         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
277         (__arch_compare_and_exchange_bool_16_int): Likewise.
278         (__arch_compare_and_exchange_bool_64_int): Likewise.
279
280         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
281         into an #else block.
282
283 2014-07-16  Roland McGrath  <roland@hack.frob.com>
284
285         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
286         just Linux configurations.  Test empirically that the compiler sets
287         __ARM_EABI__, rather than using the tuple to decide.
288         * sysdeps/arm/preconfigure: Regenerated.
289         * sysdeps/unix/sysv/linux/arm/configure: File removed.
290         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
291         contents appended ...
292         * sysdeps/arm/configure.ac: ... here.
293         * sysdeps/arm/configure: Regenerated.
294
295 2014-07-15  Roland McGrath  <roland@hack.frob.com>
296
297         * nptl/pthread_kill.c: New file.
298         * nptl/pthread_sigmask.c: New file.
299         * nptl/pthread_sigqueue.c: New file.
300
301         * sysdeps/nptl/lowlevellock.h: New file.
302         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
303         * sysdeps/nptl/lowlevellock-futex.h: New file.
304
305         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
306         Remove dead declarations.
307
308 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
309
310         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
311         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
312         config-cflags-avx2.
313         * sysdeps/x86_64/configure.ac: Likewise.
314         * sysdeps/i386/configure: Regenerated.
315         * sysdeps/x86_64/configure: Likewise.
316         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
317         memset-avx2 only if config-cflags-avx2 is yes.
318         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
319         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
320         defined.
321         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
322         only if HAVE_AVX2_SUPPORT is defined.
323         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
324
325 2014-07-14  Alan Modra  <amodra@gmail.com>
326
327         [BZ #17153]
328         * elf/elf.h (DT_PPC64_NUM): Correct value.
329         * NEWS: Add to fixed bug list.
330
331 2014-07-13  Jim Meyering  <meyering@fb.com>
332
333         [BZ 17150]
334         regex: don't deref NULL upon heap allocation failure
335         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
336         failure in one more place.
337         To trigger the segfault, configure grep -with-included-regex,
338         build it, and run these commands:
339         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
340
341 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
342
343         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
344
345 2014-07-11  Richard Henderson  <rth@redhat.com>
346
347         * sysdeps/aarch64/libm-test-ulps: Update.
348
349 2014-07-10  Florian Weimer  <fweimer@redhat.com>
350
351         [BZ #17135]
352         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
353         * nptl/allocatestack.c (__nptl_setxid_error): New function.
354         (__nptl_setxid): Initialize error member.  Call
355         __nptl_setxid_error.
356         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
357         * nptl/descr.h (struct xid_command): Add error member.
358         * nptl/tst-setuid3.c: New file.
359         * nptl/Makefile (tests): Add it.
360
361 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
362
363         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
364         New define.
365         (__lll_trylock): Use __lll_base_trylock.
366         (__lll_cond_trylock): Likewise.
367
368 2014-07-10  Roland McGrath  <roland@hack.frob.com>
369
370         * nptl/pthread_create.c (start_thread): Use atomic_or and
371         lll_futex_wake directly rather than lll_robust_dead.
372         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
373         (lll_robust_dead): Macro removed.
374         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
375         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
376         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
377         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
378         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
379         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
380         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
381         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
382         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
383         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
384         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
385         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
386         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
387         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
388         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
389
390         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
391         Use atomic_compare_and_exchange_val_acq directly rather than
392         lll_robust_trylock.
393         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
394         (__lll_robust_trylock, lll_robust_trylock): Removed.
395         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
396         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
397         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
398         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
399         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
400         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
401         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
402         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
403         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
404         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
405         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
406         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
407         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
408         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
409
410 2014-07-02  Florian Weimer  <fweimer@redhat.com>
411
412         * manual/locale.texi (Locale Names): New section documenting
413         locale name syntax.  Adjust menu and node chaining accordingly.
414         (Choosing Locale): Reference Locale Names, Locale Categories.
415         Mention setting LC_ALL=C.  Reflect that name syntax is now
416         documented.
417         (Locale Categories): New section title.  Reference Locale Names.
418         LC_ALL is an environment variable, but not a category.
419         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
420         description, now in Locale Name.  Reference that section.  Locale
421         name syntax is now documented.
422
423 2014-07-02  Florian Weimer  <fweimer@redhat.com>
424
425         [BZ #17137]
426         * locale/findlocale.c (name_present, valid_locale_name): New
427         functions.
428         (_nl_find_locale): Use the loc_name variable to store name
429         candidates.  Call name_present and valid_locale_name to check and
430         validate locale names.  Return an error if the locale is invalid.
431
432 2014-07-02  Florian Weimer  <fweimer@redhat.com>
433
434         * locale/setlocale.c (setlocale): Use strdup for allocating
435         composite name copy.
436
437 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
438
439         Sync up with gnulib.
440         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
441         [!_LIBC && ENABLE_NLS]: Include gettext.h.
442         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
443         and _GL_ARG_NONNULL.
444         [USE_UNLOCKED_IO]: Include unlocked-io.h.
445         [!_LIBC]: Include code for Windows and Cygwin.
446         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
447         Include prototype for int strerror_r.
448         [!_LIBC] (is_open): New function.
449         (flush_stdout): New function.
450         (print_errno_message): Use it.
451         (error): Likewise.
452         (error_at_line): Likewise.
453         (error_tail) Add function attribute macros.  Use
454         __builtin_expect.
455
456         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
457
458         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
459
460         * io/ftw.c: Include sys/param.h unconditionally.
461
462         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
463
464         [BZ #17125]
465         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
466         libc_freeres_ptr.
467         (freecache): New function to free CACHE on exit.
468
469         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
470         initialization.
471
472 2014-07-09  David S. Miller  <davem@davemloft.net>
473
474         * sysdeps/sparc/fpu/libm-test-ulps: Update.
475
476         * sysdeps/sparc/nptl/internaltypes.h: Delete.
477         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
478         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
479         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
480         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
481         * sysdeps/sparc/nptl/sem_init.c: Likewise.
482         * sysdeps/sparc/nptl/sem_post.c: Likewise.
483         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
484         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
485         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
486         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
487         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
488         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
489
490 2014-07-09  Andreas Schwab  <schwab@suse.de>
491
492         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
493         output.
494         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
495         (do_test): Likewise.
496
497         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
498
499 2014-07-09  Will Newton  <will.newton@linaro.org>
500
501         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
502         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
503         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
504         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
505         * sysdeps/hppa/start.S (_start): Likewise.
506
507 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
508
509         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
510
511         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
512         defined.
513
514 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
515
516         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
517         after checking that it is non-NULL.
518
519         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
520
521 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
522
523         * sysdeps/powerpc/memmove.c: Remove file.
524         * sysdeps/powerpc/powerpc32/power4/memcopy.h
525         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
526         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
527         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
528         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
529         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
530         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
531         string memmove instead of removed powerpc one.
532
533         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
534         [weak_alias]: Fix compiler warning due trailing data.
535         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
536         [weak_alias]: Likewise.
537         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
538         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
539
540         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
541         (__libc_ifunc_impl_list): Add memmove functions.
542
543 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
544
545         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
546         Remove code.
547         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
548         Likewise
549         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
550         Likewise
551         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
552         Likewise
553         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
554         Likewise
555         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
556         Likewise
557         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
558         Likewise
559         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
560         Likewise
561         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
562         Likewise
563         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
564         Likewise
565         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
566         Likewise
567         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
568         Likewise
569         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
570         Likewise
571         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
572         Likewise
573         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
574         Likewise
575         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
576         Likewise
577         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
578         Likewise
579
580 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
581
582         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
583         to avoid alignment traps in non-cacheable memory.
584         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
585
586         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
587         multiarch objects.
588         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
589         file: multiarch power7 memmove.
590         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
591         multiarch default memmove.
592         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
593         multiarch memove for powerpc32/power4.
594
595         * string/bcopy.c: Use full path to include memmove.c.
596         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
597         multiarch objects.
598         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
599         bcopy for powerpc64.
600         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
601         bcopy for powerpc64.
602         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
603         and memmove implementations.
604         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
605         optimized multiarch memmove for POWER7/powerpc64.
606         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
607         default multiarch memmove for powerpc64.
608         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
609         multiarch for powerpc64.
610         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
611         for POWER7/powerpc64.
612         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
613         memmove for POWER7/powerpc64.
614
615         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
616         glibc default one.
617
618         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
619         __ELF_NATIVE_CLASS equal to 64.
620
621 2014-07-07  Roland McGrath  <roland@hack.frob.com>
622
623         * sysdeps/nptl/lowlevellock.h: File removed.
624
625         * NEWS: NPTL is no longer an add-on!
626         * nptl/internaltypes.h: Moved ...
627         * sysdeps/nptl/internaltypes.h: ... here.
628         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
629         * sysdeps/nptl/fork.c: Likewise.
630         * sysdeps/nptl/gai_misc.h: Likewise.
631         * sysdeps/nptl/librt-cancellation.c: Likewise.
632         * sysdeps/nptl/jmp-unwind.c: Likewise.
633         * sysdeps/nptl/setxid.h: Likewise.
634         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
635         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
636         * sysdeps/unix/sysv/linux/arm/Implies: New file.
637         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
638         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
639         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
640         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
641         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
642         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
643         * sysdeps/unix/sysv/linux/mips/Implies: New file.
644         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
645         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
646         * sysdeps/unix/sysv/linux/sh/Implies: New file.
647         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
648         * sysdeps/unix/sysv/linux/tile/Implies: New file.
649         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
650         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
651         * nptl/Makeconfig: Moved ...
652         * sysdeps/nptl/Makeconfig: ... here.
653         * nptl/configure: File removed.
654         * nptl/ANNOUNCE: File removed.
655         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
656         * sysdeps/unix/sysv/linux/configure: Regenerated.
657
658         * nptl/Makefile (routines): Add libc_pthread_init,
659         libc_multiple_threads, register-atfork and unregister-atfork.
660         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
661         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
662         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
663         pthread-pi-defines.sym, structsem.sym.
664         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
665         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
666         [$(subdir) = nptl] (tests): Add tst-setgetname.
667         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
668         * sysdeps/unix/sysv/linux/sigaction.c: Just include
669         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
670         [!LIBC_SIGACTION]: Remove aliases.
671         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
672         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
673         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
674         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
675         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
676         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
677         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
678         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
679         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
680         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
681         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
682         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
683         __libc_allocate_rtsig_private.
684         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
685         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
686         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
687         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
688         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
689         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
690         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
691         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
692         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
693         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
694         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
695         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
696         * nptl/internaltypes.h: ... here.
697         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
698         * sysdeps/nptl/jmp-unwind.c: ... here.
699         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
700         * nptl/libc-lowlevellock.c: ... here.
701         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
702         * nptl/libc_multiple_threads.c: ... here.
703         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
704         * nptl/libc_pthread_init.c: ... here.
705         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
706         * nptl/lowlevelbarrier.sym: ... here.
707         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
708         * nptl/lowlevelcond.sym: ... here.
709         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
710         * nptl/lowlevellock.c: ... here.
711         * nptl/lowlevellock.h: Moved ...
712         * sysdeps/nptl/lowlevellock.h: ... here.
713         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
714         * nptl/lowlevelrobustlock.c: ... here.
715         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
716         * nptl/lowlevelrobustlock.sym: ... here.
717         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
718         * nptl/lowlevelrwlock.sym: ... here.
719         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
720         * nptl/pt-fork.c: ... here.
721         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
722         * nptl/pthread-pi-defines.sym: ... here.
723         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
724         * nptl/pthread_attr_getaffinity.c: ... here.
725         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
726         * nptl/pthread_attr_setaffinity.c: ... here.
727         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
728         * nptl/pthread_mutex_cond_lock.c: ... here.
729         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
730         Update #include.
731         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
732         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
733         * nptl/pthread_once.c: ... here, replacing old file.
734         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
735         * nptl/pthread_yield.c: ... here.
736         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
737         * nptl/register-atfork.c: ... here.
738         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
739         * nptl/sem_post.c: ... here.
740         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
741         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
742         * nptl/sem_timedwait.c: ... here.
743         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
744         * nptl/sem_trywait.c: ... here.
745         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
746         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
747         * nptl/sem_wait.c: ... here.
748         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
749         * nptl/structsem.sym: ... here.
750         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
751         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
752         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
753         * nptl/unregister-atfork.c: ... here.
754         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
755         * nptl/unwindbuf.sym: ... here.
756         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
757         * sysdeps/nptl/fork.c: ... here.
758         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
759         * sysdeps/nptl/fork.h: ... here.
760         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
761         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
762         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
763         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
764         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
765         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
766         * sysdeps/unix/sysv/linux/getpid.c: ... here.
767         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
768         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
769         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
770         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
771         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
772         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
773         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
774         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
775         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
776         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
777         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
778         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
779         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
780         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
781         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
782         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
783         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
784         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
785         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
786         * sysdeps/unix/sysv/linux/raise.c: ... here.
787         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
788         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
789         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
790         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
791         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
792         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
793         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
794         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
795         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
796         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
797         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
798         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
799         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
800         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
801         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
802
803 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
804
805         * sysdeps/generic/memcopy.h: Add comment for
806         MEMCPY_OK_FOR_FWD_MEMMOVE.
807
808 2014-07-04  Will Newton  <will.newton@linaro.org>
809
810         * string/memchr.c: Merge from gnulib.
811         [_LIBC]: Remove conditionals.
812         (__ptr_t): Remove define.
813         (LONG_MAX_32_BITS): Likewise.
814         (LONG_MAX): Likewise.
815         (MEMCHR): Use ANSI prototype and optimize algorithm.
816
817         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
818
819 2014-07-03  Roland McGrath  <roland@hack.frob.com>
820
821         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
822         (lll_futex_timed_wait_bitset): Fix syscall argument count.
823
824         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
825         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
826         in a bare environment with no <stdlib.h> installed.
827         * sysdeps/nptl/configure: Regenerated.
828
829         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
830
831         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
832         AC_EGREP_CPP for kernel header checks, so they only succeed if
833         including <linux/version.h> actually works right.
834         * sysdeps/unix/sysv/linux/configure: Regenerated.
835
836         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
837         value so it's not diagnosed as unused.
838
839         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
840         thing) with "ifeq ($(subdir),rt)".
841
842 2014-07-03  Richard Henderson  <rth@redhat.com>
843
844         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
845         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
846         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
847
848         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
849         (math_force_eval): New.
850
851         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
852         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
853
854         * sysdeps/alpha/fpu/s_round.c: Remove file.
855         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
856
857         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
858         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
859         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
860         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
861         (_dl_start, print_statistics): Likewise.
862         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
863         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
864
865         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
866         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
867         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
868         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
869         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
870         (HP_SMALL_TIMING_AVAIL): Define.
871         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
872         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
873         (HP_SMALL_TIMING_AVAIL): Define.
874         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
875         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
876
877         * sysdeps/aarch64/hp-timing.h: New file.
878
879         * sysdeps/generic/hp-timing.h: Remove dead comment.
880         * sysdeps/generic/hp-timing-common.h: New file.
881         * sysdeps/alpha/hp-timing.h: Include it.
882         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
883         * sysdeps/i386/i686/hp-timing.h: Likewise.
884         * sysdeps/ia64/hp-timing.h: Likewise.
885         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
886         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
887         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
888         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
889         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
890         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
891         (hp_timing_t): New.
892
893         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
894         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
895         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
896         * elf/rtld.c (_dl_start_final): Likewise.
897         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
898         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
899         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
900         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
901         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
902         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
903         (HP_TIMING_DIFF_INIT): Remove.
904         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
905         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
906         (HP_TIMING_DIFF_INIT): Remove.
907         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
908         * sysdeps/i386/i686/hp-timing.c: Remove file.
909         * sysdeps/x86_64/hp-timing.c: Remove file.
910         * sysdeps/ia64/hp-timing.c: Remove file.
911         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
912         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
913         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
914         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
915
916         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
917         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
918         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
919         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
920         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
921         (HP_TIMING_ACCUM): Remove.
922         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
923         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
924         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
925
926         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
927         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
928         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
929         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
930         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
931         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
932         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
933         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
934
935         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
936
937 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
938
939         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
940
941 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
942
943         Sync up with gettext.
944         * intl/loadmsgcat.c: Define O_BINARY if not defined.
945         [_MSC_VER]: Include malloc.h
946         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
947         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
948         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
949         TEMP_FAILURE_RETRY.  Cast return of alloca.
950         [!_LIBC] Call gl_rwlock_init.
951         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
952
953 2014-07-02  Roland McGrath  <roland@hack.frob.com>
954
955         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
956         before checking its value.
957
958 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
959
960         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
961
962         * debug/memcpy_chk.c: Don't include pagecopy.h.
963         * debug/mempcpy_chk.c: Likewise.
964         * string/memcpy.c: Likewise.
965         * string/memmove.c: Likewise.
966         * sysdeps/powerpc/memmove.c: Likewise.
967         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
968         definition of PAGE_COPY_FWD_MAYBE here...
969         * sysdeps/generic/pagecopy.h: ... from here.
970         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
971
972 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
973             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
974
975         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
976         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
977         optimizations.
978         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
979         (__libc_ifunc_impl_list): Likewise.
980         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
981         multiarch strcat for PPC64.
982         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
983         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
984
985 2014-07-02  Roland McGrath  <roland@hack.frob.com>
986
987         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
988
989 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
990
991         * intl/loadmsgcat.c: Remove declaration of
992         get_sysdep_segment_value.
993         (get_sysdep_segment_value): Use ISO C style.
994         (_nl_load_domain): Use ISO C style.  Get rid of redundant
995         semicolon.  Fix typo and formatting in comment.
996         (_nl_unload_domain): Use ISO C style.
997
998         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
999
1000 2014-07-02  Will Newton  <will.newton@linaro.org>
1001
1002         * malloc/obstack.c: Merge from gnulib master.
1003         [HAVE_CONFIG_H]: Remove conditional code.
1004         [!_LIBC]: Include config.h.
1005         [!ELIDE_CODE]: Don't include inttypes.h, include
1006         stdint.h unconditionally.
1007         (print_and_abort): Mark as _Noreturn.
1008         (_obstack_allocated_p): Mark as __attribute_pure__.
1009         (obstack_free): Rename to __obstack_free.
1010         [!__attribute__]: Remove conditional code.
1011         * malloc/obstack.h: Merge from gnulib master.
1012         [__cplusplus]: Move conditional down.
1013         [!__attribute_pure__]: Define __attribute_pure__ here
1014         if it is not already defined.
1015         (_obstack_memory_used): Mark as __attribute_pure__.
1016         [!__obstack_free]: Define as obstack_free.
1017         [__GNUC__]: Remove check for ancient NeXT gcc.
1018
1019 2014-07-02  Will Newton  <will.newton@linaro.org>
1020             Paul Eggert  <eggert@cs.ucla.edu>
1021
1022         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1023
1024 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1025
1026         * resolv/gethnamaddr.c: Add comment warning that the file is
1027         not maintained.
1028
1029 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
1030
1031         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1032         entries.
1033
1034         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1035         entry for aio_cancel and aio_cancel64.
1036         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1037         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1038         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1039         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1040         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1041         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1042         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1043         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1044         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1045         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1046         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1047         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1048         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1049
1050 2014-07-01  Roland McGrath  <roland@hack.frob.com>
1051
1052         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1053         * nptl/pthread_mutex_lock.c: Likewise.
1054         * nptl/pthread_mutex_timedlock.c: Likewise.
1055         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1056
1057 2014-07-01  Richard henderson  <rth@redhat.com>
1058
1059         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1060         (__isnan, __isnanl): Remove.
1061         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1062
1063         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1064
1065 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1066
1067         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1068
1069 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1070
1071         * resolv/nss_dns/dns-host.c (getanswer_r)
1072         [MULTI_PTRS_ARE_ALIASES]: Remove code.
1073
1074 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
1075
1076         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1077         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1078         undefine.
1079         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1080         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1081
1082 2014-07-01  Roland McGrath <roland@hack.frob.com>
1083
1084         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1085         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1086
1087         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1088         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1089
1090         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1091         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1092         ... here.
1093         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1094         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1095
1096         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1097         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1098         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1099         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1100
1101         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1102         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1103         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1104         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1105         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1106         Moved ...
1107         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1108         ... here.
1109         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1110         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1111         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1112         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1113         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1114         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1115         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1116         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1117         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1118         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1119         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1120         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1121         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1122         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1123         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1124         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1125         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1126         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1127         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1128         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1129         ... here.
1130         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1131         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1132         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1133         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1134         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1135         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1136         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1137         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1138
1139 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
1140
1141         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1142         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1143         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1144         Add sysdep.
1145
1146 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1147
1148         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1149
1150 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1151
1152         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1153         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1154
1155         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1156
1157         * sysdeps/arm/libm-test-ulps: Regenerated.
1158
1159 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1160             Roland McGrath <roland@hack.frob.com>
1161
1162         * test-skeleton.c (signal_handler): Kill the whole process group
1163         before killing the child individually.
1164         (main): Report any failure on `setpgid'.
1165
1166 2014-06-30  Roland McGrath  <roland@hack.frob.com>
1167
1168         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1169         from _TLS_H to _ARM_NPTL_TLS_H.
1170         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1171         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1172
1173 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1174
1175         [BZ #16539]
1176         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1177         (__expm1l): Return argument unchanged when small but not
1178         subnormal.
1179
1180         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1181         include macro name.
1182         (_FP_UNPACK_RAW_1_P): Likewise.
1183         (_FP_PACK_RAW_1): Likewise.
1184         (_FP_PACK_RAW_1_P): Likewise.
1185         (_FP_MUL_MEAT_1_wide): Likewise.
1186         (_FP_MUL_MEAT_DW_1_hard): Likewise.
1187         (_FP_MUL_MEAT_1_hard): Likewise.
1188         (_FP_DIV_MEAT_1_imm): Likewise.
1189         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1190         (_FP_DIV_MEAT_1_udiv): Likewise.
1191         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1192         (_FP_UNPACK_RAW_2): Likewise.
1193         (_FP_UNPACK_RAW_2_P): Likewise.
1194         (_FP_PACK_RAW_2): Likewise.
1195         (_FP_PACK_RAW_2_P): Likewise.
1196         (_FP_MUL_MEAT_DW_2_wide): Likewise.
1197         (_FP_MUL_MEAT_2_wide): Likewise.
1198         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1199         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1200         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1201         (_FP_MUL_MEAT_2_gmp): Likewise.
1202         (_FP_DIV_MEAT_2_udiv): Likewise.
1203         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1204         (_FP_FRAC_SRL_4): Likewise.
1205         (_FP_FRAC_SRST_4): Likewise.
1206         (_FP_FRAC_SRS_4): Likewise.
1207         (_FP_UNPACK_RAW_4): Likewise.
1208         (_FP_UNPACK_RAW_4_P): Likewise.
1209         (_FP_PACK_RAW_4): Likewise.
1210         (_FP_PACK_RAW_4_P): Likewise.
1211         (_FP_MUL_MEAT_DW_4_wide): Likewise.
1212         (_FP_MUL_MEAT_4_wide): Likewise.
1213         (_FP_MUL_MEAT_4_gmp): Likewise.
1214         (umul_ppppmnnn): Likewise.
1215         (_FP_DIV_MEAT_4_udiv): Likewise.
1216         (__FP_FRAC_ADD_4): Likewise.
1217         (__FP_FRAC_SUB_3): Likewise.
1218         (__FP_FRAC_SUB_4): Likewise.
1219         (__FP_FRAC_DEC_3): Likewise.
1220         (__FP_FRAC_DEC_4): Likewise.
1221         (__FP_FRAC_ADDI_4): Likewise.
1222         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1223         (_FP_FRAC_SRL_8): Likewise.
1224         (_FP_FRAC_SRS_8): Likewise.
1225
1226         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1227         include macro name.
1228         (FP_UNPACK_RAW_EP): Likewise.
1229         (FP_PACK_RAW_E): Likewise.
1230         (FP_PACK_RAW_EP): Likewise.
1231         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1232         (_FP_ISSIGNAN): Likewise.
1233         (_FP_ADD_INTERNAL): Likewise.
1234         (_FP_FMA): Likewise.
1235         (_FP_CMP): Likewise.
1236         (_FP_SQRT): Likewise.
1237         (_FP_TO_INT): Likewise.
1238         (_FP_FROM_INT): Likewise.
1239         (FP_EXTEND): Likewise.
1240         (_FP_DIV_MEAT_N_loop): Likewise.
1241
1242 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1243
1244         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1245         throughout.
1246
1247 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
1248
1249         [BZ #17097]
1250         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1251         result with correct sign in case of exponents that produce
1252         overflow except for X very close to 1.
1253
1254 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
1255
1256         mktime: merge #if/#ifdef usage from glibc
1257         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1258         as that works with both Glibc's and Gnulib's style.
1259         See thread starting at Siddhesh Poyarekar's bug report at:
1260         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1261
1262 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1263
1264         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1265         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1266         * sysdeps/tile/tilegx/memmove.c: Remove file.
1267
1268 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
1269
1270         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1271         abi-name definition.
1272         * scripts/soversions.awk: Do not handle or generate ABI lines.
1273         * shlib-versions: Remove ABI entries.
1274         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1275         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1276
1277 2014-06-27  Roland McGrath  <roland@hack.frob.com>
1278
1279         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1280         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1281         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1282         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1283         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1284         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1285         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1286         Moved ...
1287         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1288         ... here.
1289         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1290         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1291         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1292         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1293         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1294         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1295         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1296         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1297         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1298         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1299         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1300         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1301         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1302         Moved ...
1303         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1304         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1305         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1306         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1307         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1308         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1309         Moved ...
1310         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1311         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1312         Moved ...
1313         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1314         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1315         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1316         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1317         Moved ...
1318         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1319         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1320         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1321         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1322         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1323         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1324         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1325         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1326         Moved ...
1327         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1328         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1329         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1330         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1331         Moved ...
1332         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1333         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1334         Moved ...
1335         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1336         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1337         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1338         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1339         Moved ...
1340         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1341         ... here.
1342         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1343         Identical file removed.
1344         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1345         Moved ...
1346         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1347         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1348         Identical file removed.
1349         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1350         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1351         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1352         Moved ...
1353         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1354         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1355         Identical file removed.
1356         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1357         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1358         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1359         Identical file removed.
1360         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1361         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1362         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1363         Identical file removed.
1364         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1365         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1366         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1367         Identical file removed.
1368         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1369         Moved ...
1370         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1371         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1372         Identical file removed.
1373         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1374         Moved ...
1375         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1376         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1377         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1378         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1379         Identical file removed.
1380         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1381         Moved ...
1382         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1383         ... here.
1384         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1385         Identical file removed.
1386         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1387         Moved ...
1388         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1389         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1390         Identical file removed.
1391         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1392         Moved ...
1393         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1394         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1395         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1396         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1397         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1398         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1399         Moved ...
1400         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1401         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1402         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1403
1404         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1405         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1406         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1407         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1408         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1409
1410 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
1411
1412         [BZ #17092]
1413         * nscd/nscd.c (monitor_child): Return exit status of child
1414         instead of return value from wait syscall.
1415
1416 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
1417
1418         * configure.ac (libc_commonpagesize): Remove variable.
1419         (libc_relro_required): Likewise.
1420         (libc_cv_z_relro): Remove configure test.
1421         * configure: Regenerated.
1422         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1423         variable.
1424         (libc_relro_required): Likewise.
1425         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1426         (libc_relro_required): Likewise.
1427         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1428         (libc_relro_required): Likewise.
1429         * sysdeps/arm/preconfigure: Regenerated.
1430         * sysdeps/ia64/preconfigure: Remove file.
1431         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1432         variable.
1433         (libc_relro_required): Likewise.
1434
1435         [BZ #16561]
1436         [BZ #16562]
1437         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1438         (__ieee754_yn): Set FE_TONEAREST mode internally and then
1439         recompute overflowing results in original rounding mode.
1440         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1441         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1442         recompute overflowing results in original rounding mode.
1443         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1444         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1445         recompute overflowing results in original rounding mode.
1446         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1447         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1448         recompute overflowing results in original rounding mode.
1449         * sysdeps/ieee754/ldbl-96/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/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1453         (libc_feholdsetround_ctx): New macro.
1454         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1455         * sysdeps/i386/fpu/libm-test-ulps: Update.
1456         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1457
1458 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1459
1460         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1461         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1462         corresponding .cpsetup call.
1463
1464 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1465
1466         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1467         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1468         * sysdeps/arm/Makefile [$(subdir) = csu]
1469         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1470         (static-only-routines): Add aeabi_read_tp here.
1471         (shared-only-routines): Add libc-aeabi_read_tp here.
1472         (CFLAGS-libc-start.c): Add -fexceptions here.
1473         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1474         (sysdep_routines, static-only-routines, shared-only-routines):
1475         Don't add to these here.
1476         (CFLAGS-libc-start.c): Likewise.
1477
1478         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1479         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1480         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1481         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1482         * sysdeps/arm/Makefile [$(subdir) = rt]
1483         (librt-sysdep_routines, librt-shared-only-routines):
1484         Append rt-aeabi_unwind_cpp_pr1 here.
1485         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1486         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1487         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1488         (libpthread-sysdep_routines, libpthread-shared-only-routines):
1489         Append nptl-aeabi_unwind_cpp_pr1 here.
1490         (tests): Filter out tst-cleanupx4 here.
1491         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1492         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1493         Don't do those here.
1494
1495 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1496
1497         * scripts/list-sources.sh: Do not handle ports specially.
1498
1499 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1500
1501         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1502         * sysdeps/arm/feupdateenv.c: Likewise.
1503
1504         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1505
1506 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1507
1508         * manual/texinfo.tex: Update to version 2014-05-05.10 with
1509         trailing whitespace removed.
1510         * scripts/config.guess: Update to version 2014-03-23.
1511         * scripts/config.sub: Update to version 2014-05-01
1512         * scripts/install-sh: Update to version 2013-12-25.23.
1513         * scripts/move-if-change: Update from gnulib.
1514
1515 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1516
1517         * debug/memmove_chk.c: Remove pagecopy.h include.
1518
1519 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
1520
1521         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
1522         identical to gnulib mktime.
1523
1524 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1525
1526         * configure.ac: Do not test for machine being rs6000.  Do not test
1527         for powerpc*-*soft.
1528         * configure: Regenerated.
1529
1530         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1531         test.
1532         * configure: Regenerated.
1533         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1534         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1535         Remove configure test.
1536         * sysdeps/arm/configure: Regenerated.
1537         * sysdeps/nptl/configure.ac: Do not check
1538         libc_cv_asm_cfi_directives.
1539         * sysdeps/nptl/configure: Regenerated.
1540         * sysdeps/x86_64/nptl/configure.ac: Remove file.
1541         * sysdeps/x86_64/nptl/configure: Remove generated file.
1542         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1543         unconditional.
1544         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1545
1546 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1547
1548         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1549         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1550         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1551         it is defined.
1552
1553         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1554         instead of whether it is defined.
1555         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1556         * sysdeps/hppa/dl-machine.h: Likewise.
1557         * sysdeps/ia64/dl-machine.h: Likewise.
1558         * sysdeps/m68k/dl-machine.h: Likewise.
1559         * sysdeps/microblaze/dl-machine.h: Likewise.
1560         * sysdeps/mips/dl-machine.: Likewise.
1561         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1562         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1563         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1564         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1565         * sysdeps/sh/dl-machine.h: Likewise.
1566         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1567         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1568         * sysdeps/tile/dl-machine.h: Likewise.
1569         * sysdeps/x86_64/dl-machine.h: Likewise.
1570
1571         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1572         code.
1573         (verify_persistent_db): Likewise.
1574
1575 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1576
1577         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1578         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1579         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1580         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1581         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1582         Moved ...
1583         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1584         ... here.
1585         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1586         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1587         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1588         Identical file removed.
1589         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1590         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1591         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1592         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1593         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1594         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1595         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1596         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1597         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1598         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1599         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1600         Moved ...
1601         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1602         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1603         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1604         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1605         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1606         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1607         Moved ...
1608         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1609         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1610         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1611         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1612         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1613         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1614         Identical file removed.
1615         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1616         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1617         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1618         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1619         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1620         Moved ...
1621         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1622         ... here.
1623         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1624         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1625         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1626         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1627         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1628         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1629         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1630         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1631         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1632         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1633         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1634         Moved ...
1635         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1636         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1637         Moved ...
1638         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1639         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1640         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1641         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1642         Moved ...
1643         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1644         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1645         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1646
1647         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1648         folded into ...
1649         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1650         * sysdeps/unix/sysv/linux/s390/Versions
1651         (libpthread: GLIBC_2.19): New version set.
1652         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1653         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1654         (librt: GLIBC_2.3.3): New version set.
1655         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1656         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1657         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1658         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1659         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1660         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1661         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1662         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1663         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1664         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1665         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1666         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1667         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1668         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1669         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1670         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1671         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1672         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1673         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1674         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1675         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1676         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1677         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1678         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1679         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1680         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1681         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1682         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1683         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1684         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1685         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1686         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1687         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1688         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1689         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1690         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1691         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1692         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1693         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1694         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1695         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1696         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1697         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1698         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1699         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1700
1701         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1702         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1703         (__libc_vfork): Define the function under this name.
1704         [!NOT_IN_libc] (__vfork): Make this an alias.
1705         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1706         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1707         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1708         (__libc_vfork): Define the function under this name.
1709         [!NOT_IN_libc] (__vfork): Make this an alias.
1710         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1711         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1712         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1713         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1714         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1715         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1716
1717         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1718         code that was previously under [RESET_PID].
1719         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1720         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1721         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1722
1723         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1724         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1725         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1726         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1727         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1728         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1729         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1730         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1731         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1732         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1733         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1734         Moved ...
1735         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1736         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1737         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1738         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1739         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1740         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1741         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1742         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1743         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1744         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1745         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1746         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1747         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1748         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1749         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1750         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1751         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1752         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1753         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1754         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1755         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1756         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1757         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1758         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1759         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1760         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1761         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1762         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1763         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1764
1765 2014-06-25  Roland McGrath  <roland@hack.frob.com>
1766
1767         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1768         that was previously under [RESET_PID].
1769         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1770
1771 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1772
1773         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1774         not undefine and redefine.
1775         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1776         [O_CLOEXEC]: Make code unconditional.
1777         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1778         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1779         <kernel-features.h>.
1780         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1781         conditional variable definition.
1782         (shm_open) [O_CLOEXEC]: Make code unconditional.
1783         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1784         code.
1785
1786         * configure.ac (USE_REGPARMS): Don't define here.
1787         * configure: Regenerated.
1788         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1789         * sysdeps/i386/configure: Regenerated.
1790
1791         * nptl/createthread.c: Don't include kernel-features.h.
1792         * nptl/pthread_cancel.c: Likewise.
1793         * nptl/pthread_condattr_setclock.c: Likewise.
1794         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1795         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1796         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1797         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1798         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1799         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1800         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1801         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1802         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1803         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1804         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1805         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1806         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1807         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1808         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1809         * nscd/gai.c: Likewise.
1810         * nss/nss_db/db-open.c: Likewise.
1811         * sysdeps/generic/ldsodefs.h: Likewise.
1812         * sysdeps/sh/nptl/tls.h: Likewise.
1813         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1814         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1815         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1816         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1817         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1818         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1819         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1820         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1821         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1822         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1823         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1824         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1825         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1826         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1827         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1828         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1829         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1830         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1831         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1832         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1833         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1834         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1835         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1836         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1837         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1838         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1839         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1840         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1841         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1842         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1843         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1844         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1845         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1846         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1847         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1848         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1849         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1850         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1851         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1852         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1853         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1854         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1855         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1856         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1857         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1858         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1859         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1860         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1861         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1862         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1863         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1864         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1865         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1866         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1867         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1868         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1869         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1870         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1893         * sysdeps/unix/sysv/linux/pread.c: Likewise.
1894         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1895         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1896         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1897         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1898         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1899         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1900         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1901         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1902         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1903         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1904         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1905         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1906         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1907         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1908         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1909         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1910         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1911         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1912         * sysdeps/unix/sysv/linux/system.c: Likewise.
1913         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1914         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1915         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1916         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1917         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1918         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1919         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1920
1921         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1922         * configure: Regenerated.
1923         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1924
1925         * configure.ac (base_machine): Do not set specially for particular
1926         machines here.
1927         * configure: Regenerated.
1928         * sysdeps/powerpc/preconfigure: Move machine and base_machine
1929         settings from configure.ac.
1930         * sysdeps/i386/preconfigure: New file.
1931         * sysdeps/s390/preconfigure: Likewise.
1932         * sysdeps/sh/preconfigure: Likewise.
1933         * sysdeps/sparc/preconfigure: Likewise.
1934
1935 2014-06-25  Roland McGrath  <roland@hack.frob.com>
1936
1937         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1938         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1939         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1940         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1941         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1942         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1943         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1944         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1945         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1946         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1947         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1948         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1949         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1950         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1951         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1952         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1953         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1954         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1955         * sysdeps/sparc/sparc64/Makefile: ... appended here.
1956
1957         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1958         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1959         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1960         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1961         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1962         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1963         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1964         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1965         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1966         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1967         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1968         * sysdeps/sparc/sparc32/sem_post.c: ... here.
1969         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1970         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1971         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1972         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1973         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1974         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1975         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1976         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1977         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1978         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1979         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1980         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1981         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1982         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1983         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1984         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1985         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1986         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1987         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1988         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1989         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1990         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1991         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1992         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1993         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1994         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1995
1996         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1997         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1998         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1999         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2000         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2001         Moved ...
2002         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2003         ... here.
2004         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2005         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2006         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2007         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2008         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2009         Moved ...
2010         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2011         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2012         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2013         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2014         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2015         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2016         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2017         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2018         Moved ...
2019         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2020         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2021         Moved ...
2022         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2023         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2024         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2025         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2026         Moved ...
2027         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2028         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2029         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2030         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2031         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2032         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2033         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2034         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2035         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2036         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2037         Moved ...
2038         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2039         ... here.
2040         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2041         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2042         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2043         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2044         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2045         Moved ...
2046         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2047         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2048         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2049         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2050         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2051         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2052         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2053         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2054         Moved ...
2055         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2056         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2057         Moved ...
2058         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2059         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2060         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2061         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2062         Moved ...
2063         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2064         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2065         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2066         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2067         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2068
2069 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2070
2071         * timezone/checktab.awk: Update from tzcode 2014e.
2072         * timezone/private.h: Likewise.
2073         * timezone/tzfile.h: Likewise.
2074         * timezone/zdump.c: Likewise.
2075         * timezone/zic.c: Likewise.
2076
2077         * sysdeps/unix/sysv/linux/kernel-features.h
2078         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2079         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2080         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2081         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2082         Remove conditional code.
2083
2084 2014-06-25  Will Newton  <will.newton@linaro.org>
2085
2086         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2087         (_dl_arm_cap_flags): Add HWCAP2 values.
2088         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2089         (_DL_HWCAP_COUNT): Increase to 37.
2090         (_DL_HWCAP_LAST): New define.
2091         (_DL_HWCAP2_LAST): New define.
2092         (_dl_procinfo): Add support for printing
2093         AT_HWCAP2 entries.
2094         (_dl_string_hwcap): Use _dl_hwcap_string.
2095
2096 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2097
2098         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2099
2100 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2101
2102         * README: Do not mention ports directory.
2103
2104         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2105         Remove macro.
2106         * sysdeps/unix/sysv/linux/futimes.c: Do not include
2107         <kernel-features.h>.
2108         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2109         conditional variable definition.
2110         (__futimes): Update comment.
2111         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2112         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2113
2114         [BZ #16560]
2115         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2116         arguments close to 0.
2117         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2118         Likewise.
2119         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2120         Likewise.
2121         * math/auto-libm-test-in: Add more tests of exp10.
2122         * math/auto-libm-test-out: Regenerated.
2123         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2124
2125         * sysdeps/unix/sysv/linux/kernel-features.h
2126         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2127         * sysdeps/unix/sysv/linux/readv.c: Do not include
2128         <kernel-features.h>.
2129         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2130         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2131         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2132         unconditional.
2133         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2134         conditional code.
2135         * sysdeps/unix/sysv/linux/writev.c: Do not include
2136         <kernel-features.h>.
2137         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2138         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2139         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2140         unconditional.
2141         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2142         conditional code.
2143
2144 2014-06-25  Will Newton  <will.newton@linaro.org>
2145
2146         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2147         comment changes throughout the file.  Remove checks
2148         for HAVE_*_H definitions that are not required.
2149         (__gen_tempname): Call abort if an unknown kind value is
2150         passed.
2151
2152 2014-06-25  Andreas Schwab  <schwab@suse.de>
2153
2154         [BZ #17086]
2155         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2156         scalbln, scalblnf, scalblnl in libc.
2157
2158 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2159
2160         [BZ #17086]
2161         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2162         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2163         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2164
2165 2014-06-24  Roland McGrath  <roland@hack.frob.com>
2166
2167         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2168         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2169         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2170         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2171         Update #include.
2172         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2173         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2174         Update #include.
2175         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2176         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2177         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2178         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2179         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2180         * sysdeps/x86/bits/pthreadtypes.h: ... here.
2181         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2182         * sysdeps/x86/bits/semaphore.h: ... here.
2183         * sysdeps/x86/nptl/elide.h: Moved ...
2184         * sysdeps/x86/elide.h: ... here.
2185         * sysdeps/x86_64/nptl/Implies: File removed.
2186         * sysdeps/i386/nptl/Implies: File removed.
2187
2188 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
2189
2190         [BZ #16539]
2191         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2192         return the argument for normal arguments with exponent below -64.
2193         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2194         Likewise.
2195         * math/auto-libm-test-in: Add another test of expm1.
2196         * math/auto-libm-test-out: Regenerated.
2197
2198         [BZ #16287]
2199         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2200         calling __erfcl for arguments at least 16.
2201         * math/auto-libm-test-in: Add more tests of erf.
2202         * math/auto-libm-test-out: Regenerated.
2203
2204         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2205         individual architectures.
2206         * sysdeps/unix/sysv/linux/configure: Regenerated.
2207         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2208         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2209         * sysdeps/unix/sysv/linux/powerpc/configure.ac
2210         (ldd_rewrite_script): Define variable.
2211         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2213         file.
2214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2215         generated file.
2216         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2217         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2218         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2219         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2220         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2221         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2222         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2223         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2224
2225 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2226
2227         [BZ #17084]
2228         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2229         Rename member __data.d to __data.__elision_data.
2230
2231 2014-06-24  Wilco  <wdijkstr@arm.com>
2232
2233         * NEWS: Add 16918 to fixed bug list.
2234
2235 2014-06-24  Wilco  <wdijkstr@arm.com>
2236
2237         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2238
2239 2014-06-24  Wilco  <wdijkstr@arm.com>
2240
2241         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2242         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2243         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2244         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2245         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2246         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2247         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2248         Use _FPU_MASK_RM.
2249
2250 2014-06-24  Wilco  <wdijkstr@arm.com>
2251
2252         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2253
2254 2014-06-24  Wilco  <wdijkstr@arm.com>
2255
2256         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2257         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2258         * sysdeps/arm/fesetround.c (fesetround): Remove space.
2259         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2260
2261 2014-06-24  Wilco  <wdijkstr@arm.com>
2262
2263         [BZ #16918]
2264         * sysdeps/arm/feupdateenv.c (feupdateenv):
2265         Rewrite to reduce FPSCR accesses and fix return value.
2266
2267 2014-06-24  Wilco  <wdijkstr@arm.com>
2268
2269         * sysdeps/arm/fclrexcpt.c (feclearexcept):
2270         Optimize to avoid unnecessary FPSCR writes.
2271         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2272         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2273         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2274         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2275
2276 2014-06-24  Wilco  <wdijkstr@arm.com>
2277
2278         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2279         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2280         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2281         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2282         Call libc_fetestexcept_vfp.
2283         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2284         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2285         __SOFTFP__ ifdef so that they can be built for softfp.
2286
2287 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2288
2289         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2290         argument type signed char.
2291
2292         * Makerules (check-abi): Dump diff of symlist if the test
2293         fails.
2294
2295 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2296
2297         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2298         using abort.
2299
2300         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2301         Remove unused variable ST.
2302
2303 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
2304
2305         [BZ #16354]
2306         [BZ #17061]
2307         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2308         small arguments before calling __expm1.
2309         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2310         small arguments before calling __expm1f.
2311         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2312         small arguments before calling __expm1l.
2313         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2314         Likewise.
2315         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2316         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
2317         spurious underflow for some cosh tests.
2318         * math/auto-libm-test-out: Regenerated.
2319         * sysdeps/i386/fpu/libm-test-ulps: Update.
2320
2321         [BZ #17050]
2322         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2323         (__ieee754_y1): Set errno if return value overflows.
2324         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2325         (__ieee754_y1f): Set errno if return value overflows.
2326         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2327         (__ieee754_y1l): Set errno if return value overflows.
2328         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2329         (__ieee754_y1l): Set errno if return value overflows.
2330         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2331         * math/auto-libm-test-out: Regenerated.
2332
2333         * math/gen-auto-libm-tests.c: Document use of
2334         ignore-zero-inf-sign.
2335         (input_flag_type): Add value flag_ignore_zero_inf_sign.
2336         (input_flags): Add ignore-zero-inf-sign.
2337         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2338         * math/gen-libm-test.pl (generate_testfile): Handle
2339         ignore-zero-inf-sign.
2340         * math/auto-libm-test-in: Mark some cpow tests with
2341         ignore-zero-inf-sign and some with xfail-rounding.
2342         * math/auto-libm-test-out: Regenerated.
2343         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2344         * sysdeps/i386/fpu/libm-test-ulps: Update.
2345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2346
2347         [BZ #16315]
2348         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2349         overflowing or underflowing operations take place with sign of
2350         result.
2351         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2352         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2353         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2354         (__ieee754_pow): Recompute overflowing and underflowing results in
2355         original rounding mode.
2356         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2357         (__powl_helper): Allow negative argument X and scale negated value
2358         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
2359         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2360         overflowing or underflowing operations take place with sign of
2361         result.
2362         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2363         Include <math.h>.
2364         * math/auto-libm-test-in: Add more tests of pow.
2365         * math/auto-libm-test-out: Regenerated.
2366         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2367         (pow_tonearest_test_data): Remove.
2368         (pow_test_tonearest): Likewise.
2369         (pow_towardzero_test_data): Likewise.
2370         (pow_test_towardzero): Likewise.
2371         (pow_downward_test_data): Likewise.
2372         (pow_test_downward): Likewise.
2373         (pow_upward_test_data): Likewise.
2374         (pow_test_upward): Likewise.
2375         (main): Don't call removed functions.
2376         * sysdeps/i386/fpu/libm-test-ulps: Update.
2377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2378
2379 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2380
2381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2382         Moved ...
2383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2385         Moved ...
2386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2388         Moved ...
2389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2391         Moved ...
2392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2394         File removed.
2395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2396         File removed.
2397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2398         File removed.
2399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2400         File removed.
2401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2402         File removed.
2403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2404         File removed.
2405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2406         File removed.
2407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2408         File removed.
2409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2410         File removed.
2411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2412         File removed.
2413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2414         File removed.
2415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2416         File removed.
2417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2418         Moved ...
2419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2421         Moved ...
2422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2423         ... here.
2424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2425         Moved ...
2426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2428         Moved ...
2429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2431         Moved ...
2432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2434         Moved ...
2435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2437         Moved ...
2438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2440         Moved ...
2441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2443         Moved ...
2444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2447         ... here.
2448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2449         Moved ...
2450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2452         Moved ...
2453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2454         ... here.
2455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2456         Moved ...
2457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2458         ... here.
2459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2460         Moved ...
2461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2462         ... here.
2463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2464         Moved ...
2465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2467         Moved ...
2468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2472         Moved ...
2473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2474         ... here.
2475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2476         Moved ...
2477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2478         ... here.
2479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2480         Moved ...
2481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2483         Moved ...
2484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2486         Moved ...
2487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2489         Moved ...
2490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2492         Moved ...
2493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2494         ... here.
2495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2496         Moved ...
2497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2499         Moved ...
2500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2502         Moved ...
2503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2505         Moved ...
2506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2510         Moved ...
2511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2513         Moved ...
2514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2516         Moved ...
2517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2518         ... here.
2519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2520         Moved ...
2521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2522         ... here.
2523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2524         Moved ...
2525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2526         ... here.
2527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2528         Moved ...
2529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2531         Moved ...
2532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2534         Moved ...
2535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2537         Moved ...
2538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2539         ... here.
2540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2541         Moved ...
2542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2543         ... here.
2544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2545         Moved ...
2546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2547         ... here.
2548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2549         Moved ...
2550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2552         Moved ...
2553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2554
2555 2014-06-23  Will Newton  <will.newton@linaro.org>
2556             Wilco  <wdijkstr@arm.com>
2557
2558         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2559         implementation.  Include get-rounding-mode.h.
2560         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2561         [!libc_feholdsetround_noex_ctx]: Define
2562         libc_feholdsetround_noex_ctx.
2563         [!libc_feholdsetround_noexf_ctx]: Define
2564         libc_feholdsetround_noexf_ctx.
2565         [!libc_feholdsetround_noexl_ctx]: Define
2566         libc_feholdsetround_noexl_ctx.
2567         (libc_feholdsetround_ctx): New function.
2568         (libc_feresetround_ctx): New function.
2569         (libc_feholdsetround_noex_ctx): New function.
2570         (libc_feresetround_noex_ctx): New function.
2571
2572 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2573
2574         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2575         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2576         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2577         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2578         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2579         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2580
2581         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2582         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2583         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2584         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2585         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2586         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2587         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2588         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2589         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2590         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2591         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2592         Moved ...
2593         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2594         ... here.
2595         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2596         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2597         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2598         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2599         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2600         Moved ...
2601         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2602         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2603         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2604         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2605         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2606         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2607         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2608         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2609         Moved ...
2610         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2611         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2612         Moved ...
2613         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2614         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2615         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2616         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2617         Moved ...
2618         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2619         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2620         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2621         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2622         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2623         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2624         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2625         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2626         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2627         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2628         Moved ...
2629         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2630         ... here.
2631         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2632         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2633         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2634         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2635         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2636         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2637         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2638         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2639         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2640         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2641         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2642         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2643         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2644         Moved ...
2645         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2646         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2647         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2648         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2649         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2650         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2651         Moved ...
2652         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2653         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2654         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2655         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2656         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2657
2658         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2659         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2660         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2661         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2662         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2663         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2664         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2665         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2666         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2667         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2668         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2669         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2670         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2671         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2672         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2673         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2674         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2675         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2676         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2677         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2678         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2679         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2680         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2681         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2682         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2683         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2684         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2685         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2686
2687 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
2688
2689         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2690         (FALLOC_FL_COLLAPSE_RANGE): New macro.
2691         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2692         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2693         (IPV6_PMTUDISC_INTERFACE): Likewise.
2694         (IPV6_PMTUDISC_OMIT): Likewise.
2695
2696 2014-06-23  Andreas Schwab  <schwab@suse.de>
2697
2698         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2699         Remove unused errout label.
2700
2701 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2702
2703         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2704         macro: hardware supports Vector Crypto instructions.
2705
2706 2014-06-23  Will Newton  <will.newton@linaro.org>
2707
2708         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2709         rather than __builtin_expect.
2710
2711         * elf/dl-lookup.c (undefined_msg): Remove variable.
2712         (_dl_lookup_symbol_x): Replace undefined_msg with string
2713         literal.
2714
2715         * elf/dl-lookup.c (do_lookup_unique): New function.
2716         (do_lookup_x): Move STB_GNU_UNIQUE handling code
2717         to a separate function.
2718
2719 2014-06-23  Andreas Schwab  <schwab@suse.de>
2720
2721         [BZ #17079]
2722         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2723         before reading the next line.
2724
2725 2014-06-23  Will Newton  <will.newton@linaro.org>
2726
2727         * test-skeleton.c (signal_handler): Use printf and %m
2728         rather than perror.  Use printf rather than fprintf to
2729         stderr.  Use puts rather than fputs to stderr.
2730         (main): Likewise.
2731
2732 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
2733
2734         * nscd/nscd.c (thread_info_t): Remove typedef.
2735         (thread_info): Remove variable.
2736
2737 2014-06-21  Allan McRae  <allan@archlinux.org>
2738
2739         * NEWS: Mention CVE-2014-4043.
2740
2741 2014-06-20  Roland McGrath  <roland@hack.frob.com>
2742
2743         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2744         * nptl/smp.h: ... here.
2745
2746         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2747
2748         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2749         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2750         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2751         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2752
2753         * nptl/allocatestack.c: Include <stack-aliasing.h>.
2754         * nptl/stack-aliasing.h: New file.
2755         * sysdeps/i386/i686/stack-aliasing.h: New file.
2756         * sysdeps/i386/i686/nptl/Makefile: File removed.
2757         * sysdeps/x86_64/stack-aliasing.h: New file.
2758         * sysdeps/x86_64/nptl/Makefile
2759         (CFLAGS-pthread_create.c): Variable removed.
2760
2761         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2762         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2763         old file.
2764         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2765         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2766         old file.
2767
2768 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
2769
2770         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2771         (__ASSUME_SIGFRAME_V2): Remove macro.
2772         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2773         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2774         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2775         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2776         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2777         Declare as function.  Remove conditional macro definitions.
2778         (__default_rt_sa_restorer): Likewise.
2779         (__default_sa_restorer_v1): Remove declaration.
2780         (__default_sa_restorer_v2): Likewise.
2781         (__default_rt_sa_restorer_v1): Likewise.
2782         (__default_rt_sa_restorer_v2): Likewise.
2783         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2784         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2785         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2786
2787 2014-06-20  Roland McGrath  <roland@hack.frob.com>
2788
2789         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2790         (libpthread-routines): Add sysdep.
2791         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2792         * sysdeps/unix/sysv/linux/sparc/Versions
2793         (libpthread: GLIBC_2.3.3): New version set.
2794         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2795         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2796         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2797         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2798         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
2799         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2800         Moved ...
2801         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2802         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2803         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2804         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2805         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2806         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2807         * sysdeps/sparc/nptl/sem_init.c: ... here.
2808         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2809         * sysdeps/sparc/nptl/sem_post.c: ... here.
2810         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2811         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2812         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2813         * sysdeps/sparc/nptl/sem_wait.c: ... here.
2814         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2815         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2816         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2817         (libpthread-routines): Add cpu_relax.
2818         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2819         File removed.
2820         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2821         (librt: GLIBC_2.3.3): New version set.
2822         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2823         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2824         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2825         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2826         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2827         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2828         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2829         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2830         Moved ...
2831         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2832         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2833         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2834         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2835         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2836         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2837         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2838         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2839         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2840         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2841         Moved ...
2842         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2843         Update #include.
2844         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2845         Moved ...
2846         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2847         Update #include.
2848         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2849         Moved ...
2850         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2851         Update #include.
2852         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2853         Moved ...
2854         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2855         Update #include.
2856         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2857         Moved ...
2858         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2859         Update #include.
2860         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2861         Moved ...
2862         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2863         Update #include.
2864         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2865         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2866         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2867         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2868         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2869         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2870         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2871         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2872         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2873         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2874         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2875         Moved ...
2876         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2877         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2878         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2879         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2880         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2881
2882 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2883
2884         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2885         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2886         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2887         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2888         * nscd/nscd.c: Likewise.
2889         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2890         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2891         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2892         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2893
2894         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2895         <kernel-features.h>.
2896         (init_mq_netlink): Remove conditional have_sock_cloexec
2897         definitions.  Remove code conditional on have_sock_cloexec < 0.
2898         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2899         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2900         * sysdeps/unix/sysv/linux/opensock.c: Do not include
2901         <kernel-features.h>.
2902         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2903         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2904
2905 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2906
2907         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2908         Add tests for memset_chk and memset.
2909
2910         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2911         with AVX2_Usable.
2912
2913 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
2914
2915         [BZ #16046]
2916         * elf/tst-dl-iter-static.c: New file.
2917         * elf/Makefile (tests-static): Add tst-dl-iter-static.
2918
2919         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2920         error.
2921
2922 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2923
2924         * sysdeps/unix/sysv/linux/kernel-features.h
2925         (__ASSUME_F_GETOWN_EX): Remove macro.
2926         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2927         <kernel-features.h>.
2928         (miss_F_GETOWN_EX): Remove variable or macro.
2929         (do_fcntl): Do not check miss_F_GETOWN_EX.
2930         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2931
2932         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2933         Remove macro.
2934         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2935         [!__ASSUME_AT_RANDOM]: Remove conditional code.
2936         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2937
2938         * sysdeps/unix/sysv/linux/kernel-features.h
2939         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2940         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2941         [ADJ_OFFSET_SS_READ]: Make code unconditional.
2942         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2943
2944 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
2945
2946         [BZ #17075]
2947         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2948         Fix calculation of the symbol's value.
2949         * sysdeps/arm/tst-armtlsdescloc.c: New file.
2950         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2951         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2952         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2953         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2954         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2955         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2956         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2957         (modules-names): Add `tst-armtlsdescmod',
2958         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2959         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2960         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2961         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2962         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2963         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2964         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2965         ($(objpfx)tst-armtlsdescloc): New dependency.
2966         ($(objpfx)tst-armtlsdescextnow): Likewise.
2967         ($(objpfx)tst-armtlsdescextlazy): Likewise.
2968         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2969         TLS scheme support.
2970         * sysdeps/arm/configure: Regenerate.
2971
2972 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2973
2974         * include/fcntl.h (__atfct_seterrno): Remove prototype.
2975         (__atfct_seterrno_2): Likewise.
2976         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2977         <kernel-features.h>.
2978         (__ASSUME_ATFCTS): Do not undefine and redefine.
2979         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2980         (__have_atfcts): Remove conditional definition.
2981         (__fxstatat([__NR_fstatat64]: Make code unconditional.
2982         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2983         unreachable if [__ASSUME_ATFCTS].
2984         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2985         not undefine and redefine.
2986         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2987         <kernel-features.h>.
2988         (faccessat) [__NR_faccessat]: Make code unconditional.
2989         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2990         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2991         <kernel-features.h>.
2992         (fchmodat) [__NR_fchmodat]: Make code unconditional.
2993         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2994         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2995         <kernel-features.h>.
2996         (fchownat) [__NR_fchownat]: Make code unconditional.
2997         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2998         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2999         <kernel-features.h>.
3000         (futimesat) [__NR_futimesat]: Make code unconditional.
3001         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3002         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3003         <kernel-features.h>.
3004         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3005         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3006         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3007         <kernel-features.h>.
3008         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3009         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3010         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3011         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3012         <kernel-features.h>.
3013         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3014         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3015         * sysdeps/unix/sysv/linux/linkat.c: Do not include
3016         <kernel-features.h>.
3017         (linkat) [__NR_linkat]: Make code unconditional.
3018         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3019         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3020         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3021         <kernel-features.h>.
3022         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3023         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3024         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3025         <kernel-features.h>.
3026         (mkdirat) [__NR_mkdirat]: Make code unconditional.
3027         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3028         * sysdeps/unix/sysv/linux/openat.c: Do not include
3029         <kernel-features.h>.
3030         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3031         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3032         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3033         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3034         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3035         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3036         <kernel-features.h>.
3037         (readlinkat) [__NR_readlinkat]: Make code unconditional.
3038         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
3039         result of INLINE_SYSCALL directly, not via int variable.
3040         * sysdeps/unix/sysv/linux/renameat.c: Do not include
3041         <kernel-features.h>.
3042         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3043         (renameat) [__NR_renameat]: Make code unconditional.
3044         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3045         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3046         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3047         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3048         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3049         (__ASSUME_ATFCTS): Do not undefine and redefine.
3050         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3051         <kernel-features.h>.
3052         (symlinkat) [__NR_symlinkat]: Make code unconditional.
3053         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3054         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3055         <kernel-features.h>.
3056         (unlinkat) [__NR_unlinkat]: Make code unconditional.
3057         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3058         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3059         (__ASSUME_ATFCTS): Do not undefine and redefine.
3060         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3061         <kernel-features.h>.
3062         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3063         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3064         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3065         <kernel-features.h>.
3066         (__xmknodat) [__NR_mknodat]: Make code unconditional.
3067         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3068
3069 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3070
3071         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3072
3073 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
3074
3075         [BZ #17069]
3076         * posix/regcomp.c (parse_reg_exp): Deallocate partially
3077         constructed tree before returning error.
3078         * posix/bug-regexp36.c: Expand test case.
3079
3080 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3081
3082         [BZ #6803]
3083         * math/libm-test.inc (scalbln_test_date):
3084         Add errno expectations.
3085         * math/w_scalblnf.c: New File.
3086         Add wrapper which checks for setting errno to ERANGE.
3087         Add weak_alias for corresponding scalbln function.
3088         * math/w_scalbln.c: Likewise.
3089         * math/w_scalblnl.c: Likewise.
3090         * math/Makefile (libm-calls): Add w_scalbln.
3091         * sysdeps/ieee754/flt-32/s_scalblnf.c:
3092         Remove weak_alias for corresponding scalbln function.
3093         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3094         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3095         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3096         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3097         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3098         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3099         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3100         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3101         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3102         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3103         Remove long_double_symbol for scalblnl function in libm, libc.
3104         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3105         Add wrapper which checks for setting errno to ERANGE.
3106         Add long_double_symbol for scalblnl function in libm, libc.
3107         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3108         Remove long_double_symbol for scalblnl in libm.
3109         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3110         Add wrapper which checks for setting errno to ERANGE.
3111         Add long_double_symbol for scalblnl function in libm.
3112         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3113         Do not use wrapper because of own implementation.
3114
3115 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
3116
3117         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3118         3 bytes for __pad1 for x32.
3119         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3120
3121 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
3122             H.J. Lu  <hongjiu.lu@intel.com>
3123
3124         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3125         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3126         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3127         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3128         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3129
3130 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
3131
3132         [BZ #17069]
3133         * posix/regcomp.c (parse_expression): Deallocate partially
3134         constructed tree before returning error.
3135         * posix/Makefile.c (tests): Add bug-regex36.
3136         (generated): Add bug-regex36.mtrace.
3137         (tests-special): Add $(objpfx)bug-regex36-mem.out
3138         (bug-regex36-ENV): New variable.
3139         ($(objpfx)bug-regex36-mem.out): New rule.
3140         * posix/bug-regex36.c: New file.
3141
3142 2014-06-19  Will Newton  <will.newton@linaro.org>
3143
3144         * malloc/malloc.c (systrim): If extra is zero then return
3145         early.
3146
3147 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3148
3149         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3150
3151 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
3152
3153         * sysdeps/aarch64/strchr.S: New file.
3154
3155 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3156
3157         [BZ #17022]
3158         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3159         from arguments -2 or below.
3160         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3161         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3162
3163 2014-06-18  Andreas Schwab  <schwab@suse.de>
3164
3165         [BZ #17062]
3166         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3167         of a bracket expr not to run off the end of the string.
3168         * posix/Makefile (tests): Add tst-fnmatch3.
3169         * posix/tst-fnmatch3.c: New file.
3170
3171 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3172
3173         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3174         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3175         [$(cross-compiling) = no]: Likewise.
3176         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3177         [$(cross-compiling) = no]: Likewise.
3178
3179 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3180
3181         [BZ #17031]
3182         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3183         double, adjusted for any remainder from the high double.
3184         * math/libm-test.inc (nearbyint): Add tests.
3185         (rint): Likewise.
3186
3187 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3188
3189         * nptl/sysdeps/powerpc/Makefile: Moved ...
3190         * sysdeps/powerpc/nptl/Makefile: ... here.
3191         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3192         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3193         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3194         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3195         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3196         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3197         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3198         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3199         * nptl/sysdeps/powerpc/tls.h: Moved ...
3200         * sysdeps/powerpc/nptl/tls.h: ... here.
3201
3202 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
3203
3204         [BZ #16681]
3205         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3206         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3207         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3208         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3209         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3210         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3211         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3212         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3213         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3214
3215 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
3216
3217         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3218
3219 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
3220
3221         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3222         defined operator.
3223
3224         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3225         $TIMEOUTFACTOR.
3226
3227 2014-06-16  Florian Weimer  <fweimer@redhat.com>
3228
3229         [BZ #17058]
3230         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3231         non-executed part of the test.
3232
3233 2014-06-16  Andreas Schwab  <schwab@suse.de>
3234
3235         * string/bits/string2.h (strdup, strndup): Update feature guard.
3236
3237 2014-06-14  David S. Miller  <davem@davemloft.net>
3238
3239         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3240
3241 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
3242
3243         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3244         that was previously under [RESET_PID].
3245         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3246
3247         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3248         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3249         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3250         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3251         (__libc_vfork): New strong alias.
3252         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3253
3254 2014-06-14 Andi Kleen  <ak@linux.intel.com>
3255
3256         * sysdeps/generic/elide.h: New file.
3257
3258 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3259
3260         * Makefile (installed-headers): Adjust path of pthread.h header.
3261
3262 2014-06-13  Roland McGrath  <roland@hack.frob.com>
3263
3264         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3265         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3266         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3267         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3268
3269         * nptl/sysdeps/s390/Makefile: Moved ...
3270         * sysdeps/s390/nptl/Makefile: ... here.
3271         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3272         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3273         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3274         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3275         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3276         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3277         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3278         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3279         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3280         * sysdeps/s390/nptl/pthreaddef.h: ... here.
3281         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3282         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3283         * nptl/sysdeps/s390/tls.h: Moved ...
3284         * sysdeps/s390/nptl/tls.h: ... here.
3285
3286         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3287         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3288
3289 2014-06-13  David S. Miller  <davem@davemloft.net>
3290
3291         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3292         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3293         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3294         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3295         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3296         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3297         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3298         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3299         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3300         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3301         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3302         Remove RESET_PID cpp guards.
3303         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3304         Remove RESET_PID cpp guards.
3305         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3306
3307 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
3308
3309         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3310         __sp to uintptr_t.
3311
3312 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3313
3314         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3315         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3316         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3317         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3318         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3319         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3320         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3321         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3322         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3323         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3324         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3325         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3326         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3327         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3328         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3329         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3330         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3331         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3332         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3333         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3334
3335         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3336         (pthread_rwlock_rdlock): Add elision.
3337         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3338         (pthread_rwlock_wrlock): Add elision.
3339         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3340         (pthread_rwlock_trywrlock): Add elision.
3341         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3342         (pthread_rwlock_tryrdlock): Add elision.
3343         * nptl/pthread_rwlock_unlock.c: Include elide.h.
3344         (pthread_rwlock_tryrdlock): Add elision unlock.
3345         * nptl/sysdeps/pthread/pthread.h:
3346         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3347         (PTHREAD_RWLOCK_INITIALIZER,
3348         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3349         Handle new elision field.
3350         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3351         * sysdeps/arm/nptl/bits/pthreadtypes.h
3352         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3353         * sysdeps/sh/nptl/bits/pthreadtypes.h
3354         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3355         * sysdeps/tile/nptl/bits/pthreadtypes.h
3356         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3357         * sysdeps/a/nptl/bits/pthreadtypes.h
3358         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3359         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3360         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3361         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3362         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3363         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3364         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3365         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3366         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3367         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3368         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3369         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3370         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3371         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3372         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3373         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3374         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3375         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3376         (elision_init): Set try_xbegin to zero when no RTM.
3377         * sysdeps/x86/nptl/bits/pthreadtypes.h
3378         (pthread_rwlock_t): Change __pad1 to __rwelision.
3379         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3380
3381 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3382
3383         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3384         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3385         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3386         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3387
3388 2014-06-13  Meador Inge  <meadori@codesourcery.com>
3389
3390         [BZ #16996]
3391         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3392         that the cached result has been set before returning it.
3393
3394 2014-06-12  Roland McGrath  <roland@hack.frob.com>
3395
3396         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3397         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3398         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3399         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3400         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3401         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3402
3403         * nptl/sysdeps/sparc/Makefile: Moved ...
3404         * sysdeps/sparc/nptl/Makefile: ... here.
3405         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3406         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3407         * nptl/sysdeps/sparc/tls.h: Moved ...
3408         * sysdeps/sparc/nptl/tls.h: ... here.
3409         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3410         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3411         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3412         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3413         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3414         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3415         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3416         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3417         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3418         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3419         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3420         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3421         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3422         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3423         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3424         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3425         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3426         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3427         Update #include.
3428         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3429         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3430         Update #include.
3431         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3432         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3433         Update #include.
3434         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3435         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3436         Update #include.
3437
3438         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3439
3440         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3441         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3442
3443         * sysdeps/pthread/posix-timer.h: Include <list.h>.
3444         (struct list_links): Type removed.
3445         (struct thread_node, struct timer_node): Replace struct list_links
3446         with struct list_head.
3447         (list_unlink_ip): Likewise.
3448         * sysdeps/pthread/timer_routines.c
3449         (timer_free_list, thread_free_list, thread_active_list): Likewise.
3450         (list_append, list_insbefore): Likewise.
3451         (list_init): Function removed.
3452         (thread_init, init_module): Use INIT_LIST_HEAD instead.
3453         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3454         * sysdeps/pthread/Makefile: ... here, new file.
3455
3456         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3457         * sysdeps/nptl/Implies: ... here.
3458         * sysdeps/unix/sysv/linux/Implies: Add nptl.
3459         * nptl/sysdeps/pthread/list.h: Moved ...
3460         * include/list.h: ... here.
3461         * nptl/sysdeps/pthread/createthread.c: Moved ...
3462         * nptl/createthread.c: ... here.
3463         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3464         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3465         * nptl/pt-longjmp.c: ... here.
3466         * nptl/sysdeps/pthread/Makefile: Moved ...
3467         * sysdeps/nptl/Makefile: ... here.
3468         * nptl/sysdeps/pthread/Subdirs: Moved ...
3469         * sysdeps/nptl/Subdirs: ... here.
3470         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3471         * sysdeps/nptl/aio_misc.h: ... here.
3472         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3473         * sysdeps/nptl/bits/libc-lock.h: ... here.
3474         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3475         * sysdeps/nptl/bits/libc-lockP.h: ... here.
3476         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3477         * sysdeps/nptl/bits/stdio-lock.h: ... here.
3478         * nptl/sysdeps/pthread/configure: Moved ...
3479         * sysdeps/nptl/configure: ... here.
3480         * nptl/sysdeps/pthread/configure.ac: Moved ...
3481         * sysdeps/nptl/configure.ac: ... here.
3482         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3483         * sysdeps/nptl/gai_misc.h: ... here.
3484         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3485         * sysdeps/nptl/librt-cancellation.c: ... here.
3486         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3487         * sysdeps/nptl/malloc-machine.h: ... here.
3488         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3489         * sysdeps/nptl/pthread-functions.h: ... here.
3490         * nptl/sysdeps/pthread/pthread.h: Moved ...
3491         * sysdeps/nptl/pthread.h: ... here.
3492         * nptl/sysdeps/pthread/setxid.h: Moved ...
3493         * sysdeps/nptl/setxid.h: ... here.
3494         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3495         * sysdeps/nptl/sigfillset.c: ... here.
3496         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3497         * sysdeps/nptl/tcb-offsets.h: ... here.
3498         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3499         * sysdeps/nptl/tst-mqueue8x.c: ... here.
3500         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3501         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3502         * nptl/sysdeps/pthread/allocalim.h: Moved ...
3503         * sysdeps/pthread/allocalim.h: ... here.
3504         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3505         * sysdeps/pthread/bits/sigthread.h: ... here.
3506         * nptl/sysdeps/pthread/flockfile.c: Moved ...
3507         * sysdeps/pthread/flockfile.c: ... here.
3508         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3509         * sysdeps/pthread/ftrylockfile.c: ... here.
3510         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3511         * sysdeps/pthread/funlockfile.c: ... here.
3512         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3513         * sysdeps/pthread/posix-timer.h: ... here.
3514         * nptl/sysdeps/pthread/timer_create.c: Moved ...
3515         * sysdeps/pthread/timer_create.c: ... here.
3516         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3517         * sysdeps/pthread/timer_delete.c: ... here.
3518         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3519         * sysdeps/pthread/timer_getoverr.c: ... here.
3520         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3521         * sysdeps/pthread/timer_gettime.c: ... here.
3522         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3523         * sysdeps/pthread/timer_routines.c: ... here.
3524         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3525         * sysdeps/pthread/timer_settime.c: ... here.
3526         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3527         * sysdeps/pthread/tst-timer.c: ... here.
3528         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3529         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3530
3531         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3532         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3533
3534         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3535         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3536         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3537         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3538         Update #include target.
3539         * nptl/sysdeps/i386/i686/Makefile: Moved ...
3540         * sysdeps/i386/i686/nptl/Makefile: ... here.
3541         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3542         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3543         Update #include target.
3544         * nptl/sysdeps/i386/i686/tls.h: Moved ...
3545         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
3546         * nptl/sysdeps/i386/Makefile: Moved ...
3547         * sysdeps/i386/nptl/Makefile: ... here.
3548         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3549         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3550         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3551         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3552         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3553         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3554         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3555         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3556         * sysdeps/i386/nptl/pthreaddef.h: ... here.
3557         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3558         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3559         * nptl/sysdeps/i386/tls.h: Moved ...
3560         * sysdeps/i386/nptl/tls.h: ... here.
3561
3562         * sysdeps/sh/Makefile [$(subdir) = csu]
3563         (gen-as-const-headers): Add tcb-offsets.sym.
3564         * nptl/sysdeps/sh/Makefile: File removed.
3565         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3566         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3567         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3568         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3569         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3570         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3571         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3572         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3573         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3574         * sysdeps/sh/nptl/pthreaddef.h: ... here.
3575         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3576         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3577         * nptl/sysdeps/sh/tls.h: Moved ...
3578         * sysdeps/sh/nptl/tls.h: ... here.
3579         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3580         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3581         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3582         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3583         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3584         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3585         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3586         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3587         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3588         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3589         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3590         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3591         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3592         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3593         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3594         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3595         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3596         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3597         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3598         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3599         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3600         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3601         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3602         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3603         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3604         Moved ...
3605         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3606         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3607         Moved ...
3608         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3609         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3610         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3611         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3612         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3613         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3614         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3615         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3616         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3617         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3618         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3619         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3620         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3621         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3622         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3623         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3624         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3625         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3626         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3627
3628 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3629
3630         * posix/spawn_faction_addopen.c: Include string.h.
3631
3632 2014-06-11  Roland McGrath  <roland@hack.frob.com>
3633
3634         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3635         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3636         * nptl/sysdeps/x86_64/Makefile: Moved ...
3637         * sysdeps/x86_64/nptl/Makefile: ... here.
3638         * nptl/sysdeps/x86_64/configure: Moved ...
3639         * sysdeps/x86_64/nptl/configure: ... here.
3640         * nptl/sysdeps/x86_64/configure.ac: Moved ...
3641         * sysdeps/x86_64/nptl/configure.ac: ... here.
3642         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3643         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3644         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3645         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3646         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3647         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3648         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3649         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3650         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3651         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3652         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3653         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3654         * nptl/sysdeps/x86_64/tls.h: Moved ...
3655         * sysdeps/x86_64/nptl/tls.h: ... here.
3656         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3657         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3658         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3659         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3660
3661         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3662
3663 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3664
3665         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3666
3667 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
3668
3669         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3670         type.
3671         [POSIX] (off_t): Likewise.
3672         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3673         [POSIX] (S_ISBLK): Require macro.
3674         [POSIX] (S_ISCHR): Likewise.
3675         [POSIX] (S_ISDIR): Likewise.
3676         [POSIX] (S_ISFIFO): Likewise.
3677         [POSIX] (S_ISREG): Likewise.
3678         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3679         optional-macro.
3680         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3681         type.
3682         [POSIX] (time_t): Likewise.
3683         [POSIX] (timer_t): Likewise.
3684
3685 2014-06-11  Florian Weimer  <fweimer@redhat.com>
3686
3687         [BZ #17048]
3688         * posix/spawn_int.h (struct __spawn_action): Make the path string
3689         non-const to support deallocation.
3690         * posix/spawn_faction_addopen.c
3691         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3692         * posix/spawn_faction_destroy.c
3693         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
3694         path in all spawn_do_open actions.
3695         * posix/tst-spawn.c (do_test): Exercise the copy operation in
3696         posix_spawn_file_actions_addopen.
3697
3698 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
3699
3700         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3701         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3702         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3703         conditional code always true.
3704         (__libc_vfork): New alias.
3705
3706 2014-06-11  Roland McGrath  <roland@hack.frob.com>
3707
3708         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3709         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3710
3711         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3712
3713         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3714         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3715
3716         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3717         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3718
3719         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3720         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3721
3722 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3723
3724         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3725         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3726         multiarch strcmp for PPC64.
3727         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3728         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3729         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3730         multiarch optimizations.
3731         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3732         (__libc_ifunc_impl_list): Likewise.
3733
3734 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3735
3736         * benchtests/scripts/validate_benchout.py: New script.
3737         * benchtests/Makefile (bench-func): Call it.
3738         * benchtests/scripts/benchout.schema.json: New file.
3739
3740 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
3741
3742         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3743         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3744         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3745         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3746         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3747         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3748         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3749         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3750         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3751         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3752         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3753         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3754         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3755         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3756         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3757         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
3759         Moved ...
3760         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
3761         ... here.
3762         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
3763         Moved ...
3764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
3766         Moved ...
3767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
3768         ... here.
3769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
3770         Moved ...
3771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
3772         ... here.
3773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
3774         Moved ...
3775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
3777         Moved ...
3778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
3779         ... here.
3780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
3781         Moved ...
3782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
3783         ... here.
3784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
3785         Moved ...
3786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3787         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
3788         Moved ...
3789         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
3790         ... here.
3791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
3792         Moved ...
3793         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
3794         ... here.
3795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
3796         Moved ...
3797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
3798         ... here.
3799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
3800         Moved ...
3801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
3803         Moved ...
3804         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
3805         ... here.
3806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
3807         Moved ...
3808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
3809         ... here.
3810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
3811         Moved ...
3812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
3813         ... here.
3814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
3815         Moved ...
3816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
3818         Moved ...
3819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
3820         ... here.
3821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
3822         Moved ...
3823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
3824         ... here.
3825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
3826         Moved ...
3827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
3829         Moved ...
3830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
3831         ... here.
3832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
3833         Moved ...
3834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
3836         Moved ...
3837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
3839         Moved ...
3840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
3841         ... here.
3842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
3843         Moved ...
3844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
3845         ... here.
3846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
3847         Moved ...
3848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
3849         ... here.
3850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
3851         Moved ...
3852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
3854         Moved ...
3855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
3856         ... here.
3857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
3858         Moved ...
3859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
3860         ... here.
3861         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3862         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3863         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3864         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3865         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
3866         Moved ...
3867         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3868         ... here.
3869         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3870         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3871         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3872         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3873         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3874         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3875         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3876         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3877         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3878         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3879         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3880         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3881         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
3882         Moved ...
3883         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3884         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
3885         Moved ...
3886         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3887         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3888         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3889         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
3890         Moved ...
3891         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3892         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3893         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3894         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3895         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3896         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3897         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
3898
3899 2014-06-10  Wilco  <wdijkstr@arm.com>
3900
3901         * math/test-fenv-return.c: New file.
3902         * math/Makefile: Add new test test-fenv-return.
3903
3904 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
3905
3906         [BZ #17042]
3907         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3908         when x - 1 is zero.
3909         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3910         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3911         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3912         0.0L for an argument of 1.0L.
3913         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3914         Likewise.
3915         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3916         value when x - 1 is zero.
3917         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3918         * sysdeps/i386/fpu/libm-test-ulps: Update.
3919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3920
3921 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
3922
3923         [BZ #15119]
3924         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3925
3926 2014-06-09  Roland McGrath  <roland@hack.frob.com>
3927
3928         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3929         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3930
3931 2014-06-09  Roland McGrath  <roland@hack.frob.com>
3932
3933         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3934         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3935
3936         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3937         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3938
3939         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3940         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3941
3942         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3943         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3944
3945         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3946         if not already defined.
3947         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3948         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3949         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3950         (TLS_INIT_TP): Use it.
3951         (TLS_DEFINE_INIT_TP): New macro.
3952         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3953
3954 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
3955
3956         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3957         constant.
3958         [POSIX] (IXANY): Likewise.
3959         [POSIX] (OLCUC): Likewise.
3960         [POSIX || POSIX2008] (CBAUD): Do not allow.
3961         [POSIX || POSIX2008] (DEFECHO): Likewise.
3962         [POSIX || POSIX2008] (ECHOCTL): Likewise.
3963         [POSIX || POSIX2008] (ECHOKE): Likewise.
3964         [POSIX || POSIX2008] (ECHOPRT): Likewise.
3965         [POSIX || POSIX2008] (EXTA): Likewise.
3966         [POSIX || POSIX2008] (EXTB): Likewise.
3967         [POSIX || POSIX2008] (FLUSHO): Likewise.
3968         [POSIX || POSIX2008] (LOBLK): Likewise.
3969         [POSIX || POSIX2008] (PENDIN): Likewise.
3970         [POSIX || POSIX2008] (SWTCH): Likewise.
3971         [POSIX || POSIX2008] (VDISCARD): Likewise.
3972         [POSIX || POSIX2008] (VDSUSP): Likewise.
3973         [POSIX || POSIX2008] (VLNEXT): Likewise.
3974         [POSIX || POSIX2008] (VREPRINT): Likewise.
3975         [POSIX || POSIX2008] (VSTATUS): Likewise.
3976         [POSIX || POSIX2008] (VWERASE): Likewise.
3977         (B*): Change to B[0123456789]*.
3978         * conform/data/time.h-data [POSIX || UNIX98]
3979         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3980         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3981         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3982         [POSIX] (tm_*): Do not allow.
3983
3984 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
3985
3986         * Makefile (install): Don't set LANGUAGE.
3987         * Makefile.in (install): Likewise.
3988         * assert/Makefile (test-assert-ENV): Remove variable.
3989         (test-assert-perr-ENV): Likewise.
3990         * elf/Makefile (neededtest4-ENV): Likewise.
3991         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3992         [$(cross-compiling) = no]: Don't set LANGUAGE.
3993         * io/ftwtest-sh (LANG): Remove variable.
3994         * libio/Makefile (tst-widetext-ENV): Likewise.
3995         * manual/install.texi (Running make install): Don't refer to
3996         environment settings for make install.
3997         * INSTALL: Regenerated.
3998         * nptl/tst-tls6.sh: Don't set LANG.
3999         * posix/globtest.sh (LANG): Remove variable.
4000         * string/Makefile (tester-ENV): Likewise.
4001         (inl-tester-ENV): Likewise.
4002         (noinl-tester-ENV): Likewise.
4003         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4004         [$(cross-compiling) = no]: Don't set LANGUAGE.
4005         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4006         without explicit environment settings.
4007
4008 2014-06-06  Roland McGrath  <roland@hack.frob.com>
4009
4010         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4011         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4012         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4013         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4014
4015 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
4016
4017         * crypt/crypt-private.h [DOS]: Add some includes taken from the
4018         other files in the crypt directory.
4019         * crypt/crypt.c: Remove duplicate includes.
4020         * crypt/crypt-entry.c: Likewise.
4021         * crypt/crypt_util.c: Likewise.
4022
4023 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
4024
4025         * Makeconfig (run-program-env): New variable.
4026         (run-program-prefix-before-env): Likewise.
4027         (run-program-prefix-after-env): Likewise.
4028         (run-program-prefix): Define in terms of new variables.
4029         (built-program-cmd-before-env): New variable.
4030         (built-program-cmd-after-env): Likewise.
4031         (built-program-cmd): Define in terms of new variables.
4032         (test-program-prefix-before-env): New variable.
4033         (test-program-prefix-after-env): Likewise.
4034         (test-program-prefix): Define in terms of new variables.
4035         (test-program-cmd-before-env): New variable.
4036         (test-program-cmd-after-env): Likewise.
4037         (test-program-cmd): Define in terms of new variables.
4038         * Rules (make-test-out): Use $(run-program-env).
4039         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4040         (help): Do not mention environment variables.  Mention
4041         --timeoutfactor option.
4042         (timeoutfactor): New variable.
4043         (blacklist_exports): Remove function.
4044         (exports): Remove variable.
4045         (command): Do not include ${exports}.
4046         * manual/install.texi (Configuring and compiling): Do not mention
4047         test wrappers preserving environment variables.  Mention that last
4048         assignment to a variable must take precedence.
4049         * INSTALL: Regenerated.
4050         * benchtests/Makefile (run-bench): Use $(run-program-env).
4051         * catgets/Makefile ($(objpfx)test1.cat): Use
4052         $(built-program-cmd-before-env), $(run-program-env) and
4053         $(built-program-cmd-after-env).
4054         ($(objpfx)test2.cat): Do not specify environment variables
4055         explicitly.
4056         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4057         $(run-program-env) and $(built-program-cmd-after-env).
4058         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4059         $(run-program-env) and $(test-program-cmd-after-env).
4060         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4061         explicitly.
4062         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4063         run_program_env and test_program_cmd_after_env arguments.
4064         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4065         * elf/tst-pathopt.sh: Use run_program_env argument.
4066         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4067         $(test-wrapper-env) and $(run-program-env).
4068         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4069         run_program_env arguments.
4070         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4071         * intl/Makefile ($(objpfx)tst-gettext.out): Use
4072         $(test-program-prefix-before-env), $(run-program-env) and
4073         $(test-program-prefix-after-env).
4074         ($(objpfx)tst-gettext2.out): Likewise.
4075         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4076         run_program_env and test_program_prefix_after_env arguments.
4077         * intl/tst-gettext2.sh: Likewise.
4078         * intl/tst-gettext4.sh: Do not set environment variables
4079         explicitly.
4080         * intl/tst-gettext6.sh: Likewise.
4081         * intl/tst-translit.sh: Likewise.
4082         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4083         $(test-program-prefix-before-env), $(run-program-env) and
4084         $(test-program-prefix-after-env).
4085         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4086         run_program_env and test_program_prefix_after_env arguments.
4087         * math/Makefile (run-regen-ulps): Use $(run-program-env).
4088         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4089         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
4090         explicitly with each use of ${test_wrapper_env}.
4091         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4092         $(test-program-prefix-before-env), $(run-program-env) and
4093         $(test-program-prefix-after-env).
4094         * posix/tst-getconf.sh: Do not set environment variables
4095         explicitly.
4096         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4097         run_program_env and test_program_prefix_after_env arguments.
4098         * stdio-common/tst-printf.sh: Do not set environment variables
4099         explicitly.
4100         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4101         $(test-program-prefix-before-env), $(run-program-env) and
4102         $(test-program-prefix-after-env).
4103         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4104         run_program_env and test_program_prefix_after_env arguments.
4105         Split $test calls into $test_pre and $test.
4106         * timezone/Makefile (build-testdata): Use
4107         $(built-program-cmd-before-env), $(run-program-env) and
4108         $(built-program-cmd-after-env).
4109
4110 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4111
4112         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4113         strlen for non SHARED builds.
4114
4115 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4116
4117         * nptl/allocatestack.c (check_list): Inlined function...
4118         (__reclaim_stacks): ... here.
4119
4120 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4121
4122         [BZ #15698]
4123         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4124         memory overrun.
4125
4126 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
4127
4128         * Rules (make-test-out): Include
4129         LOCPATH=$(common-objpfx)localedata in default environment.
4130         * debug/Makefile (tst-chk1-ENV): Remove variable.
4131         (tst-chk2-ENV): Likewise.
4132         (tst-chk3-ENV): Likewise.
4133         (tst-chk4-ENV): Likewise.
4134         (tst-chk5-ENV): Likewise.
4135         (tst-chk6-ENV): Likewise.
4136         (tst-lfschk1-ENV): Likewise.
4137         (tst-lfschk2-ENV): Likewise.
4138         (tst-lfschk3-ENV): Likewise.
4139         (tst-lfschk4-ENV): Likewise.
4140         (tst-lfschk5-ENV): Likewise.
4141         (tst-lfschk6-ENV): Likewise.
4142         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4143         (tst-iconv7-ENV): Likewise.
4144         * intl/Makefile (LOCPATH-ENV): Likewise.
4145         (tst-codeset-ENV): Likewise.
4146         (tst-gettext3-ENV): Likewise.
4147         (tst-gettext5-ENV): Likewise.
4148         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4149         (tst-fopenloc-ENV): Likewise.
4150         (tst-fgetws-ENV): Remove variable.
4151         (tst-ungetwc1-ENV): Likewise.
4152         (tst-ungetwc2-ENV): Likewise.
4153         (bug-ungetwc2-ENV): Likewise.
4154         (tst-swscanf-ENV): Likewise.
4155         (bug-ftell-ENV): Likewise.
4156         (tst-fgetwc-ENV): Likewise.
4157         (tst-fseek-ENV): Likewise.
4158         (tst-ftell-partial-wide-ENV): Likewise.
4159         (tst-ftell-active-handler-ENV): Likewise.
4160         (tst-ftell-append-ENV): Likewise.
4161         * posix/Makefile (tst-fnmatch-ENV): Likewise.
4162         (tst-regexloc-ENV): Likewise.
4163         (bug-regex1-ENV): Likewise.
4164         (tst-regex-ENV): Likewise.
4165         (tst-regex2-ENV): Likewise.
4166         (bug-regex5-ENV): Likewise.
4167         (bug-regex6-ENV): Likewise.
4168         (bug-regex17-ENV): Likewise.
4169         (bug-regex18-ENV): Likewise.
4170         (bug-regex19-ENV): Likewise.
4171         (bug-regex20-ENV): Likewise.
4172         (bug-regex22-ENV): Likewise.
4173         (bug-regex23-ENV): Likewise.
4174         (bug-regex25-ENV): Likewise.
4175         (bug-regex26-ENV): Likewise.
4176         (bug-regex30-ENV): Likewise.
4177         (bug-regex32-ENV): Likewise.
4178         (bug-regex33-ENV): Likewise.
4179         (bug-regex34-ENV): Likewise.
4180         (bug-regex35-ENV): Likewise.
4181         (tst-rxspencer-ENV): Likewise.
4182         (tst-rxspencer-no-utf8-ENV): Likewise.
4183         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4184         (tst-sscanf-ENV): Likewise.
4185         (tst-swprintf-ENV): Likewise.
4186         (tst-swscanf-ENV): Likewise.
4187         (test-vfprintf-ENV): Likewise.
4188         (scanf13-ENV): Likewise.
4189         (bug14-ENV): Likewise.
4190         (tst-grouping-ENV): Likewise.
4191         * stdlib/Makefile (tst-strtod-ENV): Likewise.
4192         (tst-strtod3-ENV): Likewise.
4193         (tst-strtod4-ENV): Likewise.
4194         (tst-strtod5-ENV): Likewise.
4195         (testmb2-ENV): Likewise./
4196         * string/Makefile (tst-strxfrm-ENV): Likewise.
4197         (tst-strxfrm2-ENV): Likewise.
4198         (bug-strcoll1-ENV): Likewise.
4199         (test-strcasecmp-ENV): Likewise.
4200         (test-strncasecmp-ENV): Likewise.
4201         * time/Makefile (tst-strptime-ENV): Likewise.
4202         (tst-ftime_l-ENV): Likewise.
4203         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4204         (tst-mbrtowc-ENV): Likewise.
4205         (tst-wcrtomb-ENV): Likewise.
4206         (tst-mbrtowc2-ENV): Likewise.
4207         (tst-c16c32-1-ENV): Likewise.
4208         (tst-mbsnrtowcs-ENV): Likewise.
4209
4210 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4211
4212         * manual/resource.texi (How to get information about the memory
4213         subsystem?): Fix typo.
4214         Reported by Peon de la Parra Ivan <peon@keba.com>
4215
4216 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
4217
4218         [BZ #16882]
4219         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4220         (pthread_spin_lock): Branch out of spin loop to proper location.
4221         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4222         (pthread_spin_lock): Likewise.
4223
4224         * nptl/tst-spin4.c: New test.
4225         * nptl/Makefile (tests): Add tst-spin4.
4226
4227 2014-06-03  Andreas Schwab  <schwab@suse.de>
4228
4229         [BZ #15946]
4230         * resolv/res_send.c (send_dg): Reload file descriptor after
4231         calling reopen.
4232
4233 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
4234
4235         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4236
4237 2014-06-03  Richard Henderson  <rth@redhat.com>
4238
4239         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4240         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4241         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4242         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
4243         in the SAVE_PID block.
4244         (__libc_vfork): New alias.
4245         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4246
4247         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4248         child in registers, not on the stack.  Remove RESET_PID conditionals.
4249         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4250
4251 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4252
4253         * sysdeps/aarch64/libm-test-ulps: Regenerate.
4254
4255 2014-06-03  Wilco  <wdijkstr@arm.com>
4256
4257         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4258         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4259         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4260         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4261         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4262         Likewise.
4263
4264 2014-06-03  Wilco  <wdijkstr@arm.com>
4265
4266         * sysdeps/aarch64/fpu/math_private.h
4267         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4268         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4269         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4270         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4271         Fix declarations.
4272
4273 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4274
4275         * crypt/crypt-private.h: Include ufc-crypt.h.
4276         (__b64_from_24bit): Declare extern.
4277         * crypt/crypt_util.c(__b64_from_24bit): New function.
4278         (b64t): New static const variable.
4279         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4280         (b64t): Remove variable.
4281         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4282         * crypt/sha256-crypt.c: Include crypt-private.h.
4283         (b64t): Remove variable.
4284         (__sha256_crypt_r): Remove b64_from_24bit and replace
4285         with __b64_from_24bit.
4286         * crypt/sha512-crypt.c: Likewise.
4287
4288 2014-06-02  Roland McGrath  <roland@hack.frob.com>
4289
4290         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4291         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4292         Label the code __libc_vfork rather than __vfork.
4293         [!NOT_IN_libc] (vfork): Define as weak alias.
4294         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4295         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4296         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4297
4298 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4299
4300         * malloc/malloc.c (malloc_info): Fix format specifier for
4301         n_mmaps.
4302
4303 2014-06-02  Wilco  <wdijkstr@arm.com>
4304
4305         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4306         FPCR write.
4307
4308 2014-06-02  Wilco  <wdijkstr@arm.com>
4309
4310         [BZ #17009]
4311         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4312         Rewrite to reduce FPCR/FPSR accesses.
4313
4314 2014-06-01  David S. Miller  <davem@davemloft.net>
4315
4316         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4317
4318 2014-05-31  David S. Miller  <davem@davemloft.net>
4319
4320         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4321         to occur in round to nearest mode when |x| >= 2.0
4322
4323 2014-05-30  Richard Henderson  <rth@twiddle.net>
4324
4325         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4326         (PSEUDO_RET_NOERRNO): Remove.
4327         (ret): Don't redefine.
4328         (ret_NOERRNO): Define in terms of ret.
4329         (ret_ERRVAL): Likewise.
4330
4331         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4332         use of PSEUDO_RET; perform the error check directly.
4333
4334 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
4335
4336         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4337         with __int128_t.
4338
4339 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4340
4341         * malloc/malloc (malloc_info): Fix formatting.
4342
4343 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4344             Roland McGrath  <roland@hack.frob.com>
4345
4346         * malloc/malloc (malloc_info): Also print mmapped statistics.
4347
4348 2014-05-30  Roland McGrath  <roland@hack.frob.com>
4349
4350         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4351         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4352
4353 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
4354
4355         * malloc/malloc.c (malloc_info): Inline mi_arena.
4356
4357 2014-05-29  Richard Henderson  <rth@twiddle.net>
4358
4359         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4360         Remove comma before expanding ASM_ARGS_##nr.
4361         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4362         Make _x0 a strict output; make _x8 a strict input; adjust expansion
4363         of ASM_ARGS_##nr.
4364         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4365         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4366         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4367         (ASM_ARGS_1): Add leading comma.
4368
4369         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4370         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4371         to __errno_location.
4372         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4373         Remove the expected plt for __errno_location.
4374
4375         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4376         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4377         call to __read_tp.
4378
4379         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4380         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
4381         it and break it down.
4382         (DOCARGS_0, DOCARGS_1): Do nothing.
4383         (DOCARGS_2): Update to store into the new stack frame.
4384         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4385         (UNDOCARGS_1): Update to restore from the new stack frame.
4386         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4387         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4388
4389         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4390         (SINGLE_THREAD_P): New parameter for result regno.
4391         (PSEUDO): Update to match; use cbz instead of beq.
4392
4393         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4394         Use ENTRY to define the _nocancel entry point.  Share the syscall
4395         and syscall error check paths with the cancel path.
4396         (PSEUDO_END): New.
4397
4398         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4399         whitespace; tabs before and after asm mnemonics.
4400
4401 2014-05-29  Eric Wong  <normalperson@yhbt.net>
4402
4403         [BZ #15132]
4404         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4405         Call fstat64 or stat64 internally, depending on arguments passed.
4406         Replace stat buffer argument with file descriptor argument.
4407         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4408         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4409         Pass fd to __internal_statvfs instead of calling fstat64.
4410         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4411         Pass fd to __internal_statvfs64 instead of calling fstat64.
4412         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4413         Pass -1 to __internal_statvfs instead of calling stat64.
4414         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4415         Pass -1 to __internal_statvfs64 instead of calling stat64.
4416
4417 2014-05-28  Roland McGrath  <roland@hack.frob.com>
4418
4419         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4420         that was previously under [RESET_PID].
4421         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4422
4423         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4424         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4425
4426 2014-05-27  Roland McGrath  <roland@hack.frob.com>
4427
4428         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4429
4430         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4431         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4432
4433 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
4434
4435         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4436
4437 2014-05-27  Andreas Schwab  <schwab@suse.de>
4438
4439         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4440         TLS_INIT_TP macro.
4441         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4442         * elf/rtld.c (init_tls, dl_main): Likewise.
4443         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4444         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4445         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4446         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4447         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4448         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4449         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4450         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4451         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4452         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4453         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4454         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4455         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4456         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4457         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4458         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4459         * sysdeps/generic/tls.h: Update description.
4460
4461 2014-05-27  Will Newton  <will.newton@linaro.org>
4462
4463         [BZ #16990]
4464         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4465         and restore r2 rather than just restoring.
4466
4467 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4468
4469         [BZ #16724]
4470         * libio/tst-ftell-append.c: New test case.
4471         * libio/Makefile (tests): Add test case.
4472         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4473         append mode.
4474         * libio/wfileops.c (do_ftell_wide): Likewise.
4475
4476 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4477
4478         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4479
4480         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4481         ...
4482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4484         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4485         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4486         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4487         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4488         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4489         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4490         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4491         Moved ...
4492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4493         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4494         Moved ...
4495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4496         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4497         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4498         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4499         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4500         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4501         ...
4502         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4503         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4504         Moved ...
4505         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4506         here.
4507         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4508         ...
4509         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4510         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4511         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4512
4513         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4514         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4515         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4516         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4517
4518         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4519         merge into ...
4520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4521         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4522         ...
4523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4524         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4525         ...
4526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4527         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4528         Moved ...
4529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4530         here.
4531         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4532         Moved ...
4533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4534         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4535         Moved ...
4536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4537
4538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4539         conditional [RESET_PID].
4540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4541         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4542         removed.
4543         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4544         removed.
4545
4546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4547         <tcb-offsets.h>.
4548         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4549         (__libc_vfork): New strong alias.
4550         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4551         removed.
4552         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4553         Removed.
4554
4555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4556         <tcb-offsets.h>.
4557         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4558         (__libc_vfork): New strong alias.
4559         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4560         removed.
4561         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4562         removed.
4563
4564 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
4565
4566         * malloc/malloc.c (mi_arena): New function.
4567         (malloc_info): Remove nested function mi_arena. Call non-nosted
4568         function mi_arena.
4569
4570 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4571
4572         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4573         by insrwi.
4574         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4575         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4576         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4577         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4578         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4579         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4580         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4581
4582 2014-05-26  Andreas Schwab  <schwab@suse.de>
4583
4584         [BZ #16984]
4585         * locale/programs/repertoire.c (repertoire_read): Add slash
4586         between I18NPATH element and file name.
4587         * locale/programs/locfile.c (locfile_read): Likewise.
4588
4589 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4590
4591         * nptl/pthread_mutexattr_settype.c
4592         (__pthread_mutexattr_settype):
4593         Disable lock elision for PTHREAD_MUTEX_NORMAL.
4594
4595 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4596
4597         * nptl/tst-mutex5 (do_test):
4598         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4599
4600 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4601
4602         * benchtests/README: Document 'init' directive.
4603         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4604         BENCH_INIT.
4605         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4606         (parse_file): Recognize 'init' directive.
4607
4608 2014-05-26  Kyle McMartin  <kyle@redhat.com>
4609
4610         [BZ #16796]
4611         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4612         alignment of struct pthread.
4613
4614 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4615
4616         [BZ #16878]
4617         * nscd/netgroupcache.c (addgetnetgrentX): Look for
4618         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4619         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4620         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4621
4622 2014-05-25  Richard Henderson  <rth@twiddle.net>
4623
4624         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4625         (SINGLE_THREAD_P_PIC): Remove.
4626         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4627         (SINGLE_THREAD_P_PIC): Remove.
4628
4629         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4630         branch to syscall error ...
4631         (PSEUDO): ... here.
4632         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4633         from __local_syscall_error to .Lsyscall_error.
4634         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4635         (SYSCALL_ERROR): Update label name.
4636
4637         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4638         Do not use DOARGS/UNDOARGS.
4639         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4640         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4641         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4642         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4643         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4644
4645         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4646         block comment.
4647
4648         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4649         define if !NOT_IN_libc.
4650         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4651         define with non-default symbol versions.
4652
4653 2014-05-23  Richard Henderson  <rth@twiddle.net>
4654
4655         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4656         (vfork, __vfork): Define via compat_symbol.
4657
4658         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4659         [!HAVE_IFUNC] (vfork_compat): Remove.
4660         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4661
4662 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
4663
4664         [BZ #16978]
4665         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4666         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4667         variable.
4668
4669 2014-05-23  Richard Henderson  <rth@twiddle.net>
4670
4671         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4672         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4673         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4674         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4675
4676         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4677         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4678         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4679         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4680         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4681         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4682         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4683         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4684         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4685         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4686         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4687         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4688         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4689         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4690         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4691         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4692         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4693         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4694         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4695         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4696         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4697         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4698         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4699         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4700         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4701         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4702         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4703         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4704         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4705         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4706         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4707         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4708         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4709         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4710         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4711         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4712         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4713         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4714         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4715         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4716         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4717         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4718         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4719         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4720         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4721         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4722         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4723         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4724         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4725         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4726         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4727         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4728         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4729         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4730         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4731         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4732
4733         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4734         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4735         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
4736         before exiting on error.
4737         (__libc_vfork): New strong alias.
4738         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4739         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4740
4741         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4742         that was previously under [RESET_PID].
4743         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4744
4745         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4746
4747 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
4748
4749         [BZ #16977]
4750         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4751         value when x - 1 is zero.
4752         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4753         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4754         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4755         0.0L for an argument of 1.0L.
4756         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4757         Likewise.
4758         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4759         value when x - 1 is zero.
4760         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4761         * sysdeps/i386/fpu/libm-test-ulps: Update.
4762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4763
4764 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4765
4766         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4767         alphasort and versionsort.
4768
4769 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4770
4771         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4772         macro.
4773         [copysignf]: Likewise.
4774
4775 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4776
4777         * crypt/md5-crypt.c: Fix formatting.
4778
4779 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4780
4781         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4782         (b64_from_24bit): New function.
4783
4784 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4785
4786         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4787         libc_hidden_builtin_def to ifunc.
4788         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4789         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4790
4791 2014-05-21  Roland McGrath  <roland@hack.frob.com>
4792
4793         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4794         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4795
4796 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
4797
4798         * nscd/Depend (linuxthreads): Remove.
4799         (nptl): Add.
4800         * resolv/Depend (linuxthreads): Remove.
4801         * rt/Depend (linuxthreads): Remove.
4802
4803         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4804         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4805         $(common-objpfx)elf/.
4806         (link-libc-before-gnulib): Likewise.
4807         (elfobjdir): Remove variable.
4808         * Makefile (install): Use $(elf-objpfx) instead of
4809         $(common-objpfx)elf/.
4810         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4811         $(elfobjdir)/.
4812         (link-libc-deps): Likewise.
4813         ($(common-objpfx)libc.so): Likewise.
4814         ($(common-objpfx)linkobj/libc.so): Likewise.
4815         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4816         instead of $(common-objpfx)elf/.
4817         (symbolic-link-list): Likewise.
4818         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4819         [$(cross-compiling) = no]: Likewise.
4820         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4821         $(elfobjdir)/.
4822         (static-gnulib-arch): Likewise.
4823         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4824         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4825         $(common-objpfx)elf/.
4826
4827 2014-05-21  Richard Henderson  <rth@redhat.com>
4828
4829         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4830         (SINGLE_THREAD_P): Use the correct width load.  Fold
4831         into the ldr offset.
4832
4833         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4834         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4835
4836 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
4837
4838         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4839         (libgcc_s_resume): Use __attribute_used__.
4840         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4841         Likewise.
4842
4843 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4844
4845         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4846         optimization when used with float constants.
4847
4848         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4849
4850 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
4851
4852         [BZ #16915]
4853         * locale/nl_langinfo_l.c: Make direct reference to every
4854         _nl_current_CATEGORY symbol.
4855         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4856         (tests-static): Add tst-langinfo-static.
4857         (tests-special): Add tst-langinfo-static.out.
4858         ($(objpfx)tst-langinfo.out): Redirect output.
4859         ($(objpfx)tst-langinfo-static.out): New.
4860         * localedata/tst-langinfo.sh: Send output to stdout.
4861         * localedata/tst-langinfo-static.c: New file.
4862
4863         [BZ #16965]
4864         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4865         when the shift amount is modulo the limb size.
4866
4867 2014-05-20  Richard Henderson  <rth@redhat.com>
4868
4869         [BZ #16967]
4870         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4871         Change type of sa_flags from unsigned int to int.
4872
4873         [BZ #16966]
4874         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
4875
4876         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4877
4878 2014-05-20  Will Newton  <will.newton@linaro.org>
4879
4880         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4881         Test the return value of the system call in the nocancel case.
4882
4883 2014-05-20  Will Newton  <will.newton@linaro.org>
4884             Yvan Roux  <yvan.roux@linaro.org>
4885
4886         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4887         #include of asm/ptrace.h.
4888         (PTRACE_GET_THREAD_AREA): Remove #undef.
4889         (PTRACE_GETHBPREGS): Likewise.
4890         (PTRACE_SETHBPREGS): Likewise.
4891         (struct user_regs_struct): New structure.
4892         (struct user_fpsimd_struct): New structure.
4893         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4894         #include of asm/ptrace.h and second #include of sys/user.h.
4895         (PTRACE_GET_THREAD_AREA): Remove #undef.
4896         (PTRACE_GETHBPREGS): Likewise.
4897         (PTRACE_SETHBPREGS): Likewise.
4898         (ELF_NGREG): Use new struct user_regs_struct.
4899         (elf_fpregset_t): Use new struct user_fpsimd_struct.
4900
4901 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4902
4903         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4904         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4905
4906 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
4907
4908         [BZ #16958]
4909         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4910         membar to avoid block loads/stores to overlap previous stores.
4911
4912 2014-05-17  Richard Henderson  <rth@redhat.com>
4913
4914         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4915         Create the __##syscall_name##_nocancel entry point.
4916         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4917         Remove; let the sysdep-cancel.h code create it.
4918
4919 2014-05-17  David S. Miller  <davem@davemloft.net>
4920
4921         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4922         Protect with __USE_GNU.
4923         (TIOCSET_TEMPT): Likewise.
4924         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4925         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4926         these are already provided in bits/ioctl-types.h
4927
4928 2014-05-16  Roland McGrath  <roland@hack.frob.com>
4929
4930         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4931         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4932
4933         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4934         Use wait4 regardless of [__NR_waitpid].
4935
4936 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
4937
4938         PR libgcc/60166
4939         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4940         (_FP_NANSIGN_Q): Set the quiet bit.
4941
4942 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
4943
4944         * benchtests/Makefile
4945         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4946         not $(common-objpfx)math/libm.so.
4947         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4948         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4949         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4950         $(common-objpfx)dlfcn/libdl.so.
4951         ($(objpfx)tst-audit8): Depend on $(libm), not
4952         $(common-objpfx)math/libm.so.
4953         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4954         not $(common-objpfx)dlfcn/libdl.so.
4955         * math/Makefile
4956         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4957         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
4958         [$(build-shared) = yes].
4959         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4960         $(common-objpfx)nptl/libpthread.so.
4961         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4962         $(common-objpfx)math/libm.so$(libm.so-version) or
4963         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4964         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4965         $(common-objpfx)dlfcn/libdl.so.
4966         * setjmp/Makefile (link-libm): Remove variable.
4967         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4968         * stdio-common/Makefile (link-libm): Remove variable.
4969         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4970         * stdlib/Makefile (link-libm): Remove variable.
4971         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4972         ($(objpfx)tst-strtod-round): Likewise.
4973         ($(objpfx)tst-tininess): Likewise.
4974         ($(objpfx)tst-strtod-underflow): Likewise.
4975         ($(objpfx)tst-strtod6): Likewise.
4976         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4977         $(libdl), not $(common-objpfx)nptl/libpthread.so and
4978         $(common-objpfx)dlfcn/libdl.so.
4979
4980 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4981
4982         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4983         BSD terminal modes definitions.
4984
4985 2014-05-16  Roland McGrath  <roland@hack.frob.com>
4986
4987         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4988         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4989
4990         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
4991         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4992         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4993         Don't do #include_next.
4994         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4995         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4996         Don't do #include_next.
4997         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4998         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4999         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5000         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5001
5002 2014-05-16  Allan McRae  <allan@archlinux.org>
5003
5004         * po/sv.po: Update Swedish translation from translation project.
5005
5006         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5007         in sed expression.
5008
5009 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
5010
5011         [BZ #16917]
5012         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5013         errno if the TIOCGPTN ioctl fails with an error different than
5014         EINVAL.
5015         * login/tst-ptsname.c: New file.
5016         * login/Makefile (tests): Add tst-ptsname.
5017
5018         [BZ #16943]
5019         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5020         and prlimit64.
5021
5022 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5023
5024         [BZ #16849]
5025         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5026         herrno to return EAI_AGAIN.
5027
5028 2014-05-14  Roland McGrath  <roland@hack.frob.com>
5029
5030         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5031         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5032         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5033         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5034         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5035         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5036         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5037         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5038         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5039         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5040         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5041         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5042         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5043         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5044         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5045         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5046         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5047         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5048         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5049         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5050         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5051         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5052         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5053         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5054         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5055         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5056         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5057         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5058         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5059         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5060         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5061         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5062         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5063         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5064         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5065         Moved ...
5066         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5067         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5068         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5069         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5070         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5071         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5072         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5073         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5074         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5075         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5076         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5077         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5078         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5079         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5080         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5081         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5082         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5083         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5084         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5085         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5086         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5087         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5088         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5089         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5090         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5091         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5092         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5093         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5094         Moved ...
5095         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5096         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5097         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5098         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5099         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5100         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5101         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5102         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5103         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5104         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5105         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5106         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5107         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5108         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5109         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5110         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5111         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5112         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5113         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5114         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5115         Moved ...
5116         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5117         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5118         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5119
5120         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5121         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5122         (libpthread-sysdep_routines): Add elision-related stuff here instead.
5123         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5124         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5125         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5126         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5127         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5128         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5129         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5130         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5131         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5132         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5133         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5134         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5135         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5136         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5137         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5138         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5139         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5140         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5141         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5142         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5143         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5144         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5145         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5146         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5147         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5148         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5149         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5150         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5151
5152         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5153         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5154
5155         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5156         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5157         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5158         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5159         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5160         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5161         Moved ...
5162         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5163         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5164         Moved ...
5165         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5166         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5167         Moved ...
5168         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5169         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5170         Moved ...
5171         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5172         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5173         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5174         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5175         Moved ...
5176         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5177         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5178         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5179         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5180         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5181         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5182         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5183         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5184         Moved ...
5185         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5186         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5187         Moved ...
5188         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5189         ... here.
5190         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5191         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5192         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5193         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5194         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5195         Moved ...
5196         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5197         ... here.
5198         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5199         Moved ...
5200         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5201         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5202         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5203         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5204         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5205         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5206         Moved ...
5207         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5208         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5209         Moved ...
5210         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5211         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5212         Moved ...
5213         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5214         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5215         Moved ...
5216         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5217         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5218         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5219         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5220         Moved ...
5221         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5222         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5223         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5224         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5225         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5226         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5227         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5228         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5229         Moved ...
5230         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5231         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5232         Moved ...
5233         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5234         ... here.
5235         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5236         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5237         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5238         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5239         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5240         Moved ...
5241         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5242         ... here.
5243         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5244         Moved ...
5245         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5246         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5247         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5248         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5249         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5250         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5251         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5252         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5253         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5254         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5255         Moved ...
5256         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5257         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5258         Moved ...
5259         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5260         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5261         Moved ...
5262         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5263         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5264         Moved ...
5265         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5266         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5267         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5268         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5269         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5270         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5271         Moved ...
5272         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5273         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5274         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5275         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5276         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5277         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5278         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5279         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5280         Moved ...
5281         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5282         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5283         Moved ...
5284         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5285         ... here.
5286         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5287         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5288         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5289         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5290         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5291         Moved ...
5292         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5293         ... here.
5294         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5295         Moved ...
5296         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5297         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5298         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5299         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5300         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5301         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5302         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5303         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5304         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5305         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5306         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5307
5308         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5309         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5310
5311         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5312         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5313
5314         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5315         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5316         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5317         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5318         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5319         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5320         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5321         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5322         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5323         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5324         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5325         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5326         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5327         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5328         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5329         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5330         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5331         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5332         Moved ...
5333         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5334         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5335         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5336         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5337         Moved ...
5338         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5339         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5340         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5341         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5342         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5343         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5344         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5345         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5346         Moved ...
5347         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5348         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5349         Moved ...
5350         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5351         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5352         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5353         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5354         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5355         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5356         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5357         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5358         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5359         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5360         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5361         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5362         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5363         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5364         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5365         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5366         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5367
5368         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5369         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5370         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5371         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5372         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5373
5374         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5375         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5376         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5377         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5378         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5379         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5380         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5381         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5382         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5383         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5384
5385         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5386         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5387
5388         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5389         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5390         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5391         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5392         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5393         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5394         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5395         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5396         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5397         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5398         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5399         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5400         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5401         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5402         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5403         Update #include.
5404         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5405         Likewise.
5406         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5407         Likewise.
5408         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5409         Likewise.
5410         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5411         Likewise.
5412         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5413         Likewise.
5414         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5415         Likewise.
5416         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5417         Likewise.
5418         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5419         Likewise.
5420         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5421         Likewise.
5422         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5423         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5424         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5425         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5426         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5427         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5428         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5429         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5430         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5431         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5432         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5433         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5434         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5435         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
5436         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
5437
5438         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5439         that was previously under [RESET_PID].
5440         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5441         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5442         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5443
5444         * sysdeps/i386/nptl/Implies: New file.
5445         * sysdeps/x86_64/nptl/Implies: New file.
5446         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5447         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5448         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5449         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5450
5451         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5452         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5453         (__libc_vfork): New strong alias.
5454         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5455         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5456
5457         * sysdeps/unix/sysv/linux/x86_64/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/x86_64/vfork.S: File removed.
5461         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5462
5463         * sysdeps/unix/sysv/linux/arm/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         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5467         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5468         * nptl/pt-vfork.c: New file.
5469         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5470         (libpthread: GLIBC_2.20): New version set (empty).
5471
5472 2014-05-14  Will Newton  <will.newton@linaro.org>
5473
5474         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5475         rather than #if.
5476
5477 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
5478
5479         [BZ #16564]
5480         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5481         arguments with exponent 65 or above.
5482         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5483         arguments 0x1p113L or above.
5484         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5485         to arguments 0x1p107L or above.
5486         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5487         positive arguments with exponent 65 or above.
5488         * math/auto-libm-test-in: Add more tests of log1p.
5489         * math/auto-libm-test-out: Regenerated.
5490
5491         [BZ #16928]
5492         * math/s_cacos.c (__cacos): Ensure zero real part of result from
5493         non-finite arguments is +0.
5494         * math/s_cacosf.c (__cacosf): Likewise.
5495         * math/s_cacosl.c (__cacosl): Likewise.
5496         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5497         * sysdeps/i386/fpu/libm-test-ulps: Update.
5498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5499
5500         [BZ #16927]
5501         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5502         value.
5503         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5504         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5505         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5506         for explicit high bit of mantissa when testing for argument equal
5507         to 1.
5508         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5509         * sysdeps/i386/fpu/libm-test-ulps: Update.
5510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5511
5512         [BZ #16516]
5513         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5514         (__erf): Scale by 16 instead of 8 in potentially underflowing
5515         case.  Ensure exception if result actually underflows.
5516         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5517         (__erff): Scale by 16 instead of 8 in potentially underflowing
5518         case.  Ensure exception if result actually underflows.
5519         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5520         (efx8): Remove variable.
5521         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5522         case.  Ensure exception if result actually underflows.
5523         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5524         (efx8): Remove variable.
5525         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5526         case.  Ensure exception if result actually underflows.
5527         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5528         (efx8): Remove variable.
5529         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5530         case.  Ensure exception if result actually underflows.
5531         * math/auto-libm-test-in: Add more tests of erf.
5532         * math/auto-libm-test-out: Regenerated.
5533
5534 2014-05-14  Andreas Schwab  <schwab@suse.de>
5535
5536         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5537         Remove code conditionalized on USE___THREAD.
5538
5539         * config.h.in (HAVE_PT_CHOWN): Define as 0.
5540         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5541         not definedness.
5542
5543 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
5544
5545         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5546         Define unconditionally.
5547         (__ASSUME_O_CLOEXEC): Likewise.
5548         (__ASSUME_SOCK_CLOEXEC): Likewise.
5549         (__ASSUME_IN_NONBLOCK): Likewise.
5550         (__ASSUME_PIPE2): Likewise.
5551         (__ASSUME_EVENTFD2): Likewise.
5552         (__ASSUME_SIGNALFD4): Likewise.
5553         (__ASSUME_DUP3): Likewise.
5554         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5555         (__ASSUME_DUP3): Do not define.
5556         (__ASSUME_EVENTFD2): Likewise.
5557         (__ASSUME_IN_NONBLOCK): Likewise.
5558         (__ASSUME_O_CLOEXEC): Likewise.
5559         (__ASSUME_PIPE2): Likewise.
5560         (__ASSUME_SIGNALFD4): Likewise.
5561         (__ASSUME_SOCK_CLOEXEC): Likewise.
5562         (__ASSUME_UTIMES): Undefine.
5563         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5564         (__ASSUME_UTIMES): Do not define.
5565         (__ASSUME_O_CLOEXEC): Likewise.
5566         (__ASSUME_SOCK_CLOEXEC): Likewise.
5567         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5568         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5569         0x020621].
5570         (__ASSUME_PIPE2): Likewise.
5571         (__ASSUME_EVENTFD2): Likewise.
5572         (__ASSUME_SIGNALFD4): Likewise.
5573         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5574         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5575         Do not define.
5576         (__ASSUME_EVENTFD2): Likewise.
5577         (__ASSUME_SIGNALFD4): Likewise.
5578         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5579         (__ASSUME_32BITUIDS): Likewise.
5580         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5581         (__ASSUME_IPC64): Likewise.
5582         (__ASSUME_ST_INO_64_BIT): Likewise.
5583         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5584         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5585         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5586         (__ASSUME_UTIMES): Do not define.
5587         (__ASSUME_PSELECT): Likewise.
5588         (__ASSUME_PPOLL): Likewise.
5589         (__ASSUME_O_CLOEXEC): Likewise.
5590         (__ASSUME_SOCK_CLOEXEC): Likewise.
5591         (__ASSUME_IN_NONBLOCK): Likewise.
5592         (__ASSUME_PIPE2): Likewise.
5593         (__ASSUME_EVENTFD2): Likewise.
5594         (__ASSUME_SIGNALFD4): Likewise.
5595         (__ASSUME_DUP3): Likewise.
5596         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5597         (__ASSUME_UTIMES): Likewise.
5598         (__ASSUME_O_CLOEXEC): Likewise.
5599         (__ASSUME_SOCK_CLOEXEC): Likewise.
5600         (__ASSUME_IN_NONBLOCK): Likewise.
5601         (__ASSUME_PIPE2): Likewise.
5602         (__ASSUME_EVENTFD2): Likewise.
5603         (__ASSUME_SIGNALFD4): Likewise.
5604         (__ASSUME_DUP3): Likewise.
5605         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5606         (__ASSUME_UTIMES): Likewise.
5607         (__ASSUME_O_CLOEXEC): Likewise.
5608         (__ASSUME_SOCK_CLOEXEC): Likewise.
5609         (__ASSUME_IN_NONBLOCK): Likewise.
5610         (__ASSUME_PIPE2): Likewise.
5611         (__ASSUME_EVENTFD2): Likewise.
5612         (__ASSUME_SIGNALFD4): Likewise.
5613         (__ASSUME_DUP3): Likewise.
5614         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5615         Likewise.
5616         (__ASSUME_UTIMES): Likewise.
5617         (__ASSUME_EVENTFD2): Likewise.
5618         (__ASSUME_SIGNALFD4): Likewise.
5619         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5620         (__ASSUME_O_CLOEXEC): Likewise.
5621         (__ASSUME_SOCK_CLOEXEC): Likewise.
5622         (__ASSUME_IN_NONBLOCK): Likewise.
5623         (__ASSUME_PIPE2): Likewise.
5624         (__ASSUME_EVENTFD2): Likewise.
5625         (__ASSUME_SIGNALFD4): Likewise.
5626         (__ASSUME_DUP3): Likewise.
5627         (__ASSUME_UTIMES): Undefine.
5628
5629         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5630         feclearexcept.  Remove symbol versioning code.
5631         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
5632         symbol versioning code.
5633         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
5634         symbol versioning code.
5635         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5636         feupdateenv.  Remove symbol versioning code.
5637         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5638         fegetexceptflag.  Remove symbol versioning code.
5639         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5640         fesetexceptflag.  Remove symbol versioning code.
5641         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5642         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
5643         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5644         (__posix_fadvise64_l32): Remove prototype.
5645         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5646         code.
5647
5648 2014-05-13  Roland McGrath  <roland@hack.frob.com>
5649
5650         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5651         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5652         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5653         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5654
5655 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
5656
5657         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5658         current working directory
5659
5660 2014-05-13  Roland McGrath  <roland@hack.frob.com>
5661
5662         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5663         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5664         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5665         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5666         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5667         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5668         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5669         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5670         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5671         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5672         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5673         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5674         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5675         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5676         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5677         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5678         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5679         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5680         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5681         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5682         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5683         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5684         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5685         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5686         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5687         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5688         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5689         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5690         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5691         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5692         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5693         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5694         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5695         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5696         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5697         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5698         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5699         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5700         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5701         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5702         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5703         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5704
5705         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5706         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5707
5708         * sysdeps/unix/sysv/linux/arm/Makefile
5709         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5710         Add rt-aeabi_unwind_cpp_pr1.
5711         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5712         Add nptl-aeabi_unwind_cpp_pr1.
5713         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5714         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5715         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5716         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5717         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5718         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5719
5720         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5721         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5722         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5723         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5724
5725         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5726         Deconditionalize the code that was previously under [RESET_PID].
5727         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5728
5729         * sysdeps/generic/exit-thread.h: New file.
5730         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5731         * include/unistd.h (__exit_thread): Remove declaration.
5732         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5733         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5734         * csu/libc-start.c: Include <exit-thread.h>.
5735         (LIBC_START_MAIN): Pass no argument to __exit_thread.
5736         * nptl/pthread_create.c: Include <exit-thread.h>.
5737         (start_thread): Call __exit_thread in place of __exit_thread_inline.
5738         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5739         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5740         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5741         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5742         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5743         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5744         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5745         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5746         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5747         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5748         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5749         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5750         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5751         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5752         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5753         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5754
5755 2014-05-13  Andreas Schwab  <schwab@suse.de>
5756
5757         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5758
5759 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
5760
5761         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5762         (__ASSUME_UTIMES): Do not condition on kernel version.
5763         (__ASSUME_PSELECT): Define unconditionally.
5764         (__ASSUME_PPOLL): Likewise.
5765         (__ASSUME_ATFCTS): Likewise.
5766         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5767         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5768         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5769         (__ASSUME_UTIMENSAT): Define unconditionally.
5770         (__ASSUME_PRIVATE_FUTEX): Likewise.
5771         (__ASSUME_FALLOCATE): Likewise.
5772         (__ASSUME_O_CLOEXEC): Likewise.
5773         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5774         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5775         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5776         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5777         (__ASSUME_IN_NONBLOCK): Likewise.
5778         (__ASSUME_PIPE2): Likewise.
5779         (__ASSUME_EVENTFD2): Likewise.
5780         (__ASSUME_SIGNALFD4): Likewise.
5781         (__ASSUME_DUP3): Likewise.
5782         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5783         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5784         (__ASSUME_AT_RANDOM): Likewise.
5785         (__ASSUME_PREADV): Likewise.
5786         (__ASSUME_PWRITEV): Likewise.
5787         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5788         (__ASSUME_F_GETOWN_EX): Define unconditionally.
5789         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5790         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5791         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5792         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5793         (__ASSUME_O_CLOEXEC): Define unconditionally.
5794         (__ASSUME_PSELECT): Do not undefine conditionally.
5795         (__ASSUME_PPOLL): Likewise.
5796         (__ASSUME_ATFCTS): Likewise.
5797         (__ASSUME_SET_ROBUST_LIST): Likewise.
5798         (__ASSUME_UTIMENSAT): Likewise.
5799         (__ASSUME_FDATASYNC): Define unconditionally.
5800         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5801         (__ASSUME_SIGFRAME_V2): Likewise.
5802         )__ASSUME_EVENTFD2): Likewise.
5803         (__ASSUME_SIGNALFD4): Likewise.
5804         (__ASSUME_PSELECT): Do not undefine conditionally.
5805         (__ASSUME_PPOLL): Likewise.
5806         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5807         (__ASSUME_PSELECT): Define unconditionally.
5808         (__ASSUME_PPOLL): Likewise.
5809         (__ASSUME_O_CLOEXEC): Likewise.
5810         (__ASSUME_SOCK_CLOEXEC): Likewise.
5811         (__ASSUME_IN_NONBLOCK): Likewise.
5812         (__ASSUME_PIPE2): Likewise.
5813         (__ASSUME_EVENTFD2): Likewise.
5814         (__ASSUME_SIGNALFD4): Likewise.
5815         (__ASSUME_DUP3): Likewise.
5816         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5817         (__ASSUME_O_CLOEXEC): Likewise.
5818         (__ASSUME_SOCK_CLOEXEC): Likewise.
5819         (__ASSUME_IN_NONBLOCK): Likewise.
5820         (__ASSUME_PIPE2): Likewise.
5821         (__ASSUME_EVENTFD2): Likewise.
5822         (__ASSUME_SIGNALFD4): Likewise.
5823         (__ASSUME_DUP3): Likewise.
5824         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5825         (__ASSUME_EVENTFD2): Likewise.
5826         (__ASSUME_SIGNALFD4): Likewise.
5827         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5828
5829 2014-05-12  Andreas Schwab  <schwab@suse.de>
5830
5831         [BZ #16932]
5832         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5833         (_nss_nis_gethostbyname4_r): Return error if item length is larger
5834         than maximum RPC packet size.
5835         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5836         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5837         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5838         (_nss_nis_getservbyport_r): Likewise.
5839
5840 2014-05-12  Will Newton  <will.newton@linaro.org>
5841
5842         * malloc/Makefile (tests): Add tst-mallopt.
5843         * malloc/tst-mallopt.c: New file.
5844
5845 2014-05-09  Roland McGrath  <roland@hack.frob.com>
5846
5847         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5848         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5849
5850 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5851
5852         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5853         (tst-tlsmod6.so): Likewise.
5854
5855 2014-05-09  Roland McGrath  <roland@hack.frob.com>
5856
5857         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5858
5859 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
5860
5861         [BZ #16064]
5862         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5863         and <dl-procinfo.h>.
5864         (__fegetenv): Save SSE state in envp->__eip if supported.
5865         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5866         envp->__eip if supported.
5867         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5868         and <dl-procinfo.h>.
5869         (__fesetenv): Always set __eip, __cs_selector, __opcode,
5870         __data_offset and __data_selector in environment to 0.  Set SSE
5871         state if supported.
5872         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5873         test-fenv-sse.
5874         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5875         -mfpmath=sse.
5876         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5877
5878 2014-05-09  Will Newton  <will.newton@linaro.org>
5879
5880         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5881         and libc_relro_required for ARM.
5882         * sysdeps/arm/preconfigure: Regenerate.
5883
5884 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
5885             Stefan Liebler  <stli@linux.vnet.ibm.com>
5886
5887         * config.make.in (enable-lock-elision): New Makefile variable.
5888         * configure.ac: Likewise.
5889         * configure: Regenerate.
5890         * sysdeps/s390/configure.ac:
5891         Add check for gcc transactions support.
5892         * sysdeps/s390/configure: Regenerate.
5893         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5894         Build elision files if enabled.
5895         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5896         Add lock elision support for s390.
5897         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5898         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5899         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5900         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5901         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5902         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5903         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5904         Likewise.
5905         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5906         Likewise.
5907         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5908         Likewise.
5909         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5910         Likewise.
5911         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5912         (__lll_timedlock_elision, __lll_lock_elision)
5913         (__lll_unlock_elision, __lll_trylock_elision)
5914         (lll_timedlock_elision, lll_lock_elision)
5915         (lll_unlock_elision, lll_trylock_elision): Add.
5916         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5917         (pthread_mutex_t): Add lock elision support for s390.
5918
5919 2014-05-14  Wilco  <wdijkstr@arm.com>
5920
5921         * sysdeps/arm/fclrexcpt.c: Cleanup.
5922         * sysdeps/arm/fedisblxcpt.c: Cleanup.
5923         * sysdeps/arm/feenablxcpt.c: Cleanup.
5924         * sysdeps/arm/fegetenv.c: Cleanup.
5925         * sysdeps/arm/fegetexcept.c: Cleanup.
5926         * sysdeps/arm/fegetround.c: Cleanup.
5927         * sysdeps/arm/feholdexcpt.c: Cleanup.
5928         * sysdeps/arm/fesetenv.c: Cleanup.
5929         * sysdeps/arm/fesetround.c: Cleanup.
5930         * sysdeps/arm/feupdateenv.c: Cleanup.
5931         * sysdeps/arm/fgetexcptflg.c: Cleanup.
5932         * sysdeps/arm/fraiseexcpt.c: Cleanup.
5933         * sysdeps/arm/fsetexcptflg.c: Cleanup.
5934         * sysdeps/arm/ftestexcept.c: Cleanup.
5935         * sysdeps/arm/get-rounding-mode.h: Cleanup.
5936         * sysdeps/arm/setfpucw.c: Cleanup.
5937
5938 2014-05-09  Will Newton  <will.newton@linaro.org>
5939
5940         * sysdeps/arm/armv7/strcmp.S: New file.
5941         * NEWS: Mention addition of ARMv7 optimized strcmp.
5942
5943 2014-05-08  Roland McGrath  <roland@hack.frob.com>
5944
5945         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5946         look for %.ac rather than %.in.
5947
5948         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5949         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5950         * sysdeps/mach/hurd/configure: Regenerated.
5951         * sysdeps/unix/sysv/linux/configure: Regenerated.
5952
5953         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5954
5955 2014-05-07  Steve Ellcey  <sellcey@mips.com>
5956
5957         [BZ# 16922]
5958         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5959         (LONG_SUB): Ditto.
5960         (PTR_SUB): Ditto.
5961
5962 2014-05-07  Andreas Schwab  <schwab@suse.de>
5963
5964         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5965         when skipping over non-matching result from nscd.
5966
5967 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
5968
5969         [BZ #16876]
5970         * nptl/sockperf.c (client): Check socket return value.
5971
5972         [BZ #16877]
5973         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5974         nscd security class.
5975
5976 2014-05-06  Roland McGrath  <roland@hack.frob.com>
5977
5978         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5979         * sysdeps/arm/unwind.h: ... here.
5980
5981 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
5982
5983         [BZ# 16916]
5984         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5985         Define.
5986
5987 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5988
5989         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5990         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5991         multiarch strncpy for PPC64.
5992         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5993         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5994         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5995         multiarch optimizations.
5996         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5997         (__libc_ifunc_impl_list): Likewise.
5998         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5999         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6000         multiarch stpncpy for PPC64.
6001         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6002         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6003
6004 2014-05-06  Andreas Schwab  <schwab@suse.de>
6005
6006         [BZ #16912]
6007         * gmon/mcount.c (_MCOUNT_DECL): Use
6008         atomic_compare_and_exchange_bool_acq instead of
6009         catomic_compare_and_exchange_bool_acq.
6010
6011 2014-05-05  Roland McGrath  <roland@hack.frob.com>
6012
6013         * elf/Makefile (others, install-bin): Remove pldd.
6014         (pldd-modules): Variable removed.
6015         ($(objpfx)pldd): Target removed.
6016         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6017         (others, install-bin): Append pldd here.
6018         ($(objpfx)pldd): New target.
6019
6020         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6021         to 0, so the first #if test emitted later doesn't see it undefined.
6022         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6023         * sysdeps/gnu/errlist.c: Regenerated.
6024
6025 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6026
6027         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6028         [libc_hidden_builtin_def]: Define to empty value.
6029         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6030         [libc_hidden_builtin_def]: Likewise.
6031         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6032         [libc_hidden_builtin_def]: Likewise.
6033         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6034         [libc_hidden_builtin_def]: Likewise.
6035         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6036         __redirect_memcpy and define ifunc as default hidden symbol.
6037         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6038         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6039
6040 2014-05-04  Adam Conrad  <adconrad@0c3.net>
6041
6042         * locale/iso-4217.def: Reintroduce XDR currency.
6043
6044 2014-05-04  Allan McRae  <allan@archlinux.org>
6045
6046         * po/eo.po: Update Esperanto translation from translation project.
6047
6048 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
6049
6050         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6051         and FEATURE_INDEX_MAX to 1.
6052         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6053
6054 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6055
6056         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6057         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6058         * iconvdata/big5.c (ONE_DIRECTION): Define.
6059         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6060         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6061         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6062         * iconvdata/cp932.c (ONE_DIRECTION): Define.
6063         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6064         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6065         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6066         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6067         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6068         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6069         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6070         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6071         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6072         * iconvdata/gbk.c (ONE_DIRECTION): Define.
6073         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6074         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6075         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6076         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6077         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6078         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6079         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6080         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6081         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6082         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6083         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6084         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6085         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6086         * iconvdata/iso646.c (ONE_DIRECTION): Define.
6087         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6088         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6089         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6090         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6091         * iconvdata/johab.c (ONE_DIRECTION): Define.
6092         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6093         * iconvdata/sjis.c (ONE_DIRECTION): Define.
6094         * iconvdata/t.61.c (ONE_DIRECTION): Define.
6095         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6096         * iconvdata/tscii.c (ONE_DIRECTION): Define.
6097         * iconvdata/uhc.c (ONE_DIRECTION): Define.
6098         * iconvdata/unicode.c (ONE_DIRECTION): Define.
6099         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6100         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6101         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6102
6103 2014-05-01  Roland McGrath  <roland@hack.frob.com>
6104
6105         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6106         (_IO_JUMPS_OFFSET): Define to 0.
6107
6108         * nptl/sysdeps/pthread/bits/libc-lock.h
6109         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6110         (__libc_lock_define_initialized_recursive): Always define using
6111         initializer.  Modern compilers treat uninitialized (implicit zero) and
6112         explicit zero initializers the same (i.e. put the datum in bss).
6113
6114 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6115
6116         * nscd/nscd-client.h: Include <string.h>.
6117
6118 2014-05-01  David S. Miller  <davem@davemloft.net>
6119
6120         [BZ #16885]
6121         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6122         multiple zero bytes exist at the end of a string.
6123         Reported by Aurelien Jarno <aurelien@aurel32.net>
6124
6125         * string/test-strcmp.c (check): Add explicit test for situations where
6126         there are multiple zero bytes after the first.
6127
6128 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6129
6130         [BZ #16890]
6131         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6132         when compiling wprintf.
6133         * stdio-common/tstdiomisc.c (t3): New function.
6134         (main): Call it.
6135
6136 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6137
6138         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6139         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6140         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6141         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6142
6143 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6144
6145         * stdlib/longlong.h: Updated from GCC.
6146
6147 2014-05-01  Will Newton  <will.newton@linaro.org>
6148             Bernard Ogden  <bernie.ogden@linaro.org>
6149
6150         * NEWS: Update fixed bug list.
6151
6152         [BZ #15119]
6153         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6154
6155 2014-04-30  David S. Miller  <davem@davemloft.net>
6156
6157         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6158         (libc_feholdexcept_setround_sparc_ctx): New function.
6159         (libc_fesetenv_sparc_ctx): Likewise.
6160         (libc_feupdateenv_sparc_ctx): Likewise.
6161         (libc_feholdsetround_sparc_ctx): Likewise.
6162         (libc_feholdexcept_setround_ctx): Define.
6163         (libc_feholdexcept_setroundf_ctx): Likewise.
6164         (libc_feholdexcept_setroundl_ctx): Likewise.
6165         (libc_fesetenv_ctx): Likewise.
6166         (libc_fesetenvf_ctx): Likewise.
6167         (libc_fesetenvl_ctx): Likewise.
6168         (libc_feupdateenv_ctx): Likewise.
6169         (libc_feupdateenvf_ctx): Likewise.
6170         (libc_feupdateenvl_ctx): Likewise.
6171         (libc_feresetround_ctx): Likewise.
6172         (libc_feresetroundf_ctx): Likewise.
6173         (libc_feresetroundl_ctx): Likewise.
6174         (libc_feholdsetround_ctx): Likewise.
6175         (libc_feholdsetroundf_ctx): Likewise.
6176         (libc_feholdsetroundl_ctx): Likewise.
6177
6178         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6179         with __USE_GNU instead of XOPEN cpp guards.
6180
6181         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6182         0.
6183
6184         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6185         with XOPEN cpp guards.
6186
6187 2014-04-30  Julian Brown  <julian@codesourcery.com>
6188
6189         [BZ #16888]
6190         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6191         handling.
6192
6193 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
6194
6195         [BZ #9894]
6196         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6197         Change to 2.6.32.
6198         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6199         * sysdeps/unix/sysv/linux/configure: Regenerated.
6200         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6201         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6202         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6203         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6204         * README: Update reference to required Linux kernel version.
6205         * manual/install.texi (Linux): Update reference to required Linux
6206         kernel headers version.
6207         * INSTALL: Regenerated.
6208
6209         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6210         header inclusion.
6211         [POSIX] (limits.h): Likewise.
6212         [POSIX] (math.h): Likewise.
6213         [POSIX] (sys/wait.h): Likewise.
6214         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6215         function.
6216         [POSIX] (stddef.h): Do not allow header inclusion.
6217
6218 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6219
6220         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6221
6222 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
6223
6224         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6225         Return immediately after lll_futex_wake.
6226
6227 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6228
6229         [BZ #16791]
6230         * nscd/nscd-client.h (datahead_init_common): Initialize entire
6231         structure.
6232         (datahead_init_pos): Call datahead_init_common early.
6233         (datahead_init_neg): Likewise.
6234
6235         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6236         datahead_init_neg): New functions.
6237         * nscd/aicache.c (addhstaiX): Use them.
6238         * nscd/grpcache.c (cache_addgr): Likewise.
6239         * nscd/hstcache.c (cache_addhst): Likewise.
6240         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6241         * nscd/netgroupcache.c (do_notfound): Likewise.
6242         (addgetnetgrentX): Likewise.
6243         (addinnetgrX): Likewise.
6244         * nscd/pwdcache.c (cache_addpw): Likewise.
6245         * nscd/servicescache.c (cache_addserv): Likewise.
6246
6247 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6248             Atsushi Onoe  <atsushi@onoe.org>
6249
6250         [BZ #14308]
6251         [BZ #12994]
6252         [BZ #13651]
6253         * resolv/res_query.c (__libc_res_nsearch): Return if at least
6254         one response is valid.
6255         * resolv/res_send.c (send_dg): Check for validity of other
6256         response if the current response is a referral.
6257
6258 2014-04-29  Steve Ellcey  <sellcey@mips.com>
6259
6260         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6261
6262 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
6263
6264         [BZ #16823]
6265         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6266         Always divide by positive zero when computing -Inf result.
6267         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6268         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6269
6270 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6271
6272         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6273         FPSCR if value do not change.
6274         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6275         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6276         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6277         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6278         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6279         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6280         function.
6281
6282 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
6283
6284         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6285         * sysdeps/unix/sysv/linux/hppa: Move directory from
6286         ports/systeps/unix/sysv/linux/hppa.
6287         * README: Update listing for hppa-*-linux-gnu.
6288
6289 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
6290
6291         [BZ #16754]
6292         * manual/stdio.texi (Hook functions): Fix types of stream hook
6293         functions.
6294         [BZ #16854]
6295         * socket/sys/socket.h: Fix typo in comment.
6296
6297 2014-04-28  Wilco  <wdijkstr@arm.com>
6298
6299         * sysdeps/arm/fenv_private.h: New file.
6300         * sysdeps/arm/math_private.h: New file.
6301         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6302
6303 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
6304
6305         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6306         with __int128_t.
6307         (La_x86_64_retval): Likewise.
6308
6309 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
6310
6311         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6312         fpsr if value didn't change.
6313         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6314         to fpcr if value didn't change.
6315         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6316         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6317         fpsr or fpcr if value didn't change.
6318         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6319         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6320         fpcr if value didn't change.
6321         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6322         to fpsr if value didn't change.
6323
6324 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6325
6326         * nptl/tst-sem3.c: Use test-skeleton.c
6327         (main): Rename to do_test.  Use return instead of
6328         exit.
6329         * nptl/tst-sem4.c: Use test-skeleton.c
6330         (main): Rename to do_test.
6331
6332 2014-04-22  David S. Miller  <davem@davemloft.net>
6333
6334         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6335         (struct sigaction): New struct member __glibc_reserved0, change
6336         type of sa_flags to int.
6337
6338 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
6339
6340         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6341         (COUNT_LEADING_ZEROS_0): Define for AArch64.
6342
6343 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6344
6345         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6346         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6347
6348 2014-04-22  Will Newton  <will.newton@linaro.org>
6349             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
6350
6351         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6352         (__longjmp): Add longjmp and longjmp_target SystemTap
6353         probes.
6354         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6355         (__sigsetjmp): Add setjmp SystemTap probe.
6356
6357 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
6358
6359         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6360         match manual order.
6361
6362 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6363
6364         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6365
6366         * sysdeps/powerpc/fpu/fenv_private.h
6367         (libc_feholdexcept_setroundl_ctx): Define to
6368         libc_feholdexcept_setround_ppc_ctx.
6369         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6370         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6371         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6372         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6373
6374 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
6375
6376         * sysdeps/aarch64/math-tests.h: New file.
6377
6378 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
6379
6380         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6381         New.
6382         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6383         Check and set bit_AVX2_Usable.
6384         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6385         macro.
6386         (bit_AVX2): Likewise.
6387         (index_AVX2_Usable): Likewise.
6388         (CPUID_AVX2): Likewise.
6389         (HAS_AVX2): Likewise.
6390
6391 2014-04-17  Will Newton  <will.newton@linaro.org>
6392
6393         * manual/setjmp.texi (System V contexts): Add note that
6394         calling setcontext on a context created by a call to a
6395         signal handler is undefined.  Update text to note that
6396         setcontext from a signal handler is possible but not
6397         recommended.
6398
6399         [BZ #16629]
6400         * stdlib/tst-setcontext.c: Include signal.h.
6401         (main): Check that the signal stack before and
6402         after swapcontext is the same.
6403
6404         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6405         Re-implement to restore registers in user code and avoid
6406         rt_sigreturn system call.
6407
6408 2014-04-17  Wilco  <wdijkstr@arm.com>
6409
6410         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6411         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6412         * math/test-fenv.c: Skip exception trap tests on targets which only
6413         support non-stop mode.
6414
6415 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
6416             Wilco Dijkstra  <wilco.dijkstra@arm.com>
6417
6418         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6419         (libc_feholdsetround_aarch64_ctx)
6420         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6421         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6422         (libc_feresetround_ctx, libc_feresetroundf_ctx)
6423         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6424         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6425         (libc_feresetround_noexl_ctx): Define.
6426
6427 2014-04-16  Richard Henderson  <rth@redhat.com>
6428
6429         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6430
6431         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6432         unwind tables.
6433
6434         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6435         const from the non-libc, non-ldso copy.
6436
6437         * sysdeps/alpha/libm-test-ulps: Regenerate.
6438
6439 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
6440             Wilco Dijkstra  <wilco.dijkstra@arm.com>
6441
6442         * sysdeps/aarch64/fpu/math_private.h: New file.
6443
6444 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6445
6446         * sysdeps/aarch64/libm-test-ulps: Regenerate.
6447
6448 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
6449
6450         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6451         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6452         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6453         Intel MPX bound registers before _dl_profile_fixup.
6454         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6455         registers after _dl_profile_fixup.  Save and restore bound
6456         registers bnd0/bnd1 when calling _dl_call_pltexit.
6457         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6458         (LR_BND_OFFSET): Likewise.
6459         (LRV_BND0_OFFSET): Likewise.
6460         (LRV_BND1_OFFSET): Likewise.
6461
6462 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6463
6464         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6465         to...
6466         * sysdeps/mach/hurd/i386/tls.h: ... here.
6467         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6468         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6469         fields.
6470
6471 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6472
6473         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6474
6475 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6476
6477         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6478
6479 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6480
6481         [BZ #14770]
6482         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6483         * sysdeps/s390/configure: Regenerate.
6484
6485         [BZ #16824]
6486         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6487         Set round-to-nearest internally to reduce error accumulation.
6488
6489 2014-04-16  Alan Modra  <amodra@gmail.com>
6490
6491         [BZ #16740]
6492         [BZ #16619]
6493         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6494         * math/libm-test.inc (frexp_test_data): Add tests.
6495         * NEWS: Update fixed bug list.
6496
6497 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6498
6499         * benchtests/Makefile: Depend on libraries in build directory.
6500         (bench-math): Separate out math tests.
6501         (bench-pthread): Separate out pthread tests.
6502         (bench): Include math and pthread tests.
6503
6504 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
6505
6506         [BZ #16831]
6507         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6508         _dl_debug_initialize.
6509
6510         * configure.ac: Remove SELinux header check.
6511         * configure: Regenerate.
6512         * nscd/selinux.c (perms): Array of const char* to permission names.
6513         (nscd_request_avc_has_perm): Call security_deny_unknown to find
6514         default policy. Call string_to_security_class and string_to_av_perm to
6515         translate strings. Enforce default policy and call avs_has_perm with
6516         results of translated strings.
6517
6518 2014-04-13  David S. Miller  <davem@davemloft.net>
6519
6520         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6521
6522 2014-04-12  Allan McRae  <allan@archlinux.org>
6523
6524         [BZ #16838]
6525         * manual/string.texi (Collation Functions): Fix qsort argument
6526         order in example.
6527         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6528
6529 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
6530
6531         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6532         Make the test a no-op if there are no exceptions defined.
6533
6534 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6535
6536         * elf/Makefile (tests): make tst-dlopen-aout conditional on
6537         enable-hardcoded-path-in-tests
6538
6539 2014-04-11  Will Newton  <will.newton@linaro.org>
6540
6541         * benchtests/Makefile (extra-objs): Add json-lib.o.
6542         (bench-func): Tidy up JSON output.
6543         * benchtests/bench-skeleton.c: Include json-lib.h.
6544         (main): Use JSON library functions to do output of
6545         benchmark results.
6546         * benchtests/bench-timing-type.c (main): Output the
6547         timing type simply, leaving formatting to the user.
6548         * benchtests/json-lib.c: New file.
6549         * benchtests/json-lib.h: Likewise.
6550
6551 2014-04-11  Torvald Riegel  <triegel@redhat.com>
6552
6553         [BZ #15215]
6554         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6555         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
6556         memory barriers.  Add comments.
6557         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6558         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6559         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6560         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6561         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6562         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6563
6564 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6565
6566         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6567         * sysdeps/s390/s390-64/configure.ac: ... this ...
6568         * sysdeps/s390/configure.ac: ... to here.
6569         * sysdeps/s390/s390-32/configure: Delete file.
6570         * sysdeps/s390/s390-64/configure: Delete file.
6571         * sysdeps/s390/configure: Regenerate.
6572
6573 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
6574
6575         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6576
6577 2014-04-11  Will Newton  <will.newton@linaro.org>
6578
6579         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6580         to zero if it is not defined elsewhere.  (mtrim): Test
6581         the value of MALLOC_DEBUG with #if rather than #ifdef.
6582
6583 2014-04-10 Torvald Riegel  <triegel@redhat.com>
6584
6585         * benchtests/pthread_once-inputs: New file.
6586         * benchtests/pthread_once-source.c: New file.
6587         * benchtests/README: Update documentation.
6588
6589 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
6590             H.J. Lu  <hongjiu.lu@intel.com>
6591
6592         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6593         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6594         * sysdeps/x86_64/configure: Regenerated.
6595         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6596         macro.
6597         (REGISTER_SAVE_RAX): Likewise.
6598         (REGISTER_SAVE_RCX): Likewise.
6599         (REGISTER_SAVE_RDX): Likewise.
6600         (REGISTER_SAVE_RSI): Likewise.
6601         (REGISTER_SAVE_RDI): Likewise.
6602         (REGISTER_SAVE_R8): Likewise.
6603         (REGISTER_SAVE_R9): Likewise.
6604         (REGISTER_SAVE_BND0): Likewise.
6605         (REGISTER_SAVE_BND1): Likewise.
6606         (REGISTER_SAVE_BND2): Likewise.
6607         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
6608         bound registers when calling _dl_fixup.
6609
6610 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6611
6612         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6613         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6614         of its definition.
6615         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6616         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6617         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6618         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6619         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6620         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6621         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6622
6623 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
6624
6625         [BZ #15514]
6626         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6627         pathconf(_PC_NAME_MAX).
6628
6629 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6630
6631         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6632         Remove macro usage.
6633         (__PTHREAD_SPINS): Move definition to ...
6634         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6635         (__PTHREAD_SPINS): ... here.
6636         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6637         (__PTHREAD_SPIN): Likewise.
6638         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6639         (__PTHREAD_SPIN): Likewise.
6640         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6641         (__PTHREAD_SPIN): Likewise.
6642         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6643         (__PTHREAD_SPIN): Likewise.
6644         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6645         (__PTHREAD_SPIN): Likewise.
6646         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6647         (__PTHREAD_SPIN): Likewise.
6648         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6649         (__PTHREAD_SPIN): Likewise.
6650         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6651         (__PTHREAD_SPIN): Likewise.
6652         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6653         (__PTHREAD_SPIN): Likewise.
6654         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6655         (__PTHREAD_SPIN): Likewise.
6656         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6657         (__PTHREAD_SPIN): Likewise.
6658         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6659         (__PTHREAD_SPIN): Likewise.
6660
6661         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6662         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6663         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6664         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6665         imply folder.
6666         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6667         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6668         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6669         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6670         correct imply path.
6671         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6672         strlen symbol for non multi-arch builds.
6673         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6674         missing hidden_def and weak_alias.
6675
6676 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
6677
6678         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6679
6680 2014-04-07  Will Newton  <will.newton@linaro.org>
6681
6682         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6683         and contents.  [!_LIBC] Remove #ifndef and contents.
6684         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
6685         * string/memccpy.c (__memccpy): Use ANSI prototype.
6686         * string/memfrob.c (memfrob): Likewise.
6687         * string/strcoll.c (STRCOLL): Likewise.
6688         * string/strlen.c (strlen): Likewise.
6689         * string/strtok.c (STRTOK): Likewise.
6690         * string/strcat.c: Remove unused #include of memcopy.h.
6691         (strcat): Use ANSI prototype.
6692         * string/strchr.c: Remove unused #include of memcopy.h.
6693         (strchr): Use ANSI prototype.
6694         * string/strcmp.c: Remove unused #include of memcopy.h.
6695         (strcmp): Use ANSI prototype.
6696         * string/strcpy.c: Remove unused #include of memcopy.h.
6697         (strcpy): Use ANSI prototype.
6698
6699 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6700
6701         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6702         * config.make.in (config-extra-cppflags): Set it from
6703         libc_extra_cppflags.
6704         * configure.ac (libc_extra_cflags): Make it accumulate over
6705         configure fragments.
6706         (libc_extra_cppflags): New flag.
6707         * configure. Regenerate.
6708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6709         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6710         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
6711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6712
6713         [BZ #16815]
6714         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6715         result for FE_DOWNWARD rounding mode.
6716         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6717         Likewise.
6718         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6719
6720 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
6721
6722         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6723         in function argument name.
6724
6725 2014-04-03  David Svoboda  <svoboda@cert.org>
6726
6727         [BZ #5666]
6728         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6729         explicitly.
6730
6731 2014-04-03  Roland McGrath  <roland@hack.frob.com>
6732
6733         * elf/dl-unmap-segments.h: New file.
6734         * sysdeps/generic/ldsodefs.h
6735         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6736         * elf/dl-close.c: Include <dl-unmap-segments.h>.
6737         * elf/dl-fptr.c: Likewise.
6738         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6739         * sysdeps/aarch64/tlsdesc.c: Likewise.
6740         * sysdeps/arm/tlsdesc.c: Likewise.
6741         * sysdeps/i386/tlsdesc.c: Likewise.
6742         * sysdeps/tile/dl-runtime.c: Likewise.
6743         * sysdeps/x86_64/tlsdesc.c: Likewise.
6744         * elf/dl-load.h: New file.
6745         * elf/dl-load.c: Include it.
6746         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6747         Macros moved to dl-load.h.
6748         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6749         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6750         Use _dl_unmap_segments in place of __munmap.
6751         Break out segment-mapping loop into ...
6752         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6753
6754 2014-04-03  Will Newton  <will.newton@linaro.org>
6755
6756         * elf/dl-lookup.c (do_lookup_x): Remove comment
6757         referring to nested function and move variable
6758         declarations down to before first use.
6759
6760 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
6761
6762         [BZ #16799]
6763         [BZ #16800]
6764         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6765         with 0 numerator.
6766         * math/s_catanf.c (__catanf): Likewise.
6767         * math/s_catanh.c (__catanh): Likewise.
6768         * math/s_catanhf.c (__catanhf): Likewise.
6769         * math/s_catanhl.c (__catanhl): Likewise.
6770         * math/s_catanl.c (__catanl): Likewise.
6771         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6772         by positive zero when computing -Inf result.
6773         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6774         (catanh_test): Likewise.
6775         * sysdeps/i386/fpu/libm-test-ulps: Update.
6776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6777
6778         [BZ #16789]
6779         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6780         instead of using underflowing value in computing result.
6781         * math/s_clog10.c (__clog10): Likewise.
6782         * math/s_clog10f.c (__clog10f): Likewise.
6783         * math/s_clog10l.c (__clog10l): Likewise.
6784         * math/s_clogf.c (__clogf): Likewise.
6785         * math/s_clogl.c (__clogl): Likewise.
6786         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6787         (clog10_test): Likewise.
6788         * sysdeps/i386/fpu/libm-test-ulps: Update.
6789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6790
6791 2014-04-02  Alan Modra  <amodra@gmail.com>
6792
6793         [BZ #16739]
6794         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6795         output when value is near a power of two.  Use int64_t for lx and
6796         remove casts.  Use decimal rather than hex exponent constants.
6797         Don't use long double multiplication when double will suffice.
6798         * math/libm-test.inc (nextafter_test_data): Add tests.
6799         * NEWS: Add 16739 and 16786 to bug list.
6800
6801         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6802
6803         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6804
6805 2014-04-01  Will Newton  <will.newton@linaro.org>
6806
6807         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6808         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
6809
6810 2014-04-01  Florian Weimer  <fweimer@redhat.com>
6811
6812         [BZ #13347]
6813         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6814         * nptl/tst-setuid2.c: New file.
6815         * nptl/Makefile (xtests): Add tst-setuid2.
6816
6817 2014-04-01  Alan Modra  <amodra@gmail.com>
6818
6819         [BZ #16786]
6820         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6821
6822 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
6823
6824         [BZ #6803]
6825         [BZ #6804]
6826         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6827         set errno as appropriate.
6828         * math/w_scalbf.c (__scalbf): Likewise.
6829         * math/w_scalbl.c (__scalbl): Likewise.
6830         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6831         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6832         * math/libm-test.inc (scalb_test_data): Add errno expectations.
6833         Add more NaN tests.
6834
6835         [BZ #16349]
6836         * math/w_atan2.c: Include <errno.h>.
6837         (__atan2): Set errno for result underflowing to zero.
6838         * math/w_atan2f.c: Include <errno.h>.
6839         (__atan2f): Set errno for result underflowing to zero.
6840         * math/w_atan2l.c: Include <errno.h>.
6841         (__atan2l): Set errno for result underflowing to zero.
6842         * math/auto-libm-test-in: Don't allow missing errno for some atan2
6843         tests.
6844         * math/auto-libm-test-out: Regenerated.
6845
6846 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6847
6848         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6849         Encode instruction correctly in little endian.
6850         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6851         Likewise.
6852         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6853         Likewise.
6854         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6855         Likewise.
6856         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6857         Likewise.
6858
6859 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
6860
6861         [BZ #9894]
6862         * sysdeps/unix/sysv/linux/kernel-features.h
6863         [__sparc__ && !__arch64__ && !__sparc_v9__]
6864         (__ASSUME_SET_ROBUST_LIST): Do not define.
6865         [__sparc__ && !__arch64__ && !__sparc_v9__]
6866         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6867         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6868         Likewise.
6869         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6870         (__ASSUME_FUTEX_LOCK_PI): Undefine.
6871         (__ASSUME_REQUEUE_PI): Likewise.
6872         (__ASSUME_SET_ROBUST_LIST): Likewise.
6873         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6874         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6875         Undefine.
6876         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6877         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6878         Likewise.
6879         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6880         Likewise.
6881         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6882         Likewise.
6883         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6884         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6885         Undefine.
6886         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6887         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6888         Likewise.
6889
6890         [BZ #16648]
6891         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6892         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6893         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6894
6895 2014-03-31  Will Newton  <will.newton@linaro.org>
6896
6897         * benchtests/Makefile (bench): Add ffs and ffsll to list
6898         of tests.
6899         * benchtests/ffs-inputs: New file.
6900         * benchtests/ffsll-inputs: Likewise.
6901
6902 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
6903
6904         [BZ #16770]
6905         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6906         too large before casting to int.
6907         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6908         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6909         * math/libm-test.inc (scalb_test_data): Add more tests.
6910
6911 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6912
6913         * benchtests/Makefile (DETAILED_OPT): New make option.
6914         (bench-func): Run benchmark program with -d if DETAILED_OPT is
6915         set.
6916         * benchtests/bench-skeleton.c: Include stdbool.h.
6917         (main): Store and print timings per input.
6918         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6919         member to each argument value.
6920         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6921         (_print_arg_data): Initialize per-input timing to 0.
6922
6923         * benchtests/Makefile (timing-type): New binary.
6924         (bench-clean): Also remove bench-timing-type.
6925         (bench): New target for timing-type.
6926         (bench-func): Print output in JSON format.
6927         * benchtests/bench-skeleton.c (main): Print output in JSON
6928         format.
6929         * benchtests/bench-timing-type.c: New file.
6930         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6931         (TIMING_PRINT_STATS): Remove.
6932         * benchtests/scripts/bench.py (_print_arg_data): Store variant
6933         name separately.
6934
6935         * benchtests/bench-modf.c: Remove.
6936         * benchtests/modf-inputs: New inputs file.
6937
6938 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
6939
6940         [BZ #16362]
6941         * math/s_clog10.c (M_PI_LOG10E): New macro.
6942         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6943         imaginary parts are 0.
6944         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6945         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6946         imaginary parts are 0.
6947         * math/s_clog10l.c (M_PI_LOG10El): New macro.
6948         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6949         imaginary parts are 0.
6950         * math/libm-test.inc (clog10_test_data): Update expected results
6951         for when real and imaginary parts are 0.
6952
6953 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
6954
6955         * elf/dl-load.c: Finish conversion of __builtin_expect into
6956         __glibc_{un}likely.
6957
6958 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
6959
6960         [BZ #16348]
6961         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6962         1+x for argument with exponent below -67.
6963         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6964         Likewise.
6965         * math/auto-libm-test-in: Add more tests of exp.
6966         * math/auto-libm-test-out: Regenerated.
6967
6968 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6969
6970         [BZ #16759]
6971         * inet/getnetgrent_r.c (get_nonempty_val): New function.
6972         (nscd_getnetgrent): Use it.
6973
6974         [BZ #16760]
6975         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6976         of stpcpy.
6977
6978 2014-03-27  Andi Kleen  <ak@linux.intel.com>
6979
6980         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6981         (lll_robust_lock, lll_cond_lock, lll_timedlock)
6982         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6983         (lll_robust_unlock): Remove out of line section. Use cfi
6984         intrinsics.
6985         (LLL_STUB_UNWIND_INFO*): Remove.
6986         * nptl/sysdeps/unix/sysv/linux/i386/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
6993 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6994
6995         [BZ #16758]
6996         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6997         blank values.
6998
6999 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
7000
7001         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7002
7003 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
7004
7005         [BZ #16198]
7006         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7007         fnstenv.
7008         * math/test-fenv-preserve.c: New file.
7009         * math/Makefile (tests): Add test-fenv-preserve.
7010
7011 2014-03-26  Will Newton <will.newton@linaro.org>
7012
7013         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7014
7015 2014-03-25  Roland McGrath  <roland@hack.frob.com>
7016
7017         * scripts/versionlist.awk: Partition the version sets and emit all
7018         GLIBC_* (sorted) before all others (sorted).
7019
7020 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7021
7022         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7023         GLIBC_2.2.5 version.
7024
7025 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7026
7027         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7028         calls.
7029
7030         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7031         previous change.
7032
7033         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7034
7035 2014-03-25  Andreas Schwab  <schwab@suse.de>
7036
7037         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7038         label to be used after in6ailist is initialized.
7039
7040 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7041
7042         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7043         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7044
7045 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7046
7047         [BZ #16357]
7048         [BZ #16599]
7049         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7050         min_plus_half.
7051         (fp_formats): Update initializers.
7052         (init_fp_formats): Initialize new field.
7053         (output_for_one_input_case): Allow underflow for results up to
7054         min_plus_half.
7055         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7056         * math/auto-libm-test-in: Don't mark some underflows from asin and
7057         atanh as spurious.
7058         * math/auto-libm-test-out: Regenerated.
7059         * sysdeps/i386/fpu/libm-test-ulps: Update.
7060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7061
7062 2014-03-25  Andreas Schwab  <schwab@suse.de>
7063
7064         * libio/Makefile (tst-ftell-partial-wide-ENV)
7065         (tst-ftell-active-handler-ENV): Define.
7066
7067 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
7068
7069         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7070
7071 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7072
7073         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7074
7075 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7076
7077         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7078         * sysdeps/x86_64/fpu/multiarch/e_exp.c
7079         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7080
7081 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7082
7083         [BZ #16634]
7084         * elf/dl-load.c (open_verify): Add mode parameter.
7085         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7086         (open_path): Change from boolean 'secure' to complete flag 'mode'
7087         (_dl_map_object): Adjust.
7088         * elf/Makefile (tests): Add tst-dlopen-aout.
7089         * elf/tst-dlopen-aout.c: New test.
7090
7091 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
7092
7093         [BZ #16714]
7094         * sysdeps/unix/sysv/linux/s390/bits/stat.h
7095         (struct stat): Rename member pad0 to __glibc_reserved0.
7096
7097         [BZ #16712]
7098         * sysdeps/s390/s390-32/bits/wordsize.h
7099         (__WORDSIZE32_SIZE_ULONG): New define.
7100         * sysdeps/s390/s390-64/bits/wordsize.h
7101         (__WORDSIZE32_SIZE_ULONG): Likewise.
7102         * sysdeps/generic/stdint.h (SIZE_MAX):
7103         Define as UL if __WORDSIZE32_SIZE_ULONG.
7104
7105         [BZ #16713]
7106         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7107         (__glibc_reserved0): New variable.
7108         (sa_flags): Change type to int.
7109
7110         * posix/Makefile (before-compile): Use += before-compile instead
7111         of a :=.
7112
7113         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7114         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7115
7116 2014-03-20  Andreas Schwab  <schwab@suse.de>
7117
7118         [BZ #16743]
7119         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7120         non-matching result from nscd.
7121
7122 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7123
7124         * scripts/bench.py: Moved to ...
7125         * benchtests/scripts/bench.py: ... here.
7126         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7127
7128 2014-03-24  Andreas Schwab  <schwab@suse.de>
7129
7130         [BZ #16002]
7131         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7132         alloca_account and account alloca use for struct in6ailist.
7133
7134 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7135
7136         [BZ #16284]
7137         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7138         rounding mode to recompute results that overflow to infinity or
7139         underflow to zero.
7140         * math/auto-libm-test-in: Don't mark tests as expected to fail for
7141         bug 16284.
7142         * math/auto-libm-test-out: Regenerated.
7143         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7144         (ccosh_test): Likewise.
7145         (csin_test_data): Use plus_oflow.
7146         (csin_test): Use ALL_RM_TEST.
7147         (csinh_test_data): Use plus_oflow.
7148         (csinh_test): Use ALL_RM_TEST.
7149         * sysdeps/i386/fpu/libm-test-ulps: Update.
7150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7151
7152 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
7153
7154         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7155         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7156         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7157
7158         [BZ #16731]
7159         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7160         when x - 1 is zero.
7161         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7162         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7163         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7164         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7165         argument is 1.
7166         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7167         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7168         zero.
7169         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7170         * sysdeps/i386/fpu/libm-test-ulps: Update.
7171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7172
7173 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7174
7175         * scripts/bench.pl: Remove file.
7176         * scripts/bench.py: New benchmark script.
7177         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7178         * benchtests/README: Mention python dependency.
7179         * scripts/pylintrc: New file.
7180         * scripts/pylint: New file.
7181
7182         * bits/mathdef.h: Use #ifdef instead of #if.
7183         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7184         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7185         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7186         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7187         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7188         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7189
7190 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7191             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7192
7193         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7194         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7195         and strpbrk-ppc64 objects.
7196         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7197         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7198         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7199         multiarch strpbrk for POWER7.
7200         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7201         multiarch strpbrk for PPC64.
7202         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7203         ifunc selector.
7204         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7205         strpbrk for POWER7.
7206
7207 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7208
7209         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7210         (atan_test): Likewise.
7211         (atanh_test_data): Use NO_TEST_INLINE for two tests.
7212         (atanh_test): Use ALL_RM_TEST.
7213         (atan2_test_data): Likewise.
7214         (cabs_test): Likewise.
7215         (cacosh_test): Likewise.
7216         (carg_test): Likewise.
7217         (casin_test): Likewise.
7218         (casinh_test): Likewise.
7219         (cbrt_test): Likewise.
7220         (csqrt_test): Likewise.
7221         (erf_test): Likewise.
7222         (erfc_test): Likewise.
7223         (pow10_test): Likewise.
7224         (exp2_test): Likewise.
7225         (hypot_test): Likewise.
7226         (j0_test): Likewise.
7227         (j1_test): Likewise.
7228         (lgamma_test): Likewise.
7229         (gamma_test): Likewise.
7230         (sincos_test): Likewise.
7231         (tanh_test): Likewise.
7232         (y0_test): Likewise.
7233         (y1_test): Likewise.
7234         * sysdeps/i386/fpu/libm-test-ulps: Update.
7235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7236
7237 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7238
7239         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7240         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7241         and strcspn-ppc64 objects.
7242         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7243         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7244         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7245         multiarch strcspn for POWER7.
7246         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7247         multiarch strcspn for PPC64.
7248         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7249         ifunc selector.
7250         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7251         strcspn for POWER7.
7252
7253 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7254
7255         * math/gen-libm-test.pl (generate_testfile): Expect only function
7256         name as argument to AUTO_TESTS_* and pass results for all rounding
7257         modes to parse_args.
7258         (parse_auto_input): Separate inputs of automatic tests from
7259         outputs before storing in %auto_tests.
7260         * math/libm-test.inc (acos_test_data): Update call to
7261         AUTO_TESTS_f_f.
7262         (acos_test): Use ALL_RM_TEST.
7263         (acos_tonearest_test_data): Remove.
7264         (acos_test_tonearest): Likewise.
7265         (acos_towardzero_test_data): Likewise.
7266         (acos_test_towardzero): Likewise.
7267         (acos_downward_test_data): Likewise.
7268         (acos_test_downward): Likewise.
7269         (acos_upward_test_data): Likewise.
7270         (acos_test_upward): Likewise.
7271         (acosh_test_data): Update call to AUTO_TESTS_f_f.
7272         (asin_test_data): Likewise.
7273         (asin_test): Use ALL_RM_TEST.
7274         (asin_tonearest_test_data): Remove.
7275         (asin_test_tonearest): Likewise.
7276         (asin_towardzero_test_data): Likewise.
7277         (asin_test_towardzero): Likewise.
7278         (asin_downward_test_data): Likewise.
7279         (asin_test_downward): Likewise.
7280         (asin_upward_test_data): Likewise.
7281         (asin_test_upward): Likewise.
7282         (asinh_test_data): Update call to AUTO_TESTS_f_f.
7283         (atan_test_data): Likewise.
7284         (atanh_test_data): Likewise.
7285         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7286         (cabs_test_data): Update call to AUTO_TESTS_c_f.
7287         (carg_test_data): Likewise.
7288         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7289         (ccos_test_data): Update call to AUTO_TESTS_c_c.
7290         (ccosh_test_data): Likewise.
7291         (cexp_test_data): Likewise.
7292         (clog_test_data): Likewise.
7293         (clog10_test_data): Likewise.
7294         (cos_test_data): Update call to AUTO_TESTS_f_f.
7295         (cos_test): Use ALL_RM_TEST.
7296         (cos_tonearest_test_data): Remove.
7297         (cos_test_tonearest): Likewise.
7298         (cos_towardzero_test_data): Likewise.
7299         (cos_test_towardzero): Likewise.
7300         (cos_downward_test_data): Likewise.
7301         (cos_test_downward): Likewise.
7302         (cos_upward_test_data): Likewise.
7303         (cos_test_upward): Likewise.
7304         (cosh_test_data): Update call to AUTO_TESTS_f_f.
7305         (cosh_test): Use ALL_RM_TEST.
7306         (cosh_tonearest_test_data): Remove.
7307         (cosh_test_tonearest): Likewise.
7308         (cosh_towardzero_test_data): Likewise.
7309         (cosh_test_towardzero): Likewise.
7310         (cosh_downward_test_data): Likewise.
7311         (cosh_test_downward): Likewise.
7312         (cosh_upward_test_data): Likewise.
7313         (cosh_test_upward): Likewise.
7314         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7315         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7316         (ctan_test_data): Likewise.
7317         (ctan_test): Use ALL_RM_TEST.
7318         (ctan_tonearest_test_data): Remove.
7319         (ctan_test_tonearest): Likewise.
7320         (ctan_towardzero_test_data): Likewise.
7321         (ctan_test_towardzero): Likewise.
7322         (ctan_downward_test_data): Likewise.
7323         (ctan_test_downward): Likewise.
7324         (ctan_upward_test_data): Likewise.
7325         (ctan_test_upward): Likewise.
7326         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7327         (ctanh_test): Use ALL_RM_TEST.
7328         (ctanh_tonearest_test_data): Remove.
7329         (ctanh_test_tonearest): Likewise.
7330         (ctanh_towardzero_test_data): Likewise.
7331         (ctanh_test_towardzero): Likewise.
7332         (ctanh_downward_test_data): Likewise.
7333         (ctanh_test_downward): Likewise.
7334         (ctanh_upward_test_data): Likewise.
7335         (ctanh_test_upward): Likewise.
7336         (erf_test_data): Update call to AUTO_TESTS_f_f.
7337         (erfc_test_data): Likewise.
7338         (exp_test_data): Likewise.
7339         (exp_test): Use ALL_RM_TEST.
7340         (exp_tonearest_test_data): Remove.
7341         (exp_test_tonearest): Likewise.
7342         (exp_towardzero_test_data): Likewise.
7343         (exp_test_towardzero): Likewise.
7344         (exp_downward_test_data): Likewise.
7345         (exp_test_downward): Likewise.
7346         (exp_upward_test_data): Likewise.
7347         (exp_test_upward): Likewise.
7348         (exp10_test_data): Update call to AUTO_TESTS_f_f.
7349         (exp10_test): Use ALL_RM_TEST.
7350         (exp10_tonearest_test_data): Remove.
7351         (exp10_test_tonearest): Likewise.
7352         (exp10_towardzero_test_data): Likewise.
7353         (exp10_test_towardzero): Likewise.
7354         (exp10_downward_test_data): Likewise.
7355         (exp10_test_downward): Likewise.
7356         (exp10_upward_test_data): Likewise.
7357         (exp10_test_upward): Likewise.
7358         (exp2_test_data): Update call to AUTO_TESTS_f_f.
7359         (expm1_test_data): Likewise.
7360         (expm1_test): Use ALL_RM_TEST.
7361         (expm1_tonearest_test_data): Remove.
7362         (expm1_test_tonearest): Likewise.
7363         (expm1_towardzero_test_data): Likewise.
7364         (expm1_test_towardzero): Likewise.
7365         (expm1_downward_test_data): Likewise.
7366         (expm1_test_downward): Likewise.
7367         (expm1_upward_test_data): Likewise.
7368         (expm1_test_upward): Likewise.
7369         (fma_test_data): Update call to AUTO_TESTS_fff_f.
7370         (fma_test): Use ALL_RM_TEST.
7371         (fma_towardzero_test_data): Remove.
7372         (fma_test_towardzero): Likewise.
7373         (fma_downward_test_data): Likewise.
7374         (fma_test_downward): Likewise.
7375         (fma_upward_test_data): Likewise.
7376         (fma_test_upward): Likewise.
7377         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7378         (j0_test_data): Update call to AUTO_TESTS_f_f.
7379         (j1_test_data): Likewise.
7380         (jn_test_data): Update call to AUTO_TESTS_if_f.
7381         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7382         (log_test_data): Update call to AUTO_TESTS_f_f.
7383         (log10_test_data): Likewise.
7384         (log1p_test_data): Likewise.
7385         (log2_test_data): Likewise.
7386         (pow_test_data): Update call to AUTO_TESTS_ff_f.
7387         (pow_tonearest_test_data): Likewise.
7388         (sin_test_data): Update call to AUTO_TESTS_f_f.
7389         (sin_test): Use ALL_RM_TEST.
7390         (sin_tonearest_test_data): Remove.
7391         (sin_test_tonearest): Likewise.
7392         (sin_towardzero_test_data): Likewise.
7393         (sin_test_towardzero): Likewise.
7394         (sin_downward_test_data): Likewise.
7395         (sin_test_downward): Likewise.
7396         (sin_upward_test_data): Likewise.
7397         (sin_test_upward): Likewise.
7398         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7399         (sinh_test_data): Update call to AUTO_TESTS_f_f.
7400         (sinh_test): Use ALL_RM_TEST.
7401         (sinh_tonearest_test_data): Remove.
7402         (sinh_test_tonearest): Likewise.
7403         (sinh_towardzero_test_data): Likewise.
7404         (sinh_test_towardzero): Likewise.
7405         (sinh_downward_test_data): Likewise.
7406         (sinh_test_downward): Likewise.
7407         (sinh_upward_test_data): Likewise.
7408         (sinh_test_upward): Likewise.
7409         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7410         (sqrt_test): Use ALL_RM_TEST.
7411         (sqrt_tonearest_test_data): Remove.
7412         (sqrt_test_tonearest): Likewise.
7413         (sqrt_towardzero_test_data): Likewise.
7414         (sqrt_test_towardzero): Likewise.
7415         (sqrt_downward_test_data): Likewise.
7416         (sqrt_test_downward): Likewise.
7417         (sqrt_upward_test_data): Likewise.
7418         (sqrt_test_upward): Likewise.
7419         (tan_test_data): Update call to AUTO_TESTS_f_f.
7420         (tan_test): Use ALL_RM_TEST.
7421         (tan_tonearest_test_data): Remove.
7422         (tan_test_tonearest): Likewise.
7423         (tan_towardzero_test_data): Likewise.
7424         (tan_test_towardzero): Likewise.
7425         (tan_downward_test_data): Likewise.
7426         (tan_test_downward): Likewise.
7427         (tan_upward_test_data): Likewise.
7428         (tan_test_upward): Likewise.
7429         (tanh_test_data): Update call to AUTO_TESTS_f_f.
7430         (tgamma_test_data): Likewise.
7431         (y0_test_data): Likewise.
7432         (y1_test_data): Likewise.
7433         (yn_test_data): Update call to AUTO_TESTS_if_f.
7434         (main): Do not call removed functions.
7435
7436 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
7437
7438         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7439         (ldexp_test_data): Remove.
7440         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
7441         scalbn_test_data.
7442         (scalb_test): Use ALL_RM_TEST.
7443
7444 2014-03-19  Andreas Schwab  <schwab@suse.de>
7445
7446         * nscd/nscd.service: Also invalidate netgroup cache on reload.
7447
7448 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
7449
7450         [BZ #16649]
7451         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7452         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7453         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7454         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7455         (__ASSUME_PREADV): Undefine.
7456         (__ASSUME_PWRITEV): Likewise.
7457
7458 2014-03-18  Roland McGrath  <roland@hack.frob.com>
7459
7460         * bits/mman-linux.h: Add comment about non-Linux use.
7461         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7462         bits/mman-linux.h resting place.
7463
7464         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7465         * bits/mman-linux.h: ... here.
7466
7467 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7468
7469         * conform/conformtest.pl: Add standard definition when calling C
7470         preprocessor on data files.
7471         (checknamespace): Remove unused variable.
7472
7473 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
7474
7475         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7476         minus_oflow, plus_uflow and minus_uflow in expected results.
7477         * math/libm-test.inc (scalbn_test_data): Add more tests of
7478         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
7479         minus_uflow.
7480         (scalbn_test): Use ALL_RM_TEST.
7481         (scalbln_test_data): Add more tests of negative arguments.  Use
7482         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7483         (scalbln_test): Use ALL_RM_TEST.
7484
7485 2014-03-18  Roland McGrath  <roland@hack.frob.com>
7486
7487         * scripts/abilist.awk: Ignore symbols marked with .hidden.
7488
7489 2014-03-18  Will Newton  <will.newton@linaro.org>
7490
7491         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7492         inaccurate comment.
7493
7494 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
7495
7496         * Makerules [!subdir] (check-abi): Exit with error status if a
7497         test failed.
7498
7499 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
7500
7501         * math/libm-test.inc (nearbyint_test_data): Include all tests used
7502         for rint.  Include results for all rounding modes.
7503         (nearbyint_test): Use ALL_RM_TEST.
7504         (rint_test_data): Include all tests used for nearbyint.
7505
7506 2014-03-17  Will Newton  <will.newton@linaro.org>
7507
7508         * nptl/sysdeps/pthread/pthread.h: Revert previous
7509         change.
7510
7511         * sysdeps/generic/ldsodefs.h: Revert previous
7512         change.
7513
7514         * libio/genops.c: Revert previous change.
7515         * libio/libioP.h: Likewise.
7516         * stdio-common/vfprintf.c: Likewise.
7517
7518         * sysdeps/generic/math_private.h: Revert previous
7519         change.
7520
7521         * sysdeps/generic/math_private.h: Check whether
7522         HAVE_RM_CTX is defined with #ifdef rather
7523         than #if.
7524
7525         * argp/argp-fmtstream.h: Check whether
7526         __STRICT_ANSI__ is defined with #ifdef rather
7527         than #if.
7528         * argp/argp.h: Likewise.
7529
7530         * libio/genops.c: Check whether
7531         _IO_JUMPS_OFFSET is defined with #ifdef rather
7532         than #if.
7533         * libio/libioP.h: Likewise.
7534         * stdio-common/vfprintf.c: Likewise.
7535
7536         * sysdeps/generic/ldsodefs.h: Check whether
7537         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7538         than #if.
7539
7540         * nptl/sysdeps/pthread/pthread.h: Check
7541         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7542         its value.
7543
7544 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7545
7546         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7547         setting O_APPEND.
7548         * libio/tst-ftell-active-handler.c (do_append_test): Add a
7549         test case.
7550
7551         [BZ #16680]
7552         * libio/fileops.c (_IO_file_open): Seek to end of file but
7553         don't cache the offset.
7554         (get_file_offset): Remove function.
7555         (do_ftell): Use cached offset when available.
7556         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7557         don't cache the offset.
7558         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7559         case.
7560         (do_one_test): Call it.
7561         (do_ftell_test): Fix up expected old offset for a+ mode.
7562         * libio/wfileops.c (do_ftell_wide): Used cached offset when
7563         available.
7564
7565         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7566         up test status with function return status.
7567         (do_write_test): Likewise.
7568         (do_append_test): Likewise.
7569
7570         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7571         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7572         Remove.
7573
7574 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
7575
7576         * math/gen-libm-test.pl (parse_args): Handle results specified for
7577         each rounding mode separately.
7578         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7579         tests and results from lrint_tonearest_test_data,
7580         lrint_towardzero_test_data, lrint_downward_test_data and
7581         lrint_upward_test_data.
7582         (lrint_test): Use ALL_RM_TEST.
7583         (lrint_tonearest_test_data): Remove.
7584         (lrint_test_tonearest): Likewise.
7585         (lrint_towardzero_test_data): Likewise.
7586         (lrint_test_towardzero): Likewise.
7587         (lrint_downward_test_data): Likewise.
7588         (lrint_test_downward): Likewise.
7589         (lrint_upward_test_data): Likewise.
7590         (lrint_test_upward): Likewise.
7591         (llrint_test_data): Merge in per-rounding-mode tests and results
7592         from llrint_tonearest_test_data, llrint_towardzero_test_data,
7593         llrint_downward_test_data and llrint_upward_test_data.
7594         (llrint_test): Use ALL_RM_TEST.
7595         (llrint_tonearest_test_data): Remove.
7596         (llrint_test_tonearest): Likewise.
7597         (llrint_towardzero_test_data): Likewise.
7598         (llrint_test_towardzero): Likewise.
7599         (llrint_downward_test_data): Likewise.
7600         (llrint_test_downward): Likewise.
7601         (llrint_upward_test_data): Likewise.
7602         (llrint_test_upward): Likewise.
7603         (rint_test_data): Merge in per-rounding-mode tests and results
7604         from rint_tonearest_test_data, rint_towardzero_test_data,
7605         rint_downward_test_data and rint_upward_test_data.  Add
7606         per-rounding-mode results for tests not in those arrays.
7607         (rint_test): Use ALL_RM_TEST.
7608         (rint_tonearest_test_data): Remove.
7609         (rint_test_tonearest): Likewise.
7610         (rint_towardzero_test_data): Likewise.
7611         (rint_test_towardzero): Likewise.
7612         (rint_downward_test_data): Likewise.
7613         (rint_test_downward): Likewise.
7614         (rint_upward_test_data): Likewise.
7615         (rint_test_upward): Likewise.
7616         (main): Don't call removed functions.
7617
7618 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7619
7620         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7621         "Compiled on ..." crapola.  It is anti-useful.
7622
7623 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
7624
7625         * scripts/evaluate-test.sh: Handle fourth argument to determine
7626         whether test run should stop on failure.
7627         * Makeconfig (stop-on-test-failure): New variable.
7628         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7629         $(stop-on-test-failure).
7630         * Makefile (tests): Give a summary of results from testing and
7631         exit with failure status if they include an ERROR or FAIL.
7632         (xtests): Likewise.
7633         * manual/install.texi (Configuring and compiling): Mention
7634         stop-on-test-failure=y.
7635         * INSTALL: Regenerated.
7636
7637 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7638
7639         * scripts/versionlist.awk: New file.
7640         * Makerules [$(build-shared) = yes]
7641         (postclean-generated): Add Versions.def, not Versions.def.v and
7642         Versions.def.v.i.
7643         ($(common-objpfx)Versions.def.v.i): Target removed.
7644         ($(common-objpfx)Versions.def): New target.
7645         ($(common-objpfx)Versions.all): Depend on that rather that
7646         $(common-objpfx)Versions.def.v.
7647         * Versions.def: File removed.
7648
7649         * Makeconfig (+gccwarn): Add -Wundef.
7650         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7651         a dl-sysdep.h breaking its contract.
7652         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7653         * include/stackinfo.h: New file.
7654         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7655         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7656         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7657         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7658         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7659         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7660         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7661         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7662         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7663         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7664         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7665         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7666         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7667         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7668         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7669
7670 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7671
7672         [BZ #16707]
7673         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7674         implementation.
7675         * math/libm-test.inc (round_test_data): Add more tests.
7676
7677         [BZ #16706]
7678         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7679         implementation.
7680         * math/libm-test.inc (nearbyint_test_data): Add more tests.
7681
7682         [BZ #16701]
7683         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7684         implementation.
7685         * math/libm-test.inc (ceil_test_data): Add more tests.
7686
7687         * math/libm-test.inc (trunc_test_data): Add more tests related to
7688         BZ#16414.
7689
7690 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7691
7692         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7693         with #if rather than #ifdef.
7694         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7695
7696 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
7697
7698         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7699         first.  Disable AVX-512 GCC support if assembler doesn't support
7700         it.
7701         * sysdeps/x86_64/configure: Regenerated.
7702
7703 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
7704
7705         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7706         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7707         (__old_pthread_attr_setstack): Likewise.
7708         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7709         [!_STACK_GROWS_DOWN]: Likewise.
7710
7711 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
7712
7713         * config.make.in (have-bash2): Delete.
7714         * configure.ac (libc_cv_have_bash2): Delete.
7715         * configure: Regenerate.
7716         * elf/Makefile (common-ldd-rewrite): Rename to ...
7717         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
7718         (sh-ldd-rewrite): Delete.
7719         (bash-ldd-rewrite): Delete.
7720         (have-bash2): Delete checks.
7721         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7722         ldd-rewrite.
7723
7724         * config.make.in (have-ksh): Delete.
7725         (KSH): Delete.
7726         * configure.ac (libc_cv_have_ksh): Delete.
7727         * configure: Regenerate.
7728
7729         * elf/Makefile: Delete $(have-ksh) check.
7730         ($(objpfx)sotruss): Change KSH to BASH.
7731         * elf/sotruss.ksh: Rename to ...
7732         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
7733         function style to match POSIX.  Drop ksh vim mode setting.
7734
7735         * manual/time.texi (Specifying the Time Zone with TZ): Change
7736         Tuesday to Thursday.
7737
7738         * debug/tst-longjmp_chk2.c: Update header comment.
7739         (stackoverflow_handler): Add comment.  Call assert on pass value.
7740
7741 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
7742
7743         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7744         (HAVE_AVX512_ASM_SUPPORT): Likewise.
7745         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7746         (La_x86_64_vector): Add zmm.
7747         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7748         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7749         ($(objpfx)tst-audit10): New target.
7750         ($(objpfx)tst-audit10.out): Likewise.
7751         (tst-audit10-ENV): New.
7752         (AVX512-CFLAGS): Likewise.
7753         (CFLAGS-tst-audit10.c): Likewise.
7754         (CFLAGS-tst-auditmod10a.c): Likewise.
7755         (CFLAGS-tst-auditmod10b.c): Likewise.
7756         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7757         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7758         * sysdeps/x86_64/configure: Regenerated.
7759         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7760         AVX-512 zmm register support.
7761         (_dl_x86_64_save_sse): Likewise.
7762         (_dl_x86_64_restore_sse): Likewise.
7763         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7764         size vector registers.
7765         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7766         (ZMM_SIZE): Likewise.
7767         * sysdeps/x86_64/tst-audit10.c: New file.
7768         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7769         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7770
7771 2014-03-13  Roland McGrath  <roland@hack.frob.com>
7772
7773         * configure.ac (HAVE_EHDR_START): New check.
7774         * configure: Regenerated.
7775         * config.h.in (HAVE_EHDR_START): New #undef.
7776         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7777         assuming the lowest-addressed segment maps the start of the file.
7778
7779 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
7780
7781         * INSTALL: Regenerated.
7782
7783 2014-03-13  Will Newton  <will.newton@linaro.org>
7784
7785         * manual/setjmp.texi (System V contexts): Improve
7786         clarity and grammar of documentation.
7787
7788 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
7789
7790         [BZ #16381]
7791         * elf/Makefile (tests): Add tst-pie2.
7792         (tests-pie): Add tst-pie2.
7793         * elf/tst-pie2.c: New file.
7794         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7795         for ET_EXEC.
7796         * elf/rtld.c (map_doit): Load executable as lt_executable.
7797         (dl_main): Likewise.
7798
7799 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
7800
7801         [BZ #16642]
7802         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7803         (__ASSUME_PSELECT): Undefine.
7804
7805 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7806
7807         [BZ #16689]
7808         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7809         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7810         static build.
7811         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7812         selector for static builds.
7813
7814 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7815
7816         [BZ #16695]
7817         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7818         key in the buffer.
7819
7820 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7821
7822         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7823         IFUNC selector for static builds.
7824
7825 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
7826
7827         * sysdeps/mips/math_private.h [__mips_hard_float]
7828         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7829         libc_feresetround_mips_ctx.
7830         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7831         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7832         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7833
7834         [BZ #16677]
7835         * math/s_nextafter.c (__nextafter): Do not return value from
7836         overflowing computation.
7837         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7838         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7839         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7840         Likewise.
7841         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7842         Likewise.
7843         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7844         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7845
7846 2014-03-11  Roland McGrath  <roland@hack.frob.com>
7847
7848         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7849         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7850         Move sfi_sp use from the load-multiple (that no longer sets sp) to
7851         the new mov targetting sp.
7852
7853 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7854
7855         [BZ #16683]
7856         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7857         Define it for static builds as well.
7858         (NO_BZERO_IMPL): Likewise.
7859
7860 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7861
7862         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7863         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7864         multiarch strspn for PPC64.
7865         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7866         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7867         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7868         (__libc_ifunc_impl_list): Likewise.
7869         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7870         multiarch optimizations
7871         * string/strspn.c (strspn): Using macro to redefine symbol name.
7872
7873 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7874             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7875
7876         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7877         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7878         multiarch strncat for PPC64.
7879         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7880         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7881         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7882         (__libc_ifunc_impl_list): Likewise.
7883         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7884         multiarch optimizations
7885
7886 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7887
7888         [BZ #16639]
7889         * nscd/nscd.service: Make service type forking.
7890
7891 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7892
7893         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7894         sign in non default rounding modes.
7895         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7896
7897 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
7898
7899         * math/libm-test.inc (ALL_RM_TEST): New macro.
7900         (ceil_test): Use ALL_RM_TEST.
7901         (cimag_test): Likewise.
7902         (conj_test): Likewise.
7903         (copysign_test): Likewise.
7904         (cproj_test): Likewise.
7905         (creal_test): Likewise.
7906         (fabs_test): Likewise.
7907         (floor_test): Likewise.
7908         (fmax_test): Likewise.
7909         (fmin_test): Likewise.
7910         (fmod_test): Likewise.
7911         (fpclassify_test): Likewise.
7912         (frexp_test): Likewise.
7913         (ilogb_test): Likewise.
7914         (isfinite_test): Likewise.
7915         (finite_test): Likewise.
7916         (isgreater_test): Likewise.
7917         (isgreaterequal_test): Likewise.
7918         (isinf_test): Likewise.
7919         (isless_test): Likewise.
7920         (islessequal_test): Likewise.
7921         (islessgreater_test): Likewise.
7922         (isnan_test): Likewise.
7923         (isnormal_test): Likewise.
7924         (issignaling_test): Likewise.
7925         (isunordered_test): Likewise.
7926         (logb_test): Likewise.
7927         (logb_downward_test_data): Remove.
7928         (logb_test_downward): Likewise.
7929         (lround_test): Use ALL_RM_TEST.
7930         (llround_test): Likewise.
7931         (modf_test): Likewise.
7932         (nexttoward_test): Likewise.
7933         (remainder_test): Likewise.
7934         (drem_test): Likewise.
7935         (remainder_tonearest_test_data): Likewise.
7936         (remainder_test_tonearest): Likewise.
7937         (drem_test_tonearest): Likewise.
7938         (remainder_towardzero_test_data): Likewise.
7939         (remainder_test_towardzero): Likewise.
7940         (drem_test_towardzero): Likewise.
7941         (remainder_downward_test_data): Likewise.
7942         (remainder_test_downward): Likewise.
7943         (drem_test_downward): Likewise.
7944         (remainder_upward_test_data): Likewise.
7945         (remainder_test_upward): Likewise.
7946         (drem_test_upward): Likewise.
7947         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
7948         (round_test): Use ALL_RM_TEST.
7949         (signbit_test): Likewise.
7950         (trunc_test): Likewise.
7951         (significand_test): Likewise.
7952         (main): Don't call removed functions.
7953
7954 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
7955
7956         [BZ #16674]
7957         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7958         || __USE_XOPEN2K8].
7959         (ILL_ILLOPN): Likewise.
7960         (ILL_ILLADR): Likewise.
7961         (ILL_ILLTRP): Likewise.
7962         (ILL_PRVOPC): Likewise.
7963         (ILL_PRVREG): Likewise.
7964         (ILL_COPROC): Likewise.
7965         (ILL_BADSTK): Likewise.
7966         (FPE_INTDIV): Likewise.
7967         (FPE_INTOVF): Likewise.
7968         (FPE_FLTDIV): Likewise.
7969         (FPE_FLTOVF): Likewise.
7970         (FPE_FLTUND): Likewise.
7971         (FPE_FLTRES): Likewise.
7972         (FPE_FLTINV): Likewise.
7973         (FPE_FLTSUB): Likewise.
7974         (SEGV_MAPERR): Likewise.
7975         (SEGV_ACCERR): Likewise.
7976         (BUS_ADRALN): Likewise.
7977         (BUS_ADRERR): Likewise.
7978         (BUS_OBJERR): Likewise.
7979         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7980         (TRAP_TRACE): Likewise.
7981         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7982         __USE_XOPEN2K8].
7983         (CLD_KILLED): Likewise.
7984         (CLD_DUMPED): Likewise.
7985         (CLD_TRAPPED): Likewise.
7986         (CLD_STOPPED): Likewise.
7987         (CLD_CONTINUED): Likewise.
7988         (POLL_IN): Likewise.
7989         (POLL_OUT): Likewise.
7990         (POLL_MSG): Likewise.
7991         (POLL_ERR): Likewise.
7992         (POLL_PRI): Likewise.
7993         (POLL_HUP): Likewise.
7994         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7995         Likewise.
7996         (ILL_ILLOPN): Likewise.
7997         (ILL_ILLADR): Likewise.
7998         (ILL_ILLTRP): Likewise.
7999         (ILL_PRVOPC): Likewise.
8000         (ILL_PRVREG): Likewise.
8001         (ILL_COPROC): Likewise.
8002         (ILL_BADSTK): Likewise.
8003         (FPE_INTDIV): Likewise.
8004         (FPE_INTOVF): Likewise.
8005         (FPE_FLTDIV): Likewise.
8006         (FPE_FLTOVF): Likewise.
8007         (FPE_FLTUND): Likewise.
8008         (FPE_FLTRES): Likewise.
8009         (FPE_FLTINV): Likewise.
8010         (FPE_FLTSUB): Likewise.
8011         (SEGV_MAPERR): Likewise.
8012         (SEGV_ACCERR): Likewise.
8013         (BUS_ADRALN): Likewise.
8014         (BUS_ADRERR): Likewise.
8015         (BUS_OBJERR): Likewise.
8016         (BUS_MCEERR_AR): Likewise.
8017         (BUS_MCEERR_AO): Likewise.
8018         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8019         (TRAP_TRACE): Likewise.
8020         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8021         __USE_XOPEN2K8].
8022         (CLD_KILLED): Likewise.
8023         (CLD_DUMPED): Likewise.
8024         (CLD_TRAPPED): Likewise.
8025         (CLD_STOPPED): Likewise.
8026         (CLD_CONTINUED): Likewise.
8027         (POLL_IN): Likewise.
8028         (POLL_OUT): Likewise.
8029         (POLL_MSG): Likewise.
8030         (POLL_ERR): Likewise.
8031         (POLL_PRI): Likewise.
8032         (POLL_HUP): Likewise.
8033         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8034         (ILL_ILLOPN): Likewise.
8035         (ILL_ILLADR): Likewise.
8036         (ILL_ILLTRP): Likewise.
8037         (ILL_PRVOPC): Likewise.
8038         (ILL_PRVREG): Likewise.
8039         (ILL_COPROC): Likewise.
8040         (ILL_BADSTK): Likewise.
8041         (FPE_INTDIV): Likewise.
8042         (FPE_INTOVF): Likewise.
8043         (FPE_FLTDIV): Likewise.
8044         (FPE_FLTOVF): Likewise.
8045         (FPE_FLTUND): Likewise.
8046         (FPE_FLTRES): Likewise.
8047         (FPE_FLTINV): Likewise.
8048         (FPE_FLTSUB): Likewise.
8049         (SEGV_MAPERR): Likewise.
8050         (SEGV_ACCERR): Likewise.
8051         (BUS_ADRALN): Likewise.
8052         (BUS_ADRERR): Likewise.
8053         (BUS_OBJERR): Likewise.
8054         (BUS_MCEERR_AR): Likewise.
8055         (BUS_MCEERR_AO): Likewise.
8056         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8057         (TRAP_TRACE): Likewise.
8058         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8059         __USE_XOPEN2K8].
8060         (CLD_KILLED): Likewise.
8061         (CLD_DUMPED): Likewise.
8062         (CLD_TRAPPED): Likewise.
8063         (CLD_STOPPED): Likewise.
8064         (CLD_CONTINUED): Likewise.
8065         (POLL_IN): Likewise.
8066         (POLL_OUT): Likewise.
8067         (POLL_MSG): Likewise.
8068         (POLL_ERR): Likewise.
8069         (POLL_PRI): Likewise.
8070         (POLL_HUP): Likewise.
8071         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8072         Likewise.
8073         (ILL_ILLOPN): Likewise.
8074         (ILL_ILLADR): Likewise.
8075         (ILL_ILLTRP): Likewise.
8076         (ILL_PRVOPC): Likewise.
8077         (ILL_PRVREG): Likewise.
8078         (ILL_COPROC): Likewise.
8079         (ILL_BADSTK): Likewise.
8080         (ILL_BADIADDR): Likewise.
8081         (ILL_BREAK): Likewise.
8082         (FPE_INTDIV): Likewise.
8083         (FPE_INTOVF): Likewise.
8084         (FPE_FLTDIV): Likewise.
8085         (FPE_FLTOVF): Likewise.
8086         (FPE_FLTUND): Likewise.
8087         (FPE_FLTRES): Likewise.
8088         (FPE_FLTINV): Likewise.
8089         (FPE_FLTSUB): Likewise.
8090         (FPE_DECOVF): Likewise.
8091         (FPE_DECDIV): Likewise.
8092         (FPE_DECERR): Likewise.
8093         (FPE_INVASC): Likewise.
8094         (FPE_INVDEC): Likewise.
8095         (SEGV_MAPERR): Likewise.
8096         (SEGV_ACCERR): Likewise.
8097         (SEGV_PSTKOVF): Likewise.
8098         (BUS_ADRALN): Likewise.
8099         (BUS_ADRERR): Likewise.
8100         (BUS_OBJERR): Likewise.
8101         (BUS_MCEERR_AR): Likewise.
8102         (BUS_MCEERR_AO): Likewise.
8103         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8104         (TRAP_TRACE): Likewise.
8105         (TRAP_BRANCH): Likewise.
8106         (TRAP_HWBKPT): Likewise.
8107         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8108         __USE_XOPEN2K8].
8109         (CLD_KILLED): Likewise.
8110         (CLD_DUMPED): Likewise.
8111         (CLD_TRAPPED): Likewise.
8112         (CLD_STOPPED): Likewise.
8113         (CLD_CONTINUED): Likewise.
8114         (POLL_IN): Likewise.
8115         (POLL_OUT): Likewise.
8116         (POLL_MSG): Likewise.
8117         (POLL_ERR): Likewise.
8118         (POLL_PRI): Likewise.
8119         (POLL_HUP): Likewise.
8120         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8121         (ILL_ILLOPN): Likewise.
8122         (ILL_ILLADR): Likewise.
8123         (ILL_ILLTRP): Likewise.
8124         (ILL_PRVOPC): Likewise.
8125         (ILL_PRVREG): Likewise.
8126         (ILL_COPROC): Likewise.
8127         (ILL_BADSTK): Likewise.
8128         (FPE_INTDIV): Likewise.
8129         (FPE_INTOVF): Likewise.
8130         (FPE_FLTDIV): Likewise.
8131         (FPE_FLTOVF): Likewise.
8132         (FPE_FLTUND): Likewise.
8133         (FPE_FLTRES): Likewise.
8134         (FPE_FLTINV): Likewise.
8135         (FPE_FLTSUB): Likewise.
8136         (SEGV_MAPERR): Likewise.
8137         (SEGV_ACCERR): Likewise.
8138         (BUS_ADRALN): Likewise.
8139         (BUS_ADRERR): Likewise.
8140         (BUS_OBJERR): Likewise.
8141         (BUS_MCEERR_AR): Likewise.
8142         (BUS_MCEERR_AO): Likewise.
8143         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8144         (TRAP_TRACE): Likewise.
8145         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8146         __USE_XOPEN2K8].
8147         (CLD_KILLED): Likewise.
8148         (CLD_DUMPED): Likewise.
8149         (CLD_TRAPPED): Likewise.
8150         (CLD_STOPPED): Likewise.
8151         (CLD_CONTINUED): Likewise.
8152         (POLL_IN): Likewise.
8153         (POLL_OUT): Likewise.
8154         (POLL_MSG): Likewise.
8155         (POLL_ERR): Likewise.
8156         (POLL_PRI): Likewise.
8157         (POLL_HUP): Likewise.
8158         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8159         (ILL_ILLOPN): Likewise.
8160         (ILL_ILLADR): Likewise.
8161         (ILL_ILLTRP): Likewise.
8162         (ILL_PRVOPC): Likewise.
8163         (ILL_PRVREG): Likewise.
8164         (ILL_COPROC): Likewise.
8165         (ILL_BADSTK): Likewise.
8166         (FPE_INTDIV): Likewise.
8167         (FPE_INTOVF): Likewise.
8168         (FPE_FLTDIV): Likewise.
8169         (FPE_FLTOVF): Likewise.
8170         (FPE_FLTUND): Likewise.
8171         (FPE_FLTRES): Likewise.
8172         (FPE_FLTINV): Likewise.
8173         (FPE_FLTSUB): Likewise.
8174         (SEGV_MAPERR): Likewise.
8175         (SEGV_ACCERR): Likewise.
8176         (BUS_ADRALN): Likewise.
8177         (BUS_ADRERR): Likewise.
8178         (BUS_OBJERR): Likewise.
8179         (BUS_MCEERR_AR): Likewise.
8180         (BUS_MCEERR_AO): Likewise.
8181         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8182         (TRAP_TRACE): Likewise.
8183         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8184         __USE_XOPEN2K8].
8185         (CLD_KILLED): Likewise.
8186         (CLD_DUMPED): Likewise.
8187         (CLD_TRAPPED): Likewise.
8188         (CLD_STOPPED): Likewise.
8189         (CLD_CONTINUED): Likewise.
8190         (POLL_IN): Likewise.
8191         (POLL_OUT): Likewise.
8192         (POLL_MSG): Likewise.
8193         (POLL_ERR): Likewise.
8194         (POLL_PRI): Likewise.
8195         (POLL_HUP): Likewise.
8196         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8197         (ILL_ILLOPN): Likewise.
8198         (ILL_ILLADR): Likewise.
8199         (ILL_ILLTRP): Likewise.
8200         (ILL_PRVOPC): Likewise.
8201         (ILL_PRVREG): Likewise.
8202         (ILL_COPROC): Likewise.
8203         (ILL_BADSTK): Likewise.
8204         (FPE_INTDIV): Likewise.
8205         (FPE_INTOVF): Likewise.
8206         (FPE_FLTDIV): Likewise.
8207         (FPE_FLTOVF): Likewise.
8208         (FPE_FLTUND): Likewise.
8209         (FPE_FLTRES): Likewise.
8210         (FPE_FLTINV): Likewise.
8211         (FPE_FLTSUB): Likewise.
8212         (SEGV_MAPERR): Likewise.
8213         (SEGV_ACCERR): Likewise.
8214         (BUS_ADRALN): Likewise.
8215         (BUS_ADRERR): Likewise.
8216         (BUS_OBJERR): Likewise.
8217         (BUS_MCEERR_AR): Likewise.
8218         (BUS_MCEERR_AO): Likewise.
8219         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8220         (TRAP_TRACE): Likewise.
8221         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8222         __USE_XOPEN2K8].
8223         (CLD_KILLED): Likewise.
8224         (CLD_DUMPED): Likewise.
8225         (CLD_TRAPPED): Likewise.
8226         (CLD_STOPPED): Likewise.
8227         (CLD_CONTINUED): Likewise.
8228         (POLL_IN): Likewise.
8229         (POLL_OUT): Likewise.
8230         (POLL_MSG): Likewise.
8231         (POLL_ERR): Likewise.
8232         (POLL_PRI): Likewise.
8233         (POLL_HUP): Likewise.
8234         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8235         (ILL_ILLOPN): Likewise.
8236         (ILL_ILLADR): Likewise.
8237         (ILL_ILLTRP): Likewise.
8238         (ILL_PRVOPC): Likewise.
8239         (ILL_PRVREG): Likewise.
8240         (ILL_COPROC): Likewise.
8241         (ILL_BADSTK): Likewise.
8242         (ILL_DBLFLT): Likewise.
8243         (ILL_HARDWALL): Likewise.
8244         (FPE_INTDIV): Likewise.
8245         (FPE_INTOVF): Likewise.
8246         (FPE_FLTDIV): Likewise.
8247         (FPE_FLTOVF): Likewise.
8248         (FPE_FLTUND): Likewise.
8249         (FPE_FLTRES): Likewise.
8250         (FPE_FLTINV): Likewise.
8251         (FPE_FLTSUB): Likewise.
8252         (SEGV_MAPERR): Likewise.
8253         (SEGV_ACCERR): Likewise.
8254         (BUS_ADRALN): Likewise.
8255         (BUS_ADRERR): Likewise.
8256         (BUS_OBJERR): Likewise.
8257         (BUS_MCEERR_AR): Likewise.
8258         (BUS_MCEERR_AO): Likewise.
8259         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8260         (TRAP_TRACE): Likewise.
8261         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8262         __USE_XOPEN2K8].
8263         (CLD_KILLED): Likewise.
8264         (CLD_DUMPED): Likewise.
8265         (CLD_TRAPPED): Likewise.
8266         (CLD_STOPPED): Likewise.
8267         (CLD_CONTINUED): Likewise.
8268         (POLL_IN): Likewise.
8269         (POLL_OUT): Likewise.
8270         (POLL_MSG): Likewise.
8271         (POLL_ERR): Likewise.
8272         (POLL_PRI): Likewise.
8273         (POLL_HUP): Likewise.
8274         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8275         (ILL_ILLOPN): Likewise.
8276         (ILL_ILLADR): Likewise.
8277         (ILL_ILLTRP): Likewise.
8278         (ILL_PRVOPC): Likewise.
8279         (ILL_PRVREG): Likewise.
8280         (ILL_COPROC): Likewise.
8281         (ILL_BADSTK): Likewise.
8282         (FPE_INTDIV): Likewise.
8283         (FPE_INTOVF): Likewise.
8284         (FPE_FLTDIV): Likewise.
8285         (FPE_FLTOVF): Likewise.
8286         (FPE_FLTUND): Likewise.
8287         (FPE_FLTRES): Likewise.
8288         (FPE_FLTINV): Likewise.
8289         (FPE_FLTSUB): Likewise.
8290         (SEGV_MAPERR): Likewise.
8291         (SEGV_ACCERR): Likewise.
8292         (BUS_ADRALN): Likewise.
8293         (BUS_ADRERR): Likewise.
8294         (BUS_OBJERR): Likewise.
8295         (BUS_MCEERR_AR): Likewise.
8296         (BUS_MCEERR_AO): Likewise.
8297         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8298         (TRAP_TRACE): Likewise.
8299         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8300         __USE_XOPEN2K8].
8301         (CLD_KILLED): Likewise.
8302         (CLD_DUMPED): Likewise.
8303         (CLD_TRAPPED): Likewise.
8304         (CLD_STOPPED): Likewise.
8305         (CLD_CONTINUED): Likewise.
8306         (POLL_IN): Likewise.
8307         (POLL_OUT): Likewise.
8308         (POLL_MSG): Likewise.
8309         (POLL_ERR): Likewise.
8310         (POLL_PRI): Likewise.
8311         (POLL_HUP): Likewise.
8312         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8313         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8314
8315         [BZ #16670]
8316         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8317         before #include of <time.h>.
8318         [!__USE_XOPEN2K] (__need_timespec): Likewise.
8319         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8320         (test-xfail-UNIX98/sched.h/conform): Likewise.
8321
8322 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8323
8324         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8325         error absence of trapping exception support.
8326         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8327
8328 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8329
8330         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8331         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8332         * timezone/Makefile (testdata): Move definition above include of
8333         Rules.
8334         (test-zones): New variable.
8335         (tests-special): Add zone files.
8336         (build-testdata): Use $(evaluate-test).
8337
8338         * elf/Makefile (tests-special): Rename tests to end with .out.
8339         ($(objpfx)noload-mem): Likewise.
8340         ($(objpfx)tst-leaks1-mem): Likewise.
8341         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8342         * iconv/Makefile (xtests-special): Change test-iconvconfig to
8343         $(objpfx)test-iconvconfig.out.
8344         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
8345         set -e inside subshell and redirect output to file.
8346         * iconvdata/Makefile (generated): Rename tests to end with .out.
8347         Correct type.
8348         (tests-special): Rename tests to end with .out.
8349         ($(objpfx)mtrace-tst-loading): Likewise.
8350         * intl/Makefile (generated): Likewise.
8351         (tests-special): Likewise.
8352         ($(objpfx)mtrace-tst-gettext): Likewise.
8353         * misc/Makefile (generated): Likewise.
8354         (tests-special): Likewise.
8355         ($(objpfx)tst-error1-mem): Likewise.
8356         * nptl/Makefile (tests-special): Likewise.
8357         ($(objpfx)tst-stack3-mem): Likewise.
8358         (generated): Likewise.
8359         * posix/Makefile (generated): Likewise.
8360         (tests-special): Likewise.
8361         (xtests-special): Likewise.
8362         ($(objpfx)tst-fnmatch-mem): Likewise.
8363         ($(objpfx)bug-regex2-mem): Likewise.
8364         ($(objpfx)bug-regex14-mem): Likewise.
8365         ($(objpfx)bug-regex21-mem): Likewise.
8366         ($(objpfx)bug-regex31-mem): Likewise.
8367         ($(objpfx)tst-vfork3-mem): Likewise.
8368         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8369         ($(objpfx)tst-pcre-mem): Likewise.
8370         ($(objpfx)tst-boost-mem): Likewise.
8371         ($(objpfx)bug-ga2-mem): Likewise.
8372         ($(objpfx)bug-glob2-mem): Likewise.
8373         * resolv/Makefile (generate): Likewise.
8374         (tests-special): Likewise.
8375         (xtests-special): Likewise.
8376         (generated): Likewise.
8377         ($(objpfx)mtrace-tst-leaks): Likewise.
8378         ($(objpfx)mtrace-tst-leaks2): Likewise.
8379
8380         * scripts/merge-test-results.sh: New file.
8381         * Makefile (tests-special-notdir): New variable.
8382         (tests): Run merge-test-results.sh.
8383         (xtests): Likewise.
8384         * Rules (tests-special-notdir): New variable.
8385         (xtests-special-notdir): Likewise.
8386         (tests): Run merge-test-results.sh
8387         (xtests): Likewise.
8388
8389         * Makeconfig (test-xfail-name): New variable.
8390         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8391         compute variable name for expected failures.
8392         * conform/Makefile (conformtest-headers-data): New variable.
8393         (conformtest-standards): Likewise.
8394         (conformtest-headers-ISO): Likewise.
8395         (conformtest-headers-ISO99): Likewise.
8396         (conformtest-headers-ISO11): Likewise.
8397         (conformtest-headers-POSIX): Likewise.
8398         (conformtest-headers-XPG3): Likewise.
8399         (conformtest-headers-XPG4): Likewise.
8400         (conformtest-headers-UNIX98): Likewise.
8401         (conformtest-headers-XOPEN2K): Likewise.
8402         (conformtest-headers-POSIX2008): Likewise.
8403         (conformtest-headers-XOPEN2K8): Likewise.
8404         (conformtest-header-list-base): Likewise.
8405         (conformtest-header-list-tests): Likewise.
8406         (conformtest-header-base): Likewise.
8407         (conformtest-header-tests): Likewise.
8408         (tests-special): Add $(conformtest-header-list-tests).  If
8409         [$(fast-check) && !$(cross-compiling)], add
8410         $(conformtest-header-tests) instead of
8411         $(objpfx)run-conformtest.out.
8412         (generated): Add $(conformtest-header-list-base).  If
8413         [$(fast-check) && !$(cross-compiling)], add
8414         $(conformtest-header-base).  Remove previous setting.
8415         ($(conformtest-header-list-tests)): New target.
8416         (test-xfail-run-conformtest): Remove variable.
8417         ($(objpfx)run-conformtest.out): Remove target.
8418         (test-xfail-ISO11/complex.h/conform): New variable.
8419         (test-xfail-ISO11/stdalign.h/conform): Likewise.
8420         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8421         (test-xfail-XPG3/varargs.h/conform): Likewise.
8422         (test-xfail-XPG4/varargs.h/conform): Likewise.
8423         (test-xfail-UNIX98/varargs.h/conform): Likewise.
8424         (test-xfail-XPG4/ndbm.h/conform): Likewise.
8425         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8426         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8427         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8428         (test-xfail-XPG3/fcntl.h/conform): Likewise.
8429         (test-xfail-XPG3/ftw.h/conform): Likewise.
8430         (test-xfail-XPG3/grp.h/conform): Likewise.
8431         (test-xfail-XPG3/langinfo.h/conform): Likewise.
8432         (test-xfail-XPG3/limits.h/conform): Likewise.
8433         (test-xfail-XPG3/pwd.h/conform): Likewise.
8434         (test-xfail-XPG3/search.h/conform): Likewise.
8435         (test-xfail-XPG3/signal.h/conform): Likewise.
8436         (test-xfail-XPG3/stdio.h/conform): Likewise.
8437         (test-xfail-XPG3/stdlib.h/conform): Likewise.
8438         (test-xfail-XPG3/string.h/conform): Likewise.
8439         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8440         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8441         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8442         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8443         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8444         (test-xfail-XPG3/sys/types.h/conform): Likewise.
8445         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8446         (test-xfail-XPG3/termios.h/conform): Likewise.
8447         (test-xfail-XPG3/time.h/conform): Likewise.
8448         (test-xfail-XPG3/unistd.h/conform): Likewise.
8449         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8450         (test-xfail-XPG4/fcntl.h/conform): Likewise.
8451         (test-xfail-XPG4/langinfo.h/conform): Likewise.
8452         (test-xfail-XPG4/netdb.h/conform): Likewise.
8453         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8454         (test-xfail-XPG4/signal.h/conform): Likewise.
8455         (test-xfail-XPG4/stdio.h/conform): Likewise.
8456         (test-xfail-XPG4/stdlib.h/conform): Likewise.
8457         (test-xfail-XPG4/stropts.h/conform): Likewise.
8458         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8459         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8460         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8461         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8462         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8463         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8464         (test-xfail-XPG4/sys/time.h/conform): Likewise.
8465         (test-xfail-XPG4/sys/types.h/conform): Likewise.
8466         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8467         (test-xfail-XPG4/termios.h/conform): Likewise.
8468         (test-xfail-XPG4/ucontext.h/conform): Likewise.
8469         (test-xfail-XPG4/unistd.h/conform): Likewise.
8470         (test-xfail-XPG4/utmpx.h/conform): Likewise.
8471         (test-xfail-POSIX/sched.h/conform): Likewise.
8472         (test-xfail-POSIX/signal.h/conform): Likewise.
8473         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8474         (test-xfail-POSIX/tar.h/conform): Likewise.
8475         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8476         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8477         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8478         (test-xfail-UNIX98/netdb.h/conform): Likewise.
8479         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8480         (test-xfail-UNIX98/sched.h/conform): Likewise.
8481         (test-xfail-UNIX98/signal.h/conform): Likewise.
8482         (test-xfail-UNIX98/stdio.h/conform): Likewise.
8483         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8484         (test-xfail-UNIX98/stropts.h/conform): Likewise.
8485         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8486         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8487         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8488         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8489         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8490         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8491         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8492         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8493         (test-xfail-UNIX98/unistd.h/conform): Likewise.
8494         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8495         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8496         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8497         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8498         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8499         (test-xfail-XOPEN2K/math.h/conform): Likewise.
8500         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8501         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8502         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8503         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8504         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8505         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8506         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8507         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8508         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8509         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8510         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8511         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8512         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8513         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8514         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8515         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8516         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8517         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8518         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8519         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8520         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8521         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8522         (test-xfail-POSIX2008/signal.h/conform): Likewise.
8523         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8524         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8525         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8526         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8527         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8528         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8529         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8530         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8531         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8532         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8533         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8534         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8535         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8536         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8537         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8538         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8539         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8540         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8541         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8542         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8543         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8544         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8545         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8546         (conformtest-cc-flags): Likewise.
8547         ($(conformtest-header-tests): New target.
8548         * conform/check-header-lists.sh: New file.
8549         * conform/run-conformtest.sh: Remove.
8550
8551         * conform/conformtest.pl: Allow ' and \ in values given for
8552         constants.
8553         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8554         inclusion.
8555         [POSIX] (sys/types.h): Likewise.
8556         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8557         inclusion.
8558         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8559         inclusion.
8560         * conform/data/signal.h-data (SIGIO): Remove expectation.
8561         [XPG3] (SIGBUS): Do not expect.
8562         [POSIX || XPG3] (SIGPOLL): Likewise.
8563         [POSIX || XPG3] (SIGPROF): Likewise.
8564         [POSIX || XPG3] (SIGSYS): Likewise.
8565         [XPG3] (SIGTRAP): Likewise.
8566         [POSIX || XPG3] (SIGURG): Likewise.
8567         [POSIX || XPG3] (SIGVTALRM): Likewise.
8568         [POSIX || XPG3] (SIGXCPU): Likewise.
8569         [POSIX || XPG3] (SIGXFSZ): Likewise.
8570         [POSIX] (SA_SIGINFO): Expect.
8571         [XPG3] (siginfo_t): Do not expect type or contents.
8572         [POSIX] (si_pid): Do not expect element.
8573         [POSIX] (si_uid): Likewise.
8574         [POSIX] (si_addr): Likewise.
8575         [POSIX] (si_status): Likewise.
8576         [POSIX] (si_band): Likewise.
8577         [XPG4] (si_value): Likewise.
8578         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8579         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8580         [POSIX || XPG3] (ILL_ILLADR): Likewise.
8581         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8582         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8583         [POSIX || XPG3] (ILL_PRVREG): Likewise.
8584         [POSIX || XPG3] (ILL_COPROC): Likewise.
8585         [POSIX || XPG3] (ILL_BADSTK): Likewise.
8586         [POSIX || XPG3] (FPE_INTDIV): Likewise.
8587         [POSIX || XPG3] (FPE_INTOVF): Likewise.
8588         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8589         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8590         [POSIX || XPG3] (FPE_FLTUND): Likewise.
8591         [POSIX || XPG3] (FPE_FLTRES): Likewise.
8592         [POSIX || XPG3] (FPE_FLTINV): Likewise.
8593         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8594         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8595         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8596         [POSIX || XPG3] (BUS_ADRALN): Likewise.
8597         [POSIX || XPG3] (BUS_ADRERR): Likewise.
8598         [POSIX || XPG3] (BUS_OBJERR): Likewise.
8599         [POSIX || XPG3] (CLD_EXITED): Likewise.
8600         [POSIX || XPG3] (CLD_KILLED): Likewise.
8601         [POSIX || XPG3] (CLD_DUMPED): Likewise.
8602         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8603         [POSIX || XPG3] (CLD_STOPPED): Likewise.
8604         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8605         [POSIX || XPG3] (POLL_IN): Likewise.
8606         [POSIX || XPG3] (POLL_OUT): Likewise.
8607         [POSIX || XPG3] (POLL_MSG): Likewise.
8608         [POSIX || XPG3] (POLL_ERR): Likewise.
8609         [POSIX || XPG3] (POLL_PRI): Likewise.
8610         [POSIX || XPG3] (POLL_HUP): Likewise.
8611         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8612         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8613         (SIG*): Do not allow.
8614         [XPG3] (si_*): Likewise.
8615         [XPG3] (SI_*): Likewise.
8616         [XPG3 || XPG4] (sigev_*): Likewise.
8617         [XPG3 || XPG4] (SIGEV_*): Likewise.
8618         [XPG3 || XPG4] (sival_*): Likewise.
8619         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8620         [POSIX || XPG3] (BUS_*): Likewise.
8621         [POSIX || XPG3] (CLD_*): Likewise.
8622         [POSIX || XPG3] (FPE_*): Likewise.
8623         [POSIX || XPG3] (ILL_*): Likewise.
8624         [POSIX || XPG3] (POLL_*): Likewise.
8625         [POSIX || XPG3] (SEGV_*): Likewise.
8626         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8627         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8628         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8629         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8630         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8631         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8632         Specify type and value.
8633         (TVERSLEN): Likewise.
8634         (REGTYPE): Likewise.
8635         (AREGTYPE): Likewise.
8636         (LNKTYPE): Likewise.
8637         (SYMTYPE): Likewise.
8638         (CHRTYPE): Likewise.
8639         (BLKTYPE): Likewise.
8640         (DIRTYPE): Likewise.
8641         (FIFOTYPE): Likewise.
8642         (CONTTYPE): Likewise.
8643         (TSUID): Likewise.
8644         (TSGID): Likewise.
8645         (TSVTX): Likewise.
8646         (TUREAD): Likewise.
8647         (TUWRITE): Likewise.
8648         (TUEXEC): Likewise.
8649         (TGREAD): Likewise.
8650         (TGWRITE): Likewise.
8651         (TGEXEC): Likewise.
8652         (TOREAD): Likewise.
8653         (TOWRITE): Likewise.
8654         (TOEXEC): Likewise.
8655         [POSIX] (TSVTX): Expect constant.
8656
8657 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
8658
8659         * Makefile (tests): Change dependencies to ....
8660         (tests-special): ... additions to this variable.
8661         (tests): Depend on $(tests-special).
8662         * Makerules (check-abi-list): New variable.
8663         (check-abi): Depend on $(check-abi-list).
8664         [$(subdir) = elf] (tests-special): Add
8665         $(objpfx)check-abi-libc.out.
8666         [$(build-shared) = yes && subdir] (tests-special): Add
8667         $(check-abi-list).
8668         [$(build-shared) = yes && subdir] (tests): Do not depend on
8669         check-abi.
8670         * Rules (tests): Depend on $(tests-special).
8671         (xtests): Depend on $(xtests-special).
8672         * catgets/Makefile (tests): Change dependencies to ....
8673         (tests-special): ... additions to this variable.
8674         * conform/Makefile (tests): Change dependencies to ....
8675         (tests-special): ... additions to this variable.
8676         * elf/Makefile (tests): Change dependencies to ....
8677         (tests-special): ... additions to this variable.
8678         * grp/Makefile (tests): Change dependencies to ....
8679         (tests-special): ... additions to this variable.
8680         * iconv/Makefile (xtests): Change dependencies to ....
8681         (xtests-special): ... additions to this variable.
8682         * iconvdata/Makefile (tests): Change dependencies to ....
8683         (tests-special): ... additions to this variable.
8684         * intl/Makefile (tests): Change dependencies to ....
8685         (tests-special): ... additions to this variable.  Also add
8686         $(objpfx)tst-gettext.out.
8687         * io/Makefile (tests): Change dependencies to ....
8688         (tests-special): ... additions to this variable.
8689         * libio/Makefile (tests): Change dependencies to ....
8690         (tests-special): ... additions to this variable.
8691         * malloc/Makefile (tests): Change dependencies to ....
8692         (tests-special): ... additions to this variable.
8693         * misc/Makefile (tests): Change dependencies to ....
8694         (tests-special): ... additions to this variable.
8695         * nptl/Makefile (tests): Change dependencies to ....
8696         (tests-special): ... additions to this variable.
8697         * nptl_db/Makefile (tests): Change dependencies to ....
8698         (tests-special): ... additions to this variable.
8699         * posix/Makefile (tests): Change dependencies to ....
8700         (tests-special): ... additions to this variable.
8701         (xtests): Change dependencies to ....
8702         (xtests-special): ... additions to this variable.
8703         * resolv/Makefile (tests): Change dependencies to ....
8704         (tests-special): ... additions to this variable.
8705         (xtests): Change dependencies to ....
8706         (xtests-special): ... additions to this variable.
8707         * stdio-common/Makefile (tests): Change dependencies to ....
8708         (tests-special): ... additions to this variable.
8709         (do-tst-unbputc): Remove target.
8710         (do-tst-printf): Likewise.
8711         * stdlib/Makefile (tests): Change dependencies to ....
8712         (tests-special): ... additions to this variable.
8713         * string/Makefile (tests): Change dependencies to ....
8714         (tests-special): ... additions to this variable.
8715         * sysdeps/x86/Makefile (tests): Change dependencies to ....
8716         (tests-special): ... additions to this variable.
8717
8718         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8719         whole file.
8720         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8721         whole file.
8722         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8723         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8724
8725         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8726         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8727         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8728         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8729         * conform/data/libgen.h-data [XPG3]: Likewise.
8730         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8731         * conform/data/ndbm.h-data [XPG3]: Likewise.
8732         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8733         * conform/data/netdb.h-data [XPG3]: Likewise.
8734         * conform/data/netinet/in.h-data [XPG3]: Likewise.
8735         * conform/data/poll.h-data [XPG3]: Likewise.
8736         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8737         * conform/data/strings.h-data [XPG3]: Likewise.
8738         * conform/data/stropts.h-data [XPG3]: Likewise.
8739         * conform/data/sys/mman.h-data [XPG3]: Likewise.
8740         * conform/data/sys/resource.h-data [XPG3]: Likewise.
8741         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8742         Likewise.
8743         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8744         * conform/data/sys/time.h-data [XPG3]: Likewise.
8745         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8746         * conform/data/sys/uio.h-data [XPG3]: Likewise.
8747         * conform/data/sys/un.h-data [XPG3]: Likewise.
8748         * conform/data/syslog.h-data [XPG3]: Likewise.
8749         * conform/data/ucontext.h-data [XPG3]: Likewise.
8750         * conform/data/utmpx.h-data [XPG3]: Likewise.
8751         * conform/data/varargs.h-data [UNIX98]: Enable file.
8752
8753         * manual/Makefile (INSTALL_INFO): Remove variable setting.
8754
8755         * math/libm-test.inc (struct test_f_f_data): Move expected results
8756         into structure for each rounding mode.
8757         (struct test_ff_f_data): Likewise.
8758         (struct test_ff_f_data_nexttoward): Likewise.
8759         (struct test_fi_f_data): Likewise.
8760         (struct test_fl_f_data): Likewise.
8761         (struct test_if_f_data): Likewise.
8762         (struct test_fff_f_data): Likewise.
8763         (struct test_c_f_data): Likewise.
8764         (struct test_f_f1_data): Likewise.
8765         (struct test_fF_f1_data): Likewise.
8766         (struct test_ffI_f1_data): Likewise.
8767         (struct test_c_c_data): Likewise.
8768         (struct test_cc_c_data): Likewise.
8769         (struct test_f_i_data): Likewise.
8770         (struct test_ff_i_data): Likewise.
8771         (struct test_f_l_data): Likewise.
8772         (struct test_f_L_data): Likewise.
8773         (struct test_fFF_11_data): Likewise.
8774         (RM_): New macro.
8775         (RM_FE_DOWNWARD): Likewise.
8776         (RM_FE_TONEAREST): Likewise.
8777         (RM_FE_TOWARDZERO): Likewise.
8778         (RM_FE_UPWARD): Likewise.
8779         (RUN_TEST_LOOP_f_f): Update references to expected results.
8780         (RUN_TEST_LOOP_2_f): Likewise.
8781         (RUN_TEST_LOOP_fff_f): Likewise.
8782         (RUN_TEST_LOOP_c_f): Likewise.
8783         (RUN_TEST_LOOP_f_f1): Likewise.
8784         (RUN_TEST_LOOP_fF_f1): Likewise.
8785         (RUN_TEST_LOOP_fI_f1): Likewise.
8786         (RUN_TEST_LOOP_ffI_f1): Likewise.
8787         (RUN_TEST_LOOP_c_c): Likewise.
8788         (RUN_TEST_LOOP_cc_c): Likewise.
8789         (RUN_TEST_LOOP_f_i): Likewise.
8790         (RUN_TEST_LOOP_f_i_tg): Likewise.
8791         (RUN_TEST_LOOP_ff_i_tg): Likewise.
8792         (RUN_TEST_LOOP_f_b): Likewise.
8793         (RUN_TEST_LOOP_f_b_tg): Likewise.
8794         (RUN_TEST_LOOP_f_l): Likewise.
8795         (RUN_TEST_LOOP_f_L): Likewise.
8796         (RUN_TEST_LOOP_fFF_11): Likewise.
8797         * math/gen-libm-test.pl (parse_args): Output four copies of
8798         expected results for each test.
8799
8800         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8801         (__ASSUME_UTIMES): Remove.
8802         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8803         (__ASSUME_UTIMES): Likewise.
8804
8805         * math/gen-auto-libm-tests.c: Update comment on output format.
8806         (output_for_one_input_case): Generate before-rounding and
8807         after-rounding information as conditions on output flags not
8808         floating-point format.
8809         * math/auto-libm-test-out: Regenerated.
8810         * math/gen-libm-test.pl (cond_value): New function.
8811         (or_cond_value): Use cond_value.
8812         (generate_testfile): Handle conditional exceptions.
8813
8814 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
8815
8816         * math/libm-test.inc (max_valid_error): New variable.
8817         (init_max_error): Take new argument specifying whether function
8818         results are exactly determined.  Set max_valid_error and bound
8819         other variables for errors based on this argument.
8820         (set_max_error): Do not record results above max_valid_error.
8821         (check_float_internal): Only accept errors of up to 0.5ulps if
8822         also at most max_valid_error.
8823         (START): Take new argument EXACT and pass it to init_max_error.
8824         (acos_test): Update call to START.
8825         (acos_test_tonearest): Likewise.
8826         (acos_test_towardzero): Likewise.
8827         (acos_test_downward): Likewise.
8828         (acos_test_upward): Likewise.
8829         (acosh_test): Likewise.
8830         (asin_test): Likewise.
8831         (asin_test_tonearest): Likewise.
8832         (asin_test_towardzero): Likewise.
8833         (asin_test_downward): Likewise.
8834         (asin_test_upward): Likewise.
8835         (asinh_test): Likewise.
8836         (atan_test): Likewise.
8837         (atanh_test): Likewise.
8838         (atan2_test): Likewise.
8839         (cabs_test): Likewise.
8840         (cacos_test): Likewise.
8841         (cacosh_test): Likewise.
8842         (carg_test): Likewise.
8843         (casin_test): Likewise.
8844         (casinh_test): Likewise.
8845         (catan_test): Likewise.
8846         (catanh_test): Likewise.
8847         (cbrt_test): Likewise.
8848         (ccos_test): Likewise.
8849         (ccosh_test): Likewise.
8850         (ceil_test): Likewise.
8851         (cexp_test): Likewise.
8852         (cimag_test): Likewise.
8853         (clog_test): Likewise.
8854         (clog10_test): Likewise.
8855         (conj_test): Likewise.
8856         (copysign_test): Likewise.
8857         (cos_test): Likewise.
8858         (cos_test_tonearest): Likewise.
8859         (cos_test_towardzero): Likewise.
8860         (cos_test_downward): Likewise.
8861         (cos_test_upward): Likewise.
8862         (cosh_test): Likewise.
8863         (cosh_test_tonearest): Likewise.
8864         (cosh_test_towardzero): Likewise.
8865         (cosh_test_downward): Likewise.
8866         (cosh_test_upward): Likewise.
8867         (cpow_test): Likewise.
8868         (cproj_test): Likewise.
8869         (creal_test): Likewise.
8870         (csin_test): Likewise.
8871         (csinh_test): Likewise.
8872         (csqrt_test): Likewise.
8873         (ctan_test): Likewise.
8874         (ctan_test_tonearest): Likewise.
8875         (ctan_test_towardzero): Likewise.
8876         (ctan_test_downward): Likewise.
8877         (ctan_test_upward): Likewise.
8878         (ctanh_test): Likewise.
8879         (ctanh_test_tonearest): Likewise.
8880         (ctanh_test_towardzero): Likewise.
8881         (ctanh_test_downward): Likewise.
8882         (ctanh_test_upward): Likewise.
8883         (erf_test): Likewise.
8884         (erfc_test): Likewise.
8885         (exp_test): Likewise.
8886         (exp_test_tonearest): Likewise.
8887         (exp_test_towardzero): Likewise.
8888         (exp_test_downward): Likewise.
8889         (exp_test_upward): Likewise.
8890         (exp10_test): Likewise.
8891         (exp10_test_tonearest): Likewise.
8892         (exp10_test_towardzero): Likewise.
8893         (exp10_test_downward): Likewise.
8894         (exp10_test_upward): Likewise.
8895         (pow10_test): Likewise.
8896         (exp2_test): Likewise.
8897         (expm1_test): Likewise.
8898         (expm1_test_tonearest): Likewise.
8899         (expm1_test_towardzero): Likewise.
8900         (expm1_test_downward): Likewise.
8901         (expm1_test_upward): Likewise.
8902         (fabs_test): Likewise.
8903         (fdim_test): Likewise.
8904         (floor_test): Likewise.
8905         (fma_test): Likewise.
8906         (fma_test_towardzero): Likewise.
8907         (fma_test_downward): Likewise.
8908         (fma_test_upward): Likewise.
8909         (fmax_test): Likewise.
8910         (fmin_test): Likewise.
8911         (fmod_test): Likewise.
8912         (fpclassify_test): Likewise.
8913         (frexp_test): Likewise.
8914         (hypot_test): Likewise.
8915         (ilogb_test): Likewise.
8916         (isfinite_test): Likewise.
8917         (finite_test): Likewise.
8918         (isgreater_test): Likewise.
8919         (isgreaterequal_test): Likewise.
8920         (isinf_test): Likewise.
8921         (isless_test): Likewise.
8922         (islessequal_test): Likewise.
8923         (islessgreater_test): Likewise.
8924         (isnan_test): Likewise.
8925         (isnormal_test): Likewise.
8926         (issignaling_test): Likewise.
8927         (isunordered_test): Likewise.
8928         (j0_test): Likewise.
8929         (j1_test): Likewise.
8930         (jn_test): Likewise.
8931         (ldexp_test): Likewise.
8932         (lgamma_test): Likewise.
8933         (gamma_test): Likewise.
8934         (lrint_test): Likewise.
8935         (lrint_test_tonearest): Likewise.
8936         (lrint_test_towardzero): Likewise.
8937         (lrint_test_downward): Likewise.
8938         (lrint_test_upward): Likewise.
8939         (llrint_test): Likewise.
8940         (llrint_test_tonearest): Likewise.
8941         (llrint_test_towardzero): Likewise.
8942         (llrint_test_downward): Likewise.
8943         (llrint_test_upward): Likewise.
8944         (log_test): Likewise.
8945         (log10_test): Likewise.
8946         (log1p_test): Likewise.
8947         (log2_test): Likewise.
8948         (logb_test): Likewise.
8949         (logb_test_downward): Likewise.
8950         (lround_test): Likewise.
8951         (llround_test): Likewise.
8952         (modf_test): Likewise.
8953         (nearbyint_test): Likewise.
8954         (nextafter_test): Likewise.
8955         (nexttoward_test): Likewise.
8956         (pow_test): Likewise.
8957         (pow_test_tonearest): Likewise.
8958         (pow_test_towardzero): Likewise.
8959         (pow_test_downward): Likewise.
8960         (pow_test_upward): Likewise.
8961         (remainder_test): Likewise.
8962         (drem_test): Likewise.
8963         (remainder_test_tonearest): Likewise.
8964         (drem_test_tonearest): Likewise.
8965         (remainder_test_towardzero): Likewise.
8966         (drem_test_towardzero): Likewise.
8967         (remainder_test_downward): Likewise.
8968         (drem_test_downward): Likewise.
8969         (remainder_test_upward): Likewise.
8970         (drem_test_upward): Likewise.
8971         (remquo_test): Likewise.
8972         (rint_test): Likewise.
8973         (rint_test_tonearest): Likewise.
8974         (rint_test_towardzero): Likewise.
8975         (rint_test_downward): Likewise.
8976         (rint_test_upward): Likewise.
8977         (round_test): Likewise.
8978         (scalb_test): Likewise.
8979         (scalbn_test): Likewise.
8980         (scalbln_test): Likewise.
8981         (signbit_test): Likewise.
8982         (sin_test): Likewise.
8983         (sin_test_tonearest): Likewise.
8984         (sin_test_towardzero): Likewise.
8985         (sin_test_downward): Likewise.
8986         (sin_test_upward): Likewise.
8987         (sincos_test): Likewise.
8988         (sinh_test): Likewise.
8989         (sinh_test_tonearest): Likewise.
8990         (sinh_test_towardzero): Likewise.
8991         (sinh_test_downward): Likewise.
8992         (sinh_test_upward): Likewise.
8993         (sqrt_test): Likewise.
8994         (sqrt_test_tonearest): Likewise.
8995         (sqrt_test_towardzero): Likewise.
8996         (sqrt_test_downward): Likewise.
8997         (sqrt_test_upward): Likewise.
8998         (tan_test): Likewise.
8999         (tan_test_tonearest): Likewise.
9000         (tan_test_towardzero): Likewise.
9001         (tan_test_downward): Likewise.
9002         (tan_test_upward): Likewise.
9003         (tanh_test): Likewise.
9004         (tgamma_test): Likewise.
9005         (trunc_test): Likewise.
9006         (y0_test): Likewise.
9007         (y1_test): Likewise.
9008         (yn_test): Likewise.
9009         (significand_test): Likewise.
9010
9011         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9012         individual tests in comment.
9013         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9014         (prev_max_error): New variable.
9015         (prev_real_max_error): Likewise.
9016         (prev_imag_max_error): Likewise.
9017         (compare_ulp_data): Don't refer to test names in comment.
9018         (find_test_ulps): Remove function.
9019         (find_function_ulps): Likewise.
9020         (find_complex_function_ulps): Likewise.
9021         (init_max_error): Take function name as argument.  Look up ulps
9022         for that function.
9023         (print_ulps): Remove function.
9024         (print_max_error): Use prev_max_error instead of calling
9025         find_function_ulps.
9026         (print_complex_max_error): Use prev_real_max_error and
9027         prev_imag_max_error instead of calling find_complex_function_ulps.
9028         (check_float_internal): Take max_ulp parameter instead of calling
9029         find_test_ulps.  Don't call print_ulps.
9030         (check_float): Update call to check_float_internal.
9031         (check_complex): Update calls to check_float_internal.
9032         (START): Pass argument to init_max_error.
9033         * math/gen-libm-test.pl (%results): Don't include "kind"
9034         information.
9035         (parse_ulps): Don't handle ulps of individual tests.
9036         (print_ulps_file): Likewise.
9037         (output_ulps): Likewise.
9038         * math/README.libm-test: Update.
9039         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9040         individual tests.
9041         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9042         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9043         * sysdeps/arm/libm-test-ulps: Likewise.
9044         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9045         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9046         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9047         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9048         * sysdeps/microblaze/libm-test-ulps: Likewise.
9049         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9050         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9051         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9052         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9053         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9054         * sysdeps/sh/libm-test-ulps: Likewise.
9055         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9056         * sysdeps/tile/libm-test-ulps: Likewise.
9057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9058
9059 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
9060
9061         * math/libm-test.inc (print_complex_max_error): Check separately
9062         whether real and imaginary errors are within allowed range and
9063         pass 0 to print_complex_function_ulps instead of value within
9064         allowed range.
9065
9066 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9067
9068         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9069         formatting.
9070         (get_handles_fopen): Likewise.
9071         (do_write_test): Likewise.
9072
9073         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9074
9075         * libio/fileops.c (do_ftell): Use cached offset when
9076         available.
9077         * libio/iofwide.c (do_ftell_wide): Likewise.
9078         * libio/iofdopen.c (_IO_new_fdopen): Don't use
9079         _IO_file_attach.
9080         * libio/wfileops.c (_IO_fwide): Don't cache offset.
9081
9082         [BZ #16532]
9083         * libio/libioP.h (get_file_offset): New function.
9084         * libio/fileops.c (get_file_offset): Likewise.
9085         (do_ftell): Likewise.
9086         (_IO_new_file_seekoff): Split out ftell logic.
9087         * libio/wfileops.c (do_ftell_wide): Likewise.
9088         (_IO_wfile_seekoff): Split out ftell logic.
9089         * libio/tst-ftell-active-handler.c: New test case.
9090         * libio/Makefile (tests): Add it.
9091
9092 2014-03-03  Roland McGrath  <roland@hack.frob.com>
9093
9094         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9095         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9096
9097 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9098
9099         [BZ #16639]
9100         * nscd/connections.c (nscd_init): Call do_exit.
9101         (start_threads): Call do_exit and notify_parent.
9102         (begin_drop_privileges): Call do_exit.
9103         (finish_drop_privileges): Likewise.
9104         * nscd/selinux.c (preserve_capabilities): Likewise.
9105         (install_real_capabilities): Likewise.
9106         (nscd_selinux_enabled): Likewise.
9107         (avc_create_thread): Likewise.
9108         (avc_alloc_lock): Likewise.
9109         (nscd_avc_init): Likewise.
9110         * nscd/nscd.c (parent_fd): New static variable.
9111         (main): Create a pipe between parent and child processes.
9112         Skip closing parent_fd.
9113         (monitor_child): New function.
9114         (do_exit): Likewise.
9115         (notify_parent): Likewise.
9116         * nscd/nscd.h (notify_parent): Likewise.
9117         (do_exit): Likewise.
9118
9119 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
9120
9121         * malloc/malloc.c (__libc_calloc): Revert last change.
9122
9123 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9124
9125         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9126
9127 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9128
9129         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9130         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9131         implementation.
9132         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9133         (__libc_ifunc_impl_list): Likewise.
9134         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9135         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9136         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9137         * string/strrchr.c: Define STRRCHR.
9138
9139 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
9140
9141         * benchtest/bench-strtok.c (simple_strtok): Delete.
9142         (strtok_string): Use as benchmark.
9143         * string/strtok (STRTOK): New macro.
9144
9145 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
9146
9147         * manual/threads.texi: Add header and standard comments to all
9148         functions.
9149
9150         * elf/dl-lookup.c (check_match): New function.
9151         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9152         (do_lookup_x): Remove nested function check_match. Use non-nested
9153         function check_match.
9154
9155 2014-02-28  Roland McGrath  <roland@hack.frob.com>
9156
9157         * csu/Makefile (generated, before-compile): Use += rather than =.
9158         * catgets/Makefile (generated, generated-dirs): Likewise.
9159         * debug/Makefile (generated): Likewise.
9160         * dlfcn/Makefile (generated): Likewise.
9161         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9162         * iconvdata/Makefile (before-compile, generated): Likewise.
9163         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9164         * libio/Makefile (generated): Likewise.
9165         * malloc/Makefile (generated): Likewise.
9166         * manual/Makefile (generated, generated-dirs): Likewise.
9167         * misc/Makefile (generated): Likewise.
9168         * posix/Makefile (generated): Likewise.
9169         * resolv/Makefile (generated): Likewise.
9170         * sunrpc/Makefile (generated, generated-dirs): Likewise.
9171         * timezone/Makefile (generated, generated-dirs): Likewise.
9172
9173         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9174
9175 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9176
9177         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9178         power8 implementation.
9179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9180         file: POWER8 llround ifunc implementation.
9181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9182         (__lllround): Add POWER8 implementation.
9183         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9184         POWER8 llround implementation.
9185
9186         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9187         power8 implementation.
9188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9189         file: POWER8 llrint ifunc implementation.
9190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9191         Add POWER8 implementation.
9192         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9193         POWER8 llrint implementation.
9194
9195         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9196         power8 implementation.
9197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9198         file: POWER8 finite ifunc implementation.
9199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9200         Add POWER8 implementation.
9201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9202         Likewise.
9203         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9204         POWER8 finite implementation.
9205         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9206
9207         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9208         power8 implementation.
9209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9210         file: POWER8 isinf ifunc implementation.
9211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9212         POWER8 implementation.
9213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9214         Likewise.
9215         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9216         isinf implementation.
9217         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9218
9219         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9220         (INIT_ARCH): Add hwcap2 initialization.
9221         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9222         power8 implementation.
9223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9224         file: POWER8 isnan ifunc implementation.
9225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9226         POWER8 implementation.
9227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9228         Likewise.
9229         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9230         isnan implementation.
9231         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9232
9233 2014-02-27  Joey Ye  <joey.ye@arm.com>
9234
9235         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9236         (_FP_NANFRAC_Q): Set to zero.
9237
9238 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9239
9240         [BZ #16623]
9241         * math/auto-libm-test-in: New test inputs.
9242         * math/auto-libm-test-out: Regenerate.
9243         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9244         and DA.
9245         (__cos): Likewise.
9246         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9247
9248 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
9249
9250         * scripts/evaluate-test.sh: Take new argument indicating whether
9251         failure is expected.
9252         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9253         indicating whether failure is expected.
9254         * conform/Makefile (test-xfail-run-conformtest): New variable.
9255         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9256         level.
9257         * posix/Makefile (test-xfail-annexc): New variable.
9258         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9259
9260 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
9261
9262         * argp/Makefile: Include Makeconfig immediately after defining
9263         subdir.
9264         * assert/Makefile: Likewise.
9265         * benchtests/Makefile: Likewise.
9266         * catgets/Makefile: Likewise.
9267         * conform/Makefile: Likewise.
9268         * crypt/Makefile: Likewise.
9269         * csu/Makefile: Likewise.
9270         (all): Remove target.
9271         * ctype/Makefile: Include Makeconfig immediately after defining
9272         subdir.
9273         * debug/Makefile: Likewise.
9274         * dirent/Makefile: Likewise.
9275         * dlfcn/Makefile: Likewise.
9276         * gmon/Makefile: Likewise.
9277         * gnulib/Makefile: Likewise.
9278         * grp/Makefile: Likewise.
9279         * gshadow/Makefile: Likewise.
9280         * hesiod/Makefile: Likewise.
9281         * hurd/Makefile: Likewise.
9282         (all): Remove target.
9283         * iconvdata/Makefile: Include Makeconfig immediately after
9284         defining subdir.
9285         * inet/Makefile: Likewise.
9286         * intl/Makefile: Likewise.
9287         * io/Makefile: Likewise.
9288         * libio/Makefile: Likewise.
9289         (all): Remove target.
9290         * locale/Makefile: Include Makeconfig immediately after defining
9291         subdir.
9292         * login/Makefile: Likewise.
9293         * mach/Makefile: Likewise.
9294         (all): Remove target.
9295         * malloc/Makefile: Include Makeconfig immediately after defining
9296         subdir.
9297         (all): Remove target.
9298         * manual/Makefile: Include Makeconfig immediately after defining
9299         subdir.
9300         * math/Makefile: Likewise.
9301         * misc/Makefile: Likewise.
9302         * nis/Makefile: Likewise.
9303         * nss/Makefile: Likewise.
9304         * po/Makefile: Likewise.
9305         (all): Remove target.
9306         * posix/Makefile: Include Makeconfig immediately after defining
9307         subdir.
9308         * pwd/Makefile: Likewise.
9309         * resolv/Makefile: Likewise.
9310         * resource/Makefile: Likewise.
9311         * rt/Makefile: Likewise.
9312         * setjmp/Makefile: Likewise.
9313         * shadow/Makefile: Likewise.
9314         * signal/Makefile: Likewise.
9315         * socket/Makefile: Likewise.
9316         * soft-fp/Makefile: Likewise.
9317         * stdio-common/Makefile: Likewise.
9318         * stdlib/Makefile: Likewise.
9319         * streams/Makefile: Likewise.
9320         * string/Makefile: Likewise.
9321         * sunrpc/Makefile: Likewise.
9322         (all): Remove target.
9323         * sysvipc/Makefile: Include Makeconfig immediately after defining
9324         subdir.
9325         * termios/Makefile: Likewise.
9326         * time/Makefile: Likewise.
9327         * timezone/Makefile: Likewise.
9328         (all): Remove target.
9329         * wcsmbs/Makefile: Include Makeconfig immediately after defining
9330         subdir.
9331         * wctype/Makefile: Likewise.
9332
9333 2014-02-26  Steve Ellcey  <sellcey@mips.com>
9334
9335         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9336         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9337         (libc_feholdexcept_setround_mips): Ditto.
9338         (libc_feholdsetround): New.
9339         (libc_feholdsetroundf): New.
9340         (libc_feholdsetroundl): New.
9341         (libc_feupdateenv_test_mips): New.
9342         (libc_feupdateenv_test): New.
9343         (libc_feupdateenv_testf): New.
9344         (libc_feupdateenv_testl): New.
9345         (libc_feresetround): New.
9346         (libc_feresetroundf): New.
9347         (libc_feresetroundl): New.
9348         (libc_fetestexcept_mips): New.
9349         (libc_fetestexcept): New.
9350         (libc_fetestexceptf): New.
9351         (libc_fetestexceptl): New.
9352         (HAVE_RM_CTX): New.
9353         (libc_feholdexcept_setround_mips_ctx): New.
9354         (libc_feholdexcept_setround_ctx): New.
9355         (libc_feholdexcept_setroundf_ctx): New.
9356         (libc_feholdexcept_setroundl_ctx): New.
9357         (libc_fesetenv_mips_ctx): New.
9358         (libc_fesetenv_ctx): New.
9359         (libc_fesetenv_ctxf): New.
9360         (libc_fesetenv_ctxl): New.
9361         (libc_feupdateenv_mips_ctx): New.
9362         (libc_feupdateenv_ctx): New.
9363         (libc_feupdateenvf_ctx): New.
9364         (libc_feupdateenvl_ctx): New.
9365         (libc_feholdsetround_mips_ctx): New.
9366         (libc_feholdsetround_ctx): New.
9367         (libc_feholdsetroundf_ctx): New.
9368         (libc_feholdsetroundl_ctx): New.
9369         (libc_feresetround_mips_ctx): New.
9370         (libc_feresetround_ctx): New.
9371         (libc_feresetroundf_ctx): New.
9372         (libc_feresetroundl_ctx): New.
9373
9374 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
9375
9376         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9377
9378         * manual/ipc.texi: New file.
9379         * manual/Makefile (chapters): Add ipc.
9380         * manual/job.texi: Add "Inter-Process Communication" to next.
9381         * manual/process.texi: Add "Inter-Process Communication" to prev.
9382
9383 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9384
9385         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9386
9387 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
9388
9389         * malloc/malloc.c (__libc_calloc): Simplify implementation.
9390
9391         * manual/arith.texi: Fix spaces after sentences.
9392         * manual/charset.texi: Likewise.
9393         * manual/errno.texi: Likewise.
9394         * manual/install.texi: Likewise.
9395         * manual/llio.texi: Likewise.
9396         * manual/locale.texi: Likewise.
9397         * manual/maint.texi: Likewise.
9398         * manual/math.texi: Likewise.
9399         * manual/memory.texi: Likewise.
9400         * manual/message.texi: Likewise.
9401         * manual/probes.texi: Likewise.
9402         * manual/resource.texi: Likewise.
9403         * manual/signal.texi: Likewise.
9404         * manual/socket.texi: Likewise.
9405         * manual/stdio.texi: Likewise.
9406         * manual/string.texi: Likewise.
9407         * manual/time.texi: Likewise.
9408         * manual/users.texi: Likewise.
9409
9410 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
9411
9412         [BZ #16632]
9413         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9414         _DEFAULT_SOURCE is defined.
9415
9416 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
9417             Carlos O'Donell  <carlos@redhat.com>
9418
9419         [BZ #16613]
9420         * elf/dl-tls.c (_dl_count_modids): New function.
9421         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9422         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9423         audit library and increment generation counter.
9424         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9425         * elf/tst-audit9.c: New file.
9426         * elf/tst-auditmod9a.c: New file.
9427         * elf/tst-auditmod9b.c: New file.
9428         * elf/Makefile: Add rules to build and run tst-audit9.
9429
9430 2014-02-25  Florian Weimer  <fweimer@redhat.com>
9431
9432         [BZ #15347]
9433         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9434
9435 2014-02-25  Will Newton  <will.newton@linaro.org>
9436
9437         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9438         (__longjmp): Restore sp and lr before restoring callee
9439         saved registers.  Add longjmp and longjmp_target
9440         SystemTap probe point.
9441         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9442         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9443         Define to zero to match jmpbuf layout.
9444         * sysdeps/arm/setjmp.S: Include stap-probe.h.
9445         (__sigsetjmp): Save sp and lr before saving callee
9446         saved registers.  Add setjmp SystemTap probe point.
9447
9448 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
9449
9450         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9451
9452 2014-02-24  Andreas Schwab  <schwab@suse.de>
9453
9454         [BZ #15804]
9455         * elf/pldd.c (wait_for_ptrace_stop): New function.
9456         (main): Call it after attaching.
9457
9458 2014-02-22  Roland McGrath  <roland@hack.frob.com>
9459
9460         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9461         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9462         Versions files is now verboten.
9463         * hurd/Versions (libc: GLIBC_2.0):
9464         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9465         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9466         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9467         * mach/Versions: Likewise.
9468
9469         * csu/Versions: Remove unused %include.
9470         * resolv/Versions: Likewise.
9471
9472 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
9473
9474         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9475         ($(objpfx)check-local-headers.out): Likewise.
9476         ($(objpfx)begin-end-check.out): Likewise.
9477         * Makerules (check-abi-%.out): Likewise.
9478         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9479         ($(objpfx)test2.cat): Likewise.
9480         ($(objpfx)de/libc.cat): Likewise.
9481         ($(objpfx)test-gencat.out): Likewise.
9482         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9483         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9484         ($(objpfx)noload-mem): Likewise.
9485         ($(objpfx)tst-pathopt.out): Likewise.
9486         ($(objpfx)tst-rtld-load-self.out): Likewise.
9487         ($(objpfx)tst-array1-cmp.out): Likewise.
9488         ($(objpfx)tst-array1-static-cmp.out): Likewise.
9489         ($(objpfx)tst-array2-cmp.out): Likewise.
9490         ($(objpfx)tst-array3-cmp.out): Likewise.
9491         ($(objpfx)tst-array4-cmp.out): Likewise.
9492         ($(objpfx)tst-array5-cmp.out): Likewise.
9493         ($(objpfx)tst-array5-static-cmp.out): Likewise.
9494         ($(objpfx)check-textrel.out): Likewise.
9495         ($(objpfx)check-execstack.out): Likewise.
9496         ($(objpfx)check-localplt.out): Likewise.
9497         ($(objpfx)order2-cmp.out): Likewise.
9498         ($(objpfx)tst-leaks1-mem): Likewise.
9499         ($(objpfx)tst-leaks1-static-mem): Likewise.
9500         ($(objpfx)tst-initorder-cmp.out): Likewise.
9501         ($(objpfx)tst-initorder2-cmp.out): Likewise.
9502         ($(objpfx)tst-unused-dep.out): Likewise.
9503         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9504         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9505         * iconv/Makefile (test-iconvconfig): Likewise.
9506         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9507         ($(objpfx)iconv-test.out): Likewise.
9508         ($(objpfx)tst-tables.out): Likewise.
9509         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9510         ($(objpfx)tst-gettext.out): Likewise.
9511         ($(objpfx)tst-translit.out): Likewise.
9512         ($(objpfx)tst-gettext2.out): Likewise.
9513         ($(objpfx)tst-gettext4.out): Likewise.
9514         ($(objpfx)tst-gettext6.out): Likewise.
9515         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9516         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9517         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9518         ($(objpfx)tst-fopenloc-mem.out): Likewise.
9519         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9520         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9521         * posix/Makefile ($(objpfx)globtest.out): Likewise.
9522         ($(objpfx)wordexp-tst.out): Likewise.
9523         ($(objpfx)annexc.out): Likewise.
9524         ($(objpfx)tst-fnmatch-mem): Likewise.
9525         ($(objpfx)bug-regex2-mem): Likewise.
9526         ($(objpfx)bug-regex14-mem): Likewise.
9527         ($(objpfx)bug-regex21-mem): Likewise.
9528         ($(objpfx)bug-regex31-mem): Likewise.
9529         ($(objpfx)tst-vfork3-mem): Likewise.
9530         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9531         ($(objpfx)tst-pcre-mem): Likewise.
9532         ($(objpfx)tst-boost-mem): Likewise.
9533         ($(objpfx)tst-getconf.out): Likewise.
9534         ($(objpfx)bug-ga2-mem): Likewise.
9535         ($(objpfx)bug-glob2-mem): Likewise.
9536         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9537         ($(objpfx)mtrace-tst-leaks2): Likewise.
9538         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9539         ($(objpfx)tst-printf.out): Likewise.
9540         ($(objpfx)tst-setvbuf1.out): Likewise.
9541         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9542         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9543         ($(objpfx)tst-fmtmsg.out): Likewise.
9544         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9545         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9546
9547         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9548         * bits/sigaction.h [__USE_MISC]: Likewise.
9549         * bits/waitstatus.h: Update #endif comments.
9550         * ctype/ctype.h: Likewise.
9551         * dirent/dirent.h: Likewise.
9552         [__USE_MISC]: Remove redundant conditionals.
9553         * grp/grp.h: Update #endif comments.
9554         [__USE_GNU]: Remove redundant conditionals.
9555         [__USE_MISC]: Likewise.
9556         * inet/netinet/in.h [__USE_GNU]: Likewise.
9557         * io/sys/stat.h [__USE_MISC]: Likewise.
9558         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9559         * libio/bits/stdio.h: Update #endif comments.
9560         [__USE_MISC]: Remove redundant conditionals.
9561         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9562         * libio/stdio.h: Update #endif comments.
9563         [__USE_MISC]: Remove redundant conditionals.
9564         * math/bits/math-finite.h [__USE_MISC]: Likewise.
9565         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9566         * math/math.h: Update #else and #endif comments.
9567         [__USE_MISC]: Remove redundant conditionals.
9568         * misc/sys/uio.h: Update #endif comments.
9569         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9570         * posix/glob.h [__USE_MISC]: Likewise.
9571         * posix/sys/types.h: Update #endif comments.
9572         [__USE_MISC]: Remove redundant conditionals.
9573         * posix/sys/wait.h: Update #endif comments.
9574         [__USE_MISC]: Remove redundant conditionals.
9575         * posix/unistd.h: Update #endif comments.
9576         [__USE_MISC]: Remove redundant conditionals.
9577         * pwd/pwd.h [__USE_GNU]: Likewise.
9578         [__USE_MISC]: Likewise.
9579         * resolv/netdb.h [__USE_GNU]: Likewise.
9580         * signal/signal.h: Update #endif comments.
9581         [__USE_MISC]: Remove redundant conditionals.
9582         * stdlib/stdlib.h: Update #else and #endif comments.
9583         [__USE_MISC]: Remove redundant conditionals.
9584         [__USE_GNU]: Likewise.
9585         * string/bits/string2.h [__USE_MISC]: Likewise.
9586         * string/string.h: Update #endif comments.
9587         [__USE_MISC]: Remove redundant conditionals.
9588         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9589         Likewise.
9590         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9591         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9592         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9593         Likewise.
9594         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9595         Likewise.
9596         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9597         comments.
9598         [__USE_MISC]: Remove redundant conditionals.
9599         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9600         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9601         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9602         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9603         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9604         Likewise.
9605         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9606         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9607         Likewise.
9608         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9609         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9610         Likewise.
9611         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9612         Likewise.
9613         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9614         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9615         Likewise.
9616         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9617         Likewise.
9618         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9619         * sysdeps/x86/bits/string.h: Update #endif comments.
9620         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9621         conditionals.
9622         * time/sys/time.h: Update #endif comments.
9623         * time/time.h: Likewise.
9624         [__USE_MISC]: Remove redundant conditionals.
9625
9626 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
9627
9628         [BZ #16600]
9629         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9630
9631 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
9632
9633         * Versions.def (librt): Add GLIBC_2.17.
9634
9635 2014-02-21  Adam Conrad  <adconrad@0c3.net>
9636
9637         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9638         synonym for _SYS_AUXV_H to allow direct inclusion.
9639         * sysdeps/sparc/bits/hwcap.h: Likewise.
9640         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9641         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9642         * sysdeps/sparc/sysdep.h: Likewise.
9643
9644 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9645
9646         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9647
9648 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9649
9650         * benchtests/bench-strrchr.c: Print length instead of position.
9651
9652 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
9653
9654         [BZ #16611]
9655         * sysdeps/unix/sysv/linux/kernel-features.h
9656         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9657         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9658         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9659         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9660         Likewise.
9661         [__i386__ || __powerpc__ || __sh__ || __sparc__]
9662         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9663         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9664         (__ASSUME_SENDMMSG): Define instead of using previous
9665         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9666         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9667         (__ASSUME_SENDMMSG_SYSCALL): Define.
9668         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9669         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9670         Likewise.
9671         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9672         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9673         Likewise.
9674         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9675         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9676         Likewise.
9677         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9678         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9679         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9680         [__ASSUME_SENDMMSG]: Change conditionals to
9681         [__ASSUME_SENDMMSG_SOCKETCALL].
9682         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9683         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9684         Define.
9685         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9686         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9687         Likewise.
9688         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9689         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9690         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9691         [!__ASSUME_SENDMMSG]: Change conditional to
9692         [!__ASSUME_SENDMMSG_SOCKETCALL].
9693         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9694         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9695         Define.
9696
9697         [BZ #16610]
9698         * sysdeps/unix/sysv/linux/kernel-features.h
9699         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9700         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9701         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9702         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9703         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9704         [__i386__ || __sparc__]
9705         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9706         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9707         (__ASSUME_RECVMMSG): Define instead of using previous
9708         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9709         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9710         (__ASSUME_RECVMMSG_SYSCALL): Define.
9711         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9712         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9713         Likewise.
9714         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9715         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9716         Likewise.
9717         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9718         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9719         Likewise.
9720         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9721         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9722         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9723         [__ASSUME_RECVMMSG]: Change condition to
9724         [__ASSUME_RECVMMSG_SOCKETCALL].
9725         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9726         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9727         Define.
9728         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9729         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9730         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9731         Likewise.
9732         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9733         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9734         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9735         [!__ASSUME_RECVMMSG]: Change condition to
9736         [!__ASSUME_RECVMMSG_SOCKETCALL].
9737         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9738         (__ASSUME_RECVMMSG_SYSCALL): Define.
9739
9740         [BZ #16609]
9741         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9742         __powerpc__ || __s390__ || __sh__ || __sparc__]
9743         (__ASSUME_SOCKETCALL): Define.
9744         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9745         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9746         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9747         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9748         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9749         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9750         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9751         (__ASSUME_ACCEPT4): Define instead of using previous
9752         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9753         __powerpc__ || __sparc__ || __s390__)] condition.
9754         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9755         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9756         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9757         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9758         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9759         [!__ASSUME_ACCEPT4]: Change condition to
9760         [!__ASSUME_ACCEPT4_SOCKETCALL].
9761         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9762         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
9763         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9764         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9765         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9766         __ASSUME_ACCEPT4_SYSCALL.
9767         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9768         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9769         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9770         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9771         __ASSUME_ACCEPT4_SYSCALL.
9772         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9773         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9774         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9775         [__ASSUME_ACCEPT4]: Change condition to
9776         [__ASSUME_ACCEPT4_SOCKETCALL].
9777         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9778         (__ASSUME_SOCKETCALL): Define.
9779         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9780         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9781         (__ASSUME_SOCKETCALL): Define.
9782         (__ASSUME_ACCEPT4): Remove.
9783         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9784         Define.
9785         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9786         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9787         Likewise.
9788         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9789         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9790
9791         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9792         macro.
9793         (HWCAP_ARM_LPAE): Likewise.
9794         (HWCAP_ARM_EVTSTRM): Likewise.
9795         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9796         Add vpfd32, lpae and evtstrm.
9797         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9798         Increase to 22.
9799
9800 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
9801
9802         * math/auto-libm-test-in: Add tests of clog10.
9803         * math/auto-libm-test-out: Regenerated.
9804         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9805         * sysdeps/i386/fpu/libm-test-ulps: Update.
9806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9807
9808 2014-02-18  Andreas Schwab  <schwab@suse.de>
9809
9810         [BZ #16574]
9811         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9812         Store non-zero if the second buffer was newly allocated.
9813         (send_dg): Likewise.
9814         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9815         to send_vc and send_dg.
9816         (res_nsend): Pass NULL for ansp2_malloced.
9817         * resolv/res_query.c (__libc_res_nquery): Add parameter
9818         answerp2_malloced and pass it down to __libc_res_nsend.
9819         (res_nquery): Pass additional NULL to __libc_res_nquery.
9820         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9821         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
9822         second answer buffer if answerp2_malloced was set.
9823         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9824         (__libc_res_nquerydomain): Add parameter
9825         answerp2_malloced and pass it down to __libc_res_nquery.
9826         (res_nquerydomain): Pass additional NULL to
9827         __libc_res_nquerydomain.
9828         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9829         additional NULL to __libc_res_nsend and __libc_res_nquery.
9830         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9831         additional NULL to __libc_res_nsearch.
9832         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
9833         parameter of __libc_res_nsearch to check for separately allocated
9834         second buffer.
9835         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9836         __libc_res_nquery.
9837         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9838         additional NULL to __libc_res_nquery.
9839         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9840         __libc_res_nsearch.
9841         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9842         * include/resolv.h: Update prototypes of __libc_res_nquery,
9843         __libc_res_nsearch, __libc_res_nsend.
9844
9845 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
9846
9847         * math/auto-libm-test-in: Add tests of fma.
9848         * math/auto-libm-test-out: Regenerated.
9849         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9850         (fma_towardzero_test_data): Likewise.
9851         (fma_downward_test_data): Likewise.
9852         (fma_upward_test_data): Likewise.
9853         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9854         mpc_mode.
9855         (rounding_modes): Add values for new field.
9856         (func_calc_method): Add value mpfr_fff_f.
9857         (func_calc_desc): Add mpfr_fff_f union field.
9858         (test_function): Add field exact_args.
9859         (FUNC): Add macro argument EXACT_ARGS.
9860         (FUNC_mpfr_f_f): Update call to FUNC.
9861         (FUNC_mpfr_f_f): Likewise.
9862         (FUNC_mpfr_ff_f): Likewise.
9863         (FUNC_mpfr_if_f): Likewise.
9864         (FUNC_mpc_c_f): Likewise.
9865         (FUNC_mpc_c_c): Likewise.
9866         (test_functions): Add fma.  Update calls to FUNC.
9867         (handle_input_arg): Add argument exact_args.
9868         (add_test): Update call to handle_input_arg.
9869         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
9870         (output_for_one_input_case): Update call to calc_generic_results.
9871         Recalculate exact zero results in each rounding mode.
9872
9873         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9874         non-negative before setting low bit.
9875         * math/auto-libm-test-in: Mark one asin test possibly having
9876         spurious underflow.
9877         * math/auto-libm-test-out: Regenerated.
9878         * sysdeps/i386/fpu/libm-test-ulps: Update.
9879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9880
9881 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
9882
9883         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9884         * sysdeps/unix/sysv/linux/microblaze: Move directory from
9885         ports/sysdeps/unix/sysv/linux/microblaze.
9886         * README: Add missing listing for microblaze*-*-linux-gnu.
9887
9888 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
9889
9890         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
9891         duplicate code
9892
9893 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
9894
9895         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9896         * sysdeps/unix/sysv/linux/ia64: Move directory from
9897         ports/sysdeps/unix/sysv/linux/ia64.
9898         * README: Update listing for ia64-*-linux-gnu.
9899
9900 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
9901             Joseph Myers  <joseph@codesourcery.com>
9902
9903         * Makeconfig (test-name): New variable.
9904         (evaluate-test): Likewise.
9905         * Makerules (do-test-clean): Remove .test-result files.
9906         (common-mostlyclean): Likewise.
9907         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9908         * scripts/evaluate-test.sh: New file.
9909
9910 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
9911
9912         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9913         separate $(objpfx)tst-fopenloc-cmp.out and
9914         $(objpfx)tst-fopenloc-mem.out targets.
9915         (tests): Update dependencies.
9916         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9917         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9918         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9919         (tst-rxspencer-no-utf8-ARGS): New variable.
9920         (tst-rxspencer-no-utf8-ENV): Likewise.
9921         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9922         instead of $(objpfx)tst-rxspencer-mem.
9923         ($(objpfx)tst-rxspencer-mem): Change target to
9924         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
9925         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9926         * posix/tst-rxspencer-no-utf8.c: New file.
9927
9928         * elf/Makefile ($(objpfx)order.out): Remove rule.
9929         [$(run-built-tests) = yes] (tests): Depend on
9930         $(objpfx)order-cmp.out.
9931         ($(objpfx)order-cmp.out): New rule.
9932         [$(run-built-tests) = yes] (tests): Depend on
9933         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9934         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9935         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9936         $(objpfx)tst-array5-static-cmp.out.
9937         ($(objpfx)tst-array1.out): Remove rule.
9938         ($(objpfx)tst-array1-cmp.out): New rule.
9939         ($(objpfx)tst-array1-static.out): Remove rule.
9940         ($(objpfx)tst-array1-static-cmp.out): New rule.
9941         ($(objpfx)tst-array2.out): Remove rule.
9942         ($(objpfx)tst-array2-cmp.out): New rule.
9943         ($(objpfx)tst-array3.out): Remove rule.
9944         ($(objpfx)tst-array3-cmp.out): New rule.
9945         ($(objpfx)tst-array4.out): Remove rule.
9946         ($(objpfx)tst-array4-cmp.out): New rule.
9947         ($(objpfx)tst-array5.out): Remove rule.
9948         ($(objpfx)tst-array5-cmp.out): New rule.
9949         ($(objpfx)tst-array5-static.out): Remove rule.
9950         ($(objpfx)tst-array5-static-cmp.out): New rule.
9951         [$(run-built-tests) = yes] (tests): Depend on
9952         $(objpfx)order2-cmp.out.
9953         ($(objpfx)order2.out): Remove rule.
9954         ($(objpfx)order2-cmp.out): New rule.
9955         ($(objpfx)tst-initorder.out): Remove rule.
9956         [$(run-built-tests) = yes] (tests): Depend on
9957         $(objpfx)tst-initorder-cmp.out.
9958         ($(objpfx)tst-initorder-cmp.out): New rule.
9959         ($(objpfx)tst-initorder2.out): Remove rule.
9960         [$(run-built-tests) = yes] (tests): Depend on
9961         $(objpfx)tst-initorder2-cmp.out.
9962         ($(objpfx)tst-initorder2-cmp.out): New rule.
9963         [$(run-built-tests) = yes] (tests): Depend on
9964         $(objpfx)tst-unused-dep-cmp.out.
9965         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9966         ($(objpfx)tst-unused-dep-cmp.out): New rule.
9967         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9968         on $(objpfx)tst-setvbuf1-cmp.out.
9969         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9970         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9971         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9972         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9973         ($(objpfx)tst-svc.out): Remove rule.
9974         ($(objpfx)tst-svc-cmp.out): New rule.
9975
9976 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
9977
9978         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9979         * ctype/ctype.h [__USE_MISC]: Likewise.
9980         * dirent/dirent.h [__USE_MISC]: Likewise.
9981         * grp/grp.h [__USE_MISC]: Likewise.
9982         * io/fcntl.h [__USE_MISC]: Likewise.
9983         * io/sys/stat.h [__USE_MISC]: Likewise.
9984         * libio/stdio.h [__USE_MISC]: Likewise.
9985         * posix/unistd.h [__USE_MISC]: Likewise.
9986         * pwd/pwd.h [__USE_MISC]: Likewise.
9987         * stdlib.h [__USE_MISC]: Likewise.
9988         * string/bits/string2.h [__USE_MISC]: Likewise.
9989         * string/string.h [__USE_MISC]: Likewise.
9990         * time/time.h [__USE_MISC]: Likewise.
9991
9992 2014-02-13  Andreas Schwab  <schwab@suse.de>
9993
9994         [BZ #16574]
9995         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9996         second answer buffer if it was separately allocated.
9997
9998 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
9999
10000         * sysdeps/mips/math-tests.h: Include <features.h>.
10001         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10002         (ROUNDING_TESTS_long_double): Do not define.
10003         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10004         (EXCEPTION_TESTS_long_double): Likewise.
10005         * sysdeps/mips/mips64/libm-test-ulps: Update.
10006
10007         * include/features.h (__USE_BSD): Remove macro definitions.
10008         (__USE_SVID): Likewise.
10009         (_BSD_SOURCE): Likewise.
10010         (_SVID_SOURCE): Likewise.
10011         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10012         from definition of _DEFAULT_SOURCE.
10013         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10014         [_DEFAULT_SOURCE].
10015         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10016         * bits/mman.h [__USE_BSD]: Likewise.
10017         * bits/termios.h [__USE_BSD]: Likewise.
10018         * bits/waitstatus.h [__USE_BSD]: Likewise.
10019         * ctype/ctype.h [__USE_SVID]: Likewise.
10020         * dirent/dirent.h [__USE_BSD]: Likewise.
10021         * grp/grp.h [__USE_SVID]: Likewise.
10022         [__USE_BSD]: Likewise.
10023         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10024         * io/fcntl.h [__USE_BSD]: Likewise.
10025         * io/ftw.h [__USE_BSD]: Likewise.
10026         * io/sys/stat.h [__USE_BSD]: Likewise.
10027         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10028         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10029         * libio/stdio.h [__USE_SVID]: Likewise.
10030         [__USE_BSD]: Likewise.
10031         * math/math.h [__USE_SVID]: Likewise.
10032         [__USE_BSD]: Likewise.
10033         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10034         * misc/bits/syslog.h [__USE_BSD]: Likewise.
10035         * misc/search.h [__USE_SVID]: Likewise.
10036         * misc/sys/mman.h [__USE_BSD]: Likewise.
10037         * misc/sys/syslog.h [__USE_BSD]: Likewise.
10038         * misc/sys/uio.h [__USE_BSD]: Likewise.
10039         * posix/bits/unistd.h [__USE_BSD]: Likewise.
10040         * posix/glob.h [__USE_BSD]: Likewise.
10041         * posix/regex.h [__USE_BSD]: Likewise.
10042         * posix/sys/types.h [__USE_BSD]: Likewise.
10043         [__USE_SVID]: Likewise.
10044         * posix/sys/utsname.h [__USE_SVID]: Likewise.
10045         * posix/sys/wait.h [__USE_BSD]: Likewise.
10046         [__USE_SVID]: Likewise.
10047         * posix/unistd.h [__USE_BSD]: Likewise.
10048         [__USE_SVID]: Likewise.
10049         * pwd/pwd.h [__USE_SVID]: Likewise.
10050         * resolv/netdb.h [__USE_BSD]: Likewise.
10051         * setjmp/setjmp.h [__USE_BSD]: Likewise.
10052         * signal/signal.h [__USE_BSD]: Likewise.
10053         [__USE_SVID]: Likewise.
10054         * socket/sys/socket.h [__USE_BSD]: Likewise.
10055         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10056         * stdlib/stdlib.h [__USE_BSD]: Likewise.
10057         [__USE_SVID]: Likewise.
10058         * string/bits/string2.h [__USE_BSD]: Likewise.
10059         [__USE_SVID]: Likewise.
10060         * string/bits/string3.h [__USE_BSD]: Likewise.
10061         * string/endian.h [__USE_BSD]: Likewise.
10062         * string/string.h [__USE_SVID]: Likewise.
10063         [__USE_BSD]: Likewise.
10064         * string/strings.h [__USE_BSD]: Likewise.
10065         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10066         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10067         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10068         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10069         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10070         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10071         Likewise.
10072         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10073         Likewise.
10074         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10075         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10076         Likewise.
10077         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10078         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10079         Likewise.
10080         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10081         Likewise.
10082         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10083         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10084         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10085         Likewise.
10086         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10087         Likewise.
10088         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10089         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10090         * termios/termios.h [__USE_BSD]: Likewise.
10091         * time/sys/time.h [__USE_BSD]: Likewise.
10092         * time/time.h [__USE_BSD]: Likewise.
10093         [__USE_SVID]: Likewise.
10094
10095         * Makefile (subdir_targets): Remove subdir_lint.out.
10096
10097         * stdio-common/Makefile (do-tst-unbputc): Remove target.
10098         (do-tst-printf): Likewise.
10099         (tests): Depend directly on $(objpfx)tst-unbputc.out and
10100         $(objpfx)tst-printf.out.
10101
10102         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10103
10104         * Makerules (check-abi-%): Change target to
10105         $(objpfx)check-abi-%.out.
10106         (check-abi target): Update dependencies.
10107         (check-abi-pattern variable): Redirect output of diff to $@.
10108         (check-abi variable): Likewise.
10109         * elf/Makefile (check-abi): Update dependencies.
10110
10111         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10112         unused.
10113         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10114         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10115         subnormal range.
10116         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10117         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10118         value has largest subnormal exponent.
10119         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10120         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10121         * sysdeps/aarch64/soft-fp/sfp-machine.h
10122         (_FP_TININESS_AFTER_ROUNDING): New macro.
10123         * sysdeps/alpha/soft-fp/sfp-machine.h
10124         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10125         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10126         Likewise.
10127         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10128         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10129         * sysdeps/mips/soft-fp/sfp-machine.h
10130         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10131         * sysdeps/powerpc/soft-fp/sfp-machine.h
10132         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10133         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10134         Likewise.
10135         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10136         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10137         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10138         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10139         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10140         Likewise.
10141
10142 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
10143
10144         [BZ #16545]
10145         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10146         model 1.
10147
10148 2014-02-12  Richard Henderson  <rth@redhat.com>
10149
10150         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10151         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10152         * sysdeps/unix/sysv/linux/alpha: Move directory from
10153         ports/sysdeps/unix/sysv/linux/alpha.
10154         * README: Update listing for alpha-*-linux-gnu.
10155
10156 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
10157
10158         * include/features.h: Update comment documenting feature test
10159         macros.
10160         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
10161         _DEFAULT_SOURCE.
10162         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10163         (_SVID_SOURCE): Likewise.
10164         (_DEFAULT_SOURCE): Update description of default features.
10165         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10166         with _GNU_SOURCE.
10167         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10168         (S_ISVTX): Likewise.
10169         * manual/math.texi (Mathematical Constants): Likewise.
10170         * manual/signal.texi (Interrupted Primitives): Likewise.
10171         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10172         * math/test-matherr.c (_SVID_SOURCE): Do not define.
10173         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10174         Don't refer to _SVID_SOURCE in warning text.
10175
10176         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10177
10178         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10179         already defined.
10180         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10181         * sysdeps/mips/dl-lookup.c: Remove.
10182         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10183
10184 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10185
10186         [BZ #16447]
10187         * math/auto-libm-test-in: Add testcase for expl.
10188         * math/auto-libm-test-out: Regenerate.
10189         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10190         calculation of unsafe.
10191         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10192
10193 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10194
10195         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10196         * sysdeps/unix/sysv/linux/aarch64: Move directory from
10197         ports/sysdeps/unix/sysv/linux/aarch64.
10198         * README: Update listing for aarch64*-*-linux-gnu.
10199
10200 2014-02-11  Will Newton  <will.newton@linaro.org>
10201
10202         * manual/probes.texi (Mathematical Function Probes): Use
10203         "triggered" instead of "hit".
10204
10205         * manual/probes.texi (Internal Probes): Add documentation
10206         of setjmp, longjmp and longjmp_target probes.
10207
10208         * include/stap-probe.h: Add comment about probe argument
10209         format.
10210
10211         * malloc/mtrace.c (attribute_hidden): Remove unused macro
10212         definition.  (tr_where, tr_freehook, tr_mallochook,
10213         tr_reallochook, tr_memalignhook): Use ANSI protoype.
10214
10215 2014-02-11  David S. Miller  <davem@davemloft.net>
10216
10217         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10218         processing int_tests.
10219
10220 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
10221
10222         * sysdeps/mips: Move directory from ports/sysdeps/mips.
10223         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10224         * sysdeps/unix/sysv/linux/mips: Move directory from
10225         ports/sysdeps/unix/sysv/linux/mips.
10226         * README: Update listing for mips-*-linux-gnu and
10227         mips64-*-linux-gnu.
10228
10229 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
10230
10231         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10232         * sysdeps/unix/sysv/linux/m68k: Move directory from
10233         ports/sysdeps/unix/sysv/linux/m68k.
10234         * README: Update listing for m68k-*-linux-gnu.
10235
10236 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
10237
10238         * sysdeps/tile: Move directory from ports/sysdeps/tile.
10239         * sysdeps/unix/sysv/linux/generic: Move directory from
10240         ports/sysdeps/unix/sysv/linux/generic.
10241         * sysdeps/unix/sysv/linux/tile: Move directory from
10242         ports/sysdeps/unix/sysv/linux/tile.
10243         * README: Update listing for tile*-*-linux-gnu.
10244
10245 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
10246
10247         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10248         __builtin_expect.
10249         * benchtests/bench-memmem.c (simple_memmem): Likewise.
10250         * catgets/open_catalog.c (__open_catalog): Likewise.
10251         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10252         * debug/confstr_chk.c: Likewise.
10253         * debug/fread_chk.c (__fread_chk): Likewise.
10254         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10255         * debug/getgroups_chk.c: Likewise.
10256         * debug/mbsnrtowcs_chk.c: Likewise.
10257         * debug/mbsrtowcs_chk.c: Likewise.
10258         * debug/mbstowcs_chk.c: Likewise.
10259         * debug/memcpy_chk.c: Likewise.
10260         * debug/memmove_chk.c: Likewise.
10261         * debug/mempcpy_chk.c: Likewise.
10262         * debug/memset_chk.c: Likewise.
10263         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10264         * debug/strcat_chk.c (__strcat_chk): Likewise.
10265         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10266         * debug/strncat_chk.c (__strncat_chk): Likewise.
10267         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10268         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10269         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10270         * debug/wcpncpy_chk.c: Likewise.
10271         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10272         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10273         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10274         * debug/wcsncpy_chk.c: Likewise.
10275         * debug/wcsnrtombs_chk.c: Likewise.
10276         * debug/wcsrtombs_chk.c: Likewise.
10277         * debug/wcstombs_chk.c: Likewise.
10278         * debug/wmemcpy_chk.c: Likewise.
10279         * debug/wmemmove_chk.c: Likewise.
10280         * debug/wmempcpy_chk.c: Likewise.
10281         * debug/wmemset_chk.c: Likewise.
10282         * dirent/scandirat.c (SCANDIRAT): Likewise.
10283         * dlfcn/dladdr1.c (dladdr1): Likewise.
10284         * dlfcn/dladdr.c (dladdr): Likewise.
10285         * dlfcn/dlclose.c (dlclose_doit): Likewise.
10286         * dlfcn/dlerror.c (__dlerror): Likewise.
10287         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10288         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10289         * dlfcn/dlopen.c (dlopen_doit): Likewise.
10290         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10291         * dlfcn/dlsym.c (dlsym_doit): Likewise.
10292         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10293         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10294         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10295         Likewise.
10296         * elf/dl-conflict.c: Likewise.
10297         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10298         * elf/dl-dst.h: Likewise.
10299         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10300         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10301         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10302         * elf/dl-init.c (call_init, _dl_init): Likewise.
10303         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10304         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10305         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10306         Likewise.
10307         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10308         Likewise.
10309         * elf/dl-minimal.c (__libc_memalign): Likewise.
10310         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10311         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10312         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10313         * elf/dl-sym.c (do_sym): Likewise.
10314         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10315         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10316         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10317         * elf/dl-writev.h (_dl_writev): Likewise.
10318         * elf/ldconfig.c (search_dir): Likewise.
10319         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10320         (dl_main): Likewise.
10321         * elf/setup-vdso.h (setup_vdso): Likewise.
10322         * grp/compat-initgroups.c (compat_call): Likewise.
10323         * grp/fgetgrent.c (fgetgrent): Likewise.
10324         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10325         * grp/putgrent.c (putgrent): Likewise.
10326         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10327         Likewise.
10328         * hurd/hurdinit.c: Likewise.
10329         * iconvdata/8bit-gap.c (struct): Likewise.
10330         * iconvdata/ansi_x3.110.c : Likewise.
10331         * iconvdata/big5.c : Likewise.
10332         * iconvdata/big5hkscs.c : Likewise.
10333         * iconvdata/cp1255.c: Likewise.
10334         * iconvdata/cp1258.c : Likewise.
10335         * iconvdata/cp932.c : Likewise.
10336         * iconvdata/euc-cn.c: Likewise.
10337         * iconvdata/euc-jisx0213.c : Likewise.
10338         * iconvdata/euc-jp.c: Likewise.
10339         * iconvdata/euc-jp-ms.c : Likewise.
10340         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10341         * iconvdata/gb18030.c : Likewise.
10342         * iconvdata/gbbig5.c (const): Likewise.
10343         * iconvdata/gbgbk.c: Likewise.
10344         * iconvdata/gbk.c : Likewise.
10345         * iconvdata/ibm1364.c : Likewise.
10346         * iconvdata/ibm930.c : Likewise.
10347         * iconvdata/ibm932.c: Likewise.
10348         * iconvdata/ibm933.c : Likewise.
10349         * iconvdata/ibm935.c : Likewise.
10350         * iconvdata/ibm937.c : Likewise.
10351         * iconvdata/ibm939.c : Likewise.
10352         * iconvdata/ibm943.c: Likewise.
10353         * iconvdata/iso_11548-1.c: Likewise.
10354         * iconvdata/iso-2022-cn.c : Likewise.
10355         * iconvdata/iso-2022-cn-ext.c : Likewise.
10356         * iconvdata/iso-2022-jp-3.c: Likewise.
10357         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10358         * iconvdata/iso-2022-kr.c : Likewise.
10359         * iconvdata/iso646.c (gconv_end): Likewise.
10360         * iconvdata/iso_6937-2.c : Likewise.
10361         * iconvdata/iso_6937.c : Likewise.
10362         * iconvdata/iso8859-1.c: Likewise.
10363         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10364         * iconvdata/shift_jisx0213.c : Likewise.
10365         * iconvdata/sjis.c : Likewise.
10366         * iconvdata/t.61.c : Likewise.
10367         * iconvdata/tcvn5712-1.c : Likewise.
10368         * iconvdata/tscii.c: Likewise.
10369         * iconvdata/uhc.c : Likewise.
10370         * iconvdata/unicode.c (gconv_end): Likewise.
10371         * iconvdata/utf-16.c (gconv_end): Likewise.
10372         * iconvdata/utf-32.c (gconv_end): Likewise.
10373         * iconvdata/utf-7.c (base64): Likewise.
10374         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10375         * iconv/gconv_close.c (__gconv_close): Likewise.
10376         * iconv/gconv_open.c (__gconv_open): Likewise.
10377         * iconv/gconv_simple.c (internal_ucs4_loop_single)
10378         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10379         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10380         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10381         (ucs4le_internal_loop_single): Likewise.
10382         * iconv/iconv.c (iconv): Likewise.
10383         * iconv/iconv_close.c: Likewise.
10384         * iconv/loop.c (SINGLE): Likewise.
10385         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10386         * include/atomic.h: Likewise.
10387         * inet/inet6_option.c (option_alloc): Likewise.
10388         * intl/bindtextdom.c (set_binding_values): Likewise.
10389         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10390         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10391         * intl/localealias.c (read_alias_file): Likewise.
10392         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10393         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10394         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10395         * libio/fmemopen.c (fmemopen): Likewise.
10396         * libio/iofgets.c (_IO_fgets): Likewise.
10397         * libio/iofgets_u.c (fgets_unlocked): Likewise.
10398         * libio/iofgetws.c (fgetws): Likewise.
10399         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10400         * libio/iogetdelim.c (_IO_getdelim): Likewise.
10401         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10402         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10403         * locale/findlocale.c (_nl_find_locale): Likewise.
10404         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10405         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10406         Likewise.
10407         * locale/setlocale.c (setlocale): Likewise.
10408         * login/programs/pt_chown.c (main): Likewise.
10409         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10410         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10411         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10412         (mmap, mmap64, mremap, munmap): Likewise.
10413         * math/e_exp2l.c: Likewise.
10414         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10415         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10416         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10417         * math/s_catan.c (__catan): Likewise.
10418         * math/s_catanf.c (__catanf): Likewise.
10419         * math/s_catanh.c (__catanh): Likewise.
10420         * math/s_catanhf.c (__catanhf): Likewise.
10421         * math/s_catanhl.c (__catanhl): Likewise.
10422         * math/s_catanl.c (__catanl): Likewise.
10423         * math/s_ccosh.c (__ccosh): Likewise.
10424         * math/s_ccoshf.c (__ccoshf): Likewise.
10425         * math/s_ccoshl.c (__ccoshl): Likewise.
10426         * math/s_cexp.c (__cexp): Likewise.
10427         * math/s_cexpf.c (__cexpf): Likewise.
10428         * math/s_cexpl.c (__cexpl): Likewise.
10429         * math/s_clog10.c (__clog10): Likewise.
10430         * math/s_clog10f.c (__clog10f): Likewise.
10431         * math/s_clog10l.c (__clog10l): Likewise.
10432         * math/s_clog.c (__clog): Likewise.
10433         * math/s_clogf.c (__clogf): Likewise.
10434         * math/s_clogl.c (__clogl): Likewise.
10435         * math/s_csin.c (__csin): Likewise.
10436         * math/s_csinf.c (__csinf): Likewise.
10437         * math/s_csinh.c (__csinh): Likewise.
10438         * math/s_csinhf.c (__csinhf): Likewise.
10439         * math/s_csinhl.c (__csinhl): Likewise.
10440         * math/s_csinl.c (__csinl): Likewise.
10441         * math/s_csqrt.c (__csqrt): Likewise.
10442         * math/s_csqrtf.c (__csqrtf): Likewise.
10443         * math/s_csqrtl.c (__csqrtl): Likewise.
10444         * math/s_ctan.c (__ctan): Likewise.
10445         * math/s_ctanf.c (__ctanf): Likewise.
10446         * math/s_ctanh.c (__ctanh): Likewise.
10447         * math/s_ctanhf.c (__ctanhf): Likewise.
10448         * math/s_ctanhl.c (__ctanhl): Likewise.
10449         * math/s_ctanl.c (__ctanl): Likewise.
10450         * math/w_pow.c: Likewise.
10451         * math/w_powf.c: Likewise.
10452         * math/w_powl.c: Likewise.
10453         * math/w_scalb.c (sysv_scalb): Likewise.
10454         * math/w_scalbf.c (sysv_scalbf): Likewise.
10455         * math/w_scalbl.c (sysv_scalbl): Likewise.
10456         * misc/error.c (error_tail): Likewise.
10457         * misc/pselect.c (__pselect): Likewise.
10458         * nis/nis_callback.c (__nis_create_callback): Likewise.
10459         * nis/nis_call.c (__nisfind_server): Likewise.
10460         * nis/nis_creategroup.c (nis_creategroup): Likewise.
10461         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10462         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10463         * nis/nis_getservlist.c (nis_getservlist): Likewise.
10464         * nis/nis_lookup.c (nis_lookup): Likewise.
10465         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10466         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10467         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10468         * nis/nis_xdr.c (xdr_endpoint): Likewise.
10469         * nis/nss_compat/compat-grp.c (getgrent_next_file)
10470         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10471         * nis/nss_compat/compat-initgroups.c (add_group)
10472         (internal_getgrent_r): Likewise.
10473         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10474         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10475         * nis/nss_compat/compat-spwd.c (getspent_next_file)
10476         (internal_getspnam_r): Likewise.
10477         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10478         (_nss_nis_getaliasbyname_r): Likewise.
10479         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10480         (_nss_nis_getntohost_r): Likewise.
10481         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10482         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10483         (_nss_nis_getgrgid_r): Likewise.
10484         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10485         (internal_nis_gethostent_r, internal_gethostbyname2_r)
10486         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10487         (_nss_nis_gethostbyname4_r): Likewise.
10488         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10489         (initgroups_netid): Likewise.
10490         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10491         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10492         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10493         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10494         (_nss_nis_getprotobynumber_r): Likewise.
10495         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10496         (_nss_nis_getsecretkey): Likewise.
10497         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10498         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10499         (_nss_nis_getpwuid_r): Likewise.
10500         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10501         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10502         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10503         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10504         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10505         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10506         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10507         Likewise.
10508         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10509         (_nss_nisplus_getntohost_r): Likewise.
10510         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10511         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10512         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10513         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10514         Likewise.
10515         * nis/nss_nisplus/nisplus-initgroups.c
10516         (_nss_nisplus_initgroups_dyn): Likewise.
10517         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10518         (_nss_nisplus_getnetbyaddr_r): Likewise.
10519         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10520         (_nss_nisplus_getprotobynumber_r): Likewise.
10521         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10522         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10523         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10524         Likewise.
10525         * nis/nss_nisplus/nisplus-service.c
10526         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10527         (_nss_nisplus_getservbyport_r): Likewise.
10528         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10529         (_nss_nisplus_getspnam_r): Likewise.
10530         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10531         Likewise.
10532         * nscd/aicache.c (addhstaiX): Likewise.
10533         * nscd/cache.c (cache_search, prune_cache): Likewise.
10534         * nscd/connections.c (register_traced_file, send_ro_fd)
10535         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10536         (main_loop_epoll): Likewise.
10537         * nscd/grpcache.c (addgrbyX): Likewise.
10538         * nscd/hstcache.c (addhstbyX): Likewise.
10539         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10540         * nscd/mem.c (gc, mempool_alloc): Likewise.
10541         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10542         (addinnetgrX): Likewise.
10543         * nscd/nscd-client.h (__nscd_acquire_maplock)
10544         (__nscd_drop_map_ref): Likewise.
10545         * nscd/nscd_getai.c (__nscd_getai): Likewise.
10546         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10547         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10548         Likewise.
10549         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10550         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10551         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10552         (__nscd_get_map_ref): Likewise.
10553         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10554         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10555         Likewise.
10556         * nscd/pwdcache.c (addpwbyX): Likewise.
10557         * nscd/selinux.c (preserve_capabilities): Likewise.
10558         * nscd/servicescache.c (addservbyX): Likewise.
10559         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10560         * posix/fnmatch.c (fnmatch): Likewise.
10561         * posix/getopt.c (_getopt_internal_r): Likewise.
10562         * posix/glob.c (glob, glob_in_dir): Likewise.
10563         * posix/wordexp.c (exec_comm_child): Likewise.
10564         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10565         (getanswer_r, gaih_getanswer_slice): Likewise.
10566         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10567         * resolv/res_init.c: Likewise.
10568         * resolv/res_mkquery.c (res_nmkquery): Likewise.
10569         * resolv/res_query.c (__libc_res_nquery): Likewise.
10570         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10571         Likewise.
10572         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10573         * stdio-common/perror.c (perror): Likewise.
10574         * stdio-common/printf_fp.c (___printf_fp): Likewise.
10575         * stdio-common/tmpnam.c (tmpnam): Likewise.
10576         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10577         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10578         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10579         Likewise.
10580         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10581         * stdlib/putenv.c (putenv): Likewise.
10582         * stdlib/setenv.c (__add_to_environ): Likewise.
10583         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10584         * stdlib/strtol_l.c (INTERNAL): Likewise.
10585         * string/memmem.c (memmem): Likewise.
10586         * string/strerror.c (strerror): Likewise.
10587         * string/strnlen.c (__strnlen): Likewise.
10588         * string/test-memmem.c (simple_memmem): Likewise.
10589         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10590         * sunrpc/pm_getport.c (__get_socket): Likewise.
10591         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10592         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10593         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10594         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10595         Likewise.
10596         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10597         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10598         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10599         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10600         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10601         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10602         Likewise.
10603         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10604         Likewise.
10605         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10606         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10607         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10608         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10609         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10610         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10611         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10612         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10613         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10614         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10615         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10616         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10617         Likewise.
10618         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10619         Likewise.
10620         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10621         Likewise.
10622         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10623         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10624         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10625         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10626         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10627         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10628         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10629         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10630         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10631         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10632         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10633         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10634         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10635         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10636         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10637         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10638         Likewise.
10639         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10640         Likewise.
10641         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10642         Likewise.
10643         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10644         Likewise.
10645         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10646         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10647         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10648         Likewise.
10649         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10650         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10651         * sysdeps/posix/opendir.c (__opendirat): Likewise.
10652         * sysdeps/posix/sleep.c: Likewise.
10653         * sysdeps/posix/tempname.c: Likewise.
10654         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10655         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10656         Likewise.
10657         * sysdeps/powerpc/powerpc32/dl-machine.h
10658         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10659         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10660         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10661         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10662         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10663         Likewise.
10664         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10665         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10666         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10667         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10668         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10669         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10670         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10671         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10672         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10673         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10674         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10675         (elf_machine_lazy_rel): Likewise.
10676         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10677         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10678         (elf_machine_lazy_rel): Likewise.
10679         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10680         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10681         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10682         * sysdeps/unix/grantpt.c (grantpt): Likewise.
10683         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10684         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10685         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10686         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10687         Likewise.
10688         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10689         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10690         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10691         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10692         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10693         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10694         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10695         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10696         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10697         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10698         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10699         Likewise.
10700         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10701         (__posix_fallocate64_l64): Likewise.
10702         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10703         (posix_fallocate): Likewise.
10704         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10705         Likewise.
10706         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10707         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10708         (getifaddrs_internal): Likewise.
10709         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10710         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10711         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10712         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10713         * sysdeps/unix/sysv/linux/posix_fallocate64.c
10714         (__posix_fallocate64_l64): Likewise.
10715         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10716         Likewise.
10717         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
10718         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10719         (__get_clockfreq): Likewise.
10720         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10721         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10722         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10723         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10724         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10725         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10726         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10727         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10728         Likewise.
10729         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10730         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10731         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10732         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10733         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10734         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10735         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10736         Likewise.
10737         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10738         (posix_fallocate): Likewise.
10739         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10740         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10741         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
10742         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10743         (elf_machine_rela, elf_machine_rela_relative)
10744         (elf_machine_lazy_rel): Likewise.
10745         * time/asctime.c (asctime_internal): Likewise.
10746         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10747         * time/tzset.c (__tzset_parse_tz): Likewise.
10748         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10749         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10750         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10751         * wcsmbs/wcsmbsload.h: Likewise.
10752
10753         [BZ #15894]
10754         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10755
10756         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10757         (arena_get2): Remove THREAD_STATS conditionals.
10758         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10759         (__malloc_stats, int): Likewise.
10760
10761 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
10762
10763         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10764         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
10765
10766         * manual/setjmp.texi: Fix typos/grammar errors.
10767
10768         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10769         Only return early when n is <= 0.  Delete unused return statement.
10770
10771         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10772         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10773         * debug/tst-longjmp_chk3.c: New file.
10774
10775         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10776         (test_main): Replace code with set_fortify_handler call.
10777         * debug/test-strcpy_chk.c: Likewise.
10778         * debug/tst-chk1.c: Likewise.
10779         * debug/tst-longjmp_chk.c: Likewise.
10780         * test-skeleton.c: Include fcntl.h & paths.h
10781         (set_fortify_handler): Define.
10782
10783         * debug/tst-longjmp_chk.c: Add header comment and include
10784         ../test-skeleton.c.
10785         (do_test): Mark static.
10786         (TEST_FUNCTION): Define.
10787
10788         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10789         (IP_PMTUDISC_INTERFACE): Likewise.
10790         (IP_MULTICAST_IF): Likewise.
10791         (IP_MULTICAST_TTL): Likewise.
10792         (IP_MULTICAST_LOOP): Likewise.
10793         (IP_ADD_MEMBERSHIP): Likewise.
10794         (IP_DROP_MEMBERSHIP): Likewise.
10795         (IP_UNBLOCK_SOURCE): Likewise.
10796         (IP_BLOCK_SOURCE): Likewise.
10797         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10798         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10799         (IP_MSFILTER): Likewise.
10800         (MCAST_JOIN_GROUP): Likewise.
10801         (MCAST_BLOCK_SOURCE): Likewise.
10802         (MCAST_UNBLOCK_SOURCE): Likewise.
10803         (MCAST_LEAVE_GROUP): Likewise.
10804         (MCAST_JOIN_SOURCE_GROUP): Likewise.
10805         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10806         (MCAST_MSFILTER): Likewise.
10807         (IP_MULTICAST_ALL): Likewise.
10808         (IP_UNICAST_IF): Likewise.
10809
10810         * timezone/Makefile: Delete $(have-ksh) check.
10811         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10812         * timezone/tzselect.ksh: Add +x mode bits.
10813
10814         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10815         (ANON_INODE_FS_MAGIC): Likewise.
10816         (BDEVFS_MAGIC): Likewise.
10817         (BINFMTFS_MAGIC): Likewise.
10818         (BTRFS_TEST_MAGIC): Likewise.
10819         (CRAMFS_MAGIC_WEND): Likewise.
10820         (DEBUGFS_MAGIC): Likewise.
10821         (ECRYPTFS_SUPER_MAGIC): Likewise.
10822         (EXT3_SUPER_MAGIC): Likewise.
10823         (EXT4_SUPER_MAGIC): Likewise.
10824         (FUTEXFS_SUPER_MAGIC): Likewise.
10825         (HOSTFS_SUPER_MAGIC): Likewise.
10826         (HUGETLBFS_MAGIC): Likewise.
10827         (MINIX3_SUPER_MAGIC): Likewise.
10828         (MTD_INODE_FS_MAGIC): Likewise.
10829         (NILFS_SUPER_MAGIC): Likewise.
10830         (OPENPROM_SUPER_MAGIC): Likewise.
10831         (PIPEFS_MAGIC): Likewise.
10832         (PSTOREFS_MAGIC): Likewise.
10833         (QNX6_SUPER_MAGIC): Likewise.
10834         (RAMFS_MAGIC): Likewise.
10835         (REISERFS_SUPER_MAGIC_STRING): Likewise.
10836         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10837         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10838         (SECURITYFS_MAGIC): Likewise.
10839         (SELINUX_MAGIC): Likewise.
10840         (SMACK_MAGIC): Likewise.
10841         (SOCKFS_MAGIC): Likewise.
10842         (SQUASHFS_MAGIC): Likewise.
10843         (STACK_END_MAGIC): Likewise.
10844         (TMPFS_MAGIC): Likewise.
10845         (USBDEVICE_SUPER_MAGIC): Likewise.
10846         (V9FS_MAGIC): Likewise.
10847         (XENFS_SUPER_MAGIC): Likewise.
10848         (CRAMFS_MAGIC): Fix typo in comment.
10849         (EXT2_SUPER_MAGIC): Update comment.
10850         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10851
10852 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
10853
10854         * sysdeps/arm: Move directory from ports/sysdeps/arm.
10855         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10856         * sysdeps/unix/sysv/linux/arm: Move directory from
10857         ports/sysdeps/unix/sysv/linux/arm.
10858         * README: Update listing for arm-*-linux-gnueabi.
10859
10860         * README: Remove mention of am33.
10861
10862 2014-02-07  Roland McGrath  <roland@hack.frob.com>
10863
10864         * bits/sigset.h (__sigemptyset): Use a statement expression rather
10865         than the comma operator, to avoid "rhs of comma has no effect"
10866         compiler warnings.
10867         (__sigfillset, __sigandset, __sigorset): Likewise.
10868         * include/signal.h (__sigemptyset): Likewise.
10869         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10870
10871 2014-02-07  Allan McRae  <allan@archlinux.org>
10872
10873         * version.h (RELEASE): Set to "development".
10874         (VERSION): Set to "2.19.90"
10875         * NEWS: Add 2.20 section.
10876
10877 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
10878
10879         [BZ #16529]
10880         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10881
10882 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10883
10884         * manual/contrib.texi: Update entry for Carlos O'Donell,
10885         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10886
10887 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
10888
10889         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10890
10891         * sysdeps/unix/sysv/linux/kernel-features.h
10892         [__LINUX_KERNEL_VERSION >= 0x020621]
10893         (__ASSUME_PROC_PID_TASK_COMM): Define.
10894
10895 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10896
10897         [BZ #16398]
10898         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10899         conversion when destination buffer does not have enough space.
10900         * libio/tst-ftell-partial-wide.c: New test case.
10901         * libio/Makefile (tests): Add tst-ftell-partial-wide.
10902
10903         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10904         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
10905         Leonard and Allan McRae.
10906
10907 2014-02-04  David S. Miller  <davem@davemloft.net>
10908
10909         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10910         32-bit.
10911
10912 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10913
10914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10915         New file
10916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10917         New file
10918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10919         New file.
10920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10921         New file.
10922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10923         New file.
10924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10925         New file.
10926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10927         New file.
10928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10929         New file.
10930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10931         New file.
10932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10933         New file.
10934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10935         New file.
10936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10937         New file.
10938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10939         New file.
10940
10941 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10942
10943         * nptl/shlib-versions: Change powerpc*le start to 2.17.
10944         * shlib-versions: Likewise.
10945
10946 2014-02-04  Roland McGrath  <roland@hack.frob.com>
10947             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10948
10949         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10950         (abilist-pattern): New variable, set to %-le.abilist.
10951
10952         * Makerules (abilist-pattern): New variable.
10953         (vpath): Use $(abilist-pattern) in place of %.abilist.
10954         (check-abi-% pattern rule): Likewise.
10955         (check-abi, update-abi): Likewise.
10956
10957 2014-02-04  Eric Wong  <normalperson@yhbt.net>
10958
10959         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10960
10961 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
10962
10963         * manual/startup.texi: Add next, previous, and top entries for
10964         the `Program Arguments' and `Environment Variables' nodes.
10965
10966 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
10967
10968         * manual/macros.texi: Add comments before MTASC-safety macros.
10969
10970         * manual/users.texi: Document MTASC-safety properties.
10971
10972         * manual/threads.texi (pthread_key_create, pthread_key_delete)
10973         (pthread_getspecific, pthread_setspecific): Format with
10974         @deftypefun, and add @safety note.
10975         * manual/signal.texi: Move comments that analyze the above
10976         functions to their home place.
10977
10978 2014-02-03  Allan McRae  <allan@archlinux.org>
10979
10980         * po/sl.po: Update Slovenian translation from translation project.
10981
10982 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
10983
10984         * manual/time.texi (timegm): Add missing blank after @c.
10985         Reported by Joseph Myers <joseph@codesourcery.com>.
10986
10987 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
10988
10989         * manual/check-safety.sh: New.
10990         * manual/Makefile ($(objpfx)stamp-summary): Run it.
10991
10992         * manual/terminal.texi: Document MTASC-safety properties.
10993
10994         * manual/filesys.texi: Document MTASC-safety properties.
10995
10996         * manual/errno.texi: Document MTASC-safety properties.
10997
10998         * manual/intro.texi: Document safety identifiers and
10999         conditionals.
11000
11001         * manual/string.texi (wcstok): Fix prototype.
11002         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11003
11004         * manual/time.texi: Document MTASC-safety properties.
11005
11006         * manual/string.texi: Document MTASC-safety properties.
11007
11008         * manual/threads.texi: Document MTASC-safety properties.
11009
11010         * manual/stdio.texi: Document MTASC-safety properties.
11011
11012         * manual/syslog.texi: Document MTASC-safety properties.
11013
11014         * manual/sysinfo.texi: Document MTASC-safety properties.
11015
11016         * manual/startup.texi: Document MTASC-safety properties.
11017
11018         * manual/socket.texi: Document MTASC-safety properties.
11019
11020         * manual/signal.texi: Document MTASC-safety properties.
11021
11022 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
11023
11024         * manual/setjmp.texi: Document MTASC-safety properties.
11025
11026         * manual/search.texi: Document MTASC-safety properties.
11027
11028         * manual/resource.texi: Document MTASC-safety properties.
11029
11030         * manual/process.texi: Document MTASC-safety properties.
11031
11032         * manual/platform.texi: Document MTASC-safety properties.
11033
11034         * manual/pipe.texi: Document MTASC-safety properties.
11035
11036         * manual/pattern.texi: Document MTASC-safety properties.
11037
11038         * manual/message.texi: Document MTASC-safety properties.
11039
11040         [BZ #12751]
11041         * manual/memory.texi: Document MTASC-safety properties.
11042
11043         * manual/math.texi: Document MTASC-safety properties.
11044
11045         * manual/locale.texi: Document MTASC-safety properties.
11046
11047         * manual/llio.texi: Document MTASC-safety properties.
11048
11049         * manual/libdl.texi: New.
11050
11051         * manual/lang.texi: Document MTASC-safety properties.
11052
11053         * manual/job.texi: Document MTASC-safety properties.
11054
11055         * manual/getopt.texi: Document MTASC-safety properties.
11056
11057         * manual/ctype.texi: Document MTASC-safety properties.
11058
11059 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
11060
11061         [BZ #16046]
11062         * csu/libc-tls.c (static_map): Remove variable.
11063         (__libc_setup_tls): Use main executable's link map for TLS data.
11064         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11065         casing for LM_ID_BASE and GL(dl_nns).
11066         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11067         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
11068         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11069         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11070         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11071         member.
11072         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11073         l_phnum members.
11074
11075 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
11076
11077         * manual/debug.texi: Document MTASC-safety properties.
11078
11079 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
11080
11081         [BZ #16510]
11082         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11083         of __x86_64__ when disabling x87 inline functions.
11084
11085 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
11086
11087         * manual/charset.texi: Document MTASC-safety properties.
11088
11089         * manual/crypt.texi: Document MTASC-safety properties.
11090
11091         * manual/conf.texi: Document MTASC-safety properties.
11092
11093         * manual/arith.texi: Document MTASC-safety properties.
11094
11095         * manual/argp.texi: Document MTASC-safety properties.
11096
11097         * manual/macros.texi: Introduce macros to document multi
11098         thread, asynchronous signal and asynchronous cancellation
11099         safety properties.
11100         * manual/intro.texi: Introduce the properties themselves.
11101
11102 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11103
11104         * sysdeps/sh/sh4/Makefile: New file.
11105
11106 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
11107
11108         * math/gen-libm-test.pl ($srcdir): New variable.
11109         ($auto_input): Use it.
11110
11111 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11112
11113         [BZ #16506]
11114         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11115         access beyond array bounds when parsing netgroups file.
11116
11117         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11118         the old buffer before realloc.
11119
11120 2014-01-27  Allan McRae  <allan@archlinux.org>
11121
11122         * po/fr.po: Update French translation from translation project.
11123
11124 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11125
11126         * sysdeps/sh/libm-test-ulps: Regenerate.
11127
11128 2014-01-24  David S. Miller  <davem@davemloft.net>
11129
11130         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11131
11132 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11133
11134         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11135         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11136
11137 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11138
11139         [BZ #16474]
11140         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11141         string pointers after reallocation.
11142
11143 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11144
11145         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11146         __SH4A__ instead of __SH_FPU_ANY__.
11147
11148 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11149
11150         * sysdeps/sh/fpu_control.h: New file.
11151         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11152         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11153         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11154         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11155         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11156         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11157         * sysdeps/sh/sys/ucontext.h: Remove.
11158         * sysdeps/sh/sys: Remove directory.
11159
11160 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11161
11162         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11163         s390/sys/ucontext.h.
11164         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11165         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11166
11167 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
11168
11169         [BZ #15605]
11170         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11171
11172 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11173
11174         [BZ#16431]
11175         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11176         Adjust the vDSO correctly for internal calls.
11177         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11178
11179 2014-01-20  Allan McRae  <allan@archlinux.org>
11180
11181         * po/ca.po: Update Catalan translation from translation project.
11182
11183 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
11184
11185         * sysdeps/s390/sotruss-lib.c: New file.
11186
11187 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11188
11189         [BZ#16430]
11190         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11191         (__GI___gettimeofday): Alias for a different internal symbol to avoid
11192         local calls issues by not having a PLT stub required for IFUNC calls.
11193         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11194
11195 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
11196
11197         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11198         * math/test-fpucw-static.c: Likewise.
11199
11200 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11201
11202         [BZ #16453]
11203         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11204
11205 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11206
11207         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11208         implementation for powerpc.
11209
11210 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
11211
11212         [BZ #14782]
11213         * sysdeps/posix/system.c (__libc_system): Do not enable
11214         asynchronous cancellation.
11215
11216 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11217
11218         [BZ #16427]
11219         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11220         handling only for numbers special also in the IEEE case.
11221
11222 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11223
11224         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11225
11226 2014-01-11  Allan McRae  <allan@archlinux.org>
11227
11228         * po/bg.po: Update Bulgarian translation from translation project.
11229
11230         * po/de.po: Update German translation from translation project.
11231
11232 2014-01-10  Roland McGrath  <roland@hack.frob.com>
11233
11234         * sysdeps/generic/gcc-compat.h: New file.
11235
11236 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11237
11238         * benchtests/asin-inputs: Correct slow inputs.
11239         * benchtests/acos-inputs: Likewise.
11240
11241 2014-01-10  Allan McRae  <allan@archlinux.org>
11242
11243         * po:sv.po: Update Swedish translation from translation project.
11244
11245         * po/vi.po: Update Vietnamese translation from translation project.
11246
11247         * po/eo.po: Update Esperanto translation from translation project.
11248
11249         * po/cs.po: Update Czech translation from translation project.
11250
11251         * po/nl.po: Update Dutch translation from translation project.
11252
11253         * po/pl.po: Update Polish translation from translation project.
11254
11255         * po/ru.po: Update Russian translation from translation project.
11256
11257         * po/uk.po: Update Ukrainian translation from translation project.
11258
11259 2014-01-08  Brooks Moses  <bmoses@google.com>
11260
11261         * elf/dl-load.c: Fix comment typo.
11262
11263 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
11264
11265         * po/header.pot: Rename to...
11266         * po/pot.header: ... this.
11267         * po/Makefile: Use pot.header.
11268
11269 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
11270             Maxim Kuvyrkov  <maxim@kugelworks.com>
11271
11272         [BZ #16394]
11273         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11274         SRC and DEST against LEN.
11275
11276 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11277
11278         [BZ #16414]
11279         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11280         implementation.
11281         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11282
11283 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11284
11285         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11286
11287 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
11288
11289         [BZ #16408]
11290         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11291         for large positive arguments.
11292
11293 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
11294
11295         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11296
11297         * math/auto-libm-test-in: Mark various tests with
11298         xfail-rounding:ldbl-128ibm.
11299         * math/auto-libm-test-out: Regenerated.
11300
11301         [BZ #16407]
11302         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11303         Increase overflow threshold.
11304
11305 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
11306
11307         [BZ #14286]
11308         * stdio-common/vfprintf.c: Check for integer overflow.
11309
11310 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11311
11312         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11313         the first argument and return value of __tls_get_addr_internal.
11314
11315 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11316
11317         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11318         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11319
11320 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11321
11322         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11323         * sysdeps/s390/rtld-global-offsets.sym: New file.
11324         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11325         GLIBC_2.19 symbol.
11326         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11327         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11328         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11329         ... this.
11330         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11331         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11332         ... this.
11333         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11334         Regenerate.
11335         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11336         Regenerate.
11337         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11338         halfs of GPRs for high_gprs contexts.
11339         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11340         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
11341         field.
11342         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11343         uc_flags field.
11344         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11345         64 bit versions:
11346         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11347         for high GPRs (uc_high_gprs) and for future extensions
11348         (__reserved).
11349         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11350         for future extensions (__reserved).
11351         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11352         64 bit versions:
11353         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11354         SC_HIGHGPRS offset definition.
11355         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11356         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11357
11358         * Versions.def: Add GLIBC_2.19 for libpthread.
11359         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11360         siglongjmp for libpthread with GLIBC_2.19 symver.
11361         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11362         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11363         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11364         * sysdeps/s390/__longjmp.c: New file.
11365         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11366         * sysdeps/s390/longjmp.c: New file.
11367         * sysdeps/s390/setjmp.S: New file.
11368         * sysdeps/s390/sigjmp.S: New file.
11369         * sysdeps/s390/v1-longjmp.c: New file.
11370         * sysdeps/s390/v1-setjmp.h: New file.
11371         * sysdeps/s390/v1-sigjmp.c: New file.
11372         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11373         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11374         GLIBC_2.19 version.
11375         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11376         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11377         versioned symbols for ____longjmp_chk.
11378         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11379         Likewise.
11380         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11381         Regenerate.
11382         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11383         Regenerate.
11384         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11385         Regenerate.
11386         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11387         Regenerate.
11388         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11389         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11390         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11391         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11392         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11393         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11394         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11395         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11396         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11397         * sysdeps/s390/rtld-__longjmp.c: New file.
11398         * sysdeps/s390/rtld-setjmp.S: New file.
11399
11400 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
11401
11402         [BZ #16400]
11403         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11404         Return -__logl (x) for small positive arguments without evaluating
11405         a polynomial.
11406
11407 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
11408
11409         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11410         Rename to ...
11411         (__ptrace_peeksiginfo_args): ... this.
11412         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11413         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11414         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11415
11416 2014-01-06  Allan McRae  <allan@archlinux.org>
11417
11418         * inet/netinet/in.h: Fix typo in comment.
11419
11420 2014-01-05  Andreas Jaeger  <aj@suse.de>
11421
11422         * sysdeps/i386/fpu/libm-test-ulps: Update.
11423
11424 2014-01-05  Allan McRae  <allan@archlinux.org>
11425
11426         * po/libc.pot: Regenerated.
11427
11428         * malloc/memusagestat.c: Fix gettext call formatting.
11429
11430 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
11431
11432         * nscd/nscd.c: Improve usage() output.
11433
11434 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
11435
11436         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11437         * sysdeps/unix/sysv/linux/configure: Regenerated.
11438         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11439         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11440
11441 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
11442
11443         [BZ #16390]
11444         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11445         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11446
11447 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11448
11449         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11450         extra tokens at end of #undef directive.
11451         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11452         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11453         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11454
11455 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
11456
11457         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11458
11459         * math/auto-libm-test-in: Mark various tests with
11460         xfail-rounding:ldbl-128ibm.
11461         * math/auto-libm-test-out: Regenerated.
11462
11463 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
11464
11465         [BZ #16386]
11466         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11467         numbers with subnormal high part when calculating exponent.
11468
11469         [BZ #16385]
11470         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11471         fabs.
11472
11473         [BZ #16384]
11474         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11475         M_LN2l.
11476         (__ieee754_acoshl): Use __log1pl not __log1p.
11477
11478 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
11479
11480         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11481         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11482         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11483         (grow_heap, heap_trim, _int_new_arena, get_free_list)
11484         (reused_arena, arena_get2): Convert to GNU style.
11485         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11486         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11487         (memalign_check, __malloc_set_state): Likewise.
11488         * malloc/mallocbug.c (main): Likewise.
11489         * malloc/malloc.c (__malloc_assert, malloc_init_state)
11490         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11491         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11492         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11493         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11494         (__posix_memalign, malloc_info): Likewise.
11495         * malloc/malloc.h: Likewise.
11496         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11497         (mallochook, memalignhook, reallochook, mabort): Likewise.
11498         * malloc/mcheck.h: Likewise.
11499         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11500         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11501         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11502         * malloc/morecore.c (__default_morecore): Likewise.
11503         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11504         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11505         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11506         (print_and_abort): Likewise.
11507         * malloc/obstack.h: Likewise.
11508         * malloc/set-freeres.c (__libc_freeres): Likewise.
11509         * malloc/tst-mallocstate.c (main): Likewise.
11510         * malloc/tst-mtrace.c (main): Likewise.
11511         * malloc/tst-realloc.c (do_test): Likewise.
11512
11513 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11514
11515         [BZ #16366]
11516         * nscd/netgroupcache.c (do_notfound): New function.
11517         (addgetnetgrentX): Use it.
11518
11519         [BZ # 16365]
11520         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11521         NSS_STATUS_NOTFOUND.
11522
11523 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
11524
11525         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11527
11528 2014-01-01  Allan McRae  <allan@archlinux.org>
11529
11530         * scripts/update-copyrights: Update configure input file suffix.
11531
11532         * NEWS: Update copyright year.
11533         * catgets/gencat.c: Likewise.
11534         * csu/version.c: Likewise.
11535         * debug/catchsegv.sh: Likewise.
11536         * debug/pcprofiledump.c: Likewise.
11537         * debug/xtrace.sh: Likewise.
11538         * elf/ldconfig.c: Likewise.
11539         * elf/ldd.bash.in: Likewise.
11540         * elf/pldd.c: Likewise.
11541         * elf/sotruss.ksh: Likewise.
11542         * elf/sprof.c: Likewise.
11543         * iconv/iconv_prog.c: Likewise.
11544         * iconv/iconvconfig.c: Likewise.
11545         * locale/programs/locale.c: Likewise.
11546         * locale/programs/localedef.c: Likewise.
11547         * login/programs/pt_chown.c: Likewise.
11548         * malloc/memusage.sh: Likewise.
11549         * malloc/memusagestat.c: Likewise.
11550         * malloc/mtrace.pl: Likewise.
11551         * manual/libc.texinfo: Likewise.
11552         * nscd/nscd.c: Likewise.
11553         * nss/getent.c: Likewise.
11554         * nss/makedb.c: Likewise.
11555         * posix/getconf.c: Likewise.
11556         * scripts/test-installation.pl: Likewise.
11557
11558         * All files with FSF copyright notices: Update copyright dates
11559         using scripts/update-copyrights.
11560         * intl/plural.c: Regenerated.
11561         * locale/programs/charmap-kw.h: Likewise.
11562         * locale/programs/locfile-kw.h: Likewise.
11563
11564 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
11565
11566         * sysdeps/unix/sysv/linux/configure: Regenerated.
11567         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11568         the linux/fanotify.h header.
11569         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11570         HAVE_LINUX_FANOTIFY_H is defined.
11571
11572 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
11573
11574         * benchtests/cos-inputs: New inputs.
11575         * benchtests/sin-inputs: Likewise.
11576
11577         * benchtests/atan-inputs: New inputs. Fix name of multiple
11578         precision fallback inputs.
11579
11580         * benchtests/atanh-inputs: New inputs.
11581         * benchtests/tanh-inputs: Likewise.
11582
11583         * benchtests/acosh-inputs: New inputs.
11584         * benchtests/asinh-inputs: Likewise.
11585
11586         * benchtests/cosh-inputs: New inputs.
11587         * benchtests/sinh-inputs: Likewise.
11588
11589         * benchtests/acos-inputs: Add more inputs.
11590         * benchtests/asin-inputs: Likewise.
11591
11592 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
11593
11594         [BZ #16375]
11595         * manual/arith.texi: Fix spelling.
11596         * manual/charset.texi: Likewise.
11597         * manual/errno.texi: Likewise.
11598         * manual/filesys.texi: Likewise.
11599         * manual/lang.texi: Likewise.
11600         * manual/llio.texi: Likewise.
11601         * manual/locale.texi: Likewise.
11602         * manual/message.texi: Likewise.
11603         * manual/resource.texi: Likewise.
11604         * manual/search.texi: Likewise.
11605         * manual/setjmp.texi: Likewise.
11606         * manual/stdio.texi: Likewise.
11607         * manual/string.texi: Likewise.
11608         * manual/sysinfo.texi: Likewise.
11609         * manual/time.texi: Likewise.
11610
11611 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
11612
11613         * po/sl.po: New file.
11614
11615 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
11616
11617         * .gitignore: Add core/.gdbinit/.gdb_history.
11618
11619 2013-12-27  Allan McRae  <allan@archlinux.org>
11620
11621         [BZ #16369]
11622         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11623         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11624
11625 2013-12-24  Brooks Moses  <bmoses@google.com>
11626
11627         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11628         all compilers that claim C++98 compliance, not just GCC.
11629         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11630         Likewise.
11631
11632 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
11633
11634         * NEWS: Restore accidentally deleted bug-fix entries.
11635
11636 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
11637             Ondřej Bílka  <neleai@seznam.cz>
11638
11639         [BZ #15073]
11640         * malloc/malloc.c (_int_free): Perform sanity check only if we
11641         have_lock.
11642
11643 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
11644
11645         [BZ #12986]
11646         * manual/stdio.texi (String Input Conversions): Clarify that character
11647         classes are not supported.
11648
11649 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11650
11651         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11652
11653 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
11654
11655         [BZ #16337]
11656         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11657         Calculate results for small negative arguments directly rather
11658         than using reflection formula with special underflow handling.
11659
11660         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11661         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11662         sysdeps/unix/bsd/bsd4.4/syscalls.list.
11663         (fchflags): Likewise.
11664         (revoke): Likewise.
11665         (setlogin): Likewise.
11666         (sigaltstack): Likewise.
11667         (wait4): Likewise.
11668         (sigblock): Remove.
11669         (sigsetmask): Likewise.
11670         (wait3): Likewise.
11671         (waitpid): Likewise.
11672         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11673         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11674         file.
11675         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11676         * sysdeps/unix/bsd/Makefile: ... here.
11677         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11678         * sysdeps/unix/bsd/Versions: ... here.
11679         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11680         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11681         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11682         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11683         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11684         * sysdeps/unix/bsd/sigblock.c: ... here.
11685         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11686         * sysdeps/unix/bsd/sigsetmask.c: ... here.
11687         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11688         * sysdeps/unix/bsd/sigvec.c: ... here.
11689         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11690         * sysdeps/unix/bsd/tcdrain.c: ... here.
11691         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11692         * sysdeps/unix/bsd/tcgetattr.c: ... here.
11693         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11694         * sysdeps/unix/bsd/tcsetattr.c: ... here.
11695         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11696         * sysdeps/unix/bsd/wait.c: ... here.
11697         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11698         * sysdeps/unix/bsd/wait3.c: ... here.
11699         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11700         * sysdeps/unix/bsd/waitpid.c: ... here.
11701
11702 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
11703
11704         [BZ #16356]
11705         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11706         round-to-nearest for [!USE_AS_EXPM1L].
11707         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11708         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
11709         more tests of exp and exp10.  Expect some exp10 tests to miss
11710         exceptions or fail in directed rounding modes.
11711         * math/auto-libm-test-out: Regenerated.
11712         * math/libm-test.inc (exp10_tonearest_test_data): New array.
11713         (exp10_test_tonearest): New function.
11714         (exp10_towardzero_test_data): New array.
11715         (exp10_test_towardzero): New function.
11716         (exp10_downward_test_data): New array.
11717         (exp10_test_downward): New function.
11718         (exp10_upward_test_data): New array.
11719         (exp10_test_upward): New function.
11720         (main): Call the new functions.
11721         * sysdeps/i386/fpu/libm-test-ulps: Update.
11722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11723
11724 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
11725
11726         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11727         asinh, atan, atan2, atanh, cbrt, cos and cosh.
11728         * math/auto-libm-test-out: Regenerated.
11729         * math/libm-test.inc (acosh_test_data): Add more tests.
11730         (atanh_test_data): Likewise.
11731         (ceil_test_data): Likewise.
11732         (copysign_test_data): Likewise.
11733         * sysdeps/i386/fpu/libm-test-ulps: Update.
11734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11735
11736         * timezone/checktab.awk: Update from tzcode 2013i.
11737         * timezone/private.h: Likewise.
11738         * timezone/scheck.c: Likewise.
11739         * timezone/tzfile.h: Likewise.
11740         * timezone/tzselect.ksh: Likewise.
11741         * timezone/zdump.c: Likewise.
11742         * timezone/zic.c: Likewise.
11743
11744         * math/auto-libm-test-in: Add tests of cpow.
11745         * math/auto-libm-test-out: Regenerated.
11746         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
11747         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11748         mpc_cc_c.
11749         (func_calc_desc): Add mpc_cc_c union field.
11750         (test_functions): Add cpow.
11751         (special_fill_2pi): New function.
11752         (special_real_inputs): Add 2pi.
11753         (calc_generic_results): Handle mpc_cc_c.
11754         * sysdeps/i386/fpu/libm-test-ulps: Update.
11755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11756
11757         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11758         csqrt, ctan and ctanh.
11759         * math/auto-libm-test-out: Regenerated.
11760         * math/libm-test.inc (TEST_COND_x86_64): New macro.
11761         (TEST_COND_x86): Likewise.
11762         (ccos_test_data): Use AUTO_TESTS_c_c.
11763         (ccosh_test_data): Likewise.
11764         (cexp_test_data): Likewise.
11765         (clog_test_data): Likewise.
11766         (csqrt_test_data): Likewise.
11767         (ctan_test_data): Likewise.
11768         (ctan_tonearest_test_data): Likewise.
11769         (ctan_towardzero_test_data): Likewise.
11770         (ctan_downward_test_data): Likewise.
11771         (ctan_upward_test_data): Likewise.
11772         (ctanh_test_data): Likewise.
11773         (ctanh_tonearest_test_data): Likewise.
11774         (ctanh_towardzero_test_data): Likewise.
11775         (ctanh_downward_test_data): Likewise.
11776         (ctanh_upward_test_data): Likewise.
11777         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11778         mpc_c_c.
11779         (func_calc_desc): Add mpc_c_c union field.
11780         (FUNC_mpc_c_c): New macro.
11781         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11782         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11783         ctanh.
11784         (special_fill_min_subnorm_p120): New function.
11785         (special_real_inputs): Add min_subnorm_p120.
11786         (calc_generic_results): Handle mpc_c_c.
11787         * sysdeps/i386/fpu/libm-test-ulps: Update.
11788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11789
11790 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11791
11792         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11793         (do_sin_slow): New functions.
11794         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11795         (cslow2, csloww1, csloww2): Use the new functions.
11796
11797         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11798         Use M to change sign of result instead of X.  Assume X is
11799         positive.
11800         (csloww1): Likewise.
11801         (__sin): Adjust.
11802         (__cos): Adjust.
11803
11804         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11805         arguments A and DA.
11806         (__sin): Adjust.
11807         (__cos): Likewise.
11808
11809         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11810         (__cos): Likewise.
11811         (sloww1): Don't adjust sign of DX.
11812         (csloww1): Likewise.
11813         (sloww2): Use X directly and don't adjust sign of DX.
11814         (csloww2): Likewise.
11815
11816 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11817
11818         * math/auto-libm-test-in: Add tests of cabs and carg.
11819         * math/auto-libm-test-out: Regenerated.
11820         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11821         (carg_test_data): Likewise.
11822         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11823         mpc_c_f.
11824         (func_calc_desc): Add mpc_c_f union field.
11825         (test_functions): Add cabs and carg.
11826         (calc_generic_results): Handle mpc_c_f.
11827
11828         * sysdeps/powerpc/powerpc32/libgcc-compat.S
11829         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11830         as a macro and a compat symbol.
11831         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11832         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11833         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11834         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11835         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11836         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11837         not use .hidden.
11838         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11839         Likewise.
11840         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11841         Likewise.
11842         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11843         Likewise.
11844         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11845         Likewise.
11846         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11847         Likewise.
11848         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11849         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11850         from GLIBC_2.3.2.
11851
11852 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11853
11854         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11855
11856 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11857
11858         * manual/texinfo.tex: Update to version 2013-11-26.10 with
11859         trailing whitespace removed.
11860         * scripts/config.guess: Update to version 2013-11-29.
11861         * scripts/config.sub: Update to version 2013-10-01.
11862
11863         * math/auto-libm-test-in: Add tests of sincos.
11864         * math/auto-libm-test-out: Regenerated.
11865         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11866         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11867         mpfr_f_11.
11868         (func_calc_desc): Add mpfr_f_11 union field.
11869         (test_functions): Add sincos.
11870         (calc_generic_results): Handle mpfr_f_11.
11871         * sysdeps/i386/fpu/libm-test-ulps: Update.
11872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11873
11874 2013-12-19  Andreas Schwab  <schwab@suse.de>
11875
11876         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11877         CALL_MCOUNT.
11878         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11879         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11880         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11881
11882 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11883
11884         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11885         * sysdeps/i386/fpu/libm-test-ulps: Update.
11886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11887
11888         [BZ #16293]
11889         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11890         round-to-nearest mode when using frndint.
11891         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11892         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11893         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11894         Likewise.
11895         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
11896         sinh test to fail.
11897         * math/auto-libm-test-out: Regenerated.
11898         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11899         (TEST_COND_x86): Likewise.
11900         (expm1_tonearest_test_data): New array.
11901         (expm1_test_tonearest): New function.
11902         (expm1_towardzero_test_data): New array.
11903         (expm1_test_towardzero): New function.
11904         (expm1_downward_test_data): New array.
11905         (expm1_test_downward): New function.
11906         (expm1_upward_test_data): New array.
11907         (expm1_test_upward): New function.
11908         (main): Run the new test functions.
11909         * sysdeps/i386/fpu/libm-test-ulps: Update.
11910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11911
11912         * include/features.h: Update comment documenting feature test
11913         macros.  Mention _DEFAULT_SOURCE in comment.
11914         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11915         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11916         _BSD_SOURCE and _SVID_SOURCE.
11917         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11918         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11919         !_SVID_SOURCE]: Likewise.
11920         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11921         (__USE_POSIX_IMPLICITLY): Define.
11922         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11923         (_POSIX_SOURCE): Undefine and redefine.
11924         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11925         (_POSIX_C_SOURCE): Likewise.
11926         * manual/creature.texi (_DEFAULT_SOURCE): Document.
11927         (Feature Test Macros): Update documentation of default features.
11928
11929 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11930
11931         * benchtests/Makefile: Add bench-strtok.
11932         * benchtests/bench-strtok.c: New file: strtok benchtest.
11933
11934 2013-12-19  Allan McRae  <allan@archlinux.org>
11935
11936         * manual/install.texi: Suppress menu for plain text output.
11937         * INSTALL: Regenerated.
11938
11939 2013-12-18  Brooks Moses  <bmoses@google.com>
11940
11941         [BZ #15846]
11942         * misc/getauxval.c: Include errno.h.
11943         (__getauxval): Set errno to ENOENT if the requested type is not
11944         found.
11945         * misc/sys/auxv.h (getauxval): Document that it may set errno;
11946         don't declare with __attribute_const__.
11947         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11948         * manual/startup.texi: Document that getauxval sets errno.
11949
11950 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
11951
11952         * math/auto-libm-test-in: Add tests of jn and yn.
11953         * math/auto-libm-test-out: Regenerated.
11954         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11955         (yn_test_data): Likewise.
11956         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11957         mpfr_if_f.
11958         (func_calc_desc): Add mpfr_if_f union field.
11959         (FUNC_mpfr_if_f): New macro.
11960         (test_functions): Add jn and yn.
11961         (calc_generic_results): Assert type of second input for
11962         mpfr_ff_f.  Handle mpfr_if_f.
11963         (output_for_one_input_case): Disable all checking for arguments
11964         fitting floating-point types in case of an integer argument.
11965         * sysdeps/i386/fpu/libm-test-ulps: Update.
11966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11967
11968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11969         Don't expect fegetround reference in libm.so.
11970
11971 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11972
11973         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11974         $(config-cflags-nofma).
11975
11976 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
11977
11978         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11979         * math/auto-libm-test-out: Regenerated.
11980
11981         [BZ #16338]
11982         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11983         to determine exponent and adjust argument to have exponent of -1.
11984         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11985         log2.
11986         * math/auto-libm-test-out: Regenerated.
11987         * sysdeps/i386/fpu/libm-test-ulps: Update.
11988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11989
11990 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
11991
11992         * manual/probes.texi: Remove cases when per-thread arenas are
11993         disabled.
11994
11995 2013-12-18  Andreas Schwab  <schwab@suse.de>
11996
11997         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11998         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11999         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12000         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12001         * sysdeps/i386/i686/multiarch/Makefile: Update.
12002         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12003
12004 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12005
12006         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12007         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12008
12009 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
12010
12011         [BZ #15968]
12012         Support TZ transition times < 00:00:00.
12013         This is needed for version-3 tz-format files; it supports time
12014         stamps past 2037 for America/Godthab (the only entry in the tz
12015         database for which this change is relevant).
12016         * manual/time.texi (TZ Variable): Document transition times
12017         from -167:59:59 through -00:00:01.
12018         * time/tzset.c (tz_rule): Time of day is now signed.
12019         (__tzset_parse_tz): Parse negative time of day.
12020
12021         Document TZ transition times >= 25:00:00.
12022         * manual/time.texi (TZ Variable): Document transition times from
12023         25:00:00 through 167:59:59.  These are already supported, and this
12024         support will help with version-3 tz-format files.
12025
12026         * manual/time.texi (TZ Variable): Modernize North America example
12027         to reflect current (i.e., 2007-and-later) daylight saving rules.
12028
12029         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12030
12031 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12032
12033         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12034         * sysdeps/unix/bsd/bits/stat.h: Likewise.
12035         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12036         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12037         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12038         * sysdeps/unix/bsd/bsdstat.h: Likewise.
12039         * sysdeps/unix/bsd/clock.c: Likewise.
12040         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12041         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12042         * sysdeps/unix/bsd/init-posix.c: Likewise.
12043         * sysdeps/unix/bsd/poll.c: Likewise.
12044         * sysdeps/unix/bsd/ptsname.c: Likewise.
12045         * sysdeps/unix/bsd/seekdir.c: Likewise.
12046         * sysdeps/unix/bsd/setegid.c: Likewise.
12047         * sysdeps/unix/bsd/seteuid.c: Likewise.
12048         * sysdeps/unix/bsd/setgid.c: Likewise.
12049         * sysdeps/unix/bsd/setrgid.c: Likewise.
12050         * sysdeps/unix/bsd/setruid.c: Likewise.
12051         * sysdeps/unix/bsd/setsid.c: Likewise.
12052         * sysdeps/unix/bsd/setuid.c: Likewise.
12053         * sysdeps/unix/bsd/sigaction.c: Likewise.
12054         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12055         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12056         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12057         * sysdeps/unix/bsd/telldir.c: Likewise.
12058         * sysdeps/unix/bsd/times.c: Likewise.
12059         * sysdeps/unix/bsd/usleep.c: Likewise.
12060
12061         * misc/Makefile (install-lib): Remove libbsd-compat.a.
12062         ($(objpfx)libbsd-compat.a): Remove rule.
12063
12064         * include/features.h (__FAVOR_BSD): Do not define.
12065         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12066         features conflicting with POSIX.
12067         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12068         (_BSD_SOURCE): Remove description of not being a subset of other
12069         feature test macros.
12070         * manual/job.texi (getpgrp): Do not document BSD version.
12071         (getpgid): Do not document by reference to BSD getpgrp.
12072         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12073         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12074         * signal/signal.h [__FAVOR_BSD]: Likewise.
12075         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12076         instead of making contents conditional on [__FAVOR_BSD].
12077         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12078
12079 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12080
12081         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12082
12083 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12084
12085         [BZ #16314]
12086         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12087         values below 2**-450, not 2**-500.
12088         * math/auto-libm-test-in: Don't allow spurious underflow from
12089         hypot.
12090         * math/auto-libm-test-out: Regenerated.
12091
12092         [BZ #16316]
12093         [BZ #16330]
12094         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12095         values of ha and hb and sort them after adjusting subnormal
12096         arguments.
12097         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12098         Likewise.
12099         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12100         values of ea and eb and sort them after adjusting subnormal
12101         arguments.
12102         * math/auto-libm-test-in: Do not expect some hypot tests of
12103         subnormals to fail.  Add more hypot tests.
12104         * math/auto-libm-test-out: Regenerated.
12105
12106 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12107
12108         [BZ #13304]
12109         * sysdeps/sh/s_fma.c: New file.
12110         * sysdeps/sh/s_fmaf.c: New file.
12111         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
12112         version.
12113         * sysdeps/sh/Implies: Add sh/soft-fp.
12114
12115 2013-12-16  Roland McGrath  <roland@hack.frob.com>
12116
12117         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
12118         level of indirection to members `objname', `errstring', `malloced'.
12119         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12120         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
12121         it as the __longjmp argument (just pass 1 instead).
12122         (_dl_catch_error): Initialize C with argument pointers and address of
12123         volatile local ERRCODE rather than copying values out of C at return.
12124
12125 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
12126
12127         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12128         * math/auto-libm-test-out: Regenerated.
12129         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12130         (hypot_test_data): Likewise.
12131         (pow_test_data): Likewise.
12132         (pow_tonearest_test_data): Likewise.
12133         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12134         mpfr_ff_f.
12135         (func_calc_desc): Add mpfr_ff_f union field.
12136         (FUNC_mpfr_ff_f): New macro.
12137         (test_functions): Add atan2, hypot and pow.
12138         (special_fill_min): New function.
12139         (special_fill_minus_min): Likewise.
12140         (special_fill_min_subnorm): Likewise.
12141         (special_fill_minus_min_subnorm): Likewise.
12142         (special_real_inputs): Add min, -min, min_subnorm and
12143         -min_subnorm.
12144         (calc_generic_results): Handle mpfr_ff_f.
12145         * sysdeps/i386/fpu/libm-test-ulps: Update.
12146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12147
12148 2013-12-16  Will Newton  <will.newton@linaro.org>
12149
12150         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12151         (Aligned Memory Blocks): Add documentation for aligned_alloc
12152         and suggest it as an alternative to posix_memalign.
12153         (Hooks for Malloc): Document __memalign_hook is also called
12154         for aligned_alloc.  (Summary of Malloc): Add summary for
12155         aligned alloc.  Document __memalign_hook is also called
12156         for aligned_alloc.
12157
12158 2013-12-16  Will Newton  <will.newton@linaro.org>
12159
12160         * manual/memory.texi (Malloc Examples): Clarify default
12161         alignment documentation.  Suggest posix_memalign rather
12162         than memalign or valloc.
12163         (Aligned Memory Blocks): Remove suggestion to use memalign
12164         or valloc.  Remove obsolete comment about BSD.
12165         Document memalign errno values and mark the function obsolete.
12166         Document posix_memalign returned error codes.  Mark valloc
12167         as obsolete.  (Hooks for Malloc): __memalign_hook is also
12168         called for posix_memalign and valloc.
12169         (Summary of Malloc): Add posix_memalign to function summary.
12170         __memalign_hook is also called for posix_memalign and valloc.
12171
12172 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12173
12174         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12175         TAYLOR_SIN.
12176         (__sin): Adjust.
12177         (__cos): Likewise.
12178         (sloww): Use mynumber union.  Expand ternary operator into
12179         if-else statements.
12180         (cslow): use mynumber union.
12181
12182 2013-12-16  Allan McRae  <allan@archlinux.org>
12183
12184         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12185         * configure: Regenerated.
12186
12187         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12188
12189         [BZ #14120]
12190         * configure.ac: Added --enable-maintainer-mode. Check for
12191         autoconf when enabled.
12192         * configure: Regenerated.
12193
12194         * nscd/nscd.service: New file.
12195         * nscd/nscd.tmpfiles: New file.
12196
12197 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
12198
12199         [BZ #12100]
12200         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12201         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12202         * sysdeps/x86_64/multiarch/strstr.c: ... here.
12203         (strstr): Add __strstr_sse2_unaligned ifunc.
12204         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12205         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12206         (strcasestr): Remove __strcasestr_sse42 ifunc.
12207         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12208         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12209         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12210
12211 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12212
12213         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12214         * sysdeps/sh/bits/fenv.h: ... here.
12215         * sysdeps/sh/sh4/fpu/bits: Remove directory.
12216
12217 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12218
12219         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12220
12221         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12222         hypotf multiarch implementations.
12223         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12224         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12225         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12226         multiarch hypot for PPC64.
12227         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12228         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12229         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12230         multiarch hypotf for PPC64.
12231
12232         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12233         modff multiarch implementations.
12234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12237         multiarch modf for PPC64.
12238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12241         multiarch modff for PPC64.
12242
12243         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12244         and logl multiarch implementations.
12245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12248         multiarch logb for PPC64.
12249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12252         multiarch logb for PPC64.
12253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12256         multiarch logb for PPC64.
12257
12258         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12259         isinff multiarch implementation.
12260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12261         file.
12262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12264         multiarch isinf for PPC64.
12265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12266         file.
12267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12268         multiarch isinff for PPC64.
12269
12270         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12271         finitef multiarch implementation.
12272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12273         file.
12274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12276         multiarch finite for PPC64.
12277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12278         file.
12279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12280         multiarch finitef for PPC64.
12281
12282         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12283         lrint multiarch implementation.
12284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12285         file.
12286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12288         multiarch llrint for PPC64.
12289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12290         multiarch lrint for PPC64.
12291
12292         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12293         copysignf multiarch implementation.
12294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12295         file.
12296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12297         file.
12298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12299         multiarch copysign for PPC64.
12300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12301         multiarch copysignf for PPC64.
12302
12303         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12304         multiarch implementation.
12305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12306         file.
12307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12308         file.
12309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12310         file.
12311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12312         file.
12313         multiarch llround for PPC64.
12314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12315         multiarch trunc for PPC64.
12316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12317         multiarch truncf for PPC64.
12318
12319         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12320         multiarch implementation.
12321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12322         file.
12323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12324         file.
12325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12326         file.
12327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12328         file.
12329         multiarch llround for PPC64.
12330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12331         multiarch round for PPC64.
12332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12333         multiarch roundf for PPC64.
12334
12335         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12336         multiarch implementation.
12337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12338         file.
12339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12340         file.
12341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12342         file.
12343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12344         file.
12345         multiarch llround for PPC64.
12346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12347         multiarch floor for PPC64.
12348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12349         multiarch floorf for PPC64.
12350
12351         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12352         multiarch implementation.
12353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12354         file.
12355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12356         file.
12357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12358         file.
12359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12360         file.
12361         multiarch llround for PPC64.
12362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12363         multiarch ceil for PPC64.
12364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12365         multiarch ceilf for PPC64.
12366
12367         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12368         multiarch implementation.
12369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12370         file.
12371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12372         file.
12373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12374         file.
12375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12376         multiarch llround for PPC64.
12377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12378         multiarch lround for PPC64.
12379
12380         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12381         multiarch implementation.
12382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12385         file.
12386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12389         multiarch isnan for PPC64.
12390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12391         multiarch isnanf for PPC64.
12392
12393         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12394         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12395         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12396         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12397         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12399
12400         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12401         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12402         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12403         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12404
12405         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12406         multiarch implementations.
12407         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12408         (__libc_ifunc_impl_list): Likewise.
12409         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12410         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12411         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12412         multiarch stpcpy for PPC64.
12413
12414         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12415         multiarch implementations.
12416         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12417         (__libc_ifunc_impl_list): Likewise.
12418         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12419         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12420         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12421         multiarch strcpy for PPC64.
12422
12423         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12424         redefine function name.
12425         (_wordcopy_fwd_dest_aligned): Likewise.
12426         (_wordcopy_bwd_aligned): Likewise.
12427         (_wordcopy_bwd_dest_aligned): Likewise.
12428         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12429         multiarch implementations.
12430         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12431         (__libc_ifunc_impl_list): Likewise.
12432         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12433         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12434         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12435         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12436         multiarch wcscpy for PPC64.
12437
12438         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12439         multiarch implementations.
12440         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12441         (__libc_ifunc_impl_list): Likewise.
12442         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12443         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12444         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12445         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12446         multiarch wcscpy for PPC64.
12447
12448         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12449         multiarch implementations.
12450         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12451         (__libc_ifunc_impl_list): Likewise.
12452         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12453         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12454         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12455         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12456         multiarch wcsrchr for PPC64.
12457
12458         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12459         multiarch implementations.
12460         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12461         (__libc_ifunc_impl_list): Likewise.
12462         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12463         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12464         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12465         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12466         multiarch wcschr for PPC64.
12467
12468         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12469         multiarch implementations.
12470         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12471         (__libc_ifunc_impl_list): Likewise.
12472         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12473         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12474         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12475         multiarch strchrnul for PPC64.
12476
12477         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12478         implementations.
12479         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12480         (__libc_ifunc_impl_list): Likewise.
12481         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12482         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12483         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12484         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12485         strchr for PPC64.
12486
12487         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12488         implementations.
12489         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12490         (__libc_ifunc_impl_list): Likewise.
12491         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12492         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12493         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12494         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12495         strncmp for PPC64.
12496
12497         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12498         multiarch implementations.
12499         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12500         (__libc_ifunc_impl_list): Likewise.
12501         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12502         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12503         strncasecmp for PPC64.
12504         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12505         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12506         multiarch strncasecmp_l for PPC64.
12507
12508         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12509         multiarch implementations.
12510         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12511         (__libc_ifunc_impl_list): Likewise.
12512         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12513         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12514         multiarch strcasecmp for PPC64.
12515         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12516         file.
12517         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12518         multiarch strcasecmp_l for PPC64.
12519
12520         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12521         implementations.
12522         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12523         (__libc_ifunc_impl_list): Likewise.
12524         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12525         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12526         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12527         strnlen for PPC64.
12528
12529         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12530         implementations.
12531         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12532         (__libc_ifunc_impl_list): Likewise.
12533         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12534         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12535         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12536         strlen for PPC64.
12537
12538         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12539         implementations.
12540         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12541         (__libc_ifunc_impl_list): Likewise.
12542         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12543         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12544         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12545         rawmemrchr for PPC64.
12546
12547         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12548         implementation.
12549         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12550         (__libc_ifunc_impl_list): Likewise.
12551         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12552         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12553         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12554         memrchr for PPC64.
12555
12556         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12557         implementation.
12558         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12559         (__libc_ifunc_impl_list): Likewise.
12560         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12561         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12562         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12563         memchr for PPC64.
12564
12565         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12566         implementation.
12567         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12568         (__libc_ifunc_impl_list): Likewise.
12569         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12570         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12571         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12572         mempcpy for PPC64.
12573
12574         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12575         avoid cretion of __bzero symbol.
12576         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12577         Likewise.
12578         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12579         Likewise.
12580         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12581         Likewise.
12582         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12583         multiarch implementations.
12584         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12585         (__libc_ifunc_impl_list): Likewise.
12586         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12587         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12588         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12589         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12590         bzero for PPC32.
12591         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12592         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12593         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12594         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12595         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12596         memset for PPC64.
12597         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12598
12599         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12600         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12601         implementations.
12602         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12603         (__libc_ifunc_impl_list): Likewise.
12604         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12605         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12606         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12607         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12608         memcmp for PPC64.
12609
12610         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12611         multiarch for POWER/PPC64.
12612         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12613         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12614         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12615         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12616         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12617         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12618         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12619         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12620         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12621         memcpy for PPC64.
12622
12623         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12624         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12625         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12626         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12627         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12628         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12629         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12630         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12631         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12632         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12633         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12634         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12635         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12636         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12637         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12645
12646 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12647
12648         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12649
12650 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12651
12652         * benchtests/Makefile (bench): Add exp2 and log2.
12653         (LDLIBS-bench-exp2): Add -lm.
12654         (LDLIBS-bench-log2): Likewise.
12655         * benchtests/exp2-inputs: New inputs file.
12656         * benchtests/log2-inputs: New inputs file.
12657         * benchtests/log-inputs: Add new inputs.
12658         * benchtests/tan-inputs: Likewise.
12659
12660 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12661
12662         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12663         definition...
12664         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12665         (csloww2): ... from here.
12666
12667         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12668         instead of structures.
12669         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12670         (POLYNOMIAL): Likewise.
12671         (TAYLOR_SLOW): Likewise.
12672         (__sin): Likewise.
12673         (__cos): Likewise.
12674         (slow1): Likewise.
12675         (slow2): Likewise.
12676         (sloww): Likewise.
12677         (sloww1); Likewise.
12678         (sloww2): Likewise.
12679         (bsloww1): Likewise.
12680         (bsloww2): Likewise.
12681         (cslow2): Likewise.
12682         (csloww): Likewise.
12683         (csloww1): Likewise.
12684         (csloww2): Likewise.
12685
12686 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
12687
12688         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12689         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12690         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12691         * malloc/hooks.c (realloc_check): Likewise.
12692
12693         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12694         * malloc/arena.c: Remove PER_THREAD conditional.
12695         [!PER_THREAD]: Remove code.
12696         (ptmalloc_unlock_all2): Likewise.
12697         (ptmalloc_init): Likewise.
12698         (_int_new_arena): Likewise.
12699         (arena_get2): Likewise.
12700         * malloc/hooks.c (__malloc_get_state): Likewise.
12701         (__malloc_set_state): Likewise.
12702         * malloc/malloc.c: Likewise.
12703         (struct malloc_state): Likewise.
12704         (struct malloc_par): Likewise.
12705         (__libc_realloc): Likewise.
12706         (__libc_mallopt): Likewise.
12707
12708 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12709
12710         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12711
12712 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
12713
12714         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12715         macro to a function.  Check for zero perturb_byte.
12716         (_int_malloc, _int_free): Remove zero perturb_byte checks.
12717
12718         * malloc/malloc.c: (force_reg): Remove.
12719         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12720         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
12721         force_reg by atomic_forced_read.
12722         * malloc/arena.c (ptmalloc_init): Likewise.
12723         * malloc/hooks.c (top_check): Likewise.
12724
12725 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12726
12727         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12728
12729 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
12730
12731         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12732
12733 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
12734
12735         * math/auto-libm-test-in: Add tests of lgamma.
12736         * math/auto-libm-test-out: Regenerated.
12737         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12738         (M_LOG_2_SQRT_PIl): Likewise.
12739         (lgamma_test_data): Use AUTO_TESTS_f_f1.
12740         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12741         mpfr_f_f1.
12742         (func_calc_desc): Add mpfr_f_f1 union field.
12743         (ARGS1): New macro.
12744         (ARGS2): Likewise.
12745         (ARGS3): Likewise.
12746         (ARGS4): Likewise.
12747         (RET1): Likewise.
12748         (RET2): Likewise.
12749         (CALC): Likewise.
12750         (FUNC): Likewise.
12751         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12752         (test_functions): Add lgamma.
12753         (calc_generic_results): Handle mpfr_f_f1.
12754         * sysdeps/i386/fpu/libm-test-ulps: Update.
12755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12756
12757 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12758
12759         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12760         __mpn_add_n for PowerPC64/POWER7.
12761         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12762         __mpn_sub_n for PowerPC64/POWER7.
12763
12764         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12765         __mpn_addmul_1 for PowerPC64.
12766         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12767         __mpn_submul_1 for PowerPC64.
12768         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12769         for PowerPC64.
12770         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12771         for PowerPC64.
12772
12773 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
12774
12775         [BZ #15089]
12776         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12777
12778 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12779
12780         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12781
12782         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12783         add multiarch folders.
12784         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12785         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12786         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12787         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12788         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12789         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12790         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12791         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12792         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12793         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12794         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12801
12802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12803         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12805         New file.
12806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12807         New file.
12808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12809         multiarch __ieee754_hypot for PowerPC32.
12810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12811         New file.
12812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12813         New file.
12814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12815         multiarch __ieee754_hypotf for PowerPC32.
12816
12817         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12818         long_double_symbol only if __logbl is defined.
12819         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12820         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12821         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12822         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12823         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12824         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12825         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12826         path for implementation.
12827         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12828         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12830         logb, and logbl multiarch implementations for PowerPC32.
12831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12832         file.
12833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12834         file.
12835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12836         multiarch logb for PowerPC32.
12837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12838         file.
12839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12840         file.
12841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12842         multiarch logbf for PowerPC32.
12843         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12845         file.
12846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12847         multiarch logbl implementation for PowerPC32.
12848
12849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12850         and modff multiarch implementations.
12851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12852         New file.
12853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12854         New file.
12855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12856         multiarch modf for PowerPC32.
12857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12858         New file.
12859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12860         New file.
12861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12862         multiarch modff for PowerPC32.
12863
12864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12865         and lrintf multiarch implementations.
12866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12867         New file.
12868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12869         New file.
12870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12871         multiarch lrint for PowerPC32.
12872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12873         file: multiarch lrintf for PowerPC32.
12874
12875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12876         and lroundf multiarch implementations.
12877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12878         New file.
12879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12880         New file.
12881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12882         New file.
12883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12884         multiarch lround for PowerPC32.
12885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12886         file: multiarch lroundf for PowerPC32.
12887
12888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12889         copysign and copysignf multiarch implementations.
12890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12891         New file.
12892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12893         New file.
12894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12895         file: multiarch copysign for PowerPC32.
12896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12897         file: multiarch copysignf for PowerPC32.
12898
12899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12900         and truncf multiarch implementations.
12901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12902         New file.
12903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12904         file.
12905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12906         multiarch trunc for PowerPC32.
12907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12908         New file.
12909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12910         New file.
12911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12912         multiarch truncf for PowerPC32.
12913
12914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12915         and roundf multiarch implementations.
12916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12917         New file.
12918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12919         file.
12920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12921         multiarch round for PowerPC32.
12922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12923         New file.
12924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12925         New file.
12926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12927         multiarch roundf for PowerPC32.
12928
12929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12930         and floorf multiarch implementations.
12931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12932         New file.
12933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12934         file.
12935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12936         multiarch floor for PowerPC32.
12937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12938         New file.
12939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12940         New file.
12941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12942         multiarch floorf for PowerPC32.
12943
12944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12945         and ceilf multiarch implementations.
12946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12947         New file.
12948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12949         file.
12950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12951         multiarch ceil for PowerPC32.
12952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12953         New file.
12954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12955         file.
12956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12957         multiarch ceilf for PowerPC32.
12958
12959         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12960         is defined.
12961         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12962         FINITEF is defined.
12963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12964         and finitef multiarch implementations.
12965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12966         New file.
12967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12968         file.
12969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12970         multiarch finite for PowerPC32.
12971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12972         New file.
12973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12974         file: multiarch finitef for PowerPC32.
12975
12976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12977         and isinff multiarch implementations.
12978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12979         file.
12980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12981         file.
12982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12983         multiarch isinf for PowerPC32.
12984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12985         New file.
12986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12987         multiarch isinff for PowerPC32.
12988
12989         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12990         alias when __isnan is defined.
12991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12992         and isnanf multiarch implementations.
12993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12994         file.
12995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12996         file.
12997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12998         file.
12999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13000         file.
13001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13002         multiarch isnan for PowerPC32.
13003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13004         New file.
13005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13006         New file.
13007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13008         multiarch isnanf for PowerPC32.
13009
13010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13011         and sqrtf multiarch implementations.
13012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13013         file.
13014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13015         file.
13016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13017         multiarch sqrt for PowerPC32.
13018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13019         file.
13020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13021         file.
13022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13023         multiarch sqrtf for PowerPC32.
13024
13025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13026         and llroundf multiarch implementations.
13027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13028         New file.
13029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13030         New file.
13031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13032         New file.
13033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13034         file: multiarch llround for PowerPC32.
13035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13036         file: multiarch llroundf for PowerPC32.
13037
13038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13039         multiarch PowerPC32 fpu implementations.
13040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13041         New file.
13042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13043         New file.
13044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13045         multiarch llrint for PowerPC32.
13046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13047         New file.
13048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13049         New file.
13050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13051         file.
13052
13053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13054
13055         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13056         file.
13057         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13058         file.
13059         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13060         file.
13061         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13062         multiarch wordcopy for PPC32.
13063         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13064         wordcopy objects.
13065         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13066         (__libc_ifunc_impl_list): Likewise.
13067         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13068         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13069         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13070         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13071         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13072         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13073
13074         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13075         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13076         file.
13077         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13078         file.
13079         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13080         file.
13081         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13082         multiarch wcscpy for PPC32.
13083         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13084         multiarch objects.
13085         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13086         (__libc_ifunc_impl_list): Likewise.
13087         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13088         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13089         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13090         sysdeps/powerpc/power6/wcscpy.c.
13091
13092         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13093         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13094         file.
13095         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13096         file.
13097         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13098         file.
13099         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13100         multiarch wcsrchr for PPC32.
13101         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13102         multiarch objects.
13103         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13104         (__libc_ifunc_impl_list): Likewise.
13105         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13106         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13107         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13108         sysdeps/powerpc/power6/wcsrchr.c.
13109
13110         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13111         file.
13112         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13113         file.
13114         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13115         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13116         multiarch wcschr for PPc32.
13117         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13118         multiarch objects.
13119         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13120         (__libc_ifunc_impl_list): Likewise.
13121         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13122         * sysdeps/powerpc/power6/wcschr.c: ... to here.
13123         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13124         sysdeps/powerpc/power6/wcschr.c.
13125
13126         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13127         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13128         file.
13129         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13130         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13131         file: multiarch strchr for PPC32.
13132         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13133         multiarch objects.
13134         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13135         (__libc_ifunc_impl_list): Likewise.
13136
13137         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13138         name.
13139         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13140         file.
13141         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13142         file.
13143         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13144         multiarch strchrnul for PPC32.
13145         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13146         multiarch objects.
13147         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13148         (__libc_ifunc_impl_list): Likewise.
13149
13150         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13151         file.
13152         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13153         multiarch strncasecmp for PPC32.
13154         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13155         file.
13156         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13157         multiarch strncasecmp_l for PPC32.
13158         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13159         strncasecmp multiarch objects.
13160         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13161         (__libc_ifunc_impl_list): Likewise.
13162
13163         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13164         file.
13165         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13166         multiarch strncasecmp for PPC32.
13167         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13168         New file.
13169         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13170         multiarch strcasecmp_l for PPC32.
13171         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13172         multiarch objects.
13173         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13174         (__libc_ifunc_impl_list): Likewise.
13175
13176         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13177         file.
13178         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13179         file.
13180         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13181         multiarch strncmp for PPC32.
13182         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13183         multiarch objects.
13184         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13185         (__libc_ifunc_impl_list): Likewise.
13186
13187         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13188         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13189         file.
13190         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13191         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13192         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13193         multiarch objects.
13194         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13195         (__libc_ifunc_impl_list): Likewise.
13196
13197         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13198         file.
13199         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13200         file.
13201         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13202         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13203         multiarch objects.
13204         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13205         (__libc_ifunc_impl_list): Likewise.
13206
13207         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13208         file.
13209         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13210         file.
13211         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13212         multiarch rawmemchr for PPC32.
13213         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13214         multiarch objects.
13215         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13216         (__libc_ifunc_impl_list): Likewise.
13217
13218         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13219         file.
13220         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13221         file.
13222         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13223         file: memrchr multiarch for PPC32.
13224         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13225         multiarch objects.
13226         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13227         (__libc_ifunc_impl_list): Likewise.
13228
13229         * string/memchr.c (__memchr): Using macro to redefine symbol name.
13230         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13231         file.
13232         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13233         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13234         multiarch memchr for PPC32.
13235         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13236         multiarch objects.
13237         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13238         (__libc_ifunc_impl_list): Likewise.
13239
13240         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13241         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13242         file.
13243         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13244         file.
13245         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13246         file: multiarch mempcpy for PPC32.
13247         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13248         multiarch objects.
13249         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13250         (__libc_ifunc_impl_list): Likewise.
13251
13252         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13253         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13254         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13255         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13256         multiarch bzero for PPC32.
13257         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13258         file.
13259         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13260         file.
13261         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13262         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13263         file: multiarch memset for PPC32.
13264         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13265         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13266         memset multiarch objects.
13267         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13268         (__libc_ifunc_impl_list): Likewise.
13269
13270         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13271         file.
13272         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13273         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13274         memcmp for PPC32.
13275         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13276         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13277         multiarch objects.
13278         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13279         (__libc_ifunc_impl_list): Likewise.
13280
13281         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13282         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13283         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13284         file.
13285         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13286         file.
13287         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13288         file.
13289         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13290         multiarch memcpy for PPC32.
13291         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13292         multiarch objects.
13293         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13294         (__libc_ifunc_impl_list): Likewise.
13295
13296         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13297         support multiarch for POWER/PPC32.
13298         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13299         Likewise.
13300         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13302         Implies file to make multiarch folder appers before the fpu and
13303         default folder for power4 configuration.
13304
13305 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
13306
13307         * scripts/bench.pl: Append volatile keyword to type.
13308
13309 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13310
13311         * sysdeps/sh/sotruss-lib.c: New file.
13312         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13313
13314 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13315
13316         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13317
13318 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
13319
13320         [BZ #6810]
13321         * math/w_tgamma.c: Include <errno.h>.
13322         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
13323         * math/w_tgammaf.c: Include <errno.h>.
13324         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
13325         * math/w_tgammal.c: Include <errno.h>.
13326         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
13327         * math/auto-libm-test-in: Do not allow missing errno on tgamma
13328         underflow.  Add more tgamma tests.
13329         * math/auto-libm-test-out: Regenerated.
13330         * sysdeps/i386/fpu/libm-test-ulps: Update.
13331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13332
13333         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13334         sin, sinh, tan, tanh, tgamma, y0 and y1.
13335         * math/auto-libm-test-out: Regenerated.
13336         * math/libm-test.inc (TEST_COND_x86_64): New macro.
13337         (TEST_COND_x86): Likewise.
13338         (M_E2l): Remove macro.
13339         (M_E3l): Likewise.
13340         (M_2_SQRT_PIl): Likewise.
13341         (M_SQRT_PIl): Likewise.
13342         (M_1_DIV_El): Likewise.
13343         (log_test_data): Use AUTO_TESTS_f_f.
13344         (log10_test_data): Likewise.
13345         (log1p_test_data): Likewise.
13346         (log2_test_data): Likewise.
13347         (sin_test_data): Likewise.
13348         (sin_tonearest_test_data): Likewise.
13349         (sin_towardzero_test_data): Likewise.
13350         (sin_downward_test_data): Likewise.
13351         (sin_upward_test_data): Likewise.
13352         (sinh_test_data): Likewise.
13353         (sinh_tonearest_test_data): Likewise.
13354         (sinh_towardzero_test_data): Likewise.
13355         (sinh_downward_test_data): Likewise.
13356         (sinh_upward_test_data): Likewise.
13357         (tan_test_data): Likewise.
13358         (tan_tonearest_test_data): Likewise.
13359         (tan_towardzero_test_data): Likewise.
13360         (tan_downward_test_data): Likewise.
13361         (tan_upward_test_data): Likewise.
13362         (tanh_test_data): Likewise.
13363         (tgamma_test_data): Likewise.
13364         (y0_test_data): Likewise.
13365         (y1_test_data): Likewise.
13366         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13367         (special_real_inputs): Add pi/4.
13368         * sysdeps/i386/fpu/libm-test-ulps: Update.
13369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13370
13371 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13372
13373         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13374         "longjmp_target" static probes.
13375         (__longjmp): Rename to __longjmp_symbol.
13376         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13377         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13378         on which longjmp to generate.
13379         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13380         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13381         probe.
13382         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13383         (__sigjmp_save): Rename to __sigjmp_save_symbol.
13384         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13385         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13386         and __sigjmp_save_symbol based on which sigsetjmp to generated.
13387         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13389         __longjmp_symbol based on which __longjmp to generate.
13390         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13391         probe.
13392         (setjmp): Rename to setjmp_symbol.
13393         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13394         (_setjmp): Rename to _setjmp_symbol.
13395         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13396         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13397         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13398         which setjmp to generate.
13399         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13400         "longjmp_target" static probes.
13401
13402 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13403
13404         * benchtests/README: Add note about output arguments.
13405         * benchtests/bench-sincos.c: Remove file.
13406         * benchtests/sincos-inputs: New file.
13407         * scripts/bench.pl: Identify output arguments and define
13408         static variables for them.
13409
13410         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13411
13412         [BZ #15941]
13413         * Makefile (INSTALL): Add install-plain.texi as the primary
13414         dependency.
13415         * manual/install-plain.texi: New file.
13416         * manual/install.texi: Include node directive only for
13417         non-plaintext output.
13418
13419 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
13420
13421         * stdlib/longlong.h: Update from GCC.
13422
13423         [BZ #6807]
13424         [BZ #15901]
13425         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13426         * math/w_j0f.c (y0f): Likewise.
13427         * math/w_j0l.c (__y0l): Likewise.
13428         * math/w_j1.c (y1): Likewise.
13429         * math/w_j1f.c (y1f): Likewise.
13430         * math/w_j1l.c (__y1l): Likewise
13431         * math/w_jn.c (yn): Likewise.
13432         * math/w_jnf.c (ynf): Likewise.
13433         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13434         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
13435         value for Bessel function domain errors outside _SVID_ mode.
13436         Adjust sign of return value for yn (negative integer, 0).
13437         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13438         by zero in return for negative x and set sign appropriately for
13439         negative n.
13440         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13441         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13442         * math/libm-test.inc (y0_test_data): Add more tests and adjust
13443         expectations in error cases.
13444         (y1_test_data): Likewise.
13445         (yn_test_data): Likewise.
13446         * sysdeps/i386/fpu/libm-test-ulps: Update.
13447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13448
13449 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13450
13451         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13452         "64" to "64-v1".  Add "64-v2".
13453         (abi-64-options): Rename to ...
13454         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
13455         (abi-64-condition): Rename to ...
13456         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
13457         (abi-64-ld-soname): Rename to ...
13458         (abi-64-v1-ld-soname): ... this.
13459         (abi-64-v2-options): Define.
13460         (abi-64-v2-condition): Likewise.
13461         (abi-64-v2-ld-soname): Likewise.
13462         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13463         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13467
13468 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13469             Alan Modra  <amodra@gmail.com>
13470
13471         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13472         New versions for use with the ELFv2 ABI.
13473         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13474         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13475         declaration.
13476         (struct La_ppc64v2_retval): Likewise.
13477         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13478         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13479         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13480         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13481         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13482         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13483         Do not save or restore CR.
13484         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13485         (_dl_profile_resolve): Do no save or restore CR.  Support extended
13486         return values for ELFv2 ABI.  Fix location of FPR return registers.
13487         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13488         updated values for _CALL_ELF == 2.
13489         (La_regs, La_retval, int_retval): Likewise.
13490
13491 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13492
13493         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13494         (FRAME_MIN_SIZE_PARM): Likewise.
13495         (FRAME_BACKCHAIN): Likewise.
13496         (FRAME_CR_SAVE): Likewise.
13497         (FRAME_LR_SAVE): Likewise.
13498         (FRAME_TOC_SAVE): Likewise.
13499         (FRAME_PARM_SAVE): Likewise.
13500         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13501         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13502         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13503         (call_mcount_parm_offset): New macro.
13504         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13505         (PROF): Use symbolic stack frame offsets.
13506         (TAIL_CALL_SYSCALL_ERROR): Likewise.
13507         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13508         Redefine in terms of FRAME_MIN_SIZE.
13509         (_dl_runtime_resolve): Use symbolic stack frame offsets.
13510         (_dl_profile_resolve): Likewise.  Update comment.
13511         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13512         symbols stack frame offsets.
13513         (__sigsetjmp): Likewise.
13514         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13515         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13516         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13517         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13518
13519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13520         (FRAME_BACKCHAIN): Remove.
13521         (FRAME_CR_SAVE): Likewise.
13522         (FRAME_LR_SAVE): Likewise.
13523         (FRAME_COMPILER_DW): Likewise.
13524         (FRAME_LINKER_DW): Likewise.
13525         (FRAME_TOC_SAVE): Likewise.
13526         (FRAME_PARM_SAVE): Likewise.
13527         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13528         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13529         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13531         (CHECK_SP): Use symbolic stack frame offsets.
13532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13533         zone" instead of caller's parameter save area for temp storage.
13534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13535         Likewise.  Also, use symbolic stack frame offsets.
13536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13537         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13538         our own stack frame instead of the caller's.
13539         (__socket): Use symbolic stack frame offsets.
13540
13541 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13542             Alan Modra  <amodra@gmail.com>
13543
13544         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13545         Define.
13546         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13547         (PPC64_LOCAL_ENTRY_OFFSET): Define.
13548         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13549         New function.
13550         (elf_machine_fixup_plt): Call it.
13551         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
13552         reloc arguments.
13553         (elf_machine_rela): Update call to elf_machine_plt_conflict.
13554         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13555         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13556         r2 before calling target.
13557
13558 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13559             Alan Modra  <amodra@gmail.com>
13560
13561         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13562         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13563         versions of macros to support ELFv2 ABI.
13564         (LOCALENTRY): New macro.
13565         (ENTRY, EALIGN): Use it.
13566         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13567         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13568         fall through into ENTRY entry point.
13569         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13570         Only define if _CALL_ELF != 2.
13571
13572         (elf_machine_matches_host): Verify ABI version matches.
13573         (RTLD_START): Use LOCALENTRY.
13574         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13575         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13576         (PLT_ENTRY_WORDS): New macro.
13577         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13578         (elf_machine_runtime_setup): Support ELFv2 ABI.
13579         (elf_machine_fixup_plt): Likewise.
13580         (elf_machine_plt_conflict): Likewise.
13581         (resolve_ifunc): Likewise.
13582         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13583         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13584         Likewise.
13585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13586         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13588         (makecontext): Support ELFv2 ABI.
13589         * elf/elf.h (EF_PPC64_ABI): Define.
13590
13591 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13592
13593         * sysdeps/powerpc/powerpc64/sysdep.h
13594         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13595         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13596         (ENTRY) [ASSEMBLER]: ... but instead here ...
13597         (EALIGN) [ASSEMBLER]: ... and here.
13598         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13599         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13600         (ENTRY_2) [!ASSEMBLER]: Use it.
13601         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13602         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
13603         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13604         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13605         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13607         Use PPC64_LOAD_FUNCPTR.
13608
13609         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13610
13611 2013-12-04  Alan Modra  <amodra@gmail.com>
13612
13613         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13614         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13615         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13616         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13617
13618         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13619         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13620         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13621         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13622         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13623         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13624
13625 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13626
13627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13628         (__makecontext): Fix incorrect CFI when backtracing out of
13629         context created via makecontext.
13630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13631         (__setcontext): Fix incorrect CFI during switch to new context.
13632         (__novec_setcontext): Likewise.
13633
13634 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
13635
13636         [BZ #4772]
13637         * time/strptime_l.c (__strptime_internal): Allow modifiers
13638         in strptime.
13639         * time/tst-strptime.c (day_tests): Add testcase.
13640
13641 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13642
13643         * scripts/bench.pl: Skip over blank lines.
13644
13645 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
13646
13647         [BZ #926]
13648         * manual/time.texi (Calendar Time): Clarify what timezone functions
13649         use.
13650
13651 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13652
13653         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13654
13655 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
13656
13657         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13658         implementation.
13659         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13660         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13661         * debug/memset_chk.c (__memset_chk): Likewise.
13662         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13663         * debug/strncpy_chk.c: Likewise.
13664
13665 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
13666
13667         [BZ #15268]
13668         [BZ #15425]
13669         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13670         (__ieee754_exp): For possibly underflowing results, check size of
13671         result and force underflow exception if required.
13672         * math/auto-libm-test-in: Add more tests of exp.
13673         * math/auto-libm-test-out: Regenerated.
13674         * sysdeps/i386/fpu/libm-test-ulps: Update.
13675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13676
13677         [BZ #16283]
13678         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13679         * math/w_exp2f.c (__exp2f): Likewise.
13680         * math/w_exp2l.c (__exp2l): Likewise.
13681         * math/auto-libm-test-in: Do not allow missing errno on exp2
13682         underflow.
13683         * math/auto-libm-test-out: Regenerated.
13684
13685 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
13686
13687         [BZ #16274]
13688         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13689         handle filename validation.
13690         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13691         (do_open): Delete.
13692
13693 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
13694
13695         [BZ #6786]
13696         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13697         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13698         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13699         <float.h>.
13700         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13701         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13702         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13703         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13704         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13705         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13706         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13707         * math/auto-libm-test-in: Don't allow missing errno from erfc.
13708         Add more erfc tests.
13709         * math/auto-libm-test-out: Regenerated.
13710         * sysdeps/i386/fpu/libm-test-ulps: Update.
13711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13712
13713         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13714         exp2, expm1, j0 and j1.
13715         * math/auto-libm-test-out: Regenerated.
13716         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13717         (erfc_test_data): Likewise.
13718         (exp_test_data): Likewise.
13719         (exp_tonearest_test_data): Likewise.
13720         (exp_towardzero_test_data): Likewise.
13721         (exp_downward_test_data): Likewise.
13722         (exp_upward_test_data): Likewise.
13723         (exp10_test_data): Likewise.
13724         (exp2_test_data): Likewise.
13725         (expm1_test_data): Likewise.
13726         (j0_test_data): Likewise.
13727         (j1_test_data): Likewise.
13728         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13729         (input_flag_type): Add flag_xfail_rounding.
13730         (input_flags): Add xfail-rounding.
13731         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13732         (output_for_one_input_case): Handle flag_xfail_rounding.
13733         * sysdeps/i386/fpu/libm-test-ulps: Update.
13734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13735
13736 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
13737
13738         [BZ #16289]
13739         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13740         division by 0.
13741
13742 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
13743
13744         [BZ #16195]
13745         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13746         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13747         (STAP_PROBE0): New macro.
13748         (STAP_PROBE1): Likewise.
13749         (STAP_PROBE2): Likewise.
13750         (STAP_PROBE3): Likewise.
13751         (STAP_PROBE4): Likewise.
13752
13753 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
13754
13755         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13756
13757 2013-12-02  Steve Ellcey  <sellcey@mips.com>
13758
13759         * benchtests/Makefile (bench): Add sqrt.
13760         (LDLIBS-bench-sqrt): New.
13761         * benchtests/sqrt-input: New.
13762
13763 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
13764
13765         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13766         (GAIH_EAI): Likewise.
13767         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13768         (gaih_inet): Likewise.
13769         (getaddrinfo): Don't use GAIH_EAI.
13770
13771         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13772         (struct gaih): Remove definition.
13773
13774 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13775
13776         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13777         Use HERRNOP directly.
13778
13779 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13780
13781         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13782
13783 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
13784
13785         * math/gen-auto-libm-tests.c (test_functions): Add more
13786         single-argument functions.
13787         (special_fill_pi_2): New function.
13788         (special_fill_minus_pi_2): Likewise.
13789         (special_fill_pi_6): Likewise.
13790         (special_fill_minus_pi_6): Likewise.
13791         (special_fill_pi_3): Likewise.
13792         (special_fill_2pi_3): Likewise.
13793         (special_fill_e): Likewise.
13794         (special_fill_1_e): Likewise.
13795         (special_fill_e_minus_1): Likewise.
13796         (special_real_inputs): Add more special inputs.
13797         (output_for_one_input_case): Do not require ERANGE on underflow to
13798         zero if round-to-nearest result does not underflow to zero, unless
13799         exact results required.
13800         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13801         atan, atanh, cbrt, cos and cosh.
13802         * math/auto-libm-test-out: Regenerated.
13803         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13804         (acos_tonearest_test_data): Likewise.
13805         (acos_towardzero_test_data): Likewise.
13806         (acos_downward_test_data): Likewise.
13807         (acos_upward_test_data): Likewise.
13808         (acosh_test_data): Likewise.
13809         (asin_test_data): Likewise.
13810         (asin_tonearest_test_data): Likewise.
13811         (asin_towardzero_test_data): Likewise.
13812         (asin_upward_test_data): Likewise.
13813         (asinh_test_data): Likewise.
13814         (atan_test_data): Likewise.
13815         (atanh_test_data): Likewise.
13816         (cbrt_test_data): Likewise.
13817         (cos_test_data): Likewise.
13818         (cos_tonearest_test_data): Likewise.
13819         (cos_towardzero_test_data): Likewise.
13820         (cos_downward_test_data): Likewise.
13821         (cos_upward_test_data): Likewise.
13822         (cosh_test_data): Likewise.
13823         (cosh_tonearest_test_data): Likewise.
13824         (cosh_towardzero_test_data): Likewise.
13825         (cosh_downward_test_data): Likewise.
13826         (cosh_upward_test_data): Likewise.
13827         * sysdeps/i386/fpu/libm-test-ulps: Update.
13828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13829
13830 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
13831
13832         [BZ #6787]
13833         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13834         * math/w_exp10f.c (__exp10f): Likewise.
13835         * math/w_exp10l.c (__exp10l): Likewise.
13836         * math/libm-test.inc (exp10_test_data): Add more tests and expect
13837         errno settings in existing tests.
13838
13839         [BZ #14032]
13840         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13841         precision control set to double precision.
13842         * sysdeps/i386/fpu/w_sqrt.c: New file.
13843         * math/auto-libm-test-in: Add more tests.
13844         * math/auto-libm-test-out: Update.
13845
13846         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13847         (sqrt_test_tonearest): New function.
13848         (sqrt_towardzero_test_data): New variable.
13849         (sqrt_test_towardzero): New function.
13850         (sqrt_downward_test_data): New variable.
13851         (sqrt_test_downward): New function.
13852         (sqrt_upward_test_data): New variable.
13853         (sqrt_test_upward): New function.
13854         (main): Call the new functions.
13855
13856         * math/gen-auto-libm-tests.c: New file.
13857         * math/auto-libm-test-in: Likewise.
13858         * math/auto-libm-test-out: New generated file.
13859         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13860         variables.
13861         (%beautify): Add generated representations of zero.
13862         (top level): Set $auto_input and call parse_auto_input.
13863         (beautify): Remove trailing "f" from hex float constants.
13864         (parse_args): Handle XFAIL_TEST.
13865         (convert_condition): New function.
13866         (or_value): Likewise.
13867         (or_cond_value): Likewise.
13868         (generate_testfile): Handle AUTO_TESTS_* lines.
13869         (parse_auto_input): New function.
13870         * math/libm-test.inc (XFAIL_TEST): New macro.
13871         (ERRNO_UNCHANGED): Update value.
13872         (ERRNO_EDOM): Likewise.
13873         (ERRNO_ERANGE): Likewise.
13874         (IGNORE_RESULT): Likewise.
13875         (TEST_COND_flt_32): New macro.
13876         (TEST_COND_dbl_64): Likewise.
13877         (TEST_COND_ldbl_96_intel): Likewise.
13878         (TEST_COND_ldbl_96_m68k): Likewise.
13879         (TEST_COND_ldbl_128): Likewise.
13880         (TEST_COND_ldbl_128ibm): Likewise.
13881         (TEST_COND_long32): Likewise.
13882         (TEST_COND_long64): Likewise.
13883         (TEST_COND_before_rounding): Likewise.
13884         (TEST_COND_after_rounding): Likewise.
13885         (enable_test): Handle XFAIL_TEST flag.
13886         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13887         with finite results.
13888         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13889         auto-libm-test-out.
13890
13891 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13892             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13893
13894         [BZ #16214]
13895         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13896         __tls_get_addr_internal instead of __tls_get_offset in order to
13897         avoid GOT pointer dependency.  Make rtld export
13898         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13899         __tls_get_addr since we are a __tls_get_offset platform.
13900         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13901         GOT pointer being set up before.
13902         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13903
13904 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
13905
13906         * manual/math.texi (Errors in Math Functions): Document accuracy
13907         goals.
13908
13909         [BZ #15004]
13910         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13911         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13912         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13913         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13914         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13915         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13916         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13917         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13918         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13919         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13920         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13921         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13922         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13923         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13924         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13925         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13926
13927         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13928         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13929         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13930         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13931         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13932         Likewise.
13933         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13934         Likewise.
13935         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13936         Likewise.
13937         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13938         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13939         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13940         atomic-feupdateenv and flt-rounds.
13941         * sysdeps/powerpc/nofpu/Versions (libc): Add
13942         __atomic_feholdexcept, __atomic_feclearexcept,
13943         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13944         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13945         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13946         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13947         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13948         here.
13949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13950         Update.
13951
13952         * manual/arith.texi (FP Exceptions): Document that exceptions may
13953         not be raised when matherr is used.
13954         (Math Error Reporting): Document overflow in directed rounding
13955         modes.  Document that errno may not be set when finite values are
13956         returned on overflow.  Document intent to set errno on underflow
13957         only for underflow to zero.
13958
13959         [BZ #16271]
13960         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13961         round-to-nearest then adjust result for other rounding modes.
13962         * include/fenv.h (fegetround): Use libm_hidden_proto.
13963         * math/fegetround.c (fegetround): Use libm_hidden_def.
13964         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13965         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13966         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13967         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13968         Likewise.
13969         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13970         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13971         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13972         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13973
13974 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13975
13976         [BZ #16077]
13977         * nss/Versions (libnss_files): Add
13978         _nss_files_gethostbyname3_r.
13979         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13980         New function.
13981         (HOST_DB_LOOKUP): Remove macro.
13982         (_nss_files_gethostbyname_r): Implement function without the
13983         HOST_DB_LOOKUP macro.
13984         (_nss_files_gethostbyname2_r): Likewise.
13985
13986 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
13987
13988         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13989
13990 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
13991
13992         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13993         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13994         warning.
13995
13996 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13997
13998         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13999         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14000         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14001         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14002         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14003         __fe_nomask_env_priv and attribute_hidden.
14004         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14005         (libc_feupdateenv_test_ppc): Likewise.
14006         (libc_feresetround_ppc): Likewise.
14007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14008         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14009         compat_symbol macro.
14010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14011         (__fe_nomask_env): Likewise.
14012         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14013
14014 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14015
14016         * string/Makefile: Remove ifunc tests.
14017         * string/test-string.h: Define TEST_IFUNC.
14018         * string/test-bcopy-ifunc.c: Remove.
14019         * string/test-bzero-ifunc.c: Likewise.
14020         * string/test-memccpy-ifunc.c: Likewise.
14021         * string/test-memchr-ifunc.c: Likewise.
14022         * string/test-memcmp-ifunc.c: Likewise.
14023         * string/test-memcpy-ifunc.c: Likewise.
14024         * string/test-memmem-ifunc.c: Likewise.
14025         * string/test-memmove-ifunc.c: Likewise.
14026         * string/test-mempcpy-ifunc.c: Likewise.
14027         * string/test-memrchr-ifunc.c: Likewise.
14028         * string/test-memset-ifunc.c: Likewise.
14029         * string/test-rawmemchr-ifunc.c: Likewise.
14030         * string/test-stpcpy-ifunc.c: Likewise.
14031         * string/test-stpncpy-ifunc.c: Likewise.
14032         * string/test-strcasecmp-ifunc.c: Likewise.
14033         * string/test-strcasestr-ifunc.c: Likewise.
14034         * string/test-strcat-ifunc.c: Likewise.
14035         * string/test-strchr-ifunc.c: Likewise.
14036         * string/test-strchrnul-ifunc.c: Likewise.
14037         * string/test-strcmp-ifunc.c: Likewise.
14038         * string/test-strcpy-ifunc.c: Likewise.
14039         * string/test-strcspn-ifunc.c: Likewise.
14040         * string/test-strlen-ifunc.c: Likewise.
14041         * string/test-strncasecmp-ifunc.c: Likewise.
14042         * string/test-strncat-ifunc.c: Likewise.
14043         * string/test-strncmp-ifunc.c: Likewise.
14044         * string/test-strncpy-ifunc.c: Likewise.
14045         * string/test-strnlen-ifunc.c: Likewise.
14046         * string/test-strpbrk-ifunc.c: Likewise.
14047         * string/test-strrchr-ifunc.c: Likewise.
14048         * string/test-strspn-ifunc.c: Likewise.
14049         * string/test-strstr-ifunc.c: Likewise.
14050
14051 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14052
14053         * benchtests/Makefile: Remove ifunc tests.
14054         * benchtests/bench-string.h: Define TEST_IFUNC.
14055         * benchtests/bench-bcopy-ifunc.c: Remove.
14056         * benchtests/bench-bzero-ifunc.c: Likewise.
14057         * benchtests/bench-memccpy-ifunc.c: Likewise.
14058         * benchtests/bench-memchr-ifunc.c: Likewise.
14059         * benchtests/bench-memcmp-ifunc.c: Likewise.
14060         * benchtests/bench-memcpy-ifunc.c: Likewise.
14061         * benchtests/bench-memmem-ifunc.c: Likewise.
14062         * benchtests/bench-memmove-ifunc.c: Likewise.
14063         * benchtests/bench-mempcpy-ifunc.c: Likewise.
14064         * benchtests/bench-memrchr-ifunc.c: Likewise.
14065         * benchtests/bench-memset-ifunc.c: Likewise.
14066         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14067         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14068         * benchtests/bench-stpcpy-ifunc.c: Likewise.
14069         * benchtests/bench-stpncpy-ifunc.c: Likewise.
14070         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14071         * benchtests/bench-strcasestr-ifunc.c: Likewise.
14072         * benchtests/bench-strcat-ifunc.c: Likewise.
14073         * benchtests/bench-strchr-ifunc.c: Likewise.
14074         * benchtests/bench-strchrnul-ifunc.c: Likewise.
14075         * benchtests/bench-strcmp-ifunc.c: Likewise.
14076         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14077         * benchtests/bench-strcpy-ifunc.c: Likewise.
14078         * benchtests/bench-strcspn-ifunc.c: Likewise.
14079         * benchtests/bench-strlen-ifunc.c: Likewise.
14080         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14081         * benchtests/bench-strncat-ifunc.c: Likewise.
14082         * benchtests/bench-strncmp-ifunc.c: Likewise.
14083         * benchtests/bench-strncpy-ifunc.c: Likewise.
14084         * benchtests/bench-strnlen-ifunc.c: Likewise.
14085         * benchtests/bench-strpbrk-ifunc.c: Likewise.
14086         * benchtests/bench-strrchr-ifunc.c: Likewise.
14087         * benchtests/bench-strsep-ifunc.c: Likewise.
14088         * benchtests/bench-strspn-ifunc.c: Likewise.
14089         * benchtests/bench-strstr-ifunc.c: Likewise.
14090
14091 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14092
14093         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14094
14095 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14096
14097         * resolv/netdb.h: Use __glibc_reserved instead __unused.
14098         * rt/aio.h: Likewise.
14099         * sysdeps/gnu/bits/utmp.h: Likewise.
14100         * sysdeps/gnu/bits/utmpx.h: Likewise.
14101         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14102         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14103         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14104         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14105         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14106         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14107         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14108         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14109         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14110         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14111         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14112         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14113         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14115         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14116         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14117         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14118         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14119         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14120         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14121         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14122         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14123         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14124         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14125         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14126         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14127         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14128         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14129         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14130         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14131         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14132         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14133         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14134         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14135         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14136         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14137         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14138         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14139         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14140         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14141         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14142         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14143
14144 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
14145
14146         [BZ #16245]
14147         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14148         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14149
14150 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
14151
14152         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14153         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14154         Likewise.
14155
14156 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14157
14158         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14159         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14160         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14161         (__fesetround): Remove define.
14162         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14163         rounding and exceptions handling.
14164         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14165         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14166         (__fe_nomask_env): Likewise.
14167         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14168         __fegetround instead of fegetround.
14169         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14170         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14171
14172 2013-11-21  Roland McGrath  <roland@hack.frob.com>
14173
14174         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14175         it's there.
14176
14177         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14178
14179 2013-11-21  Meador Inge  <meadori@codesourcery.com>
14180
14181         [BZ #11157]
14182         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14183         (encrypt_r): Likewise.
14184         * malloc/obstack.h (obstack_free): Likewise.
14185         * posix/unistd.h (encrypt): Likewise.
14186
14187 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
14188
14189         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14190         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14191         DL_CALL_DT_FINI() that call the functions directly.
14192         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14193         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14194         * elf/dl-fini.c: Likewise.
14195
14196 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
14197
14198         * malloc/hooks.c (memalign_check): Add alignment rounding.
14199         * malloc/malloc.c (_mid_memalign): New function.
14200         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14201         Implement by calling _mid_memalign.
14202         * manual/probes.texi (Memory Allocation Probes): Remove
14203         memory_valloc_retry and memory_pvalloc_retry.
14204
14205 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14206
14207         * locale/programs/locarchive.c (open_archive): Add const
14208         qualifier to ARCHIVEFNAME and copy default fname to
14209         DEFAULT_FNAME.
14210
14211         [BZ #15601]
14212         * libio/tst-widetext.input: Rename Oriya to Odia.
14213         * locale/iso-639.def: Likewise.
14214
14215         * manual/probes.texi (Mathematical Function Probes): Add
14216         documentation for sin, cos, asin and acos probes.
14217         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14218         (__sin32): Add slowasin probe.
14219         (__cos32): Add slowacos probe.
14220         (__mpsin): Add slowsin probe.
14221         (__mpcos): Add slowcos probe.
14222
14223 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
14224
14225         [BZ #15483]
14226         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14227         thread-local __sim_exceptions_thread and global
14228         __sim_exceptions_global.
14229         (__sim_disabled_exceptions): Change to thread-local
14230         __sim_disabled_exceptions_thread and global
14231         __sim_disabled_exceptions_global.
14232         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14233         and global __sim_round_mode_global.
14234         (__simulate_exceptions): Use thread-local floating-point state and
14235         set global state from it as needed.
14236         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14237         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14238         __sim_round_mode_thread.
14239         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14240         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14241         and global __sim_exceptions_global.
14242         (__sim_disabled_exceptions): Change to thread-local
14243         __sim_disabled_exceptions_thread and global
14244         __sim_disabled_exceptions_global.
14245         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14246         and global __sim_round_mode_global.
14247         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14248         (SIM_SET_GLOBAL): Likewise.
14249         * sysdeps/powerpc/soft-fp/sfp-machine.h
14250         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14251         __sim_round_mode_thread.
14252         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14253         __sim_disabled_exceptions_thread.
14254         (__sim_exceptions): Change to __sim_exceptions_thread.
14255         (__sim_disabled_exceptions): Change to
14256         __sim_disabled_exceptions_thread.
14257         (__sim_round_mode): Change to __sim_round_mode_thread.
14258         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14259         thread-local floating-point state and set global state from it as
14260         needed.
14261         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14262         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14263         (__sim_disabled_exceptions): Remove extern declaration.
14264         (feenableexcept): Use thread-local floating-point state and set
14265         global state from it as needed.
14266         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14267         extern declaration.
14268         (__sim_disabled_exceptions): Likewise.
14269         (__sim_round_mode): Likewise.
14270         (__fegetenv): Use thread-local floating-point state.
14271         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14272         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14273         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14274         floating-point state and set global state from it as needed.
14275         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14276         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14277         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14278         Likewise.
14279         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14280         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14281         Likewise.
14282         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14283         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14284         Use __sim_round_mode_thread.
14285         * math/test-fenv-tls.c: New file.
14286         * math/Makefile (tests): Add test-fenv-tls.
14287         ($(objpfx)test-fenv-tls): Depend on
14288         $(common-objpfx)nptl/libpthread.so.
14289
14290 2013-11-19  Andreas Schwab  <schwab@suse.de>
14291
14292         * locale/programs/locale.c (show_info): Decode wordarray elements.
14293         * locale/categories.def (LC_MONETARY): Add element for
14294         _NL_MONETARY_CRNCYSTR.
14295         * locale/C-monetary.c (conversion_rate): New variable.
14296         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14297         element.
14298
14299 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
14300
14301         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14302         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14303
14304 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
14305
14306         * elf/Makefile (tst-auxv): New test.
14307         * elf/tst-auxv.c: New
14308         * elf/rtld.c (dl_main): Adjust AT_EXECFN
14309
14310 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
14311
14312         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14313         (hidden_proto): Caller changed.
14314         (hidden_tls_proto): New macro.
14315         (libc_hidden_tls_proto): Likewise.
14316         (rtld_hidden_tls_proto): Likewise.
14317         (libm_hidden_tls_proto): Likewise.
14318         (libresolv_hidden_tls_proto): Likewise.
14319         (librt_hidden_tls_proto): Likewise.
14320         (libdl_hidden_tls_proto): Likewise.
14321         (libnss_files_hidden_tls_proto): Likewise.
14322         (libnsl_hidden_tls_proto): Likewise.
14323         (libnss_nisplus_hidden_tls_proto): Likewise.
14324         (libutil_hidden_tls_proto): Likewise.
14325
14326 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
14327
14328         [BZ #10253]
14329         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14330         (decompose_rpath): Defer expansion to fillin_rpath.
14331         (_dl_init_paths): Pass linkmap to fillin_rpath.
14332
14333 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14334
14335         * benchtests/Makefile: Add strsep.
14336         * benchtests/bench-strsep.c: New file: strsep benchtest.
14337         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14338
14339 2013-11-18  Andreas Schwab  <schwab@suse.de>
14340
14341         * locale/programs/locale.c (show_info) [case byte]: Check for
14342         '\377' instead of '\177'.
14343         * locale/C-monetary.c (not_available): Always use "\377".
14344         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14345         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
14346         detect unavailable sign_posn locale elements.
14347         * locale/localeconv.c (__localeconv): For grouping and
14348         mon_grouping handle "\177" and "\377" like no grouping.
14349         (INT_ELEM): New macro.  Use it to set all numeric members.
14350         * locale/programs/ld-monetary.c (monetary_read)
14351         <tok_mon_grouping>: Normalize single -1 to the empty string.
14352         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14353         Likewise.
14354
14355 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
14356
14357         [BZ #16055]
14358         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14359         when we match (nil).
14360         * stdio-common/tst-sscanf.c (struct test): Add testcase.
14361
14362 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
14363
14364         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14365         (NO_TEST_INLINE): Update value.
14366         (ERRNO_UNCHANGED): Likewise.
14367         (ERRNO_EDOM): Likewise.
14368         (ERRNO_ERANGE): Likewise.
14369         (IGNORE_RESULT): Likewise.
14370         (check_float_internal): Check signs of NaN results if
14371         TEST_NAN_SIGN used.
14372         (check_complex): Pass TEST_NAN_SIGN flag through to second
14373         check_float_internal call.
14374         (copysign_test_data): Add tests with quiet NaNs as second
14375         argument.  Use TEST_NAN_SIGN.
14376         (fabs_test_data): Add test of negative quiet NaN argument.  Use
14377         TEST_NAN_SIGN.
14378         (signbit_test_data): Add tests of quiet NaN argument.
14379         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14380
14381         * math/gen-libm-test.pl (show_exceptions): Take extra argument
14382         $ignore_result.
14383         (parse_args): Handle function results specified as IGNORE.
14384         * math/libm-test.inc (IGNORE_RESULT): New macro.
14385         (check_float_internal): Do not check numerical result if flag
14386         IGNORE_RESULT set.
14387         (check_complex): Pass through IGNORE_RESULT to second
14388         check_float_internal call.
14389         (check_int): Do not check numerical result if flag IGNORE_RESULT
14390         set.
14391         (check_long): Likewise.
14392         (check_bool): Likewise.
14393         (check_longlong): Likewise.
14394         (lrint_test_data): Add tests of infinite and NaN arguments.
14395         (lrint_tonearest_test_data): Likewise.
14396         (lrint_towardzero_test_data): Likewise.
14397         (lrint_downward_test_data): Likewise.
14398         (lrint_upward_test_data): Likewise.
14399         (llrint_test_data): Likewise.
14400         (llrint_tonearest_test_data): Likewise.
14401         (llrint_towardzero_test_data): Likewise.
14402         (llrint_downward_test_data): Likewise.
14403         (llrint_upward_test_data): Likewise.
14404         (lround_test_data): Likewise.
14405         (llround_test_data): Likewise.
14406
14407         * math/libm-test.inc (NO_TEST_INLINE): New macro.
14408         (ERRNO_UNCHANGED): Update value.
14409         (ERRNO_EDOM): Likewise.
14410         (ERRNO_ERANGE): Likewise.
14411         (NO_TEST_INLINE_FLOAT): New macro.
14412         (NO_TEST_INLINE_DOUBLE): Likewise.
14413         (enable_test): New function.
14414         (RUN_TEST_f_f): Check enable_test before running test.
14415         (RUN_TEST_2_f): Likewise.
14416         (RUN_TEST_fff_f): Likewise.
14417         (RUN_TEST_c_f): Likewise.
14418         (RUN_TEST_f_f1): Likewise.
14419         (RUN_TEST_fF_f1): Likewise.
14420         (RUN_TEST_fI_f1): Likewise.
14421         (RUN_TEST_ffI_f1): Likewise.
14422         (RUN_TEST_c_c): Likewise.
14423         (RUN_TEST_cc_c): Likewise.
14424         (RUN_TEST_f_i): Likewise.
14425         (RUN_TEST_f_i_tg): Likewise.
14426         (RUN_TEST_ff_i_tg): Likewise.
14427         (RUN_TEST_f_b): Likewise.
14428         (RUN_TEST_f_b_tg): Likewise.
14429         (RUN_TEST_f_l): Likewise.
14430         (RUN_TEST_f_L): Likewise.
14431         (RUN_TEST_fFF_11): Likewise.
14432         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14433         conditionals.
14434         (cosh_test_data): Likewise.
14435         (exp_test_data): Likewise.
14436         (expm1_test_data): Likewise.
14437         (hypot_test_data): Likewise.
14438         (pow_test_data): Likewise.
14439         (sinh_test_data): Likewise.
14440         (tanh_test_data): Likewise.
14441         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14442         flags argument.
14443
14444         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14445         tests with quiet NaN input and output.
14446         (acosh_test_data): Likewise.
14447         (asin_test_data): Likewise.
14448         (asinh_test_data): Likewise.
14449         (atan_test_data): Likewise.
14450         (atanh_test_data): Likewise.
14451         (atan2_test_data): Likewise.
14452         (cbrt_test_data): Likewise.
14453         (cos_test_data): Likewise.
14454         (cosh_test_data): Likewise.
14455         (erf_test_data): Likewise.
14456         (erfc_test_data): Likewise.
14457         (exp_test_data): Likewise.
14458         (exp10_test_data): Likewise.
14459         (exp2_test_data): Likewise.
14460         (expm1_test_data): Likewise.
14461         (hypot_test_data): Likewise.
14462         (j0_test_data): Likewise.
14463         (j1_test_data): Likewise.
14464         (jn_test_data): Likewise.
14465         (lgamma_test_data): Likewise.
14466         (log_test_data): Likewise.
14467         (log10_test_data): Likewise.
14468         (log1p_test_data): Likewise.
14469         (log2_test_data): Likewise.
14470         (pow_test_data): Likewise.
14471         (scalb_test_data): Likewise.
14472         (sin_test_data): Likewise.
14473         (sincos_test_data): Likewise.
14474         (sinh_test_data): Likewise.
14475         (tan_test_data): Likewise.
14476         (tanh_test_data): Likewise.
14477         (tgamma_test_data): Likewise.
14478         (y0_test_data): Likewise.
14479         (y1_test_data): Likewise.
14480         (yn_test_data): Likewise.
14481
14482         [BZ #16167]
14483         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14484         argument being NaN and avoid computations with second argument in
14485         that case.
14486         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14487         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14488         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14489
14490 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
14491
14492         * locale/iso-639.def: Add Chitwani Tharu (the).
14493
14494 2013-11-14  Andreas Schwab  <schwab@suse.de>
14495
14496         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14497         word instead of empty string.
14498
14499 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14500
14501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14502         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14504         (__fe_nomask_env): Likewise.
14505
14506 2013-11-13  Steve Ellcey  <sellcey@mips.com>
14507
14508         * benchtests/bench-timing.h: Include time.h.
14509
14510 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
14511
14512         [BZ #15997]
14513         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14514         to 3.4.0 for x32.
14515         * sysdeps/unix/sysv/linux/configure: Regenerated.
14516
14517 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
14518
14519         [BZ #16151]
14520         * stdlib/strtod_l.c (round_and_return): Do not consider
14521         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14522         exponent one less than half the least subnormal exponent.
14523         * stdlib/test-strtod-round-data: Add more tests.
14524         * stdlib/tst-strtod-round.c (tests): Regenerated.
14525
14526 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14527
14528         [BZ #14143]
14529         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14530         (__fe_mask_env): Likewise.
14531         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14532         libm_hidden_proto and add function prototype.
14533         (__fe_mask_env): Add function prototype.
14534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14535         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14537         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14539         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14540
14541 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14542
14543         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14544         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14545
14546 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14547
14548         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14549         of htab_find_slot().
14550
14551 2013-11-11  David S. Miller  <davem@davemloft.net>
14552
14553         [BZ #16150]
14554         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14555         symbol in the non-vis3 case in static builds.
14556         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14557         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14558         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14559         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14560
14561 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
14562
14563         [BZ #387]
14564         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14565         it is empty.
14566
14567 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14568
14569         * benchtests/Makefile: Add bench-strtod.
14570         * benchtests/bench-strtod.c: New file: strtod benchtest
14571
14572 2013-11-11  Andreas Schwab  <schwab@suse.de>
14573
14574         [BZ #16153]
14575         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14576         terminating NUL in key length.
14577
14578 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14579
14580         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14581         Add artificial ODP entry for vDSO symbol for PPC64.
14582         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14583         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14584
14585 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
14586
14587         [BZ #15374]
14588         * nss/getent.c (services_keys): Recognize services starting with digit.
14589
14590 2013-11-06  David S. Miller  <davem@davemloft.net>
14591
14592         [BZ #15985]
14593         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14594         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14595
14596 2013-11-06  Will Newton  <will.newton@linaro.org>
14597
14598         * manual/memory.texi (Malloc Examples): Remove register
14599         keyword from examples.
14600
14601 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
14602
14603         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14604
14605 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
14606
14607         [BZ #6981]
14608         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14609         depending on [__GCC_IEC_559 > 0].
14610         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14611         depending on [__GCC_IEC_559_COMPLEX > 0].
14612
14613 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
14614
14615         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14616         to iso-639.def.
14617
14618 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
14619
14620         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14621
14622 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
14623
14624         [BZ #16112]
14625         * malloc/malloc (malloc_info): Do not handle first bin as
14626         special case.
14627
14628 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
14629
14630         * locale/iso-639.def: Add Central Nahuatl (nhn).
14631
14632 2013-11-01  Bruno Haible  <bruno@clisp.org>
14633
14634         [BZ #7003]
14635         * manual/math.texi (BSD Random): Specify range upper bound as
14636         in POSIX.
14637
14638 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
14639
14640         * locale/iso-639.def: Add Meadow Mari (mhr).
14641
14642 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
14643
14644         [BZ #14752], [BZ #15763]
14645         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14646         Validate name.
14647         * rt/tst_shm.c: Add test for escaping directory.
14648
14649 2013-10-31  Andreas Schwab  <schwab@suse.de>
14650
14651         [BZ #15917]
14652         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14653         followed by 'x' as part of digit sequence.
14654         * stdio-common/tst-sscanf.c (double_tests2): New tests.
14655
14656 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14657
14658         [BZ #16037]
14659         * configure.ac: allow GNU Make 4.0 and greater.
14660         * configure: Regenerated.
14661
14662 2013-10-30  Will Newton  <will.newton@linaro.org>
14663
14664         [BZ #16038]
14665         * malloc/hooks.c (memalign_check): Limit alignment to the
14666         maximum representable power of two.
14667         * malloc/malloc.c (__libc_memalign): Likewise.
14668         * malloc/tst-memalign.c (do_test): Add test for very
14669         large alignment values.
14670         * malloc/tst-posix_memalign.c (do_test): Likewise.
14671
14672 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
14673
14674         [BZ #11087]
14675         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14676         (munmap_chunk): Likewise.
14677         (mremap_chunk): Likewise.
14678
14679 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
14680
14681         [BZ #15799]
14682         * stdlib/div.c (div): Remove obsolete code.
14683         * stdlib/ldiv.c (ldiv): Likewise.
14684         * stdlib/lldiv.c (lldiv): Likewise.
14685
14686 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14687
14688         [BZ #16071]
14689         * nss/nss_files/files-XXX.c (get_contents_ret): New
14690         enumerator.
14691         (get_contents): New function.
14692         (internal_getent): Use it.  Expand size of LINEBUFLEN.
14693
14694 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
14695
14696         * configure.in: Moved to ...
14697         * configure.ac: ... here. Change reference to configure.in
14698         to configure.ac.
14699         * sysdeps/arm/preconfigure.ac: ... here.
14700         configure.in to configure.ac.
14701         * sysdeps/gnu/configure.in: Moved to ...
14702         * sysdeps/gnu/configure.ac: ... here.
14703         * sysdeps/i386/configure.in: Moved to ...
14704         * sysdeps/i386/configure.ac: ... here.
14705         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14706         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14707         * sysdeps/mach/configure.in: Moved to ...
14708         * sysdeps/mach/configure.ac: ... here.
14709         * sysdeps/mach/hurd/configure.in: Moved to ...
14710         * sysdeps/mach/hurd/configure.ac: ... here.
14711         * sysdeps/powerpc/configure.in: Moved to ...
14712         * sysdeps/powerpc/configure.ac: ... here.
14713         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14714         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14715         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14716         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14717         * sysdeps/s390/s390-32/configure.in: Moved to ...
14718         * sysdeps/s390/s390-32/configure.ac: ... here.
14719         * sysdeps/s390/s390-64/configure.in: Moved to ...
14720         * sysdeps/s390/s390-64/configure.ac: ... here.
14721         * sysdeps/sh/configure.in: Moved to ...
14722         * sysdeps/sh/configure.ac: ... here.
14723         * sysdeps/sparc/configure.in: Moved to ...
14724         * sysdeps/sparc/configure.ac: ... here.
14725         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14726         * sysdeps/unix/sysv/linux/configure.ac: ... here.
14727         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14728         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14729         * sysdeps/x86_64/configure.in: Moved to ...
14730         * sysdeps/x86_64/configure.ac: ... here.
14731         * sysdeps/x86_64/preconfigure.in: Moved to ...
14732         * sysdeps/x86_64/preconfigure.ac: ... here.
14733         * aclocal.m4: Change reference to configure.in to configure.ac.
14734         * config.h.in: Likewise.
14735         * manual/install.texi: Likewise.
14736         * manual/maint.texi: Likewise.
14737         * Makefile: Likewise.
14738         * malloc/Makefile: Likewise.
14739         * nscd/Makefile: Likewise.
14740         * Makeconfig: Change reference to configure.in and
14741         preconfigure.in to configure.ac and preconfigure.ac
14742         respectively.
14743         * INSTALL: Regenerated.
14744         * configure: Likewise.
14745         * sysdeps/gnu/configure: Likewise.
14746         * sysdeps/i386/configure: Likewise.
14747         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14748         * sysdeps/mach/configure: Likewise.
14749         * sysdeps/mach/hurd/configure: Likewise.
14750         * sysdeps/powerpc/configure: Likewise.
14751         * sysdeps/powerpc/powerpc32/configure: Likewise.
14752         * sysdeps/powerpc/powerpc64/configure: Likewise.
14753         * sysdeps/s390/s390-32/configure: Likewise.
14754         * sysdeps/s390/s390-64/configure: Likewise.
14755         * sysdeps/sh/configure: Likewise.
14756         * sysdeps/sparc/configure: Likewise.
14757         * sysdeps/unix/sysv/linux/configure: Likewise.
14758         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14759         * sysdeps/x86_64/configure: Likewise.
14760         * sysdeps/x86_64/preconfigure: Likewise.
14761
14762 2013-10-29  Andreas Schwab  <schwab@suse.de>
14763
14764         * stdio-common/Makefile (tst-swscanf-ENV): Define.
14765
14766 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14767
14768         * benchtests/pow-inputs: Add new inputs.
14769
14770         * benchtests/exp-inputs: Add new inputs.
14771
14772         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14773         conditional check for return value.
14774         (__cos32): Likewise.
14775
14776 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14777
14778         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14779         to provide a boost for large inputs with word alignment.
14780         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14781         implementation based on optimized PPC64 strcpy.
14782         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14783         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14784         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14785         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14786
14787 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
14788
14789         [BZ #2801]
14790         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14791
14792 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
14793
14794         [BZ #14876]
14795         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14796         * time/tst-strptime.c (day_tests): Add testcase.
14797
14798 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
14799
14800         [BZ #14029]
14801         * manual/pattern.texi: Acknowledge that fnmatch can fail.
14802
14803 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
14804
14805         [BZ #16074]
14806         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14807         MAP_FAILED on error.
14808
14809 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14810
14811         [BZ #16072]
14812         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14813         heap for large requests.
14814
14815 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
14816
14817         [BZ #9954]
14818         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14819         result if the result has no associated interface.
14820         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14821         interface for all 127.X.Y.Z addresses.
14822
14823 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
14824
14825         * locale/iso-639.def: Add Ligurian (lij)
14826
14827 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
14828
14829         [BZ #15825]
14830         * sunrpc/rpc_main.c: Document rpcgen -5.
14831
14832 2013-10-19  Michael Stahl  <mstahl@redhat.com>
14833
14834         * elf/rtld.c (do_preload): Print the reason why preloading failed.
14835
14836 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
14837
14838         [BZ #10278]
14839         * posix/glob.c: Match only directories when trailing slash is present.
14840         * posix/tst-gnuglob.c (my_opendir): Do not open files.
14841         (main): Add testcase.
14842
14843 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
14844
14845         [BZ #15670]
14846         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14847
14848 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
14849
14850         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14851         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14852         AUTH_DES and cindex for FIPS 140-2.
14853         (DES Encryption): Add cindex FIPS 46-3.
14854
14855         * locale/locarchive.h (struct locarhandle): Add fname.
14856         * locale/programs/localedef.c (main): Pass ARGV[remaining]
14857         if an optional argument was specified to --list-archive,
14858         otherwise NULL.
14859         * locale/programs/locarchive.c (show_archive_content): Take new
14860         argument fname and pass it via ah.fname to open_archive.
14861         * locale/programs/localedef.h: Update decl.
14862         (open_archive): If AH->fname is non-null, open that file
14863         rather than the default file name, and don't ignore ENOENT.
14864         (create_archive): Set AH.fname to NULL.
14865         (delete_locales_from_archive): Likewise.
14866         (add_locales_to_archive): Likewise.
14867         * locale/programs/locfile.c (write_all_categories): Likewise.
14868
14869 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
14870             Aldy Hernandez  <aldyh@redhat.com>
14871
14872         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14873         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14874         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14875         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14876         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14877         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14878         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14879         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14880         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14881         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14882         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14883         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14884         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14885         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14886         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14887         Likewise.
14888         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14889         Likewise.
14890         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14891         Likewise.
14892         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14893         Likewise.
14894         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14895         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14896         Likewise.
14897         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14898         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14899         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14900         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14901         Likewise.
14902         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14903         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14904         * sysdeps/powerpc/preconfigure: Likewise.
14905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14906         Likewise.
14907         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14908         Replace contents of file by #include of <fenv_libc.h>.
14909         * sysdeps/powerpc/soft-fp/sfp-machine.h
14910         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14911         and <sys/prctl.h>.
14912         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14913         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14914         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14915         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14916         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14917         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14918         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14919         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14920         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14921         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14922         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14923         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14925         Allow copysignl PLT reference to be missing.
14926
14927 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
14928             Joseph Myers  <joseph@codesourcery.com
14929
14930         [BZ #15948]
14931         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14932         single character.
14933         (add_to_tablewc): Assert sequence of wide characters is nonempty.
14934
14935 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14936
14937         * elf/tst-tls-dlinfo.c: Don't include tls.h.
14938         * elf/tst-tls1.c: Likewise.
14939         * elf/tst-tls10.h: Likewise.
14940         * elf/tst-tls14.c: Likewise.
14941         * elf/tst-tls2.c: Likewise.
14942         * elf/tst-tls3.c: Likewise.
14943         * elf/tst-tls4.c: Likewise.
14944         * elf/tst-tls5.c: Likewise.
14945         * elf/tst-tls6.c: Likewise.
14946         * elf/tst-tls7.c: Likewise.
14947         * elf/tst-tls8.c: Likewise.
14948         * elf/tst-tls9.c: Likewise.
14949         * elf/tst-tlsmod1.c: Likewise.
14950         * elf/tst-tlsmod13.c: Likewise.
14951         * elf/tst-tlsmod13a.c: Likewise.
14952         * elf/tst-tlsmod14a.c: Likewise.
14953         * elf/tst-tlsmod16a.c: Likewise.
14954         * elf/tst-tlsmod16b.c: Likewise.
14955         * elf/tst-tlsmod2.c: Likewise.
14956         * elf/tst-tlsmod3.c: Likewise.
14957         * elf/tst-tlsmod4.c: Likewise.
14958         * elf/tst-tlsmod5.c: Likewise.
14959         * elf/tst-tlsmod6.c: Likewise.
14960
14961 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
14962
14963         [BZ #12486]
14964         * malloc/malloc.c: remove checks for statistics.
14965
14966 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
14967
14968         [BZ #15277]
14969         * inet/inet_net.c (inet_network): Detect additional invalid strings.
14970         * inet/tst-network.c: Add testcase.
14971
14972 2013-10-17  Andreas Schwab  <schwab@suse.de>
14973
14974         [BZ #15218]
14975         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14976         to determine canonical name.
14977
14978 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
14979
14980         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14981         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14982         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14983         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14984         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14985         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14986         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14987         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14988         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14989         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14990         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14991         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14992         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14993         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14994         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14995         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14996         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14997         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14998         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14999         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15000         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15001         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15002         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15003         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15004         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15005         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15006         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15007         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15008         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15009         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15010         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15011         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15012         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15013         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15014         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15015         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15016         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15017         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15018         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15019         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15020         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15021         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15022         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15023         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15024         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15025         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15026         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15027         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15028         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15029         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15030         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15031         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15032         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15033         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15034         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15035         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15036         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15037         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15038
15039 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
15040
15041         [BZ #16041]
15042         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15043         make result into a quiet NaN.
15044
15045 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
15046
15047         * soft-fp/adddf3.c: Fix horizontal whitespace.
15048         * soft-fp/addsf3.c: Likewise.
15049         * soft-fp/addtf3.c: Likewise.
15050         * soft-fp/divdf3.c: Likewise.
15051         * soft-fp/divsf3.c: Likewise.
15052         * soft-fp/divtf3.c: Likewise.
15053         * soft-fp/double.h: Likewise.
15054         * soft-fp/eqdf2.c: Likewise.
15055         * soft-fp/eqsf2.c: Likewise.
15056         * soft-fp/eqtf2.c: Likewise.
15057         * soft-fp/extenddftf2.c: Likewise.
15058         * soft-fp/extended.h: Likewise.
15059         * soft-fp/extendsfdf2.c: Likewise.
15060         * soft-fp/extendsftf2.c: Likewise.
15061         * soft-fp/extendxftf2.c: Likewise.
15062         * soft-fp/fixdfdi.c: Likewise.
15063         * soft-fp/fixdfsi.c: Likewise.
15064         * soft-fp/fixdfti.c: Likewise.
15065         * soft-fp/fixsfdi.c: Likewise.
15066         * soft-fp/fixsfsi.c: Likewise.
15067         * soft-fp/fixsfti.c: Likewise.
15068         * soft-fp/fixtfdi.c: Likewise.
15069         * soft-fp/fixtfsi.c: Likewise.
15070         * soft-fp/fixtfti.c: Likewise.
15071         * soft-fp/fixunsdfdi.c: Likewise.
15072         * soft-fp/fixunsdfsi.c: Likewise.
15073         * soft-fp/fixunsdfti.c: Likewise.
15074         * soft-fp/fixunssfdi.c: Likewise.
15075         * soft-fp/fixunssfsi.c: Likewise.
15076         * soft-fp/fixunssfti.c: Likewise.
15077         * soft-fp/fixunstfdi.c: Likewise.
15078         * soft-fp/fixunstfsi.c: Likewise.
15079         * soft-fp/fixunstfti.c: Likewise.
15080         * soft-fp/floatdidf.c: Likewise.
15081         * soft-fp/floatdisf.c: Likewise.
15082         * soft-fp/floatditf.c: Likewise.
15083         * soft-fp/floatsidf.c: Likewise.
15084         * soft-fp/floatsisf.c: Likewise.
15085         * soft-fp/floatsitf.c: Likewise.
15086         * soft-fp/floattidf.c: Likewise.
15087         * soft-fp/floattisf.c: Likewise.
15088         * soft-fp/floattitf.c: Likewise.
15089         * soft-fp/floatundidf.c: Likewise.
15090         * soft-fp/floatundisf.c: Likewise.
15091         * soft-fp/floatunditf.c: Likewise.
15092         * soft-fp/floatunsidf.c: Likewise.
15093         * soft-fp/floatunsisf.c: Likewise.
15094         * soft-fp/floatunsitf.c: Likewise.
15095         * soft-fp/floatuntidf.c: Likewise.
15096         * soft-fp/floatuntisf.c: Likewise.
15097         * soft-fp/floatuntitf.c: Likewise.
15098         * soft-fp/fmadf4.c: Likewise.
15099         * soft-fp/fmasf4.c: Likewise.
15100         * soft-fp/fmatf4.c: Likewise.
15101         * soft-fp/gedf2.c: Likewise.
15102         * soft-fp/gesf2.c: Likewise.
15103         * soft-fp/getf2.c: Likewise.
15104         * soft-fp/ledf2.c: Likewise.
15105         * soft-fp/lesf2.c: Likewise.
15106         * soft-fp/letf2.c: Likewise.
15107         * soft-fp/muldf3.c: Likewise.
15108         * soft-fp/mulsf3.c: Likewise.
15109         * soft-fp/multf3.c: Likewise.
15110         * soft-fp/negdf2.c: Likewise.
15111         * soft-fp/negsf2.c: Likewise.
15112         * soft-fp/negtf2.c: Likewise.
15113         * soft-fp/op-1.h: Likewise.
15114         * soft-fp/op-2.h: Likewise.
15115         * soft-fp/op-4.h: Likewise.
15116         * soft-fp/op-8.h: Likewise.
15117         * soft-fp/op-common.h: Likewise.
15118         * soft-fp/quad.h: Likewise.
15119         * soft-fp/single.h: Likewise.
15120         * soft-fp/soft-fp.h: Likewise.
15121         * soft-fp/sqrtdf2.c: Likewise.
15122         * soft-fp/sqrtsf2.c: Likewise.
15123         * soft-fp/sqrttf2.c: Likewise.
15124         * soft-fp/subdf3.c: Likewise.
15125         * soft-fp/subsf3.c: Likewise.
15126         * soft-fp/subtf3.c: Likewise.
15127         * soft-fp/truncdfsf2.c: Likewise.
15128         * soft-fp/trunctfdf2.c: Likewise.
15129         * soft-fp/trunctfsf2.c: Likewise.
15130         * soft-fp/trunctfxf2.c: Likewise.
15131         * soft-fp/unorddf2.c: Likewise.
15132         * soft-fp/unordsf2.c: Likewise.
15133         * soft-fp/unordtf2.c: Likewise.
15134
15135 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
15136
15137         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15138         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15139
15140 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
15141
15142         * elf/dl-libc.c: Clear initfini list after freeing.
15143
15144 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
15145
15146         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15147         * soft-fp/addsf3.c: Likewise.
15148         * soft-fp/addtf3.c: Likewise.
15149         * soft-fp/divdf3.c: Likewise.
15150         * soft-fp/divsf3.c: Likewise.
15151         * soft-fp/divtf3.c: Likewise.
15152         * soft-fp/double.h: Likewise.
15153         * soft-fp/eqdf2.c: Likewise.
15154         * soft-fp/eqsf2.c: Likewise.
15155         * soft-fp/eqtf2.c: Likewise.
15156         * soft-fp/extenddftf2.c: Likewise.
15157         * soft-fp/extended.h: Likewise.
15158         * soft-fp/extendsfdf2.c: Likewise.
15159         * soft-fp/extendsftf2.c: Likewise.
15160         * soft-fp/extendxftf2.c: Likewise.
15161         * soft-fp/fixdfdi.c: Likewise.
15162         * soft-fp/fixdfsi.c: Likewise.
15163         * soft-fp/fixdfti.c: Likewise.
15164         * soft-fp/fixsfdi.c: Likewise.
15165         * soft-fp/fixsfsi.c: Likewise.
15166         * soft-fp/fixsfti.c: Likewise.
15167         * soft-fp/fixtfdi.c: Likewise.
15168         * soft-fp/fixtfsi.c: Likewise.
15169         * soft-fp/fixtfti.c: Likewise.
15170         * soft-fp/fixunsdfdi.c: Likewise.
15171         * soft-fp/fixunsdfsi.c: Likewise.
15172         * soft-fp/fixunsdfti.c: Likewise.
15173         * soft-fp/fixunssfdi.c: Likewise.
15174         * soft-fp/fixunssfsi.c: Likewise.
15175         * soft-fp/fixunssfti.c: Likewise.
15176         * soft-fp/fixunstfdi.c: Likewise.
15177         * soft-fp/fixunstfsi.c: Likewise.
15178         * soft-fp/fixunstfti.c: Likewise.
15179         * soft-fp/floatdidf.c: Likewise.
15180         * soft-fp/floatdisf.c: Likewise.
15181         * soft-fp/floatditf.c: Likewise.
15182         * soft-fp/floatsidf.c: Likewise.
15183         * soft-fp/floatsisf.c: Likewise.
15184         * soft-fp/floatsitf.c: Likewise.
15185         * soft-fp/floattidf.c: Likewise.
15186         * soft-fp/floattisf.c: Likewise.
15187         * soft-fp/floattitf.c: Likewise.
15188         * soft-fp/floatundidf.c: Likewise.
15189         * soft-fp/floatundisf.c: Likewise.
15190         * soft-fp/floatunsidf.c: Likewise.
15191         * soft-fp/floatunsisf.c: Likewise.
15192         * soft-fp/floatuntidf.c: Likewise.
15193         * soft-fp/floatuntisf.c: Likewise.
15194         * soft-fp/floatuntitf.c: Likewise.
15195         * soft-fp/fmadf4.c: Likewise.
15196         * soft-fp/fmasf4.c: Likewise.
15197         * soft-fp/fmatf4.c: Likewise.
15198         * soft-fp/gedf2.c: Likewise.
15199         * soft-fp/gesf2.c: Likewise.
15200         * soft-fp/getf2.c: Likewise.
15201         * soft-fp/ledf2.c: Likewise.
15202         * soft-fp/lesf2.c: Likewise.
15203         * soft-fp/letf2.c: Likewise.
15204         * soft-fp/muldf3.c: Likewise.
15205         * soft-fp/mulsf3.c: Likewise.
15206         * soft-fp/multf3.c: Likewise.
15207         * soft-fp/negdf2.c: Likewise.
15208         * soft-fp/negsf2.c: Likewise.
15209         * soft-fp/negtf2.c: Likewise.
15210         * soft-fp/op-1.h: Likewise.
15211         * soft-fp/op-2.h: Likewise.
15212         * soft-fp/op-4.h: Likewise.
15213         * soft-fp/op-8.h: Likewise.
15214         * soft-fp/op-common.h: Likewise.
15215         * soft-fp/quad.h: Likewise.
15216         * soft-fp/single.h: Likewise.
15217         * soft-fp/soft-fp.h: Likewise.
15218         * soft-fp/sqrtdf2.c: Likewise.
15219         * soft-fp/sqrtsf2.c: Likewise.
15220         * soft-fp/sqrttf2.c: Likewise.
15221         * soft-fp/subdf3.c: Likewise.
15222         * soft-fp/subsf3.c: Likewise.
15223         * soft-fp/subtf3.c: Likewise.
15224         * soft-fp/truncdfsf2.c: Likewise.
15225         * soft-fp/trunctfdf2.c: Likewise.
15226         * soft-fp/trunctfsf2.c: Likewise.
15227         * soft-fp/trunctfxf2.c: Likewise.
15228         * soft-fp/unorddf2.c: Likewise.
15229         * soft-fp/unordsf2.c: Likewise.
15230         * soft-fp/unordtf2.c: Likewise.
15231
15232 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
15233
15234         [BZ #15672]
15235         * misc/error.c (error_tail): Fix possible buffer overflow.
15236
15237 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
15238
15239         [BZ #13028]
15240         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15241         address.
15242
15243 2013-10-14  P. J. McDermott  <pj@pehjota.net>
15244
15245         [BZ #832]
15246         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
15247         testing pipefail option.
15248
15249 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15250
15251         * soft-fp/double.h: Indent preprocessor directives inside #if.
15252         * soft-fp/extended.h: Likewise.
15253         * soft-fp/op-2.h: Likewise.
15254         * soft-fp/op-4.h: Likewise.
15255         * soft-fp/op-common.h: Likewise.
15256         * soft-fp/quad.h: Likewise.
15257         * soft-fp/single.h: Likewise.
15258         * soft-fp/soft-fp.h: Likewise.
15259
15260 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
15261
15262         * iconv/iconv_prog.c: Fix typos.
15263         * stdio-common/psiginfo-data.h: Likewise.
15264
15265 2013-10-12   Reuben Thomas <rrt@sc3d.org>
15266
15267         [BZ #15764]
15268         * locale/setlocale.c: Fix typo.
15269
15270 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15271
15272         [BZ #16036]
15273         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15274         signaling NaN arguments.
15275         * soft-fp/unordsf2.c (__unordsf2): Likewise.
15276         * soft-fp/unordtf2.c (__unordtf2): Likewise.
15277
15278         [BZ #14910]
15279         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15280         unordered operands.
15281         * soft-fp/gesf2.c (__gesf2): Likewise.
15282         * soft-fp/getf2.c (__getf2): Likewise.
15283         * soft-fp/ledf2.c (__ledf2): Likewise.
15284         * soft-fp/lesf2.c (__lesf2): Likewise.
15285         * soft-fp/letf2.c (__letf2): Likewise.
15286
15287         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15288         * soft-fp/eqsf2.c (__eqsf2): Likewise.
15289         * soft-fp/eqtf2.c (__eqtf2): Likewise.
15290         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15291         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15292         * soft-fp/fixdfti.c (__fixdfti): Likewise.
15293         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15294         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15295         * soft-fp/fixsfti.c (__fixsfti): Likewise.
15296         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15297         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15298         * soft-fp/fixtfti.c (__fixtfti): Likewise.
15299         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15300         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15301         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15302         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15303         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15304         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15305         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15306         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15307         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15308         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15309         * soft-fp/floatdisf.c (__floatdisf): Likewise.
15310         * soft-fp/floatsisf.c (__floatsisf): Likewise.
15311         * soft-fp/floattidf.c (__floattidf): Likewise.
15312         * soft-fp/floattisf.c (__floattisf): Likewise.
15313         * soft-fp/floattitf.c (__floattitf): Likewise.
15314         * soft-fp/floatundidf.c (__floatundidf): Likewise.
15315         * soft-fp/floatundisf.c (__floatundisf): Likewise.
15316         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15317         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15318         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15319         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15320         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15321         * soft-fp/gesf2.c (__gesf2): Likewise.
15322         * soft-fp/getf2.c (__getf2): Likewise.
15323         * soft-fp/ledf2.c (__ledf2): Likewise.
15324         * soft-fp/lesf2.c (__lesf2): Likewise.
15325         * soft-fp/letf2.c (__letf2): Likewise.
15326
15327         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15328         Undefine and redefine.
15329         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15330         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15331         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15332         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15333         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15334         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15335         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15336         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15337         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15338         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15339         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15340         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15341         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15342         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15343         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15344
15345         [BZ #16032]
15346         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15347         without decrementing exponent if mantissa >= that for the
15348         denominator, not >.
15349         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15350         denominator, not >.  Decrement exponent in < case instead of
15351         incrementing in >= case.
15352         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15353         without decrementing exponent if mantissa >= that for the
15354         denominator, not >.
15355
15356         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15357         computing saturated result for unsigned overflow.
15358
15359 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15360             Jeff Law  <law@redhat.com>
15361
15362         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15363         (atan2Mp): Add systemtap probe marker.
15364         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15365         (__ieee754_log): Add systemtap probe marker.
15366         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15367         (atanMp): Add systemtap probe marker.
15368         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15369         (tanMp): Add systemtap probe marker.
15370         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15371         (__slowexp): Add systemtap probe marker.
15372         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15373         (__slowpow): Add systemtap probe marker.
15374         * manual/probes.texi: Document probes.
15375
15376 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
15377
15378         [BZ #15362]
15379         * libio/fileops.c (_IO_new_file_write): Return count of bytes
15380         written.
15381         (_IO_new_file_xsputn): Don't return EOF if nothing has been
15382         written.
15383         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15384         written to buffer but not flushed.
15385         * libio/iofwrite_u.c:  Likewise.
15386         * libio/iopadn.c:  Return bytes returned even if EOF was
15387         encountered.
15388         * libio/iowpadn.c:  Likewise.
15389         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15390         if _IO_padn does not write the whole buffer.
15391         [!COMPILE_WPRINTF] (PAD): Likewise.
15392
15393 2013-10-10  David S. Miller  <davem@davemloft.net>
15394
15395         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15396         directory block.
15397
15398 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
15399
15400         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
15401         instead of FSF address.
15402         * soft-fp/fixdfti.c: Likewise.
15403         * soft-fp/fixsfti.c: Likewise.
15404         * soft-fp/fixtfti.c: Likewise.
15405         * soft-fp/fixunsdfti.c: Likewise.
15406         * soft-fp/fixunssfti.c: Likewise.
15407         * soft-fp/fixunstfti.c: Likewise.
15408         * soft-fp/floattidf.c: Likewise.
15409         * soft-fp/floattisf.c: Likewise.
15410         * soft-fp/floattitf.c: Likewise.
15411         * soft-fp/floatuntidf.c: Likewise.
15412         * soft-fp/floatuntisf.c: Likewise.
15413         * soft-fp/floatuntitf.c: Likewise.
15414         * soft-fp/trunctfxf2.c: Likewise.
15415
15416         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
15417         * soft-fp/fixdfti.c: Likewise.
15418         * soft-fp/fixsfti.c: Likewise.
15419         * soft-fp/fixtfti.c: Likewise.
15420         * soft-fp/fixunsdfti.c: Likewise.
15421         * soft-fp/fixunssfti.c: Likewise.
15422         * soft-fp/fixunstfti.c: Likewise.
15423         * soft-fp/floattidf.c: Likewise.
15424         * soft-fp/floattisf.c: Likewise.
15425         * soft-fp/floattitf.c: Likewise.
15426         * soft-fp/floatuntidf.c: Likewise.
15427         * soft-fp/floatuntisf.c: Likewise.
15428         * soft-fp/floatuntitf.c: Likewise.
15429         * soft-fp/trunctfxf2.c: Likewise.
15430
15431 2013-10-10  David S. Miller  <davem@davemloft.net>
15432
15433         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15434
15435 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
15436
15437         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15438         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15439         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15440         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15441         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15442         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15443         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15444
15445         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15446         for NaNs before doing comparisons on argument.
15447         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15448         Likewise.
15449
15450 2013-10-10  Will Newton  <will.newton@linaro.org>
15451
15452         * malloc/hooks.c (memalign_check): Ensure the value of bytes
15453         passed to _int_memalign does not overflow.
15454
15455 2013-10-10  Torvald Riegel  <triegel@redhat.com>
15456
15457         * scripts/bench.pl: Add include-sources directive.
15458         * benchtests/README: Update documentation.
15459
15460 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
15461
15462         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15463         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15464         instead of FP_INIT_ROUNDMODE.
15465         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15466         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15467
15468         [BZ #16034]
15469         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
15470         copy class of input value.
15471         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
15472         not handle exceptions.
15473         * soft-fp/negsf2.c (__negsf2): Likewise.
15474         * soft-fp/negtf2.c (__negtf2): Likewise.
15475         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15476
15477 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
15478
15479         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15480         semicolon.  From Linux kernel.
15481
15482 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
15483
15484         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15485
15486 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
15487
15488         [BZ #156]
15489         * manual/socket.texi: Added statement about buffer
15490         for gethostbyname2_r.
15491
15492 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
15493
15494         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15495         Use .p2align directive instead, throughout.
15496         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15497         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15498         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15499         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15500         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15501         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15502         * sysdeps/x86_64/strchr.S: Likewise.
15503         * sysdeps/x86_64/strrchr.S: Likewise.
15504
15505 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15506
15507         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15508
15509         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15510
15511         * sysdeps/generic/math_private.h (__mpsin1): Remove
15512         declaration.
15513         (__mpcos1): Likewise.
15514         (__mpsin): New argument __range_reduce.
15515         (__mpcos): Likewise.
15516         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15517         (slow): Use __mpsin and __mpcos.
15518         (slow1): Likewise.
15519         (slow2): Likewise.
15520         (sloww): Likewise.
15521         (sloww1): Likewise.
15522         (sloww2): Likewise.
15523         (bsloww): Likewise.
15524         (bsloww1): Likewise.
15525         (bsloww2): Likewise.
15526         (cslow2): Likewise.
15527         (csloww): Likewise.
15528         (csloww1): Likewise.
15529         (csloww2): Likewise.
15530         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15531         range_reduce.  Merge in __mpsin1.
15532         (__mpcos): Likewise.
15533         (__mpsin1): Remove.
15534         (__mpcos1): Likewise.
15535
15536 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
15537
15538         * locale/loadlocale.c (_nl_intern_locale_data): Use
15539         LOCFILE_ALIGNED_P.
15540         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15541         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15542         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15543         obstack data is appropriately aligned.
15544         (obstack_int32_grow_fast): Likewise.
15545         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15546         * locale/programs/locfile.c (add_locale_uint32): Likewise.
15547         (add_locale_uint32_array): Likewise.
15548
15549 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
15550
15551         * benchtests/Makefile: Remove ARGLIST and RET variables.
15552         ($(objpfx)bench-%.c): Pass only function name to the script.
15553         * benchtests/README: Update documentation.
15554         * benchtests/acos-inputs: Add new directives.
15555         * benchtests/acosh-inputs: Likewise.
15556         * benchtests/asin-inputs: Likewise.
15557         * benchtests/asinh-inputs: Likewise.
15558         * benchtests/atan-inputs: Likewise.
15559         * benchtests/atanh-inputs: Likewise.
15560         * benchtests/cos-inputs: Likewise.
15561         * benchtests/cosh-inputs: Likewise.
15562         * benchtests/exp-inputs: Likewise.
15563         * benchtests/log-inputs: Likewise.
15564         * benchtests/pow-inputs: Likewise.
15565         * benchtests/rint-inputs: Likewise.
15566         * benchtests/sin-inputs: Likewise.
15567         * benchtests/sinh-inputs: Likewise.
15568         * benchtests/tan-inputs: Likewise.
15569         * benchtests/tanh-inputs: Likewise.
15570         * scripts/bench.pl: Add support for new directives.
15571
15572 2013-10-07  Alan Modra  <amodra@gmail.com>
15573
15574         * README: Fix careless merge.
15575
15576 2013-10-05  Alan Modra  <amodra@gmail.com>
15577
15578         * NEWS: Mention powerpc64le support and bugs fixed.
15579         * README: Both big-endian and little-endian powerpc64 supported.
15580
15581 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15582
15583         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15584         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15585         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15586         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15587
15588 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
15589
15590         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15591         match prototype.
15592
15593 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
15594
15595         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15596         Move -mhard-float appending from
15597         ports/sysdeps/powerpc/powerpc32/Makefile.
15598         [$(with-fp) = yes] (ASFLAGS): Likewise.
15599         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15600         * sysdeps/powerpc/nofpu: Move directory from
15601         ports/sysdeps/powerpc/nofpu.
15602         * sysdeps/powerpc/soft-fp: Move directory from
15603         ports/sysdeps/powerpc/soft-fp.
15604         * sysdeps/powerpc/powerpc32/405: Move directory from
15605         ports/sysdeps/powerpc/powerpc32/405.
15606         * sysdeps/powerpc/powerpc32/440: Move directory from
15607         ports/sysdeps/powerpc/powerpc32/440.
15608         * sysdeps/powerpc/powerpc32/464: Move directory from
15609         ports/sysdeps/powerpc/powerpc32/464.
15610         * sysdeps/powerpc/powerpc32/476: Move directory from
15611         ports/sysdeps/powerpc/powerpc32/476.
15612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15613         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15615         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15617         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15619         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15621         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15622         * README: Update for powerpc-*-linux-gnu software floating point
15623         support in libc.
15624
15625         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15626         case to powerpc/powerpc32*.
15627         * sysdeps/unix/sysv/linux/configure: Regenerated.
15628
15629         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15630         (_FPU_MASK_OM): Define as 0x04.
15631         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15632         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15633         0x00c10080.
15634         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15635         0x0000003c.
15636         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15637
15638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15639         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15640         getcontext_e500.
15641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15642         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15643         setcontext_e500.
15644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15645         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15646         and setcontext_e500.
15647
15648 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
15649
15650         * locale/iso-3166.def: Update iso-1366.def and related occurrences
15651
15652 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15653
15654         * manual/threads.texi (Default Thread Attributes): Fix typo.
15655
15656 2013-10-04  Will Newton  <will.newton@linaro.org>
15657
15658         * malloc/Makefile: Add tst-memalign.
15659         * malloc/tst-memalign.c: New file.
15660
15661         * malloc/tst-posix_memalign.c: Add comments.
15662         (do_test): Add comments and call free on all potentially
15663         allocated pointers. Add space after cast.
15664
15665         * malloc/tst-pvalloc.c: Add comments.
15666         (do_test): Add comments and call free on all potentially
15667         allocated pointers. Remove duplicate check for NULL pointer.
15668         Add space after cast.
15669
15670         * malloc/tst-valloc.c: Add comments.
15671         (do_test): Add comments and call free on all potentially
15672         allocated pointers. Remove duplicate check for NULL pointer.
15673         Add space after cast.
15674
15675 2013-10-04  Alan Modra  <amodra@gmail.com>
15676
15677         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15678         Use stdint types in rather than __attribute__((mode())).
15679         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15680
15681 2013-10-04  Alan Modra  <amodra@gmail.com>
15682
15683         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15684         Correct handling of unaligned relocs for little-endian.
15685         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15686
15687 2013-10-04  Alan Modra  <amodra@gmail.com>
15688
15689         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15690         * configure: Regenerate.
15691         * nptl/shlib-versions: Powerpc*le starts at 2.18.
15692         * shlib-versions: Likewise.
15693
15694 2013-10-04  Alan Modra  <amodra@gmail.com>
15695
15696         * string/tester.c (test_memrchr): Increment reported test cycle.
15697
15698 2013-10-04  Alan Modra  <amodra@gmail.com>
15699
15700         * string/test-memcpy.c (do_one_test): When reporting errors, print
15701         string address and don't overrun end of string.
15702
15703 2013-10-04  Alan Modra  <amodra@gmail.com>
15704
15705         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15706         insrdi.  Make better use of reg selection to speed exit slightly.
15707         Schedule entry path a little better.  Remove useless "are we done"
15708         checks on entry to main loop.  Handle wrapping around zero address.
15709         Correct main loop count.  Handle single left-over word from main
15710         loop inline rather than by using loop_small.  Remove extra word
15711         case in loop_small caused by wrong loop count.  Add little-endian
15712         support.
15713         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15714         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
15715         cache hint.
15716         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15717         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15718         support.  Avoid rlwimi.
15719         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15720
15721 2013-10-04  Alan Modra  <amodra@gmail.com>
15722
15723         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
15724         insrdi.  Formatting.
15725         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15726         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15727         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15728         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15729         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15730         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15731
15732 2013-10-04  Alan Modra  <amodra@gmail.com>
15733
15734         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15735         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15736         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15737         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15738         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15739         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15740         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15741         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15742         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
15743         use of regs.  Use power7 mtocrf.  Tidy function tails.
15744
15745 2013-10-04  Alan Modra  <amodra@gmail.com>
15746
15747         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15748         Formatting.  Consistently use rXXX register defines or rN defines.
15749         Use early exit labels that avoid restoring unused non-volatile regs.
15750         Make cr field use more consistent with rWORDn compares.  Rename
15751         regs used as shift registers for unaligned loop, using rN defines
15752         for short lifetime/multiple use regs.
15753         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15754         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
15755         addi 1,1,64 to pop stack frame.  Simplify return value code.
15756         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15757
15758 2013-10-04  Alan Modra  <amodra@gmail.com>
15759
15760         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15761         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
15762         rather than rlwimi.
15763         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15764         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15765         little-endian support.  Correct typos.
15766         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
15767         rather than rlwimi.
15768         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
15769         in loop and entry code to keep "and." results.
15770         (strchr): Add little-endian support.  Comment.  Move cntlzd
15771         earlier in tail.
15772         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15773
15774 2013-10-04  Alan Modra  <amodra@gmail.com>
15775
15776         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15777         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15778         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15779         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15780
15781 2013-10-04  Alan Modra  <amodra@gmail.com>
15782
15783         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15784         (rTMP): Define as r11.
15785         (strcmp): Add little-endian support.  Optimise tail.
15786         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15787         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15788         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15789         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15790         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15791         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15792         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15793
15794 2013-10-04  Alan Modra  <amodra@gmail.com>
15795
15796         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15797         little-endian support.  Remove unnecessary "are we done" tests.
15798         Handle "s" wrapping around zero and extremely large "size".
15799         Correct main loop count.  Handle single left-over word from main
15800         loop inline rather than by using small_loop.  Correct comments.
15801         Delete "zero" tail, use "end_max" instead.
15802         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15803
15804 2013-10-04  Alan Modra  <amodra@gmail.com>
15805
15806         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15807         support.  Don't branch over align.
15808         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15809         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15810         support.  Rearrange tmp reg use to suit.  Comment.
15811         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15812
15813 2013-10-04  Alan Modra  <amodra@gmail.com>
15814
15815         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15816
15817 2013-10-04  Alan Modra  <amodra@gmail.com>
15818
15819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15820         conditional form of branch and link when obtaining pc.
15821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15822
15823 2013-10-04  Alan Modra  <amodra@gmail.com>
15824
15825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15826         HIWORD/LOWORD.
15827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15829
15830 2013-10-04  Alan Modra  <amodra@gmail.com>
15831
15832         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15833         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15834         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15835         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15836         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15837         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15838         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15839         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15840         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15841         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15842
15843 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15844             Alistair Popple <alistair@ozlabs.au.ibm.com>
15845             Alan Modra <amodra@gmail.com>
15846
15847         [BZ #15723]
15848         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15849         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15850         _dl_hwcap access for little-endian.
15851         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
15852         destroy vmx regs when saving unaligned.
15853         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15854         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
15855         destroy vmx regs when saving unaligned.
15856
15857 2013-10-04  Alan Modra  <amodra@gmail.com>
15858
15859         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15860         Don't use a union to pack hi/low value.
15861
15862 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15863
15864         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15865         for little-endian.
15866         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15867         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15868         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15869         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15870         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15871
15872 2013-10-04  Alan Modra  <amodra@gmail.com>
15873
15874         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15875         constants to usual value for .cst8 section, and remove redundant
15876         high address load.
15877         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15878         constant for 0x1p52.  Load little-endian words of double from
15879         correct stack offsets.
15880
15881 2013-10-04  Alan Modra  <amodra@gmail.com>
15882
15883         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15884         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15885         words of double from correct stack offsets.
15886         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15887         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15888         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15889         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15890         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15891         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15892         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15893         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15894         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15895         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15896         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15897         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15898         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15899         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15900         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15901         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15902         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15903
15904 2013-10-04  Alan Modra  <amodra@gmail.com>
15905
15906         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15907         64-bit int/double union.
15908         (_FPU_SETCW): Likewise.
15909         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15910         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15911
15912 2013-10-04  Alan Modra  <amodra@gmail.com>
15913
15914         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15915         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15916
15917 2013-10-04  Alan Modra  <amodra@gmail.com>
15918
15919         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15920         use vector int constants.
15921         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15922
15923 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15924
15925         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15926         array with long long.
15927         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15928         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15929         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15930         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15931         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15932         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15933         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15934         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15935         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15936         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15937         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15938         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15939         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15940
15941 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15942
15943         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15944         (__signbit): Likewise.  Correct for little-endian.
15945         (__signbitl): Call __signbit.
15946         (lrint): Correct for little-endian.
15947         (lrintf): Call lrint.
15948
15949 2013-10-04  Alan Modra  <amodra@gmail.com>
15950
15951         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15952         union 32-bit int array member with 64-bit int array.
15953         (t515, tm256): Double rather than long double.
15954         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15955
15956 2013-10-04  Alan Modra  <amodra@gmail.com>
15957
15958         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15959         Delete.
15960         (IEEE854_LONG_DOUBLE_BIAS): Delete.
15961         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15962         version of math_ldbl.h.
15963
15964 2013-10-04  Alan Modra  <amodra@gmail.com>
15965
15966         [BZ #15734], [BZ #15735]
15967         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15968         all uses of ieee875 long double macros and unions.  Simplify test
15969         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
15970         ldbl_extract_mantissa value for ix,iy exponents.  Properly
15971         normalize after ldbl_extract_mantissa, and don't add hidden bit
15972         already handled.  Don't treat low word of ieee854 mantissa like
15973         low word of IBM long double and mask off bit when testing for
15974         zero.
15975         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15976         all uses of ieee875 long double macros and unions.  Simplify tests
15977         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
15978         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
15979         two1022, instead use their values.  Recognise that tests for large
15980         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
15981         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15982         Rewrite all uses of ieee875 long double macros and unions.  Simplify
15983         test for 0.0L and nan.  Correct negation.
15984         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15985         ieee875 long double macros and unions.  Correct output for large
15986         magnitude x.  Correct absolute value calculation.
15987         (__erfcl): Likewise.
15988         * math/libm-test.inc: Add tests for errors discovered in IBM long
15989         double versions of fmodl, remainderl, erfl and erfcl.
15990
15991 2013-10-04  Alan Modra  <amodra@gmail.com>
15992
15993         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15994         all uses of ieee854 long double macros and unions.  Simplify tests
15995         for long doubles that are fully specified by the high double.
15996         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15997         Likewise.
15998         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15999         Remove dead code too.
16000         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16001         (__ieee754_ynl): Likewise.
16002         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16003         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16004         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16005         Remove dead code too.
16006         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16007         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16008         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16009         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16010         Simplify.
16011         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16012         Simplify.
16013         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16014         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16015         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16016         Comment on variable precision.
16017         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16018         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16019         Likewise.
16020         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16021         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16022         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16023         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16024         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16025
16026 2013-10-04  Alan Modra  <amodra@gmail.com>
16027
16028         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16029         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16030         all uses of ieee854 long double macros and unions.
16031         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16032         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16033         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16034         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16035         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16036         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16037         Likewise.
16038         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16039         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16040         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16041         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16042         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16043         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16044         Simplify sign and nan test too.
16045         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16046         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16047         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16048         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16049         Likewise.
16050         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16051         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16052         Likewise.
16053         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16054         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16055         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16056         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16057         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16058         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16059
16060 2013-10-04  Alan Modra  <amodra@gmail.com>
16061
16062         * stdio-common/printf_size.c (__printf_size): Don't use
16063         union ieee854_long_double in fpnum union.
16064         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
16065         signbit macro to retrieve sign from long double.
16066         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16067         retrieve sign from long double.
16068         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16069         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16070         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16071         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16072         * math/test-misc.c (main): Don't use union ieee854_long_double.
16073
16074 2013-10-04  Alan Modra  <amodra@gmail.com>
16075
16076         [BZ #15680]
16077         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16078         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16079         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16080         calculation.  Remove unnecessary test for denormal exponent.
16081         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16082         Correct handling of denormals.  Avoid undefined shift behaviour.
16083         Correct normalisation of low mantissa when low double is denormal.
16084         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16085         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
16086         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16087         Correct normalisation of low mantissa.  Test for overflow of high
16088         mantissa and normalise.
16089         (ldbl_nearbyint): Use more readable constant for two52.
16090         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16091         (__mpn_construct_long_double): Fix test for overflow of high
16092         mantissa and correct normalisation.  Avoid undefined shift.
16093
16094 2013-10-04  Alan Modra  <amodra@gmail.com>
16095
16096         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16097         (union ibm_extended_long_double): Define as an array of ieee754_double.
16098         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16099         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16100         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16101         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16102         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16103         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16104         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16105         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16106         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16107         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16108         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16109
16110 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
16111
16112         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16113         page size instead of calling getpagesize.
16114
16115         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16116         (LOCFILE_ALIGN_MASK): Likewise.
16117         (LOCFILE_ALIGN_UP): Likewise.
16118         (LOCFILE_ALIGNED_P): Likewise.
16119         * locale/programs/ld-collate.c (collate_output): Use the new
16120         macros instead of __alignof__ (int32_t).
16121         * locale/weight.h (findidx): Likewise.
16122
16123 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
16124
16125         [BZ #431]
16126         * manual/string.texi: Fix strncat and wcsncat.
16127
16128 2013-10-03  Brooks Moses  <bmoses@google.com>
16129
16130         [BZ #15915]
16131         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16132         * Makerules: ...here, and adjust associated comments.
16133
16134 2013-10-02  Will Newton  <will.newton@linaro.org>
16135
16136         * malloc/Makefile: Add tst-pvalloc.
16137         * malloc/tst-pvalloc.c: New file.
16138
16139 2013-10-02  Will Newton  <will.newton@linaro.org>
16140
16141         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16142         improve test coverage.
16143
16144 2013-10-02  Will Newton  <will.newton@linaro.org>
16145
16146         * malloc/Makefile: Add tst-posix_memalign.
16147         * malloc/tst-posix_memalign.c: New file.
16148
16149 2013-10-01  Eric Blake  <eblake@redhat.com>
16150
16151         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16152         Use __THROWNL rather than __THROW on static functions.
16153
16154 2013-09-30  Petr Machata  <pmachata@redhat.com>
16155
16156         * elf/elf.h (R_AARCH64_ABS16): New macro.
16157         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16158         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16159         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16160         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16161         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16162         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16163         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16164         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16165         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16166         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16167         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16168         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16169         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16170         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16171         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16172         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16173         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16174         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16175         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16176         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16177         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16178         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16179         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16180         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16181         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16182         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16183         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16184         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16185         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16186         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16187         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16188         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16189         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16190         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16191         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16192         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16193         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16194         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16195         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16196         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16197         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16198         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16199         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16200         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16201         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16202         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16203         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16204         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16205         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16206         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16207         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16208         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16209         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16210         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16211         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16212         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16213         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16214         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16215         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16216         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16217         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16218         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16219         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16220         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16221         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16222         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16223         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16224         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16225         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16226         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16227         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16228         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16229         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16230         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16231         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16232         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16233         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16234         (R_AARCH64_TLSDESC_LDR): Likewise.
16235         (R_AARCH64_TLSDESC_ADD): Likewise.
16236         (R_AARCH64_TLSDESC_CALL): Likewise.
16237
16238 2013-09-30  Andreas Schwab  <schwab@suse.de>
16239
16240         [BZ #15048]
16241         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16242         the nss database lookup.
16243         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16244         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16245
16246 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
16247
16248         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16249
16250 2013-09-28  P. J. McDermott  <pj@pehjota.net>
16251
16252         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16253         ${Bash-specific parameter/pattern/string} parameter expansion.
16254         * sysdeps/unix/make-syscalls.sh: Likewise.
16255
16256 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16257
16258         * sysdeps/sh/stackguard-macros.h: New file.
16259
16260 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
16261
16262         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16263         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16264         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16265         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16266         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16267         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16268
16269 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16270
16271         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16272         Fix thread ID register.
16273
16274 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
16275
16276         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16277         [POSIX || UNIX98]: Require rather than permitting all symbols from
16278         <time.h>.
16279         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16280         element of struct sched_param.
16281         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16282         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16283         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16284         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16285         constant.
16286
16287 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
16288
16289         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16290         argument calculation.
16291
16292 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16293
16294         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16295         Expect macro.
16296         [POSIX] (pthread_attr_t): Do not require type.
16297         [POSIX] (pthread_cond_t): Likewise.
16298         [POSIX] (pthread_condattr_t): Likewise.
16299         [POSIX] (pthread_key_t): Likewise.
16300         [POSIX] (pthread_mutex_t): Likewise.
16301         [POSIX] (pthread_mutexattr_t): Likewise.
16302         [POSIX] (pthread_once_t): Likewise.
16303         [POSIX] (pthread_t): Likewise.
16304         [POSIX-based standards] (pthread_atfork): Expect function.
16305
16306 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16307             Richard Sandiford  <richard@codesourcery.com>
16308
16309         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16310         (swap_endianness_p): New extern variable.
16311         (set_big_endian): New inline function.
16312         (maybe_swap_uint32): Likewise.
16313         (maybe_swap_uint32_array): Likewise.
16314         (maybe_swap_uint32_obstack): Likewise.
16315         * locale/programs/locfile.c: Include <stdbool.h>.
16316         (swap_endianness_p): New variable.
16317         (add_locale_uint32): Call maybe_swap_uint32.
16318         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16319         (write_locale_data): Call maybe_swap_uint32_array.
16320         * locale/programs/ld-collate.c (obstack_int32_grow): Call
16321         maybe_swap_uint32.
16322         (obstack_int32_grow_fast): Likewise.
16323         (output_weightwc): Call maybe_swap_uint32_obstack.
16324         (collate_output): Likewise.
16325         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16326         (OPT_LITTLE_ENDIAN): Likewise.
16327         (options): Add --little-endian and --big-endian options.
16328         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16329         * locale/programs/locarchive.c: Include "locfile.h".
16330         (GET): New macro.
16331         (SET): Likewise.
16332         (INC): Likewise.
16333         (create_archive): Use the new macros to access fields of
16334         structures directly mapped from or written to locale archives.
16335         (oldlocrecentcmp): Likewise.
16336         (enlarge_archive): Likewise.
16337         (insert_name): Likewise.
16338         (add_alias): Likewise.
16339         (add_locale): Likewise.
16340         (delete_locales_from_archive): Likewise.
16341         (show_archive_content): Likewise.
16342         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
16343         locale data.
16344
16345 2013-09-24  Roland McGrath  <roland@hack.frob.com>
16346
16347         * manual/freemanuals.texi: Updated from (newly) canonical copy at
16348         http://www.gnu.org/doc/freemanuals.texi.
16349         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16350
16351 2013-09-24  Will Newton  <will.newton@linaro.org>
16352
16353         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16354         macro.
16355
16356 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
16357
16358         * locale/hashval.h (compute_hashval): Interpret bytes of key as
16359         unsigned char.
16360
16361 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
16362
16363         * manual/threads.texi (POSIX Threads): Fix a typo.
16364
16365 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16366
16367         [BZ #14547]
16368         * string/tst-strcoll-overflow.c: New test case.
16369         * string/Makefile (xtests): Add tst-strcoll-overflow.
16370         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16371         cache if string sizes may cause integer overflow.
16372
16373         [BZ #14547]
16374         * string/strcoll_l.c (coll_seq): New members rule, idx,
16375         save_idx and back_us.
16376         (get_next_seq_nocache): New function.
16377         (do_compare_nocache): New function.
16378         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16379         when malloc fails.
16380
16381 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
16382
16383         [BZ #15754]
16384         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16385         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16386         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16387
16388         [BZ #15754]
16389         * elf/Makefile (tests): Add tst-ptrguard1.
16390         (tests-static): Add tst-ptrguard1-static.
16391         (tst-ptrguard1-ARGS): Define.
16392         (tst-ptrguard1-static-ARGS): Define.
16393         * elf/tst-ptrguard1.c: New file.
16394         * elf/tst-ptrguard1-static.c: New file.
16395         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16396         * sysdeps/i386/stackguard-macros.h: Likewise.
16397         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16398         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16399         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16400         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16401         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16402         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16403
16404 2013-09-23  Hector Marco  <hecmargi@upv.es>
16405             Ismael Ripoll  <iripoll@disca.upv.es>
16406             Carlos O'Donell  <carlos@redhat.com>
16407
16408         [BZ #15754]
16409         * sysdeps/generic/stackguard-macros.h: Define
16410         __pointer_chk_guard_local and POINTER_CHK_GUARD.
16411         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16412         Define __pointer_chk_guard_local.
16413         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16414         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16415
16416 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
16417
16418         [BZ #15859]
16419         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16420
16421 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
16422
16423         * include/string.h (__ffs): Declare as hidden.
16424         * string/ffs.c (__ffs): Define as hidden.
16425         * sysdeps/i386/ffs.c (__ffs): Likewise.
16426         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16427         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16428         * sysdeps/s390/ffs.c (__ffs): Likewise.
16429         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16430
16431 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
16432
16433         * NEWS: Mention malloc probes.
16434
16435         * malloc/arena.c (new_heap): New memory_heap_new probe.
16436         (grow_heap): New memory_heap_more probe.
16437         (shrink_heap): New memory_heap_less probe.
16438         (heap_trim): New memory_heap_free probe.
16439         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16440         (systrim): New memory_sbrk_less probe.
16441         * manual/probes.texi: Document them.
16442
16443         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16444         * manual/probes.texi: Document it.
16445
16446         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16447         (__libc_realloc): Add memory_realloc_retry probe.
16448         (__libc_memalign): Add memory_memalign_retry probe.
16449         (__libc_valloc): Add memory_valloc_retry probe.
16450         (__libc_pvalloc): Add memory_pvalloc_retry probe.
16451         (__libc_calloc): Add memory_calloc_retry probe.
16452         * manual/probes.texi: Document them.
16453
16454         * malloc/arena.c (get_free_list): Add probe
16455         memory_arena_reuse_free_list.
16456         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16457         and memory_arena_reuse.
16458         (arena_get2) [!PER_THREAD]: Likewise.
16459         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16460         memory_arena_reuse_realloc.
16461         * manual/probes.texi: Document them.
16462
16463         * malloc/malloc.c (__libc_free): Add
16464         memory_mallopt_free_dyn_thresholds probe.
16465         (__libc_mallopt): Add multiple memory_mallopt probes.
16466         * manual/probes.texi: Document them.
16467
16468         * malloc/malloc.c: Include stap-probe.h.
16469         (__libc_mallopt): Add memory_mallopt probe.
16470         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16471         * manual/probes.texi: New.
16472         * manual/Makefile (chapters): Add probes.
16473         * manual/threads.texi: Set next node.
16474
16475 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
16476
16477         [BZ #15963, #13985]
16478         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16479         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16480         Add `Chinese' to `nan' entry name.
16481
16482 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16483
16484         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16485         (POLYNOMIAL): Likewise.
16486         (TAYLOR_SINCOS): Likewise.
16487         (TAYLOR_SLOW): Likewise.
16488         (__sin): Use TAYLOR_SINCOS.
16489         (__cos): Likewise.
16490         (slow): Use TAYLOR_SLOW.
16491         (sloww): Likewise.
16492         (bsloww): Likewise.
16493         (csloww): Likewise.
16494
16495 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16496
16497         * stdlib/strtod_l.c: Fix buffer overrun.
16498
16499 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16500
16501         * benchtests/Makefile (bench): Add sincos.
16502         * benchtests/bench-sincos.c: New file.
16503
16504         * math/libm-test.inc (cos_test_data): New test inputs.
16505         (sin_test_data): Likewise.
16506
16507         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16508         macro.
16509         (__sin): Use it.
16510         (__cos): Likewise.
16511         (slow1): Likewise.
16512         (slow2): Likewise.
16513         (sloww1): Likewise.
16514         (sloww2): Likewise.
16515         (bsloww1): Likewise.
16516         (bsloww2): Likewise.
16517         (cslow2): Likewise.
16518         (csloww1): Likewise.
16519         (csloww2): Likewise.
16520
16521         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16522         function.
16523         (__sin): Use it.
16524         (__cos): Likewise.
16525
16526         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16527         gotos.
16528         (__cos): Likewise.
16529
16530 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
16531
16532         * config.h.in (HAVE_MIPS_NAN2008): New macro.
16533         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16534         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16535         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16536         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16537         * elf/cache.c (print_entry): Handle the new cache flags.
16538
16539 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
16540             Aldy Hernandez  <aldyh@redhat.com>
16541
16542         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16543         Change condition to [_SOFT_FLOAT].
16544         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16545         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16546         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16547         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16548         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16549         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16550         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16551         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16552         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16553         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16554         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16555         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16556         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16557         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16558         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16559         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16560         declaration.
16561
16562 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
16563
16564         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16565         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16566         (__longjmp): Use LOAD_GP to load saved GPRs.
16567         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16568         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16569         (__sigsetjmp): Use SAVE_GP to save GPRs.
16570
16571         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16572         Do not append -msoft-float.
16573         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16574
16575 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16576
16577         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16578
16579 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
16580
16581         [BZ #15966]
16582         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16583         (_FPU_GETCW): Use initial "__" on variable and field names but not
16584         on macro parameter name.
16585         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
16586         parentheses around reference to macro parameter.
16587
16588 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
16589
16590         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16591         prototype.
16592         (ctype_startup): Use uint32_t in cast and sizeof for
16593         ctype->charnames.
16594
16595 2013-09-11  Jia Liu  <proljc@gmail.com>
16596
16597         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16598         __daddr_t_defined.
16599         [__FreeBSD__]: Likewise.
16600
16601 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
16602
16603         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16604         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16605         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16606         (strchr): Remove __strchr_sse42 ifunc selection.
16607         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16608         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16609
16610 2013-09-11  Will Newton  <will.newton@linaro.org>
16611
16612         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16613         parameter to RES. Remove hardcoded 1000 value.
16614         * benchtests/bench-skeleton.c (main): Pass RES parameter
16615         to TIMING_INIT and multiply result by 1000.
16616
16617 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16618
16619         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16620
16621 2013-09-11  Andreas Schwab  <schwab@suse.de>
16622
16623         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16624         if not defined.
16625         (O_TMPFILE) [__USE_GNU]: Define.
16626         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16627         Define.
16628
16629 2013-09-11  Will Newton  <will.newton@linaro.org>
16630
16631         [BZ #15857]
16632         * malloc/malloc.c (__libc_memalign): Check the value of bytes
16633         does not overflow.
16634
16635 2013-09-11  Will Newton  <will.newton@linaro.org>
16636
16637         [BZ #15856]
16638         * malloc/malloc.c (__libc_valloc): Check the value of bytes
16639         does not overflow.
16640
16641 2013-09-11  Will Newton  <will.newton@linaro.org>
16642
16643         [BZ #15855]
16644         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16645         does not overflow.
16646
16647 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
16648
16649         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16650         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16651         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16652         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16653         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16654
16655 2013-09-10  Allan McRae  <allan@archlinux.org>
16656
16657         [BZ #15748]
16658         * manual/arith.texi (Parsing of Floats): Clarify
16659         cross-reference.
16660
16661         [BZ #15849]
16662         * manual/install.texi (Running make install): Mention
16663         --enable-pt-chown.
16664         * INSTALL: Regenerated.
16665
16666 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
16667
16668         * csu/init-first.c (_init): Remove the !SHARED condition around
16669         FPU control word initialization.
16670         * elf/dl-support.c (_dl_fpu_control): New variable.
16671         (_dl_aux_init) <AT_FPUCW>: Initialize it.
16672         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16673         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16674         * math/test-fpucw-static.c: New file.
16675         * math/test-fpucw-ieee.c: New file.
16676         * math/test-fpucw-ieee-static.c: New file.
16677         * math/Makefile (tests): Add `test-fpucw-ieee' and
16678         `$(tests-static)'.
16679         (tests-static): New variable.
16680         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16681         dependency to...
16682         [($(build-shared),yes)]
16683         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16684         ... this.
16685         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16686         New dependency.
16687
16688 2013-09-09  Allan McRae  <allan@archlinux.org>
16689
16690         [BZ #15939]
16691         * manual/string.texi (Collation Functions): Fix typo in
16692         strcoll example.
16693         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16694
16695         [BZ #15893]
16696         * stdlib/isomac.c (get_null_defines): Fix memory leak.
16697
16698         [BZ #15892]
16699         * libio/memstream.c (open_memstream): Fix memory leak.
16700         * libio/wmemstream.c (open_wmemstream): Likewise.
16701
16702         [BZ #15895]
16703         * nscd/netgroupcache.c: Fix nesting of ifdefs.
16704
16705 2013-09-09  Will Newton  <will.newton@linaro.org>
16706
16707         * malloc/Makefile: Add tst-realloc to tests.
16708         * malloc/tst-realloc.c: New file.
16709
16710 2013-09-09  Allan McRae  <allan@archlinux.org>
16711
16712         [BZ #15844]
16713         * COPYING: Update from GNU website to fix FSF address.
16714         * COPYING.LIB: Likewise.
16715
16716 2013-09-06  David S. Miller  <davem@davemloft.net>
16717
16718         * po/zh_TW.po: Update Chinese (traditional) translation from
16719         translation project.
16720
16721 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
16722             Joseph Myers  <joseph@codesourcery.com>
16723
16724         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16725         "localeinfo.h".
16726         (obstack_chunk_alloc): New macro.
16727         (obstack_chunk_free): Likewise.
16728         (record_offset): New function.
16729         (init_locale_data): Likewise.
16730         (align_locale_data): Likewise.
16731         (add_locale_empty): Likewise.
16732         (add_locale_raw_data): Likewise.
16733         (add_locale_raw_obstack): Likewise.
16734         (add_locale_string): Likewise.
16735         (add_locale_wstring): Likewise.
16736         (add_locale_uint32): Likewise.
16737         (add_locale_uint32_array): Likewise.
16738         (add_locale_char): Likewise.
16739         (start_locale_structure): Likewise.
16740         (end_locale_structure): Likewise.
16741         (start_locale_prelude): Likewise.
16742         (end_locale_prelude): Likewise.
16743         (write_locale_data): Take locale_file structure rather than an
16744         iovec.
16745         * locale/programs/locfile.h: Include "obstack.h".
16746         (struct locale_file): Change to store locale file contents instead
16747         of header.
16748         (init_locale_data): New prototype.
16749         (align_locale_data): Likewise.
16750         (add_locale_empty): Likewise.
16751         (add_locale_raw_data): Likewise.
16752         (add_locale_raw_obstack): Likewise.
16753         (add_locale_string): Likewise.
16754         (add_locale_wstring): Likewise.
16755         (add_locale_uint32): Likewise.
16756         (add_locale_uint32_array): Likewise.
16757         (add_locale_char): Likewise.
16758         (start_locale_structure): Likewise.
16759         (end_locale_structure): Likewise.
16760         (start_locale_prelude): Likewise.
16761         (end_locale_prelude): Likewise.
16762         (write_locale_data): Update prototype.
16763         * locale/programs/3level.h (struct TABLE): Remove result field.
16764         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16765         Use new locale_file interface.
16766         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16767         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16768         * locale/programs/ld-address.c (address_output): Use new
16769         locale_file interface.
16770         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16771         NO_ADD_LOCALE.
16772         (collate_finish): Don't call collseq_table_finalize.
16773         (collate_output): Use new locale_file interface.
16774         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16775         in file.
16776         (NO_FINALIZE): Change to NO_ADD_LOCALE.
16777         (TABLE): Move defines earlier in file.
16778         (ELEMENT): Likewise.
16779         (DEFAULT): Likewise.
16780         (wctrans_table_add): Move macro and inline function earlier in
16781         file.
16782         (struct wctype_table): Move type earlier in file.
16783         (add_locale_wctype_table): New static prototype.
16784         (struct locale_ctype_t): Use logical types instead of struct iovec
16785         pointers for members.
16786         (ctype_output): Use new locale_file interface.
16787         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
16788         new locale_file interface.
16789         (allocate_arrays): Update for use of new locale_file interface.
16790         * locale/programs/ld-identification.c (identification_output): Use
16791         new locale_file interface.
16792         * locale/programs/ld-measurement.c (measurement_output): Likewise.
16793         * locale/programs/ld-messages.c (messages_output): Likewise.
16794         * locale/programs/ld-monetary.c (monetary_output): Likewise.
16795         * locale/programs/ld-name.c (name_output): Likewise.
16796         * locale/programs/ld-numeric.c (numeric_output): Likewise.
16797         * locale/programs/ld-paper.c (paper_output): Likewise.
16798         * locale/programs/ld-telephone.c (telephone_output): Likewise.
16799         * locale/programs/ld-time.c (time_output): Likewise.
16800
16801 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16802
16803         * benchtests/Makefile: Add memrchr benchmark.
16804         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16805         benchmark as memrchr.
16806         * benchtests/bench-memrchr-ifunc.c: New file.
16807         * benchtests/bench-memrchr.c: New file.
16808
16809 2013-09-06   Will Newton  <will.newton@linaro.org>
16810
16811         * benchtests/Makefile (string-bench): Add memcpy.
16812
16813 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
16814             Cong Wang  <amwang@redhat.com>
16815
16816         [BZ #15850]
16817         * sysdeps/unix/sysv/linux/bits/in.h
16818         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16819         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16820         before __USE_KERNEL_IPV6_DEFS uses.
16821         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16822         IPPROTO_BEETPH.
16823         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16824         sockaddr_in6, or ipv6_mreq.
16825
16826 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16827
16828         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16829         memory access for final bytes in some large inputs.
16830         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16831
16832 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16833
16834         * string/test-memrchr.c: New file.
16835         * string/test-memrchr-ifunc.c: New file.
16836         * string/Makefile: Add new memrchr testcase.
16837
16838 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
16839
16840         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16841         fanotify_init returns EPERM.
16842
16843 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
16844
16845         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16846         errors.
16847         (top level): Treat second token from macro or constant entries for
16848         allowed headers as allowed.
16849         * include/complex.h: Condition internal declarations on
16850         [!_ISOMAC].
16851         * include/fenv.h: Condition include of <stdbool.h> and internal
16852         declarations on [!_ISOMAC].
16853
16854 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
16855
16856         [BZ #15923]
16857         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16858
16859 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
16860
16861         * configure.in (--enable-versioning): Remove configure option.
16862         (libc_cv_asm_symver_directive): Remove configure test.
16863         (libc_cv_ld_version_script_option): Likewise.
16864         (VERSIONING): Remove variable and AC_SUBST.
16865         (DO_VERSIONING): Remove AC_DEFINE.
16866         * configure: Regenerated.
16867         * config.h.in (DO_VERSIONING): Remove macro.
16868         * Makerules [$(versioning) = yes]: Change conditionals to
16869         [$(build-shared) = yes].
16870         * config.make.in (versioning): Remove variable.
16871         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16872         [$(build-shared) = yes].
16873         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16874         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16875         * elf/Makefile [$(versioning) = yes]: Change conditionals to
16876         [$(build-shared) = yes].
16877         * extra-lib.mk [$(versioning) = yes]: Likewise.
16878         * hurd/Makefile [$(versioning) = yes]: Likewise.
16879         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16880         [SHARED].
16881         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16882         [SHARED].
16883         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16884         [SHARED && !NO_HIDDEN].
16885         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16886         [SHARED].
16887         [SHARED && DO_VERSIONING]: Likewise..
16888         * libio/Makefile [$(versioning) = yes]: Change conditionals to
16889         [$(build-shared) = yes].
16890         * manual/install.texi (--disable-versioning): Remove
16891         documentation.
16892         * INSTALL: Regenerated.
16893         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16894         to [SHARED].
16895         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16896         [$(build-shared) = yes].
16897         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16898         * sysdeps/i386/i686/multiarch/strstr-c.c
16899         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16900         [SHARED && !NO_HIDDEN].
16901         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16902         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16903         * sysdeps/powerpc/powerpc32/dl-machine.c
16904         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16905         * sysdeps/powerpc/powerpc32/sysdep.h
16906         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16907         to [SHARED && PIC && !NO_HIDDEN].
16908         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16909         conditional to [SHARED].
16910
16911 2013-09-04   Will Newton  <will.newton@linaro.org>
16912
16913         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16914         * benchtests/bench-string.h: Include bench-timing.h instead
16915         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16916         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16917         call to HP_TIMING_DIFF_INIT.
16918         * benchtests/bench-memccpy.c: Use bench-timing.h macros
16919         instead of hp-timing.h macros.
16920         * benchtests/bench-memchr.c: Likewise.
16921         * benchtests/bench-memcmp.c: Likewise.
16922         * benchtests/bench-memcpy.c: Likewise.
16923         * benchtests/bench-memmem.c: Likewise.
16924         * benchtests/bench-memmove.c: Likewise.
16925         * benchtests/bench-memset.c: Likewise.
16926         * benchtests/bench-rawmemchr.c: Likewise.
16927         * benchtests/bench-strcasecmp.c: Likewise.
16928         * benchtests/bench-strcasestr.c: Likewise.
16929         * benchtests/bench-strcat.c: Likewise.
16930         * benchtests/bench-strchr.c: Likewise.
16931         * benchtests/bench-strcmp.c: Likewise.
16932         * benchtests/bench-strcpy.c: Likewise.
16933         * benchtests/bench-strcpy_chk.c: Likewise.
16934         * benchtests/bench-strlen.c: Likewise.
16935         * benchtests/bench-strncasecmp.c: Likewise.
16936         * benchtests/bench-strncat.c: Likewise.
16937         * benchtests/bench-strncmp.c: Likewise.
16938         * benchtests/bench-strncpy.c: Likewise.
16939         * benchtests/bench-strnlen.c: Likewise.
16940         * benchtests/bench-strpbrk.c: Likewise.
16941         * benchtests/bench-strrchr.c: Likewise.
16942         * benchtests/bench-strspn.c: Likewise.
16943         * benchtests/bench-strstr.c: Likewise.
16944
16945 2013-09-04  Will Newton  <will.newton@linaro.org>
16946
16947         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16948
16949 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
16950
16951         [BZ #15427]
16952         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16953         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16954         * math/libm-test.inc (lgamma_test_data): Add more tests.
16955         * sysdeps/i386/fpu/libm-test-ulps: Update.
16956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16957
16958 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
16959
16960         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16961         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16962         Add ifunc.
16963         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16964         Add strcmp-sse2-unaligned
16965         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16966
16967 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
16968
16969         * Versions.def (libc): Add GLIBC_2.19.
16970
16971 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
16972
16973         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16974         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16975
16976 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
16977
16978         [BZ #14155]
16979         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16980         intermediate calculations in recurrence.
16981         (__ieee754_ynf): Likewise.
16982         * math/libm-test.inc (jn_test_data): Do not allow spurious
16983         underflow exception.  Add more tests.
16984         (yn_test_data): Add more tests.
16985         * sysdeps/i386/fpu/libm-test-ulps: Update.
16986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16987
16988 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
16989
16990         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16991
16992 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
16993
16994         * csu/init-first.c: Fix then/than typos.
16995         * locale/programs/ld-collate.c: Likewise.
16996         * locale/programs/linereader.h: Likewise.
16997         * manual/charset.texi: Likewise.
16998         * manual/filesys.texi: Likewise.
16999         * manual/stdio.texi: Likewise.
17000         * manual/string.texi: Likewise.
17001         * stdlib/fmtmsg.c: Likewise.
17002         * sysdeps/i386/stpncpy.S: Likewise.
17003         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17004         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17005         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17006         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17007
17008 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17009
17010         * elf/dl-open.c: Fix typos.
17011         * iconvdata/gbbig5.c: Likewise.
17012         * iconvdata/iso-2022-jp.c: Likewise.
17013         * iconv/gconv_int.h: Likewise.
17014         * iconv/loop.c: Likewise.
17015         * nis/rpcsvc/nis.h: Likewise.
17016         * resolv/ns_name.c: Likewise.
17017         * stdio-common/vfscanf.c: Likewise.
17018         * streams/stropts.h: Likewise.
17019         * sunrpc/rpc_thread.c: Likewise.
17020         * sysdeps/i386/strpbrk.S: Likewise.
17021         * sysdeps/ieee754/k_standard.c: Likewise.
17022         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17023         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17024         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17025         * sysdeps/mach/hurd/profil.c: Likewise.
17026         * sysdeps/s390/dl-procinfo.h: Likewise.
17027         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17028         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17029         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17030         * sysdeps/x86_64/dl-trampoline.S: Likewise.
17031         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17032
17033 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
17034
17035         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17036         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17037
17038 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
17039
17040         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17041         aix specific files.
17042         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17043         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17044         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17045         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17046         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17047         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17048         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17049         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17050
17051 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17052             Roland McGrath  <roland@hack.frob.com>
17053
17054         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17055         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17056
17057 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17058
17059         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17060         __executable_start symbol instead of _start.
17061
17062 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17063
17064         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17065         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17066         Move macros to...
17067         * sysdeps/gnu/ldsodefs.h: ... this new file.
17068
17069         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17070         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17071         instead of ELFOSABI_LINUX.
17072
17073         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17074         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17075         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17076         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17077         Likewise.
17078         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17079         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17080         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17081         Likewise.
17082         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17083         (ibm_extended_long_double): Add ieee_nan member.
17084         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17085         (do_test): New function.
17086
17087         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17088         TEST_TRUNC.
17089         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17090         functions, renamed from truncdfsf_test, trunctfsf_test,
17091         trunctfdf_test.
17092         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17093         functions.
17094         (do_test): Run all these.
17095
17096 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
17097
17098         * argp/argp-help.c: Fix typos.
17099         * argp/argp-parse.c: Likewise.
17100         * debug/backtracesyms.c: Likewise.
17101         * elf/elf.h: Likewise.
17102         * malloc/malloc.c: Likewise.
17103         * nis/nis_print.c: Likewise.
17104         * resolv/res_comp.c: Likewise.
17105         * stdlib/stdlib.h: Likewise.
17106         * sunrpc/clnt_tcp.c: Likewise.
17107         * sunrpc/clnt_udp.c: Likewise.
17108         * sunrpc/clnt_unix.c: Likewise.
17109         * sysdeps/unix/bsd/ptsname.c: Likewise.
17110         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17111         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17113         Likewise.
17114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17115         Likewise.
17116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17117         Likewise.
17118         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17119
17120 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17121
17122         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17123         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17124
17125 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
17126
17127         [BZ #15897]
17128         * dlfcn/Makefile (tests): Add bug-dl-leaf.
17129         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17130         ($(objpfx)bug-dl-leaf): New rule.
17131         ($(objpfx)bug-dl-leaf.so): Likewise.
17132         ($(objpfx)bug-dl-leaf.out): Likewise.
17133         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17134         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17135         * dlfcn/bug-dl-leaf.c: New test.
17136         * dlfcn/bug-dl-leaf-lib.c: Likewise.
17137         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17138         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17139         (dlclose): Likewise.
17140         (dlmopen): Likewise.
17141
17142 2013-08-27  Roland McGrath  <roland@hack.frob.com>
17143
17144         * include/netdb.h [!_ISOMAC]:
17145         Don't include <tls.h>.
17146         (h_errno, __libc_h_errno): Move declaration and macros out of
17147         [_LIBC_REENTRANT].
17148
17149         * include/resolv.h [_RESOLV_H_]:
17150         Don't include <tls.h>.
17151         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17152         * resolv/res_libc.c: Don't include <tls.h>.
17153         (_res): Use __attribute__ ((nocommon)) in place of
17154         __attribute__ ((section (".bss"))).
17155
17156         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17157         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17158
17159         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17160
17161         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17162         only under [SIOCGIFCONF && SIOCGIFNETMASK].
17163
17164         * resolv/res_mkquery.c: Include <sys/time.h>.
17165
17166         * inet/ifreq.c: Moved to ...
17167         * sysdeps/unix/ifreq.c: ... here.
17168         * inet/ifreq.c: New file, true stub version.
17169
17170         * socket/sa_len.c: New file.
17171         * socket/Makefile (aux): Add it.
17172         * sysdeps/unix/sysv/linux/Makefile
17173         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17174         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17175         and #include <socket/sa_len.c>.
17176         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17177         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17178
17179         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17180         * bits/socket.h: ... here.
17181
17182         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17183         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17184         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17185
17186 2013-08-27  Andreas Schwab  <schwab@suse.de>
17187
17188         [BZ #15736]
17189         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17190         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17191         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17192         * string/test-strcasecmp.c (test_main): Run tests in several
17193         locales.
17194         * string/test-strncasecmp.c (test_main): Likewise.
17195
17196         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17197         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17198         to __strcasecmp_nonascii and __strncasecmp_nonascii.
17199         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17200         (__strncasecmp_ssse3) [PIC]: Likewise.
17201
17202 2013-08-26  Roland McGrath  <roland@hack.frob.com>
17203
17204         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17205
17206         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17207         instead of explicitly declaring xdecrypt.
17208         * nis/nss_nis/nis-publickey.c: Likewise.
17209
17210 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17211
17212         [BZ #15890]
17213         * nscd/aicache.c: Include res_hconf.h.
17214         (addhstaiX): Initialize res_hconf.
17215
17216 2013-08-26  Andreas Schwab  <schwab@suse.de>
17217
17218         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17219         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17220
17221 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17222
17223         * nscd/aicache.c (addhstaiX): Fix indentation.
17224
17225 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
17226
17227         * configure.ac: Quote $build_pt_chown test.
17228         * configure: Regenerated.
17229
17230 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
17231
17232         [BZ #15532]
17233         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17234         * math/s_cexpf.c (__cexpf): Likewise.
17235         * math/s_cexpl.c (__cexpl): Likewise.
17236         * math/libm-test.inc (cexp_test_data): Correct expected return
17237         value for NaN + i0.  Add another test.
17238
17239 2013-08-22  David S. Miller  <davem@davemloft.net>
17240
17241         * po/ca.po: Update Catalan translation from translation project.
17242         * po/uk.po: Add Ukrainian translations from translation project.
17243
17244 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
17245
17246         [BZ #15797]
17247         * math/s_fdim.c (__fdim): Check for infinite arguments if result
17248         is infinite, not alongside NaN test.
17249         * math/s_fdimf.c (__fdimf): Likewise.
17250         * math/s_fdiml.c (__fdiml): Likewise.
17251         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
17252         errno is unchanged.
17253
17254 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
17255
17256         * argp/argp-help.c: Fix typos.
17257         * crypt/speeds.c: Likewise.
17258         * csu/check_fds.c: Likewise.
17259         * elf/dl-load.c: Likewise.
17260         * elf/dl-open.c: Likewise.
17261         * elf/reldep3.c: Likewise.
17262         * elf/reldep.c: Likewise.
17263         * elf/sprof.c: Likewise.
17264         * iconv/iconv_charmap.c: Likewise.
17265         * iconv/skeleton.c: Likewise.
17266         * iconv/strtab.c: Likewise.
17267         * io/lockf64.c: Likewise.
17268         * libio/libioP.h: Likewise.
17269         * resolv/gai_notify.c: Likewise.
17270         * resolv/ns_name.c: Likewise.
17271         * resolv/ns_samedomain.c: Likewise.
17272         * resolv/res_send.c: Likewise.
17273         * stdlib/random.c: Likewise.
17274         * sunrpc/rpc/xdr.h: Likewise.
17275         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17276         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17277         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17278         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17279         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17280         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17281         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17282         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17283         * sysdeps/mach/hurd/check_fds.c: Likewise.
17284         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17285         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17286         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17287         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17288         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17289         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17290         * sysdeps/pthread/aio_notify.c: Likewise.
17291         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17292         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17293         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17294         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17295         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17296
17297 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17298
17299         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17300         version if bit_Slow_SSE4_2 is set.
17301         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17302         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17303
17304 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17305
17306         [BZ #15867]
17307         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17308         trampoline stack frame information.
17309         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17310         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17311         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17312         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17313         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17314         * sysdeps/unix/sysv/linux/powerpc/init-first.c
17315         (_libc_vdso_platform_setup): Initialize the signal trampolines.
17316         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17317         sa_flags value.
17318         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17319         interrupting a syscall and set with option SA_SIGINFO.
17320
17321 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17322
17323         [BZ #15531]
17324         * math/s_cproj.c (__cproj): Only return an infinity if one part of
17325         argument is infinite.
17326         * math/s_cprojf.c (__cprojf): Likewise.
17327         * math/s_cprojl.c (__cprojl): Likewise.
17328         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17329         * math/libm-test.inc (cproj_test_data): Add more tests.
17330
17331         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17332
17333         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17334         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17335         size.  Use __ffs to determine corresponding shift.
17336
17337 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17338             Roland McGrath  <roland@hack.frob.com>
17339
17340         * Makefile (INSTALL): Remove trailing blank lines from output of
17341         makeinfo.
17342
17343 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17344
17345         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17346         Align 32 bit compat elf_greg to 8 bytes.
17347
17348 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
17349
17350         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17351
17352 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17353
17354         * string/strcoll_l.c (coll_seq): New structure.
17355         (get_next_seq_cached): New function.
17356         (get_next_seq): New function.
17357         (do_compare): New function.
17358         (STRCOLL): Use GNU style definition.  Simplify implementation
17359         by using get_next_seq, get_next_seq_cached and do_compare.
17360
17361 2013-08-16  Florian Weimer  <fweimer@redhat.com>
17362
17363         [BZ #14699]
17364         CVE-2013-4237
17365         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17366         member.
17367         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17368         member.
17369         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17370         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17371         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
17372         conditional.
17373         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17374         GETDENTS_64BIT_ALIGNED.
17375         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17376         * manual/filesys.texi (Reading/Closing Directory): Document
17377         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
17378         strongly.
17379         * manual/conf.texi (Limits for Files): Add portability note to
17380         NAME_MAX, PATH_MAX.
17381         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17382
17383 2013-08-13  Andreas Schwab  <schwab@suse.de>
17384
17385         [BZ #15749]
17386         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17387         of fabs.
17388         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17389         LDBL_MAX_EXP >= 16384]: Add tests for it.
17390
17391 2013-08-12  David S. Miller  <davem@davemloft.net>
17392
17393         * version.h (RELEASE): Set to "development".
17394         (VERSION): Set to "2.18.90".
17395         * NEWS: Add 2.19 section.
17396
17397 2013-08-03  David S. Miller  <davem@davemloft.net>
17398
17399         * po/ko.po: Update Korean translation from translation project.
17400
17401 2013-08-01  David S. Miller  <davem@davemloft.net>
17402
17403         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
17404         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17405         Bilka.
17406
17407 2013-07-30  David S. Miller  <davem@davemloft.net>
17408
17409         * po/fr.po: Update French translation from translation project.
17410
17411 2013-07-28  David S. Miller  <davem@davemloft.net>
17412
17413         * po/cs.po: Update Czech translation from translation project.
17414
17415         * po/sv.po: Update Swedish translation from translation project.
17416
17417 2013-07-27  David S. Miller  <davem@davemloft.net>
17418
17419         * po/eo.po: Update Esperanto translation from translation project.
17420
17421         * po/vi.po: Update Vietnamese translation from translation project.
17422
17423         * po/de.po: Update German translation from translation project.
17424
17425 2013-07-26  David S. Miller  <davem@davemloft.net>
17426
17427         * po/bg.po: Update Bulgarian translation from translation project.
17428
17429         * po/nl.po: Update Dutch translation from translation project.
17430         * po/pl.po: Update Polish translation from translation project.
17431         * po/ru.po: Update Russian translation from translation project.
17432
17433 2013-07-24  David S. Miller  <davem@davemloft.net>
17434
17435         * po/libc.pot: Update.
17436
17437 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17438
17439         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17440         variable page size.
17441         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17442         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17443         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17444
17445 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17446
17447         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17448
17449 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17450             Andreas Schwab  <schwab@suse.de>
17451             Roland McGrath  <roland@hack.frob.com>
17452             Joseph Myers  <joseph@codesourcery.com>
17453             Carlos O'Donell  <carlos@redhat.com>
17454
17455         [BZ #15755]
17456         * config.h.in: Define HAVE_PT_CHOWN.
17457         * config.make.in (build-pt-chown): New variable.
17458         * configure.in (--enable-pt_chown): New configure option.
17459         * configure: Regenerate.
17460         * login/Makefile: Include Makeconfig.  Build pt_chown only if
17461         build-pt-chown is enabled.
17462         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17463         pt_chown to fix pty ownership.
17464         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17465         CLOSE_ALL_FDS.
17466         * manual/install.texi (Configuring and compiling): Mention
17467         --enable-pt_chown. Add @findex for grantpt.
17468         * INSTALL: Regenerate.
17469
17470 2013-07-20  David S. Miller  <davem@davemloft.net>
17471
17472         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17473         difference between 32-bit and 64-bit.
17474
17475 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
17476
17477         [BZ #15711]
17478         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17479         Avoid system header dependency with -ffreestanding.
17480         ($(objpfx)bits/syscall%d): Likewise.
17481
17482 2013-07-13  David S. Miller  <davem@davemloft.net>
17483
17484         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17485         underflows from atanl/atan2l due to bug 15319.
17486         (casinh_test_data): Likewise.
17487
17488 2013-07-07  David S. Miller  <davem@davemloft.net>
17489
17490         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17491
17492 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
17493
17494         * sysdeps/i386/fpu/libm-test-ulps: Update.
17495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17496
17497 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17498
17499         * configure.in (--enable-lock-elision): Fix message text.
17500         * INSTALL: Regenerate.
17501         * configure: Regenerate.
17502
17503 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17504
17505         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17506
17507 2013-07-03  Andreas Jaeger  <aj@suse.de>
17508
17509         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17510         define.
17511         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17512         (ptrace_peeksiginfo_args): Add.
17513         (__ptrace_peeksiginfo_flags): Add.
17514         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17515         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17516         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17517
17518 2013-07-03  Allan McRae  <allan@archlinux.org>
17519
17520         * sysdeps/i386/fpu/libm-test-ulps: Update.
17521
17522 2013-07-02  David S. Miller  <davem@davemloft.net>
17523
17524         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17525
17526 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
17527
17528         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17529
17530 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
17531
17532         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17534
17535 2013-07-02  Andi Kleen <ak@linux.intel.com>
17536
17537         * config.h.in (ENABLE_LOCK_ELISION): Add.
17538         * configure.in (--enable-lock-elision): Add option.
17539         * manual/install.texi: Document --enable lock elision.
17540         * configure: Regenerate
17541         * INSTALL: Regenerate.
17542
17543 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
17544
17545         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17546         SSE4.2 strcasecmp for libc.a.
17547         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17548
17549 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
17550
17551         [BZ #13304]
17552         * soft-fp/op-common.h (_FP_FMA): New macro.
17553         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17554         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
17555         (_FP_MUL_MEAT_1_imm): ... here.
17556         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
17557         (_FP_MUL_MEAT_1_wide): ... here.
17558         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
17559         (_FP_MUL_MEAT_1_hard): ... here.
17560         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17561         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
17562         (_FP_MUL_MEAT_2_wide): ... here.
17563         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
17564         (_FP_MUL_MEAT_2_wide_3mul): ... here.
17565         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
17566         (_FP_MUL_MEAT_2_gmp): ... here.
17567         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17568         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
17569         (_FP_MUL_MEAT_4_wide): ... here.
17570         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
17571         (_FP_MUL_MEAT_4_gmp): ... here.
17572         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17573         (_FP_WFRACBITS_DW_S): Likewise.
17574         (_FP_WFRACXBITS_DW_S): Likewise.
17575         (_FP_HIGHBIT_DW_S): Likewise.
17576         (FP_FMA_S): Likewise.
17577         (_FP_FRAC_HIGH_DW_S): Likewise.
17578         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17579         (_FP_WFRACBITS_DW_D): Likewise.
17580         (_FP_WFRACXBITS_DW_D): Likewise.
17581         (_FP_HIGHBIT_DW_D): Likewise.
17582         (FP_FMA_D): Likewise.
17583         (_FP_FRAC_HIGH_DW_D): Likewise.
17584         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17585         (_FP_WFRACBITS_DW_E): Likewise.
17586         (_FP_WFRACXBITS_DW_E): Likewise.
17587         (_FP_HIGHBIT_DW_E): Likewise.
17588         (FP_FMA_E): Likewise.
17589         (_FP_FRAC_HIGH_DW_E): Likewise.
17590         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17591         (_FP_WFRACBITS_DW_Q): Likewise.
17592         (_FP_WFRACXBITS_DW_Q): Likewise.
17593         (_FP_HIGHBIT_DW_Q): Likewise.
17594         (FP_FMA_Q): Likewise.
17595         (_FP_FRAC_HIGH_DW_Q): Likewise.
17596         * soft-fp/fmasf4.c: New file.
17597         * soft-fp/fmadf4.c: Likewise.
17598         * soft-fp/fmatf4.c: Likewise.
17599
17600 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17601
17602         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17603         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17604         Silvermont.
17605         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17606         macro.
17607         (index_Slow_SSE4_2): Likewise.
17608         (index_Prefer_PMINUB_for_stringop): Likewise.
17609         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17610         bit_Slow_SSE4_2 is set.
17611         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17612         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17613
17614 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17615
17616         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17617         rtld_global._dl_hwcap2.
17618         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17619         POWER8.
17620         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17621         POWER8 feature descriptions defined in _dl_hwcap2.
17622         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17623         string handling for POWER8 feature bits.
17624         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17625         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17626         _dl_powerpc_cap_flags.
17627         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17628         * sysdeps/powerpc/rtld-global-offsets.sym
17629         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17630         _dl_hwcap2 in the rtld_global_ro structure.
17631
17632 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17633
17634         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17635         hardware capabilities in support of AT_HWCAP2.
17636         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17637         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17638         GLRO(dl_hwcap2).
17639         (_dl_show_auxv): Add support for calling _dl_procinfo to display
17640         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
17641         explicitly the unknown a_type display mechanism is used.
17642         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17643         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17644         struct member.
17645         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17646         to macro prototype for AT_HWCAP2 support.
17647         * sysdeps/i386/dl-procinfo.h: Likewise.
17648         * sysdeps/s390/dl-procinfo.h: Likewise.
17649         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17650         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
17651         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
17652         return -1 for unknown a_type display fallback.
17653         * sysdeps/sparc/dl-procinfo.h: Likewise.
17654         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17655         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17656
17657 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
17658
17659         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17660         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17661
17662 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
17663
17664         [BZ #12492]
17665         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17666         mprotect making __stack_prot writable.
17667
17668 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
17669             Joseph Myers  <joseph@codesourcery.com>
17670
17671         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17672         as being properly aligned.
17673
17674 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
17675
17676         * dlfcn/modstatic5.c: New file.
17677         * dlfcn/tststatic5.c: New file.
17678         * dlfcn/Makefile (tests): Add tststatic5.
17679         (tests-static): Likewise.
17680         (modules-names): Add modstatic5.
17681         (tststatic5-ENV): New variable.
17682         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17683
17684         [BZ #15022]
17685         * elf/dl-support.c (_dl_main_map): New variable.
17686         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17687         (_dl_nns, _dl_load_adds): Set to 1.
17688         (_dl_initial_searchlist): Refer to _dl_main_map.
17689         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17690         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17691         call to _dl_get_origin.
17692         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17693         around call_map.
17694         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17695         * dlfcn/modstatic3.c: New file.
17696         * dlfcn/tststatic3.c: New file.
17697         * dlfcn/tststatic4.c: New file.
17698         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17699         (tests-static): Likewise.
17700         (modules-names): Add modstatic3.
17701         (tststatic3-ENV, tststatic4-ENV): New variables.
17702         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17703         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17704
17705 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
17706
17707         * configure.in (CC): Require GCC version 4.4 or later.
17708         * configure: Regenerated.
17709         * manual/install.texi (Tools for Compilation): Update GCC version
17710         requirement.
17711         * INSTALL: Regenerated.
17712
17713 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17714
17715         [BZ #15674]
17716         * string/test-memcmp.c (check2): New.
17717         (main): Call check2.
17718
17719         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17720
17721 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
17722
17723         [BZ #15022]
17724         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17725         over to...
17726         (dl_open_worker) [!SHARED]: ... here.
17727
17728 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17729
17730         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17731
17732 2013-06-25  Richard Henderson  <rth@redhat.com>
17733
17734         * locale/programs/locarchive.c: Include <libc-internal.h>
17735
17736 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
17737
17738         * manual/texinfo.tex: Update to version 2013-06-21.17, with
17739         trailing whitespace removed.
17740
17741 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
17742
17743         [BZ #10283]
17744         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17745         * locale/programs/locarchive.c: Include libc-mmap.h.
17746         (prepare_address_space): Take two new outputs (the mmap base and len).
17747         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
17748         values.
17749         (create_archive): Declare new mmap base and len values for
17750         prepare_address_space, and store the result in ah.
17751         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17752         (enlarge_archive): If ah->mmap_base is not NULL, use that and
17753         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17754         Declare new mmap base and len values for
17755         prepare_address_space, and store the result in new_ah.
17756         (open_archive): Declare new mmap base and len values for
17757         prepare_address_space, and store the result in ah.
17758         (close_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         * sysdeps/generic/libc-mmap.h: New file.
17761
17762 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
17763
17764         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17765         (ALIGN_UP): Likewise.
17766         (PTR_ALIGN_DOWN): Likewise.
17767         (PTR_ALIGN_UP): Likewise.
17768
17769 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17770
17771         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17772         entry mapped to PPC_PLATFORM_POWER8.
17773         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17774         POWER8.
17775         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17776         (_dl_string_platform): Add case for exporting platform position for
17777         POWER8.
17778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17779         search path to sysdeps/powerpc/powerpc32/power8 directory.
17780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17781         search path to sysdeps/powerpc/powerpc64/power8 directory.
17782         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17783         power7 directories.
17784         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17785         power7 directories.
17786
17787 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17788
17789         * INSTALL: Regenerate.
17790
17791         * nscd/connections.c (nscd_init): Fix comment.
17792
17793 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
17794
17795         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17796
17797         [BZ #15667]
17798         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17799         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17800
17801 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
17802
17803         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17804         DL_DST_REQ_STATIC.
17805         (DL_DST_REQ_STATIC): Remove macro.
17806
17807 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
17808
17809         [BZ #7006]
17810         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17811         with a shift of 0 bits.
17812
17813 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
17814
17815         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17816         $(tststatic-ENV).
17817
17818 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17819
17820         [BZ #15655]
17821         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17822
17823 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17824
17825         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17826         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17827         accepts -fno-tree-loop-distribute-patterns.
17828         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17829         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17830         recursive call.
17831         * string/memset.c (memset): Likewise.
17832         * string/test-memmove.c (simple_memmove): Disable loop transformation
17833         to library calls.
17834         * string/test-memset.c (simple_memset): Likewise.
17835         * benchtests/bench-memmove.c (simple_memmove): Likewise.
17836         * benchtests/bench-memset.c (simple_memset): Likewise.
17837         * configure: Regenerated.
17838
17839 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
17840
17841         * math/test-misc.c (main): Ignore fesetround failure when failures
17842         of subsequent rounding tests would be ignored.
17843
17844         [BZ #15654]
17845         * math/fedisblxcpt.c (fedisableexcept): Return 0.
17846         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17847         * math/fegetenv.c (__fegetenv): Return 0.
17848         * math/fegetexcept.c (fegetexcept): Return 0.
17849         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17850         FE_TONEAREST.
17851         * math/feholdexcpt.c (feholdexcept): Return 0.
17852         * math/fesetenv.c (__fesetenv): Return 0.
17853         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17854         argument FE_TONEAREST.
17855         * math/feupdateenv.c (__feupdateenv): Return 0.
17856         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17857
17858 2013-06-18  Roland McGrath  <roland@hack.frob.com>
17859
17860         * elf/rtld-Rules (rtld-compile-command.S): New variable.
17861         (rtld-compile-command.s, rtld-compile-command.c): New variables.
17862         ($(objpfx)rtld-%.os rules): Use them.
17863
17864 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17865
17866         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17867         fields.
17868
17869 2013-06-17  Roland McGrath  <roland@hack.frob.com>
17870
17871         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17872         length of target pattern, then descending length of dependency pattern.
17873         * configure.in (AWK): Require gawk 3.1.2 or newer.
17874         * manual/install.texi (Tools for Compilation): Say that we do.
17875         * configure: Regenerated.
17876
17877         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17878         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17879         * scripts/sysd-rules.awk: ... this new script.
17880         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17881         than a glob-style pattern.
17882
17883 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
17884
17885         * math/test-misc.c (main): Do not treat incorrectly rounded
17886         conversions as failure unless ROUNDING_TESTS passes.
17887
17888 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
17889
17890         [BZ #15631]
17891         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17892         restore exception state around main square root computation, then
17893         check for inexactness explicitly.
17894
17895         * math/libm-test.inc (fma_test_data): Add another test.
17896
17897 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17898
17899         * manual/threads.texi (Non-POSIX Extensions): New document
17900         node.  Document pthread_getattr_default_np and
17901         pthread_setattr_default_np.
17902
17903         * Versions.def (libpthread): Add GLIBC_2.18.
17904         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17906         Likewise.
17907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17908         Likewise.
17909         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17910         Likewise.
17911         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17912         Likewise.
17913         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17914         Likewise.
17915         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17916         Likewise.
17917         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17918         Likewise.
17919         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17920         Likewise.
17921         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17922         Likewise.
17923
17924 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17925
17926         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17927         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17928
17929 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17930             H.J. Lu  <hjl.tools@gmail.com>
17931
17932         [BZ #15627]
17933         * sysdeps/x86_64/rtld-memset.c: Remove file.
17934         * sysdeps/x86_64/rtld-memset.S: New file.
17935
17936 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
17937
17938         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17939         (test_in_one_mode): Take arguments for whether the rounding mode
17940         is supported for each floating-point type.
17941         (do_test): Pass new arguments to test_in_one_mode using
17942         ROUNDING_TESTS.
17943
17944 2013-06-13  Roland McGrath  <roland@hack.frob.com>
17945
17946         * posix/tst-waitid.c (do_test): Distinguish different instances of
17947         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
17948         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17949         before entering the kernel for waitpid.
17950
17951 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17952
17953         * NEWS: Fix note on clock function precision.  Text by Roland
17954         McGrath.
17955
17956 2013-06-13  Roland McGrath  <roland@hack.frob.com>
17957
17958         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17959         it into place only when and if the sanity check passes.
17960
17961 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
17962
17963         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17964         output for whether conversion result is exact.  Take argument
17965         indicating whether type is IBM long double.
17966         (round_for_all): Change need_exact field to ibm_ld.
17967         * stdlib/tst-strtod-round.c (struct exactness): New type.
17968         (struct test): Change bool ld_ok field to struct exactness exact.
17969         (TEST): Update all definitions for change to field.
17970         (tests): Regenerate array contents.
17971         (test_in_one_mode): Take pointer to new field instead of old ld_ok
17972         field value.  Check for IBM long double here.
17973         (do_test): Update calls to test_in_one_mode.
17974
17975 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17976
17977         [BZ #12515]
17978         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17979         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17980
17981 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17982
17983         [BZ #15605]
17984         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17985         generated by the compiler on loop optimizations.
17986         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17987         general definitions.
17988
17989 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
17990
17991         * math/bug-nextafter.c: Include <math-tests.h>.
17992         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17993         the relevant type.
17994         * math/bug-nexttoward.c: Include <math-tests.h>.
17995         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17996         the relevant type.
17997         * math/test-misc.c: Include <math-tests.h>.
17998         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17999         the relevant type.
18000
18001 2013-06-12  Andreas Jaeger  <aj@suse.de>
18002
18003         * po/ia.po: Update Interlingua translation from translation
18004         project.
18005
18006 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18007
18008         * include/fenv.h: Include stdbool.h.
18009         (struct rm_ctx): New structure.
18010         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18011         Define macro.
18012         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18013         (SET_RESTORE_ROUNDF): Likewise.
18014         (SET_RESTORE_ROUNDL): Likewise.
18015         (SET_RESTORE_ROUND_NOEX): Likewise.
18016         (SET_RESTORE_ROUND_NOEXF): Likewise.
18017         (SET_RESTORE_ROUND_NOEXL): Likewise.
18018         (SET_RESTORE_ROUND_53BIT): Likewise.
18019         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18020         (libc_feresetround_noexf_ctx): Likewise.
18021         (libc_feresetround_noexl_ctx): Likewise.
18022         (libc_feholdsetround_53bit_ctx): Likewise.
18023         (libc_feresetround_53bit_ctx): Likewise.
18024         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18025         (libc_feholdexcept_setround_sse_ctx): New function.
18026         (libc_fesetenv_sse_ctx): Likewise.
18027         (libc_feupdateenv_sse_ctx): Likewise.
18028         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18029         (libc_feholdexcept_setround_387_ctx): Likewise.
18030         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18031         (libc_feholdsetround_387_prec_ctx): Likewise.
18032         (libc_feholdsetround_387_ctx): Likewise.
18033         (libc_feholdsetround_387_53bit_ctx): Likewise.
18034         (libc_feholdsetround_sse_ctx): Likewise.
18035         (libc_feresetround_sse_ctx): Likewise.
18036         (libc_feresetround_387_ctx): Likewise.
18037         (libc_feupdateenv_387_ctx): Likewise.
18038         (libc_feholdexcept_setroundf_ctx): Define macro.
18039         (libc_fesetenvf_ctx): Likewise.
18040         (libc_feupdateenvf_ctx): Likewise.
18041         (libc_feholdsetroundf_ctx): Likewise.
18042         (libc_feresetroundf_ctx): Likewise.
18043         (libc_feholdexcept_setround_ctx): Likewise.
18044         (libc_fesetenv_ctx): Likewise.
18045         (libc_feupdateenv_ctx): Likewise.
18046         (libc_feholdsetround_ctx): Likewise.
18047         (libc_feresetround_ctx): Likewise.
18048         (libc_feholdexcept_setroundl_ctx): Likewise.
18049         (libc_feupdateenvl_ctx): Likewise.
18050         (libc_feholdsetroundl_ctx): Likewise.
18051         (libc_feresetroundl_ctx): Likewise.
18052         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18053         (libc_feresetround_53bit_ctx): Likewise.
18054
18055 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18056
18057         * locale/iso-639.def: Convert to UTF-8.
18058
18059 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
18060
18061         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18062         (EXCEPTION_TESTS_double): Likewise.
18063         (EXCEPTION_TESTS_long_double): Likewise.
18064         (EXCEPTION_TESTS): Likewise.
18065         * math/libm-test.inc (test_exceptions): Only test exceptions if
18066         EXCEPTION_TESTS (FLOAT).
18067
18068 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18069
18070         * benchtests/Makefile (string-bench): Add strcpy_chk and
18071         stpcpy_chk.
18072         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18073         * benchtests/bench-stpcpy_chk.c: New file.
18074         * benchtests/bench-strcpy_chk-ifunc.c: New file.
18075         * benchtests/bench-strcpy_chk.c: New file.
18076         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18077         code.
18078         (do_test): Likewise.
18079
18080 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18081
18082         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18083         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18084         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18085         with tabs where appropriate.
18086         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18087         dl-procinfo.h.
18088         [PPC_PLATFORM_PPC440]: Likewise.
18089         [PPC_PLATFORM_PPC464]: Likewise.
18090         [PPC_PLATFORM_PPC476]: Likewise.
18091         (_dl_string_platform): Add support for detecting ppc405, ppc440,
18092         ppc464, and ppc476 platform strings merging from ports/
18093         dl-procinfo.h.
18094
18095 2013-06-11  Andreas Schwab  <schwab@suse.de>
18096
18097         [BZ #14991]
18098         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18099         (from_ucs4_idx): Regenerate.
18100         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18101         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18102         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18103         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18104         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18105         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18106         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18107         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18108         from FROM_LOOP and TO_LOOP specific macros.
18109         (BODY): Handle combining characters.
18110         * iconvdata/BIG5HKSCS.irreversible: Update.
18111         * iconvdata/BIG5HKSCS.precomposed: New file.
18112         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18113         characters.
18114         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18115
18116 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18117
18118         * include/sys/time.h: Fix indentation and add copyright header.
18119
18120         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18121         (do_test): Likewise.
18122         * string/test-memchr.c (do_one_test): Likewise.
18123         (do_test): Likewise.
18124         * string/test-memcmp.c (do_one_test): Likewise.
18125         (do_test): Likewise.
18126         * string/test-memcpy.c (do_one_test): Likewise.
18127         (do_test): Likewise.
18128         * string/test-memmem.c (do_one_test): Likewise.
18129         (do_test): Likewise.
18130         (do_random_tests): Likewise.
18131         * string/test-memmove.c (do_one_test): Likewise.
18132         (do_test): Likewise.
18133         * string/test-memset.c (do_one_test): Likewise.
18134         (do_test): Likewise.
18135         * string/test-rawmemchr.c (do_one_test): Likewise.
18136         (do_test): Likewise.
18137         * string/test-strcasecmp.c (do_one_test): Likewise.
18138         (do_test): Likewise.
18139         * string/test-strcasestr.c (do_one_test): Likewise.
18140         (do_test): Likewise.
18141         * string/test-strcat.c (do_one_test): Likewise.
18142         (do_test): Likewise.
18143         * string/test-strchr.c (do_one_test): Likewise.
18144         (do_test): Likewise.
18145         * string/test-strcmp.c (do_one_test): Likewise.
18146         (do_test): Likewise.
18147         * string/test-strcpy.c (do_one_test): Likewise.
18148         (do_test): Likewise.
18149         * string/test-string.h: Likewise.
18150         (test_init): Likewise.
18151         * string/test-strlen.c (do_one_test): Likewise.
18152         (do_test): Likewise.
18153         * string/test-strncasecmp.c (do_one_test): Likewise.
18154         (do_test): Likewise.
18155         * string/test-strncat.c (do_one_test): Likewise.
18156         (do_test): Likewise.
18157         * string/test-strncmp.c (do_one_test): Likewise.
18158         (do_test_limit): Likewise.
18159         (do_test): Likewise.
18160         * string/test-strncpy.c (do_one_test): Likewise.
18161         (do_test): Likewise.
18162         * string/test-strnlen.c (do_one_test): Likewise.
18163         (do_test): Likewise.
18164         * string/test-strpbrk.c (do_one_test): Likewise.
18165         (do_test): Likewise.
18166         * string/test-strrchr.c (do_one_test): Likewise.
18167         (do_test): Likewise.
18168         * string/test-strspn.c (do_one_test): Likewise.
18169         (do_test): Likewise.
18170         * string/test-strstr.c (do_one_test): Likewise.
18171         (do_test): Likewise.
18172
18173         * benchtests/Makefile (string-bench): Add string benchmarks.
18174         * benchtests/bench-bcopy-ifunc.c: New file.
18175         * benchtests/bench-bcopy.c: New file.
18176         * benchtests/bench-bzero-ifunc.c: New file.
18177         * benchtests/bench-bzero.c: New file.
18178         * benchtests/bench-memccpy-ifunc.c: New file.
18179         * benchtests/bench-memccpy.c: New file.
18180         * benchtests/bench-memchr-ifunc.c: New file.
18181         * benchtests/bench-memchr.c: New file.
18182         * benchtests/bench-memcmp-ifunc.c: New file.
18183         * benchtests/bench-memcmp.c: New file.
18184         * benchtests/bench-memmem-ifunc.c: New file.
18185         * benchtests/bench-memmem.c: New file.
18186         * benchtests/bench-memmove-ifunc.c: New file.
18187         * benchtests/bench-memmove.c: New file.
18188         * benchtests/bench-mempcpy-ifunc.c: New file.
18189         * benchtests/bench-mempcpy.c: New file.
18190         * benchtests/bench-memset-ifunc.c: New file.
18191         * benchtests/bench-memset.c: New file.
18192         * benchtests/bench-rawmemchr-ifunc.c: New file.
18193         * benchtests/bench-rawmemchr.c: New file.
18194         * benchtests/bench-stpcpy-ifunc.c: New file.
18195         * benchtests/bench-stpcpy.c: New file.
18196         * benchtests/bench-stpncpy-ifunc.c: New file.
18197         * benchtests/bench-stpncpy.c: New file.
18198         * benchtests/bench-strcasecmp-ifunc.c: New file.
18199         * benchtests/bench-strcasecmp.c: New file.
18200         * benchtests/bench-strcasestr-ifunc.c: New file.
18201         * benchtests/bench-strcasestr.c: New file.
18202         * benchtests/bench-strcat-ifunc.c: New file.
18203         * benchtests/bench-strcat.c: New file.
18204         * benchtests/bench-strchr-ifunc.c: New file.
18205         * benchtests/bench-strchr.c: New file.
18206         * benchtests/bench-strchrnul-ifunc.c: New file.
18207         * benchtests/bench-strchrnul.c: New file.
18208         * benchtests/bench-strcmp-ifunc.c: New file.
18209         * benchtests/bench-strcmp.c: New file.
18210         * benchtests/bench-strcpy-ifunc.c: New file.
18211         * benchtests/bench-strcpy.c: New file.
18212         * benchtests/bench-strcspn-ifunc.c: New file.
18213         * benchtests/bench-strcspn.c: New file.
18214         * benchtests/bench-strlen-ifunc.c: New file.
18215         * benchtests/bench-strlen.c: New file.
18216         * benchtests/bench-strncasecmp-ifunc.c: New file.
18217         * benchtests/bench-strncasecmp.c: New file.
18218         * benchtests/bench-strncat-ifunc.c: New file.
18219         * benchtests/bench-strncat.c: New file.
18220         * benchtests/bench-strncmp-ifunc.c: New file.
18221         * benchtests/bench-strncmp.c: New file.
18222         * benchtests/bench-strncpy-ifunc.c: New file.
18223         * benchtests/bench-strncpy.c: New file.
18224         * benchtests/bench-strnlen-ifunc.c: New file.
18225         * benchtests/bench-strnlen.c: New file.
18226         * benchtests/bench-strpbrk-ifunc.c: New file.
18227         * benchtests/bench-strpbrk.c: New file.
18228         * benchtests/bench-strrchr-ifunc.c: New file.
18229         * benchtests/bench-strrchr.c: New file.
18230         * benchtests/bench-strspn-ifunc.c: New file.
18231         * benchtests/bench-strspn.c: New file.
18232         * benchtests/bench-strstr-ifunc.c: New file.
18233         * benchtests/bench-strstr.c: New file.
18234
18235         * benchtests/Makefile: Disable parallel execution of targets.
18236         (string-bench): Add memcpy.
18237         (benchset): New variable to store a list of benchmark sets.
18238         (bench-func): Renamed from bench.
18239         (bench-set): New target.
18240         (bench): Depend on bench-func and bench-set.
18241         * benchtests/README: Add section on benchmark sets.
18242         * benchtests/bench-memcpy-ifunc.c: New file.
18243         * benchtests/bench-memcpy.c: New file.
18244         * benchtests/bench-string.h: New file.
18245
18246 2013-06-11  Andreas Schwab  <schwab@suse.de>
18247
18248         [BZ #15577]
18249         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18250         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18251         values in the triple.
18252         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18253         terminator in the group key.
18254
18255 2013-06-11  Andreas Jaeger  <aj@suse.de>
18256
18257         * po/zh_TW.po: Update Chinese (traditional) translation from
18258         translation project.
18259
18260 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18261
18262         * include/time.h (__clock_gettime): Add libc_hidden_proto.
18263         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18264         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
18265         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18266         (clock_getcpuclockid): Likewise.
18267         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18268         Add weak_alias and libc_hidden_def.
18269         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18270         * rt/clock_gettime.c (clock_gettime): Rename to
18271         __clock_gettime.  Add weak_alias and libc_hidden_def.
18272         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18273         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18274         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
18275         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18276         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18277         Likewise.
18278         * rt/clock_settime.c (clock_settime): Rename to
18279         __clock_settime.  Add weak_alias and libc_hidden_def.
18280         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18281
18282 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
18283
18284         * mach/err_boot.sub: Remove trailing whitespace.
18285         * mach/err_ipc.sub: Likewise.
18286         * mach/err_mach.sub: Likewise.
18287
18288         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18289         (ROUNDING_TESTS_double): Likewise.
18290         (ROUNDING_TESTS_long_double): Likewise.
18291         (ROUNDING_TESTS): Likewise.
18292         * math/libm-test.inc: Include <math-tests.h>.
18293         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18294         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18295         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18296         (IF_ROUND_INIT_FE_UPWARD): Likewise.
18297
18298 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18299
18300         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18301         of assigning.
18302
18303 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
18304
18305         * sysdeps/gnu/errlist.awk: Do not generate space at end of
18306         otherwise empty TRANS lines.
18307         * sysdeps/gnu/errlist.c: Regenerated.
18308
18309         * catgets/gencat.c (error_print): Use (void) in function
18310         definition.
18311         * crypt/crypt_util.c (__init_des): Likewise.
18312         * crypt/speeds.c (Stop): Likewise.
18313         (main): Likewise.
18314         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18315         * inet/ruserpass.c (token): Likewise.
18316         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18317         * intl/localealias.c (extend_alias_table): Likewise.
18318         * intl/plural-exp.c (init_germanic_plural): Likewise.
18319         * libio/fcloseall.c (__fcloseall): Likewise.
18320         * libio/genops.c (_IO_flush_all): Likewise.
18321         (_IO_flush_all_linebuffered): Likewise.
18322         (_IO_cleanup): Likewise.
18323         (_IO_iter_begin): Likewise.
18324         (_IO_iter_end): Likewise.
18325         (_IO_list_lock): Likewise.
18326         (_IO_list_unlock): Likewise.
18327         (_IO_list_resetlock): Likewise.
18328         * libio/getchar.c (getchar): Likewise.
18329         * libio/getchar_u.c (getchar_unlocked): Likewise.
18330         * libio/getwchar.c (getwchar): Likewise.
18331         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18332         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18333         * login/getpt.c (__getpt): Likewise.
18334         * login/tst-utmp.c (main): Likewise.
18335         * malloc/hooks.c (__malloc_check_init): Likewise.
18336         * malloc/malloc.c (__malloc_stats): Likewise.
18337         * malloc/mtrace.c (tr_break): Likewise.
18338         (mtrace): Likewise.
18339         (muntrace): Likewise.
18340         * misc/fstab.c (endfsent): Likewise.
18341         * misc/getclktck.c (__getclktck): Likewise.
18342         * misc/getdtsz.c (__getdtablesize): Likewise.
18343         * misc/gethostid.c (gethostid): Likewise.
18344         * misc/getpagesize.c (__getpagesize): Likewise.
18345         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18346         (__get_nprocs): Likewise.
18347         (__get_phys_pages): Likewise.
18348         (__get_avphys_pages): Likewise.
18349         * misc/getttyent.c (getttyent): Likewise.
18350         (setttyent): Likewise.
18351         (endttyent): Likewise.
18352         * misc/getusershell.c (getusershell): Likewise.
18353         (endusershell): Likewise.
18354         (setusershell): Likewise.
18355         (initshells): Likewise.
18356         * misc/hsearch.c (__hdestroy): Likewise.
18357         * misc/sync.c (sync): Likewise.
18358         * misc/syslog.c (closelog_internal): Likewise.
18359         (closelog): Likewise.
18360         * misc/ttyslot.c (ttyslot): Likewise.
18361         * misc/vhangup.c (vhangup): Likewise.
18362         * posix/fork.c (__fork): Likewise.
18363         * posix/getegid.c (__getegid): Likewise.
18364         * posix/geteuid.c (__geteuid): Likewise.
18365         * posix/getgid.c (__getgid): Likewise.
18366         * posix/getpid.c (__getpid): Likewise.
18367         * posix/getppid.c (__getppid): Likewise.
18368         * posix/getuid.c (__getuid): Likewise.
18369         * posix/pause.c (pause): Likewise.
18370         * posix/setpgrp.c (setpgrp): Likewise.
18371         * posix/setsid.c (__setsid): Likewise.
18372         * posix/test-vfork.c (noop): Likewise.
18373         * resolv/gethnamaddr.c (_endhtent): Likewise.
18374         (_gethtent): Likewise.
18375         (ht_endhostent): Likewise.
18376         (gethostent): Likewise.
18377         (dns_service): Likewise.
18378         * stdlib/drand48.c (drand48): Likewise.
18379         * stdlib/lrand48.c (lrand48): Likewise.
18380         * stdlib/mrand48.c (mrand48): Likewise.
18381         * stdlib/rand.c (rand): Likewise.
18382         * stdlib/random.c (__random): Likewise.
18383         * stdlib/setenv.c (clearenv): Likewise.
18384         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18385         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18386         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18387         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18388         (__get_nprocs): Likewise.
18389         (__get_phys_pages): Likewise.
18390         (__get_avphys_pages): Likewise.
18391         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18392         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18393         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18394         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18395         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18396         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18397         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18398         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18399         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18400         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18401         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18402         * sysdeps/mach/hurd/sync.c (sync): Likewise.
18403         * sysdeps/posix/clock.c (clock): Likewise.
18404         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18405         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18406         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18407         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18408         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18409         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18410         (__get_nprocs_conf): Likewise.
18411         (__get_phys_pages): Likewise.
18412         (__get_avphys_pages): Likewise.
18413         * time/clock.c (clock): Likewise.
18414         * time/tzset.c (__tzname_max): Likewise.
18415
18416 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
18417
18418         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18419         (__bswap_32): Do not use "register".
18420         * crypt/crypt.c (_ufc_doit_r): Likewise.
18421         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18422         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18423         * gmon/gmon.c (__monstartup): Likewise.
18424         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18425         * hurd/hurdmalloc.c (more_memory): Likewise.
18426         (malloc): Likewise.
18427         (free): Likewise.
18428         (realloc): Likewise.
18429         (malloc_fork_prepare): Likewise.
18430         (malloc_fork_parent): Likewise.
18431         (malloc_fork_child): Likewise.
18432         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18433         (_svcauth_des): Likewise.
18434         * inet/inet_lnaof.c (inet_lnaof): Likewise.
18435         * inet/inet_net.c (inet_network): Likewise.
18436         * inet/inet_netof.c (inet_netof): Likewise.
18437         * inet/rcmd.c (__validuser2_sa): Likewise.
18438         * io/fts.c (fts_open): Likewise.
18439         (fts_load): Likewise.
18440         (fts_close): Likewise.
18441         (fts_read): Likewise.
18442         (fts_children): Likewise.
18443         (fts_build): Likewise.
18444         (fts_stat): Likewise.
18445         (fts_sort): Likewise.
18446         (fts_alloc): Likewise.
18447         (fts_lfree): Likewise.
18448         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18449         (_IO_file_xsgetn): Likewise.
18450         (_IO_file_xsgetn_mmap): Likewise.
18451         * libio/iofopncook.c (_IO_cookie_read): Likewise.
18452         (_IO_cookie_write): Likewise.
18453         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18454         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18455         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18456         * malloc/obstack.c (_obstack_begin): Likewise.
18457         (_obstack_begin_1): Likewise.
18458         (_obstack_newchunk): Likewise.
18459         (_obstack_allocated_p): Likewise.
18460         (obstack_free): Likewise.
18461         (_obstack_memory_used): Likewise.
18462         * misc/getttyent.c (getttynam): Likewise.
18463         (getttyent): Likewise.
18464         (skip): Likewise.
18465         (value): Likewise.
18466         * misc/getusershell.c (initshells): Likewise.
18467         * misc/syslog.c (__vsyslog_chk): Likewise.
18468         * misc/ttyslot.c (ttyslot): Likewise.
18469         * nis/nis_hash.c (__nis_hash): Likewise.
18470         * posix/fnmatch_loop.c (FCT): Likewise.
18471         * posix/getconf.c (print_all): Likewise.
18472         (main): Likewise.
18473         * posix/getopt.c (exchange): Likewise.
18474         * posix/glob.c (globfree): Likewise.
18475         (prefix_array): Likewise.
18476         (__glob_pattern_type): Likewise.
18477         * resolv/arpa/nameser.h (NS_GET16): Likewise.
18478         (NS_GET32): Likewise.
18479         (NS_PUT16): Likewise.
18480         (NS_PUT32): Likewise.
18481         * resolv/gethnamaddr.c (getanswer): Likewise.
18482         (gethostbyname2): Likewise.
18483         (gethostbyaddr): Likewise.
18484         (_gethtent): Likewise.
18485         (_gethtbyname2): Likewise.
18486         (_gethtbyaddr): Likewise.
18487         * resolv/ns_print.c (dst_s_get_int16): Likewise.
18488         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18489         * resolv/res_init.c (__res_vinit): Likewise.
18490         (net_mask): Likewise.
18491         * resolv/res_mkquery.c (outchar): Likewise.
18492         (PRINT): Likewise.
18493         * stdio-common/printf_fp.c (outchar): Likewise.
18494         (PRINT): Likewise.
18495         * stdio-common/printf_fphex.c (outchar): Likewise.
18496         (PRINT): Likewise.
18497         * stdio-common/printf_size.c (outchar): Likewise.
18498         (PRINT): Likewise.
18499         * stdio-common/test_rdwr.c (main): Likewise.
18500         * stdio-common/tfformat.c (matches): Likewise.
18501         * stdio-common/vfprintf.c (outchar): Likewise.
18502         (printf_unknown): Likewise.
18503         (buffered_vfprintf): Likewise.
18504         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18505         * stdio-common/xbug.c (AppendToBuffer): Likewise.
18506         (ReadFile): Likewise.
18507         * stdlib/qsort.c (SWAP): Likewise.
18508         (_quicksort): Likewise.
18509         * stdlib/setenv.c (__add_to_environ): Likewise.
18510         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18511         * stdlib/strtol_l.c (__strtol_l): Likewise.
18512         * stdlib/tst-strtod.c (main): Likewise.
18513         * stdlib/tst-strtol.c (main): Likewise.
18514         * stdlib/tst-strtoll.c (main): Likewise.
18515         * string/bits/string2.h (__strcmp_cc): Likewise.
18516         (__strcmp_cg): Likewise.
18517         (__strcspn_c1): Likewise.
18518         (__strcspn_c2): Likewise.
18519         (__strcspn_c3): Likewise.
18520         (__strspn_c1): Likewise.
18521         (__strspn_c2): Likewise.
18522         (__strspn_c3): Likewise.
18523         (__strsep_1c): Likewise.
18524         (__strsep_2c): Likewise.
18525         (__strsep_3c): Likewise.
18526         * string/memccpy.c (__memccpy): Likewise.
18527         * string/stpcpy.c (__stpcpy): Likewise.
18528         * string/strcmp.c (strcmp): Likewise.
18529         * string/strrchr.c (strrchr): Likewise.
18530         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18531         Likewise.
18532         * sysdeps/mach/hurd/getcwd.c
18533         (_hurd_canonicalize_directory_name_internal): Likewise.
18534         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18535         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18536         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18537         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18538         Likewise, in both definitions.
18539         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18540         definitions.
18541         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18542         64] (__bswap_64): Likewise.
18543         * time/test_time.c (main): Likewise.
18544         * time/tzfile.c (__tzfile_read): Likewise.
18545         (__tzfile_compute): Likewise.
18546         * time/tzset.c (__tzset_parse_tz): Likewise.
18547         (tzset_internal): Likewise.
18548         (compute_change): Likewise.
18549         * wcsmbs/wcscat.c (__wcscat): Likewise.
18550         * wcsmbs/wcschr.c (wcschr): Likewise.
18551         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18552         * wcsmbs/wcscspn.c (wcscspn): Likewise.
18553         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18554         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18555         * wcsmbs/wcsspn.c (wcsspn): Likewise.
18556         * wcsmbs/wcsstr.c (wcsstr): Likewise.
18557         * wcsmbs/wmemchr.c (wmemchr): Likewise.
18558         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18559         * wcsmbs/wmemset.c (wmemset): Likewise.
18560
18561 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
18562
18563         * scripts/config.guess: Update to version 2013-05-16.
18564         * scripts/config.sub: Update to version 2013-04-24.
18565         * scripts/install-sh: Update to version 2011-11-20.07.
18566         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18567         * scripts/move-if-change: Update to version 2012-01-06 07:23.
18568
18569 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
18570
18571         * debug/fgetws_u_chk.c: Fix leading whitespaces.
18572         * elf/sln.c: Likewise.
18573         * hurd/hurd/ioctl.h: Likewise.
18574         * hurd/hurdmalloc.c: Likewise.
18575         * hurd/xattr.c: Likewise.
18576         * include/shlib-compat.h: Likewise.
18577         * inet/ruserpass.c: Likewise.
18578         * libio/iofgets_u.c: Likewise.
18579         * libio/iofgetws_u.c: Likewise.
18580         * locale/programs/ld-identification.c: Likewise.
18581         * locale/programs/ld-time.c: Likewise.
18582         * mach/msg-destroy.c: Likewise.
18583         * nss/nss_files/files-netgrp.c: Likewise.
18584         * resolv/res_data.c: Likewise.
18585         * soft-fp/op-1.h: Likewise.
18586         * soft-fp/op-2.h: Likewise.
18587         * soft-fp/op-4.h: Likewise.
18588         * soft-fp/op-common.h: Likewise.
18589         * stdio-common/printf_fphex.c: Likewise.
18590         * stdlib/strtod_l.c: Likewise.
18591         * sunrpc/rpc/clnt.h: Likewise.
18592         * sysdeps/generic/framestate.c: Likewise.
18593         * sysdeps/i386/bsd-_setjmp.S: Likewise.
18594         * sysdeps/i386/bsd-setjmp.S: Likewise.
18595         * sysdeps/i386/__longjmp.S: Likewise.
18596         * sysdeps/i386/setjmp.S: Likewise.
18597         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18598         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18599         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18600         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18601         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18602         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18603         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18604         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18605         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18606         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18607         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18608         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18609         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18610         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18611         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18612         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18613         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18614         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18615         * sysdeps/ieee754/support.c: Likewise.
18616         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18617         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18618         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18619         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18620         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18621         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18622         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18623         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18624         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18625         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18626         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18627         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18628         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18629         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18630         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18631         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18632         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18634
18635 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
18636
18637         * posix/transbug.c: Remove executable mode.
18638
18639 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
18640
18641         * crypt/speeds.c: Remove trailing whitespace.
18642         * dlfcn/default.c: Likewise.
18643         * elf/ifuncdep2.c: Likewise.
18644         * elf/ifuncmain1.c: Likewise.
18645         * elf/ifuncmain1vis.c: Likewise.
18646         * elf/testobj.h: Likewise.
18647         * elf/tst-stackguard1.c: Likewise.
18648         * gmon/sys/gmon.h: Likewise.
18649         * hurd/hurdmsg.c: Likewise.
18650         * hurd/new-fd.c: Likewise.
18651         * hurd/ports-get.c: Likewise.
18652         * iconvdata/ibm1008_420.c: Likewise.
18653         * inet/tst-getni1.c: Likewise.
18654         * inet/tst-getni2.c: Likewise.
18655         * libio/ioungetc.c: Likewise.
18656         * libio/wfiledoalloc.c: Likewise.
18657         * manual/libm-err-tab.pl: Likewise.
18658         * math/w_dremf.c: Likewise.
18659         * misc/ftruncate.c: Likewise.
18660         * posix/bug-glob2.c: Likewise.
18661         * posix/tst-pcre.c: Likewise.
18662         * posix/wait4.c: Likewise.
18663         * resolv/README: Likewise.
18664         * resolv/res_debug.h: Likewise.
18665         * resolv/tst-inet_ntop.c: Likewise.
18666         * setjmp/bug269-setjmp.c: Likewise.
18667         * soft-fp/extended.h: Likewise.
18668         * soft-fp/op-1.h: Likewise.
18669         * soft-fp/op-2.h: Likewise.
18670         * soft-fp/op-4.h: Likewise.
18671         * soft-fp/op-8.h: Likewise.
18672         * soft-fp/testit.c: Likewise.
18673         * stdio-common/bug16.c: Likewise.
18674         * stdlib/random.c: Likewise.
18675         * sunrpc/rpcsvc/rquota.x: Likewise.
18676         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18677         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18678         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18679         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18680         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18681         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18682         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18683         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18684         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18685         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18686         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18687         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18688         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18689         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18690         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18691         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18692         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18693         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18694         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18695         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18696         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18697         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18698         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18699         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18700         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18701         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18702         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18703         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18704         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18705         * sysdeps/ieee754/s_lib_version.c: Likewise.
18706         * sysdeps/mach/hurd/check_fds.c: Likewise.
18707         * sysdeps/mach/hurd/getsockname.c: Likewise.
18708         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18709         * sysdeps/mach/hurd/recvfrom.c: Likewise.
18710         * sysdeps/powerpc/bits/link.h: Likewise.
18711         * sysdeps/powerpc/dl-procinfo.c: Likewise.
18712         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18713         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18714         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18715         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18716         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18717         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18718         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18719         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18720         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18721         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18722         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18723         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18724         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18725         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18726         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18727         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18728         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18729         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18730         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18731         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18732         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18733         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18734         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18735         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18736         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18737         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18738         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18739         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18740         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18741         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18742         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18743         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18744         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18745         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18746         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18747         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18748         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18749         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18750         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18751         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18752         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18753         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18754         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18755         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18756         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18757         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18758         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18759         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18760         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18761         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18762         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18763         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18764         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18765         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18766         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18767         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18768         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18769         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18770         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18771         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18772         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18773         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18774         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18775         * sysdeps/powerpc/sysdep.h: Likewise.
18776         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18777         * sysdeps/s390/s390-64/sub_n.S: Likewise.
18778         * sysdeps/sh/dl-trampoline.S: Likewise.
18779         * sysdeps/sh/memset.S: Likewise.
18780         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18781         * sysdeps/sh/strlen.S: Likewise.
18782         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18783         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18784         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18785         * sysdeps/sparc/sparc32/rem.S: Likewise.
18786         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18787         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18788         * sysdeps/sparc/sparc32/strchr.S: Likewise.
18789         * sysdeps/sparc/sparc32/udiv.S: Likewise.
18790         * sysdeps/sparc/sparc32/urem.S: Likewise.
18791         * sysdeps/sparc/sparc64/add_n.S: Likewise.
18792         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18793         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18794         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18795         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18796         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18797         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18798         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18799         * sysdeps/unix/bsd/times.c: Likewise.
18800         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18801         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18805         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18806         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18807         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18808         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18809         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18810         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18811         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18812         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18813         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18814         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18815         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18816         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18817         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18818         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18819         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18820         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18821         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18822         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18823         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18824         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18825         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18826         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18827         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18828         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18829         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18830         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18831         * sysdeps/x86_64/strcspn.S: Likewise.
18832
18833 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18834
18835         * locale/C-translit.h: Revert #include <stdint.h> because this is a
18836         generated file.  Regenerate properly from gen-translit.pl.
18837         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
18838         locale/C-translit.h.
18839
18840 2013-06-05  Andreas Schwab  <schwab@suse.de>
18841
18842         [BZ #15100]
18843         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18844         week as 6 instead of -1.
18845         * time/tst-strptime.c (day_tests): Add test case.
18846
18847 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18848
18849         * sysdeps/generic/math_private.h
18850         (libc_feholdexcept_setround_53bit): Replace with
18851         libc_feholdsetround_53bit.
18852         (libc_feupdateenv_53bit): Replace with
18853         libc_feresetround_53bit.
18854         (SET_RESTORE_ROUND_53BIT): Adjust.
18855
18856 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18857
18858         * string/test-strchrnul.c: Add copyright header.
18859
18860         * posix/tst-getaddrinfo4.c: Increase test timeout.
18861
18862 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
18863
18864         [BZ #15536]
18865         * math/libm-test.inc (MAX_EXP): Remove
18866         (MIN_EXP): Define.
18867         (ulp): Use MIN_EXP - MANT_DIG.
18868         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18869
18870 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
18871
18872         * po/be.po: Revert last change.
18873         * po/zh_CN.po: Likewise.
18874         * po/header.pot: Likewise.
18875
18876 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
18877
18878         * Makefile ($(common-objpfx)linkobj/libc.so): Define
18879         link-libc-deps to empty as target-specific variable.
18880         * Makerules (link-libc-args): New variable.
18881         (libc-for-link): Likewise.
18882         (link-libc-deps): Likewise.
18883         (lib%.so): Depend on $(link-libc-deps).  Link with
18884         $(link-libc-args).
18885         (build-module): Link with $(link-libc-args).
18886         (build-module-asneeded): Likewise.
18887         (build-module-helper-objlist): Filter out $(link-libc-deps) from
18888         list of objects.
18889         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18890         target-specific variable.
18891         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18892         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18893         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18894         libc.
18895         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18896         libc and ld.so.
18897         ($(objpfx)libpcprofile.so): Likewise.
18898         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18899         libc_nonshared.a.
18900         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18901         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18902         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18903         $(link-libc-deps).
18904         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18905         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18906         * login/Makefile ($(objpfx)libutil.so): Likewise.
18907         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18908         * math/Makefile ($(objpfx)libm.so): Likewise.
18909         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18910         $(objpfx)libnsl.so): Define libc-for-link as target-specific
18911         variable instead of depending directly on libc.
18912         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18913         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18914         $(link-libc-deps).
18915         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18916         libc.
18917         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18918         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18919         ($(objpfx)libanl.so): Likewise.
18920         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18921         ld.so.
18922         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18923         $(link-libc-deps).
18924         * sysdeps/i386/fpu/Makefile: Remove file.
18925         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18926         ($(objpfx)libm.so): Remove dependency on ld.so.
18927
18928 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
18929
18930         [BZ # 15553]
18931         * nis/yp_xdr.c (XDRMAXNAME): Define.
18932         (XDRMAXRECORD): Define.
18933         (xdr_domainname): Use XDRMAXNAME.
18934         (xdr_mapname): Likewise.
18935         (xdr_peername): Likewise.
18936         (xdr_keydat): Use XDRMAXRECORD.
18937         (xdr_valdat): Likewise.
18938
18939 2013-05-30  Jeff Law  <law@redhat.com>
18940
18941         [BZ #14256]
18942         * manual/errno.texi (ESTALE): Update to account for more than
18943         just NFS file systems.
18944         * sysdeps/gnu/errlist.c: Regenerated.
18945
18946 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18947
18948         [BZ #15465]
18949         * elf/Makefile (tests): Add tst-null-argv.
18950         (modules-names):  Add tst-null-argv-lib.
18951         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18952         (tst-null-argv-ENV): Set environment for tst-null-argv.
18953         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18954         (RTLD_PROGNAME): New macro.
18955         * elf/tst-null-argv.c: New test case.
18956         * elf/tst-null-argv-lib.c: Library for test case.
18957         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18958         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18959         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18960         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18961         * elf/dl-init.c (call_init): Likewise.
18962         (_dl_init): Likewise.
18963         * elf/dl-load.c (print_search_path): Likewise.
18964         (_dl_map_object): Likewise.
18965         * elf/dl-lookup.c (do_lookup_x): Likewise.
18966         (add_dependency): Likewise.
18967         (_dl_lookup_symbol_x): Likewise.
18968         (_dl_debug_bindings): Likewise.
18969         * elf/dl-open.c (_dl_show_scope): Likewise.
18970         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18971         * elf/dl-version.c (match_symbol): Likewise.
18972         (_dl_check_map_versions): Likewise.
18973         * elf/rtld.c (dl_main): Likewise.
18974         (print_unresolved): Use RTLD_PROGNAME.
18975         (print_missing_version): Likewise.
18976         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18977         (elf_machine_rela): Likewise.
18978         * sysdeps/powerpc/powerpc32/dl-machine.c
18979         (__process_machine_rela): Likewise.
18980         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18981         Likewise.
18982         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18983         Likewise.
18984         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18985         Likewise.
18986         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18987         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18988         Likewise.
18989         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18990         Likewise.
18991         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18992
18993 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
18994
18995         * po/be.po: Add descriptive title.
18996         * po/zh_CN.po: Likewise.
18997         * po/header.pot: Likewise.
18998
18999 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
19000
19001         * locale/programs/locarchive.c (create_archive): Inlucde fname in
19002         error message.
19003         (enlarge_archive): Likewise.
19004
19005 2013-05-28  Ben North  <ben@redfrontdoor.org>
19006
19007         * manual/arith.texi (frexp): It is the magnitude of the return
19008         value which lies in [0.5, 1), not the return value itself.
19009
19010 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19011
19012         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19013
19014 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
19015
19016         * stdio-common/bug26.c (main): Correct fscanf template.
19017
19018         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19019         declare _dl_skip_args.
19020
19021         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19022         Don't declare.
19023
19024         * manual/platform.texi: Add missing @end deftypefun.
19025
19026 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19027
19028         [BZ #15529]
19029         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19030         bit of mantissa of 2^16382.
19031         * math/libm-test.inc (hypot_test_data): Add more tests.
19032
19033         * math/libm-test.inc: Add drem and pow10 to list of tested
19034         functions.
19035         (pow10_test): New function.
19036         (drem_test): Likewise.
19037         (drem_test_tonearest): Likewise.
19038         (drem_test_towardzero): Likewise.
19039         (drem_test_downward): Likewise.
19040         (drem_test_upward): Likewise.
19041         (main): Call the new functions.
19042
19043         * math/libm-test.inc (finite_test_data): Remove.
19044         (finite_test): Run tests from isfinite_test_data.
19045         (gamma_test_data): Remove.
19046         (gamma_test): Run tests from lgamma_test_data.
19047         * sysdeps/i386/fpu/libm-test-ulps: Update.
19048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19049
19050 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19051
19052         * manual/platform.texi: Add PowerPC PPR function set documentation.
19053         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19054         implementation.
19055
19056 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
19057
19058         * math/libm-test.inc (MAX_EXP): Define.
19059         (ULPDIFF): Define.
19060         (ulp): New function.
19061         (check_float_internal): Use ULPDIFF.
19062         (cpow_test): Disable failing test.
19063         (check_ulp): Test ulp() implemetnation.
19064         (main): Call check_ulp before starting tests.
19065
19066 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19067
19068         * math/gen-libm-test.pl (generate_testfile): Do not handle
19069         START_DATA and END_DATA.
19070         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19071         END_DATA.
19072         (acos_tonearest_test_data): Likewise.
19073         (acos_towardzero_test_data): Likewise.
19074         (acos_downward_test_data): Likewise.
19075         (acos_upward_test_data): Likewise.
19076         (acosh_test_data): Likewise.
19077         (asin_test_data): Likewise.
19078         (asin_tonearest_test_data): Likewise.
19079         (asin_towardzero_test_data): Likewise.
19080         (asin_downward_test_data): Likewise.
19081         (asin_upward_test_data): Likewise.
19082         (asinh_test_data): Likewise.
19083         (atan_test_data): Likewise.
19084         (atanh_test_data): Likewise.
19085         (atan2_test_data): Likewise.
19086         (cabs_test_data): Likewise.
19087         (cacos_test_data): Likewise.
19088         (cacosh_test_data): Likewise.
19089         (carg_test_data): Likewise.
19090         (casin_test_data): Likewise.
19091         (casinh_test_data): Likewise.
19092         (catan_test_data): Likewise.
19093         (catanh_test_data): Likewise.
19094         (cbrt_test_data): Likewise.
19095         (ccos_test_data): Likewise.
19096         (ccosh_test_data): Likewise.
19097         (ceil_test_data): Likewise.
19098         (cexp_test_data): Likewise.
19099         (cimag_test_data): Likewise.
19100         (clog_test_data): Likewise.
19101         (clog10_test_data): Likewise.
19102         (conj_test_data): Likewise.
19103         (copysign_test_data): Likewise.
19104         (cos_test_data): Likewise.
19105         (cos_tonearest_test_data): Likewise.
19106         (cos_towardzero_test_data): Likewise.
19107         (cos_downward_test_data): Likewise.
19108         (cos_upward_test_data): Likewise.
19109         (cosh_test_data): Likewise.
19110         (cosh_tonearest_test_data): Likewise.
19111         (cosh_towardzero_test_data): Likewise.
19112         (cosh_downward_test_data): Likewise.
19113         (cosh_upward_test_data): Likewise.
19114         (cpow_test_data): Likewise.
19115         (cproj_test_data): Likewise.
19116         (creal_test_data): Likewise.
19117         (csin_test_data): Likewise.
19118         (csinh_test_data): Likewise.
19119         (csqrt_test_data): Likewise.
19120         (ctan_test_data): Likewise.
19121         (ctan_tonearest_test_data): Likewise.
19122         (ctan_towardzero_test_data): Likewise.
19123         (ctan_downward_test_data): Likewise.
19124         (ctan_upward_test_data): Likewise.
19125         (ctanh_test_data): Likewise.
19126         (ctanh_tonearest_test_data): Likewise.
19127         (ctanh_towardzero_test_data): Likewise.
19128         (ctanh_downward_test_data): Likewise.
19129         (ctanh_upward_test_data): Likewise.
19130         (erf_test_data): Likewise.
19131         (erfc_test_data): Likewise.
19132         (exp_test_data): Likewise.
19133         (exp_tonearest_test_data): Likewise.
19134         (exp_towardzero_test_data): Likewise.
19135         (exp_downward_test_data): Likewise.
19136         (exp_upward_test_data): Likewise.
19137         (exp10_test_data): Likewise.
19138         (exp2_test_data): Likewise.
19139         (expm1_test_data): Likewise.
19140         (fabs_test_data): Likewise.
19141         (fdim_test_data): Likewise.
19142         (finite_test_data): Likewise.
19143         (floor_test_data): Likewise.
19144         (fma_test_data): Likewise.
19145         (fma_towardzero_test_data): Likewise.
19146         (fma_downward_test_data): Likewise.
19147         (fma_upward_test_data): Likewise.
19148         (fmax_test_data): Likewise.
19149         (fmin_test_data): Likewise.
19150         (fmod_test_data): Likewise.
19151         (fpclassify_test_data): Likewise.
19152         (frexp_test_data): Likewise.
19153         (gamma_test_data): Likewise.
19154         (hypot_test_data): Likewise.
19155         (ilogb_test_data): Likewise.
19156         (isfinite_test_data): Likewise.
19157         (isgreater_test_data): Likewise.
19158         (isgreaterequal_test_data): Likewise.
19159         (isinf_test_data): Likewise.
19160         (isless_test_data): Likewise.
19161         (islessequal_test_data): Likewise.
19162         (islessgreater_test_data): Likewise.
19163         (isnan_test_data): Likewise.
19164         (isnormal_test_data): Likewise.
19165         (issignaling_test_data): Likewise.
19166         (isunordered_test_data): Likewise.
19167         (j0_test_data): Likewise.
19168         (j1_test_data): Likewise.
19169         (jn_test_data): Likewise.
19170         (ldexp_test_data): Likewise.
19171         (lgamma_test_data): Likewise.
19172         (lrint_test_data): Likewise.
19173         (lrint_tonearest_test_data): Likewise.
19174         (lrint_towardzero_test_data): Likewise.
19175         (lrint_downward_test_data): Likewise.
19176         (lrint_upward_test_data): Likewise.
19177         (llrint_test_data): Likewise.
19178         (llrint_tonearest_test_data): Likewise.
19179         (llrint_towardzero_test_data): Likewise.
19180         (llrint_downward_test_data): Likewise.
19181         (llrint_upward_test_data): Likewise.
19182         (log_test_data): Likewise.
19183         (log10_test_data): Likewise.
19184         (log1p_test_data): Likewise.
19185         (log2_test_data): Likewise.
19186         (logb_test_data): Likewise.
19187         (logb_downward_test_data): Likewise.
19188         (lround_test_data): Likewise.
19189         (llround_test_data): Likewise.
19190         (modf_test_data): Likewise.
19191         (nearbyint_test_data): Likewise.
19192         (nextafter_test_data): Likewise.
19193         (nexttoward_test_data): Likewise.
19194         (pow_test_data): Likewise.
19195         (pow_tonearest_test_data): Likewise.
19196         (pow_towardzero_test_data): Likewise.
19197         (pow_downward_test_data): Likewise.
19198         (pow_upward_test_data): Likewise.
19199         (remainder_test_data): Likewise.
19200         (remainder_tonearest_test_data): Likewise.
19201         (remainder_towardzero_test_data): Likewise.
19202         (remainder_downward_test_data): Likewise.
19203         (remainder_upward_test_data): Likewise.
19204         (remquo_test_data): Likewise.
19205         (rint_test_data): Likewise.
19206         (rint_tonearest_test_data): Likewise.
19207         (rint_towardzero_test_data): Likewise.
19208         (rint_downward_test_data): Likewise.
19209         (rint_upward_test_data): Likewise.
19210         (round_test_data): Likewise.
19211         (scalb_test_data): Likewise.
19212         (scalbn_test_data): Likewise.
19213         (scalbln_test_data): Likewise.
19214         (signbit_test_data): Likewise.
19215         (sin_test_data): Likewise.
19216         (sin_tonearest_test_data): Likewise.
19217         (sin_towardzero_test_data): Likewise.
19218         (sin_downward_test_data): Likewise.
19219         (sin_upward_test_data): Likewise.
19220         (sincos_test_data): Likewise.
19221         (sinh_test_data): Likewise.
19222         (sinh_tonearest_test_data): Likewise.
19223         (sinh_towardzero_test_data): Likewise.
19224         (sinh_downward_test_data): Likewise.
19225         (sinh_upward_test_data): Likewise.
19226         (sqrt_test_data): Likewise.
19227         (tan_test_data): Likewise.
19228         (tan_tonearest_test_data): Likewise.
19229         (tan_towardzero_test_data): Likewise.
19230         (tan_downward_test_data): Likewise.
19231         (tan_upward_test_data): Likewise.
19232         (tanh_test_data): Likewise.
19233         (tgamma_test_data): Likewise.
19234         (trunc_test_data): Likewise.
19235         (y0_test_data): Likewise.
19236         (y1_test_data): Likewise.
19237         (yn_test_data): Likewise.
19238         (significand_test_data): Likewise.
19239
19240         * math/gen-libm-test.pl (@functions): Remove variable.
19241         (generate_testfile): Don't handle START and END lines.
19242         * math/libm-test.inc (START): New macro.
19243         (END): Likewise.
19244         (END_COMPLEX): Likewise.
19245         (acos_test): Use END macro without arguments.
19246         (acos_test_tonearest): Likewise.
19247         (acos_test_towardzero): Likewise.
19248         (acos_test_downward): Likewise.
19249         (acos_test_upward): Likewise.
19250         (acosh_test): Likewise.
19251         (asin_test): Likewise.
19252         (asin_test_tonearest): Likewise.
19253         (asin_test_towardzero): Likewise.
19254         (asin_test_downward): Likewise.
19255         (asin_test_upward): Likewise.
19256         (asinh_test): Likewise.
19257         (atan_test): Likewise.
19258         (atanh_test): Likewise.
19259         (atan2_test): Likewise.
19260         (cabs_test): Likewise.
19261         (cacos_test): Use END_COMPLEX macro without arguments.
19262         (cacosh_test): Likewise.
19263         (carg_test): Use END macro without arguments.
19264         (casin_test): Use END_COMPLEX macro without arguments.
19265         (casinh_test): Likewise.
19266         (catan_test): Likewise.
19267         (catanh_test): Likewise.
19268         (cbrt_test): Use END macro without arguments.
19269         (ccos_test): Use END_COMPLEX macro without arguments.
19270         (ccosh_test): Likewise.
19271         (ceil_test): Use END macro without arguments.
19272         (cexp_test): Use END_COMPLEX macro without arguments.
19273         (cimag_test): Use END macro without arguments.
19274         (clog_test): Use END_COMPLEX macro without arguments.
19275         (clog10_test): Likewise.
19276         (conj_test): Likewise.
19277         (copysign_test): Use END macro without arguments.
19278         (cos_test): Likewise.
19279         (cos_test_tonearest): Likewise.
19280         (cos_test_towardzero): Likewise.
19281         (cos_test_downward): Likewise.
19282         (cos_test_upward): Likewise.
19283         (cosh_test): Likewise.
19284         (cosh_test_tonearest): Likewise.
19285         (cosh_test_towardzero): Likewise.
19286         (cosh_test_downward): Likewise.
19287         (cosh_test_upward): Likewise.
19288         (cpow_test): Use END_COMPLEX macro without arguments.
19289         (cproj_test): Likewise.
19290         (creal_test): Use END macro without arguments.
19291         (csin_test): Use END_COMPLEX macro without arguments.
19292         (csinh_test): Likewise.
19293         (csqrt_test): Likewise.
19294         (ctan_test): Likewise.
19295         (ctan_test_tonearest): Likewise.
19296         (ctan_test_towardzero): Likewise.
19297         (ctan_test_downward): Likewise.
19298         (ctan_test_upward): Likewise.
19299         (ctanh_test): Likewise.
19300         (ctanh_test_tonearest): Likewise.
19301         (ctanh_test_towardzero): Likewise.
19302         (ctanh_test_downward): Likewise.
19303         (ctanh_test_upward): Likewise.
19304         (erf_test): Use END macro without arguments.
19305         (erfc_test): Likewise.
19306         (exp_test): Likewise.
19307         (exp_test_tonearest): Likewise.
19308         (exp_test_towardzero): Likewise.
19309         (exp_test_downward): Likewise.
19310         (exp_test_upward): Likewise.
19311         (exp10_test): Likewise.
19312         (exp2_test): Likewise.
19313         (expm1_test): Likewise.
19314         (fabs_test): Likewise.
19315         (fdim_test): Likewise.
19316         (finite_test): Likewise.
19317         (floor_test): Likewise.
19318         (fma_test): Likewise.
19319         (fma_test_towardzero): Likewise.
19320         (fma_test_downward): Likewise.
19321         (fma_test_upward): Likewise.
19322         (fmax_test): Likewise.
19323         (fmin_test): Likewise.
19324         (fmod_test): Likewise.
19325         (fpclassify_test): Likewise.
19326         (frexp_test): Likewise.
19327         (gamma_test): Likewise.
19328         (hypot_test): Likewise.
19329         (ilogb_test): Likewise.
19330         (isfinite_test): Likewise.
19331         (isgreater_test): Likewise.
19332         (isgreaterequal_test): Likewise.
19333         (isinf_test): Likewise.
19334         (isless_test): Likewise.
19335         (islessequal_test): Likewise.
19336         (islessgreater_test): Likewise.
19337         (isnan_test): Likewise.
19338         (isnormal_test): Likewise.
19339         (issignaling_test): Likewise.
19340         (isunordered_test): Likewise.
19341         (j0_test): Likewise.
19342         (j1_test): Likewise.
19343         (jn_test): Likewise.
19344         (ldexp_test): Likewise.
19345         (lgamma_test): Likewise.
19346         (lrint_test): Likewise.
19347         (lrint_test_tonearest): Likewise.
19348         (lrint_test_towardzero): Likewise.
19349         (lrint_test_downward): Likewise.
19350         (lrint_test_upward): Likewise.
19351         (llrint_test): Likewise.
19352         (llrint_test_tonearest): Likewise.
19353         (llrint_test_towardzero): Likewise.
19354         (llrint_test_downward): Likewise.
19355         (llrint_test_upward): Likewise.
19356         (log_test): Likewise.
19357         (log10_test): Likewise.
19358         (log1p_test): Likewise.
19359         (log2_test): Likewise.
19360         (logb_test): Likewise.
19361         (logb_test_downward): Likewise.
19362         (lround_test): Likewise.
19363         (llround_test): Likewise.
19364         (modf_test): Likewise.
19365         (nearbyint_test): Likewise.
19366         (nextafter_test): Likewise.
19367         (nexttoward_test): Likewise.
19368         (pow_test): Likewise.
19369         (pow_test_tonearest): Likewise.
19370         (pow_test_towardzero): Likewise.
19371         (pow_test_downward): Likewise.
19372         (pow_test_upward): Likewise.
19373         (remainder_test): Likewise.
19374         (remainder_test_tonearest): Likewise.
19375         (remainder_test_towardzero): Likewise.
19376         (remainder_test_downward): Likewise.
19377         (remainder_test_upward): Likewise.
19378         (remquo_test): Likewise.
19379         (rint_test): Likewise.
19380         (rint_test_tonearest): Likewise.
19381         (rint_test_towardzero): Likewise.
19382         (rint_test_downward): Likewise.
19383         (rint_test_upward): Likewise.
19384         (round_test): Likewise.
19385         (scalb_test): Likewise.
19386         (scalbn_test): Likewise.
19387         (scalbln_test): Likewise.
19388         (signbit_test): Likewise.
19389         (sin_test): Likewise.
19390         (sin_test_tonearest): Likewise.
19391         (sin_test_towardzero): Likewise.
19392         (sin_test_downward): Likewise.
19393         (sin_test_upward): Likewise.
19394         (sincos_test): Likewise.
19395         (sinh_test): Likewise.
19396         (sinh_test_tonearest): Likewise.
19397         (sinh_test_towardzero): Likewise.
19398         (sinh_test_downward): Likewise.
19399         (sinh_test_upward): Likewise.
19400         (sqrt_test): Likewise.
19401         (tan_test): Likewise.
19402         (tan_test_tonearest): Likewise.
19403         (tan_test_towardzero): Likewise.
19404         (tan_test_downward): Likewise.
19405         (tan_test_upward): Likewise.
19406         (tanh_test): Likewise.
19407         (tgamma_test): Likewise.
19408         (trunc_test): Likewise.
19409         (y0_test): Likewise.
19410         (y1_test): Likewise.
19411         (yn_test): Likewise.
19412         (significand_test): Likewise.
19413
19414 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
19415
19416         [BZ #15381]
19417         * libio/genops.c (_IO_no_init): Initialize wide struct info.
19418
19419 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
19420
19421         [BZ #14894]
19422         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19423         __ppc_mdoio and __ppc_mdoom.
19424         * manual/platform.texi: Document new functions __ppc_yield,
19425         __ppc_mdoio and __ppc_mdoom.
19426
19427 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
19428
19429         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19430         (main): Mention "tls" pseudo-hwcap is legacy.
19431         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19432
19433 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
19434
19435         * math/gen-libm-test.pl (parse_args): Output only string of
19436         arguments as text for test name, not full call or descriptions of
19437         tests for extra outputs.
19438         (generate_testfile): Do not pass function name to parse_args.
19439         Generate this_func variable from START.
19440         * math/libm-test.inc (struct test_f_f_data): Rename test_name
19441         field to arg_str.
19442         (struct test_ff_f_data): Likewise.
19443         (test_ff_f_data_nexttoward): Likewise.
19444         (struct test_fi_f_data): Likewise.
19445         (struct test_fl_f_data): Likewise.
19446         (struct test_if_f_data): Likewise.
19447         (struct test_fff_f_data): Likewise.
19448         (struct test_c_f_data): Likewise.
19449         (struct test_f_f1_data): Likewise.  Remove field extra_name.
19450         (struct test_fF_f1_data): Likewise.
19451         (struct test_ffI_f1_data): Likewise.
19452         (struct test_c_c_data): Rename test_name field to arg_str.
19453         (struct test_cc_c_data): Likewise.
19454         (struct test_f_i_data): Likewise.
19455         (struct test_ff_i_data): Likewise.
19456         (struct test_f_l_data): Likewise.
19457         (struct test_f_L_data): Likewise.
19458         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
19459         and extra2_name.
19460         (COMMON_TEST_SETUP): New macro.
19461         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19462         (COMMON_TEST_CLEANUP): Likewise.
19463         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19464         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
19465         macros.
19466         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19467         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
19468         macros.
19469         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19470         (RUN_TEST_fff_f): Take argument string.  Call new setup and
19471         cleanup macros.
19472         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19473         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
19474         macros.
19475         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19476         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
19477         macros.
19478         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19479         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
19480         cleanup macros.
19481         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19482         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
19483         cleanup macros.
19484         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19485         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
19486         cleanup macros.
19487         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19488         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
19489         macros.
19490         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19491         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
19492         macros.
19493         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19494         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
19495         macros.
19496         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19497         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
19498         cleanup macros.
19499         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19500         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
19501         cleanup macros.
19502         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19503         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
19504         macros.
19505         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19506         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
19507         cleanup macros.
19508         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19509         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
19510         macros.
19511         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19512         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
19513         macros.
19514         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19515         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
19516         cleanup macros.
19517         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19518
19519 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
19520
19521         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19522         to _sifields.sigfault.
19523         (si_addr_lsb): Define new macro.
19524         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19525         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19526         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19527
19528 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
19529
19530         [BZ #15441]
19531         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19532         returns -1.
19533         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19534         null return -1.
19535         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19536         loading the domain.
19537
19538 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
19539
19540         * math/gen-libm-test.pl (parse_args): Do not include expected
19541         result in test name.
19542         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19543         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19544         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19545         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19546         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19548
19549 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19550
19551         * benchtests/Makefile: Sort function entries.
19552
19553         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19554         tanh, asinh, acosh, atanh.
19555         * benchtests/acos-inputs: New file.
19556         * benchtests/acosh-inputs: New file.
19557         * benchtests/asin-inputs: New file.
19558         * benchtests/asinh-inputs: New file.
19559         * benchtests/atanh-inputs: New file.
19560         * benchtests/cosh-inputs: New file.
19561         * benchtests/log-inputs: New file.
19562         * benchtests/sinh-inputs: New file.
19563         * benchtests/tanh-inputs: New file.
19564
19565 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
19566
19567         [BZ #15339]
19568         * posix/tst-getaddrinfo4.c: New test.
19569         * posix/Makefile (tests): Add it.
19570
19571 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19572
19573         [BZ #15339]
19574         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19575         when no services were used.
19576         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19577         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19578
19579 2013-05-21  Andreas Schwab  <schwab@suse.de>
19580
19581         [BZ #15014]
19582         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19583         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19584         successful.
19585         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19586         redundant variable declarations and reallocation of buffer when
19587         parsing as IPv6 address.  Always set NSS status when called from
19588         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
19589         buffer too small.  Correct computation of needed size.
19590         * nss/Makefile (tests): Add test-digits-dots.
19591         * nss/test-digits-dots.c: New test.
19592
19593 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19594
19595         * benchtests/Makefile: Remove instructions for adding
19596         benchmark tests.
19597         * benchtests/README: New file to explain how to execute and
19598         enhance the benchmark tests.
19599
19600 2013-05-21  Andreas Schwab  <schwab@suse.de>
19601
19602         [BZ #15493]
19603         * setjmp/Makefile (tests): Add tst-sigsetjmp.
19604         * setjmp/tst-sigsetjmp.c: New test.
19605
19606 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
19607
19608         * sysdeps/x86_64/memset.S (memset): New implementation.
19609         (__bzero): Likewise.
19610         (__memset_tail): New function.
19611
19612 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
19613
19614         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19615         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19616         __memcpy_sse2_unaligned ifunc selection.
19617         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19618         Add memcpy-sse2-unaligned.S.
19619         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19620         Add: __memcpy_sse2_unaligned.
19621
19622 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
19623
19624         [BZ #15490]
19625         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19626         math_force_eval before restoring floating-point envrionment.
19627         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19628         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19629         Likewise.
19630         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19631         <math_private.h>.
19632         (__nearbyintl): Use math_force_eval before restoring
19633         floating-point environment.
19634         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19635
19636         * math/gen-libm-test.pl (special_functions): Remove.
19637         (parse_args): Don't handle TEST_extra.  Handle functions with no
19638         return value.
19639         * math/libm-test.inc (struct test_sincos_data): Replace with
19640         struct test_fFF_11_data.
19641         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19642         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19643         (sincos_test_data): Change element type to struct
19644         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
19645         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19646         RUN_TEST_LOOP_sincos.
19647         * math/README.libm-test: Don't mention special handling of
19648         individual functions.
19649         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19650         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19651         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19652         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19653         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19655
19656         * math/gen-libm-test.pl (get_variable): Remove function.
19657         (parse_args): Don't show pointer parameters to call in test
19658         names.  Use "extra output N" in test names for extra outputs
19659         rather than naming variables.
19660
19661 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
19662
19663         [BZ #15488]
19664         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19665         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19666         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19667         double tests.
19668         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19669         disable.
19670         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19671         check_long_double.
19672
19673         * math/gen-libm-test.pl (@tests): Remove variable.
19674         ($count): Likewise.
19675         (new_test): Remove function.
19676         (show_exceptions): New function.
19677         (special_functions): Use show_exceptions instead of new_test.
19678         (parse_args): Likewise.
19679         (generate_testfile): Pass only function name in generated call to
19680         print_max_error or print_complex_max_error.
19681         (get_ulps): Do not handle complex tests specially.
19682         (output_test): Rename to ...
19683         (get_all_ulps_for_test): ... this.  Return a string rather than
19684         printing to a file.  Require ulps to be present.
19685         (output_ulps): Generate arrays rather than #defines.
19686         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19687         (struct ulp_data): New type.
19688         (BUILD_COMPLEX_ULP): Remove macro.
19689         (compare_ulp_data): New function.
19690         (find_ulps): Likewise.
19691         (find_test_ulps): Likewise.
19692         (find_function_ulps): Likewise.
19693         (find_complex_function_ulps): Likewise.
19694         (print_max_error): Determine allowed ulps using
19695         find_function_ulps.
19696         (print_complex_max_error): Determine allowed ulps using
19697         find_complex_function_ulps.
19698         (check_float_internal): Determine max ulps using find_test_ulps.
19699         (check_float): Do not take max_ulp parameter.  Update call to
19700         check_float_internal.
19701         (check_complex): Likewise.
19702         (check_int): Do not take max_ulp parameter.
19703         (check_long): Likewise.
19704         (check_bool): Likewise.
19705         (check_longlong): Likewise.
19706         (struct test_f_f_data): Remove max_ulp field.
19707         (struct test_ff_f_data): Likewise.
19708         (struct test_ff_f_data_nexttoward): Likewise.
19709         (struct test_fi_f_data): Likewise.
19710         (struct test_fl_f_data): Likewise.
19711         (struct test_if_f_data): Likewise.
19712         (struct test_fff_f_data): Likewise.
19713         (struct test_c_f_data): Likewise.
19714         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19715         (struct test_fF_f1_data): Likewise.
19716         (struct test_ffI_f1_data): Likewise.
19717         (struct test_c_c_data): Remove max_ulp field.
19718         (struct test_cc_c_data): Likewise.
19719         (struct test_f_i_data): Likewise.
19720         (struct test_ff_i_data): Likewise.
19721         (struct test_f_l_data): Likewise.
19722         (struct test_f_L_data): Likewise.
19723         (struct test_sincos_data): Likewise.
19724         (RUN_TEST_f_f): Do not handle ulps.
19725         (RUN_TEST_LOOP_f_f): Likewise.
19726         (RUN_TEST_2_f): Likewise.
19727         (RUN_TEST_LOOP_2_f): Likewise.
19728         (RUN_TEST_fff_f): Likewise.
19729         (RUN_TEST_LOOP_fff_f): Likewise.
19730         (RUN_TEST_c_f): Likewise.
19731         (RUN_TEST_LOOP_c_f): Likewise.
19732         (RUN_TEST_f_f1): Likewise.
19733         (RUN_TEST_LOOP_f_f1): Likewise.
19734         (RUN_TEST_fF_f1): Likewise.
19735         (RUN_TEST_LOOP_fF_f1): Likewise.
19736         (RUN_TEST_fI_f1): Likewise.
19737         (RUN_TEST_LOOP_fI_f1): Likewise.
19738         (RUN_TEST_ffI_f1): Likewise.
19739         (RUN_TEST_LOOP_ffI_f1): Likewise.
19740         (RUN_TEST_c_c): Likewise.
19741         (RUN_TEST_LOOP_c_c): Likewise.
19742         (RUN_TEST_cc_c): Likewise.
19743         (RUN_TEST_LOOP_cc_c): Likewise.
19744         (RUN_TEST_f_i): Likewise.
19745         (RUN_TEST_LOOP_f_i): Likewise.
19746         (RUN_TEST_f_i_tg): Likewise.
19747         (RUN_TEST_LOOP_f_i_tg): Likewise.
19748         (RUN_TEST_ff_i_tg): Likewise.
19749         (RUN_TEST_LOOP_ff_i_tg): Likewise.
19750         (RUN_TEST_f_b): Likewise.
19751         (RUN_TEST_LOOP_f_b): Likewise.
19752         (RUN_TEST_f_b_tg): Likewise.
19753         (RUN_TEST_LOOP_f_b_tg): Likewise.
19754         (RUN_TEST_f_l): Likewise.
19755         (RUN_TEST_LOOP_f_l): Likewise.
19756         (RUN_TEST_f_L): Likewise.
19757         (RUN_TEST_LOOP_f_L): Likewise.
19758         (RUN_TEST_sincos): Likewise.
19759         (RUN_TEST_LOOP_sincos): Likewise.
19760
19761 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
19762
19763         [BZ #15480]
19764         [BZ #15485]
19765         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19766         main case of finite arguments, set rounding mode to FE_TONEAREST
19767         and discard exceptions.
19768         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19769         exceptions.
19770         (remainder_tonearest_test_data): New variable.
19771         (remainder_test_tonearest): New function.
19772         (remainder_towardzero_test_data): New variable.
19773         (remainder_test_towardzero): New function.
19774         (remainder_downward_test_data): New variable.
19775         (remainder_test_downward): New function.
19776         (remainder_upward_test_data): New variable.
19777         (remainder_test_upward): New function.
19778         (main): Call the new test functions.
19779
19780         * math/libm-test.inc (struct test_f_f1_data): Remove field
19781         extra_init.
19782         (struct test_fF_f1_data): Likewise.
19783         (struct test_ffI_f1_data): Likewise.
19784         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
19785         based on value of EXTRA_EXPECTED.
19786         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19787         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
19788         EXTRA_VAR based on value of EXTRA_EXPECTED.
19789         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19790         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
19791         EXTRA_VAR based on value of EXTRA_EXPECTED.
19792         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19793         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
19794         EXTRA_VAR based on value of EXTRA_EXPECTED.
19795         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19796         * math/gen-libm-test.pl (parse_args): Don't output initializers
19797         for extra output values.
19798
19799         * math/libm-test.inc (check_int): Expect result to be exactly
19800         equal to expected value and do not handle ulps.
19801         (check_long): Likewise.
19802         (check_longlong): Likewise.
19803
19804         * math/libm-test.inc (ceil_test_data): Test for "inexact"
19805         exceptions.
19806         (cimag_test_data): Likewise.
19807         (conj_test_data): Likewise.
19808         (copysign_test_data): Likewise.
19809         (cproj_test_data): Likewise.
19810         (creal_test_data): Likewise.
19811         (fabs_test_data): Likewise.
19812         (fdim_test_data): Likewise.
19813         (finite_test_data): Likewise.
19814         (floor_test_data): Likewise.
19815         (fmax_test_data): Likewise.
19816         (fmin_test_data): Likewise.
19817         (fmod_test_data): Likewise.
19818         (fpclassify_test_data): Likewise.
19819         (frexp_test_data): Likewise.
19820         (ilogb_test_data): Likewise.
19821         (isfinite_test_data): Likewise.
19822         (isgreater_test_data): Likewise.
19823         (isgreaterequal_test_data): Likewise.
19824         (isinf_test_data): Likewise.
19825         (isless_test_data): Likewise.
19826         (islessequal_test_data): Likewise.
19827         (islessgreater_test_data): Likewise.
19828         (isnan_test_data): Likewise.
19829         (isnormal_test_data): Likewise.
19830         (issignaling_test_data): Likewise.
19831         (isunordered_test_data): Likewise.
19832         (ldexp_test_data): Likewise.
19833         (lrint_test_data): Likewise.
19834         (lrint_test_data) [TEST_FLOAT]: Disable one test.
19835         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19836         (lrint_tonearest_test_data): Test for "inexact" exceptions.
19837         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19838         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19839         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19840         test input.
19841         (lrint_towardzero_test_data): Test for "inexact" exceptions.
19842         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19843         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19844         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19845         that test input.
19846         (lrint_downward_test_data): Test for "inexact" exceptions.
19847         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19848         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19849         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19850         test input.
19851         (lrint_upward_test_data): Test for "inexact" exceptions.
19852         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19853         test input.
19854         (llrint_test_data): Test for "inexact" exceptions.
19855         (llrint_test_data) [TEST_FLOAT]: Disable one test.
19856         (llrint_tonearest_test_data): Test for "inexact" exceptions.
19857         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19858         (llrint_towardzero_test_data): Test for "inexact" exceptions.
19859         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19860         (llrint_downward_test_data): Test for "inexact" exceptions.
19861         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19862         (llrint_upward_test_data): Test for "inexact" exceptions.
19863         (logb_test_data): Likewise.
19864         (logb_downward_test_data): Likewise.
19865         (nextafter_test_data): Likewise.
19866         (nexttoward_test_data): Likewise.
19867         (remainder_test_data): Likewise.
19868         (remquo_test_data): Likewise.
19869         (scalbn_test_data): Likewise.
19870         (scalbln_test_data): Likewise.
19871         (signbit_test_data): Likewise.
19872         (sqrt_test_data): Likewise.
19873         (significand_test_data): Likewise.
19874
19875 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19876
19877         [BZ #15424]
19878         * benchtests/bench-modf.c (struct args): Mark arg0 as
19879         volatile.
19880         * scripts/bench.pl: Mark members of struct args as volatile.
19881
19882 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19883
19884         [BZ # 15497]
19885         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19886         negative infinity on POWER6 or lower.
19887         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19888
19889 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
19890
19891         [BZ #15442]
19892         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19893         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19894         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19895         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19896         (_FP_SETQNAN): New macro.
19897         (_FP_SETQNAN_SEMIRAW): Likewise.
19898         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19899         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19900         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19901         (FP_EXTEND): Use _FP_FRAC_SNANP.
19902         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19903         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19904         into account.
19905         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19906         New macro.
19907         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19908         Likewise.
19909
19910 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19911
19912         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19913         with DIVIDE_BY_ZERO_EXCEPTION.
19914         (gamma_test_data): Likewise.
19915         (lgamma_test_data): Likewise.
19916         (log_test_data): Likewise.
19917         (log10_test_data): Likewise.
19918         (log2_test_data): Likewise.
19919         (tgamma_test_data): Likewise.
19920
19921         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19922         (acos_test_tonearest): Likewise.
19923         (acos_test_towardzero): Likewise.
19924         (acos_test_downward): Likewise.
19925         (acos_test_upward): Likewise.
19926         (acosh_test): Likewise.
19927         (asin_test): Likewise.
19928         (asin_test_tonearest): Likewise.
19929         (asin_test_towardzero): Likewise.
19930         (asin_test_downward): Likewise.
19931         (asin_test_upward): Likewise.
19932         (asinh_test): Likewise.
19933         (atan_test): Likewise.
19934         (atanh_test): Likewise.
19935         (atan2_test): Likewise.
19936         (cabs_test): Likewise.
19937         (cacos_test): Likewise.
19938         (cacosh_test): Likewise.
19939         (casin_test): Likewise.
19940         (casinh_test): Likewise.
19941         (catan_test): Likewise.
19942         (catanh_test): Likewise.
19943         (cbrt_test): Likewise.
19944         (ccos_test): Likewise.
19945         (ccosh_test): Likewise.
19946         (cexp_test): Likewise.
19947         (clog_test): Likewise.
19948         (clog10_test): Likewise.
19949         (cos_test): Likewise.
19950         (cos_test_tonearest): Likewise.
19951         (cos_test_towardzero): Likewise.
19952         (cos_test_downward): Likewise.
19953         (cos_test_upward): Likewise.
19954         (cosh_test): Likewise.
19955         (cosh_test_tonearest): Likewise.
19956         (cosh_test_towardzero): Likewise.
19957         (cosh_test_downward): Likewise.
19958         (cosh_test_upward): Likewise.
19959         (cpow_test): Likewise.
19960         (csin_test): Likewise.
19961         (csinh_test): Likewise.
19962         (csqrt_test): Likewise.
19963         (ctan_test): Likewise.
19964         (ctan_test_tonearest): Likewise.
19965         (ctan_test_towardzero): Likewise.
19966         (ctan_test_downward): Likewise.
19967         (ctan_test_upward): Likewise.
19968         (ctanh_test): Likewise.
19969         (ctanh_test_tonearest): Likewise.
19970         (ctanh_test_towardzero): Likewise.
19971         (ctanh_test_downward): Likewise.
19972         (ctanh_test_upward): Likewise.
19973         (erf_test): Likewise.
19974         (erfc_test): Likewise.
19975         (exp_test): Likewise.
19976         (exp_test_tonearest): Likewise.
19977         (exp_test_towardzero): Likewise.
19978         (exp_test_downward): Likewise.
19979         (exp_test_upward): Likewise.
19980         (exp10_test): Likewise.
19981         (exp2_test): Likewise.
19982         (expm1_test): Likewise.
19983         (fmod_test): Likewise.
19984         (gamma_test): Likewise.
19985         (hypot_test): Likewise.
19986         (j0_test): Likewise.
19987         (j1_test): Likewise.
19988         (jn_test): Likewise.
19989         (lgamma_test): Likewise.
19990         (log_test): Likewise.
19991         (log10_test): Likewise.
19992         (log1p_test): Likewise.
19993         (log2_test): Likewise.
19994         (logb_test_downward): Likewise.
19995         (pow_test): Likewise.
19996         (pow_test_tonearest): Likewise.
19997         (pow_test_towardzero): Likewise.
19998         (pow_test_downward): Likewise.
19999         (pow_test_upward): Likewise.
20000         (remainder_test): Likewise.
20001         (remquo_test): Likewise.
20002         (sin_test): Likewise.
20003         (sin_test_tonearest): Likewise.
20004         (sin_test_towardzero): Likewise.
20005         (sin_test_downward): Likewise.
20006         (sin_test_upward): Likewise.
20007         (sincos_test): Likewise.
20008         (sinh_test): Likewise.
20009         (sinh_test_tonearest): Likewise.
20010         (sinh_test_towardzero): Likewise.
20011         (sinh_test_downward): Likewise.
20012         (sinh_test_upward): Likewise.
20013         (sqrt_test): Likewise.
20014         (tan_test): Likewise.
20015         (tan_test_tonearest): Likewise.
20016         (tan_test_towardzero): Likewise.
20017         (tan_test_downward): Likewise.
20018         (tan_test_upward): Likewise.
20019         (tanh_test): Likewise.
20020         (tgamma_test): Likewise.
20021         (y0_test): Likewise.
20022         (y1_test): Likewise.
20023         (yn_test): Likewise.
20024
20025         * math/gen-libm-test.pl (adjust_arg): Remove function.
20026         (special_function): Remove argument $in_func.  Only handle
20027         generating output for tables of tests, not inside functions.
20028         (parse_args): Likewise.
20029         (generate_testfile): Remove variable $in_func.  Update call to
20030         parse_args.
20031         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20032         (MINUS_ZERO_INIT): Rename macro to minus_zero.
20033         (PLUS_INFTY_INIT): Rename macro to plus_infty.
20034         (MINUS_INFTY_INIT): Rename macro to minus_infty.
20035         (QNAN_VALUE_INIT): Rename macro to qnan_value.
20036         (MAX_VALUE_INIT): Rename macro to max_value.
20037         (MIN_VALUE_INIT): Rename macro to min_value.
20038         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20039         (plus_zero): Remove variable.
20040         (minus_zero): Likewise.
20041         (plus_infty): Likewise.
20042         (minus_infty): Likewise.
20043         (qnan_value): Likewise.
20044         (max_value): Likewise.
20045         (min_value): Likewise.
20046         (min_subnorm_value): Likewise.
20047
20048 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20049
20050         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20051         uint64_t or uint32_t usage.
20052         * crypt/sha256-block.c: Likewise.
20053         * crypt/sha256-crypt.c: Likewise.
20054         * crypt/sha256.c: Likewise.
20055         * crypt/sha512-block.c: Likewise.
20056         * crypt/sha512-crypt.c: Likewise.
20057         * crypt/sha512.c: Likewise.
20058         * debug/backtrace-tst.c: Likewise.
20059         * debug/pcprofiledump.c: Likewise.
20060         * elf/cache.c: Likewise.
20061         * elf/dl-cache.c: Likewise.
20062         * elf/dl-misc.c: Likewise.
20063         * elf/dl-profile.c: Likewise.
20064         * elf/dl-support.c: Likewise.
20065         * elf/ldconfig.c: Likewise.
20066         * elf/sprof.c: Likewise.
20067         * iconv/dummy-repertoire.c: Likewise.
20068         * iconv/iconv_charmap.c: Likewise.
20069         * iconv/skeleton.c: Likewise.
20070         * iconvdata/8bit-generic.c: Likewise.
20071         * iconvdata/cp737.h: Likewise.
20072         * iconvdata/cp775.h: Likewise.
20073         * iconvdata/ibm1008.h: Likewise.
20074         * iconvdata/ibm1025.h: Likewise.
20075         * iconvdata/ibm1046.h: Likewise.
20076         * iconvdata/ibm1097.h: Likewise.
20077         * iconvdata/ibm1112.h: Likewise.
20078         * iconvdata/ibm1122.h: Likewise.
20079         * iconvdata/ibm1123.h: Likewise.
20080         * iconvdata/ibm1124.h: Likewise.
20081         * iconvdata/ibm1129.h: Likewise.
20082         * iconvdata/ibm1130.h: Likewise.
20083         * iconvdata/ibm1132.h: Likewise.
20084         * iconvdata/ibm1133.h: Likewise.
20085         * iconvdata/ibm1137.h: Likewise.
20086         * iconvdata/ibm1140.h: Likewise.
20087         * iconvdata/ibm1141.h: Likewise.
20088         * iconvdata/ibm1142.h: Likewise.
20089         * iconvdata/ibm1143.h: Likewise.
20090         * iconvdata/ibm1144.h: Likewise.
20091         * iconvdata/ibm1145.h: Likewise.
20092         * iconvdata/ibm1146.h: Likewise.
20093         * iconvdata/ibm1147.h: Likewise.
20094         * iconvdata/ibm1148.h: Likewise.
20095         * iconvdata/ibm1149.h: Likewise.
20096         * iconvdata/ibm1153.h: Likewise.
20097         * iconvdata/ibm1154.h: Likewise.
20098         * iconvdata/ibm1155.h: Likewise.
20099         * iconvdata/ibm1156.h: Likewise.
20100         * iconvdata/ibm1157.h: Likewise.
20101         * iconvdata/ibm1158.h: Likewise.
20102         * iconvdata/ibm1160.h: Likewise.
20103         * iconvdata/ibm1161.h: Likewise.
20104         * iconvdata/ibm1162.h: Likewise.
20105         * iconvdata/ibm1163.h: Likewise.
20106         * iconvdata/ibm1164.h: Likewise.
20107         * iconvdata/ibm1166.h: Likewise.
20108         * iconvdata/ibm1167.h: Likewise.
20109         * iconvdata/ibm12712.h: Likewise.
20110         * iconvdata/ibm1390.h: Likewise.
20111         * iconvdata/ibm1399.h: Likewise.
20112         * iconvdata/ibm16804.h: Likewise.
20113         * iconvdata/ibm4517.h: Likewise.
20114         * iconvdata/ibm4899.h: Likewise.
20115         * iconvdata/ibm4909.h: Likewise.
20116         * iconvdata/ibm4971.h: Likewise.
20117         * iconvdata/ibm5347.h: Likewise.
20118         * iconvdata/ibm803.h: Likewise.
20119         * iconvdata/ibm856.h: Likewise.
20120         * iconvdata/ibm901.h: Likewise.
20121         * iconvdata/ibm902.h: Likewise.
20122         * iconvdata/ibm9030.h: Likewise.
20123         * iconvdata/ibm9066.h: Likewise.
20124         * iconvdata/ibm921.h: Likewise.
20125         * iconvdata/ibm922.h: Likewise.
20126         * iconvdata/ibm9448.h: Likewise.
20127         * iconvdata/isiri-3342.h: Likewise.
20128         * iconvdata/jis0201.h: Likewise.
20129         * include/link.h: Likewise.
20130         * include/netdb.h: Likewise.
20131         * inet/check_native.c: Likewise.
20132         * inet/check_pf.c: Likewise.
20133         * inet/getipv4sourcefilter.c: Likewise.
20134         * inet/getnameinfo.c: Likewise.
20135         * inet/getsourcefilter.c: Likewise.
20136         * inet/htonl.c: Likewise.
20137         * inet/setipv4sourcefilter.c: Likewise.
20138         * inet/setsourcefilter.c: Likewise.
20139         * inet/test-inet6_opt.c: Likewise.
20140         * inet/tst-network.c: Likewise.
20141         * locale/C-collate.c: Likewise.
20142         * locale/C-ctype.c: Likewise.
20143         * locale/C-time.c: Likewise.
20144         * locale/C-translit.h: Likewise.
20145         * locale/loadarchive.c: Likewise.
20146         * locale/programs/3level.h: Likewise.
20147         * locale/programs/charmap.c: Likewise.
20148         * locale/programs/charmap.h: Likewise.
20149         * locale/programs/ld-address.c: Likewise.
20150         * locale/programs/ld-collate.c: Likewise.
20151         * locale/programs/ld-ctype.c: Likewise.
20152         * locale/programs/ld-identification.c: Likewise.
20153         * locale/programs/ld-measurement.c: Likewise.
20154         * locale/programs/ld-messages.c: Likewise.
20155         * locale/programs/ld-monetary.c: Likewise.
20156         * locale/programs/ld-name.c: Likewise.
20157         * locale/programs/ld-numeric.c: Likewise.
20158         * locale/programs/ld-paper.c: Likewise.
20159         * locale/programs/ld-telephone.c: Likewise.
20160         * locale/programs/ld-time.c: Likewise.
20161         * locale/programs/linereader.c: Likewise.
20162         * locale/programs/locale.c: Likewise.
20163         * locale/programs/locarchive.c: Likewise.
20164         * locale/programs/locfile.h: Likewise.
20165         * locale/programs/repertoire.c: Likewise.
20166         * locale/programs/simple-hash.c: Likewise.
20167         * locale/programs/simple-hash.h: Likewise.
20168         * malloc/memusage.c: Likewise.
20169         * malloc/memusagestat.c: Likewise.
20170         * nis/nis_defaults.c: Likewise.
20171         * nis/nis_hash.c: Likewise.
20172         * nis/nis_print.c: Likewise.
20173         * nis/nis_xdr.c: Likewise.
20174         * nscd/connections.c: Likewise.
20175         * nscd/hstcache.c: Likewise.
20176         * nscd/nscd_gethst_r.c: Likewise.
20177         * nscd/nscd_getserv_r.c: Likewise.
20178         * nscd/nscd_helper.c: Likewise.
20179         * nscd/servicescache.c: Likewise.
20180         * nss/makedb.c: Likewise.
20181         * nss/nss_db/db-XXX.c: Likewise.
20182         * nss/nss_db/db-initgroups.c: Likewise.
20183         * nss/nss_db/db-netgrp.c: Likewise.
20184         * nss/nss_files/files-network.c: Likewise.
20185         * nss/nss_files/files-parse.c: Likewise.
20186         * posix/bug-regex5.c: Likewise.
20187         * posix/fnmatch_loop.c: Likewise.
20188         * posix/regcomp.c: Likewise.
20189         * posix/regexec.c: Likewise.
20190         * posix/tst-rfc3484-2.c: Likewise.
20191         * posix/tst-rfc3484-3.c: Likewise.
20192         * posix/tst-rfc3484.c: Likewise.
20193         * resolv/nss_dns/dns-canon.c: Likewise.
20194         * resolv/nss_dns/dns-network.c: Likewise.
20195         * resolv/res_init.c: Likewise.
20196         * resolv/res_mkquery.c: Likewise.
20197         * resolv/tst-aton.c: Likewise.
20198         * stdlib/cxa_atexit.c: Likewise.
20199         * stdlib/cxa_finalize.c: Likewise.
20200         * stdlib/gen-fpioconst.c: Likewise.
20201         * stdlib/strtol_l.c: Likewise.
20202         * string/tst-endian.c: Likewise.
20203         * sunrpc/auth_des.c: Likewise.
20204         * sunrpc/clnt_udp.c: Likewise.
20205         * sunrpc/rtime.c: Likewise.
20206         * sunrpc/svcauth_des.c: Likewise.
20207         * sunrpc/xdr.c: Likewise.
20208         * sunrpc/xdr_intXX_t.c: Likewise.
20209         * sunrpc/xdr_rec.c: Likewise.
20210         * sysdeps/generic/ldconfig.h: Likewise.
20211         * sysdeps/generic/ldsodefs.h: Likewise.
20212         * sysdeps/generic/memusage.h: Likewise.
20213         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20214         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20215         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20216         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20217         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20218         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20219         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20220         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20221         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20222         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20223         * sysdeps/posix/getaddrinfo.c: Likewise.
20224         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20225         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20226         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20227         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20228         * sysdeps/powerpc/test-gettimebase.c: Likewise.
20229         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20230         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20231         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20232         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20233         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20234         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20235         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20236         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20237         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20238         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20239         * sysdeps/x86_64/dl-tls.h: Likewise.
20240         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20241         * time/alt_digit.c: Likewise.
20242         * time/era.c: Likewise.
20243         * wcsmbs/tst-c16c32-1.c: Likewise.
20244
20245 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20246
20247         * math/libm-test.inc (struct test_sincos_data): New type.
20248         (RUN_TEST_LOOP_sincos): New macro.
20249         (sincos_test_data): New variable.
20250         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20251
20252 2013-05-16  Richard Henderson  <rth@redhat.com>
20253
20254         * math/atest-exp2.c (LIMB64): New macro.
20255         (CONSTSZ): New macro.
20256         (mp_exp1, mp_exp_m1, mp_log2): New variables.
20257         (hexdig): Move ...
20258         (print_mpn_fp): ... to function scope.
20259         (read_mpn_hex): Remove.
20260         (get_log2): Remove.
20261         (exp2_mpn): Use mp_log2.
20262         (main): Use mp_exp1.
20263
20264 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20265
20266         * math/libm-test.inc: Remove comment about not testing "inexact"
20267         exceptions.
20268         (INEXACT_EXCEPTION): New macro.
20269         (NO_INEXACT_EXCEPTION): Likewise.
20270         (INVALID_EXCEPTION_OK): Update value.
20271         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20272         (OVERFLOW_EXCEPTION_OK): Likewise.
20273         (UNDERFLOW_EXCEPTION_OK): Likewise.
20274         (IGNORE_ZERO_INF_SIGN): Likewise.
20275         (ERRNO_UNCHANGED): Likewise.
20276         (ERRNO_EDOM): Likewise.
20277         (ERRNO_ERANGE): Likewise.
20278         (test_exceptions): Handle testing "inexact" exceptions.
20279         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20280         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20281         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20282         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20283         INEXACT_EXCEPTION.
20284         (rint_towardzero_test_data): Likewise.
20285         (rint_downward_test_data): Likewise.
20286         (rint_upward_test_data): Likewise.
20287
20288         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20289         with OVERFLOW_EXCEPTION.
20290         (exp10_test_data): Likewise.
20291         (exp2_test_data): Likewise.
20292         (expm1_test_data): Likewise.
20293         (lgamma_test_data): Likewise.
20294         (pow_test_data): Likewise.
20295         (tgamma_test_data): Likewise.
20296         (yn_test_data): Remove duplicate test of overflow.
20297
20298         * math/libm-test.inc (struct test_cc_c_data): New type.
20299         (RUN_TEST_LOOP_cc_c): New macro.
20300         (cpow_test_data): New variable.
20301         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20302
20303         * math/libm-test.inc (struct test_f_L_data): New type.
20304         (RUN_TEST_LOOP_f_L): New macro.
20305         (llrint_test_data): New variable.
20306         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20307         (llrint_tonearest_test_data): New variable.
20308         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20309         (llrint_towardzero_test_data): New variable.
20310         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20311         (llrint_downward_test_data): New variable.
20312         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20313         (llrint_upward_test_data): New variable.
20314         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20315         (llround_test_data): New variable.
20316         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20317
20318 2013-05-13  Peter Collingbourne  <pcc@google.com>
20319
20320         * math/atest-exp2.c (get_log2): Remove const attribute.
20321
20322 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20323
20324         * math/libm-test.inc (struct test_f_l_data): New type.
20325         (RUN_TEST_LOOP_f_l): New macro.
20326         (lrint_test_data): New variable.
20327         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20328         (lrint_tonearest_test_data): New variable.
20329         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20330         (lrint_towardzero_test_data): New variable.
20331         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20332         (lrint_downward_test_data): New variable.
20333         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20334         (lrint_upward_test_data): New variable.
20335         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20336         (lround_test_data): New variable.
20337         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20338
20339 2013-05-15  Peter Collingbourne  <pcc@google.com>
20340
20341         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20342         (EXTRACT_WORDS64) Use where appropriate.
20343         (INSERT_WORDS64) Likewise.
20344
20345         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20346         constraints with x constraints.
20347         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20348
20349         * malloc/obstack.c (_obstack_compat): Add initializer.
20350
20351 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20352
20353         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20354         si_trapno and add si_addr_lsb to _sifields.sigfault.
20355         (si_trapno): Remove macro.
20356         (si_addr_lsb): Define new macro.
20357         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20358
20359 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20360
20361         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20362         instead of TEST_f_l.
20363         (llrint_test_tonearest): Likewise.
20364         (llrint_test_towardzero): Likewise.
20365         (llrint_test_downward): Likewise.
20366         (llrint_test_upward): Likewise.
20367         (llround_test): Likewise.
20368
20369         * math/libm-test.inc (struct test_f_i_data): Add comment.
20370         (RUN_TEST_LOOP_f_b): New macro.
20371         (RUN_TEST_LOOP_f_b_tg): Likewise.
20372         (finite_test_data): New variable.
20373         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20374         (isfinite_test_data): New variable.
20375         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20376         (isinf_test_data): New variable.
20377         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20378         (isnan_test_data): New variable.
20379         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20380         (isnormal_test_data): New variable.
20381         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20382         (issignaling_test_data): New variable.
20383         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20384         (signbit_test_data): New variable.
20385         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20386
20387         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20388         with INVALID_EXCEPTION.
20389         (acosh_test_data): Likewise.
20390         (asin_test_data): Likewise.
20391         (atanh_test_data): Likewise.
20392         (fmod_test_data): Likewise.
20393         (log_test_data): Likewise.
20394         (log10_test_data): Likewise.
20395         (log2_test_data): Likewise.
20396         (pow_test_data): Likewise.
20397         (sqrt_test_data): Likewise.
20398         (y0_test_data): Likewise.
20399         (y1_test_data): Likewise.
20400         (yn_test_data): Likewise.
20401
20402         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20403         function contents.
20404
20405         * math/libm-test.inc (struct test_ff_i_data): New type.
20406         (RUN_TEST_LOOP_ff_i_tg): New macro.
20407         (isgreater_test_data): New variable.
20408         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20409         (isgreaterequal_test_data): New variable.
20410         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20411         (isless_test_data): New variable.
20412         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20413         (islessequal_test_data): New variable.
20414         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20415         (islessgreater_test_data): New variable.
20416         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20417         (isunordered_test_data): New variable.
20418         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20419
20420 2013-05-14  David S. Miller  <davem@davemloft.net>
20421
20422         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20423
20424 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
20425
20426         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20427
20428         * math/libm-test.inc (struct test_fF_f1_data): Change type of
20429         extra_test to int.
20430         (struct test_f_i_data): Change type of max_ulp to int.
20431
20432         * math/libm-test.inc (test_ffI_f1_data): New type.
20433         (RUN_TEST_LOOP_ffI_f1): New macro.
20434         (remquo_test_data): New variable.
20435         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20436
20437         * setjmp/tst-setjmp-fp.c: New file.
20438         * setjmp/Makefile (tests): Add tst-setjmp-fp.
20439         (link-libm): New variable.
20440         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20441
20442         * math/libm-test.inc (struct test_f_i_data): New type.
20443         (RUN_TEST_LOOP_f_i): New macro.
20444         (RUN_TEST_LOOP_f_i_tg): Likewise.
20445         (fpclassify_test_data): New variable.
20446         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20447         (ilogb_test_data): New variable.
20448         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20449
20450         * math/libm-test.inc (scalbln_test): Correct function name in END
20451         call.
20452
20453         * math/libm-test.inc (struct test_f_f1_data): Add comment.
20454         (RUN_TEST_LOOP_fI_f1): New macro.
20455         (frexp_test_data): New variable.
20456         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20457
20458         * math/libm-test.inc (struct test_fF_f1_data): New type.
20459         (RUN_TEST_LOOP_fF_f1): New macro.
20460         (modf_test_data): New variable.
20461         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20462
20463         * math/libm-test.inc (struct test_f_f1_data): New type.
20464         (RUN_TEST_LOOP_f_f1): New macro.
20465         (gamma_test_data): New variable.
20466         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20467         (lgamma_test_data): New variable.
20468         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20469
20470 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
20471
20472         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20473         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20474         (main): Comment "tls" pseudo-hwcap.
20475
20476 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
20477
20478         * math/libm-test.inc (struct test_fl_f_data): New type.
20479         (RUN_TEST_LOOP_fl_f): New variable.
20480         (scalbln_test_data): New variable.
20481         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20482
20483         * math/libm-test.inc (struct test_fi_f_data): New type.
20484         (RUN_TEST_LOOP_fi_f): New macro.
20485         (ldexp_test_data): New variable.
20486         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20487         (scalbn_test_data): New variable.
20488         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20489
20490         * math/libm-test.inc (struct test_c_f_data): New type.
20491         (RUN_TEST_LOOP_c_f): New macro.
20492         (cabs_test_data): New variable.
20493         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20494         (carg_test_data): New variable.
20495         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20496         (cimag_test_data): New variable.
20497         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20498         (creal_test_data): New variable.
20499         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20500
20501         * math/libm-test.inc (struct test_if_f_data): New type.
20502         (RUN_TEST_LOOP_if_f): New macro.
20503         (jn_test_data): New variable.
20504         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20505         (yn_test_data): New variable.
20506         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20507
20508         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20509
20510 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20511
20512         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20513         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20514
20515 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20516
20517         * benchtests/Makefile (CPPFLAGS-nonlib): Add
20518         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20519         (bench-deps): Add bench-timing.h.
20520         * benchtests-bench-skeleton.c: Include bench-timing.h.
20521         (main): Use TIMING_* macros instead of clock_gettime.
20522         * benchtests/bench-timing.h: New file.
20523
20524         [BZ #14582]
20525         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20526         Renamed from _LIB_VERSION.
20527         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20528
20529 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
20530
20531         * math/libm-test.inc (struct test_fff_f_data): New type.
20532         (RUN_TEST_LOOP_fff_f): New macro.
20533         (fma_test_data): New variable.
20534         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20535         (fma_towardzero_test_data): New variable.
20536         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20537         (fma_downward_test_data): New variable.
20538         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20539         (fma_upward_test_data): New variable.
20540         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20541
20542         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20543         (struct test_c_c_data): New type.
20544         (RUN_TEST_LOOP_c_c): New macro.
20545         (cacos_test_data): New variable.
20546         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20547         (cacosh_test_data): New variable.
20548         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20549         (casin_test_data): New variable.
20550         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20551         (casinh_test_data): New variable.
20552         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20553         (catan_test_data): New variable.
20554         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20555         (catanh_test_data): New variable.
20556         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20557         (ccos_test_data): New variable.
20558         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20559         (ccosh_test_data): New variable.
20560         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20561         (cexp_test_data): New variable.
20562         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20563         (clog_test_data): New variable.
20564         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20565         (clog10_test_data): New variable.
20566         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20567         (conj_test_data): New variable.
20568         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20569         (cproj_test_data): New variable.
20570         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20571         (csin_test_data): New variable.
20572         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20573         (csinh_test_data): New variable.
20574         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20575         (csqrt_test_data): New variable.
20576         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20577         (ctan_test_data): New variable.
20578         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20579         (ctan_tonearest_test_data): New variable.
20580         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20581         (ctan_towardzero_test_data): New variable.
20582         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20583         (ctan_downward_test_data): New variable.
20584         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20585         (ctan_upward_test_data): New variable.
20586         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20587         (ctanh_test_data): New variable.
20588         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20589         (ctanh_tonearest_test_data): New variable.
20590         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20591         (ctanh_towardzero_test_data): New variable.
20592         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20593         (ctanh_downward_test_data): New variable.
20594         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20595         (ctanh_upward_test_data): New variable.
20596         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20597         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20598         of BUILD_COMPLEX.
20599
20600         * math/libm-test.inc (struct test_ff_f_data): New type.
20601         (struct test_ff_f_data_nexttoward): Likewise.
20602         (RUN_TEST_LOOP_2_f): New macro.
20603         (RUN_TEST_LOOP_ff_f): Likewise.
20604         (atan2_test_data): New variable.
20605         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20606         (copysign_test_data): New variable.
20607         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20608         (fdim_test_data): New variable.
20609         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20610         (fmax_test_data): New variable.
20611         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20612         (fmin_test_data): New variable.
20613         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20614         (fmod_test_data): New variable.
20615         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20616         (hypot_test_data): New variable.
20617         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20618         (nextafter_test_data): New variable.
20619         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20620         (nexttoward_test_data): New variable.
20621         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20622         (pow_test_data): New variable.
20623         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20624         (pow_tonearest_test_data): New variable.
20625         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20626         (pow_towardzero_test_data): New variable.
20627         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20628         (pow_downward_test_data): New variable.
20629         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20630         (pow_upward_test_data): New variable.
20631         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20632         (remainder_test_data): New variable.
20633         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20634         (scalb_test_data): New variable.
20635         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20636         * sysdeps/i386/fpu/libm-test-ulps: Update.
20637
20638 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
20639
20640         * math/libm-test.inc (fma_test): Use max_value instead of local
20641         variable fltmax.
20642         (nextafter_test): Likewise.
20643
20644         * math/libm-test.inc (acos_towardzero_test_data): New variable.
20645         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20646         (acos_downward_test_data): New variable.
20647         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20648         (acos_upward_test_data): New variable.
20649         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20650         (acosh_test_data): New variable.
20651         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20652         (asin_test_data): New variable.
20653         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20654         (asin_tonearest_test_data): New variable.
20655         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20656         (asin_towardzero_test_data): New variable.
20657         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20658         (asin_downward_test_data): New variable.
20659         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20660         (asin_upward_test_data): New variable.
20661         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20662         (asinh_test_data): New variable.
20663         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20664         (atan_test_data): New variable.
20665         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20666         (atanh_test_data): New variable.
20667         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20668         (cbrt_test_data): New variable.
20669         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20670         (ceil_test_data): New variable.
20671         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20672         (cos_test_data): New variable.
20673         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20674         (cos_tonearest_test_data): New variable.
20675         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20676         (cos_towardzero_test_data): New variable.
20677         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20678         (cos_downward_test_data): New variable.
20679         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20680         (cos_upward_test_data): New variable.
20681         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20682         (cosh_test_data): New variable.
20683         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20684         (cosh_tonearest_test_data): New variable.
20685         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20686         (cosh_towardzero_test_data): New variable.
20687         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20688         (cosh_downward_test_data): New variable.
20689         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20690         (cosh_upward_test_data): New variable.
20691         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20692         (erf_test_data): New variable.
20693         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20694         (erfc_test_data): New variable.
20695         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20696         (exp_test_data): New variable.
20697         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20698         (exp_tonearest_test_data): New variable.
20699         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20700         (exp_towardzero_test_data): New variable.
20701         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20702         (exp_downward_test_data): New variable.
20703         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20704         (exp_upward_test_data): New variable.
20705         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20706         (exp10_test_data): New variable.
20707         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20708         (exp2_test_data): New variable.
20709         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20710         (expm1_test_data): New variable.
20711         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20712         (fabs_test_data): New variable.
20713         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20714         (floor_test_data): New variable.
20715         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20716         (j0_test_data): New variable.
20717         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20718         (j1_test_data): New variable.
20719         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20720         (log_test_data): New variable.
20721         (log_test): Run tests with RUN_TEST_LOOP_f_f.
20722         (log10_test_data): New variable.
20723         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20724         (log1p_test_data): New variable.
20725         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20726         (log2_test_data): New variable.
20727         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20728         (logb_test_data): New variable.
20729         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20730         (logb_downward_test_data): New variable.
20731         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20732         (nearbyint_test_data): New variable.
20733         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20734         (rint_test_data): New variable.
20735         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20736         (rint_tonearest_test_data): New variable.
20737         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20738         (rint_towardzero_test_data): New variable.
20739         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20740         (rint_downward_test_data): New variable.
20741         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20742         (rint_upward_test_data): New variable.
20743         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20744         (round_test_data): New variable.
20745         (round_test): Run tests with RUN_TEST_LOOP_f_f.
20746         (sin_test_data): New variable.
20747         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20748         (sin_tonearest_test_data): New variable.
20749         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20750         (sin_towardzero_test_data): New variable.
20751         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20752         (sin_downward_test_data): New variable.
20753         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20754         (sin_upward_test_data): New variable.
20755         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20756         (sinh_test_data): New variable.
20757         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20758         (sinh_tonearest_test_data): New variable.
20759         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20760         (sinh_towardzero_test_data): New variable.
20761         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20762         (sinh_downward_test_data): New variable.
20763         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20764         (sinh_upward_test_data): New variable.
20765         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20766         (sqrt_test_data): New variable.
20767         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20768         (tan_test_data): New variable.
20769         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20770         (tan_tonearest_test_data): New variable.
20771         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20772         (tan_towardzero_test_data): New variable.
20773         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20774         (tan_downward_test_data): New variable.
20775         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20776         (tan_upward_test_data): New variable.
20777         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20778         (tanh_test_data): New variable.
20779         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20780         (tgamma_test_data): New variable.
20781         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20782         (trunc_test_data): New variable.
20783         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20784         (y0_test_data): New variable.
20785         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20786         (y1_test_data): New variable.
20787         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20788         (significand_test_data): New variable.
20789         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20790
20791 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
20792
20793         [BZ #12387]
20794         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20795
20796 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20797
20798         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20799
20800 2013-05-10  Andreas Jaeger  <aj@suse.de>
20801
20802         [BZ #15448]
20803         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20804         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20805
20806 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
20807
20808         * math/gen-libm-test.pl (adjust_arg): New function.
20809         (special_functions): Handle generating output in both functions
20810         and arrays.
20811         (parse_args): Likewise.
20812         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
20813         $in_func argument to parse_args.
20814         * math/libm-test.inc (struct test_f_f_data): New type.
20815         (IF_ROUND_INIT_): New macro.
20816         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20817         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20818         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20819         (IF_ROUND_INIT_FE_UPWARD): Likewise.
20820         (ROUND_RESTORE_): Likewise.
20821         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20822         (ROUND_RESTORE_FE_TONEAREST): Likewise.
20823         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20824         (ROUND_RESTORE_FE_UPWARD): Likewise.
20825         (RUN_TEST_LOOP_f_f): New macro.
20826         (acos_test_data): New variable.
20827         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20828         (acos_tonearest_test_data): New variable.
20829         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20830
20831 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20832
20833         * benchtests/bench-skeleton.c (startup): Fix coding style.
20834
20835 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
20836
20837         [BZ #6809]
20838         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20839         negative infinity argument.
20840         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20841         negative infinity argument.
20842         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20843         negative infinity argument.
20844         * math/libm-test.inc (tgamma_test): Expect errno to be set for
20845         domain errors.
20846
20847 2013-05-10  Florian Weimer  <fweimer@redhat.com>
20848
20849         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20850         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20851         * iconv/iconv_prog.c (main): Likewise.
20852         * locale/programs/charmap-dir.c (charmap_readdir)
20853         (fopen_uncompressed): Likewise.
20854         * locale/programs/locfile.c (siblings_uncached)
20855         (write_locale_data): Use lstat64 instead of lstat.
20856         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20857         stat.
20858
20859 2013-05-10  Andreas Jaeger  <aj@suse.de>
20860
20861         [BZ #15395]
20862         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20863         localization.
20864         Include <locale.h>.
20865
20866 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
20867
20868         * elf/dl-close.c (_dl_close_worker): Add comments.
20869
20870 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
20871
20872         [BZ #15359]
20873         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20874         high part of pi/2.
20875         (__ieee754_rem_pio2l): Update comments.
20876
20877         [BZ #15429]
20878         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20879         high part of pi/2.
20880         (__ieee754_rem_pio2l): Update comments.
20881
20882         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20883         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20884
20885         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20886         M_PI_4l.
20887
20888         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20889         (M_PI_34_LOG10El): Likewise.
20890         (M_PI2_LOG10El): Likewise.
20891         (M_PI4_LOG10El): Likewise.
20892         (M_PI_LOG10El): Likewise.
20893
20894 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20895
20896         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20897
20898 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
20899
20900         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20901         (MINUS_ZERO_INIT): Likewise.
20902         (PLUS_INFTY_INIT): Likewise.
20903         (MINUS_INFTY_INIT): Likewise.
20904         (QNAN_VALUE_INIT): Likewise.
20905         (MAX_VALUE_INIT): Likewise.
20906         (MIN_VALUE_INIT): Likewise.
20907         (MIN_SUBNORM_VALUE_INIT): Likewise.
20908         (plus_zero): Initialize with PLUS_ZERO_INIT.
20909         (minus_zero): Initialize with MINUS_ZERO_INIT.
20910         (plus_infty): Initialize with PLUS_INFTY_INIT.
20911         (minus_infty): Initialize with MINUS_INFTY_INIT.
20912         (qnan_value): Initialize with QNAN_VALUE_INIT.
20913         (max_value): Initialize with MAX_VALUE_INIT.
20914         (min_value): Initialize with MIN_VALUE_INIT.
20915         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20916
20917         * math/libm-test.inc (RUN_TEST_if_f): New macro.
20918         (jn_test): Use TEST_if_f instead of TEST_ff_f.
20919         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20920         (yn_test): Use TEST_if_f instead of TEST_ff_f.
20921
20922         * math/libm-test.inc (RUN_TEST_f_f): New macro.
20923         (RUN_TEST_2_f): Likewise.
20924         (RUN_TEST_ff_f): Likewise.
20925         (RUN_TEST_fi_f): Likewise.
20926         (RUN_TEST_fl_f): Likewise.
20927         (RUN_TEST_fff_f): Likewise.
20928         (RUN_TEST_c_f): Likewise.
20929         (RUN_TEST_f_f1): Likewise.
20930         (RUN_TEST_fF_f1): Likewise.
20931         (RUN_TEST_fI_f1): Likewise.
20932         (RUN_TEST_ffI_f1): Likewise.
20933         (RUN_TEST_c_c): Likewise.
20934         (RUN_TEST_cc_c): Likewise.
20935         (RUN_TEST_f_i): Likewise.
20936         (RUN_TEST_f_i_tg): Likewise.
20937         (RUN_TEST_ff_i_tg): Likewise.
20938         (RUN_TEST_f_b): Likewise.
20939         (RUN_TEST_f_b_tg): Likewise.
20940         (RUN_TEST_f_l): Likewise.
20941         (RUN_TEST_f_L): Likewise.
20942         (RUN_TEST_sincos): Likewise.
20943         * math/gen-libm-test.pl (new_test): Take new argument to indicate
20944         whether to show exceptions.  Do not include ");\n" in return
20945         value.
20946         (special_functions): Output call to RUN_TEST_sincos instead of
20947         check_float calls.  Update calls to new_test.
20948         (parse_args): Output call to single RUN_TEST_* macro instead of
20949         check_* calls and other assignments.  Update calls to new_test.
20950
20951         [BZ #2546]
20952         [BZ #2560]
20953         [BZ #5159]
20954         [BZ #15426]
20955         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20956         input to result for tgamma overflow.
20957         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20958         (gamma_coeff): New variable.
20959         (NCOEFF): New macro.
20960         (gamma_positive): New function.
20961         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20962         underflow here.  Use gamma_positive instead of exp (lgamma) for
20963         other arguments.
20964         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20965         (gamma_coeff): New variable.
20966         (NCOEFF): New macro.
20967         (gammaf_positive): New function.
20968         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20969         underflow here.  Use gamma_positive instead of exp (lgamma) for
20970         other arguments.
20971         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20972         (gamma_coeff): New variable.
20973         (NCOEFF): New macro.
20974         (gammal_positive): New function.
20975         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20976         underflow here.  Use gamma_positive instead of exp (lgamma) for
20977         other arguments.
20978         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20979         (gamma_coeff): New variable.
20980         (NCOEFF): New macro.
20981         (gammal_positive): New function.
20982         (__ieee754_gammal_r): Handle positive infinity, overflow and
20983         underflow here.  Handle NaN the same as positive infinity.  Remove
20984         check x < 0xffffffff for negative integers.  Use gamma_positive
20985         instead of exp (lgamma) for other arguments.
20986         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20987         (gamma_coeff): New variable.
20988         (NCOEFF): New macro.
20989         (gammal_positive): New function.
20990         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20991         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20992         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20993         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20994         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20995         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20996         * sysdeps/generic/math_private.h (__gamma_productf): New
20997         prototype.
20998         (__gamma_product): Likewise.
20999         (__gamma_productl): Likewise.
21000         * math/Makefile (libm-calls): Add gamma_product.
21001         * math/libm-test.inc (tgamma_test): Add more tests.
21002         * sysdeps/i386/fpu/libm-test-ulps: Update.
21003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21004
21005 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
21006
21007         * benchtests/bench-skeleton.c (main): Preheat CPU.
21008
21009 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
21010
21011         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21012
21013 2013-05-07  Roland McGrath  <roland@hack.frob.com>
21014
21015         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21016         and _dl_skip_args_internal.
21017
21018 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
21019
21020         * manual/message.texi (Message Translation): Talk about users.
21021         Message to key mapping impacts design.
21022
21023 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21024
21025         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21026
21027         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21028
21029         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21030         * sysdeps/wordsize-64/glob64.c: ... here.
21031
21032         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21033         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21034         New macros.
21035
21036         * debug/getlogin_r_chk.c: Moved to ...
21037         * login/getlogin_r_chk.c: ... here.
21038         * debug/Makefile (routines): Move getlogin_r_chk to ...
21039         * login/Makefile (routines): ... here.
21040         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21041         * login/Versions (libc: GLIBC_2.4): ... here.
21042
21043         * io/poll.c (__poll): Renamed from poll.
21044         Add libc_hidden_def.
21045         (poll): Define as weak alias.
21046
21047         * debug/ptsname_r_chk.c: Moved to ...
21048         * login/ptsname_r_chk.c: ... here.
21049         * debug/Makefile (routines): Move ptsname_r_chk to ...
21050         * login/Makefile (routines): ... here.
21051         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21052         * login/Versions (libc: GLIBC_2.4): ... here.
21053
21054         * posix/getlogin.c: Moved to ...
21055         * login/getlogin.c: ... here.
21056         * posix/getlogin_r.c: Moved to ...
21057         * login/getlogin_r.c: ... here.
21058         * posix/getlogin_r.c: Moved to ...
21059         * login/getlogin_r.c: ... here.
21060         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21061         * login/Makefile (routines): ... here.
21062         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21063         * login/Versions (libc: GLIBC_2.0): ... here.
21064
21065         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21066         (setrlimit): Define as weak alias.
21067
21068         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21069         Call __ names for open, ftruncate, and close.
21070         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21071         (truncate): Define as weak alias.
21072
21073 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
21074
21075         * math/gen-libm-test.pl (parse_args): Initialize x before each
21076         test of frexp, modf and remquo.
21077
21078         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21079         test signgam value.
21080
21081 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21082
21083         [BZ #15418]
21084         [BZ #15419]
21085         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21086         internal tests.
21087         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21088
21089 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21090
21091         * elf/dl-writev.h: New file.
21092         * elf/dl-misc.c: Include it.
21093         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21094         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21095
21096 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
21097
21098         * math/libm-test.inc (noXFails): Remove variable.
21099         (noXPasses): Likewise.
21100         (BUILD_COMPLEX_INT): Remove macro.
21101         (print_screen): Remove xfail argument.
21102         (print_screen_max_error): Likewise.
21103         (update_stats): Likewise.
21104         (print_max_error): Likewise.  Update calls to other affected
21105         functions.
21106         (print_complex_max_error): Likewise.
21107         (test_single_exception): Update calls to print_screen.
21108         (test_single_errno): Likewise.
21109         (check_float_internal): Remove xfail argument.  Update calls to
21110         other affected functions.
21111         (check_float): Likewise.
21112         (check_complex): Likewise.
21113         (check_int): Likewise.
21114         (check_long): Likewise.
21115         (check_bool): Likewise.
21116         (check_longlong): Likewise.
21117         (main): Don't print noXFails and noXPasses.
21118         * math/gen-libm-test.pl (top level): Don't mention expected
21119         failure handling in comment.
21120         (new_test): Don't handle expected failures.
21121         (parse_args): Don't mention expected failure handling in comment.
21122         (generate_testfile): Don't handle expected failures.
21123         (parse_ulps): Likewise.
21124         (print_ulps_file): Likewise.
21125         (get_failure): Remove function.
21126         (output_test): Don't handle expected failures.
21127         * make/README.libm-test: Don't mention expected failure handling.
21128
21129         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
21130         (minus_zero): Likewise.
21131         (plus_infty): Likewise.
21132         (minus_infty): Likewise.
21133         (qnan_value): Likewise.
21134         (max_value): Likewise.
21135         (min_value): Likewise.
21136         (min_subnorm_value): Likewise.
21137         (initialize): Do not initialize those variables dynamically.
21138
21139 2013-05-03  Roland McGrath  <roland@hack.frob.com>
21140
21141         * io/open.c (__open_2): Moved to ...
21142         * io/open_2.c: ... this new file.
21143         * io/open64.c (__open64_2): Moved to ...
21144         * io/open64_2.c: ... this new file.
21145         * io/openat.c (__openat_2): Moved to ...
21146         * io/openat_2.c: ... this new file.
21147         * io/openat64.c (__openat64_2): Moved to ...
21148         * io/openat64_2.c: ... this new file.
21149         * io/Makefile (routines): Add them.
21150         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21151         * sysdeps/unix/sysv/linux/open_2.c: File removed.
21152         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21153         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21154         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21155         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21156         (__openat64): Add hidden_ver.
21157         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21158         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21159
21160         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21161         Separately conditionalize setting of GLRO(dl_sysinfo) so
21162         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21163         as well, but the actual setting is only under [NEED_DL_SYSINFO].
21164
21165 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21166
21167         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21168         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21169         definition.
21170         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21171         * sysdeps/unix/sysv/linux/powerpc/init-first.c
21172         (_libc_vdso_platform_setup): Add __vdso_time initialization.
21173         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21174         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21175
21176 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
21177
21178         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21179         test signgam value.
21180
21181         * math/libm-test.inc (hypot_test): Do not use
21182         IGNORE_ZERO_INF_SIGN.
21183
21184 2013-05-03  Andreas Jaeger  <aj@suse.de>
21185
21186         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21187         Linux 3.9.
21188         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21189         (PF_MAX): Adjust for VSOCK change.
21190
21191 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21192
21193         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21194
21195 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
21196
21197         [BZ #15264]
21198         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21199         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21200         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21201
21202 2013-05-02  David S. Miller  <davem@davemloft.net>
21203
21204         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21205
21206 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
21207
21208         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21209
21210 2013-05-01  Roland McGrath  <roland@hack.frob.com>
21211
21212         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21213
21214 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
21215
21216         [BZ #14952]
21217         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21218         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21219         Use __attribute__ ((__gnu_inline__)).
21220         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21221         Don't use __attribute__ ((__gnu_inline__)).
21222
21223 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
21224
21225         [BZ #15423]
21226         * math/s_catan.c (__catan): Handle small real or imaginary part of
21227         input specially to avoid spurious underflow.
21228         * math/s_catanf.c (__catanf): Likewise.
21229         * math/s_catanh.c (__catanh): Likewise.
21230         * math/s_catanhf.c (__catanhf): Likewise.
21231         * math/s_catanhl.c (__catanhl): Likewise.
21232         * math/s_catanl.c (__catanl): Likewise.
21233         * math/libm-test.inc (catan_test): Add more tests.
21234         (catanh_test): Likewise.
21235         * sysdeps/i386/fpu/libm-test-ulps: Update.
21236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21237
21238 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21239
21240         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21241
21242 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
21243
21244         [BZ #15416]
21245         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21246         accurately for denominator in atan2.
21247         * math/s_catanf.c (__catanf): Likewise.
21248         * math/s_catanh.c (__catanh): Likewise.
21249         * math/s_catanhf.c (__catanhf): Likewise.
21250         * math/s_catanhl.c (__catanhl): Likewise.
21251         * math/s_catanl.c (__catanl): Likewise.
21252         * math/libm-test.inc (catan_test): Add more tests.
21253         (catanh_test): Likewise.
21254         * sysdeps/i386/fpu/libm-test-ulps: Update.
21255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21256
21257 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21258
21259         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21260
21261         * benchtests/Makefile (bench): Remove slow benchmarks.
21262         * benchtests/atan-inputs: Add slow benchmark inputs.
21263         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21264         (BENCH_FUNC): Accept variant offset.
21265         (VARIANT): Define.
21266         * benchtests/bench-skeleton.c (main): Run benchmark for each
21267         variant.
21268         * benchtests/cos-inputs: Add slow benchmark inputs.
21269         * benchtests/exp-inputs: Likewise.
21270         * benchtests/pow-inputs: Likewise.
21271         * benchtests/sin-inputs: Likewise.
21272         * benchtests/slowatan-inputs: Remove.
21273         * benchtests/slowatan.c: Remove.
21274         * benchtests/slowcos-inputs: Remove.
21275         * benchtests/slowcos.c: Remove.
21276         * benchtests/slowexp-inputs: Remove.
21277         * benchtests/slowexp.c: Remove.
21278         * benchtests/slowpow-inputs: Remove.
21279         * benchtests/slowpow.c: Remove.
21280         * benchtests/slowsin-inputs: Remove.
21281         * benchtests/slowsin.c: Remove.
21282         * benchtests/slowtan-inputs: Remove.
21283         * benchtests/slowtan.c: Remove.
21284         * benchtests/tan-inputs: Add slow benchmark inputs.
21285         * scripts/bench.pl: Parse comments and directives.
21286
21287         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
21288         in CPPFLAGS.
21289         ($(objpfx)bench-%.c): Remove *-ITER.
21290         * benchtests/bench-modf.c: Remove definition of ITER.
21291         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21292         (main): Loop for DURATION seconds instead of fixed number of
21293         iterations.
21294         * scripts/bench.pl: Don't expect iterations in parameters.
21295
21296 2013-04-29  Roland McGrath  <roland@hack.frob.com>
21297
21298         * io/fchdir.c (__fchdir): Renamed from fchdir.
21299         (fchdir): Define as weak alias.
21300
21301 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21302
21303         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21304         (ERRNO_EDOM): Likewise.
21305         (ERRNO_ERANGE): Likewise.
21306         (noErrnoTests): New variable.
21307         (init_max_error): Set errno to 0.
21308         (test_single_errno): New function.
21309         (test_errno): Likewise.
21310         (check_float_internal): Call test_errno.  Set errno to 0.
21311         (check_complex): Refer to errno tests in comment.
21312         (check_int): Call test_errno.  Set errno to 0.
21313         (check_long): Likewise.
21314         (check_bool): Likewise.
21315         (check_longlong): Likewise.
21316         (cos_test): Use ERRNO_* flags for errno tests instead of
21317         check_int.
21318         (expm1_test): Likewise.
21319         (fmod_test): Likewise.
21320         (ilogb_test): Likewise.
21321         (lgamma_test): Likewise.
21322         (pow_test): Likewise.
21323         (remainder_test): Likewise.
21324         (sin_test): Likewise.
21325         (tan_test): Likewise.
21326         (yn_test): Likewise.
21327         (initialize): Set errno to 0.
21328         (main): Print number of errno tests.
21329         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21330
21331 2013-04-29  Andreas Jaeger  <aj@suse.de>
21332
21333         [BZ #15084]
21334         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21335         and RES_USEVC.
21336
21337         [BZ #15085]
21338         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21339         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21340         unimplemented.
21341
21342         [BZ #15380]
21343         * stdlib/random.c (__initstate): Return NULL if
21344         __initstate fails.
21345
21346         [BZ #15086]
21347         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21348         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21349         RES_SNGLKUPREOP.
21350
21351 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21352
21353         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21354
21355 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21356
21357         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21358         of individual tests.
21359         (casin_test): Likewise.
21360         (casinh_test): Likewise.
21361
21362 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
21363
21364         [BZ #15409]
21365         * math/s_catan.c (__catan): Handle arguments with large real or
21366         imaginary part separately without squaring.
21367         * math/s_catanf.c (__catanf): Likewise.
21368         * math/s_catanh.c (__catanh): Likewise.
21369         * math/s_catanhf.c (__catanhf): Likewise.
21370         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21371         and redefine.
21372         (__catanhl): Handle arguments with large real or imaginary part
21373         separately without squaring.
21374         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21375         and redefine.
21376         (__catanl): Handle arguments with large real or imaginary part
21377         separately without squaring.
21378         * math/libm-test.inc (catan_test): Add more tests.
21379         (catanh_test): Likewise.
21380         * sysdeps/i386/fpu/libm-test-ulps: Update.
21381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21382
21383 2013-04-27  Andreas Jaeger  <aj@suse.de>
21384
21385         [BZ #15007]
21386         * stdlib/stdlib.h: Update guards for qecvt.
21387         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21388         <stdlib.h>.
21389
21390 2013-04-27  Allan McRae  <allan@archlinux.org>
21391
21392         * sysdeps/i386/fpu/libm-test-ulps: Update.
21393
21394 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
21395
21396         [BZ #15406]
21397         * math/s_catan.c: Include <float.h>.
21398         (__catan): Ensure underflow exception occurs for underflowed
21399         result.
21400         * math/s_catanf.c: Include <float.h>.
21401         (__catanf): Ensure underflow exception occurs for underflowed
21402         result.
21403         * math/s_catanh.c: Include <float.h>.
21404         (__catanh): Ensure underflow exception occurs for underflowed
21405         result.
21406         * math/s_catanhf.c: Include <float.h>.
21407         (__catanhf): Ensure underflow exception occurs for underflowed
21408         result.
21409         * math/s_catanhl.c: Include <float.h>.
21410         (__catanhl): Ensure underflow exception occurs for underflowed
21411         result.
21412         * math/s_catanl.c: Include <float.h>.
21413         (__catanl): Ensure underflow exception occurs for underflowed
21414         result.
21415         * math/libm-test.inc (catan_test): Add more tests.
21416         (catanh_test): Likewise.
21417
21418         [BZ #15405]
21419         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21420         underflowed result.
21421         * math/s_ccoshf.c (__ccoshf): Likewise.
21422         * math/s_ccoshl.c (__ccoshl): Likewise.
21423         * math/s_csin.c (__csin): Likewise.
21424         * math/s_csinf.c (__csinf): Likewise.
21425         * math/s_csinh.c (__csinh): Likewise.
21426         * math/s_csinhf.c (__csinhf): Likewise.
21427         * math/s_csinhl.c (__csinhl): Likewise.
21428         * math/s_csinl.c (__csinl): Likewise.
21429         * math/libm-test.inc (ccos_test): Add more tests.
21430         (ccosh_test): Likewise.
21431         (csin_test): Likewise.
21432         (csinh_test): Likewise.
21433
21434 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21435
21436         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21437         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21438         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21439         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21440         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21441         powerpc/power5+/fpu folders.
21442         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21443
21444
21445 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
21446
21447         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21448
21449 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
21450
21451         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21452         additions to variable.
21453         [$(config-machine) = x86_64] (modules-names): Likewise.
21454         ($(objpfx)tst-audit3): Remove dependency.
21455         ($(objpfx)tst-audit3.out): Likewise.
21456         ($(objpfx)tst-audit4): Likewise.
21457         ($(objpfx)tst-audit4.out): Likewise.
21458         ($(objpfx)tst-audit5): Likewise.
21459         ($(objpfx)tst-audit5.out): Likewise.
21460         ($(objpfx)tst-audit6): Likewise.
21461         ($(objpfx)tst-audit6.out): Likewise.
21462         ($(objpfx)tst-audit7): Likewise.
21463         ($(objpfx)tst-audit7.out): Likewise.
21464         (tst-audit3-ENV): Remove variable.
21465         (tst-audit4-ENV): Likewise.
21466         (tst-audit5-ENV): Likewise.
21467         (tst-audit6-ENV): Likewise.
21468         (tst-audit7-ENV): Likewise.
21469         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21470         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21471         addition to variable.
21472         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21473         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21474         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21475         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21476         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21477         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21478         tst-audit3, tst-audit4 and tst-audit5.
21479         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21480         tst-audit6 and tst-audit7.
21481         [$(subdir) = elf] (modules-names): Add audit modules for those
21482         tests.
21483         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21484         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21485         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21486         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21487         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21488         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21489         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21490         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21491         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21492         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21493         [$(subdir) = elf] (tst-audit3-ENV): New variable.
21494         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21495         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21496         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21497         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21498         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21499         Likewise.
21500         [$(subdir) = elf && $(config-cflags-avx) = yes]
21501         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21502         [$(subdir) = elf && $(config-cflags-avx) = yes]
21503         (CFLAGS-tst-auditmod4a.c): Likewise.
21504         [$(subdir) = elf && $(config-cflags-avx) = yes]
21505         (CFLAGS-tst-auditmod4b.c): Likewise.
21506         [$(subdir) = elf && $(config-cflags-avx) = yes]
21507         (CFLAGS-tst-auditmod6b.c): Likewise.
21508         [$(subdir) = elf && $(config-cflags-avx) = yes]
21509         (CFLAGS-tst-auditmod6c.c): Likewise.
21510         [$(subdir) = elf && $(config-cflags-avx) = yes]
21511         (CFLAGS-tst-auditmod7b.c): Likewise.
21512         * elf/tst-audit3.c: Move to ...
21513         * sysdeps/x86_64/tst-audit3.c: ... here.
21514         * elf/tst-audit4.c: Move to ...
21515         * sysdeps/x86_64/tst-audit4.c: ... here.
21516         * elf/tst-audit5.c: Move to ...
21517         * sysdeps/x86_64/tst-audit5.c: ... here.
21518         * elf/tst-audit6.c: Move to ...
21519         * sysdeps/x86_64/tst-audit6.c: ... here.
21520         * elf/tst-audit7.c: Move to ...
21521         * sysdeps/x86_64/tst-audit7.c: ... here.
21522         * elf/tst-auditmod3a.c: Move to ...
21523         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21524         * elf/tst-auditmod3b.c: Move to ...
21525         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21526         * elf/tst-auditmod4a.c: Move to ...
21527         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21528         * elf/tst-auditmod4b.c: Move to ...
21529         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21530         * elf/tst-auditmod5a.c: Move to ...
21531         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21532         * elf/tst-auditmod5b.c: Move to ...
21533         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21534         * elf/tst-auditmod6a.c: Move to ...
21535         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21536         * elf/tst-auditmod6b.c: Move to ...
21537         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21538         * elf/tst-auditmod6c.c: Move to ...
21539         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21540         * elf/tst-auditmod7a.c: Move to ...
21541         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21542         * elf/tst-auditmod7b.c: Move to ...
21543         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21544
21545 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
21546
21547         [BZ #15366]
21548         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21549         define unconditionally.
21550         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21551         define unconditionally.
21552         (INT8_C, INT16_C, etc.): Likewise.
21553
21554 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
21555
21556         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21557         __ehdr_start with hidden visibility.
21558
21559         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21560
21561 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
21562
21563         * math/libm-test.inc (cos_test): Use accurate hex constants.
21564         (sincost_test): Likewise.
21565
21566 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
21567
21568         * math/libm-test.inc (catan_test): Add more tests.
21569         (catanh_test): Likewise.
21570
21571         * math/s_catanf.c (__catanf): Use suffixed floating-point
21572         constants.
21573         * math/s_catanhf.c (__catanhf): Likewise.
21574         * math/s_catanhl.c (__catanhl): Likewise.
21575         * math/s_catanl.c (__catanl): Likewise.
21576
21577         [BZ #15394]
21578         * math/s_catan.c (__catan): Calculate imaginary part of result
21579         with log1p not log unless computing log of number close to 0.
21580         * math/s_catanf.c (__catanf): Likewise.
21581         * math/s_catanl.c (__catanl): Likewise.
21582         * math/s_catanh.c (__catanh): Calculate real part of result with
21583         log1p not log unless computing log of number close to 0.
21584         * math/s_catanhf.c (__catanhf): Likewise.
21585         * math/s_catanhl.c (__catanhl): Likewise.
21586         * math/libm-test.inc (catan_test): Add more tests.
21587         (catanh_test): Likewise.
21588         * sysdeps/i386/fpu/libm-test-ulps: Update.
21589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21590
21591 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21592
21593         * benchtests/Makefile: Mention files in which fast and slow
21594         paths of math functions are implemented.
21595
21596 2013-04-23  Roland McGrath  <roland@hack.frob.com>
21597
21598         * sysdeps/posix/timespec_get.c: New file.
21599
21600 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21601
21602         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21603         POWER.
21604         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21605         for POWER.
21606         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21607         powerpc/power5/fpu folders.
21608         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21609         * benchtests/Makefile: Add modf testcase.
21610         * benchtests/bench-modf.c: New file: Benchmark test for mo
21611
21612 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21613
21614         [BZ #14888]
21615         * time/Makefile (tests): Add tst-strptime-whitespace.
21616         * time/strptime_l.c (get_number): Use ISSPACE.
21617         (__strptime_internal): Likewise.
21618         * time/tst-strptime-whitespace.c: New test case.
21619
21620 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
21621
21622         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21623         member.
21624         (_nss_files_init): Set it here.
21625
21626 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
21627
21628         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21629         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21630         unsigned.
21631
21632 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
21633
21634         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21635
21636 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21637
21638         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21639         size just once.
21640
21641 2013-04-21  David S. Miller  <davem@davemloft.net>
21642
21643         * po/ru.po: Update Russion translation from translation project.
21644
21645 2013-04-17  Adam Conrad  <adconrad@0c3.net>
21646
21647         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21648         and setfsgid.
21649
21650 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
21651
21652         * configure.in: Remove i386 configure warning. Remove i386 case.
21653         * configure: Regenerate.
21654         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21655         Add example to error message.
21656         * sysdeps/i386/configure: Regenerate.
21657
21658 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21659
21660         * benchtests/Makefile (bench): Add cos, tan, slowcos and
21661         slowtan.
21662         * benchtests/cos-inputs: New file.
21663         * benchtests/slowcos-inputs: New file.
21664         * benchtests/slowcos.c: New file.
21665         * benchtests/slowtan-inputs: New file.
21666         * benchtests/slowtan.c: New file.
21667         * benchtests/tan-inputs: New file.
21668
21669 2013-04-16  Roland McGrath  <roland@hack.frob.com>
21670
21671         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21672         considered kosher.
21673
21674 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21675
21676         * benchtests/Makefile: Include cppflags-iterator.mk to add
21677         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21678
21679         * Makefile.in (bench-clean): New target.
21680         * benchtests/Makefile (bench-clean): Likewise.
21681
21682 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
21683
21684         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21685
21686 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
21687
21688         * stdio-common/tstdiomisc.c: Fix coding-style violation.
21689
21690 2013-04-15  Andreas Schwab  <schwab@suse.de>
21691
21692         * nscd/grpcache.c (cache_addgr): Properly check for short write.
21693         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21694         * nscd/pwdcache.c (cache_addpw): Likewise.
21695         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
21696         more than recsize.
21697
21698 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21699
21700         * benchtests/Makefile (bench): Write all output to
21701         bench-out.tmp together.
21702
21703 2013-04-15  Andreas Schwab  <schwab@suse.de>
21704
21705         * nscd/nscd.c (main): Don't fork again after closing files.
21706
21707 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21708
21709         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21710
21711         * benchtests/Rules (bench-deps): Collect dependencies into a
21712         single variable.  Add Makefile to dependencies.
21713         ($(objpfx)bench-%.c): Depend on bench-deps.
21714
21715 2013-04-12  Roland McGrath  <roland@hack.frob.com>
21716             Xavier Roche  <roche+kml2@exalead.com>
21717
21718         [BZ #15361]
21719         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21720         just that it's a file descriptor.
21721         * manual/llio.texi (Synchronizing AIO Operations): Update description
21722         for EBADF error from aio_fsync.
21723
21724 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21725
21726         * Rules (bench): Move target definition...
21727         * benchtests/Makefile: ... here.
21728
21729 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
21730
21731         * math/libm-test.inc (cos_test): Fix PI/2 test.
21732         (sincos_test): Likewise.
21733         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21734         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21735
21736 2013-04-11  Andreas Schwab  <schwab@suse.de>
21737
21738         [BZ #13988]
21739         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21740         accept exponent character only when digits were seen.
21741         * stdio-common/Makefile (tests): Add bug26.
21742         * stdio-common/bug26.c: New file.
21743
21744         [BZ #14293]
21745         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21746         non-freeable.
21747
21748 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21749
21750         * Makeconfig (rtld-prefix): Define built linker prefix.
21751         * Rules (run-bench): Use it.
21752         * math/Makefile (run-regen-ulps): Likewise.
21753
21754         * Rules (bench): Remove eval.
21755
21756 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21757             Roland McGrath  <roland@hack.frob.com>
21758             Ondrej Bilka  <neleai@seznam.cz>
21759
21760         [BZ #15346]
21761         * time/getdate.c: Include ctype.h and alloca.h.
21762         (__getdate_r): Trim leading and trailing spaces of input.
21763         * time/tst-getdate.c (tests): Add tests with leading and
21764         trailing spaces.
21765
21766 2013-04-08  Roland McGrath  <roland@hack.frob.com>
21767
21768         [BZ #14280]
21769         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21770         when computing value.
21771
21772 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21773
21774         * math/README.libm-test (How can I generate "libm-test-ulps"?):
21775         Use testrun.sh to run libm tests.
21776
21777         [BZ #15309]
21778         * elf/dl-open.c (dl_open_worker): memset all of seen array.
21779
21780 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
21781
21782         [BZ #15264]
21783         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21784
21785 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21786
21787         * Makefile.in (regen-ulps): New target.
21788         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21789         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21790         [ifneq (no,$(PERL)] (regen-ulps): New target.
21791         [ifeq (no,$(PERL)] (regen-ulps): New target.
21792         * math/libm-test.inc (ulps_file_name): Define.
21793         (output_dir): New variable.
21794         (options): Add "output-dir" option.
21795         (parse_opt): Handle 'o' case.
21796         (main): If output_dir is non-NULL use it as a prefix
21797         otherwise use "".
21798         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21799
21800 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21801
21802         [BZ #10060, #10062]
21803         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21804         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21805         fail configure if __sync_val_compare_and_swap is not inlined.
21806         * sysdeps/i386/configure: Regenerate.
21807         * configure.in: Build for i686 when configured for i386.
21808         * configure: Regenerate.
21809         * README: Remove i386 reference.
21810
21811 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21812
21813         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21814         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21815
21816 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
21817
21818         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21819         (lmsnanval): New variables.
21820         (F): Add conversion tests.
21821         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21822         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21823
21824         * stdio-common/tstdiomisc.c (F): Properly collect individual
21825         tests' results.
21826
21827         [BZ #14686, #15336]
21828         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21829         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21830         Instead, use input NaN values or generate a qNaN by arithmetic
21831         operation.  Also fix bugs to comply with the standard.
21832         * math/libm-test.inc (remainder_test): Add more tests.
21833
21834         [BZ #15335, #15342]
21835         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21836         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21837         input NaN values or generate a qNaN by arithmetic operation.
21838
21839         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21840         unreachable code.
21841
21842         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21843         definitions.
21844
21845 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
21846
21847         [BZ #14478]
21848         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21849         underflowed result.
21850         * math/s_cexpf.c (__cexpf): Likewise.
21851         * math/s_cexpl.c (__cexpl): Likewise.
21852         * math/libm-test.inc (cexp_test): Add more tests.
21853
21854 2013-04-03  Andreas Schwab  <schwab@suse.de>
21855
21856         [BZ #15330]
21857         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21858         order arrays from heap if bigger than alloca cutoff.
21859
21860 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
21861
21862         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21863         (SNAN_TESTS_double): Refer to GCC PR56831.
21864         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21865         GCC PR56828.
21866
21867 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21868
21869         * Rules (bench): Move bench.out after the run is complete.
21870
21871         * Rules (bench): Echo currently running benchmark.
21872
21873         * benchtests/Makefile (bench): Add atan and slowatan.
21874         * benchtests/atan-inputs: New file.
21875         * benchtests/slowatan-inputs: New file.
21876         * benchtests/slowatan.c: New file.
21877
21878         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21879         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21880         its value.
21881
21882         [BZ #15305]
21883         * sysdeps/unix/sysv/linux/kernel-features.h
21884         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21885         __ASSUME_XFS_RESTRICTED_CHOWN.
21886         * sysdeps/unix/sysv/linux/pathconf.c
21887         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21888         Save and restore errno.
21889
21890 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
21891
21892         [BZ #15327]
21893         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21894         arguments using __kernel_casinh.
21895         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21896         arguments using __kernel_casinhf.
21897         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21898         arguments using __kernel_casinhl.
21899         * math/libm-test.inc (cacosh_test): Add more tests.
21900         * sysdeps/i386/fpu/libm-test-ulps: Update.
21901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21902
21903 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21904
21905         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21906         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21907
21908         * bench/Makefile (bench): Add sin and slowsin.
21909         * benchtests/sin-inputs: New file.
21910         * benchtests/slowsin-inputs: New file.
21911         * benchtests/slowsin.c: New file.
21912
21913         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21914         (bench): Add slowexp and slowpow.
21915         (exp-ITER): Increase iterations.
21916         (pow-ITER): Likewise.
21917         * benchtests/exp-inputs: Change input.
21918         * benchtests/pow-inputs: Likewise.
21919         * benchtests/slowexp-inputs: New file.
21920         * benchtests/slowexp.c: New file.
21921         * benchtests/slowpow-inputs: New file.
21922         * benchtests/slowpow.c: New file.
21923
21924 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21925
21926         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21927         instructions.
21928         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21929         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21930         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21931         * benchtests/Makefile: Add rint benchtest.
21932         * benchtests/rint-inputs: Input for rint benchtest.
21933
21934 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
21935
21936         * Versions.def (libm): Add GLIBC_2.18.
21937         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21938         hidden libm prototypes.
21939         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21940         * math/Makefile (libm-calls): Add s_issignaling.
21941         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21942         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
21943         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21944         declaration.
21945         * math/math.h [__USE_GNU] (issignaling): New macro.
21946         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21947         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21948         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21949         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21950         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21951         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21952         * manual/arith.texi (issignaling): New section.
21953         * manual/libm-err-tab.pl (@all_functions): Update comment.
21954         * math/gen-libm-test.pl (parse_args): Apply special handling for
21955         issignaling.
21956         * math/libm-test.inc (print_float, issignaling_test): New
21957         functions.
21958         (check_float_internal): Add issignaling checks.
21959         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21960         default definition.
21961         * sysdeps/powerpc/math-tests.h: New file.
21962         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21963         tests.
21964         * math/test-snan.c (TEST_FUNC): Likewise.
21965
21966 2013-03-30  David S. Miller  <davem@davemloft.net>
21967
21968         * po/de.po: Update from translation team.
21969
21970 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
21971
21972         [BZ #10357]
21973         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21974         imaginary part less than 1.0 and real part less than 0.5
21975         specially.
21976         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21977         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21978         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21979         (cacos_test): Add more tests.
21980         (casin_test): Likewise.
21981         (casinh_test): Likewise.
21982         * sysdeps/i386/fpu/libm-test-ulps: Update.
21983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21984
21985 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21986
21987         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21988         ONE with its value.
21989
21990         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21991         (__pow_mp): Replace ONE and MONE with their values.
21992         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21993         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21994         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21995         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21996         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21997         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21998
21999         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22000
22001         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22002         (__pow_mp): Replace ZERO and MZERO with their values.
22003         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22004         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22005         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22006         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22007         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22008         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22009         (__sqr): Likewise.
22010
22011         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22012
22013         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22014
22015 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22016
22017         * include/stdlib.h [!SHARED] (__call_tls_dtors):
22018         Declare with __attribute__ ((weak)).
22019         * stdlib/exit.c (__libc_atexit) [!SHARED]:
22020         Call __call_tls_dtors only if it's not NULL.
22021
22022 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22023
22024         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22025         didn't do it already, then set _dl_phdr and _dl_phnum based on the
22026         magic __ehdr_start linker symbol if it's defined.
22027         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22028         them up here if it was already done.
22029
22030         * elf/dl-support.c (_dl_phdr): Make pointer to const.
22031         (_dl_aux_init): Use const in cast when setting it.
22032         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22033         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22034         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22035
22036         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22037         Declare them here.
22038         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22039         * csu/libc-tls.c: Nor here.
22040         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22041
22042         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22043         (__libc_message): Never call vsyslog.
22044
22045 2013-03-28  Alan Modra  <amodra@gmail.com>
22046
22047         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22048         Define as empty.
22049         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22050         Likewise.
22051
22052 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22053
22054         [BZ #15214]
22055         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22056         underflow.
22057         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22058
22059 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22060
22061         [BZ #15304]
22062         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22063         Don't add gid passed as argument.
22064
22065         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22066
22067 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
22068
22069         [BZ #15307]
22070         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22071         imaginary part between 1.0 and 1.5 and real part less than 0.5
22072         specially.
22073         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22074         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22075         * math/libm-test.inc (cacos_test): Add more tests.
22076         (casin_test): Likewise.
22077         (casinh_test): Likewise.
22078         * sysdeps/i386/fpu/libm-test-ulps: Update.
22079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22080
22081 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22082
22083         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22084         constants.
22085         (norm): Likewise.
22086         (denorm): Likewise.
22087         (__dbl_mp): Likewise.
22088         (add_magnitudes): Likewise.
22089         (sub_magnitudes): Likewise.
22090         (__add): Likewise.
22091         (__sub): Likewise.
22092         (__mul): Likewise.
22093         (__sqr): Likewise.
22094         (__inv): Likewise.
22095         (__dvd): Likewise.
22096
22097         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22098         commented code.
22099         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22100         (__dubcos): Likewise.
22101         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22102         (__ieee754_acos): Likewise.
22103         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22104         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22105         (__exp1): Likewise.
22106         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22107         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22108         (log1): Likewise.
22109         (my_log2): Likewise.
22110         (checkint): Likewise.
22111         * sysdeps/ieee754/dbl-64/e_remainder.c
22112         (__ieee754_remainder): Likewise.
22113         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22114         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22115         (bsloww): Likewise.
22116         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22117
22118         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22119         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22120         MANTISSA_STORE_T to store computations on mantissa.  Use
22121         macros for rounding and division.
22122         (denorm): Likewise.
22123         (__dbl_mp): Likewise.
22124         (add_magnitudes): Likewise.
22125         (sub_magnitudes): Likewise.
22126         (__mul): Likewise.
22127         (__sqr): Likewise.
22128         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22129         powers of two in terms of TWOPOW macro.
22130         (mp_no): Make type of mantissa as MANTISSA_T.
22131         [!RADIXI]: Define RADIXI.
22132         [!TWO52]: Define TWO52.
22133         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22134
22135 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22136
22137         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22138         llroundl symbol when building for PPC32.
22139
22140 2013-03-24  Mark H Weaver  <mhw@netris.org>
22141
22142         * manual/arith.texi (Normalization Functions): Fix prototypes for
22143         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22144
22145 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22146
22147         [BZ #13889]
22148         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22149         high value to check if expl overflow.
22150         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22151         to check for underflow and overflow.
22152         * math/libm-test.inc: Add exp test.
22153
22154 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
22155
22156         [BZ #11120]
22157         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22158         with NOT_IN_libc.
22159
22160 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22161
22162         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22163         symbol.
22164
22165 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
22166
22167         * math/gen-libm-test.pl (parse_args, special_functions): Properly
22168         wrap blocks consisting of several statements.
22169
22170         * sysdeps/generic/math-tests.h: New file.
22171         * sysdeps/i386/fpu/math-tests.h: Likewise.
22172         * math/test-snan.c: Include it.
22173         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22174
22175 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22176
22177         [BZ #15285]
22178         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22179         (__ieee754_j0l): Do not improve calculations using cos of twice
22180         input for inputs above LDBL_MAX / 2.0L.
22181         (__ieee754_y0l): Likewise.
22182         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22183         (__ieee754_j1l): Do not improve calculations using cos of twice
22184         input for inputs above LDBL_MAX / 2.0L.
22185         (__ieee754_y1l): Likewise.
22186         * math/libm-test.inc (j0_test): Add another test.
22187         (j1_test): Likewise.
22188         (y0_test): Likewise.
22189         (y1_test): Likewise.
22190         * sysdeps/i386/fpu/libm-test-ulps: Update.
22191
22192 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22193
22194         * Rules ($(objpfx)bench-%.c): Include code from a C source
22195         file.
22196
22197 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22198
22199         [BZ #15287]
22200         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22201         imaginary part 1.0 and real part less than 0.5 specially.
22202         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22203         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22204         * math/libm-test.inc (cacos_test): Add more tests.
22205         (casin_test): Likewise.
22206         (casinh_test): Likewise.
22207         * sysdeps/i386/fpu/libm-test-ulps: Update.
22208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22209
22210 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22211
22212         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22213         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22214
22215 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
22216
22217         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22218         * config.make.in (config-cflags-sse4): Remove variable.
22219         (config-cflags-avx): Likewise.
22220         (config-cflags-sse2avx): Likewise.
22221         (config-cflags-novzeroupper): Likewise.
22222         (config-asflags-i686): Likewise.
22223         (have-mfma4): Likewise.
22224         (have-as-vis3): Likewise.
22225         (MIG): Likewise.
22226         * configure.in (MIG): Do not AC_SUBST.
22227         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22228         (libc_cv_cc_sse4): Do not AC_SUBST.
22229         (libc_cv_cc_avx): Likewise.
22230         (libc_cv_cc_sse2avx): Likewise.
22231         (libc_cv_cc_novzeroupper): Likewise.
22232         (libc_cv_cc_fma4): Likewise.
22233         (libc_cv_as_i686): Likewise.
22234         (libc_cv_sparc_as_vis3): Likewise.
22235         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22236         LIBC_CONFIG_VAR.
22237         (config-asflags-i686): Likewise.
22238         (config-cflags-avx): Likewise.
22239         (config-cflags-sse2avx): Likewise.
22240         (have-mfma4): Likewise.
22241         (config-cflags-novzeroupper): Likewise.
22242         * sysdeps/mach/configure.in (MIG): Likewise.
22243         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22244         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22245         LIBC_CONFIG_VAR.
22246         (config-cflags-avx): Likewise.
22247         (config-cflags-sse2avx): Likewise.
22248         (have-mfma4): Likewise.
22249         (config-cflags-novzeroupper): Likewise.
22250         * configure: Regenerated.
22251         * sysdeps/i386/configure: Likewise.
22252         * sysdeps/mach/configure: Likewise.
22253         * sysdeps/sparc/configure: Likewise.
22254         * sysdeps/x86_64/configure: Likewise.
22255
22256 2013-03-20  Roland McGrath  <roland@hack.frob.com>
22257
22258         [BZ #14812]
22259         * locale/programs/localedef.c (options): Put N_ translation marker
22260         on argument names, not just descriptions.
22261
22262 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22263
22264         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22265
22266 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
22267
22268         [BZ #14176]
22269         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22270
22271 2013-03-19  Roland McGrath  <roland@hack.frob.com>
22272
22273         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22274         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22275         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22276         [!BEFORE_ABORT] (before_abort): New function.
22277         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22278         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22279         (writev_for_fatal): New function.
22280         (WRITEV_FOR_FATAL): New macro; call that.
22281         (backtrace_and_maps): New function.
22282         (BEFORE_ABORT): New macro; call that.
22283         (struct str_list): Type removed.
22284         (__libc_message, __libc_fatal): Functions removed.
22285         Include <sysdeps/posix/libc_fatal.c> instead.
22286
22287 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
22288
22289         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22290         constants.
22291         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22292         double constants.
22293
22294 2013-03-19  Andreas Schwab  <schwab@suse.de>
22295
22296         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22297         * sysdeps/gnu/configure: Regenerate.
22298
22299         * configure.in: Substitute libc_cv_rtlddir.
22300         * configure: Regenerate.
22301         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22302         * Makeconfig (rtlddir, inst_rtlddir): New variables.
22303         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22304         * elf/Makefile (install-others, CFLAGS-interp.c)
22305         (ldso_install, common-ldd-rewrite): Likewise.
22306         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22307         $(inst_slibdir)/$(rtld-installed-name).
22308         * scripts/rellns-sh: Add -p option.
22309         * Makerules (make-shlib-link): Use rellns-sh to get relative name
22310         for source.
22311
22312 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22313
22314         * manual/nptl.texi: Renamed to ...
22315         * manual/threads.texi: ... this.
22316         * manual/Makefile (chapters): Update.
22317
22318 2013-03-18  Roland McGrath  <roland@hack.frob.com>
22319
22320         [BZ #14812]
22321         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22322         on argument names, not just descriptions.
22323         * malloc/memusagestat.c (options): Likewise.
22324         * nss/getent.c (options): Likewise.
22325
22326 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
22327
22328         [BZ #14812]
22329         * iconv/iconv_prog.c (options): Put N_ translation marker
22330         on argument names, not just descriptions.
22331         * iconv/iconvconfig.c (options): Likewise.
22332
22333 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
22334
22335         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22336         implementation which is faster on all x86_64 architectures.
22337         Tested on AMD, Intel Nehalem, SNB, IVB.
22338         * sysdeps/x86_64/strnlen.S: Likewise.
22339
22340         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22341         Remove all multiarch strlen and strnlen versions.
22342         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22343         Remove strlen and strnlen related parts.
22344
22345         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22346         Inline strlen part.
22347         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22348
22349         * sysdeps/x86_64/multiarch/strlen.S: Remove.
22350         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22351         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22352         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22353         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22354         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22355
22356 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
22357
22358         * manual/memory.texi (Malloc Tunable Parameters):
22359         Sort parameters alphabetically. Add comments for missing entries.
22360
22361 2013-03-17  David S. Miller  <davem@davemloft.net>
22362
22363         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22364
22365 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
22366
22367         [BZ #15283]
22368         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22369         for arguments at most half maximum finite value.
22370         * math/libm-test.inc (j0_test): Add more tests.
22371         (j1_test): Likewise.
22372         (y0_test): Likewise.
22373         (y1_test): Likewise.
22374         * sysdeps/i386/fpu/libm-test-ulps: Update.
22375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22376
22377         [BZ #14155]
22378         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22379         1 / x and functions P and Q for arguments above 0x1p256L.
22380         (__ieee754_y0l): Likewise.
22381         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22382         (__ieee754_y1l): Likewise.
22383         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22384         (j1_test): Likewise.
22385         (y0_test): Likewise.
22386         (y1_test): Likewise.
22387
22388 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
22389
22390         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22391         variable.
22392
22393 2013-03-15  Roland McGrath  <roland@hack.frob.com>
22394
22395         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22396         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22397         zero since it's initialized to EXEC_PAGESIZE.
22398
22399         * sysdeps/unix/sysv/linux/ldsodefs.h
22400         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22401         * sysdeps/generic/ldsodefs.h: ... here.
22402
22403 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
22404
22405         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22406
22407         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22408         math/test-snan.c.
22409         * math/test-snan.c: Renamed from
22410         sysdeps/powerpc/fpu/test-powerpc-snan.c.
22411         * math/Makefile (tests): Add test-snan.
22412         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22413         test-powerpc-snan.
22414
22415         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22416         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
22417         functions.
22418         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
22419         __builtin_nan family of functions.
22420         * math/libm-test.inc (initialize): Initialize qnan_value with
22421         __builtin_nan family of functions.
22422         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22423         Remove variables.
22424         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22425         Remove functions.
22426         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
22427         storage class.  Initialize qNaN_var and sNaN_var with
22428         __builtin_nan and __builtin_nans families of functions,
22429         respectively.
22430
22431         * math/libm-test.inc (acosh_test): Also test with qNaN input.
22432         (sqrt_test): Remove duplicate test with qNaN input.
22433         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22434         (round_test, signbit_test, significand_test): Note missing +/-Inf
22435         as well as qNaN tests.
22436
22437         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22438         qNaN_var.  Fix a few strings, too.
22439         * math/libm-test.inc (nan_value): Rename to qnan_value.
22440         * math/gen-libm-test.pl (%beautify): Adjust to that.
22441         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22442         * math/test-misc.c (main): Likewise.
22443         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22444         to __qnan_bytes, and __qnan_union, respectively.
22445         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22446         Likewise.
22447         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22448         and lqnanval, respectively.
22449         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22450         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22451         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22452         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22453
22454         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22455         * math/test-misc.c (main) [__x86_64__]: Enable test for long
22456         doubles.
22457
22458         * math/test-misc.c (main): Fix copy'n'pastos.
22459         * misc/tst-efgcvt.c (special): Likewise.
22460
22461         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22462         Remove declarations.
22463
22464 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22465
22466         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22467         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22468         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22469         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22470
22471 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22472
22473         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22474         macro to return vdso values correctly in IFUNC implementations.
22475         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22476         Optimization by using IFUNC.
22477
22478 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22479             Richard Henderson  <rth@redhat.com>
22480             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22481
22482         * Makefile.in (bench): New target.
22483         * NEWS: Mention the benchmark framework.
22484         * Rules (bench): Likewise.
22485         (binaries-bench): Generate binaries for functions to
22486         benchmark.
22487         * benchtests/Makefile: New makefile for benchmark tests.
22488         * benchtests/bench-skeleton.c: New skeleton file for benchmark
22489         programs.
22490         * benchtests/exp-inputs: New input file for EXP function.
22491         * benchtests/pow-inputs: New input file for POW function.
22492         * scripts/bench.pl: New script to generate source files for
22493         benchmark programs.
22494
22495 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22496
22497         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22498         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22499         computations on mantissa.  Use macros for rounding and
22500         division.
22501         (denorm): Likewise.
22502         (__dbl_mp): Likewise.
22503         (add_magnitudes): Likewise.
22504         (sub_magnitudes): Likewise.
22505         (__mul): Likewise.
22506         (__sqr): Likewise.
22507         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22508         powers of two in terms of TWOPOW macro.
22509         (mp_no): Make type of mantissa as MANTISSA_T.
22510         [!RADIXI]: Define RADIXI.
22511         [!TWO52]: Define TWO52.
22512         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22513
22514         * manual/nptl.texi (cindex): Modify threads to pthreads.
22515
22516 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
22517
22518         * sysdeps/x86_64/preconfigure: Regenerated.
22519
22520 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
22521
22522         [BZ #14155]
22523         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22524         0x1p28 and above.
22525         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22526         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22527         0x1p28 and above.
22528         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22529         * math/libm-test.inc (j0_test): Do not allow one spurious
22530         underflow exception.
22531         (y1_test): Likewise.
22532
22533 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22534
22535         * manual/Makefile (chapters): Add nptl.
22536         * manual/debug.texi (Debugging Support): Add link to Threads
22537         chapter.
22538         * manual/nptl.texi: New file.
22539
22540         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22541
22542 2013-03-14  Petr Baudis  <pasky@ucw.cz>
22543
22544         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22545         for non-NULL pointer before the memory validity test. Pointed
22546         out by Holger Brunck <holger.brunck@keymile.com>.
22547
22548 2013-03-13  Andreas Schwab  <schwab@suse.de>
22549
22550         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22551         instead of .os.
22552
22553 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
22554
22555         * timezone/zic.c: Update from tzcode 2013b.
22556
22557 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
22558
22559         * manual/install.texi (Configuring and compiling):
22560         Mention i686 and i586.
22561         * INSTALL: Regenerate.
22562
22563 2013-03-12  Roland McGrath  <roland@hack.frob.com>
22564
22565         * sysdeps/init_array/elf-init.c: New file.
22566         * csu/elf-init.c
22567         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22568         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22569
22570         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22571         __gmon_start__ as global, but as static with a .preinit_array pointer.
22572         * sysdeps/init_array/gmon-start.c: New file.  Use that.
22573         * sysdeps/init_array/crti.S: New file, empty except for comments.
22574         * sysdeps/init_array/crtn.S: Likewise.
22575
22576 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
22577
22578         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22579         definining bcopy.
22580         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22581         Remove Prefer_SSE_for_memop.
22582         * sysdeps/x86_64/multiarch/init-arch.h: Remove
22583         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22584         HAS_PREFER_SSE_FOR_MEMOP.
22585         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22586         memset-x86-64.
22587         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22588         Remove bzero, memset ifunc support.
22589         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22590         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22591         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22592         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22593
22594 2013-03-11  Andreas Schwab  <schwab@suse.de>
22595
22596         [BZ #15234]
22597         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22598         by SHLIB_COMPAT.
22599         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22600         (GLIBC_2.16): Remove pthread_atfork.
22601
22602 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22603
22604         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22605         (ptestcases.h): Likewise.
22606
22607 2013-03-08  Roland McGrath  <roland@hack.frob.com>
22608
22609         * Makeconfig ($(common-objpfx)config.status): Depend on
22610         sysdeps/*/preconfigure{,.in} too.
22611
22612 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
22613
22614         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22615         (__free_hook): Use void * instead of __malloc_ptr_t.
22616         (__malloc_hook): Likewise.
22617         (__realloc_hook): Likewise.
22618         (__memalign_hook): Likewise.
22619         (__after_morecore_hook): Likewise.
22620         * malloc/arena.c (save_malloc_hook): Likewise.
22621         (save_free_hook): Likewise.
22622         * malloc/hooks.c (malloc_hook_ini): Likewise.
22623         (realloc_hook_ini): Likewise.
22624         (memalign_hook_ini): Likewise.
22625         * malloc/malloc.c (malloc_hook_ini): Likewise.
22626         (realloc_hook_ini): Likewise.
22627         (memalign_hook_ini): Likewise.
22628         (__free_hook): Likewise.
22629         (__malloc_hook): Likewise.
22630         (__realloc_hook): Likewise.
22631         (__memalign_hook): Likewise.
22632         (__libc_malloc): Likewise.
22633         (__libc_free): Likewise.
22634         (__libc_realloc): Likewise.
22635         (__libc_memalign): Likewise.
22636         (__libc_valloc): Likewise.
22637         (__libc_pvalloc): Likewise.
22638         (__libc_calloc): Likewise.
22639         (__posix_memalign): Likewise.
22640         * malloc/morecore.c (__sbrk): Likewise.
22641         (__default_morecore): Likewise.
22642
22643         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22644
22645         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22646         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22647         __malloc_ptrdiff_t.
22648
22649         * malloc/malloc.h (__malloc_size_t): Remove macro.
22650         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22651         __malloc_size_t.
22652         (old_memalign_hook): Likewise.
22653         (old_realloc_hook): Likewise.
22654         (struct hdr): Likewise.
22655         (flood): Likewise.
22656         (mallochook): Likewise.
22657         (memalignhook): Likewise.
22658         (reallochook): Likewise.
22659         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22660         (tr_old_realloc_hook): Likewise.
22661         (tr_old_memalign_hook): Likewise.
22662         (tr_mallochook): Likewise.
22663         (tr_reallochook): Likewise.
22664         (tr_memalignhook): Likewise.
22665
22666 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22667
22668         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22669         default_ldbl_pack and using as default implementation.
22670         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22671         implementation.
22672         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22673         redundant definition.
22674         (ldbl_insert_mantissa): Likewise.
22675         (ldbl_canonicalize): Likewise.
22676         (ldbl_nearbyint): Likewise.
22677         (ldbl_pack): Rename to ldbl_pack_ppc.
22678         (ldbl_unpack): Rename to ldbl_unpack_ppc.
22679         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22680         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22681
22682 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22683
22684         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22685         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22686         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22687         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22688         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22689         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22690         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22691         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22692
22693 2013-03-07  Andreas Jaeger  <aj@suse.de>
22694
22695         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22696         bits/mman-linux.h.
22697
22698 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
22699
22700         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22701         Include mpa.h and declare __MPEXP.
22702         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22703         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22704         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22705         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22706         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22707         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22708         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22709
22710         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22711         (__slowpow): Use long double EXPL and LOGL functions to
22712         compute POW.
22713         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22714         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22715         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22716         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22717         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22718         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22719
22720         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22721         intermediate variable to calculate exponent.
22722         (__sqr): Likewise.
22723         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22724         Likewise.
22725         (__sqr): Likewise.
22726
22727         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22728         [!NO__SQR]: Define __sqr.
22729         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22730         and NO__SQR.  Remove all code except __mul and __sqr.  Include
22731         sysdeps/ieee754/dbl-64/mpa.c.
22732         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22733
22734         [BZ #12723]
22735         * posix/Makefile (tests): Add tst-pathconf.
22736         * posix/tst-pathconf.c: New test case.
22737         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22738         _PC_PIPE_BUF.
22739         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22740
22741 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
22742
22743         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22744
22745 2013-03-06  Andreas Jaeger  <aj@suse.de>
22746
22747         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22748         definition via __MAP_ANONYMOUS.
22749
22750         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22751         it's not part of Linux headers.
22752
22753         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22754         (MAP_HUGE_MASK): Define.
22755
22756         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22757         Define.
22758         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22759         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22760         Define.
22761         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22762         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22763         Define.
22764         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22765         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22766         Define.
22767         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22768
22769         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22770         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22771         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22772         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22773         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22774         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22775
22776         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22777         Handle f2fs.
22778
22779         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22780         Handle f2fs and efivarfs.
22781
22782         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22783         f2fs.
22784
22785         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22786         (EFIVARFS_MAGIC): Add.
22787         (F2FS_LINK_MAX): Add.
22788
22789 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22790
22791         * stdio-common/vfprintf.c: Replace __builtin_expect with
22792         __glibc_unlikely.
22793
22794 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
22795
22796         [BZ #13550]
22797         * sysdeps/generic/bp-sym.h: Remove file.
22798         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22799         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22800         <bp-sym.h> and <bp-asm.h>.
22801         (__longjmp): Don't use BP_SYM.
22802         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22803         and <bp-asm.h>.
22804         (memcpy): Don't use BP_SYM.
22805         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22806         <bp-sym.h> and <bp-asm.h>.
22807         (memcpy): Don't use BP_SYM.
22808         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22809         <bp-asm.h>.
22810         (memcpy): Don't use BP_SYM.
22811         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22812         <bp-asm.h>.
22813         (memset): Don't use BP_SYM.
22814         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22815         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22816         (__bzero): Don't use BP_SYM.
22817         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22818         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22819         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22820         <bp-sym.h> and <bp-asm.h>.
22821         (memcmp): Don't use BP_SYM.  Remove comment about bounded
22822         pointers.
22823         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22824         <bp-sym.h> and <bp-asm.h>.
22825         (memcpy): Don't use BP_SYM.
22826         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22827         <bp-sym.h> and <bp-asm.h>.
22828         (memset): Don't use BP_SYM.
22829         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22830         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22831         (__bzero): Don't use BP_SYM.
22832         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22833         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22834         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22835         <bp-sym.h> and <bp-asm.h>.
22836         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22837         pointers.
22838         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22839         <bp-sym.h> and <bp-asm.h>.
22840         (memcpy): Don't use BP_SYM.
22841         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22842         <bp-sym.h> and <bp-asm.h>.
22843         (memset): Don't use BP_SYM.
22844         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22845         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22846         (__bzero): Don't use BP_SYM.
22847         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22848         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22849         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22850         <bp-sym.h> and <bp-asm.h>.
22851         (__memchr): Don't use BP_SYM.
22852         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22853         <bp-sym.h> and <bp-asm.h>.
22854         (memcmp): Don't use BP_SYM.  Remove comment about bounded
22855         pointers.
22856         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22857         <bp-sym.h> and <bp-asm.h>.
22858         (memcpy): Don't use BP_SYM.
22859         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22860         <bp-sym.h> and <bp-asm.h>.
22861         (__mempcpy): Don't use BP_SYM.
22862         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22863         <bp-sym.h> and <bp-asm.h>.
22864         (__memrchr): Don't use BP_SYM.
22865         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22866         <bp-sym.h> and <bp-asm.h>.
22867         (memset): Don't use BP_SYM.
22868         (__bzero): Likewise.
22869         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22870         <bp-sym.h> and <bp-asm.h>.
22871         (__rawmemchr): Don't use BP_SYM.
22872         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22873         <bp-sym.h> and <bp-asm.h>.
22874         (__STRCMP): Don't use BP_SYM.
22875         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22876         <bp-sym.h> and <bp-asm.h>.
22877         (strchr): Don't use BP_SYM.
22878         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22879         <bp-sym.h> and <bp-asm.h>.
22880         (__strchrnul): Don't use BP_SYM.
22881         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22882         <bp-sym.h> and <bp-asm.h>.
22883         (strlen): Don't use BP_SYM.
22884         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22885         <bp-sym.h> and <bp-asm.h>.
22886         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22887         pointers.
22888         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22889         <bp-sym.h> and <bp-asm.h>.
22890         (__strnlen): Don't use BP_SYM.
22891         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22892         <bp-sym.h> and <bp-asm.h>.
22893         (__GI__setjmp): Don't use BP_SYM.
22894         (_setjmp): Likewise.
22895         (__sigsetjmp): Likewise.
22896         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22897         (L(start_addresses)): Don't use BP_SYM.
22898         (_start): Likewise.
22899         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22900         <bp-asm.h>.
22901         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22902         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22903         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22904         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22905         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22906         <bp-asm.h>.
22907         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22908         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
22909         about bounded pointers.
22910         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22911         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22912         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22913         <bp-asm.h>.
22914         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
22915         about bounded pointers.  Remove GKM FIXME comments.
22916         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22917         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22918         <bp-asm.h>.
22919         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22920         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
22921         Remove GKM FIXME comments.
22922         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22923         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22924         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22925         <bp-asm.h>.
22926         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
22927         about bounded pointers.  Remove GKM FIXME comment.
22928         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22929         and <bp-asm.h>.
22930         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22931         pointers.
22932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22933         <bp-sym.h> and <bp-asm.h>.
22934         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22936         <bp-sym.h> and <bp-asm.h>.
22937         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
22938         comment.
22939
22940 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
22941
22942         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22943         call free(NULL).
22944
22945 2013-03-05  David S. Miller  <davem@davemloft.net>
22946
22947         * po/es.po: Update from translation team.
22948
22949 2013-03-05  Andreas Jaeger  <aj@suse.de>
22950
22951         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22952         <bits/mman-linux.h>.
22953         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22954         is fine.
22955         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22956         <bits/mman-linux.h> to end of file.
22957         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22958         is fine.
22959         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22960         <bits/mman-linux.h> to end of file.
22961         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22962         is fine.
22963         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22964         <bits/mman-linux.h> to end of file.
22965
22966         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22967         (MCL_CURRENT, MCL_FUTURE): Define here.
22968
22969 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22970
22971         [BZ #15232]
22972         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22973         attribute_hidden.
22974         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22975
22976 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22977
22978         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22979         fourth parameter needed for rt_sigprocmask syscall.
22980         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22981         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22982         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22983         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22984         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22985         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22986
22987 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
22988
22989         [BZ #13550]
22990         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22991         comment about bounded pointers.
22992         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22993         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22994
22995 2013-03-04  Andreas Jaeger  <aj@suse.de>
22996
22997         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22998         common definitions.
22999
23000         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23001         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23002         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23003         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23004         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23005         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23006
23007 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23008
23009         [BZ #15055]
23010         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23011         __ieee754_sqrl instead of __sqrl.
23012
23013 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
23014
23015         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23016         * sysdeps/powerpc/fpu_control.h: ... here.
23017         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23018         * sysdeps/powerpc/bits/fenvinline.h: ... here.
23019         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23020         * sysdeps/powerpc/bits/mathinline.h: ... here.
23021
23022 2013-03-01  Roland McGrath  <roland@hack.frob.com>
23023
23024         * elf/dl-hwcaps.c (_dl_important_hwcaps):
23025         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23026         to just [NEED_DL_SYSINFO_DSO].
23027         * elf/dl-support.c: Likewise.
23028         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23029         * elf/rtld.c (dl_main): Likewise.
23030         * elf/setup-vdso.h (setup_vdso): Likewise.
23031         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23032         * sysdeps/unix/sysv/linux/dl-sysdep.c
23033         (_dl_discover_osversion): Likewise.
23034
23035 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
23036
23037         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23038         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23039
23040 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23041
23042         * NEWS: Mention libm performance improvements and non-x86 PI
23043         futex support.
23044
23045         * csu/libc-start.c (__pthread_initialize_minimal): Change
23046         function arguments.
23047         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23048
23049 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
23050
23051         [BZ #13550]
23052         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23053         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23054         <bp-sym.h> and <bp-asm.h>.
23055         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23056         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23057         and <bp-asm.h>.
23058         (memcpy): Don't use BP_SYM.
23059         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23060         <bp-asm.h>.
23061         (__mpn_add_n): Don't use BP_SYM.
23062         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23063         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23064         and <bp-asm.h>.
23065         (__mpn_addmul_1): Don't use BP_SYM.
23066         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23067         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23068         <bp-sym.h>.
23069         (_setjmp): Don't use BP_SYM.
23070         (__novmx_setjmp): Likewise.
23071         (__GI__setjmp): Likewise.
23072         (__vmx_setjmp): Likewise.
23073         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23074         <bp-sym.h>.
23075         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23076         (__bzero): Don't use BP_SYM.
23077         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23078         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23079         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23080         <bp-sym.h> and <bp-asm.h>.
23081         (memcpy): Don't use BP_SYM.
23082         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23083         <bp-sym.h> and <bp-asm.h>.
23084         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23085         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23086         <bp-sym.h> and <bp-asm.h>.
23087         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23088         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23089         <bp-asm.h>.
23090         (__mpn_lshift): Don't use BP_SYM.
23091         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23092         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23093         <bp-asm.h>.
23094         (memset): Don't use BP_SYM.
23095         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23096         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23097         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23098         <bp-asm.h>.
23099         (__mpn_mul_1): Don't use BP_SYM.
23100         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23101         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23102         <bp-sym.h> and <bp-asm.h>.
23103         (memcmp): Don't use BP_SYM.
23104         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23105         <bp-sym.h> and <bp-asm.h>.
23106         (memcpy): Don't use BP_SYM.
23107         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23108         <bp-sym.h> and <bp-asm.h>.
23109         (memset): Don't use BP_SYM.
23110         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23111         <bp-sym.h> and <bp-asm.h>.
23112         (strncmp): Don't use BP_SYM.
23113         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23114         <bp-sym.h> and <bp-asm.h>.
23115         (memcpy): Don't use BP_SYM.
23116         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23117         <bp-sym.h> and <bp-asm.h>.
23118         (memset): Don't use BP_SYM.
23119         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23120         <bp-sym.h> and <bp-asm.h>.
23121         (__memchr): Don't use BP_SYM.
23122         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23123         <bp-sym.h> and <bp-asm.h>.
23124         (memcmp): Don't use BP_SYM.
23125         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23126         <bp-sym.h> and <bp-asm.h>.
23127         (memcpy): Don't use BP_SYM.
23128         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23129         <bp-sym.h> and <bp-asm.h>.
23130         (__mempcpy): Don't use BP_SYM.
23131         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23132         <bp-sym.h> and <bp-asm.h>.
23133         (__memrchr): Don't use BP_SYM.
23134         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23135         <bp-sym.h> and <bp-asm.h>.
23136         (memset): Don't use BP_SYM.
23137         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23138         <bp-sym.h> and <bp-asm.h>.
23139         (__rawmemchr): Don't use BP_SYM.
23140         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23141         <bp-sym.h> and <bp-asm.h>.
23142         (__STRCMP): Don't use BP_SYM.
23143         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23144         <bp-sym.h> and <bp-asm.h>.
23145         (strchr): Don't use BP_SYM.
23146         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23147         <bp-sym.h> and <bp-asm.h>.
23148         (__strchrnul): Don't use BP_SYM.
23149         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23150         <bp-sym.h> and <bp-asm.h>.
23151         (strlen): Don't use BP_SYM.
23152         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23153         <bp-sym.h> and <bp-asm.h>.
23154         (strncmp): Don't use BP_SYM.
23155         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23156         <bp-sym.h> and <bp-asm.h>.
23157         (__strnlen): Don't use BP_SYM.
23158         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23159         <bp-asm.h>.
23160         (__mpn_rshift): Don't use BP_SYM.
23161         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23162         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23163         <bp-sym.h> and <bp-asm.h>.
23164         (__sigsetjmp): Don't use BP_SYM.
23165         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23166         (L(start_addresses)): Don't use BP_SYM.
23167         (_start): Likewise.
23168         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23169         <bp-asm.h>.
23170         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23171         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23172         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23173         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23174         <bp-asm.h>.
23175         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23176         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23177         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23178         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23179         <bp-asm.h>.
23180         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23181         comments.
23182         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23183         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23184         <bp-asm.h>.
23185         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
23186         FIXME comments.
23187         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23188         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23189         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23190         <bp-asm.h>.
23191         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23192         comment.
23193         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23194         and <bp-asm.h>.
23195         (strncmp): Don't use BP_SYM,
23196         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23197         <bp-asm.h>.
23198         (__mpn_sub_n): Don't use BP_SYM.
23199         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23200         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23201         and <bp-asm.h>.
23202         (__mpn_submul_1): Don't use BP_SYM.
23203         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23205         <bp-sym.h> and <bp-asm.h>.
23206         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23208         <bp-sym.h> and <bp-asm.h>.
23209         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23210         comment.
23211
23212 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23213
23214         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23215         Use ZK to minimize writes to Z.
23216         (sub_magnitudes): Simplify code a bit.
23217         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23218         Use ZK to minimize writes to Z.
23219         (sub_magnitudes): Simplify code a bit.
23220
23221 2013-02-27  Roland McGrath  <roland@hack.frob.com>
23222
23223         * csu/gmon-start.c: Add special exception to license text.
23224
23225 2013-02-27  Richard Henderson  <rth@redhat.com>
23226
23227         * scripts/config.guess: Update from config.git.
23228         * scripts/config.sub: Likewise.
23229
23230 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23231
23232         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23233
23234         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23235
23236         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23237
23238         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23239
23240         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23241
23242 2013-02-26  Roland McGrath  <roland@hack.frob.com>
23243
23244         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23245         [$(build-shared = yes].
23246
23247 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23248
23249         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23250         (__mul): Reduce iterations for calculating mantissa.
23251
23252         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23253         MPTWO.
23254         (__mpranred): Likewise.
23255
23256         [BZ #15160]
23257         * malloc/memusagestat.c (main): Draw graphs for heap and stack
23258         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23259
23260 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
23261
23262         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23263         Define __attribute__.
23264
23265 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23266
23267         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23268         unused.
23269         * posix/regex_internal.h (__attribute): Remove.
23270         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23271         (re_string_context_at): Likewise.
23272         (bitset_not): Use __attribute__ and mark function as possibly
23273         unused.
23274         (bitset_merge): Likewise.
23275         (bitset_mask): Likewise.
23276         (re_string_char_size_at): Likewise.
23277         (re_string_wchar_at): Likewise.
23278         (re_string_elem_size_at): Likewise.
23279
23280 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23281
23282         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23283         code.
23284         (cc32): Likewise.
23285
23286         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23287         (__acr): Likewise.
23288         (__cpy): Likewise.
23289         (norm): Likewise.
23290         (denorm): Likewise.
23291         (__dbl_mp): Likewise.
23292         (add_magnitudes): Likewise.
23293         (sub_magnitudes): Likewise.
23294         (__mul): Likewise.
23295         (__inv): Likewise.
23296
23297         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23298         style.
23299
23300         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23301         style.
23302
23303         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23304         code.
23305
23306         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23307         up changes with default code.
23308         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23309         Likewise.
23310
23311 2013-02-24  Allan McRae  <allan@archlinux.org>
23312
23313         * manual/socket.texi (The Internet Namespace): Order menu items
23314         to match that in the file.
23315
23316         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23317         node listing of the info page menu.
23318
23319 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
23320
23321         [BZ #13550]
23322         * sysdeps/i386/bp-asm.h: Remove file.
23323         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23324         (PARMS): Do not use macros from bp-asm.h.
23325         (S1): Likewise.
23326         (S2): Likewise.
23327         (SIZE): Likewise.
23328         (__mpn_add_n): Do not use BP_SYM
23329         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23330         "bp-asm.h".
23331         (PARMS): Do not use macros from bp-asm.h.
23332         (S1): Likewise.
23333         (SIZE): Likewise.
23334         (__mpn_addmul_1): Do not use BP_SYM
23335         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23336         "bp-asm.h".
23337         (PARMS): Do not use macros from bp-asm.h.
23338         (SIGMSK): Likewise.
23339         (_setjmp): Likewise.  Do not use BP_SYM.
23340         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23341         "bp-asm.h".
23342         (PARMS): Do not use macros from bp-asm.h.
23343         (SIGMSK): Likewise.
23344         (setjmp): Likewise.  Do not use BP_SYM.
23345         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23346         "bp-asm.h".
23347         (PARMS): Do not use macros from bp-asm.h.
23348         (__frexp): Do not use BP_SYM.
23349         (frexp): Likewise.
23350         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23351         "bp-asm.h".
23352         (PARMS): Do not use macros from bp-asm.h.
23353         (__frexpf): Do not use BP_SYM.
23354         (frexpf): Likewise.
23355         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23356         "bp-asm.h".
23357         (PARMS): Do not use macros from bp-asm.h.
23358         (__frexpl): Do not use BP_SYM.
23359         (frexpl): Likewise.
23360         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23361         "bp-asm.h".
23362         (PARMS): Do not use macros from bp-asm.h.
23363         (__remquo): Do not use BP_SYM.
23364         (remquo): Likewise.
23365         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23366         "bp-asm.h".
23367         (PARMS): Do not use macros from bp-asm.h.
23368         (__remquof): Do not use BP_SYM.
23369         (remquof): Likewise.
23370         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23371         "bp-asm.h".
23372         (PARMS): Do not use macros from bp-asm.h.
23373         (__remquol): Do not use BP_SYM.
23374         (remquol): Likewise.
23375         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23376         "bp-asm.h".
23377         (PARMS): Do not use macros from bp-asm.h.
23378         (DEST): Likewise.
23379         (SRC): Likewise.
23380         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
23381         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23382         "bp-asm.h".
23383         (PARMS): Do not use macros from bp-asm.h.
23384         (strlen): Do not use BP_SYM.
23385         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23386         "bp-asm.h".
23387         (PARMS): Do not use macros from bp-asm.h.
23388         (S1): Likewise.
23389         (S2): Likewise.
23390         (SIZE): Likewise.
23391         (__mpn_add_n): Do not use BP_SYM.
23392         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23393         "bp-asm.h".
23394         (PARMS): Do not use macros from bp-asm.h.
23395         (S1): Likewise.
23396         (SIZE): Likewise.
23397         (__mpn_addmul_1): Do not use BP_SYM.
23398         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23399         weak_alias.
23400         (bzero): Likewise.
23401         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23402         "bp-asm.h".
23403         (PARMS): Do not use macros from bp-asm.h.
23404         (S): Likewise.
23405         (SIZE): Likewise.
23406         (__mpn_lshift): Do not use BP_SYM.
23407         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23408         "bp-asm.h".
23409         (PARMS): Do not use macros from bp-asm.h.
23410         (DEST): Likewise.
23411         (SRC): Likewise.
23412         (LEN): Likewise.
23413         (memcpy): Likewise.  Do not use BP_SYM.
23414         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23415         libc_hidden_def and weak_alias.
23416         (mempcpy): Do not use BP_SYM in weak_alias.
23417         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23418         "bp-asm.h".
23419         (PARMS): Do not use macros from bp-asm.h.
23420         (DEST): Likewise.
23421         (LEN): Likewise.
23422         [!BZERO_P] (CHR): Likewise.
23423         (memset): Likewise.  Do not use BP_SYM.
23424         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23425         "bp-asm.h".
23426         (PARMS): Do not use macros from bp-asm.h.
23427         (S1): Likewise.
23428         (SIZE): Likewise.
23429         (__mpn_mul_1): Do not use BP_SYM.
23430         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23431         "bp-asm.h".
23432         (PARMS): Do not use macros from bp-asm.h.
23433         (S): Likewise.
23434         (SIZE): Likewise.
23435         (__mpn_rshift): Do not use BP_SYM.
23436         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23437         "bp-asm.h".
23438         (PARMS): Do not use macros from bp-asm.h.
23439         (STR): Likewise.
23440         (CHR): Likewise.
23441         (strchr): Likewise.  Do not use BP_SYM.
23442         (index): Do not use BP_SYM in weak_alias.
23443         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23444         "bp-asm.h".
23445         (PARMS): Do not use macros from bp-asm.h.
23446         (DEST): Likewise.
23447         (SRC): Likewise.
23448         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
23449         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23450         "bp-asm.h".
23451         (PARMS): Do not use macros from bp-asm.h.
23452         (strlen): Do not use BP_SYM.
23453         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23454         "bp-asm.h".
23455         (PARMS): Do not use macros from bp-asm.h.
23456         (S1): Likewise.
23457         (S2): Likewise.
23458         (SIZE): Likewise.
23459         (__mpn_sub_n): Do not use BP_SYM.
23460         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23461         "bp-asm.h".
23462         (PARMS): Do not use macros from bp-asm.h.
23463         (S1): Likewise.
23464         (SIZE): Likewise.
23465         (__mpn_submul_1): Do not use BP_SYM.
23466         * sysdeps/i386/i686/add_n.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         (S2): Likewise.
23471         (SIZE): Likewise.
23472         (__mpn_add_n): Do not use BP_SYM.
23473         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23474         weak_alias.
23475         (bzero): Likewise.
23476         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23477         "bp-asm.h".
23478         (PARMS): Do not use macros from bp-asm.h.
23479         (BLK2): Likewise.
23480         (LEN): Likewise.
23481         (memcmp): Do not use BP_SYM.
23482         (bcmp): Do not use BP_SYM in weak_alias.
23483         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23484         "bp-asm.h".
23485         (PARMS): Do not use macros from bp-asm.h.
23486         (DEST): Likewise.
23487         (SRC): Likewise.
23488         (LEN): Likewise.
23489         (memcpy): Likewise.  Do not use BP_SYM.
23490         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23491         "bp-asm.h".
23492         (PARMS): Do not use macros from bp-asm.h.
23493         (DEST): Likewise.
23494         (SRC): Likewise.
23495         (LEN): Likewise.
23496         (memmove): Likewise.  Do not use BP_SYM.
23497         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23498         "bp-asm.h".
23499         (PARMS): Do not use macros from bp-asm.h.
23500         (DEST): Likewise.
23501         (SRC): Likewise.
23502         (LEN): Likewise.
23503         (__mempcpy): Likewise.  Do not use BP_SYM.
23504         (mempcpy): Do not use BP_SYM in weak_alias.
23505         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23506         "bp-asm.h".
23507         (PARMS): Do not use macros from bp-asm.h.
23508         (DEST): Likewise.
23509         (LEN): Likewise.
23510         [!BZERO_P] (CHR): Likewise.
23511         (memset): Likewise.  Do not use BP_SYM.
23512         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23513         "bp-asm.h".
23514         (PARMS): Do not use macros from bp-asm.h.
23515         (STR2): Likewise.
23516         (strcmp): Do not use BP_SYM.
23517         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23518         "bp-asm.h".
23519         (PARMS): Do not use macros from bp-asm.h.
23520         (STR): Likewise.
23521         (DELIM): Likewise.
23522         [USE_AS_STRTOK_R] (SAVE): Likewise.
23523         (FUNCTION): Likewise.  Do not use BP_SYM.
23524         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23525         aliases.
23526         (strtok_r): Likewise.
23527         (__GI___strtok_r): Likewise.
23528         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23529         (PARMS): Do not use macros from bp-asm.h.
23530         (S): Likewise.
23531         (SIZE): Likewise.
23532         (__mpn_lshift): Do not use BP_SYM.
23533         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23534         (PARMS): Do not use macros from bp-asm.h.
23535         (STR): Likewise.
23536         (CHR): Likewise.
23537         (__memchr): Do not use BP_SYM.
23538         (memchr): Do not use BP_SYM in weak_alias.
23539         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23540         (PARMS): Do not use macros from bp-asm.h.
23541         (BLK2): Likewise.
23542         (LEN): Likewise.
23543         (memcmp): Do not use BP_SYM.
23544         (bcmp): Do not use BP_SYM in weak_alias.
23545         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23546         (PARMS): Do not use macros from bp-asm.h.
23547         (S1): Likewise.
23548         (SIZE): Likewise.
23549         (__mpn_mul_1): Do not use BP_SYM.
23550         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23551         "bp-asm.h".
23552         (PARMS): Do not use macros from bp-asm.h.
23553         (STR): Likewise.
23554         (CHR): Likewise.
23555         (__rawmemchr): Do not use BP_SYM.
23556         (rawmemchr): Do not use BP_SYM in weak_alias.
23557         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23558         (PARMS): Do not use macros from bp-asm.h.
23559         (S): Likewise.
23560         (SIZE): Likewise.
23561         (__mpn_rshift): Do not use BP_SYM.
23562         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23563         (PARMS): Do not use macros from bp-asm.h.
23564         (SIGMSK): Likewise.
23565         (__sigsetjmp): Likewise.  Do not use BP_SYM.
23566         * sysdeps/i386/start.S: Do not include "bp-sym.h".
23567         (_start): Do not use BP_SYM.
23568         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23569         (PARMS): Do not use macros from bp-asm.h.
23570         (DEST): Likewise.
23571         (SRC): Likewise.
23572         (__stpcpy): Likewise.  Do not use BP_SYM.
23573         (stpcpy): Do not use BP_SYM in weak_alias.
23574         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23575         "bp-asm.h".
23576         (PARMS): Do not use macros from bp-asm.h.
23577         (DEST): Likewise.
23578         (SRC): Likewise.
23579         (LEN): Likewise.
23580         (__stpncpy): Likewise.  Do not use BP_SYM.
23581         (stpncpy): Do not use BP_SYM in weak_alias.
23582         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23583         (PARMS): Do not use macros from bp-asm.h.
23584         (STR): Likewise.
23585         (CHR): Likewise.
23586         (strchr): Likewise.  Do not use BP_SYM.
23587         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23588         "bp-asm.h".
23589         (PARMS): Do not use macros from bp-asm.h.
23590         (STR): Likewise.
23591         (CHR): Likewise.
23592         (__strchrnul): Likewise.  Do not use BP_SYM.
23593         (strchrnul): Do not use BP_SYM in weak_alias.
23594         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23595         "bp-asm.h".
23596         (PARMS): Do not use macros from bp-asm.h.
23597         (STOP): Likewise.
23598         (strcspn): Do not use BP_SYM.
23599         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23600         "bp-asm.h".
23601         (PARMS): Do not use macros from bp-asm.h.
23602         (STR): Likewise.
23603         (STOP): Likewise.
23604         (strpbrk): Likewise.  Do not use BP_SYM.
23605         * sysdeps/i386/strrchr.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         (CHR): Likewise.
23610         (strrchr): Likewise.  Do not use BP_SYM.
23611         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23612         (PARMS): Do not use macros from bp-asm.h.
23613         (SKIP): Likewise.
23614         (strspn): Do not use BP_SYM.
23615         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23616         (PARMS): Do not use macros from bp-asm.h.
23617         (STR): Likewise.
23618         (DELIM): Likewise.
23619         (SAVE): Likewise.
23620         (FUNCTION): Likewise.  Do not use BP_SYM.
23621         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23622         aliases.
23623         (strtok_r): Likewise.
23624         (__GI___strtok_r): Likewise.
23625         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23626         (PARMS): Do not use macros from bp-asm.h.
23627         (S1): Likewise.
23628         (S2): Likewise.
23629         (SIZE): Likewise.
23630         (__mpn_sub_n): Do not use BP_SYM.
23631         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23632         "bp-asm.h".
23633         (PARMS): Do not use macros from bp-asm.h.
23634         (S1): Likewise.
23635         (SIZE): Likewise.
23636         (__mpn_submul_1): Do not use BP_SYM.
23637         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23638         <bp-sym.h>.
23639         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23640         and <bp-asm.h>.
23641         (PARMS): Do not use macros from bp-asm.h.
23642         (FLAGS): Likewise.
23643         (PTID): Likewise.
23644         (TLS): Likewise.
23645         (CTID): Likewise.
23646         (__clone): Do not use BP_SYM.
23647         (clone): Do not use BP_SYM in weak_alias.
23648         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23649         and <bp-asm.h>.
23650         (PARMS): Do not use macros from bp-asm.h.
23651         (LEN): Likewise.
23652         (__mmap64): Do not use BP_SYM.
23653         (mmap64): Do not use BP_SYM in weak_alias.
23654         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23655         <bp-sym.h> and <bp-asm.h>.
23656         (PARMS): Do not use macros from bp-asm.h.
23657         (__posix_fadvise64_l64): Do not use BP_SYM.
23658         * sysdeps/unix/sysv/linux/i386/semtimedop.S
23659         (PARMS): Do not use macros from bp-asm.h.
23660         (NSOPS): Likewise.
23661         (semtimedop): Do not use BP_SYM.
23662         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23663         and <bp-asm.h>.
23664
23665 2013-02-21  Allan McRae  <allan@archlinux.org>
23666
23667         * manual/message.texi (Charset conversion in gettext):
23668         Move @end statement to beginning of line.
23669
23670 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23671
23672         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23673         static.
23674         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23675         Likewise.
23676
23677         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23678         (denorm): Likewise.
23679         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23680         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23681
23682 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23683
23684         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23685         tail-call to the resolved function if pltexit isn't needed.
23686
23687 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23688
23689         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23690         or Y being zero as being unlikely.
23691         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23692         Likewise.
23693
23694 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
23695
23696         * manual/nss.texi (System Databases and Name Service Switch):
23697         Remove frobnicate @pxref.
23698
23699 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
23700
23701         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23702         __attribute__ ((unused)) to __attribute__ ((__unused__)).
23703
23704 2013-02-20  Petr Machata  <pmachata@redhat.com>
23705
23706         * elf/elf.h (R_ARM_TARGET1): New macro.
23707         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23708         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23709         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23710         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23711         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23712         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23713         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23714         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23715         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23716         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23717         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23718         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23719         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23720         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23721         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23722         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23723         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23724         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23725         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23726         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23727         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23728         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23729         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23730         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23731         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23732         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23733         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23734         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23735         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23736         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23737         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23738         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23739         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23740         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23741         (R_ARM_THM_GOT_BREL12): Likewise.
23742         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23743         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23744         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23745         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23746         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23747         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23748         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23749         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23750         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23751
23752 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
23753
23754         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23755         __attribute_used__ to __attribute__ ((unused)).
23756
23757 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23758
23759         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23760         powerpc mpa.c.
23761         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23762         comment formatting.
23763         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23764
23765 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
23766
23767         [BZ #13550]
23768         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23769         Remove macro.
23770         (ENTER): Remove both macro definitions.
23771         (LEAVE): Likewise.
23772         (CHECK_BOUNDS_LOW): Likewise.
23773         (CHECK_BOUNDS_HIGH): Likewise.
23774         (CHECK_BOUNDS_BOTH): Likewise.
23775         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23776         (RETURN_BOUNDED_POINTER): Likewise.
23777         (RETURN_NULL_BOUNDED_POINTER): Likewise.
23778         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23779         (POP_ERRNO_LOCATION_RETURN): Likewise.
23780         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23781         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23782         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23783         macros.
23784         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23785         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23786         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23787         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23788         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23789         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23790         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23791         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23792         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23793         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23794         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23795         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23796         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23797         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23798         removed macros.
23799         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23800         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23801         macros.
23802         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23803         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23804         * sysdeps/i386/i586/memset.S (memset): Likewise.
23805         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23806         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23807         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23808         macros.
23809         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23810         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23811         Change uses of L(2) to L(out).
23812         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23813         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23814         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23815         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23816         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23817         removed macros.
23818         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23819         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23820         macros.
23821         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23822         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23823         (RETURN): Do not use macro LEAVE.
23824         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23825         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23826         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23827         * sysdeps/i386/i686/memset.S (memset): Likewise.
23828         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23829         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23830         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23831         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23832         Likewise.
23833         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23834         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
23835         L(1_2) and L(1_3) into L(1).
23836         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23837         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23838         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23839         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23840         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23841         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23842         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23843         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23844         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23845         macros.
23846         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23847         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23848         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23849         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23850         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23851         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23852         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23853         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23854         * sysdeps/i386/strcspn.S (strcspn): Likewise.
23855         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23856         * sysdeps/i386/strrchr.S (strrchr): Likewise.
23857         * sysdeps/i386/strspn.S (strspn): Likewise.
23858         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23859         conditional code.
23860         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23861         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23862         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23863         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
23864         L(1_3) into L(1_1).
23865         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23866         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23867         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23868         macros.
23869         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23870
23871 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
23872
23873         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23874         macro.
23875
23876 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23877
23878         * math/atest-exp.c (exp_mpn): Remove ROUND.
23879         * math/atest-exp2.c (exp_mpn): Likewise.
23880         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23881
23882         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23883         * stdlib/tst-tls-atexit-lib.c: Likewise.
23884         * stdlib/tst-tls-atexit.c: Likewise.
23885
23886 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23887
23888         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23889         and __attribute_alloc_size__.
23890
23891 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23892
23893         * include/programs/xmalloc.h: Change __attribute_alloc_size to
23894         __attribute_alloc_size__.
23895         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23896         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23897
23898 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23899
23900         * include/programs/xmalloc.h: New file.
23901         * catgets/gencat.c: Include it.
23902         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23903         * elf/pldd.c: Likewise.
23904         * iconv/iconv_charmap.c: Likewise.
23905         * iconv/iconvconfig.c: Likewise.
23906         * iconv/strtab.c: Likewise.
23907         * locale/programs/locale.c: Likewise.
23908         * locale/programs/localedef.h: Likewise.
23909         * locale/programs/simple-hash.c: Likewise.
23910         * nscd/nscd.h: Likewise.
23911         * nss/makedb.c: Likewise.
23912         * sysdeps/generic/ldconfig.h: Likewise.
23913
23914 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23915
23916         * Versions.def: Add GLIBC_2.18.
23917         * include/link.h (struct link_map): New member l_tls_dtor_count.
23918         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23919         (__call_tls_dtors): Likewise.
23920         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23921         __cxa_thread_atexit_impl.
23922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23923         Likewise.
23924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23925         Likewise.
23926         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23927         Likewise.
23928         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23929         Likewise.
23930         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23931         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23932         Likewise.
23933         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23934         Likewise.
23935         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23936         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23937         Likewise.
23938         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23939         (tests): Add test case tst-tls-atexit.
23940         (modules-names): Add shared library for tst-tls-atexit.
23941         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
23942         (GLIBC_PRIVATE): Add __call_tls_dtors.
23943         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23944         for libstdc++.
23945         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23946         * stdlib/tst-tls-atexit.c: New test case.
23947         * stdlib/tst-tls-atexit-lib.c: New test case.
23948
23949         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
23950
23951         * elf/Versions (ld): Add _dl_find_dso_for_object.
23952         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23953         * elf/dl-open.c (_dl_find_dso_for_object): New function.
23954         (dl_open_worker): Use _dl_find_dso_for_object.
23955         * elf/dl-sym.c (do_sym): Likewise.
23956         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23957
23958 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23959
23960         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23961         Syntactic changes only.
23962         (_dl_runtime_profile): Do a tail-call to the resolved function.
23963
23964 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
23965
23966         [BZ #13550]
23967         * sysdeps/x86_64/bp-asm.h: Remove file.
23968         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23969         <bp-sym.h> and <bp-asm.h>.
23970         (__clone): Do not use BP_SYM.
23971         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23972         <bp-sym.h> and <bp-asm.h>.
23973         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23974         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23975         "bp-asm.h".
23976         (_setjmp): Do not use BP_SYM.
23977         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23978         "bp-asm.h".
23979         (setjmp): Do not use BP_SYM.
23980         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23981         libc_hidden_def.
23982         (mempcpy): Do not use BP_SYM in weak_alias.
23983         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23984         "bp-asm.h".
23985         (strchr): Do not use BP_SYM.
23986         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23987         "bp-asm.h".
23988         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23989         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23990         (_start): Do not use BP_SYM.
23991         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23992         "bp-asm.h".
23993         (strcat): Do not use BP_SYM.
23994         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23995         "bp-asm.h".
23996         (STRCMP): Do not use BP_SYM.
23997         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23998         "bp-asm.h".
23999         (STRCPY): Do not use BP_SYM.
24000         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24001         "bp-asm.h".
24002         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24003         "bp-asm.h".
24004         (FUNCTION): Do not use BP_SYM.
24005         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24006         weak_alias.
24007         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24008
24009 2013-02-17  Andreas Jaeger  <aj@suse.de>
24010
24011         * time/Versions: Sort entries.
24012         * string/Versions: Likewise.
24013         * resolv/Versions: Likewise.
24014         * posix/Versions: Likewise.
24015         * iconv/Versions: Likewise.
24016         * elf/Versions: Likewise.
24017         * wcsmbs/Versions: Likewise.
24018
24019 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24020
24021         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24022         loop termination condition.
24023
24024         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24025         variable to calculate EZ.
24026         (__sqr): Likewise.
24027
24028         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24029         the lower precision input.
24030
24031 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
24032
24033         [BZ #13550]
24034         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24035         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24036         (run-via-rtld-prefix): Do not handle %-bp tests.
24037         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24038         (all-object-suffixes): Remove .ob.
24039         (bppfx): Remove variable.
24040         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24041         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24042         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24043         [$(build-bounded) = yes] (libtype.ob): Likewise.
24044         * Makerules (elide-routines.ob): Remove variable.
24045         (do-tests-clean): Do not handle *-bp.out.
24046         (common-mostlyclean): Do not handle *-bp and *-bp.out.
24047         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24048         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24049         (tests): Do not include $(tests-bp.out).
24050         (xtests): Do not include $(xtests-bp.out).
24051         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24052         [$(build-bounded) = yes] ($(addprefix
24053         $(objpfx),$(binaries-bounded))): Remove rule.
24054         ($(objpfx)%-bp.out): Remove rule.
24055         * config.make.in (build-bounded): Remove variable.
24056         * crypt/Makefile [$(build-bounded) = yes]
24057         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24058         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24059         append to variable.
24060         [$(build-bounded) = yes] (install-lib): Likewise.
24061         [$(build-bounded) = yes] (generated): Likewise.
24062         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24063         Remove rule.
24064         * intl/Makefile [$(build-bounded) = yes]
24065         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24066         * math/Makefile [$(build-bounded) = yes]
24067         ($(tests:%=$(objpfx)%-bp): Likewise.
24068         * misc/Makefile [$(build-bounded) = yes]
24069         ($(objpfx)tst-tsearch-bp): Likewise.
24070         * nptl/Makeconfig (bounded-thread-library): Remove variable.
24071         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24072         Remove dependency.
24073         * string/Makefile (o-objects.ob): Remove variable.
24074         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24075         (CFLAGS-.ob): Remove variable.
24076         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24077         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24078         both definitions of variable.
24079         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24080         (ASFLAGS-.ob): Remove variable.
24081
24082 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
24083
24084         [BZ #13550]
24085         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24086         Remove __BOUNDED_POINTERS__ from condition.
24087         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24088         * string/bits/string2.h [!__NO_STRING_INLINES &&
24089         !__BOUNDED_POINTERS__]: Likewise.
24090         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24091         Likewise.
24092         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24093         Remove conditional code.
24094         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24095         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24096         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24097         condition.
24098
24099         [BZ #13550]
24100         * csu/libc-start.c: Do not include <bp-sym.h>.
24101         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24102         * elf/dl-open.c: Do not include <bp-sym.h>.
24103         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24104         * math/fegetenv.c: Do not include <bp-sym.h>.
24105         (fegetenv): Do not use BP_SYM in versioned symbols.
24106         * nptl/sysdeps/pthread/bits/libc-lockP.h
24107         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24108         <bp-sym.h>.
24109         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24110         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24111         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24112         (__pthread_mutex_destroy): Likewise.
24113         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24114         (__pthread_mutex_lock): Likewise.
24115         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24116         (__pthread_mutex_trylock): Likewise.
24117         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24118         (__pthread_mutex_unlock): Likewise.
24119         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24120         (__pthread_mutexattr_init): Likewise.
24121         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24122         (__pthread_mutexattr_destroy): Likewise.
24123         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24124         (__pthread_mutexattr_settype): Likewise.
24125         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24126         (__pthread_rwlock_init): Likewise.
24127         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24128         (__pthread_rwlock_destroy): Likewise.
24129         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24130         (__pthread_rwlock_rdlock): Likewise.
24131         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24132         (__pthread_rwlock_tryrdlock): Likewise.
24133         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24134         (__pthread_rwlock_wrlock): Likewise.
24135         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24136         (__pthread_rwlock_trywrlock): Likewise.
24137         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24138         (__pthread_rwlock_unlock): Likewise.
24139         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24140         (__pthread_key_create): Likewise.
24141         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24142         (__pthread_setspecific): Likewise.
24143         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24144         (__pthread_getspecific): Likewise.
24145         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24146         Likewise.
24147         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24148         (_pthread_cleanup_push_defer): Likewise.
24149         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24150         (_pthread_cleanup_pop_restore): Likewise.
24151         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24152         (pthread_setcancelstate): Likewise.
24153         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24154         <bp-sym.h>.
24155         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24156         (memchr): Do not use BP_SYM in weak_alias.
24157         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24158         (fegetenv): Do not use BP_SYM in versioned symbols.
24159         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24160         (fesetenv): Do not use BP_SYM in versioned symbols.
24161         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24162         (feupdateenv): Do not use BP_SYM in versioned symbols.
24163         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24164         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24165         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24166         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24167         (open64): Do not use BP_SYM in weak_alias.
24168         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24169         (fegetenv): Do not use BP_SYM in versioned symbols.
24170         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24171         (fesetenv): Do not use BP_SYM in versioned symbols.
24172         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24173         (feupdateenv): Do not use BP_SYM in versioned symbols.
24174         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24175         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24176         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24177         (feraiseexcept): Do not use BP_SYM in versioned symbols.
24178         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24179         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24180         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24181         <bp-sym.h>.
24182         (__libc_start_main): Do not use BP_SYM.
24183
24184 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24185
24186         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24187         redundant return line.
24188         (norm): Likewise.
24189         (denorm): Likewise.
24190         (dbl_mp): Likewise.
24191         (sub_magnitudes): Likewise.
24192         (__add): Likewise.
24193         (__sub): Likewise.
24194         (__mul): Likewise.
24195         (__inv): Likewise.
24196         (__dvd): Likewise.
24197         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24198         (norm): Likewise.
24199         (denorm): Likewise.
24200         (dbl_mp): Likewise.
24201         (sub_magnitudes): Likewise.
24202         (__add): Likewise.
24203         (__sub): Likewise.
24204         (__mul): Likewise.
24205         (__inv): Likewise.
24206         (__dvd): Likewise.
24207
24208         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24209         instead of __mul.
24210         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24211         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24212         (cc32): Likewise.
24213
24214         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24215         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24216         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24217         of __mul for squares.
24218         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24219         function
24220         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24221         Likewise.
24222         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24223         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24224
24225 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
24226
24227         [BZ #13550]
24228         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24229         code.
24230         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24231         prototype or function definition.  Rename ubp_* variables and
24232         parameters.  Remove argv definitions conditional on
24233         [__BOUNDED_POINTERS__].
24234         * debug/backtrace.c (__backtrace): Do not use __unbounded.
24235         * elf/dl-runtime.c (_dl_fixup): Likewise.
24236         * include/set-hooks.h (RUN_HOOK): Likewise.
24237         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24238         definition.
24239         * string/strcpy.c (strcpy): Do not use __unbounded.
24240         * sysdeps/generic/frame.h (struct layout): Likewise.
24241         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24242         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24243         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24244         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24245         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24246         (__backtrace): Likewise.
24247         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24248         use __ptrvalue.
24249         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24250         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24251         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24252         Likewise.
24253         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24254         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24255         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24256         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24257         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24258         Do not use __unbounded.
24259         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24260         Rename __unboundedrlimits parameter to rlimits in prototype.
24261         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24262         Do not use __unbounded.
24263         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24264         not use __ptrvalue.
24265         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24266         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24267         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24268         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24269         __ptrvalue or __unbounded.
24270         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24271         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24272         use __unbounded.
24273         (__new_msgctl): Do not use __ptrvalue.
24274         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24275         __unbounded.
24276         (__libc_msgrcv): Do not use __ptrvalue.
24277         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24278         startup_info): Do not use __unbounded.
24279         (__libc_start_main): Likewise.  Rename ubp_* variables and
24280         parameters.  Remove argv definitions conditional on
24281         [__BOUNDED_POINTERS__].
24282         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24283         __ptrvalue.
24284         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24285         use __unbounded.
24286         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24287         or __ptrvalue.
24288         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24289         use __unbounded.
24290         (__new_shmctl): Do not use __ptrvalue.
24291         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24292         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24293         Likewise.
24294         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24295         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24296         (__libc_sigaction): Likewise.
24297         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24298         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24299         Likewise.
24300         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24301
24302 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
24303
24304         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24305
24306         * string/mempcpy.c: Implement by calling memcpy.
24307
24308 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24309
24310         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24311
24312         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24313         evaluation.
24314
24315         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24316         values in the mantissa.
24317
24318         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24319         minimize writes to Z.
24320         (sub_magnitudes): Simplify code a bit.
24321
24322 2013-02-12  Roland McGrath  <roland@hack.frob.com>
24323
24324         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24325         from the message.  The linker prefixes all warnings with that already.
24326
24327 2013-02-12  Andreas Schwab  <schwab@suse.de>
24328
24329         [BZ #15078]
24330         * posix/regexec.c (extend_buffers): Add parameter min_len.
24331         (check_matching): Pass minimum needed length.
24332         (clean_state_log_if_needed): Likewise.
24333         (get_subexp): Likewise.
24334         * posix/Makefile (tests): Add bug-regex34.
24335         (bug-regex34-ENV): Define.
24336         * posix/bug-regex34.c: New file.
24337
24338         [BZ #11561]
24339         * posix/regcomp.c (parse_bracket_exp): When looking up collating
24340         elements compare against the byte sequence of it, not its name.
24341         * posix/Makefile (tests): Add bug-regex35.
24342         (bug-regex35-ENV): Define.
24343         * posix/bug-regex35.c: New file.
24344
24345 2013-02-11  Tom de Vries  <tom@codesourcery.com>
24346
24347         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
24348         comment.
24349         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24350         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24351         (CHECK_EOL): Add undef.
24352
24353 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
24354
24355         * bits/stdlib-bsearch.h: New file.
24356         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24357         * stdlib/stdlib.h: Likewise.
24358
24359 2013-02-11  Roland McGrath  <roland@hack.frob.com>
24360
24361         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24362         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24363         declaration.
24364         * manual/search.texi (Array Search Function): Add missing const in
24365         lfind prototype.
24366         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24367         declaration to use rlim_t.
24368         (Basic Scheduling Functions): Remove erroneous const from
24369         sched_getparam prototype.  Remove erroneous * from
24370         sched_get_priority_max and sched_get_priority_min prototypes.
24371         (Resource Usage): Fix summary @comment on vtimes to refer to
24372         sys/vtimes.h rather than vtimes.h.
24373         Add missing *s in vtimes prototype.
24374         (Limits on Resources): Fix ulimit prototype to return long int.
24375         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24376         prototypes to use long int rather than double.
24377         (BSD Random): Fix initstate and setstate to use char *, not void *.
24378         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24379         prototype to make second argument 'struct aiocb64 *const[]'.
24380         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24381         (Status of AIO Operations): Remove erroneous const in aio_return and
24382         aio_return64 prototypes.
24383         (Synchronizing I/O): Fix sync prototype to return void.
24384         * manual/startup.texi (Suboptions): Remove an erroneous const in
24385         getsubopt prototype.
24386         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24387         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24388         use size_t rather than int.
24389         (Scanning All Users): Likewise for getpwent_r.
24390         (Setting Groups): Add missing const to setgroups prototype.
24391         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24392         * manual/socket.texi (Host Names): Fix gethostbyaddr and
24393         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24394         'const void *' rather than 'const char *'.
24395         (Host Address Functions): Likewise for inet_ntop.
24396         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24397         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24398         ssize_t for return value.
24399         (Sending Data): Likewise for send, sendto, sendmsg.
24400         (Socket Option Functions): Add a missing const in setsockopt prototype.
24401         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24402         use wchar_t for the argument.
24403         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24404         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24405         take no arguments.
24406         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24407         double/float/long double for second argument.
24408         Fix return types of significand, significandf, significandl.
24409         * manual/filesys.texi (Setting Permissions): Use mode_t for second
24410         argument in fchmod prototype.
24411         (File Owner): Use uid_t and gid_t in fchown prototype.
24412         (File Times): Add const to utimes, futimes, and lutimes prototypes.
24413         (Making Special Files): Use mode_t and dev_t in mknod prototype.
24414         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24415         use 'const struct dirent **' as argument types to CMP function pointer
24416         argument.
24417         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24418         (File Times): Fix summary magic @comment for struct utimbuf and utime
24419         to refer to utime.h, not time.h.
24420         * manual/string.texi (Argz Functions): Add missing const in
24421         argz_extract and argz_next prototypes.
24422         (Finding Tokens in a String): Likewise for basename.
24423         (String/Array Comparison): Fix typo in wcscasecmp prototype.
24424         (Copying and Concatenation): Fix typo in wmemmove prototype.
24425         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24426         (Signal Stack): Remove erroneous const in sigstack prototype.
24427         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24428         prototype.
24429         (Simple Calendar Time): Likewise for stime.
24430         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24431         prototype.
24432         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24433         say sys/sysctl.h instead.
24434         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24435         and vsyslog prototypes.
24436
24437 2013-02-11  Tom de Vries  <tom@codesourcery.com>
24438
24439         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24440         Remove.
24441
24442 2013-02-11  Roland McGrath  <roland@hack.frob.com>
24443
24444         * misc/sys/mman.h: Fix typo in mremap comment.
24445
24446 2013-02-08  Roland McGrath  <roland@hack.frob.com>
24447
24448         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24449         the '\0' terminator.
24450
24451 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
24452
24453         [BZ #13550]
24454         * debug/segfault.c: Don't include <bp-checks.h>.
24455         * sysdeps/generic/bp-checks.h: Remove file.
24456         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24457         (__GETDENTS): Don't use CHECK_N.
24458         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24459         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24460         (__getgroups): Don't use CHECK_N.
24461         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24462         (setgroups): Don't use CHECK_N.
24463         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24464         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24465         (__libc_msgrcv): Don't use CHECK_N.
24466         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24467         (__libc_msgsnd): Don't use CHECK_N.
24468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24469         <bp-checks.h>.
24470         (__libc_pread): Don't use CHECK_N.
24471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24472         include <bp-checks.h>.
24473         (__libc_pread64): Don't use CHECK_N.
24474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24475         include <bp-checks.h>.
24476         (__libc_pwrite): Don't use CHECK_N.
24477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24478         include <bp-checks.h>.
24479         (__libc_pwrite64): Don't use CHECK_N.
24480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24481         <bp-checks.h>.
24482         (__libc_pread): Don't use CHECK_N.
24483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24484         include <bp-checks.h>.
24485         (__libc_pread64): Don't use CHECK_N.
24486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24487         include <bp-checks.h>.
24488         (__libc_pwrite): Don't use CHECK_N.
24489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24490         include <bp-checks.h>.
24491         (__libc_pwrite64): Don't use CHECK_N.
24492         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24493         (do_pread): Don't use CHECK_N.
24494         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24495         (do_pread64): Don't use CHECK_N.
24496         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24497         (do_pwrite): Don't use CHECK_N.
24498         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24499         (do_pwrite64): Don't use CHECK_N.
24500         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24501         (__libc_readv): Don't use CHECK_N.
24502         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24503         (semop): Don't use CHECK_N.
24504         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24505         <bp-checks.h>.
24506         (semtimedop): Don't use CHECK_N.
24507         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24508         (__libc_pread): Don't use CHECK_N.
24509         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24510         <bp-checks.h>.
24511         (__libc_pread64): Don't use CHECK_N.
24512         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24513         <bp-checks.h>.
24514         (__libc_pwrite): Don't use CHECK_N.
24515         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24516         <bp-checks.h>.
24517         (__libc_pwrite64): Don't use CHECK_N.
24518         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24519         <bp-checks.h>.
24520         (__libc_msgrcv): Don't use CHECK_N.
24521         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24522         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
24523         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24524         (__libc_writev): Don't use CHECK_N.
24525
24526 2013-02-08  Roland McGrath  <roland@hack.frob.com>
24527
24528         * string/strcpy.c: Removed unused variable.
24529
24530         * Makeconfig (+sysdep-includes): Define with := rather than =.
24531         Use an existing include/ subdir of each sysdeps dir before it.
24532
24533 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24534
24535         * nscd/connection.c (register_traced_file): Comment function.
24536         [HAVE_INOTIFY] (union __inev): Define.
24537         [HAVE_INOTIFY] (inotify_check_files): New function.
24538         [HAVE_INOTIFY] (clear_db_cache): Likewise.
24539         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24540         clear_db_cache.
24541         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24542
24543 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24544
24545         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24546         loaded if not already and that a failure is permanent.
24547
24548 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24549
24550         [BZ #15006]
24551         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24552         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24553
24554 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
24555
24556         [BZ #13550]
24557         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24558         (CHECK_1_NULL_OK): Likewise.
24559         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24560         (__fxstat): Do not use CHECK_1.
24561         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24562         <bp-checks.h>.
24563         (___fxstat64): Do not use CHECK_1.
24564         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24565         <bp-checks.h>.
24566         (__fxstatat): Do not use CHECK_1.
24567         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24568         <bp-checks.h>.
24569         (__fxstatat64): Do not use CHECK_1.
24570         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24571         <bp-checks.h>.
24572         (__fxstat): Do not use CHECK_1.
24573         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24574         <bp-checks.h>.
24575         (__fxstatat): Do not use CHECK_1.
24576         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24577         <bp-checks.h>.
24578         (__getresgid): Do not use CHECK_1.
24579         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24580         <bp-checks.h>.
24581         (__getresuid): Do not use CHECK_1.
24582         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24583         <bp-checks.h>.
24584         (__lxstat): Do not use CHECK_1.
24585         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24586         <bp-checks.h>.
24587         (__old_msgctl): Do not use CHECK_1.
24588         (__new_msgctl): Likewise.
24589         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24590         <bp-checks.h>.
24591         (__new_setrlimit): Do not use CHECK_1.
24592         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24593         <bp-checks.h>.
24594         (__old_shmctl): Do not use CHECK_1.
24595         (__new_shmctl): Likewise.
24596         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24597         <bp-checks.h>.
24598         (__xstat): Do not use CHECK_1.
24599         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24600         (__lxstat): Do not use CHECK_1.
24601         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24602         <bp-checks.h>.
24603         (___lxstat64): Do not use CHECK_1.
24604         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24605         (__old_msgctl): Do not use CHECK_1.
24606         (__new_msgctl): Likewise.
24607         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24608         <bp-checks.h>.
24609         (__gettimeofday): Do not use CHECK_1.
24610         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24611         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24612         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24613         <bp-checks.h>.
24614         (__gettimeofday): Do not use CHECK_1.
24615         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24616         (__old_shmctl): Do not use CHECK_1_NULL_OK.
24617         (__new_shmctl): Do not use CHECK_1.
24618         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24619         <bp-checks.h>.
24620         (do_sigtimedwait): Do not use CHECK_1.
24621         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24622         <bp-checks.h>.
24623         (do_sigwaitinfo): Do not use CHECK_1.
24624         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24625         <bp-checks.h>.
24626         (msgctl): Do not use CHECK_1.
24627         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24628         <bp-checks.h>.
24629         (shmctl): Do not use CHECK_1.
24630         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24631         (ustat): Do not use CHECK_1.
24632         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24633         <bp-checks.h>.
24634         (__fxstat): Do not use CHECK_1.
24635         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24636         <bp-checks.h>.
24637         (__fxstatat): Do not use CHECK_1.
24638         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24639         <bp-checks.h>.
24640         (__lxstat): Do not use CHECK_1.
24641         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24642         <bp-checks.h>.
24643         (__xstat): Do not use CHECK_1.
24644         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24645         (__xstat): Do not use CHECK_1.
24646         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24647         (___xstat64): Do not use CHECK_1.
24648
24649         [BZ #13550]
24650         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24651         definitions.
24652         (CHECK_BOUNDS_HIGH): Likewise.
24653         * string/strcpy.c: Do not include <bp-checks.h>.
24654         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24655
24656 2013-02-07  Roland McGrath  <roland@hack.frob.com>
24657
24658         * nscd/nscd-client.h (__nscd_drop_map_ref):
24659         Add __attribute__ ((unused)).
24660         * nis/nss-nisplus.h (niserr2nss): Likewise.
24661
24662         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24663         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24664
24665         * csu/libc-tls.c (init_static_tls, init_slotinfo):
24666         Remove inline keyword.
24667         * include/rounding-mode.h (round_away): Likewise.
24668         * libio/wfileops.c (adjust_wide_data): Likewise.
24669         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24670         (__m128i_strloadu_tolower): Likewise.
24671         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24672         (__m128i_strloadu_tolower): Likewise.
24673         * time/mktime.c (ydhms_diff): Likewise.
24674         * locale/elem-hash.h (elem_hash): Likewise.
24675         * locale/setlocale.c (setdata): Likewise.
24676         * posix/regex_internal.h (re_string_char_size_at): Likewise.
24677         (re_string_wchar_at): Likewise.
24678         (bitset_not, bitset_merge, bitset_mask): Likewise.
24679         [!(__GNUC__ > 3)] (inline): Remove macro.
24680         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24681         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24682         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24683         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24684         * string/memcmp.c (memcmp_bytes): Likewise.
24685         * locale/programs/locarchive.c (compute_hashval): Likewise.
24686         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24687         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24688         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24689         * nss/getent.c (print_rpc, print_protocols): Likewise.
24690         (print_passwd, print_group, print_aliases): Likewise.
24691         * nis/nss-nisplus.h (niserr2nss): Likewise.
24692         * nscd/connections.c (restart_p): Likewise.
24693         Change return type to bool.
24694
24695 2013-02-05  Roland McGrath  <roland@hack.frob.com>
24696
24697         * Makeconfig (all-Depend-files): Add existing
24698         $(sorted-subdirs:=/Depend) files.
24699         (all-subdirs): Remove nss.
24700         * sysdeps/unix/inet/Subdirs: Add it here instead.
24701         * hesiod/Depend: New file.
24702
24703         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24704         instead of calling alloca.
24705
24706         * io/lseek.c (__lseek): Rename to __libc_lseek.
24707         Define __lseek as an alias.
24708
24709         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24710
24711 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
24712
24713         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24714         else clause and remove check for non-standard endianness.
24715
24716 2013-02-04  David S. Miller  <davem@davemloft.net>
24717
24718         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24719
24720 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
24721
24722         [BZ #13550]
24723         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24724         (__ubp_memchr): Remove prototype.
24725         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24726         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24727         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24728         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24729         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24730         Remove alias.
24731         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24732         (__ubp_memchr): Likewise.
24733         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24734         (__ubp_memchr): Likewise.
24735         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24736         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24737         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24738         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24739         CHECK_STRING.
24740         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24741         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24742         (__getcwd): Do not use CHECK_STRING.
24743         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24744         <bp-checks.h>.
24745         (__real_chown): Do not use CHECK_STRING.
24746         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24747         <bp-checks.h>.
24748         (fchownat): Do not use CHECK_STRING.
24749         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24750         CHECK_STRING.
24751         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24752         <bp-checks.h>.
24753         (__lchown): Do not use CHECK_STRING.
24754         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24755         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24756         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24757         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24759         include <bp-checks.h>.
24760         (truncate64): Do not use CHECK_STRING.
24761         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24762         <bp-checks.h>.
24763         (__real_chown): Do not use CHECK_STRING.
24764         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24765         <bp-checks.h>.
24766         (__lchown): Do not use CHECK_STRING.
24767         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24768         <bp-checks.h>.
24769         (__chown): Do not use CHECK_STRING.
24770         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24771         <bp-checks.h>.
24772         (truncate64): Do not use CHECK_STRING.
24773         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24774         Likewise.
24775         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24776         (__xmknod): Do not use CHECK_STRING.
24777         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24778         <bp-checks.h>.
24779         (__xmknodat): Do not use CHECK_STRING.
24780         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24781         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24782
24783 2013-02-04  Andreas Schwab  <schwab@suse.de>
24784
24785         [BZ #14142]
24786         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24787         * include/netdb.h: Likewise for h_errno.
24788         * elf/tst-stackguard1.c: Include <tls.h>.
24789
24790 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
24791
24792         * elf/link.h (struct link_map): Extend the l_addr comment.
24793         * include/link.h (struct link_map): Likewise.
24794
24795 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
24796
24797         [BZ #13550]
24798         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24799         (BOUNDED_1): Remove macro.
24800         * debug/backtrace.c: Don't include <bp-checks.h>.
24801         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24802         (__backtrace): Likewise.
24803         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24804         <bp-checks.h>.
24805         (__backtrace): Don't use BOUNDED_1.
24806         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24807         <bp-checks.h>.
24808         (__backtrace): Don't use BOUNDED_1.
24809         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24810         (__backtrace): Don't use BOUNDED_1.
24811         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24812         (shmat): Don't use BOUNDED_N.
24813
24814 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
24815
24816         [BZ #13550]
24817         * sysdeps/generic/bp-start.h: Remove file.
24818         * csu/libc-start.c: Don't include <bp-start.h>.
24819         (LIBC_START_MAIN): Set up __environ directly instead of using
24820         INIT_ARGV_and_ENVIRON.
24821         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24822         <bp-start.h>.
24823
24824         [BZ #13550]
24825         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24826         definitions.
24827         (CHECK_FCNTL): Likewise.
24828         (CHECK_N_PAGES): Likewise.
24829
24830         [BZ #13550]
24831         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24832         definitions.
24833         (CHECK_SIGSET_NULL_OK): Likewise.
24834         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24835         <bp-checks.h>.
24836         (sigpending): Don't use CHECK_SIGSET.
24837         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24838         <bp-checks.h>.
24839         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24840         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24841         <bp-checks.h>.
24842         (do_sigsuspend): Don't use CHECK_SIGSET.
24843         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24844         use CHECK_SIGSET.
24845         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24846         (do_sigwait): Don't use CHECK_SIGSET.
24847         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24848         use CHECK_SIGSET.
24849         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24850         include <bp-checks.h>.
24851         (sigpending): Don't use CHECK_SIGSET.
24852         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24853         include <bp-checks.h>.
24854         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24855         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24856         <bp-checks.h>.
24857         (sigpending): Don't use CHECK_SIGSET.
24858         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24859         <bp-checks.h>.
24860         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24861
24862         [BZ #13550]
24863         * sysdeps/generic/bp-semctl.h: Remove file.
24864         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24865         <bp-checks.h> and <bp-semctl.h>.
24866         (__old_semctl): Don't use CHECK_SEMCTL.
24867         (__new_semctl): Likewise.
24868         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24869         and <bp-semctl.h>.
24870         (__old_semctl): Don't use CHECK_SEMCTL.
24871         (__new_semctl): Likewise.
24872         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24873         <bp-checks.h> and <bp-semctl.h>.
24874         (__old_semctl): Don't use CHECK_SEMCTL.
24875         (__new_semctl): Likewise.
24876         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24877         <bp-checks.h> and <bp-semctl.h>.
24878         (semctl): Don't use CHECK_SEMCTL.
24879
24880         [BZ #13550]
24881         * Makerules (elide-bp-thunks): Remove variable.
24882         (elide-routines.oS): Don't use $(elide-bp-thunks).
24883         (elide-routines.os): Likewise.
24884         (elide-routines.o): Likewise.
24885         (elide-routines.op): Likewise.
24886         (elide-routines.og): Likewise.
24887         (objects): Don't use $(bp-thunks).
24888         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24889         include.
24890         (common-generated): Do not add s-proto-bp.d.
24891         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24892         (int): Likewise.
24893         (typ): Likewise.
24894         Do not generate makefile rules for bounded-pointer thunks.
24895         * sysdeps/generic/bp-thunks.h: Remove file.
24896         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24897         * sysdeps/unix/s-proto-bp.S: Likewise.
24898
24899         [BZ #15062]
24900         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24901         parts of result separately when argument is not close to line from
24902         -i to i and one part of argument is small.
24903         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24904         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24905         * math/libm-test.inc (cacos_test): Add more tests.
24906         (casin_test): Likewise.
24907         (casinh_test): Likewise.
24908         * sysdeps/i386/fpu/libm-test-ulps: Update.
24909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24910
24911 2013-01-31  David S. Miller  <davem@davemloft.net>
24912
24913         * po/de.po: Update from translation team.
24914
24915 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
24916
24917         * time/tzfile.c: Include stdint.h for SIZE_MAX.
24918
24919 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
24920
24921         * configure.in (_AC_PROG_CC_C89): New definition.
24922         * configure: Regenerate.
24923
24924         * configure.in (AC_PROG_CPP): New definition.
24925         * configure: Regenerate.
24926
24927 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
24928
24929         * debug/tst-backtrace.h: New file.
24930         * debug/tst-backtrace2.c: Include tst-backtrace.h.
24931         (ret): Remove variable.
24932         (x): Likewise.
24933         (FAIL): Remove macro.
24934         (NO_INLINE): Likewise.
24935         (fn1): Use match function instead of strstr.
24936         * debug/tst-backtrace3.c: Include tst-backtrace.h.
24937         (ret): Remove variable.
24938         (x): Likewise.
24939         (FAIL): Remove macro.
24940         (NO_INLINE): Likewise.
24941         (fn): Use match function instead of strstr.
24942         * debug/tst-backtrace4.c: Include tst-backtrace.h.
24943         (ret): Remove variable.
24944         (x): Likewise.
24945         (FAIL): Remove macro.
24946         (NO_INLINE): Likewise.
24947         (handle_signal): Use match function instead of strstr.
24948         * debug/tst-backtrace5.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
24955 2013-01-23  Roland McGrath  <roland@hack.frob.com>
24956
24957         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24958
24959 2013-01-23  David S. Miller  <davem@davemloft.net>
24960
24961         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24962         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24963         argument of CAS if possible.
24964         * sysdeps/sparc/sparc64/bits/atomic.h
24965         (__arch_compare_and_exchange_val_32_acq): Likewise.
24966         (__arch_compare_and_exchange_val_64_acq): Likewise.
24967
24968 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
24969
24970         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24971         * sysdeps/posix/ulimit.c: ... this.
24972         Include <limits.h>.
24973         * sysdeps/unix/bsd/ulimit.c: Remove file.
24974
24975 2013-01-23  Adam Conrad  <adconrad@0c3.net>
24976
24977         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24978         (LDFLAGS-tst-array5): Likewise.
24979
24980 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
24981
24982         [BZ #15036]
24983         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24984         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24985         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24986         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24987
24988 2013-01-21  David S. Miller  <davem@davemloft.net>
24989
24990         * sysdeps/sparc/backtrace.c: New file.
24991         * sysdeps/sparc/sparc32/backtrace.h: New file.
24992         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24993         * sysdeps/sparc/sparc64/backtrace.h: New file.
24994         * sysdeps/sparc/sparc64/backtrace.c: Delete.
24995         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24996         -funwind-tables.
24997
24998 2013-01-21  Andreas Schwab  <schwab@suse.de>
24999
25000         [BZ #15020]
25001         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25002         closed its stdout.
25003
25004 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
25005
25006         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25007         "mpa2.h".
25008         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25009
25010 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
25011             Mark Mitchell  <mark@codesourcery.com>
25012             Tom de Vries  <tom@codesourcery.com>
25013             Paul Pluzhnikov  <ppluzhnikov@google.com>
25014
25015         * debug/tst-backtrace2.c: New file.
25016         * debug/tst-backtrace3.c: Likewise.
25017         * debug/tst-backtrace4.c: Likewise.
25018         * debug/tst-backtrace5.c: Likewise.
25019         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25020         (CFLAGS-tst-backtrace3.c): Likewise.
25021         (CFLAGS-tst-backtrace4.c): Likewise.
25022         (CFLAGS-tst-backtrace5.c): Likewise.
25023         (LDFLAGS-tst-backtrace2): Likewise.
25024         (LDFLAGS-tst-backtrace3): Likewise.
25025         (LDFLAGS-tst-backtrace4): Likewise.
25026         (LDFLAGS-tst-backtrace5): Likewise.
25027         (tests): Add new tests tst-backtrace2, tst-backtrace3,
25028         tst-backtrace4 and tst-backtrace5.
25029
25030 2013-01-18  Anton Blanchard  <anton@samba.org>
25031             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25032
25033         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25034         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25035         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25036         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25038         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25039         "+r" and remove output regs list as redundant.  Add explicit inline
25040         asm to specify register of return val to work around compiler codegen
25041         bug.  Remove (int) cast on return value.  Add return type parameter to
25042         use in macro so that this macro does not truncate return value for
25043         64-bit values.
25044         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25045         pass to INTERNAL_VSYSCALL_NCS.
25046         (INLINE_VSYSCALL): Add 'long int' as return type to
25047         INTERNAL_VSYSCALL_NCS macro invocation.
25048         (INTERNAL_VSYSCALL): Add 'long int' as return type to
25049         INTERNAL_VSYSCALL_NCS macro invocation.
25050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25051
25052 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25053
25054         [BZ #14496]
25055         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25056         Fix application of SIMD FP exception mask.
25057
25058         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25059         mp_no from a power of two.
25060         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25061         __mpexp_twomm1.  Use __pow_mp.
25062
25063         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25064         multiplication.
25065
25066 2013-01-17  David S. Miller  <davem@davemloft.net>
25067
25068         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25069
25070 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25071
25072         [BZ #15023]
25073         * include/complex.h: Condition contents on [!_COMPLEX_H].
25074         (__kernel_casinhf): New prototype.
25075         (__kernel_casinh): Likewise.
25076         (__kernel_casinhl): Likewise.
25077         * math/Makefile (libm_calls): Add k_casinh.
25078         * math/k_casinh.c: New file.
25079         * math/k_casinhf.c: Likewise.
25080         * math/k_casinhl.c: Likewise.
25081         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25082         finite nonzero arguments.
25083         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25084         finite nonzero arguments.
25085         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25086         finite nonzero arguments.
25087         * math/s_casinh.c: Do not include <float.h>.
25088         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25089         * math/s_casinhf.c: Do not include <float.h>.
25090         (__casinhf): Move code for finite nonzero arguments to
25091         k_casinhf.c.
25092         * math/s_casinhl.c: Do not include <float.h>.
25093         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25094         redefine.
25095         (__casinhl): Move code for finite nonzero arguments to
25096         k_casinhl.c.
25097         * math/libm-test.inc (cacos_test): Add more tests.
25098         * sysdeps/i386/fpu/libm-test-ulps: Update.
25099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25100
25101 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
25102
25103         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25104         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25105         [!HAVE_MREMAP]: Remove [defined linux] case.
25106         * malloc/arena.c: Do not include <malloc-sysdep.h>.
25107
25108 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25109
25110         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25111
25112 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
25113
25114         * elf/elf.h (R_386_SIZE32): New relocation.
25115         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25116         R_386_SIZE32.
25117         (elf_machine_rela): Likewise.
25118         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25119         R_X86_64_SIZE64 and R_X86_64_SIZE32.
25120
25121 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25122
25123         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25124         (FP_FAST_FMA): Do not define.
25125         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25126         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25127         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25128         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25129         !_SOFT_FLOAT]: Likewise.
25130         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25131         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25132         value.
25133         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25134         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25135         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25136         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25137         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25138         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25139         file.
25140
25141 2013-01-16  Andreas Schwab  <schwab@suse.de>
25142
25143         [BZ #14327]
25144         * include/stdlib.h (__mktemp): Add declaration.
25145         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25146         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25147
25148 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25149
25150         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25151         definitions.
25152         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25153         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25154         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25155         definitions here.
25156         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25157         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25158         definitions.
25159         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25160         and ONE.
25161         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25162         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25163         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25164         definitions.
25165         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25166         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25167         definitions.
25168         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25169
25170         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25171
25172 2013-01-15  David S. Miller  <davem@davemloft.net>
25173
25174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25175         trunc{,f} to libm-sysdep_routes.
25176         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25178         file.
25179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25181         file.
25182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25183         file.
25184         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25186         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25187         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25188         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25189         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25190         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25191         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25192
25193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25194         nearbyint{,f} to libm-sysdep_routes.
25195         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25197         New file.
25198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25199         file.
25200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25201         New file.
25202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25203         file.
25204         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25205         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25206         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25207         file.
25208         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25209         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25210         file.
25211         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25212         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25213         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25214
25215         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25216         libc_feholdexcept and libc_fesetenv.
25217
25218 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
25219
25220         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25221
25222 2013-01-14  David S. Miller  <davem@davemloft.net>
25223
25224         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25225         (SPARC_ASM_VIS2_IFUNC): Likewise.
25226         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25228         use of 'siam' instruction.
25229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25230         Likewise.
25231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25232         Likewise.
25233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25234         Likewise.
25235         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25236         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25237         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25238         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25240         file.
25241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25242         file.
25243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25244         file.
25245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25246         file.
25247         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25248         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25249         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25250         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25252         new VIS2 routines.
25253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25256         Likewise.
25257         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25258         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25259         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25260         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25262         routines to libm-sysdep_routines.
25263         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25264
25265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25266         fdim/fdimf to libm-sysdep_routines.
25267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25268         file.
25269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25271         file.
25272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25273         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25275         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25276         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25277         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25278         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25279
25280 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25281
25282         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25283         to optimize copies.
25284
25285         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25286         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25287         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25288
25289         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25290         local variable MPTWO.
25291         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25292         Likewise.
25293
25294 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25295
25296         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25297         GLOB_NOESCAPE.
25298
25299 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25300
25301         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25302
25303 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25304
25305         * manual/pattern.texi (glob_t): Document gl_flags.
25306         (glob64_t): Likewise.
25307
25308 2013-01-11  David S. Miller  <davem@davemloft.net>
25309
25310         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25311         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25312         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
25313         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25314         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25315         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25316         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25317         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25318         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25319         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25320         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25321         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25322         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25323
25324         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25325         sparc V9 rather than using V8 code.
25326         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25327         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25328
25329         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25330         Move to...
25331         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25332         Here.
25333
25334 2013-01-11  Roland McGrath  <roland@hack.frob.com>
25335
25336         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25337         not in the main loop.
25338         * configure: Regenerated.
25339
25340 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
25341
25342         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25343         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25344         to just #else.
25345         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
25346         [!__GLIBC_HAVE_LONG_LONG] case.
25347         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25348         condition to just #else.
25349         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25350         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25351         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25352         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25353         unconditional.
25354         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25355         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25356         #elif condition to just #else.
25357         * sysdeps/unix/sysv/linux/sys/sysmacros.h
25358         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25359         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25360         #elif condition to just #else.
25361
25362 2013-01-11  Steve Ellcey  <sellcey@mips.com>
25363
25364         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25365         (EF_MIPS_ARCH_64): Fix value.
25366         (EF_MIPS_ARCH_32R2): New.
25367         (EF_MIPS_ARCH_64R2): New.
25368
25369 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
25370
25371         * Makeconfig (+link-pie-before-libc): New.
25372         (+link-pie-after-libc): Likewise.
25373         (+link-pie-tests): Likewise.
25374         (+link-pie): Rewritten.
25375         (link-before-libc): Remove $(config-LDFLAGS).
25376         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25377         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25378         (config-LDFLAGS): Renamed to ...
25379         (rtld-LDFLAGS): This.
25380         (rtld-tests-LDFLAGS): New macro.
25381         (link-libc-rpath-link): Likewise.
25382         (link-libc-tests-rpath-link): Likewise.
25383         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25384         (link-libc): Prepand $(link-libc-rpath-link).
25385         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25386         (test-program-prefix): New macro.
25387         (test-via-rtld-prefix): Likewise.
25388         (test-program-cmd): Likewise.
25389         (host-test-program-cmd): Likewise.
25390         * Makefile ($(common-objpfx)testrun.sh): Replace
25391         $(run-program-prefix) with $(test-program-prefix).
25392         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25393         $(rtld-LDFLAGS).
25394         ($(common-objpfx)shlib.lds): Likewise.
25395         (build-module-helper): Likewise.
25396         ($(common-objpfx)format.lds): Likewise.
25397         * Rules (binaries-pie-tests): New.
25398         (binaries-pie-notests): Likewise.
25399         (binaries-pie): Rewritten.
25400         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25401         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25402         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25403         (make-test-out): Replace $(host-built-program-cmd) with
25404         $(host-test-program-cmd).
25405         * config.make.in (build-hardcoded-path-in-tests): New variable.
25406         * configure.in (--enable-hardcoded-path-in-tests): New configure
25407         option.
25408         (hardcoded_path_in_tests): New AC_SUBST.
25409         * configure: Regenerated.
25410         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25411         $(built-program-cmd) with $(test-program-cmd).
25412         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25413         (test_program_cmd): This.
25414         * elf/Makefile ($(objpfx)order.out): Run test with
25415         $(test-program-prefix).
25416         ($(objpfx)order2.out): Likewise.
25417         ($(objpfx)tst-initorder.out): Likewise.
25418         ($(objpfx)tst-initorder2.out): Likewise.
25419         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25420         $(test-program-cmd).
25421         ($(objpfx)tst-array1-static.out): Likewise.
25422         ($(objpfx)tst-array2.out): Likewise.
25423         ($(objpfx)tst-array3.out): Likewise.
25424         ($(objpfx)tst-array4.out): Likewise.
25425         ($(objpfx)tst-array5.out): Likewise.
25426         ($(objpfx)tst-array5-static.out): Likewise.
25427         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25428         $(test-program-cmd).
25429         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25430         $(run-program-prefix) with $(test-program-prefix).
25431         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25432         (test_program_prefix): This.
25433         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25434         $(run-program-prefix) with $(test-program-prefix).
25435         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25436         (test_program_prefix): This.
25437         * iconvdata/tst-tables.sh: Likewise.
25438         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25439         $(run-program-prefix) with $(test-program-prefix).
25440         ($(objpfx)tst-translit.out): Likewise.
25441         ($(objpfx)tst-gettext2.out): Likewise.
25442         ($(objpfx)tst-gettext4.out): Likewise.
25443         ($(objpfx)tst-gettext6.out): Likewise.
25444         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25445         (test_program_prefix): This.
25446         * intl/tst-gettext2.sh: Likewise.
25447         * intl/tst-gettext4.sh  Likewise.
25448         * intl/tst-gettext6.sh: Likewise.
25449         * intl/tst-translit.sh: Likewise.
25450         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25451         with $(test-program-cmd).
25452         * libio/Makefile ($(objpfx)test-freopen.out): Replace
25453         $(run-program-prefix) with $(test-program-prefix).
25454         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25455         (test_program_prefix): This.
25456         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25457         $(run-program-prefix) with $(test-program-prefix).
25458         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25459         (test_program_prefix): This.
25460         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25461         * posix/Makefile ($(objpfx)globtest.out): Replace
25462         $(run-via-rtld-prefix) and $(test-wrapper) with
25463         $(test-program-prefix) and $(test-via-rtld-prefix).
25464         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25465         $(test-program-prefix).
25466         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25467         $(host-test-program-cmd).
25468         (tst-spawn-ARGS): Likewise.
25469         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25470         $(test-program-prefix).
25471         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25472         (test_via_rtld_prefix): This.
25473         (test_wrapper): Renamed to ...
25474         (test_program_prefix): This.
25475         (run_program_prefix): Replaced by test_program_prefix.
25476         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25477         (test_program_prefix): This.
25478         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25479         with $(host-test-program-cmd).
25480         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25481         $(run-program-prefix) with $(test-program-prefix).
25482         ($(objpfx)tst-printf.out): Likewise.
25483         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25484         $(test-program-cmd).
25485         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25486         (test_program_prefix): This.
25487         * stdio-common/tst-unbputc.sh: Likewise.
25488         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25489         $(run-program-prefix) with $(test-program-prefix).
25490         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25491         (test_program_prefix): This.
25492         * string/Makefile ($(objpfx)tst-svc.out):  Replace
25493         $(built-program-cmd) with $(test-program-cmd).
25494
25495 2013-01-11  Andreas Jaeger  <aj@suse.de>
25496
25497         [BZ #15003]
25498         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25499         value. Sync with Linux 3.7.
25500
25501 2013-01-10  David S. Miller  <davem@davemloft.net>
25502
25503         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25504         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25505         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25506
25507 2013-01-10  Roland McGrath  <roland@hack.frob.com>
25508
25509         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25510         never set.
25511         * configure: Regenerated.
25512
25513 2013-01-10  David S. Miller  <davem@davemloft.net>
25514
25515         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25516         sparc V9 rather than using V8 code.
25517         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25518         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25519
25520 2013-01-10  Roland McGrath  <roland@hack.frob.com>
25521
25522         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25523         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25524         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25525         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25526         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25527         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25528         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25529         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25530         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25531         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25532         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25533         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25534         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25535         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25536         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25537         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25538         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25539         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25540         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25541         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25542         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25543         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25544         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25545         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25546         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25547         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25548         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25549
25550 2013-01-10  David S. Miller  <davem@davemloft.net>
25551
25552         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25553
25554 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
25555
25556         * posix/Makefile (tests-static): New variable.
25557         (tests): Add $(tests-static).
25558         (tst-exec-static-ARGS): New variable.
25559         (tst-spawn-static-ARGS): Likewise.
25560         * posix/tst-exec-static.c: New file.
25561         * posix/tst-spawn-static.c: Likewise.
25562         * posix/tst-exec.c: Support run directly.
25563         * posix/tst-spawn.c: Likewise.
25564
25565 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
25566
25567         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25568         long.
25569         * math/bits/mathcalls.h (llrint): Likewise.
25570         (llround): Likewise.
25571         * stdlib/stdlib.h (struct drand48_data): Likewise.
25572         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25573         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25574         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25575         Likewise.
25576         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25577         Likewise.
25578         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25579         (elf_greg_t): Likewise.
25580         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25581         (__jmp_buf): Likewise.
25582         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25583         definitions.
25584         (llrint): Likewise, for all definitions.
25585         (llrintl): Likewise.
25586
25587         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25588         Remove [__GNUC__] condition.
25589         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25590         condition to just [__USE_ISOC99].
25591         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25592
25593 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
25594
25595         [BZ #14200]
25596         * sysdeps/unix/sysv/linux/x86/bits/environments.h
25597         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25598         defined.
25599         (_POSIX_V6_ILP32_OFF32): Likewise.
25600         (_XBS5_ILP32_OFF32): Likewise.
25601         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25602         (__ILP32_OFFBIG_LDFLAGS): Likewise.
25603
25604 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25605
25606         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25607
25608         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25609         doubles __mpexp_twomm1.  Adjust usage.
25610         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25611         Remove.
25612
25613 2013-01-10  Andreas Schwab  <schwab@suse.de>
25614
25615         [BZ #14964]
25616         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25617         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25618
25619 2013-01-09  David S. Miller  <davem@davemloft.net>
25620
25621         [BZ #15003]
25622         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25623         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25624         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25625         (TCP_FASTOPEN): Define.
25626         (tcp_repair_opt): New structure.
25627         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25628         enum values.
25629         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25630         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25631         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25632         (tcp_cookie_transactions): New structure.
25633
25634 2013-01-09  Anton Blanchard  <anton@samba.org>
25635
25636         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25637         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25638         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25639         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25640
25641 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
25642
25643         * include/features.h (__USE_ANSI): Remove.
25644
25645 2013-01-09  Roland McGrath  <roland@hack.frob.com>
25646
25647         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25648
25649         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25650
25651 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
25652
25653         * sysdeps/s390/fpu/libm-test-ulps: Update.
25654
25655         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25656
25657         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25658         (__acr): Likewise.
25659         (__cpy): Likewise.
25660         (norm): Likewise.
25661         (denorm): Likewise.
25662         (__mp_dbl): Likewise.
25663         (__dbl_mp): Likewise.
25664         (add_magnitudes): Likewise.
25665         (sub_magnitudes): Likewise.
25666         (__add): Likewise.
25667         (__sub): Likewise.
25668         (__mul): Likewise.
25669         (__inv): Likewise.
25670         (__dvd): Likewise.
25671         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25672         (__acr): Likewise.
25673         (__cpy): Likewise.
25674         (norm): Likewise.
25675         (denorm): Likewise.
25676         (__mp_dbl): Likewise.
25677         (__dbl_mp): Likewise.
25678         (add_magnitudes): Likewise.
25679         (sub_magnitudes): Likewise.
25680         (__add): Likewise.
25681         (__sub): Likewise.
25682         (__mul): Likewise.
25683         (__inv): Likewise.
25684         (__dvd): Likewise.
25685         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25686         (__acr): Likewise.
25687         (__cpy): Likewise.
25688         (norm): Likewise.
25689         (denorm): Likewise.
25690         (__mp_dbl): Likewise.
25691         (__dbl_mp): Likewise.
25692         (add_magnitudes): Likewise.
25693         (sub_magnitudes): Likewise.
25694         (__add): Likewise.
25695         (__sub): Likewise.
25696         (__mul): Likewise.
25697         (__inv): Likewise.
25698         (__dvd): Likewise.
25699
25700 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
25701
25702         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25703         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25704         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25705         2 && __USE_EXTERN_INLINES]: Likewise.
25706
25707 2013-01-08  Andreas Jaeger  <aj@suse.de>
25708
25709         [BZ# 14985]
25710         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25711         Remove.
25712         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25713         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25714
25715 2013-01-07  Anton Blanchard  <anton@samba.org>
25716
25717         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25718         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25719         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25720         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25721         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25722         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25723         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25724         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25725         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25726         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25727         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25728         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25729         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25730         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25731         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25732         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25733         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25734         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25735         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25736         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25737         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25738         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25739         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25740         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25741         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25742         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25743         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25744         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25745         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25746         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25747         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25748         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25749         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25750         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25751         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25752         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25753         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25754         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25755         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25756         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25757         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25758         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25759         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25760
25761 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
25762
25763         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25764         (__MALLOC_PMT): Likewise.
25765         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25766         [__GNUC__], only on [_LIBC].
25767         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25768         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25769         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25770         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25771         forward declaration.
25772         (realloc_hook_ini): Likewise.
25773         (memalign_hook_ini): Likewise.
25774         (__libc_memalign): Do not use __MALLOC_PMT in variable
25775         declaration.
25776         (__libc_valloc): Likewise.
25777         (__libc_pvalloc): Likewise.
25778         (__libc_calloc): Likewise.
25779         (__posix_memalign): Likewise.
25780
25781         [BZ #14996]
25782         * math/s_casinh.c: Include <float.h>.
25783         (__casinh): Do not do computation with squaring and square root
25784         for large arguments.
25785         * math/s_casinhf.c: Include <float.h>.
25786         (__casinhf): Do not do computation with squaring and square root
25787         for large arguments.
25788         * math/s_casinhl.c: Include <float.h>.
25789         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25790         (__casinhl): Do not do computation with squaring and square root
25791         for large arguments.
25792         * math/libm-test.inc (casin_test): Add more tests.
25793         (casinh_test): Likewise.
25794         * sysdeps/i386/fpu/libm-test-ulps: Update.
25795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25796
25797 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
25798
25799         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25800         (__x86_64_raw_data_cache_size): Likewise.
25801         (__x86_64_data_cache_size_half): Likewise.
25802         (__x86_64_raw_data_cache_size_half): Likewise.
25803         (__x86_64_shared_cache_size): Likewise.
25804         (__x86_64_raw_shared_cache_size): Likewise.
25805         (__x86_64_shared_cache_size_half): Likewise.
25806         (__x86_64_raw_shared_cache_size_half): Likewise.
25807         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25808         to ...
25809         (__x86_data_cache_size): This.
25810         (__x86_64_raw_data_cache_size): Renamed to ...
25811         (__x86_raw_data_cache_size): This.
25812         (__x86_64_data_cache_size_half): Renamed to ...
25813         (__x86_data_cache_size_half): This.
25814         (__x86_64_raw_data_cache_size_half): Renamed to ...
25815         (__x86_raw_data_cache_size_half): This.
25816         (__x86_64_shared_cache_size): Renamed to ...
25817         (__x86_shared_cache_size): This.
25818         (__x86_64_raw_shared_cache_size): Renamed to ...
25819         (__x86_raw_shared_cache_size): This.
25820         (__x86_64_shared_cache_size_half): Renamed to ...
25821         (__x86_shared_cache_size_half): This.
25822         (__x86_64_raw_shared_cache_size_half): Renamed to ...
25823         (__x86_raw_shared_cache_size_half): This.
25824         * sysdeps/x86_64/memcpy.S: Updated.
25825         * sysdeps/x86_64/memset.S: Likewise.
25826         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25827         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25828         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25829
25830 2013-01-04  David S. Miller  <davem@davemloft.net>
25831
25832         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25833
25834 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
25835
25836         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25837         1 to avoid redefinition warning.
25838         (__USE_GNU): Don't define.
25839         (init_signaling_nan): Protoize.
25840
25841         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25842
25843 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25844
25845         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25846         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25847         (__cpymn): Likewise.
25848         (norm): Remove commented code.
25849         (denorm): Likewise.
25850         (__mp_dbl): Likewise.
25851         (__inv): Likewise.
25852         * sysdeps/powerpc/powerpc64/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
25859         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25860         mp_no value for 1.0 and 2.0.
25861         (norm): Use RADIXI instead of radixi.d.
25862         (denorm): Likewise.
25863         (__mul): Use 0.0 instead of zero.d.
25864         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25865         mp_no value for 1.0 and 2.0.
25866         (norm): Use RADIXI instead of radixi.d.
25867         (denorm): Likewise.
25868         (__mul): Use 0.0 instead of zero.d.
25869
25870 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
25871
25872         [BZ #14994]
25873         * math/s_casinh.c (__casinh): Reduce finite argument to first
25874         quadrant then set signs of results at the end.
25875         * math/s_casinhf.c (__casinhf): Likewise.
25876         * math/s_casinhl.c (__casinhl): Likewise.
25877         * math/libm-test.inc (casin_test): Add more tests.
25878         (casinh_test): Likewise.
25879         * sysdeps/i386/fpu/libm-test-ulps: Update.
25880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25881
25882 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25883
25884         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25885
25886         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25887
25888         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25889         declarations.
25890         (denorm): Likewise.
25891         (__mp_dbl): Likewise.
25892         (__inv): Likewise.
25893
25894         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25895         and adjust the header comment.
25896
25897         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25898         variable name from declaration.
25899
25900 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
25901
25902         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25903         Initialize COMMON_CPUID_INDEX_7 element.
25904         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25905         (CPUID_RTM): Likewise.
25906         (HAS_RTM): Likewise.
25907         (COMMON_CPUID_INDEX_7): New enum.
25908
25909 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
25910
25911         [BZ #14981]
25912         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25913         size is zero, record memory as freed.
25914
25915 2013-01-03  Andreas Jaeger  <aj@suse.de>
25916
25917         * po/ia.po: Add new Interlingua translation.
25918
25919 2012-01-03  Allan McRae  <allan@archlinux.org>
25920
25921         * locale/programs/localedef.c: Fix description of '--posix' flag.
25922
25923 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
25924
25925         * NEWS: Update dates in second copyright notice.
25926         * README: Update copyright dates in example.
25927         * manual/libc.texinfo: Update copyright dates.
25928         * scripts/test-installation.pl: Update copyright date in --version
25929         output.
25930
25931         * hurd/ctty-input.c: Fix copyright notice formatting.
25932         * hurd/ctty-output.c: Likewise.
25933         * hurd/dtable.c: Likewise.
25934         * hurd/hurd-raise.c: Likewise.
25935         * hurd/hurdprio.c: Likewise.
25936         * hurd/msgportdemux.c: Likewise.
25937         * misc/sys/file.h: Likewise.
25938         * misc/sys/ioctl.h: Likewise.
25939         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25940         * sysdeps/mach/hurd/chdir.c: Likewise.
25941         * sysdeps/mach/hurd/fchdir.c: Likewise.
25942         * sysdeps/mach/hurd/rename.c: Likewise.
25943         * sysdeps/mach/hurd/rmdir.c: Likewise.
25944         * sysdeps/mach/hurd/seekdir.c: Likewise.
25945         * sysdeps/mach/hurd/setsid.c: Likewise.
25946         * sysdeps/posix/wait3.c: Likewise.
25947
25948         * All files with FSF copyright notices: Update copyright dates
25949         using scripts/update-copyrights.
25950         * intl/plural.c: Regenerated.
25951         * locale/programs/charmap-kw.h: Likewise.
25952         * locale/programs/locfile-kw.h: Likewise.
25953
25954 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25955
25956         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25957         four values.
25958
25959         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25960         calculation loop and add branch prediction.
25961
25962         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25963         check access beyond bounds of m1np.
25964
25965         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25966         MPTWO.
25967         (__inv): Remove local variable MPTWO to use the global
25968         constant.
25969         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25970         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25971         variable MPTWO.
25972         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25973         MP3HALFS static const.
25974
25975 2013-01-01  David S. Miller  <davem@davemloft.net>
25976
25977         * po/ca.po: Update from translation team.
25978
25979 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
25980
25981         * scripts/update-copyrights: New file.
25982         * Makeconfig: Reformat copyright notice.
25983         * ctype/ctype.h: Likewise.
25984         * debug/swprintf_chk.c: Likewise.
25985         * elf/dl-cache.c: Likewise.
25986         * elf/dl-debug.c: Likewise.
25987         * elf/dl-object.c: Likewise.
25988         * grp/initgroups.c: Likewise.
25989         * hurd/Makefile: Likewise.
25990         * hurd/hurd/signal.h: Likewise.
25991         * hurd/hurdfault.c: Likewise.
25992         * hurd/hurdioctl.c: Likewise.
25993         * hurd/hurdlookup.c: Likewise.
25994         * hurd/intr-msg.c: Likewise.
25995         * iconv/gconv_open.c: Likewise.
25996         * libio/swprintf.c: Likewise.
25997         * locale/lc-ctype.c: Likewise.
25998         * locale/nl_langinfo.c: Likewise.
25999         * mach/Machrules: Likewise.
26000         * mach/Makefile: Likewise.
26001         * malloc/obstack.h: Likewise.
26002         * manual/Makefile: Likewise.
26003         * manual/tsort.awk: Likewise.
26004         * misc/bits/stab.def: Likewise.
26005         * nis/nis_print_group_entry.c: Likewise.
26006         * nis/nis_table.c: Likewise.
26007         * nis/nss_compat/compat-pwd.c: Likewise.
26008         * nis/nss_compat/compat-spwd.c: Likewise.
26009         * po/Makefile: Likewise.
26010         * posix/fnmatch.c: Likewise.
26011         * posix/regex.h: Likewise.
26012         * resolv/Makefile: Likewise.
26013         * resolv/nss_dns/dns-network.c: Likewise.
26014         * resolv/res_hconf.c: Likewise.
26015         * scripts/gen-sorted.awk: Likewise.
26016         * soft-fp/soft-fp.h: Likewise.
26017         * stdio-common/printf.h: Likewise.
26018         * stdlib/monetary.h: Likewise.
26019         * stdlib/random.c: Likewise.
26020         * stdlib/random_r.c: Likewise.
26021         * sysdeps/generic/Makefile: Likewise.
26022         * sysdeps/gnu/Makefile: Likewise.
26023         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26024         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26025         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26026         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26027         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26028         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26029         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26030         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26031         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26032         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26033         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26034         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26035         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26036         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26037         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26038         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26039         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26040         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26041         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26042         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26043         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26044         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26045         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26046         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26047         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26048         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26049         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26050         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26051         * sysdeps/mach/hurd/errnos.awk: Likewise.
26052         * sysdeps/mach/hurd/fork.c: Likewise.
26053         * sysdeps/mach/hurd/getcwd.c: Likewise.
26054         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26055         * sysdeps/mach/hurd/mmap.c: Likewise.
26056         * sysdeps/mach/hurd/utimes.c: Likewise.
26057         * sysdeps/mach/hurd/xmknod.c: Likewise.
26058         * sysdeps/posix/profil.c: Likewise.
26059         * sysdeps/posix/readdir_r.c: Likewise.
26060         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26061         * sysdeps/powerpc/bits/setjmp.h: Likewise.
26062         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26063         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26064         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26065         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26066         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26067         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26068         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26069         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26070         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26071         * sysdeps/pthread/lio_listio.c: Likewise.
26072         * sysdeps/sparc/dl-procinfo.h: Likewise.
26073         * sysdeps/unix/i386/sysdep.S: Likewise.
26074         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26075         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26076         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26077         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26079         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26080         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26081         * sysdeps/unix/sysv/linux/speed.c: Likewise.
26082         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26083         * sysdeps/wordsize-32/divdi3.c: Likewise.
26084         * time/sys/time.h: Likewise.
26085         * wcsmbs/Makefile: Likewise.
26086
26087 2013-01-01  David S. Miller  <davem@davemloft.net>
26088
26089         * po/fr.po: Update from translation team.
26090
26091         * catgets/gencat.c: Update copyright year.
26092         * csu/version.c: Likewise.
26093         * debug/catchsegv.sh: Likewise.
26094         * debug/pcprofiledump.c: Likewise.
26095         * debug/xtrace.sh: Likewise.
26096         * elf/ldconfig.c: Likewise.
26097         * elf/ldd.bash.in: Likewise.
26098         * elf/pldd.c: Likewise.
26099         * elf/sotruss.ksh: Likewise.
26100         * elf/sprof.c: Likewise.
26101         * iconv/iconv_prog.c: Likewise.
26102         * iconv/iconvconfig.c: Likewise.
26103         * locale/programs/locale.c: Likewise.
26104         * locale/programs/localedef.c: Likewise.
26105         * login/programs/pt_chown.c: Likewise.
26106         * malloc/memusage.sh: Likewise.
26107         * malloc/memusagestat.c: Likewise.
26108         * malloc/mtrace.pl: Likewise.
26109         * nscd/nscd.c: Likewise.
26110         * nss/getent.c: Likewise.
26111         * nss/makedb.c: Likewise.
26112         * posix/getconf.c: Likewise.
26113
26114 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26115
26116         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26117         numbers.
26118
26119 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
26120
26121         * math/bits/mathcalls.h (modf): Use __nonnull.
26122
26123 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26124
26125         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26126         (split): Use macro CN instead of the bare value.
26127         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26128         could be used.
26129         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26130         instead of the bare value.
26131         (power1): Likewise.
26132
26133 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26134
26135         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26136         __ATAN_TWOM.
26137         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26138
26139         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26140         their values.
26141         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26142         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26143         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26144         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26145
26146 2012-12-28  Andreas Jaeger  <aj@suse.de>
26147
26148         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
26149         values are from Linux 3.7.
26150
26151         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26152         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
26153
26154 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26155
26156         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26157         TRUE case.
26158
26159         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26160         (norm): Likewise.
26161         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26162         variables with preprocessor constants.
26163         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26164         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26165         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26166
26167 2012-12-27  Bruno Haible  <bruno@clisp.org>
26168
26169         [BZ #14317]
26170         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26171         only if needed.
26172
26173 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26174
26175         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26176         and use variable directly.
26177         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26178
26179         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26180         MPONE.
26181         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26182         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26183         variable MPONE.
26184         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26185         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26186         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26187         include directive.  Remove local variable MPONE.
26188         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26189         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26190         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26191
26192 2012-12-25  David S. Miller  <davem@davemloft.net>
26193
26194         * version.h (RELEASE): Set to "development".
26195         (VERSION): Set to "2.17.90".
26196         * NEWS: Add 2.18 section.
26197
26198 2012-12-21  David S. Miller  <davem@davemloft.net>
26199
26200         * po/hr.po: Update from translation team.
26201
26202 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26203
26204         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26205
26206 2012-12-19  Steve Ellcey  <sellcey@mips.com>
26207
26208         * NEWS:  Mention new memcpy for MIPS.
26209
26210 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26211
26212         * manual/contrib.texi (Contributors): Spelling correction.
26213
26214 2012-12-15  David S. Miller  <davem@davemloft.net>
26215
26216         * po/ru.po: Update from translation team.
26217
26218 2012-12-13  David S. Miller  <davem@davemloft.net>
26219
26220         * NEWS: Mention IFUNC testsuite enhancements.
26221
26222         * po/pl.po: Update from translation team.
26223         * po/bg.po: Likewise.
26224
26225         * manual/contrib.texi (Contributors): Update entries for Hongjiu
26226         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
26227
26228 2012-12-11  David S. Miller  <davem@davemloft.net>
26229
26230         * po/sv.po: Update from translation team.
26231
26232         * po/vi.po: Update from translation team.
26233
26234         * po/cs.po: Update from translation team.
26235
26236         * po/de.po: Update from translation team.
26237         * po/eo.po: Likewise.
26238         * po/nl.po: Likewise.
26239
26240 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26241
26242         [BZ #14246]
26243         * manual/argp.texi (Argp Helper Functions): Move node to follow
26244         Argp Parsing State.
26245
26246         [BZ #14872]
26247         * manual/conf.texi (Limits on File System Capacity): Mention if
26248         terminating null is included in the max size.
26249
26250 2012-12-10  Andreas Jaeger  <aj@suse.de>
26251
26252         * po/cs.po: Update from translation team.
26253
26254 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26255
26256         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26257         void pointer and cast to uintptr_t.
26258         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26259         path.
26260         * sysdeps/s390/s390-64/memcpy.S: Likewise.
26261         * sysdeps/s390/s390-64/memset.S: Likewise.
26262
26263 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
26264
26265         [BZ #14833]
26266         * menual/message.texi (Message Translation): Fix typos.
26267         (Helper programs for gettext): Likewise.
26268
26269 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
26270
26271         [BZ #14898]
26272         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26273         Change to -1.
26274
26275 2012-12-07  David S. Miller  <davem@davemloft.net>
26276
26277         * po/libc.pot: Update.
26278
26279 2012-12-07  Richard Henderson  <rth@redhat.com>
26280
26281         [BZ #10114]
26282         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26283         normal/normal case to before the switch.
26284         (_FP_DIV): Likewise.
26285
26286 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
26287             Mike Frysinger  <vapier@gentoo.org>
26288
26289         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26290         check for __NR_fadvise64_64.
26291
26292 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
26293
26294         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26295         0, not just to plain "0" as a statement.
26296         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26297         with cw.
26298
26299 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
26300
26301         * NEWS: Use sourceware.org in Bugzilla URL.
26302
26303 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26304
26305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26306         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26307
26308         * stdio-common/tst-put-error.c (do_test): Add newline to the
26309         padded test to ensure flush.
26310
26311 2012-12-05  Jeff Law  <law@redhat.com>
26312
26313         * sunrpc/etc.rpc (fedfs_admin): Add entry.
26314
26315 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
26316
26317         * README: Don't refer to ports add-on as distributed separately.
26318         Mention AArch64 in list of systems supported in the ports add-on.
26319
26320         * LICENSES: Add more non-FSF copyright and license notices.
26321
26322         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26323         ((unused)).
26324
26325         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26326
26327         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26328         10000 as width of padded output.
26329
26330 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26331
26332         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26333
26334         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26335         variable LX with __attribute__ ((unused)).
26336         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26337         Likewise.
26338         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26339         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26340         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26341         with __attribute__ ((unused)).
26342
26343 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
26344
26345         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26346
26347 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26348
26349         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26350         (CFLAGS-nldbl-acos.c): New variable.
26351         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26352         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26353         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26354         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26355         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26356         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26357         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26358         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26359         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26360         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26361         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26362         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26363         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26364         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26365         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26366         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26367         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26368         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26369         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26370         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26371         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26372         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26373         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26374         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26375         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26376         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26377         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26378         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26379         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26380         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26381         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26382         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26383         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26384         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26385         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26386         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26387         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26388         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26389         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26390         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26391         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26392         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26393         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26394         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26395         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26396         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26397         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26398         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26399         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26400         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26401         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26402         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26403         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26404         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26405         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26406         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26407         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26408         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26409         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26410         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26411         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26412         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26413         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26414         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26415         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26416         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26417         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26418         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26419         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26420         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26421         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26422         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26423         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26424         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26425         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26426         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26427         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26428         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26429         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26430         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26431         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26432         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26433         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26434         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26435         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26436         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26437         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26438         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26439         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26440         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26441         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26442         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26443         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26444         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26445         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26446         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26447         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26448
26449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26450         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26451
26452         [BZ #14914]
26453         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26454         whole low double instead of just low 47 bits when splitting values
26455         into two parts.
26456
26457 2012-12-03  Allan McRae  <allan@archlinux.org>
26458
26459         * manual/stdio.texi (Predefined Printf Handlers): Remove
26460         @hsep and @vsep usage.
26461
26462 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
26463
26464         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26465         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26466
26467 2012-12-03  Jeff Law  <law@redhat.com>
26468
26469         * time/sys/time.h (settimeofday): Do not mark TV argument
26470         as __nonnull.
26471
26472 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
26473
26474         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26475         when currently writing and seek to current position when not.
26476         * libio/Makefile (tests): Remove bug-fclose1.
26477         * libio/bug-fclose1.c: Delete.
26478
26479 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
26480
26481         * manual/arith.texi (feenableexcept): Fix typo.
26482         (fedisableexcept): Likewise.
26483
26484 2012-11-30  Roland McGrath  <roland@hack.frob.com>
26485
26486         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26487         second, differently-typed declaration, rather than a cast.
26488
26489 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26490
26491         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26492         * include/rpc/svc.h: ... here.
26493
26494 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
26495
26496         [BZ #13013]
26497         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26498         depending n and resplen2 to catch cases where answer
26499         equals answerp2.
26500
26501 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
26502
26503         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26504         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26505
26506 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
26507
26508         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26509
26510 2012-11-29  Roland McGrath  <roland@hack.frob.com>
26511
26512         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26513
26514 2012-11-28  Jeff Law  <law@redhat.com>
26515
26516         [BZ #13761]
26517         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26518         dataset_temporary.  Track alloca usage into alloca_used.
26519         If dataset is large allocate and release it via malloc/free.
26520
26521 2012-06-04  Florian Weimer  <fweimer@redhat.com>
26522
26523         [BZ #14197]
26524         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26525
26526 2012-11-28  David S. Miller  <davem@davemloft.net>
26527
26528         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26529
26530 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
26531
26532         [BZ #14803]
26533         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26534         of pi/2 rounded to nearest to 64 bits.
26535         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26536         nearest to 64 bits.
26537         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26538         bits.
26539
26540 2012-11-28  Jeff Law <law@redhat.com>
26541             Martin Osvald <mosvald@redhat.com>
26542
26543         [BZ #14889]
26544         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26545         * sunrpc/svc.c: Include time.h.
26546         (__svc_accept_failed): New function.
26547         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26548         any reason other than EINTR, call __svc_accept_failed.
26549         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26550         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26551
26552 2012-11-28  Andreas Schwab  <schwab@suse.de>
26553
26554         * scripts/abilist.awk: Also handle indirect functions in .opd
26555         section.
26556
26557 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
26558
26559         [BZ #13881]
26560         * sysdeps/x86/fpu/powl_helper.c: New file.
26561         * sysdeps/x86/fpu/Makefile: Likewise.
26562         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26563         (p3): New object.
26564         (__ieee754_powl): Use __powl_helper for finite arguments except
26565         integer exponents below 8.
26566         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26567         (p3): New object.
26568         (__ieee754_powl): Use __powl_helper for finite arguments except
26569         integer exponents below 8.
26570         * math/libm-test.inc (pow_test): Add more tests and enable some
26571         previously disabled tests.
26572         * sysdeps/i386/fpu/libm-test-ulps: Update.
26573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26574
26575 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26576             Carlos O'Donell  <carlos_odonell@mentor.com>
26577
26578         * nss/makedb.c (is_prime): Assert that input is odd and greater
26579         than 4.  Note that fact in a comment too.
26580         (next_prime): Add 4 to input.
26581
26582 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26583
26584         [BZ #11741]
26585         * libio/Makefile (tests): Add test case tst-fwrite-error.
26586         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26587         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26588         * libio/tst-fwrite-error.c: New test case.
26589
26590 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
26591
26592         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26593         before casting to void *.
26594         * include/libc-internal.h (__pointer_type): New macro.
26595         (__integer_if_pointer_type_sub): Likewise.
26596         (__integer_if_pointer_type): Likewise.
26597         (cast_to_integer): Likewise.
26598         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26599         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26600         before casting to atomic64_t.
26601         (atomic_exchange_acq): Likewise.
26602         (__arch_exchange_and_add_body): Likewise.
26603         (__arch_add_body): Likewise.
26604         (atomic_add_negative): Likewise.
26605         (atomic_add_zero): Likewise.
26606
26607 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
26608
26609         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26610         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26611         (add_fdes): Likewise.
26612         (linear_search_fdes): Likewise.
26613         (binary_search_unencoded_fdes): Likewise.
26614
26615 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
26616
26617         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26618
26619 2012-11-24  Adam Conrad  <adconrad@0c3.net>
26620
26621         * configure.in: Autodetect C++ header directories.
26622         * configure: Regenerated.
26623
26624 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
26625
26626         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26627
26628 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
26629
26630         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26631
26632 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
26633
26634         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26635         LDBL_MANT_DIG == 106]: Disable some tests.
26636         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26637         Likewise.
26638         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26639         Likewise.
26640
26641         [BZ #14871]
26642         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26643         input for small inputs.  Return +/- pi/2 for large inputs.
26644         * math/libm-test.inc (atan_test): Add more tests.
26645
26646         * sysdeps/generic/unwind-dw2-fde-glibc.c
26647         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26648         __attribute__ ((unused)).
26649
26650         [BZ #14645]
26651         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26652         x * y if x and y are nonzero and z is zero.
26653
26654         [BZ #14811]
26655         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26656         nonzero exponents with absolute value below 0x1p-117 to +/-
26657         0x1p-117.
26658
26659         [BZ #14869]
26660         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26661         up arguments below 2**-450, not just those below 2**-500.
26662         * math/libm-test.inc (hypot_test): Add another test.
26663
26664         [BZ #14868]
26665         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26666         Return a+b for ratio over 2**120, not 2**60.
26667         * math/libm-test.inc (hypot_test): Add another test.
26668
26669         * math/libm-test.inc (clog_test): Use
26670         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26671         (clog10_test): Likewise.
26672
26673         [BZ #6778]
26674         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26675
26676 2012-11-22  Andreas Schwab  <schwab@suse.de>
26677
26678         * sysdeps/i386/fpu/libm-test-ulps: Update.
26679
26680 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
26681
26682         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26683         printf output with newline.
26684
26685 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
26686
26687         [BZ #14865]
26688         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26689         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26690         -z nodlopen, -z initfirst and -z execstack support.
26691         * configure: Regenerated.
26692
26693         * elf/elf.h (DF_1_NODIRECT): New macro.
26694         (DF_1_IGNMULDEF): Likewise.
26695         (DF_1_NOKSYMS): Likewise.
26696         (DF_1_NOHDR): Likewise.
26697         (DF_1_EDITED): Likewise.
26698         (DF_1_NORELOC): Likewise.
26699         (DF_1_SYMINTPOSE): Likewise.
26700         (DF_1_GLOBAUDIT): Likewise.
26701         (DF_1_SINGLETON): Likewise.
26702         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26703         DT_1_SUPPORTED_MASK bits.
26704         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26705
26706 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
26707
26708         * sysdeps/unix/make-syscalls.sh: Document prefixes.
26709
26710 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
26711
26712         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26713         macro.
26714
26715         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26716         (sendmmsg): Move declarations...
26717         * socket/sys/socket.h: ... here.
26718         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26719         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26720         include it from...
26721         * socket/recvmmsg.c: ... this new file.
26722         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26723         (sendmmsg): Rename to __sendmmsg, create weak alias and make
26724         definition of __sendmmsg hidden.
26725         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26726         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26727         Move ENOSYS stub into and include it from...
26728         * socket/sendmmsg.c: ... this new file.
26729         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26730         (sysdep_routines): Move recvmmsg and sendmmsg...
26731         * socket/Makefile (routines): ... here.
26732         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26733         (GLIBC_PRIVATE): Add __sendmmsg.
26734         * include/sys/socket.h (__sendmmsg): Add declarations.
26735         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26736         sendmmsg.
26737
26738 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
26739
26740         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26741         variable I1 with __attribute__ ((unused)).
26742         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26743
26744 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
26745
26746         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26747         DUMMY variables with __attribute__ ((unused)).
26748
26749         * bits/byteswap.h: Include <bits/types.h>.
26750         (__bswap_64): Use __uint64_t instead of unsigned long long int.
26751
26752 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
26753
26754         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26755         string_t.  Do not manually set errno.
26756         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26757         length with __strnlen.  Make sure to both set errno and return it on
26758         failure.
26759
26760 2012-11-19  David S. Miller  <davem@davemloft.net>
26761
26762         With help from Joseph Myers.
26763         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26764         very large arguments properly.
26765         * math/libm-test.inc (atan_test): New tests.
26766         (atan2_test): New tests.
26767         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26768         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26769
26770 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
26771
26772         [BZ #14856]
26773         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26774         Define to 3.
26775
26776         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26777         [POSIX] (EADDRNOTAVAIL): Likewise.
26778         [POSIX] (EAFNOSUPPORT): Likewise.
26779         [POSIX] (EALREADY): Likewise.
26780         [POSIX] (ECONNABORTED): Likewise.
26781         [POSIX] (ECONNREFUSED): Likewise.
26782         [POSIX] (ECONNRESET): Likewise.
26783         [POSIX] (EDESTADDRREQ): Likewise.
26784         [POSIX] (EDQUOT): Likewise.
26785         [POSIX] (EHOSTUNREACH): Likewise.
26786         [POSIX] (EIDRM): Likewise.
26787         [POSIX] (EISCONN): Likewise.
26788         [POSIX] (ELOOP): Likewise.
26789         [POSIX] (EMULTIHOP): Likewise.
26790         [POSIX] (ENETDOWN): Likewise.
26791         [POSIX] (ENETUNREACH): Likewise.
26792         [POSIX] (ENOBUFS): Likewise.
26793         [POSIX] (ENODATA): Likewise.
26794         [POSIX] (ENOLINK): Likewise.
26795         [POSIX] (ENOMSG): Likewise.
26796         [POSIX] (ENOPROTOOPT): Likewise.
26797         [POSIX] (ENOSR): Likewise.
26798         [POSIX] (ENOSTR): Likewise.
26799         [POSIX] (ENOTCONN): Likewise.
26800         [POSIX] (ENOTSOCK): Likewise.
26801         [POSIX] (EOPNOTSUPP): Likewise.
26802         [POSIX] (EOVERFLOW): Likewise.
26803         [POSIX] (EPROTO): Likewise.
26804         [POSIX] (EPROTONOSUPPORT): Likewise.
26805         [POSIX] (EPROTOTYPE): Likewise.
26806         [POSIX] (ESTALE): Likewise.
26807         [POSIX] (ETIME): Likewise.
26808         [POSIX] (ETXTBSY): Likewise.
26809         [POSIX] (EWOULDBLOCK): Likewise.
26810         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26811         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26812         [POSIX] (SEEK_CUR): Likewise.
26813         [POSIX] (SEEK_END): Likewise.
26814         [POSIX || UNIX98] (mode_t): Do not require.
26815         [POSIX] (off_t): Likewise.
26816         [POSIX] (pid_t): Likewise.
26817         [POSIX] (sys/stat.h): Do not allow header.
26818         [POSIX] (unistd.h): Likewise.
26819         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26820         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26821         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26822         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26823         require.
26824         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26825         sigevent): Specify elements.
26826         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26827         entry.
26828         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26829         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26830
26831         * conform/data/cpio.h-data [POSIX]: Disable whole file.
26832         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26833         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26834         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26835         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26836         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26837         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26838         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26839         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26840         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26841         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26842         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26843         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26844         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26845         Likewise.
26846         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26847         Likewise.
26848         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26849         Likewise.
26850         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26851         Likewise.
26852         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26853         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26854         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26855         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26856         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26857         Specify lower bound on value.
26858         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26859         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26860         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26861         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26862         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26863         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26864         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26865         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26866         value.
26867         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26868         as optional.
26869         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26870         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26871         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26872         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26873         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26874         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26875         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26876         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26877         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26878         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26879         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26880         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26881         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26882         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26883         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26884         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26885         entry.
26886         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26887         optional.
26888         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26889         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26890         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26891         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26892         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26893         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26894         Likewise.
26895         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26896         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26897         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26898         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26899         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
26900         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26901         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26902         as optional.
26903         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26904         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26905         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26906         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26907         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26908         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26909         specify as optional.
26910         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26911         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26912         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26913         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26914         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26915         [XPG3] (NL_LANGMAX): Likewise.
26916         [POSIX || XPG3] (NL_MSGMAX): Likewise.
26917         [POSIX || XPG3] (NL_NMAX): Likewise.
26918         [POSIX || XPG3] (NL_SETMAX): Likewise.
26919         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26920         [XPG3] (NZERO): Likewise.
26921         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26922         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26923         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26924         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26925         (REG_ERANGE): Expect.
26926         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26927         optional-constant.
26928         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26929         Use (void) in prototype.
26930         [POSIX] (*_t): Allow.
26931         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26932         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26933         (WRDE_BADVAL): Expect.
26934
26935         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26936         expect.
26937         [XPG3 || XPG4] (O_RSYNC): Likewise.
26938         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26939         Likewise.
26940         [XPG3 || XPG4] (pthread_sigmask): Likewise.
26941         [XPG3 || XPG4] (sigqueue): Likewise.
26942         [XPG3 || XPG4] (sigtimedwait): Likewise.
26943         [XPG3 || XPG4] (sigwaitinfo): Likewise.
26944         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26945         [XPG3 || XPG4] (vsnprintf): Likewise.
26946         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26947         Likewise.
26948         [XPG3 || XPG4] (blksize_t): Likewise.
26949         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26950         Likewise.
26951         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26952         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26953         [XPG3 || XPG4] (struct itimerspec): Likewise.
26954         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26955         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26956         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26957         [XPG3 || XPG4] (clockid_t): Likewise.
26958         [XPG3 || XPG4] (timer_t): Likewise.
26959         [XPG3 || XPG4] (clock_getres): Likewise.
26960         [XPG3 || XPG4] (clock_gettime): Likewise.
26961         [XPG3 || XPG4] (clock_settime): Likewise.
26962         [XPG3 || XPG4] (nanosleep): Likewise.
26963         [XPG3 || XPG4] (timer_create): Likewise.
26964         [XPG3 || XPG4] (timer_delete): Likewise.
26965         [XPG3 || XPG4] (timer_gettime): Likewise.
26966         [XPG3 || XPG4] (timer_getoverrun): Likewise.
26967         [XPG3 || XPG4] (timer_settime): Likewise.
26968         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26969         [XPG3 || XPG4] (getlogin_r): Likewise.
26970         [XPG3 || XPG4] (pread): Likewise.
26971         [XPG3 || XPG4] (pthread_atfork): Likewise.
26972         [XPG3 || XPG4] (pwrite): Likewise.
26973
26974         [BZ #14835]
26975         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26976         <bits/siginfo.h>.
26977
26978 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
26979
26980         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26981         finalizing MALLSTREAM.
26982
26983         * sysdeps/mach/hurd/syncfs.c: New file.
26984
26985 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26986
26987         [BZ #14719]
26988         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26989         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26990         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26991         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26992         (_nss_dns_gethostbyname4_r): Likewise.
26993         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26994         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26995
26996 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
26997
26998         [BZ #13763]
26999         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27000
27001 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
27002
27003         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27004         * elf/cache.c (print_entry): Print ",AArch64" for
27005         FLAG_AARCH64_LIB64
27006
27007         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27008         * elf/cache.c (print_entry): Print ",hard-float" for
27009         FLAG_ARM_LIBHF.
27010
27011 2012-11-18  David S. Miller  <davem@davemloft.net>
27012
27013         With help from Joseph Myers.
27014         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27015         cutoff to 2**-13.
27016         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27017         cutoff to 2**-25.
27018         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27019         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27020         small.
27021         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27022         * math/libm-test.inc (y0_test): New tests.
27023         (y1_test): New tests.
27024         * sysdeps/i386/fpu/libm-test-ulps: Update.
27025         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27026         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27027
27028 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
27029
27030         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27031         64-bit targets.
27032         * configure: Regenerated.
27033
27034 2012-11-17  David S. Miller  <davem@davemloft.net>
27035
27036         [BZ #14811]
27037         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27038         nonzero exponents with absolute value below 0x1p-128 to +/-
27039         0x1p-128.
27040
27041 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
27042
27043         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27044
27045         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27046
27047         * posix/getconf-speclist.c: New file.
27048         * posix/posix-envs.def: Likewise.
27049         * posix/confstr.c (START_ENV_GROUP): New macro.
27050         (END_ENV_GROUP): Likewise.
27051         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27052         (KNOWN_PRESENT_ENV_STRING): Likewise.
27053         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27054         (UNKNOWN_ENVIRONMENT): Likewise.
27055         (confstr): Include posix-envs.def instead of handling
27056         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27057         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27058         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27059         (END_ENV_GROUP): Likewise.
27060         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27061         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27062         (UNKNOWN_ENVIRONMENT): Likewise.
27063         (__sysconf): Include posix-envs.def instead of handling associated
27064         cases directly here.
27065         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27066         preprocessing getconf-speclist.c rather than running getconf or
27067         generating empty file.
27068
27069 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
27070
27071         * scripts/check-local-headers.sh: Ignore 'mach' headers.
27072
27073 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
27074
27075         [BZ #14672]
27076         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27077
27078 2012-11-16  David S. Miller  <davem@davemloft.net>
27079
27080         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27081         smaller than LDBL_EPSILON/2.0L, just return xm1.
27082
27083 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
27084
27085         * elf/tst-array1.c (init): Set constructor priority to 1000.
27086         (fini): Set destructor priority to 1000.
27087         * elf/tst-array2dep.c: Likewise.
27088
27089 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27090
27091         [BZ #11741]
27092         * libio/fileops.c (_IO_new_file_write): Correctly return error.
27093         (_IO_new_file_xsputn): Also return EOF if none of the input
27094         data was written when overflow failed.
27095         * libio/iopadn.c (_IO_padn): Likewise.
27096         * libio/iowpadn.c (_IO_wpadn): Likewise.
27097         * stdio-common/tst-put-error.c: Add copyright notice.
27098         (do_test): Add case for printing padded string.
27099         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27100         _IO_padn returned error.
27101         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27102         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27103         return EOF.
27104
27105 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27106
27107         * libio/libioP.h: Add comment note that the references to C++
27108         bits are now obsolete.
27109
27110 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27111
27112         * math/libm-test.inc (check_complex): Use asprintf.
27113
27114 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
27115
27116         * debug/pcprofiledump.c (print_version): Update copyright year.
27117         * malloc/memusagestat.c (print_version): Likewise.
27118
27119 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
27120
27121         [BZ #14831]
27122         * elf/Makefile (tests): Add tst-audit8.
27123         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27124         ($(objpfx)tst-audit8.out): New target.
27125         (tst-audit8-ENV): New variable.
27126         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27127         audit if l_reloc_result is NULL.
27128         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27129         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27130         * elf/tst-audit8.c: New file.
27131
27132 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27133
27134         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27135         * misc/Makefile (CFLAGS-select.c): Define.
27136         * posix/Makefile (CFLAGS-pause.c): Define.
27137
27138 2012-11-13  David S. Miller  <davem@davemloft.net>
27139
27140         * crypt/Makefile: Move test targets after toplevel Rules
27141         inclusion.  Grab any necessary sysdep routines when linking.
27142         * crypt/md5.c (md5_process_block): Remove define, we will always
27143         name it __md5_process_block.
27144         (md5_finish_ctx): Update md5_process_block call.
27145         (md5_stream): Likewise.
27146         (md5_process_bytes): Likewise.
27147         (md5_process_block): Rename to __md5_process_block and move to ...
27148         * crypt/md5-block.c: ... here.
27149         * crypt/sha256.c (sha256_process_block): Move to ...
27150         * crypt/sha256-block.c: ... here.
27151         * crypt/sha512.c (sha512_process_block): Move to ...
27152         * crypt/sha512-block.c: ... here.
27153         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27154         path.
27155         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27156         * sysdeps/sparc/sparc64/multiarch/Makefile
27157         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27158         crypt subdir.
27159         (localedef-aux): Add md5 crypto assembler when in locale subdir.
27160         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27161         multiarch changes.
27162         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27163         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27164         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27165         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27166         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27167         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27168         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27169         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27170         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27171         file.
27172         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27173         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27174         file.
27175         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27176
27177 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
27178
27179         * timezone/tzselect.ksh: Update from tzcode git revision
27180         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27181         * timezone/zdump.c: Likewise.
27182         * timezone/zic.c: Likewise.
27183         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27184         in TZVERSION setting, not $(PKGVERSION).
27185         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
27186         REPORT_BUGS_TO settings.
27187
27188         [BZ #14838]
27189         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27190         macro.
27191
27192 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27193
27194         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27195         detection to immediately after _FP_ROUND().
27196         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27197         bits are 0.
27198
27199 2012-11-11  David S. Miller  <davem@davemloft.net>
27200
27201         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27202         inttypes.h
27203         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27204         __close rather than their public counterparts.
27205
27206 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
27207
27208         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27209         file.
27210         [UNIX98] (sem_timedwait): Do not expect.
27211         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27212         [XPG4 || UNIX98] (sockatmark): Do not expect.
27213         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27214         (clock_getcpuclockid): Do not expect.
27215         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27216         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27217         Do not expect.
27218         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27219         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27220         [UNIX98] (vwscanf): Likewise.
27221         [UNIX98] (vswscanf): Likewise.
27222
27223 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
27224
27225         * timezone/version.h: Remove file.
27226         * timezone/README: Do not refer to version.h.
27227         * timezone/Makefile ($(objpfx)zic.o): New dependency on
27228         $(objpfx)version.h.
27229         ($(objpfx)zdump.o): Likewise.
27230         ($(objpfx)version.h): New target.
27231
27232         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27233         2012i.
27234         * timezone/README: Don't mention modification to tzselect.ksh.
27235         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27236         work on unmodified tzselect.ksh.  Substitute version numbers in
27237         tzselect.ksh.
27238
27239         * Makefile (format-me): Remove.
27240         (INSTALL): Adjust indentation.  Use commands directly instead of
27241         using $(format-me).
27242
27243         * aclocal.m4 (ACX_PKGVERSION): New macro.
27244         (ACX_BUGURL): Likewise.
27245         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27246         (PKGVERSION): New AC_DEFINE_UNQUOTED.
27247         (REPORT_BUGS_TO): Likewise.
27248         * configure: Regenerated.
27249         * config.h.in (PKGVERSION): New macro.
27250         (REPORT_BUGS_TO): Likewise.
27251         * config.make.in (PKGVERSION): New variable.
27252         (PKGVERSION_TEXI): Likewise.
27253         (REPORT_BUGS_TO): Likewise.
27254         (REPORT_BUGS_TEXI): Likewise.
27255         * Makefile (format-me): Use -I$(common-objpfx)manual.
27256         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27257         ($(common-objpfx)manual/%): New target.
27258         (manual/%): Remove target.
27259         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27260         (print_version): Use PKGVERSION.
27261         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27262         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27263         and REPORT_BUGS_TO.
27264         ($(objpfx)xtrace): Likewise.
27265         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27266         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27267         (print_version): Use PKGVERSION.
27268         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27269         (do_version): Use PKGVERSION.
27270         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27271         REPORT_BUGS_TO.
27272         (common-ldd-rewrite): Likewise.
27273         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27274         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27275         (print_version): Use PKGVERSION.
27276         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27277         * elf/pldd.c (argp_program_bug_address): Remove variable.
27278         (more_help): New function.
27279         (argp): Use more_help.
27280         (print_version): Use PKGVERSION.
27281         * elf/sln.c (main): Use PKGVERSION.
27282         (usage): Use REPORT_BUGS_TO.
27283         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27284         (top level): Use PKGVERSION.
27285         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27286         (print_version): Use PKGVERSION.
27287         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27288         (print_version): Use PKGVERSION.
27289         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27290         (print_version): Use PKGVERSION.
27291         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27292         (print_version): Use PKGVERSION.
27293         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27294         (print_version): Use PKGVERSION.
27295         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27296         (print_version): Use PKGVERSION.
27297         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27298         and BUGURL.
27299         ($(objpfx)memusage): Likewise.
27300         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27301         (do_version): Use PKGVERSION.
27302         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27303         (print_version): Use PKGVERSION.
27304         * malloc/mtrace.pl ($PACKAGE): Remove variable.
27305         ($PKGVERSION): New variable.
27306         ($REPORT_BUGS_TO): Likewise.
27307         (usage): Use $REPORT_BUGS_TO.
27308         (top level): Use $PKGVERSION.
27309         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27310         ($(objpfx)pkgvers.texi): New rule.
27311         ($(objpfx)stamp-pkgvers): Likewise.
27312         * manual/install.texi: Include pkgvers.texi.
27313         (--with-pkgversion): Document new configure option.
27314         (--with-bugurl): Likewise.
27315         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27316         than necessarily for this particular distribution.  Use
27317         REPORT_BUGS_TO for where to report bugs.
27318         * INSTALL: Regenerated.
27319         * manual/libc.texinfo: Include pkgvers.texi.
27320         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27321         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27322         (print_version): Use PKGVERSION.
27323         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27324         (print_version): Use PKGVERSION.
27325         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27326         (print_version): Use PKGVERSION.
27327         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27328         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27329         macro.
27330         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27331         (print_version): Use PKGVERSION.
27332         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27333         (print_version): Use PKGVERSION.
27334         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27335         and PKGVERSION.
27336
27337         * timezone/checktab.awk: Update from tzcode 2012i.
27338         * timezone/ialloc.c: Likewise.
27339         * timezone/private.h: Likewise.
27340         * timezone/scheck.c: Likewise.
27341         * timezone/tzfile.h: Likewise.
27342         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27343         (TZVERSION): Hardcode tzcode version number.
27344         * timezone/zdump.c: Update from tzcode 2012i.
27345         * timezone/zic.c: Likewise.
27346         * timezone/version.h: New file.
27347         * timezone/README: Describe version.h.  Update upstream location.
27348
27349         [BZ #14824]
27350         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27351         (mktemp): Enable declaration.
27352         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27353         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27354         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27355         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27356         Likewise.
27357         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27358         Likewise.
27359         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27360         Likewise.
27361         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27362         Likewise.
27363         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27364         Likewise.
27365         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27366         Likewise.
27367
27368         [BZ #14821]
27369         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27370         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
27371         for copies of such integer values.
27372         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27373         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27374
27375 2012-11-09  Andreas Jaeger  <aj@suse.de>
27376
27377         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27378         definitions and declarations that are provided by
27379         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27380
27381 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27382
27383         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27384         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27385         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27386         definition.
27387
27388 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27389
27390         * elf/elf.h: Update comment before AArch64 relocations.
27391
27392 2012-11-07  David S. Miller  <davem@davemloft.net>
27393
27394         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27395         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27396         (__start_context): Declare.
27397         (__makecontext_ret): Delete.
27398         (__makecontext): Hook up __start_context instead of
27399         __makecontext_ret.
27400         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27401         (sysdep_routines): Add __start_context when in stdlib.
27402
27403 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27404
27405         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27406         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27407         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
27408         hardcoded "nm".
27409         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
27410         (READELF): New variable.  Use it instead of hardcoded "readelf".
27411
27412 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
27413
27414         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27415         * sysdeps/x86/Makefile: Here.
27416         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27417         * sysdeps/x86/tst-xmmymm.sh: This.
27418
27419 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27420
27421         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27422         expectations.
27423         [UNIX98] (pthread_barrier_t): Do not expect.
27424         [UNIX98] (pthread_barrierattr_t): Likewise.
27425         [UNIX98] (pthread_spinlock_t): Likewise.
27426         [UNIX98] (pthread_barrier_destroy): Likewise.
27427         [UNIX98] (pthread_barrier_init): Likewise.
27428         [UNIX98] (pthread_barrier_wait): Likewise.
27429         [UNIX98] (pthread_barrierattr_destroy): Likewise.
27430         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27431         [UNIX98] (pthread_barrierattr_init): Likewise.
27432         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27433         [UNIX98] (pthread_getcpuclockid): Likewise.
27434         [UNIX98] (pthread_mutex_timedlock): Likewise.
27435         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27436         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27437         [UNIX98] (pthread_sigmask): Likewise.
27438         [UNIX98] (pthread_spin_destroy): Likewise.
27439         [UNIX98] (pthread_spin_init): Likewise.
27440         [UNIX98] (pthread_spin_lock): Likewise.
27441         [UNIX98] (pthread_spin_trylock): Likewise.
27442         [UNIX98] (pthread_spin_unlock): Likewise.
27443         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27444         Do not expect.
27445         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27446         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27447         [XPG3 || XPG4] (pthread_cond_t): Likewise.
27448         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27449         [XPG3 || XPG4] (pthread_key_t): Likewise.
27450         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27451         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27452         [XPG3 || XPG4] (pthread_once_t): Likewise.
27453         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27454         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27455         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27456         [XPG3 || XPG4] (pthread_t): Likewise.
27457
27458         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27459         not expect.
27460         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27461
27462         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27463         Change function return type to int.
27464
27465         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27466         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27467         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27468         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27469         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27470         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27471         [!POSIX] (posix_madvise): Likewise.
27472         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27473         && !UNIX98].
27474         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27475         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27476         (mode_t): Likewise.
27477         (posix_mem_offset): Likewise.
27478         (posix_typed_mem_get_info): Likewise.
27479         (posix_typed_mem_open): Likewise.
27480
27481         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27482         Change condition to [XOPEN2K8].
27483
27484         * conform/conformtest.pl: Preprocess allow-header data with -x c
27485         instead of from stdin.
27486         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27487         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27488         [C99-based standards] (cerfc): Likewise.
27489         [C99-based standards] (cexp2): Likewise.
27490         [C99-based standards] (cexpm1): Likewise.
27491         [C99-based standards] (clog10): Likewise.
27492         [C99-based standards] (clog1p): Likewise.
27493         [C99-based standards] (clog2): Likewise.
27494         [C99-based standards] (clgamma): Likewise.
27495         [C99-based standards] (ctgamma): Likewise.
27496         [C99-based standards] (cerff): Likewise.
27497         [C99-based standards] (cerfcf): Likewise.
27498         [C99-based standards] (cexp2f): Likewise.
27499         [C99-based standards] (cexpm1f): Likewise.
27500         [C99-based standards] (clog10f): Likewise.
27501         [C99-based standards] (clog1pf): Likewise.
27502         [C99-based standards] (clog2f): Likewise.
27503         [C99-based standards] (clgammaf): Likewise.
27504         [C99-based standards] (ctgammaf): Likewise.
27505         [C99-based standards] (cerfl): Likewise.
27506         [C99-based standards] (cerfcl): Likewise.
27507         [C99-based standards] (cexp2l): Likewise.
27508         [C99-based standards] (cexpm1l): Likewise.
27509         [C99-based standards] (clog10l): Likewise.
27510         [C99-based standards] (clog1pl): Likewise.
27511         [C99-based standards] (clog2l): Likewise.
27512         [C99-based standards] (clgammal): Likewise.
27513         [C99-based standards] (ctgammal): Likewise.
27514         * conform/data/inttypes.h-data [C99-based standards]: Include
27515         stdint.h-data.  Remove all expectations for stdint.h contents.
27516         [C99-based standards] (PRI*): Do not allow.
27517         [C99-based standards] (SCN*): Likewise.
27518         [C99-based standards] (*_t): Likewise.
27519         [C99-based-standards] (PRId8): Expect macro.
27520         [C99-based-standards] (PRIi8): Likewise.
27521         [C99-based-standards] (PRIo8): Likewise.
27522         [C99-based-standards] (PRIu8): Likewise.
27523         [C99-based-standards] (PRIx8): Likewise.
27524         [C99-based-standards] (PRIX8): Likewise.
27525         [C99-based-standards] (SCNd8): Likewise.
27526         [C99-based-standards] (SCNi8): Likewise.
27527         [C99-based-standards] (SCNo8): Likewise.
27528         [C99-based-standards] (SCNu8): Likewise.
27529         [C99-based-standards] (SCNx8): Likewise.
27530         [C99-based-standards] (PRIdLEAST8): Likewise.
27531         [C99-based-standards] (PRIiLEAST8): Likewise.
27532         [C99-based-standards] (PRIoLEAST8): Likewise.
27533         [C99-based-standards] (PRIuLEAST8): Likewise.
27534         [C99-based-standards] (PRIxLEAST8): Likewise.
27535         [C99-based-standards] (PRIXLEAST8): Likewise.
27536         [C99-based-standards] (SCNdLEAST8): Likewise.
27537         [C99-based-standards] (SCNiLEAST8): Likewise.
27538         [C99-based-standards] (SCNoLEAST8): Likewise.
27539         [C99-based-standards] (SCNuLEAST8): Likewise.
27540         [C99-based-standards] (SCNxLEAST8): Likewise.
27541         [C99-based-standards] (PRIdFAST8): Likewise.
27542         [C99-based-standards] (PRIiFAST8): Likewise.
27543         [C99-based-standards] (PRIoFAST8): Likewise.
27544         [C99-based-standards] (PRIuFAST8): Likewise.
27545         [C99-based-standards] (PRIxFAST8): Likewise.
27546         [C99-based-standards] (PRIXFAST8): Likewise.
27547         [C99-based-standards] (SCNdFAST8): Likewise.
27548         [C99-based-standards] (SCNiFAST8): Likewise.
27549         [C99-based-standards] (SCNoFAST8): Likewise.
27550         [C99-based-standards] (SCNuFAST8): Likewise.
27551         [C99-based-standards] (SCNxFAST8): Likewise.
27552         [C99-based-standards] (PRId16): Likewise.
27553         [C99-based-standards] (PRIi16): Likewise.
27554         [C99-based-standards] (PRIo16): Likewise.
27555         [C99-based-standards] (PRIu16): Likewise.
27556         [C99-based-standards] (PRIx16): Likewise.
27557         [C99-based-standards] (PRIX16): Likewise.
27558         [C99-based-standards] (SCNd16): Likewise.
27559         [C99-based-standards] (SCNi16): Likewise.
27560         [C99-based-standards] (SCNo16): Likewise.
27561         [C99-based-standards] (SCNu16): Likewise.
27562         [C99-based-standards] (SCNx16): Likewise.
27563         [C99-based-standards] (PRIdLEAST16): Likewise.
27564         [C99-based-standards] (PRIiLEAST16): Likewise.
27565         [C99-based-standards] (PRIoLEAST16): Likewise.
27566         [C99-based-standards] (PRIuLEAST16): Likewise.
27567         [C99-based-standards] (PRIxLEAST16): Likewise.
27568         [C99-based-standards] (PRIXLEAST16): Likewise.
27569         [C99-based-standards] (SCNdLEAST16): Likewise.
27570         [C99-based-standards] (SCNiLEAST16): Likewise.
27571         [C99-based-standards] (SCNoLEAST16): Likewise.
27572         [C99-based-standards] (SCNuLEAST16): Likewise.
27573         [C99-based-standards] (SCNxLEAST16): Likewise.
27574         [C99-based-standards] (PRIdFAST16): Likewise.
27575         [C99-based-standards] (PRIiFAST16): Likewise.
27576         [C99-based-standards] (PRIoFAST16): Likewise.
27577         [C99-based-standards] (PRIuFAST16): Likewise.
27578         [C99-based-standards] (PRIxFAST16): Likewise.
27579         [C99-based-standards] (PRIXFAST16): Likewise.
27580         [C99-based-standards] (SCNdFAST16): Likewise.
27581         [C99-based-standards] (SCNiFAST16): Likewise.
27582         [C99-based-standards] (SCNoFAST16): Likewise.
27583         [C99-based-standards] (SCNuFAST16): Likewise.
27584         [C99-based-standards] (SCNxFAST16): Likewise.
27585         [C99-based-standards] (PRId32): Likewise.
27586         [C99-based-standards] (PRIi32): Likewise.
27587         [C99-based-standards] (PRIo32): Likewise.
27588         [C99-based-standards] (PRIu32): Likewise.
27589         [C99-based-standards] (PRIx32): Likewise.
27590         [C99-based-standards] (PRIX32): Likewise.
27591         [C99-based-standards] (SCNd32): Likewise.
27592         [C99-based-standards] (SCNi32): Likewise.
27593         [C99-based-standards] (SCNo32): Likewise.
27594         [C99-based-standards] (SCNu32): Likewise.
27595         [C99-based-standards] (SCNx32): Likewise.
27596         [C99-based-standards] (PRIdLEAST32): Likewise.
27597         [C99-based-standards] (PRIiLEAST32): Likewise.
27598         [C99-based-standards] (PRIoLEAST32): Likewise.
27599         [C99-based-standards] (PRIuLEAST32): Likewise.
27600         [C99-based-standards] (PRIxLEAST32): Likewise.
27601         [C99-based-standards] (PRIXLEAST32): Likewise.
27602         [C99-based-standards] (SCNdLEAST32): Likewise.
27603         [C99-based-standards] (SCNiLEAST32): Likewise.
27604         [C99-based-standards] (SCNoLEAST32): Likewise.
27605         [C99-based-standards] (SCNuLEAST32): Likewise.
27606         [C99-based-standards] (SCNxLEAST32): Likewise.
27607         [C99-based-standards] (PRIdFAST32): Likewise.
27608         [C99-based-standards] (PRIiFAST32): Likewise.
27609         [C99-based-standards] (PRIoFAST32): Likewise.
27610         [C99-based-standards] (PRIuFAST32): Likewise.
27611         [C99-based-standards] (PRIxFAST32): Likewise.
27612         [C99-based-standards] (PRIXFAST32): Likewise.
27613         [C99-based-standards] (SCNdFAST32): Likewise.
27614         [C99-based-standards] (SCNiFAST32): Likewise.
27615         [C99-based-standards] (SCNoFAST32): Likewise.
27616         [C99-based-standards] (SCNuFAST32): Likewise.
27617         [C99-based-standards] (SCNxFAST32): Likewise.
27618         [C99-based-standards] (PRId64): Likewise.
27619         [C99-based-standards] (PRIi64): Likewise.
27620         [C99-based-standards] (PRIo64): Likewise.
27621         [C99-based-standards] (PRIu64): Likewise.
27622         [C99-based-standards] (PRIx64): Likewise.
27623         [C99-based-standards] (PRIX64): Likewise.
27624         [C99-based-standards] (SCNd64): Likewise.
27625         [C99-based-standards] (SCNi64): Likewise.
27626         [C99-based-standards] (SCNo64): Likewise.
27627         [C99-based-standards] (SCNu64): Likewise.
27628         [C99-based-standards] (SCNx64): Likewise.
27629         [C99-based-standards] (PRIdLEAST64): Likewise.
27630         [C99-based-standards] (PRIiLEAST64): Likewise.
27631         [C99-based-standards] (PRIoLEAST64): Likewise.
27632         [C99-based-standards] (PRIuLEAST64): Likewise.
27633         [C99-based-standards] (PRIxLEAST64): Likewise.
27634         [C99-based-standards] (PRIXLEAST64): Likewise.
27635         [C99-based-standards] (SCNdLEAST64): Likewise.
27636         [C99-based-standards] (SCNiLEAST64): Likewise.
27637         [C99-based-standards] (SCNoLEAST64): Likewise.
27638         [C99-based-standards] (SCNuLEAST64): Likewise.
27639         [C99-based-standards] (SCNxLEAST64): Likewise.
27640         [C99-based-standards] (PRIdFAST64): Likewise.
27641         [C99-based-standards] (PRIiFAST64): Likewise.
27642         [C99-based-standards] (PRIoFAST64): Likewise.
27643         [C99-based-standards] (PRIuFAST64): Likewise.
27644         [C99-based-standards] (PRIxFAST64): Likewise.
27645         [C99-based-standards] (PRIXFAST64): Likewise.
27646         [C99-based-standards] (SCNdFAST64): Likewise.
27647         [C99-based-standards] (SCNiFAST64): Likewise.
27648         [C99-based-standards] (SCNoFAST64): Likewise.
27649         [C99-based-standards] (SCNuFAST64): Likewise.
27650         [C99-based-standards] (SCNxFAST64): Likewise.
27651         [C99-based-standards] (PRIdMAX): Likewise.
27652         [C99-based-standards] (PRIiMAX): Likewise.
27653         [C99-based-standards] (PRIoMAX): Likewise.
27654         [C99-based-standards] (PRIuMAX): Likewise.
27655         [C99-based-standards] (PRIxMAX): Likewise.
27656         [C99-based-standards] (PRIXMAX): Likewise.
27657         [C99-based-standards] (SCNdMAX): Likewise.
27658         [C99-based-standards] (SCNiMAX): Likewise.
27659         [C99-based-standards] (SCNoMAX): Likewise.
27660         [C99-based-standards] (SCNuMAX): Likewise.
27661         [C99-based-standards] (SCNxMAX): Likewise.
27662         [C99-based-standards] (PRIdPTR): Likewise.
27663         [C99-based-standards] (PRIiPTR): Likewise.
27664         [C99-based-standards] (PRIoPTR): Likewise.
27665         [C99-based-standards] (PRIuPTR): Likewise.
27666         [C99-based-standards] (PRIxPTR): Likewise.
27667         [C99-based-standards] (PRIXPTR): Likewise.
27668         [C99-based-standards] (SCNdPTR): Likewise.
27669         [C99-based-standards] (SCNiPTR): Likewise.
27670         [C99-based-standards] (SCNoPTR): Likewise.
27671         [C99-based-standards] (SCNuPTR): Likewise.
27672         [C99-based-standards] (SCNxPTR): Likewise.
27673         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27674         allow.
27675         * conform/data/stdint.h-data: Update comments to clarify
27676         requirements.
27677         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
27678         type.
27679         [C99-based standards] (INT8_MAX): Likewise.
27680         [C99-based standards] (INT16_MIN): Likewise.
27681         [C99-based standards] (INT16_MAX): Likewise.
27682         [C99-based standards] (INT32_MIN): Likewise.
27683         [C99-based standards] (INT32_MAX): Likewise.
27684         [C99-based standards] (INT64_MIN): Likewise.
27685         [C99-based standards] (INT64_MAX): Likewise.
27686         [C99-based standards] (UINT8_MAX): Likewise.
27687         [C99-based standards] (UINT16_MAX): Likewise.
27688         [C99-based standards] (UINT32_MAX): Likewise.
27689         [C99-based standards] (UINT64_MAX): Likewise.
27690         [C99-based standards] (INT_LEAST8_MIN): Likewise.
27691         [C99-based standards] (INT_LEAST8_MAX): Likewise.
27692         [C99-based standards] (INT_LEAST16_MIN): Likewise.
27693         [C99-based standards] (INT_LEAST16_MAX): Likewise.
27694         [C99-based standards] (INT_LEAST32_MIN): Likewise.
27695         [C99-based standards] (INT_LEAST32_MAX): Likewise.
27696         [C99-based standards] (INT_LEAST64_MIN): Likewise.
27697         [C99-based standards] (INT_LEAST64_MAX): Likewise.
27698         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27699         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27700         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27701         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27702         [C99-based standards] (INT_FAST8_MIN): Likewise.
27703         [C99-based standards] (INT_FAST8_MAX): Likewise.
27704         [C99-based standards] (INT_FAST16_MIN): Likewise.
27705         [C99-based standards] (INT_FAST16_MAX): Likewise.
27706         [C99-based standards] (INT_FAST32_MIN): Likewise.
27707         [C99-based standards] (INT_FAST32_MAX): Likewise.
27708         [C99-based standards] (INT_FAST64_MIN): Likewise.
27709         [C99-based standards] (INT_FAST64_MAX): Likewise.
27710         [C99-based standards] (UINT_FAST8_MAX): Likewise.
27711         [C99-based standards] (UINT_FAST16_MAX): Likewise.
27712         [C99-based standards] (UINT_FAST32_MAX): Likewise.
27713         [C99-based standards] (UINT_FAST64_MAX): Likewise.
27714         [C99-based standards] (INTPTR_MIN): Likewise.
27715         [C99-based standards] (INTPTR_MAX): Likewise.
27716         [C99-based standards] (UINTPTR_MAX): Likewise.
27717         [C99-based standards] (INTMAX_MIN): Likewise.
27718         [C99-based standards] (INTMAX_MAX): Likewise.
27719         [C99-based standards] (UINTMAX_MAX): Likewise.
27720         [C99-based standards] (PTRDIFF_MIN): Likewise.
27721         [C99-based standards] (PTRDIFF_MAX): Likewise.
27722         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27723         [C99-based standards] (SIZE_MAX): Likewise.
27724         [C99-based standards] (WCHAR_MAX): Likewise.
27725         [C99-based standards] (WINT_MAX): Likewise.
27726         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
27727         constraint on value.
27728         [C99-based standards] (WCHAR_MIN): Likewise.
27729         [C99-based standards] (WINT_MIN): Likewise.
27730         [C99-based standards] (*_t): Allow.
27731         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27732         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27733         Include math.h-data and complex.h-data.  Remove all expectations
27734         of math.h and complex.h contents.
27735         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27736         at end of line.
27737         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27738         (struct tm): Expect tag.
27739         [C99-based-standards] (wcstof): Expect function.
27740         [C99-based-standards] (wcstold): Likewise.
27741         [C99-based-standards] (wcstoll): Likewise.
27742         [C99-based-standards] (wcstoull): Likewise.
27743         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27744         macro-int-constant.  Specify type.
27745         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
27746         constraint on value.
27747         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27748         Specify type.
27749         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27750         Specify value.
27751         [ISO C standards]: Do not allow headers.
27752         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27753         wcs[abcdefghijklmnopqrstuvwxyz]*.
27754         [ISO C standards] (*_t): Do not allow.
27755         * conform/data/wctype.h-data [C99-based standards] (iswblank):
27756         Expect function.
27757         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27758         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27759         Specify type.
27760         [ISO C standards]: Do not allow headers.
27761         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27762         is[abcdefghijklmnopqrstuvwxyz]*.
27763         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27764         to[abcdefghijklmnopqrstuvwxyz]*.
27765         [ISO C standards] (*_t): Do not allow.
27766         * conform/data/stdalign.h-data: New file.
27767         * conform/data/stdbool.h-data: Likewise.
27768         * conform/data/stdnoreturn.h-data: Likewise.
27769
27770 2012-11-07  Roland McGrath  <roland@hack.frob.com>
27771
27772         [BZ #14815]
27773         * manual/filesys.texi (Directory Entries): Typo fix.
27774         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27775
27776 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27777
27778         * elf/elf.h (EM_AARCH64): New macro.
27779         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27780         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27781         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27782         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27783         (R_AARCH64_TLSDESC): Likewise.
27784         (NT_ARM_TLS): Likewise.
27785         (NT_ARM_HW_BREAK): Likewise.
27786         (NT_ARM_HW_WATCH): Likewise.
27787
27788 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27789
27790         [BZ #14811]
27791         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27792         (__ieee754_powl): Saturate nonzero exponents with absolute value
27793         below 0x1p-79 to +/- 0x1p-79.
27794         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27795         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27796         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27797         nonzero exponents with absolute value below 0x1p-32 to +/-
27798         0x1p-32.
27799         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27800         (__ieee754_powl): Saturate nonzero exponents with absolute value
27801         below 0x1p-79 to +/- 0x1p-79.
27802         * math/libm-test.inc (pow_test): Add more tests.
27803
27804 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27805
27806         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27807         _dl_s390_cap_flags with kernel. Increase string length.
27808         (_dl_s390_platforms): Add z196 and zEC12.
27809
27810 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27811
27812         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27813         Change XOPEN21K to XOPEN2K.
27814
27815 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
27816
27817         * string/memmove.c: Use memcpy when possible.
27818
27819 2012-11-06  Andreas Jaeger  <aj@suse.de>
27820
27821         * po/eo.po: Update from translation team.
27822
27823 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
27824
27825         [BZ #14793]
27826         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27827         exponent and small x and y exponents, scale x or y up.  Increase
27828         by 2 the exponent used in scaling up.
27829         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27830         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27831         * math/libm-test.inc (fma_test): Add more tests.
27832         (fma_test_towardzero): Likewise.
27833         (fma_test_downward): Likewise.
27834         (fma_test_upward): Likewise.
27835
27836 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
27837
27838         [BZ #14805]
27839         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27840         fenv_t *.
27841
27842         [BZ #14801]
27843         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27844         namespace for names of struct fields.
27845         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27846         fenv_t fields.
27847         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27848         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27849
27850 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27851
27852         [BZ #3665]
27853         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27854
27855 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
27856
27857         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27858         PTR_DEMANGLE.
27859
27860         [BZ #5246]
27861         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27862         PTR_DEMANGLE.
27863
27864 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
27865
27866         [BZ #14797]
27867         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27868         definitely overflow as x * y not x * y + z.
27869         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27870         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27871         * math/libm-test.inc (fma_test): Add more tests.
27872         (fma_test_towardzero): Likewise.
27873         (fma_test_downward): Likewise.
27874         (fma_test_upward): Likewise.
27875
27876 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
27877
27878         [BZ #157]
27879
27880         * include/stub-tag.h: Remove file.
27881         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27882         '#include' of it.
27883         * manual/maint.texi (Porting): Don't reference it.
27884         * Makerules ($(objpfx)stubs): Likewise.
27885         * dirent/closedir.c: Don't include <stub-tag.h>.
27886         * dirent/dirfd.c: Likewise.
27887         * dirent/fdopendir.c: Likewise.
27888         * dirent/getdents.c: Likewise.
27889         * dirent/getdents64.c: Likewise.
27890         * dirent/opendir.c: Likewise.
27891         * dirent/readdir.c: Likewise.
27892         * dirent/readdir64.c: Likewise.
27893         * dirent/readdir64_r.c: Likewise.
27894         * dirent/readdir_r.c: Likewise.
27895         * dirent/rewinddir.c: Likewise.
27896         * dirent/seekdir.c: Likewise.
27897         * dirent/telldir.c: Likewise.
27898         * gmon/profil.c: Likewise.
27899         * grp/setgroups.c: Likewise.
27900         * inet/if_index.c: Likewise.
27901         * io/access.c: Likewise.
27902         * io/chdir.c: Likewise.
27903         * io/chmod.c: Likewise.
27904         * io/chown.c: Likewise.
27905         * io/close.c: Likewise.
27906         * io/dup.c: Likewise.
27907         * io/dup2.c: Likewise.
27908         * io/dup3.c: Likewise.
27909         * io/euidaccess.c: Likewise.
27910         * io/faccessat.c: Likewise.
27911         * io/fchdir.c: Likewise.
27912         * io/fchmod.c: Likewise.
27913         * io/fchmodat.c: Likewise.
27914         * io/fchown.c: Likewise.
27915         * io/fchownat.c: Likewise.
27916         * io/fcntl.c: Likewise.
27917         * io/flock.c: Likewise.
27918         * io/fstatfs.c: Likewise.
27919         * io/fstatfs64.c: Likewise.
27920         * io/fstatvfs.c: Likewise.
27921         * io/fstatvfs64.c: Likewise.
27922         * io/futimens.c: Likewise.
27923         * io/fxstat.c: Likewise.
27924         * io/fxstat64.c: Likewise.
27925         * io/fxstatat.c: Likewise.
27926         * io/fxstatat64.c: Likewise.
27927         * io/getcwd.c: Likewise.
27928         * io/isatty.c: Likewise.
27929         * io/lchmod.c: Likewise.
27930         * io/lchown.c: Likewise.
27931         * io/link.c: Likewise.
27932         * io/linkat.c: Likewise.
27933         * io/lseek.c: Likewise.
27934         * io/lseek64.c: Likewise.
27935         * io/lxstat64.c: Likewise.
27936         * io/mkdir.c: Likewise.
27937         * io/mkdirat.c: Likewise.
27938         * io/mkfifo.c: Likewise.
27939         * io/mkfifoat.c: Likewise.
27940         * io/open.c: Likewise.
27941         * io/open64.c: Likewise.
27942         * io/openat.c: Likewise.
27943         * io/openat64.c: Likewise.
27944         * io/pipe.c: Likewise.
27945         * io/pipe2.c: Likewise.
27946         * io/poll.c: Likewise.
27947         * io/posix_fadvise.c: Likewise.
27948         * io/posix_fadvise64.c: Likewise.
27949         * io/posix_fallocate.c: Likewise.
27950         * io/posix_fallocate64.c: Likewise.
27951         * io/read.c: Likewise.
27952         * io/readlink.c: Likewise.
27953         * io/readlinkat.c: Likewise.
27954         * io/rmdir.c: Likewise.
27955         * io/sendfile.c: Likewise.
27956         * io/sendfile64.c: Likewise.
27957         * io/statfs.c: Likewise.
27958         * io/statfs64.c: Likewise.
27959         * io/statvfs.c: Likewise.
27960         * io/statvfs64.c: Likewise.
27961         * io/symlink.c: Likewise.
27962         * io/symlinkat.c: Likewise.
27963         * io/ttyname.c: Likewise.
27964         * io/ttyname_r.c: Likewise.
27965         * io/umask.c: Likewise.
27966         * io/unlink.c: Likewise.
27967         * io/unlinkat.c: Likewise.
27968         * io/utime.c: Likewise.
27969         * io/utimensat.c: Likewise.
27970         * io/write.c: Likewise.
27971         * io/xmknod.c: Likewise.
27972         * io/xmknodat.c: Likewise.
27973         * io/xstat.c: Likewise.
27974         * io/xstat64.c: Likewise.
27975         * login/getpt.c: Likewise.
27976         * login/grantpt.c: Likewise.
27977         * login/unlockpt.c: Likewise.
27978         * math/e_acoshl.c: Likewise.
27979         * math/e_acosl.c: Likewise.
27980         * math/e_asinl.c: Likewise.
27981         * math/e_atan2l.c: Likewise.
27982         * math/e_atanhl.c: Likewise.
27983         * math/e_coshl.c: Likewise.
27984         * math/e_expl.c: Likewise.
27985         * math/e_fmodl.c: Likewise.
27986         * math/e_gammal_r.c: Likewise.
27987         * math/e_hypotl.c: Likewise.
27988         * math/e_j0l.c: Likewise.
27989         * math/e_j1l.c: Likewise.
27990         * math/e_jnl.c: Likewise.
27991         * math/e_lgammal_r.c: Likewise.
27992         * math/e_log10l.c: Likewise.
27993         * math/e_log2l.c: Likewise.
27994         * math/e_logl.c: Likewise.
27995         * math/e_powl.c: Likewise.
27996         * math/e_rem_pio2l.c: Likewise.
27997         * math/e_sinhl.c: Likewise.
27998         * math/e_sqrtl.c: Likewise.
27999         * math/fclrexcpt.c: Likewise.
28000         * math/fedisblxcpt.c: Likewise.
28001         * math/feenablxcpt.c: Likewise.
28002         * math/fegetenv.c: Likewise.
28003         * math/fegetexcept.c: Likewise.
28004         * math/fegetround.c: Likewise.
28005         * math/feholdexcpt.c: Likewise.
28006         * math/fesetenv.c: Likewise.
28007         * math/fesetround.c: Likewise.
28008         * math/feupdateenv.c: Likewise.
28009         * math/fgetexcptflg.c: Likewise.
28010         * math/fraiseexcpt.c: Likewise.
28011         * math/fsetexcptflg.c: Likewise.
28012         * math/ftestexcept.c: Likewise.
28013         * math/k_cosl.c: Likewise.
28014         * math/k_rem_pio2l.c: Likewise.
28015         * math/k_sinl.c: Likewise.
28016         * math/k_tanl.c: Likewise.
28017         * math/s_asinhl.c: Likewise.
28018         * math/s_atanl.c: Likewise.
28019         * math/s_cbrtl.c: Likewise.
28020         * math/s_erfl.c: Likewise.
28021         * math/s_expm1l.c: Likewise.
28022         * math/s_log1pl.c: Likewise.
28023         * math/s_tanhl.c: Likewise.
28024         * misc/acct.c: Likewise.
28025         * misc/brk.c: Likewise.
28026         * misc/chflags.c: Likewise.
28027         * misc/chroot.c: Likewise.
28028         * misc/fchflags.c: Likewise.
28029         * misc/fgetxattr.c: Likewise.
28030         * misc/flistxattr.c: Likewise.
28031         * misc/fremovexattr.c: Likewise.
28032         * misc/fsetxattr.c: Likewise.
28033         * misc/fsync.c: Likewise.
28034         * misc/ftruncate.c: Likewise.
28035         * misc/futimes.c: Likewise.
28036         * misc/futimesat.c: Likewise.
28037         * misc/getdomain.c: Likewise.
28038         * misc/getdtsz.c: Likewise.
28039         * misc/gethostid.c: Likewise.
28040         * misc/gethostname.c: Likewise.
28041         * misc/getloadavg.c: Likewise.
28042         * misc/getpagesize.c: Likewise.
28043         * misc/getsysstats.c: Likewise.
28044         * misc/getxattr.c: Likewise.
28045         * misc/gtty.c: Likewise.
28046         * misc/ioctl.c: Likewise.
28047         * misc/lgetxattr.c: Likewise.
28048         * misc/listxattr.c: Likewise.
28049         * misc/llistxattr.c: Likewise.
28050         * misc/lremovexattr.c: Likewise.
28051         * misc/lsetxattr.c: Likewise.
28052         * misc/lutimes.c: Likewise.
28053         * misc/madvise.c: Likewise.
28054         * misc/mincore.c: Likewise.
28055         * misc/mlock.c: Likewise.
28056         * misc/mlockall.c: Likewise.
28057         * misc/mmap.c: Likewise.
28058         * misc/mprotect.c: Likewise.
28059         * misc/msync.c: Likewise.
28060         * misc/munlock.c: Likewise.
28061         * misc/munlockall.c: Likewise.
28062         * misc/munmap.c: Likewise.
28063         * misc/preadv.c: Likewise.
28064         * misc/preadv64.c: Likewise.
28065         * misc/ptrace.c: Likewise.
28066         * misc/pwritev.c: Likewise.
28067         * misc/pwritev64.c: Likewise.
28068         * misc/readv.c: Likewise.
28069         * misc/reboot.c: Likewise.
28070         * misc/remap_file_pages.c: Likewise.
28071         * misc/removexattr.c: Likewise.
28072         * misc/revoke.c: Likewise.
28073         * misc/select.c: Likewise.
28074         * misc/setdomain.c: Likewise.
28075         * misc/setegid.c: Likewise.
28076         * misc/seteuid.c: Likewise.
28077         * misc/sethostid.c: Likewise.
28078         * misc/sethostname.c: Likewise.
28079         * misc/setregid.c: Likewise.
28080         * misc/setreuid.c: Likewise.
28081         * misc/setxattr.c: Likewise.
28082         * misc/sstk.c: Likewise.
28083         * misc/stty.c: Likewise.
28084         * misc/swapoff.c: Likewise.
28085         * misc/swapon.c: Likewise.
28086         * misc/sync.c: Likewise.
28087         * misc/syncfs.c: Likewise.
28088         * misc/syscall.c: Likewise.
28089         * misc/truncate.c: Likewise.
28090         * misc/ualarm.c: Likewise.
28091         * misc/usleep.c: Likewise.
28092         * misc/ustat.c: Likewise.
28093         * misc/utimes.c: Likewise.
28094         * misc/vhangup.c: Likewise.
28095         * misc/writev.c: Likewise.
28096         * posix/_exit.c: Likewise.
28097         * posix/alarm.c: Likewise.
28098         * posix/execve.c: Likewise.
28099         * posix/fexecve.c: Likewise.
28100         * posix/fork.c: Likewise.
28101         * posix/fpathconf.c: Likewise.
28102         * posix/getaddrinfo.c: Likewise.
28103         * posix/getegid.c: Likewise.
28104         * posix/geteuid.c: Likewise.
28105         * posix/getgid.c: Likewise.
28106         * posix/getgroups.c: Likewise.
28107         * posix/getlogin.c: Likewise.
28108         * posix/getlogin_r.c: Likewise.
28109         * posix/getpgid.c: Likewise.
28110         * posix/getpid.c: Likewise.
28111         * posix/getppid.c: Likewise.
28112         * posix/getresgid.c: Likewise.
28113         * posix/getresuid.c: Likewise.
28114         * posix/getsid.c: Likewise.
28115         * posix/getuid.c: Likewise.
28116         * posix/glob64.c: Likewise.
28117         * posix/nanosleep.c: Likewise.
28118         * posix/pathconf.c: Likewise.
28119         * posix/pause.c: Likewise.
28120         * posix/posix_madvise.c: Likewise.
28121         * posix/pread.c: Likewise.
28122         * posix/pread64.c: Likewise.
28123         * posix/pwrite.c: Likewise.
28124         * posix/pwrite64.c: Likewise.
28125         * posix/sched_getaffinity.c: Likewise.
28126         * posix/sched_getp.c: Likewise.
28127         * posix/sched_gets.c: Likewise.
28128         * posix/sched_primax.c: Likewise.
28129         * posix/sched_primin.c: Likewise.
28130         * posix/sched_rr_gi.c: Likewise.
28131         * posix/sched_setaffinity.c: Likewise.
28132         * posix/sched_setp.c: Likewise.
28133         * posix/sched_sets.c: Likewise.
28134         * posix/sched_yield.c: Likewise.
28135         * posix/setgid.c: Likewise.
28136         * posix/setlogin.c: Likewise.
28137         * posix/setpgid.c: Likewise.
28138         * posix/setresgid.c: Likewise.
28139         * posix/setresuid.c: Likewise.
28140         * posix/setsid.c: Likewise.
28141         * posix/setuid.c: Likewise.
28142         * posix/sleep.c: Likewise.
28143         * posix/spawni.c: Likewise.
28144         * posix/sysconf.c: Likewise.
28145         * posix/times.c: Likewise.
28146         * posix/wait.c: Likewise.
28147         * posix/wait3.c: Likewise.
28148         * posix/wait4.c: Likewise.
28149         * posix/waitpid.c: Likewise.
28150         * resolv/gai_sigqueue.c: Likewise.
28151         * resource/getpriority.c: Likewise.
28152         * resource/getrlimit.c: Likewise.
28153         * resource/getrusage.c: Likewise.
28154         * resource/nice.c: Likewise.
28155         * resource/setpriority.c: Likewise.
28156         * resource/setrlimit.c: Likewise.
28157         * resource/ulimit.c: Likewise.
28158         * rt/aio_cancel.c: Likewise.
28159         * rt/aio_fsync.c: Likewise.
28160         * rt/aio_read.c: Likewise.
28161         * rt/aio_sigqueue.c: Likewise.
28162         * rt/aio_suspend.c: Likewise.
28163         * rt/aio_write.c: Likewise.
28164         * rt/clock_getres.c: Likewise.
28165         * rt/clock_gettime.c: Likewise.
28166         * rt/clock_nanosleep.c: Likewise.
28167         * rt/clock_settime.c: Likewise.
28168         * rt/lio_listio.c: Likewise.
28169         * rt/mq_close.c: Likewise.
28170         * rt/mq_getattr.c: Likewise.
28171         * rt/mq_notify.c: Likewise.
28172         * rt/mq_open.c: Likewise.
28173         * rt/mq_receive.c: Likewise.
28174         * rt/mq_send.c: Likewise.
28175         * rt/mq_setattr.c: Likewise.
28176         * rt/mq_timedreceive.c: Likewise.
28177         * rt/mq_timedsend.c: Likewise.
28178         * rt/mq_unlink.c: Likewise.
28179         * rt/shm_open.c: Likewise.
28180         * rt/shm_unlink.c: Likewise.
28181         * rt/timer_create.c: Likewise.
28182         * rt/timer_delete.c: Likewise.
28183         * rt/timer_getoverr.c: Likewise.
28184         * rt/timer_gettime.c: Likewise.
28185         * rt/timer_settime.c: Likewise.
28186         * setjmp/__longjmp.c: Likewise.
28187         * setjmp/setjmp.c: Likewise.
28188         * signal/kill.c: Likewise.
28189         * signal/killpg.c: Likewise.
28190         * signal/raise.c: Likewise.
28191         * signal/sigaction.c: Likewise.
28192         * signal/sigaltstack.c: Likewise.
28193         * signal/sigblock.c: Likewise.
28194         * signal/sigignore.c: Likewise.
28195         * signal/sigintr.c: Likewise.
28196         * signal/signal.c: Likewise.
28197         * signal/sigpause.c: Likewise.
28198         * signal/sigpending.c: Likewise.
28199         * signal/sigqueue.c: Likewise.
28200         * signal/sigreturn.c: Likewise.
28201         * signal/sigset.c: Likewise.
28202         * signal/sigsetmask.c: Likewise.
28203         * signal/sigstack.c: Likewise.
28204         * signal/sigsuspend.c: Likewise.
28205         * signal/sigtimedwait.c: Likewise.
28206         * signal/sigvec.c: Likewise.
28207         * signal/sigwait.c: Likewise.
28208         * signal/sigwaitinfo.c: Likewise.
28209         * signal/sysv_signal.c: Likewise.
28210         * socket/accept.c: Likewise.
28211         * socket/accept4.c: Likewise.
28212         * socket/bind.c: Likewise.
28213         * socket/connect.c: Likewise.
28214         * socket/getpeername.c: Likewise.
28215         * socket/getsockname.c: Likewise.
28216         * socket/getsockopt.c: Likewise.
28217         * socket/isfdtype.c: Likewise.
28218         * socket/listen.c: Likewise.
28219         * socket/recv.c: Likewise.
28220         * socket/recvfrom.c: Likewise.
28221         * socket/recvmsg.c: Likewise.
28222         * socket/send.c: Likewise.
28223         * socket/sendmsg.c: Likewise.
28224         * socket/sendto.c: Likewise.
28225         * socket/setsockopt.c: Likewise.
28226         * socket/shutdown.c: Likewise.
28227         * socket/sockatmark.c: Likewise.
28228         * socket/socket.c: Likewise.
28229         * socket/socketpair.c: Likewise.
28230         * stdio-common/ctermid.c: Likewise.
28231         * stdio-common/cuserid.c: Likewise.
28232         * stdio-common/remove.c: Likewise.
28233         * stdio-common/rename.c: Likewise.
28234         * stdio-common/renameat.c: Likewise.
28235         * stdio-common/tempname.c: Likewise.
28236         * stdlib/getcontext.c: Likewise.
28237         * stdlib/makecontext.c: Likewise.
28238         * stdlib/setcontext.c: Likewise.
28239         * stdlib/swapcontext.c: Likewise.
28240         * stdlib/system.c: Likewise.
28241         * streams/fattach.c: Likewise.
28242         * streams/fdetach.c: Likewise.
28243         * streams/getmsg.c: Likewise.
28244         * streams/getpmsg.c: Likewise.
28245         * streams/putmsg.c: Likewise.
28246         * streams/putpmsg.c: Likewise.
28247         * sysdeps/unix/bsd/getpt.c: Likewise.
28248         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28249         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28250         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28252         Likewise.
28253         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28254         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28255         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28256         * sysvipc/msgctl.c: Likewise.
28257         * sysvipc/msgget.c: Likewise.
28258         * sysvipc/msgrcv.c: Likewise.
28259         * sysvipc/msgsnd.c: Likewise.
28260         * sysvipc/semctl.c: Likewise.
28261         * sysvipc/semget.c: Likewise.
28262         * sysvipc/semop.c: Likewise.
28263         * sysvipc/semtimedop.c: Likewise.
28264         * sysvipc/shmat.c: Likewise.
28265         * sysvipc/shmctl.c: Likewise.
28266         * sysvipc/shmdt.c: Likewise.
28267         * sysvipc/shmget.c: Likewise.
28268         * termios/tcdrain.c: Likewise.
28269         * termios/tcflow.c: Likewise.
28270         * termios/tcflush.c: Likewise.
28271         * termios/tcgetattr.c: Likewise.
28272         * termios/tcgetpgrp.c: Likewise.
28273         * termios/tcsendbrk.c: Likewise.
28274         * termios/tcsetattr.c: Likewise.
28275         * termios/tcsetpgrp.c: Likewise.
28276         * time/adjtime.c: Likewise.
28277         * time/clock.c: Likewise.
28278         * time/getitimer.c: Likewise.
28279         * time/gettimeofday.c: Likewise.
28280         * time/setitimer.c: Likewise.
28281         * time/settimeofday.c: Likewise.
28282         * time/stime.c: Likewise.
28283         * time/time.c: Likewise.
28284
28285 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
28286
28287         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28288         /usr/old/bin.
28289
28290         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28291         instead of spaces.
28292         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28293
28294 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
28295
28296         [BZ #14796]
28297         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28298         FE_TONEAREST before applying Dekker multiplication and Knuth
28299         addition.  Clear inexact exceptions and check for exact zero
28300         results afterwards.
28301         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28302         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28303         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28304         * math/libm-test.inc (fma_test): Add more tests.
28305         (fma_test_towardzero): Likewise.
28306         (fma_test_downward): Likewise.
28307         (fma_test_upward): Likewise.
28308         * sysdeps/generic/math_private.h (default_libc_fesetround): New
28309         function.
28310         (libc_fesetround): New macro.
28311         (libc_fesetroundf): Likewise.
28312         (libc_fesetroundl): Likewise.
28313         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28314         function.
28315         (libc_fesetround_387): Likewise.
28316         (libc_fesetroundf): New macro.
28317         (libc_fesetround): Likewise.
28318         (libc_fesetroundl): Likewise.
28319         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28320         function.
28321         (libc_fesetroundf): New macro.
28322         (libc_fesetround): Likewise.
28323         (libc_fesetroundl): Likewise.
28324         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28325         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28326         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28327         libm_hidden_ver.
28328         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28329         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28330         libm_hidden_def.
28331         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28332         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28333         libm_hidden_ver.
28334         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28335         libm_hidden_def.
28336
28337         [BZ #3439]
28338         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28339         integer constant usable in #if and use that to give value to enum
28340         constant.
28341         (FE_DIVBYZERO): Likewise.
28342         (FE_UNDERFLOW): Likewise.
28343         (FE_OVERFLOW): Likewise.
28344         (FE_INVALID): Likewise.
28345         (FE_INVALID_SNAN): Likewise.
28346         (FE_INVALID_ISI): Likewise.
28347         (FE_INVALID_IDI): Likewise.
28348         (FE_INVALID_ZDZ): Likewise.
28349         (FE_INVALID_IMZ): Likewise.
28350         (FE_INVALID_COMPARE): Likewise.
28351         (FE_INVALID_SOFTWARE): Likewise.
28352         (FE_INVALID_SQRT): Likewise.
28353         (FE_INVALID_INTEGER_CONVERSION): Likewise.
28354         (FE_TONEAREST): Likewise.
28355         (FE_TOWARDZERO): Likewise.
28356         (FE_UPWARD): Likewise.
28357         (FE_DOWNWARD): Likewise.
28358         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28359         (FE_DIVBYZERO): Likewise.
28360         (FE_OVERFLOW): Likewise.
28361         (FE_UNDERFLOW): Likewise.
28362         (FE_INEXACT): Likewise.
28363         (FE_TONEAREST): Likewise.
28364         (FE_DOWNWARD): Likewise.
28365         (FE_UPWARD): Likewise.
28366         (FE_TOWARDZERO): Likewise.
28367         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28368         (FE_UNDERFLOW): Likewise.
28369         (FE_OVERFLOW): Likewise.
28370         (FE_DIVBYZERO): Likewise.
28371         (FE_INVALID): Likewise.
28372         (FE_TONEAREST): Likewise.
28373         (FE_TOWARDZERO): Likewise.
28374         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28375         (FE_OVERFLOW): Likewise.
28376         (FE_UNDERFLOW): Likewise.
28377         (FE_DIVBYZERO): Likewise.
28378         (FE_INEXACT): Likewise.
28379         (FE_TONEAREST): Likewise.
28380         (FE_TOWARDZERO): Likewise.
28381         (FE_UPWARD): Likewise.
28382         (FE_DOWNWARD): Likewise.
28383         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28384         (FE_DIVBYZERO): Likewise.
28385         (FE_OVERFLOW): Likewise.
28386         (FE_UNDERFLOW): Likewise.
28387         (FE_INEXACT): Likewise.
28388         (FE_TONEAREST): Likewise.
28389         (FE_DOWNWARD): Likewise.
28390         (FE_UPWARD): Likewise.
28391         (FE_TOWARDZERO): Likewise.
28392
28393 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
28394
28395         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28396
28397 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
28398
28399         * scripts/cross-test-ssh.sh (command): Use newlines to separate
28400         commands.  Quote $PWD.
28401         (blacklist_exports): Don't use remove_newlines.  Replace "declare
28402         -x" by "export".
28403         (remove_newlines): Remove.
28404
28405 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
28406
28407         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28408         * stdlib/stdlib.h (atof): Moved to ...
28409         * include/bits/stdlib-float.h: Here.  New file.
28410         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28411         * stdlib/bits/stdlib-float.h: New file.
28412         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28413         -mno-sse -mno-mmx.
28414         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28415         <xmmintrin.h>.
28416
28417 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
28418
28419         * conform/conformtest.pl (@headers): Add fenv.h.
28420         * conform/data/fenv.h-data: New file.
28421         * include/fenv.h [_ISOMAC]: Disable all contents of file except
28422         include of <math/fenv.h>.
28423
28424         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28425         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28426         && !UNIX98].  Enables tests for XOPEN2K8.
28427         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28428         POSIX2008]: Likewise.
28429
28430         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28431         (struct rusage): Do not expect type or its members.
28432
28433         [BZ #3439]
28434         * math/math.h (FP_NAN): Define macro to integer constant usable in
28435         #if and use that to give value to enum constant.
28436         (FP_INFINITE): Likewise.
28437         (FP_ZERO): Likewise.
28438         (FP_SUBNORMAL): Likewise.
28439         (FP_NORMAL): Likewise.
28440
28441 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
28442
28443         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28444         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28445         arguments.
28446
28447 2012-11-02  Roland McGrath  <roland@hack.frob.com>
28448
28449         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28450         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28451         autoconf-time if not.
28452         * configure.in: Remove AC_PREREQ.
28453
28454 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28455
28456         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28457         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28458         of the internal implementation.
28459
28460 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
28461
28462         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28463         except include of <misc/sys/syslog.h>.
28464
28465 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28466
28467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28468         function returns with a NULL context exit with zero.
28469
28470 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28471
28472         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28473
28474 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
28475
28476         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28477         (run_program_cmd): This.
28478         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28479         (tst_langinfo): New variable.  Use it.
28480
28481 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
28482
28483         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28484         floating point opcodes.
28485
28486 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28487
28488         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28489         variable.
28490
28491         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28492
28493         * sysdeps/mach/hurd/powerpc: Remove directory.
28494         * sysdeps/mach/powerpc: Likewise.
28495
28496 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28497
28498         * scripts/check-local-headers.sh: Ignore c++ headers.
28499
28500 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28501
28502         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28503         __libc_cleanup_region_start argument.
28504
28505 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
28506
28507         [BZ #14784]
28508         [BZ #14785]
28509         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28510         x * y using scaling, not as x * y + z.
28511         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28512         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28513         * math/libm-test.inc (fma_test): Add more tests.
28514         (fma_test_towardzero): Likewise.
28515         (fma_test_downward): Likewise.
28516         (fma_test_upward): Likewise.
28517
28518 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28519
28520         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28521
28522 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
28523
28524         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28525         New variable.
28526
28527 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
28528
28529         * rt/tst-shm.c (worker): Correct checking for mmap failure.
28530
28531 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
28532
28533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28534         Fix sort order.
28535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28536         Likewise.
28537
28538 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28539
28540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28541         Fix the order of the list for glibc 2.17.
28542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28543         Likewise.
28544
28545 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
28546
28547         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28548
28549 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
28550
28551         [BZ #14610]
28552         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28553         for low part of x being zero before using __atanl (y).
28554         * math/libm-test.inc (atan2_test): Add another test.
28555
28556         * manual/install.texi (Configuring and compiling): Document
28557         general use of test-wrapper and test-wrapper-env.
28558         * INSTALL: Regenerated.
28559
28560         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28561         (__fma): Do not extract and scale down low bits on after-rounding
28562         systems when result rounded to normal precision would have normal
28563         exponent.
28564         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28565         (__fmal): Do not extract and scale down low bits on after-rounding
28566         systems when result rounded to normal precision would have normal
28567         exponent.
28568         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28569         (__fmal): Do not extract and scale down low bits on after-rounding
28570         systems when result rounded to normal precision would have normal
28571         exponent.
28572         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28573         macro.
28574         (fma_test): Add more tests.
28575         (fma_test_towardzero): Likewise.
28576         (fma_test_downward): Likewise.
28577         (fma_test_upward): Likewise.
28578
28579 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
28580
28581         * sysdeps/i386/tininess.h: Renamed to ...
28582         * sysdeps/x86/tininess.h: This.
28583         * sysdeps/x86_64/tininess.h: Removed.
28584
28585 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
28586
28587         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28588         input.  Use $(build-program-cmd).
28589         ($(objpfx)tst-array1-static.out): Likewise.
28590         ($(objpfx)tst-array2.out): Likewise.
28591         ($(objpfx)tst-array3.out): Likewise.
28592         ($(objpfx)tst-array4.out): Likewise.
28593         ($(objpfx)tst-array5.out): Likewise.
28594         ($(objpfx)tst-array5-static.out): Likewise.
28595
28596 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
28597
28598         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28599         if defined.
28600
28601         * nss/nsswitch.h (nss_interface_function): Provide new
28602         macro for use with NSS functions.
28603         * grp/initgroups.c: Use new macro.
28604         * nss/getXXbyYY.c: Likewise.
28605         * nss/getXXbyYY_r.c: Likewise.
28606         * nss/getXXent.c: Likewise.
28607         * nss/getXXent_r.c: Likewise.
28608         * sysdeps/posix/getaddrinfo.c: Likewise.
28609
28610 2012-10-30  Andreas Jaeger  <aj@suse.de>
28611
28612         * po/ru.po: Update Russion translation from translation project.
28613
28614 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
28615
28616         [BZ #14152]
28617         [BZ #14783]
28618         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28619         result and shift together with sticky bit instead of replicating
28620         round-to-nearest rounding.
28621         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28622         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28623         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
28624         missing underflow exceptions.
28625         (fma_test_towardzero): Add more tests.
28626         (fma_test_downward): Likewise.
28627         (fma_test_upward): Likewise.
28628
28629         [BZ #14047]
28630         * sysdeps/generic/tininess.h: New file.
28631         * sysdeps/i386/tininess.h: Likewise.
28632         * sysdeps/sh/tininess.h: Likewise.
28633         * sysdeps/x86_64/tininess.h: Likewise.
28634         * stdlib/tst-strtod-underflow.c: Likewise.
28635         * stdlib/tst-tininess.c: Likewise.
28636         * stdlib/strtod_l.c: Include <tininess.h>.
28637         (round_and_return): Do not set errno for exact underflow cases.
28638         Force an underflow exception when setting errno for underflow.
28639         Determine underflow based on rounding to normal precision if
28640         TININESS_AFTER_ROUNDING.
28641         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28642         ERANGE for exact underflow cases.
28643         * stdlib/Makefile (tests): Add tst-tininess and
28644         tst-strtod-underflow.
28645         ($(objpfx)tst-tininess): Use $(link-libm).
28646         ($(objpfx)tst-strtod-underflow): Likewise.
28647
28648 2012-10-30  Andreas Jaeger  <aj@suse.de>
28649
28650         [BZ#14767]
28651         * elf/Makefile (tests): Remove conditional for have-initfini-array
28652         since this is now always required and the variable does not exist
28653         anymore.
28654         (tests-static): Likewise.
28655         (modules-names): Likewise.
28656
28657         * po/eo.po: Add Esperanto translation from translation project.
28658
28659         * elf/tst-array1.c (fini_array): Make writeable so that it can be
28660         merged with constructor/destructor.
28661         (init_array): Likewise.
28662         * elf/tst-array2dep.c (fini_array): Likewise.
28663         (init_array): Likewise.
28664
28665 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
28666
28667         * manual/message.texi: Delete @cartouche tags.
28668
28669 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
28670
28671         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28672         EOPNOTSUPP.
28673         * sysdeps/mach/hurd/fsync.c: Likewise.
28674
28675         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28676         [_POSIX_REALTIME_SIGNALS]: Change condition to
28677         [_POSIX_REALTIME_SIGNALS > 0].
28678
28679 2012-10-27  Andreas Jaeger  <aj@suse.de>
28680
28681         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28682         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28683         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28684         [__WORDSIZE != 64]: Likewise.
28685
28686 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
28687
28688         *  iconvdata/tst-table.sh: Remove ${SHELL}.
28689         *  iconvdata/tst-tables.sh: Likewise.
28690
28691 2012-10-25  David S. Miller  <davem@davemloft.net>
28692
28693         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28694         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28695         of strtoull.
28696
28697         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28698         ifunc-impl-list.c
28699         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28700         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28701         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28702         file.
28703
28704 2012-10-25  Roland McGrath  <roland@hack.frob.com>
28705
28706         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28707         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28708         __getdirentries.
28709
28710 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
28711             Jim Blandy  <jimb@codesourcery.com>
28712
28713         * scripts/cross-test-ssh.sh: New file.
28714         * manual/install.texi (Configuring and compiling): Document use of
28715         cross-test-ssh.sh.
28716         * INSTALL: Regenerated.
28717
28718 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
28719
28720         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28721         EOPNOTSUPP.
28722
28723 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
28724
28725         * Makeconfig (run-program-prefix): Fix comment.
28726
28727 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
28728             Jim Blandy  <jimb@codesourcery.com>
28729
28730         * Makeconfig (test-wrapper): New variable,
28731         (test-wrapper-env): Likewise.
28732         [$(cross-compiling) = yes && $(test-wrapper) != ""]
28733         (run-built-tests): Define to yes.
28734         (run-program-prefix): Use $(test-wrapper).
28735         (built-program-cmd): Likewise.
28736         * Rules (make-test-out): Use $(test-wrapper-env) and
28737         $(host-built-program-cmd).
28738         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28739         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28740         tst-pathopt.sh.
28741         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28742         $(test-wrapper-env) to tst-rtld-load-self.sh.
28743         ($(objpfx)order2.out): Use $(test-wrapper).
28744         ($(objpfx)tst-initorder.out): Likewise.
28745         ($(objpfx)tst-initorder2.out): Likewise.
28746         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28747         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28748         (test_wrapper_env): New variable.  Use it to run ld.so.
28749         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28750         Use it to run ld.so.
28751         (test_wrapper_env): Likewise.
28752         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28753         $(test-wrapper) to run-iconv-test.sh.
28754         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28755         (ICONV): Use $test_wrapper.
28756         * posix/Makefile ($(objpfx)globtest.out): Pass
28757         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28758         globtest.sh, not $(run-program-prefix).
28759         * posix/globtest.sh (run_via_rtld_prefix): New variable.
28760         (test_wrapper): Likewise.
28761         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
28762         set together with run_via_rtld_prefix.
28763         (run_program_prefix): Define in terms of test_wrapper and
28764         run_via_rtld_prefix.
28765
28766 2012-10-24  Roland McGrath  <roland@hack.frob.com>
28767
28768         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28769         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28770         Targets removed.
28771
28772         [BZ #14743]
28773         * include/time.h: Remove librt_hidden_proto (clock_gettime).
28774         Declare __clock_getres, __clock_gettime, __clock_settime,
28775         __clock_nanosleep, and __clock_getcpuclockid.
28776         * rt/clock_gettime.c: Define __clock_gettime as an alias.
28777         Remove librt_hidden_def (clock_gettime).
28778         * sysdeps/unix/clock_gettime.c: Likewise.
28779         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28780         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28781         * rt/clock_getres.c: Define __clock_getres as an alias.
28782         * sysdeps/posix/clock_getres.c: Likewise.
28783         * rt/clock_settime.c: Define __clock_settime as an alias.
28784         * sysdeps/unix/clock_settime.c: Likewise.
28785         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28786         * sysdeps/unix/clock_nanosleep.c: Likewise.
28787         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28788         * rt/clock-compat.c: New file.
28789         * rt/Makefile (librt-routines): Add clock-compat and move
28790         $(clock-routines) to ...
28791         (routines): ... here, new variable.
28792         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28793         Don't add get_clockfreq here.
28794         * rt/Versions (libc: GLIBC_2.17): New version set.
28795         Add clock_* symbols here.
28796         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
28797         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28798         (GLIBC_2.17): Add clock_* symbols.
28799         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28800         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28801         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28803         Likewise.
28804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28805         Likewise.
28806         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28807         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28808         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28809         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28810         * NEWS: Mention the move.
28811
28812         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28813         Use __open, __read, __close rather than their public counterparts.
28814         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28815         (__get_clockfreq_via_cpuinfo): Likewise.
28816         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28817         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28818
28819         * config.h.in (HAVE_IFUNC): New #undef.
28820         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28821         was successful.
28822         * configure: Regenerated.
28823
28824 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
28825
28826         * configure.in: Move READELF check to start of file.
28827         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28828         libc_cv_asm_gnu_indirect_function in the process.
28829         * configure: Regenerated.
28830
28831 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
28832
28833         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28834         send the output to /dev/null.
28835         (libc_cv_cc_with_libunwind): Likewise.
28836         (libc_cv_as_noexecstack): Likewise.
28837         * configure: Regenerate.
28838
28839 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
28840
28841         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28842
28843         * posix/globtest.sh (TMPDIR): Do not set.
28844         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28845         (testout): Likewise.
28846
28847 2012-10-24  Andreas Jaeger  <aj@suse.de>
28848
28849         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28850         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28851         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28852         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28853         posix_fadvise64, posix_fallocate64.
28854
28855         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28856         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28857         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28858         Likewise.
28859         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28860         Likewise.
28861         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28862
28863         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28864         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28865         <bits/fcntl-linux.h>.
28866         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28867
28868         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28869         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28870         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28871         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28872         [__WORDSIZE != 64]: Likewise.
28873
28874 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
28875
28876         * Makeconfig (run-built-tests): New variable.
28877         * Rules [$(cross-compiling) = yes]: Change condition to
28878         [$(run-built-tests) = no].
28879         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28880         to [$(run-built-tests) = yes].
28881         * elf/Makefile [$(cross-compiling) = no]: Likewise
28882         * grp/Makefile [$(cross-compiling) = no]: Likewise.
28883         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28884         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28885         * intl/Makefile [$(cross-compiling) = no]: Likewise.
28886         * io/Makefile [$(cross-compiling) = no]: Likewise.
28887         * libio/Makefile [$(cross-compiling) = no]: Likewise.
28888         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28889         * misc/Makefile [$(cross-compiling) = no]: Likewise.
28890         * posix/Makefile [$(cross-compiling) = no]: Likewise.
28891         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28892         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28893         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28894         * string/Makefile [$(cross-compiling) = no]: Likewise.
28895
28896         * posix/Makefile ($(objpfx)globtest.out): Pass
28897         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28898         $(rtld-installed-name).
28899         * posix/globtest.sh (elf_objpfx): Remove variable.
28900         (rtld_installed_name): Likewise.
28901         (library_path): Likewise.
28902         (run_program_prefix): New variable.  Use for running globtest
28903         binary.
28904
28905 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
28906             Joseph Myers  <joseph@codesourcery.com>
28907
28908         * Makeconfig (host-built-program-cmd): New variable.
28909         * elf/Makefile (tst-stackguard1-ARGS): Use
28910         $(host-built-program-cmd).
28911         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28912         (tst-spawn-ARGS): Likewise.
28913         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28914
28915 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
28916             Jim Blandy  <jimb@codesourcery.com>
28917
28918         * Makeconfig (run-via-rtld-prefix): New variable.
28919         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28920         (built-program-cmd): Likewise.
28921
28922 2012-10-22  Andreas Jaeger  <aj@suse.de>
28923
28924         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28925         __O_RSYNC if it exists, otherwise to O_SYNC.
28926
28927 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
28928             Joseph Myers  <joseph@codesourcery.com>
28929
28930         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28931         /dev/null.
28932         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28933         from /dev/null
28934         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28935         /dev/null.
28936
28937 2012-10-22  Andreas Jaeger  <aj@suse.de>
28938
28939         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28940         Define always.
28941         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28942
28943         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28944         bits/fcntl-linux.h.
28945
28946         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28947         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28948
28949         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28950         to __O_LARGEFILE.
28951         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28952         to __O_LARGEFILE.
28953
28954 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
28955             Joseph Myers  <joseph@codesourcery.com>
28956
28957         * config.make.in (NM): New variable.
28958
28959 2012-10-21  Andreas Jaeger  <aj@suse.de>
28960
28961         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28962         definitions and declarations that are provided by
28963         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28964
28965 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
28966
28967         [BZ #14683]
28968         * elf/Makefile (tests-static): Add tst-leaks1-static.
28969         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28970         ($(objpfx)tst-leaks1-static): New rule.
28971         ($(objpfx)tst-leaks1-static-mem): Likewise.
28972         (tst-leaks1-static-ENV): New macro.
28973         * elf/dl-open.c (dl_open_worker): Check the main application
28974         only if SHARED is defined.
28975         * elf/tst-leaks1-static.c: New file.
28976
28977 2012-10-20  Andreas Jaeger  <aj@suse.de>
28978
28979         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28980         generic values for Linux.
28981         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28982         and declarations that are provided by <bits/fcntl-linux.h> and
28983         include <bits/fcntl-linux.h>.
28984         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28985         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28986
28987 2012-10-20  Roland McGrath  <roland@hack.frob.com>
28988
28989         * io/fcntl.h: Move include of <bits/types.h> to the top and
28990         include it unconditionally.
28991
28992 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
28993
28994         * wcsmbs/Makefile (tests-ifunc): New variable.
28995         (tests): Add $(tests-ifunc).
28996         * wcsmbs/test-wcschr-ifunc.c: New file.
28997         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28998         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28999         * wcsmbs/test-wcslen-ifunc.c: Likewise.
29000         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29001         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29002
29003         * string/Makefile (tests-ifunc): New variable.
29004         (tests): Add $(tests-ifunc).
29005         * string/test-memccpy.c (TEST_NAME): New macro.
29006         * string/test-memchr.c (TEST_NAME): Likewise.
29007         * string/test-memcmp.c (TEST_NAME): Likewise.
29008         * string/test-memcpy.c (TEST_NAME): Likewise.
29009         * string/test-memmem.c (TEST_NAME): Likewise.
29010         * string/test-memmove.c (TEST_NAME): Likewise.
29011         * string/test-memset.c (TEST_NAME): Likewise.
29012         * string/test-rawmemchr.c (TEST_NAME): Likewise.
29013         * string/test-stpcpy.c (TEST_NAME): Likewise.
29014         * string/test-stpncpy.c (TEST_NAME): Likewise.
29015         * string/test-strcasecmp.c (TEST_NAME): Likewise.
29016         * string/test-strcasestr.c (TEST_NAME): Likewise.
29017         * string/test-strcat.c (TEST_NAME): Likewise.
29018         * string/test-strchr.c (TEST_NAME): Likewise.
29019         * string/test-strcmp.c(TEST_NAME): Likewise.
29020         * string/test-strcpy.c (TEST_NAME): Likewise.
29021         * string/test-strcspn.c (TEST_NAME): Likewise.
29022         * string/test-strlen.c (TEST_NAME): Likewise.
29023         * string/test-strncasecmp.c (TEST_NAME): Likewise.
29024         * string/test-strncmp.c (TEST_NAME): Likewise.
29025         * string/test-strncpy.c (TEST_NAME): Likewise.
29026         * string/test-strnlen.c (TEST_NAME): Likewise.
29027         * string/test-strpbrk.c (TEST_NAME): Likewise.
29028         * string/test-strrchr.c (TEST_NAME): Likewise.
29029         * string/test-strspn.c (TEST_NAME): Likewise.
29030         * string/test-strstr.c (TEST_NAME): Likewise.
29031         * string/test-bcopy-ifunc.c: New file.
29032         * string/test-bzero-ifunc.c: Likewise.
29033         * string/test-memccpy-ifunc.c: Likewise.
29034         * string/test-memchr-ifunc.c: Likewise.
29035         * string/test-memcmp-ifunc.c: Likewise.
29036         * string/test-memcpy-ifunc.c: Likewise.
29037         * string/test-memmem-ifunc.c: Likewise.
29038         * string/test-memmove-ifunc.c: Likewise.
29039         * string/test-mempcpy-ifunc.c: Likewise.
29040         * string/test-memset-ifunc.c: Likewise.
29041         * string/test-rawmemchr-ifunc.c: Likewise.
29042         * string/test-stpcpy-ifunc.c: Likewise.
29043         * string/test-stpncpy-ifunc.c: Likewise.
29044         * string/test-strcasecmp-ifunc.c: Likewise.
29045         * string/test-strcasestr-ifunc.c: Likewise.
29046         * string/test-strcat-ifunc.c: Likewise.
29047         * string/test-strchr-ifunc.c: Likewise.
29048         * string/test-strchrnul-ifunc.c: Likewise.
29049         * string/test-strcmp-ifunc.c: Likewise.
29050         * string/test-strcpy-ifunc.c: Likewise.
29051         * string/test-strcspn-ifunc.c: Likewise.
29052         * string/test-strlen-ifunc.c: Likewise.
29053         * string/test-strncasecmp-ifunc.c: Likewise.
29054         * string/test-strncat-ifunc.c: Likewise.
29055         * string/test-strncmp-ifunc.c: Likewise.
29056         * string/test-strncpy-ifunc.c: Likewise.
29057         * string/test-strnlen-ifunc.c: Likewise.
29058         * string/test-strpbrk-ifunc.c: Likewise.
29059         * string/test-strrchr-ifunc.c: Likewise.
29060         * string/test-strspn-ifunc.c: Likewise.
29061         * string/test-strstr-ifunc.c: Likewise.
29062
29063         * debug/Makefile (tests-ifunc): New variable.
29064         (tests): Add $(tests-ifunc).
29065         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29066         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29067         * debug/test-stpcpy_chk-ifunc.c: New file.
29068         * debug/test-strcpy_chk-ifunc.c: Likewise.
29069
29070 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29071
29072         [BZ #13601]
29073         * elf/dl-load.c (open_verify): Retry read if the entire ELF
29074         header is not read in.
29075
29076 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
29077
29078         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
29079         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
29080         directly.  Pass built executable to script as
29081         $(built-program-cmd).
29082         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
29083         $testprogram without using LD_LIBRARY_PATH and $ldso.
29084
29085         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29086         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29087         $(rtld-installed-name).
29088         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29089         (rtld_installed_name): Likewise.
29090         (library_path): Likewise.
29091         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
29092         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29093         $(run-program-prefix) to tst-tables.sh.
29094         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
29095         it to run tst-table-from and tst-table-to.
29096         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29097         Pass it to tst-table.sh.
29098         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29099         $(run-program-prefix) to tst-gettext.sh.
29100         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29101         tst-translit.sh.
29102         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29103         tst-gettext2.sh.
29104         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
29105         to run tst-gettext.
29106         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
29107         to run tst-gettext2.
29108         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
29109         to run tst-translit.
29110         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29111         $(run-program-prefix) to tst-mtrace.sh.
29112         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
29113         to run tst-mtrace.
29114         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29115         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29116         $(rtld-installed-name).
29117         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29118         (rtld_installed_name): Likewise.
29119         (run_program_prefix): New variable.  Use it to run wordexp-test.
29120
29121         * Makeconfig (ARCH): Remove all definitions.
29122         (machine): Likewise.
29123         [ARCH]: Remove conditional code.
29124         [!objdir]: Give error.
29125         [!objdir] (objpfx): Remove.
29126         [!objdir] (common-objpfx): Likewise.
29127         [!objdir] (common-objdir): Likewise.
29128         * configure.in (config_makefile): Remove.  Hardcode Makefile in
29129         AC_CONFIG_FILES call.
29130         * configure: Regenerated.
29131
29132         [BZ #13888]
29133         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29134         or TMPDIR.
29135         (testout): Likewise.
29136
29137         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29138         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29139         $(rtld-installed-name).
29140         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29141         (rtld_installed_name): Likwise.
29142         (runit): Remove function.
29143         (run_getconf): New variable,  Use it for running getconf binary.
29144
29145 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
29146
29147         [BZ #14716]
29148         * string/test-memmem.c (check_result): New function.
29149         (do_one_test): Use it.
29150         (check1): New function.
29151         (test_main): Use it.
29152
29153 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
29154
29155         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29156
29157 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
29158
29159         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29160         (_G_LSEEK64): Likewise.
29161         (_G_MMAP64): Likewise.
29162         (_G_FSTAT64): Likewise.
29163         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29164         (_G_LSEEK64): Likewise.
29165         (_G_MMAP64): Likewise.
29166         (_G_FSTAT64): Likewise.
29167         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29168         unconditional.  Call __mmap64 directly.
29169         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29170         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
29171         __lseek64 directly.
29172         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29173         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
29174         __mmap64 directly.
29175         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29176         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29177         __lseek64 directly.
29178         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29179         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29180         __lseek64 directly.
29181         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29182         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
29183         __lseek64 directly.
29184         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29185         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
29186         __fxstat64 directly.
29187         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29188         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29189         unconditional.
29190         (freopen64) [!_G_OPEN64]: Remove conditional code.
29191         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29192         unconditional.
29193         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29194         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29195         unconditional.
29196         (ftello64) [!_G_LSEEK64]: Remove conditional code.
29197         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29198         unconditional.
29199         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29200         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29201         unconditional.
29202         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29203         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29204         unconditional.
29205         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29206         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29207         unconditional.
29208         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29209         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29210         unconditional.
29211         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29212
29213 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29214
29215         [BZ #12140]
29216         * manual/memory.texi (Malloc Tunable Parameters): Add note
29217         about free list pointers overwriting some perturb bytes.
29218         Wording suggested by Roland McGrath.
29219
29220 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
29221
29222         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29223         (lgamma_test): Likewise.
29224         (tgamma_test): Likewise.
29225
29226 2012-10-16  Florian Weimer  <fweimer@redhat.com>
29227
29228         [BZ #14700]
29229         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29230         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29231
29232 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
29233
29234         * NEWS: Mention BZ #14716.
29235         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29236         when removing AVAILABLE1_USES_J macro.
29237
29238 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
29239
29240         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29241         (__bswap_64): __uint64_t for unsigned 64-bit int.
29242
29243 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
29244
29245         * include/string.h (memmem): Declare libc hidden alias.
29246         * string/memmem.c (memmem): Define libc hidden alias.
29247         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29248         __read, __close instead of open, read, close.
29249
29250 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
29251
29252         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29253         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29254         global and hidden.
29255         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29256         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29257         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29258         Likewise.
29259         (__rawmemchr_sse2): Likewise.
29260         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29261         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29262         (__strchr_sse2): Likewise.
29263         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29264         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29265         (__strcasecmp_sse2): Likewise.
29266         (__strncasecmp_sse2): Likewise.
29267         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29268         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29269         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29270         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29271         (__strrchr_sse2): Likewise.
29272         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29273         ifunc-impl-list.c.
29274         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29275         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29276         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29277         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29278         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29279         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29280         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29281         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29282         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29283         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29284         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29285         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29286         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29287         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29288         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29289         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29290         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29291         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29292         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29293         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29294         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29295         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29296         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29297         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29298         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29299         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29300         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29301         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29302         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29303         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29304
29305         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29306         global and hidden.
29307         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29308         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29309         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29310         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29311         Likewise.
29312         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29313         Likewise.
29314         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29315         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29316         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29317         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29318         ifunc-impl-list.c.
29319         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29320         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29321         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29322         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29323         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29324         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29325         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29326         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29327         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29328         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29329         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29330         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29331         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29332         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29333         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29334         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29335         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29336         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29337         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29338         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29339         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29340         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29341         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29342         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29343         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29344         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29345         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29346         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29347         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29348         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29349         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29350         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29351         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29352         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29353         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29354         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29355         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29356         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29357         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29358         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29359         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29360
29361         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29362         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29363         * include/ifunc-impl-list.h: New file.
29364         * misc/ifunc-impl-list.c: Likewise.
29365         * misc/Makefile (routines): Add ifunc-impl-list.
29366         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29367         * string/test-string.h: Include <ifunc-impl-list.h>.
29368         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29369         TEST_NAME]: New variables.
29370         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29371         are defined.
29372         (test_init): Call __libc_ifunc_impl_list to initialize
29373         func_list if TEST_IFUNC and TEST_NAME are defined.
29374
29375         * string/Makefile (strop-tests): Add bcopy and bzero.
29376         * string/test-bcopy.c: New file.
29377         * string/test-bzero.c: Likewise.
29378         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29379         defined.
29380         * string/test-memset.c: Support bzero test if TEST_BZERO is
29381         defined.
29382         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29383         __libc_memmove.
29384         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29385         __libc_memset.
29386         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29387         of memset.
29388
29389 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
29390
29391         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29392         * configure: Regenerated.
29393
29394         * Makeconfig (+link-static-before-libc): Don't include
29395         $(link-static-libc).
29396
29397         * libio/libio.h (_IO_pos_t): Remove.
29398
29399 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29400
29401         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
29402         McGrath.
29403
29404 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29405
29406         * crypt/crypt-entry.c: Include fips-private.h.
29407         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29408         * crypt/md5c-test.c (main): Tolerate disabled MD5.
29409         * sysdeps/unix/sysv/linux/fips-private.h: New file.
29410         * sysdeps/generic/fips-private.h: New file, dummy fallback.
29411
29412 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29413
29414         * crypt/crypt-private.h: Include stdbool.h.
29415         (_ufc_setup_salt_r): Return bool.
29416         * crypt/crypt-entry.c: Include errno.h.
29417         (__crypt_r): Return NULL with EINVAL for bad salt.
29418         * crypt/crypt_util.c (bad_for_salt): New.
29419         (_ufc_setup_salt_r): Check that salt is long enough and within
29420         the specified alphabet.
29421         * crypt/badsalttest.c: New file.
29422         * crypt/Makefile (tests): Add it.
29423         ($(objpfx)badsalttest): New.
29424
29425 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
29426
29427         * NEWS: Add entry for BZ #14602.
29428
29429 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
29430
29431         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29432         type-generic.
29433         * math/libm-test.inc: Update comment listing what functions and
29434         macros are tested.
29435         (isgreater_test): New function.
29436         (isgreaterequal_test): Likewise.
29437         (isless_test): Likewise.
29438         (islessequal_test): Likewise.
29439         (islessgreater_test): Likewise.
29440         (isunordered_test): Likewise.
29441         (main): Call the new functions.
29442
29443 2012-10-09  Roland McGrath  <roland@hack.frob.com>
29444
29445         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29446         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29447         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29448         * sysdeps/i386/configure: Regenerated.
29449         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29450         * sysdeps/mach/configure: Regenerated.
29451         * sysdeps/mach/hurd/configure: Regenerated.
29452         * sysdeps/powerpc/configure: Regenerated.
29453         * sysdeps/powerpc/powerpc32/configure: Regenerated.
29454         * sysdeps/powerpc/powerpc64/configure: Regenerated.
29455         * sysdeps/s390/s390-32/configure: Regenerated.
29456         * sysdeps/s390/s390-64/configure: Regenerated.
29457         * sysdeps/sh/configure: Regenerated.
29458         * sysdeps/sparc/configure: Regenerated.
29459         * sysdeps/unix/sysv/linux/configure: Regenerated.
29460         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29461         * sysdeps/x86_64/configure: Regenerated.
29462
29463         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29464         defined.  Don't check if MAP is NULL.
29465
29466 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
29467
29468         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29469         (_G_stat64): Likewise.
29470         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29471         (_G_stat64): Likewise.
29472         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29473         instead of struct _G_stat64.
29474         * libio/fileops.c (mmap_remap_check): Likewise.
29475         (decide_maybe_mmap): Likewise.
29476         (_IO_new_file_seekoff): Likewise.
29477         (_IO_file_stat): Likewise.
29478         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29479         _G_off64_t.
29480         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29481         instead of struct _G_stat64.
29482         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29483
29484 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
29485
29486         [BZ #14602]
29487         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29488         Replace with ...
29489         (CHECK_EOL): New macro.
29490         (two_way_short_needle): Check beginning of haystack for EOL.  Use
29491         CHECK_EOL.
29492         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29493         Replace with CHECK_EOL.
29494         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29495         Replace with CHECK_EOL.
29496
29497 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
29498
29499         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29500         type-generic.
29501         * math/libm-test.inc: Update comment listing what functions and
29502         macros are tested.
29503         (finite_test): New function.
29504         (isinf_test): Likewise.
29505         (isnan_test): Likewise.
29506         (fpclassify_test): Test subnormal input.
29507         (isfinite_test): Likewise.
29508         (isnormal_test): Likewise.
29509         (main): Call the new functions.
29510
29511 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
29512
29513         [BZ #14660]
29514         * Makerules (%.dynsym): Force C locale when running
29515         $(OBJDUMP) --dynamic-syms.
29516
29517 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
29518
29519         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29520         <stdint.h>.
29521
29522 2012-10-06  David S. Miller  <davem@davemloft.net>
29523
29524         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29525         upper 32-bits of the length value in %o2 since we use branch-on-register
29526         tests which consider the entire 64-bit register.
29527
29528 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
29529
29530         * string/test-strstr.c (check2): Add a test for page boundary.
29531
29532 2012-10-05  David S. Miller  <davem@davemloft.net>
29533
29534         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29535         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29536         file.
29537         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29538         sysdep_routines.
29539         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29540         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29541         and bzero when HWCAP_SPARC_CRYPTO is present.
29542
29543 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
29544
29545         [BZ #14602]
29546         * string/test-strstr.c (check2): New function.
29547         (test_main): Call check2.
29548
29549         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29550         and bug-strchr1.
29551         * string/bug-strcasestr1.c (do_test): Moved to ...
29552         * string/test-strcasestr.c (check1): Here.  New function.
29553         (do_one_test): Break out result checking code into ...
29554         (check_result): This.  New function.
29555         (do_one_test): Call check_result.
29556         (test_main): Call check1.
29557         * string/bug-strchr1.c (do_test): Moved to ...
29558         * string/test-strchr.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-strstr1.c (main): Moved to ...
29564         * string/test-strstr.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-strcasestr1.c: Removed.
29570         * string/bug-strchr1.c: Likewise.
29571         * string/bug-strstr1.c: Likewise.
29572
29573         * elf/Makefile (dl-routines): Add hwcaps.
29574         * elf/dl-support.c (_dl_important_hwcaps): Removed.
29575         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29576         (_dl_important_hwcaps): Moved to ...
29577         * elf/dl-hwcaps.c: Here.  New file.
29578         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29579
29580         [BZ #14557]
29581         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29582         if IS_IN_rtld isn't defined.
29583
29584         * elf/dl-support.c (_dl_sysinfo_map): New.
29585         Include "get-dynamic-info.h" and "setup-vdso.h".
29586         (_dl_non_dynamic_init): Call setup_vdso.
29587         * elf/dynamic-link.h: Don't include <assert.h>.
29588         (elf_get_dynamic_info): Moved to ...
29589         * elf/get-dynamic-info.h: Here.  New file.
29590         * elf/dynamic-link.h: Include "get-dynamic-info.h".
29591         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29592         * elf/setup-vdso.h: Here.  New file.
29593         * elf/rtld.c: Include "setup-vdso.h".
29594         (dl_main): Call setup_vdso.
29595
29596 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
29597
29598         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29599         creal in comment listing functions tested.  List finite, isinf,
29600         isnan, isless, islessequal, isgreater, isgreaterequal,
29601         islessgreater, isunordered, lgamma_r and pow10 as functions and
29602         macros not tested.  Mention which functions not tested are aliases
29603         for other functions.  Fix typo.  Note that signs of NaNs are not
29604         tested.
29605
29606         * scripts/config.guess: Update from config.git.
29607         * scripts/config.sub: Likewise.
29608
29609 2012-10-04  Roland McGrath  <roland@hack.frob.com>
29610
29611         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29612         * misc/madvise.c (madvise): Renamed to __madvise.
29613         Make madvise a weak alias.
29614         * include/sys/mman.h: Declare __madvise.
29615         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29616         * sysdeps/unix/syscalls.list
29617         (madvise): Make __madvise the strong name, and madvise a weak alias.
29618         * sysdeps/unix/sysv/linux/syscalls.list
29619         (madvise, mmap): Remove redundant entries.
29620         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29621         * malloc/malloc.c (mtrim): Likewise.
29622         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29623
29624 2012-10-03  Roland McGrath  <roland@hack.frob.com>
29625
29626         * sysdeps/mach/hurd/dl-cache.c: File removed.
29627         * config.h.in (USE_LDCONFIG): New #undef.
29628         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29629         * configure: Regenerated.
29630         * elf/Makefile (dl-routines): Add dl-cache only under
29631         [$(use-ldconfig) = yes].
29632         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29633         cache on [USE_LDCONFIG].
29634         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29635         [USE_LDCONFIG].
29636         * elf/rtld.c (dl_main): Likewise.
29637
29638 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
29639
29640         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29641         _SC_LEVEL4_CACHE_LINESIZE.
29642
29643 2012-10-03  Roland McGrath  <roland@hack.frob.com>
29644
29645         * sysdeps/unix/bsd/confstr.h: File removed.
29646
29647 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
29648
29649         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29650         sys/sdt-config.h.
29651
29652 2012-10-02  Roland McGrath  <roland@hack.frob.com>
29653
29654         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29655         Make 'mapoff' field ElfW(Off) rather than off_t.
29656
29657 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
29658
29659         * nscd/Makefile: Remove nscd-cflags and all its users.
29660         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29661         (CFLAGS-nonlib): Add compiler flags for nscd modules.
29662
29663         [BZ #10631]
29664         * malloc.c (malloc_printerr): Clarify error message.
29665
29666 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
29667
29668         [BZ #14648]
29669         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29670         Set bit_FMA_Usable if FMA is supported.
29671         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29672         macro.
29673         (bit_FMA4_Usable): Updated.
29674         (index_FMA_Usable): New macro.
29675         (CPUID_FMA): Likewise
29676         (HAS_FMA): Defined with bit_FMA_Usable.
29677
29678 2012-10-01  Roland McGrath  <roland@hack.frob.com>
29679
29680         * bits/types.h (__swblk_t): Type removed.
29681         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29682         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29683         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29684         (__SWBLK_T_TYPE): Likewise.
29685         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29686         (__SWBLK_T_TYPE): Likewise.
29687         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29688         (__SWBLK_T_TYPE): Likewise.
29689         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29690         (__SWBLK_T_TYPE): Likewise.
29691
29692 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
29693             Honza Horak <hhorak@redhat.com>
29694
29695         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29696         (xdr_mapname): Use YPMAXMAP as maxsize.
29697         (xdr_peername): Use YPMAXPEER as maxsize.
29698         (xdr_keydat): Use YPAXRECORD as maxsize.
29699         (xdr_valdat): Use YPMAXRECORD as maxsize.
29700
29701 2012-10-01  Roland McGrath  <roland@hack.frob.com>
29702
29703         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29704
29705         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29706         * csu/init-first.c: ... here.
29707         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29708         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29709         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29710         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29711         * sysdeps/i386/init-first.c: File removed.
29712         * sysdeps/sh/init-first.c: File removed.
29713
29714 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
29715
29716         [BZ #14645]
29717         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29718         if x * y might underflow to zero and z is zero.
29719         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29720         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29721         * math/libm-test.inc (min_subnorm_value): New variable.
29722         (fma_test): Add more tests.
29723         (fma_test_towardzero): Likewise.
29724         (fma_test_downward): Likewise
29725         (fma_test_upward): Likewise.
29726         (initialize): Set min_subnorm_value.
29727
29728 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
29729
29730         [BZ #14638]
29731         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29732         0 + 0.
29733         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29734         mode for addition resulting in exact zero.
29735         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29736         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29737         exact 0 + 0.
29738         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29739         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29740         * math/libm-test.inc (fma_test): Add more tests.
29741         (fma_test_towardzero): New function.
29742         (fma_test_downward): Likewise.
29743         (fma_test_upward): Likewise.
29744         (main): Call the new functions.
29745
29746 2012-09-28  David S. Miller  <davem@davemloft.net>
29747
29748         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29749
29750 2012-09-28  Roland McGrath  <roland@hack.frob.com>
29751
29752         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29753         instead of SIGALRM.
29754
29755         * sysdeps/gnu/_G_config.h: Moved to ...
29756         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29757         * sysdeps/mach/hurd/_G_config.h: Moved to ...
29758         * sysdeps/generic/_G_config.h: ... here.
29759
29760         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
29761
29762         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29763
29764         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29765         Conditionalize target on [libnss_test1.so-version].
29766
29767         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29768
29769         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29770         (elfobjdir): Move out of conditionals.
29771
29772         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29773         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29774         (__nss_lookup_function): Conditionalize label remove_from_tree on
29775         [!DO_STATIC_NSS || SHARED], matching its only use.
29776
29777 2012-09-28  David S. Miller  <davem@davemloft.net>
29778
29779         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29780         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29781         file.
29782         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29783         sysdep_routines.
29784         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29785         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29786         when HWCAP_SPARC_CRYPTO is present.
29787
29788 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
29789
29790         * io/tst-mknodat.c: Create a FIFO instead of a socket.
29791
29792 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
29793
29794         [BZ #6530]
29795         * stdio-common/vfprintf.c (process_string_arg): Revert
29796         2000-07-22 change.
29797
29798 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
29799
29800         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29801         for testcase.
29802         * stdio-common/tst-sprintf.c: Include <locale.h>
29803         (main): Test sprintf's handling of incomplete multibyte
29804         characters.
29805
29806 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
29807
29808         * elf/dl-runtime.c (VERSYMIDX): Removed.
29809         * elf/dl-version.c (VERSYMIDX): Likewise.
29810         * elf/do-rel.h (VERSYMIDX): Likewise.
29811         (VALIDX): Likewise.
29812         * elf/dynamic-link.h (VERSYMIDX): Likewise.
29813         * elf/rtld.c (VALIDX): Likewise.
29814         (ADDRIDX): Likewise.
29815         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29816         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29817         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
29818         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29819         (VALIDX): Likewise.
29820         (ADDRIDX): Likewise.
29821
29822 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
29823
29824         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29825
29826 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
29827
29828         [BZ #11438]
29829         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29830         to global scope.
29831         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29832         addresses are in the same scope as 192.0.2/24.
29833         * posix/gai.conf: Document new scope table defaults.
29834
29835 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29836
29837         [BZ #5298]
29838         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29839         for ftell.  Compute offsets from write pointers instead.
29840         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29841
29842 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29843
29844         [BZ #14543]
29845         * libio/Makefile (tests): New test case tst-fseek.
29846         * libio/tst-fseek.c: New test case to verify that fseek/ftell
29847         combination works in wide mode.
29848         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29849         state when the external buffer state changes.
29850
29851 2012-09-27  David S. Miller  <davem@davemloft.net>
29852
29853         [BZ #14376]
29854         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29855         pass reloc->r_addend in as the 'high' argument to
29856         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29857
29858         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29859
29860 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
29861
29862         * rt/tst-aio2.c: Include <pthread.h>.
29863         * rt/tst-aio3.c: Likewise.
29864
29865 2012-09-27  Steve Ellcey  <sellcey@mips.com>
29866
29867         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29868
29869 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
29870
29871         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29872         contents on [SHARED].
29873
29874 2012-09-26  Marek Polacek  <polacek@redhat.com>
29875
29876         [BZ #14530]
29877         [BZ #13741]
29878         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29879         for C++ and GCC <4.3 as well as for non GCC compilers.
29880
29881 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
29882
29883         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29884
29885 2012-09-25  Roland McGrath  <roland@hack.frob.com>
29886
29887         * Makefile.in (all, install): Declare with .PHONY.
29888         Reported by Michael Hope <michael.hope@linaro.org>.
29889
29890 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29891
29892         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29893         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29894         system header.
29895         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29896         Likewise.
29897         (sydep_routines): Add the new and the internal functions.
29898         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29899         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29901         (GLIBC_2.17): Add the new function.
29902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29903         (GLIBC_2.17): Likewise.
29904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29905         (GLIBC_2.17): Likewise.
29906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29907         (GLIBC_2.17): Likewise.
29908         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29909
29910 2012-09-25  Alan Modra  <amodra@gmail.com>
29911
29912         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29913         Add release barrier before setting once_control to say
29914         initialisation is done.  Add hints on lwarx.  Use macro in
29915         place of isync.
29916         (clear_once_control): Add release barrier.
29917
29918 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
29919
29920         [BZ #13629]
29921         * math/s_clog.c (__clog): Handle more values close to |z| = 1
29922         specially.
29923         * math/s_clog10.c (__clog10): Likewise.
29924         * math/s_clog10f.c (__clog10f): Likewise.
29925         * math/s_clog10l.c (__clog10l): Likewise.
29926         * math/s_clogf.c (__clogf): Likewise.
29927         * math/s_clogl.c (__clogl): Likewise.
29928         * math/Makefile (libm-calls): Add x2y2m1.
29929         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29930         (__x2y2m1): Likewise.
29931         (__x2y2m1l): Likewise.
29932         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29933         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29934         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29935         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29936         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29937         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29938         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29939         * sysdeps/i386/fpu/libm-test-ulps: Update.
29940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29941
29942         [BZ #14621]
29943         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29944         int as type of variable DEPTH.
29945         (glob): Use size_t instead of int as type of variables NEWCOUNT
29946         and OLD_PATHC.
29947
29948 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29949
29950         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29951         Add s_sincosf-sse2.
29952         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29953         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29954         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29955         macros for using routine as __sincosf_ia32.
29956         Use macro for function declaration and weak_alias.
29957         * sysdeps/i386/fpu/libm-test-ulps: Update.
29958
29959         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29960         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29961
29962         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
29963         subnormal argument.
29964         * math/s_cexpf.c (__cexpf): Likewise.
29965         * math/s_csinf.c (__csinf): Likewise.
29966         * math/s_csinhf.c (__csinhf): Likewise.
29967         * math/s_ctanf.c (__ctanf): Likewise.
29968         * math/s_ctanhf.c (__ctanhf): Likewise.
29969         * math/s_ccosh.c (__ccoshf): Likewise.
29970         * math/s_cexp.c (__cexpl): Likewise.
29971         * math/s_csin.c (__csin): Likewise.
29972         * math/s_csinh.c (__csinh): Likewise.
29973         * math/s_ctan.c (__ctan): Likewise.
29974         * math/s_ctanh.c (ctanh): Likewise.
29975         * math/s_ccoshl.c (__ccoshl): Likewise.
29976         * math/s_cexpl.c (__cexpl): Likewise.
29977         * math/s_csinl.c (__csinl): Likewise.
29978         * math/s_csinhl.c (__csinhl): Likewise.
29979         * math/s_ctanl.c (__ctanl): Likewise.
29980         * math/s_ctanhl.c (__ctanhl): Likewise.
29981
29982 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
29983
29984         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29985         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29986         (_IO_off_t): Define to __off_t, not _G_off_t.
29987         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29988         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29989         (_IO_wint_t): Define to wint_t, not _G_wint_t.
29990         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29991         type of __dummy and __dummy2 fields.
29992         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29993         (_G_ssize_t): Likewise.
29994         (_G_off_t): Likewise.
29995         (_G_pid_t): Likewise.
29996         (_G_uid_t): Likewise.
29997         (_G_wchar_t): Likewise.
29998         (_G_wint_t): Likewise.
29999         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30000         (_G_ssize_t): Likewise.
30001         (_G_off_t): Likewise.
30002         (_G_pid_t): Likewise.
30003         (_G_uid_t): Likewise.
30004         (_G_wchar_t): Likewise.
30005         (_G_wint_t): Likewise.
30006         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30007         (_G_ssize_t): Likewise.
30008         (_G_off_t): Likewise.
30009         (_G_pid_t): Likewise.
30010         (_G_uid_t): Likewise.
30011         (_G_wchar_t): Likewise.
30012         (_G_wint_t): Likewise.
30013
30014 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30015
30016         * malloc/arena.c: Include malloc-sysdep.h.
30017         (shrink_heap): Use check_may_shrink_heap to decide if madvise
30018         is sufficient to shrink the heap or an unmap is needed.
30019         * sysdeps/generic/malloc-sysdep.h: New file.  Define
30020         new function check_may_shrink_heap.
30021         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
30022         new function check_may_shrink_heap.
30023
30024 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30025
30026         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30027         comments.
30028
30029 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
30030
30031         * catgets/test-gencat.sh: Add "set -e".
30032         * elf/tst-pathopt.sh: Likewise.
30033         * grp/tst_fgetgrent.sh: Likewise.
30034         * iconvdata/run-iconv-test.sh: Likewise.
30035         * intl/tst-gettext.sh: Likewise.
30036         * intl/tst-gettext2.sh: Likewise.
30037         * intl/tst-gettext4.sh: Likewise.
30038         * intl/tst-gettext6.sh: Likewise.
30039         * intl/tst-translit.sh: Likewise.
30040         * io/ftwtest-sh: Likewise.
30041         * libio/test-freopen.sh: Likewise.
30042         * malloc/tst-mtrace.sh: Likewise.
30043         * posix/globtest.sh: Likewise.
30044         * posix/tst-getconf.sh: Likewise.
30045         * posix/wordexp-tst.sh: Likewise.
30046         * stdio-common/tst-printf.sh: Likewise.
30047         * stdio-common/tst-unbputc.sh: Likewise.
30048         * stdlib/tst-fmtmsg.sh: Likewise.
30049         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30050         * catgets/Makefile: Do not specify -e option when running
30051         testsuite shell scripts.
30052         * elf/Makefile: Likewise.
30053         * grp/Makefile: Likewise.
30054         * iconvdata/Makefile: Likewise.
30055         * intl/Makefile: Likewise.
30056         * io/Makefile: Likewise.
30057         * libio/Makefile: Likewise.
30058         * malloc/Makefile: Likewise.
30059         * posix/Makefile: Likewise.
30060         * stdio-common/Makefile: Likewise.
30061         * stdlib/Makefile: Likewise.
30062         * sysdeps/x86_64/Makefile: Likewise.
30063
30064         * io/ftwtest-sh: Add copyright header.
30065         * posix/globtest.sh: Likewise.
30066         * posix/tst-getconf.sh: Likewise.
30067         * posix/wordexp-tst.sh: Likewise.
30068         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30069
30070 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
30071
30072         [BZ #13679]
30073         * Makeconfig (+link): Defined as $(+link-static) if
30074         $(build-shared) isn't yes.
30075         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30076         isn't yes.
30077         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30078
30079         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30080
30081         [BZ #14562]
30082         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30083         new chunk size with MALLOC_ALIGN_MASK.
30084
30085 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
30086
30087         [BZ #5044]
30088         * stdio-common/printf_fphex.c: Include <stdbool.h> and
30089         <rounding-mode.h>.
30090         (__printf_fphex): Determine rounding using get_rounding_mode and
30091         round_away.
30092         * stdio-common/tst-printf-round.c (struct hex_test): New
30093         structure.
30094         (hex_tests): New variable.
30095         (test_hex_in_one_mode): New function.
30096         (do_test): Also run tests for hex float output.
30097
30098 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
30099
30100         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30101         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30102         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30103         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30104         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30105         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30106         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30107         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30108
30109 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
30110
30111         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30112         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30113         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30114         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30115
30116 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
30117
30118         [BZ #14579]
30119         * elf/rtld.c (dl_main): Limit the check for self loading to normal
30120         mode only.
30121         * elf/tst-rtld-load-self.sh: New test.
30122         * elf/Makefile: Run it.
30123
30124 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
30125
30126         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30127         (tst-writev-ENV): Remove.
30128         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30129
30130 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
30131
30132         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30133
30134 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
30135
30136         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30137         unconditional.
30138         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30139         Likewise.
30140         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30141         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30142         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30143         Likewise.
30144
30145 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
30146
30147         [BZ #14587]
30148         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30149         * config.make.in (have-cpp-asm-debuginfo): Removed.
30150         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30151         * configure: Regenerated.
30152
30153 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
30154
30155         [BZ #5044]
30156         * stdio-common/printf_fp.c: Include <stdbool.h> and
30157         <rounding-mode.h>.
30158         (___printf_fp): Determine rounding using get_rounding_mode and
30159         round_away.
30160         * stdio-common/tst-printf-round.c: New file.
30161         * stdio-common/Makefile (tests): Add tst-printf-round.
30162         (link-libm): New variable.
30163         ($(objpfx)tst-printf-round): Depend in $(link-libm).
30164
30165 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
30166
30167         [BZ #14576]
30168         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30169         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30170         Likewise.
30171         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30172         Likewise.
30173
30174 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
30175
30176         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30177         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30178         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30179         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30180
30181 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
30182
30183         [BZ #14518]
30184         * include/rounding-mode.h: New file.
30185         * sysdeps/generic/get-rounding-mode.h: Likewise.
30186         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30187         * stdlib/strtod_l.c: Include <rounding-mode.h>.
30188         (MAX_VALUE): New macro.
30189         (MIN_VALUE): Likewise.
30190         (overflow_value): New function.
30191         (underflow_value): Likewise.
30192         (round_and_return): Use overflow_value and underflow_value to
30193         determine return values in overflow and underflow cases.  Use
30194         round_away to determine rounding depending on rounding mode.
30195         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30196         determine return values in overflow and underflow cases.
30197         * stdlib/tst-strtod-round.c: Include <fenv.h>.
30198         (struct test_results): New structure.
30199         (struct test): Use struct test_results to store expected results
30200         for all rounding modes.
30201         (TEST): Include expected results for all rounding modes.
30202         (test_in_one_mode): New function.
30203         (do_test): Use test_in_one_mode to compute and check results.
30204         Check results for all rounding modes.
30205         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30206         $(link-libm).
30207
30208 2012-12-09  Allan McRae  <allan@archlinux.org>
30209
30210         * sysdeps/i386/fpu/libm-test-ulps: Update
30211
30212 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
30213
30214         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30215         (_G_int32_t): Likewise.
30216         (_G_uint16_t): Likewise.
30217         (_G_uint32_t): Likewise.
30218         (_G_HAVE_BOOL): Likewise.
30219         (_G_HAVE_ATEXIT): Likewise.
30220         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30221         (_G_HAVE_IO_FILE_OPEN): Likewise.
30222         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30223         (_G_int32_t): Likewise.
30224         (_G_uint16_t): Likewise.
30225         (_G_uint32_t): Likewise.
30226         (_G_HAVE_BOOL): Likewise.
30227         (_G_HAVE_ATEXIT): Likewise.
30228         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30229         (_G_HAVE_IO_FILE_OPEN): Likewise.
30230         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30231         (_G_int32_t): Likewise.
30232         (_G_uint16_t): Likewise.
30233         (_G_uint32_t): Likewise.
30234         (_G_HAVE_BOOL): Likewise.
30235         (_G_HAVE_ATEXIT): Likewise.
30236         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30237         (_G_HAVE_IO_FILE_OPEN): Likewise.
30238
30239 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
30240
30241         * csu/libc-tls.c: Update copyright years.
30242
30243 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
30244
30245         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30246         [!_G_USING_THUNKS]: Remove conditional code.
30247         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30248         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30249
30250         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30251         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30252         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30253         (_G_VTABLE_LABEL_PREFIX): Likewise.
30254         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30255         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30256         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30257         (_G_VTABLE_LABEL_PREFIX): Likewise.
30258         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30259         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30260         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30261         (_G_VTABLE_LABEL_PREFIX): Likewise.
30262         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30263
30264 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
30265
30266         * libio/Makefile: Include ../Makeconfig before tests.
30267         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30268         only if $(build-shared) is yes.
30269
30270         * iconv/gconv_db.c: Update copyright years.
30271
30272 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30273
30274         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30275         unwind info if defined PIC. Fix special cases description.
30276         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30277
30278         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30279         DP_HI_MASK entry.
30280         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30281
30282 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
30283
30284         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30285
30286         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30287         is NULL.
30288
30289         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30290         (LDLIBS-tst-chk4): This.
30291         (LDFLAGS-tst-chk5): Renamed to ...
30292         (LDLIBS-tst-chk5): This.
30293         (LDFLAGS-tst-chk6): Renamed to ...
30294         (LDLIBS-tst-chk6): This.
30295         (LDFLAGS-tst-lfschk4): Renamed to ...
30296         (LDLIBS-tst-lfschk4): This.
30297         (LDFLAGS-tst-lfschk5): Renamed to ...
30298         (LDLIBS-tst-lfschk5): This.
30299         (LDFLAGS-tst-lfschk6): Renamed to ...
30300         (LDLIBS-tst-lfschk6): This.
30301
30302         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30303         on $(common-objpfx)soversions.mk.
30304
30305 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
30306
30307         [BZ #10014]
30308         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30309         example host name.
30310
30311 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30312
30313         * malloc/arena.c (arena_get_retry): New function that gets
30314         another arena for the caller to try its request on.
30315         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30316         current arena cannot fulfill the request.
30317         (__libc_memalign): Likewise.
30318         (__libc_memalign): Likewise.
30319         (__libc_pvalloc): Likewise.
30320         (__libc_calloc): Likewise.
30321
30322 2012-09-05  John Tobey  <john.tobey@gmail.com>
30323
30324         [BZ #13542]
30325         * manual/arith.texi (Operations on Complex): Fix description
30326         of carg branch cut.
30327
30328 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30329
30330         [BZ #10014]
30331         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30332         host name.
30333
30334         [BZ #10038]
30335         * manual/memory.texi (Memory): Make order of menu items match
30336         order of sections.
30337
30338 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30339
30340         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30341         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
30342         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30343
30344 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30345
30346         * csu/libc-tls.c (static_dtv): Renamed to ...
30347         (_dl_static_dtv): This.  Make it global.
30348         (_dl_initial_dtv): Removed.
30349         (__libc_setup_tls): Updated.
30350         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30351         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30352         DL_INITIAL_DTV.
30353
30354 2012-09-06  Petr Machata  <pmachata@redhat.com>
30355
30356         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30357         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30358         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30359         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30360
30361 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30362
30363         [BZ #14545]
30364         * csu/libc-tls.c (_dl_initial_dtv): New variable.
30365         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30366         freeing dtv[-1].
30367
30368 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30369
30370         [BZ #14544]
30371         * Makeconfig (link-static-before-libc): Replace $(+prector)
30372         with $(+prectorT).
30373         (link-static-after-libc): Replace $(+postctor) with
30374         $(+postctorT).
30375         (link-bounded): Replace $(+prector)/$(+postctor) with
30376         $(+prectorT)/$(+postctorT).
30377         (+prectorT): New macro.
30378         (+postctorT): Likewise.
30379
30380 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30381
30382         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30383         (round_str): Handle values above the maximum for IBM long double
30384         as inexact.
30385         * stdlib/tst-strtod-round.c (tests): Regenerated.
30386
30387 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30388
30389         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30390         assembler flag.
30391         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30392         zarch_nohighgprs around the zarch optimized routines.
30393         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30394         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30395         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30396         for zarch.
30397
30398 2012-09-05  David S. Miller  <davem@davemloft.net>
30399
30400         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30401
30402         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30403         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30404         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30405         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30406         entries.
30407
30408 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30409
30410         * malloc/arena.c: Fold copyright years.
30411         * malloc/mcheck.c, malloc/memusage.c: Likewise.
30412
30413 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30414
30415         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30416
30417 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30418
30419         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
30420
30421 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30422
30423         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30424         change internal state upon failure.
30425
30426 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30427
30428         * malloc/mcheck.c (mcheck_check_all): Fix typo.
30429         * malloc/memusage.c (mmap): Likewise.
30430         (mmap64, mremap): Likewise.  Adjust name in comment.
30431
30432 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30433
30434         * libio/fileops.c: Fix typos in comments.
30435         * libio/oldfileops.c: Likewise.
30436         * libio/wfileops.c: Likewise.
30437
30438 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30439
30440         [BZ #1349]
30441         * malloc/Makefile (tests): Add tst-malloc-usable test case.
30442         (tst-malloc-usable-ENV): Set environment for test case.
30443         * malloc/hooks.c (malloc_check_get_size): New function to get
30444         requested size.
30445         * malloc/malloc.c (musable): Use malloc_check_get_size.
30446         * malloc/tst-malloc-usable.c: New test case.
30447
30448 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30449
30450         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30451
30452 2012-09-05  Allan McRae  <allan@archlinux.org>
30453
30454         [BZ #13966]
30455         * configure.in (CXX_SYSINCLUDES): Use compiler output to
30456         determine header location.
30457         * configure: Regenerated.
30458
30459 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30460
30461         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30462         float format.
30463         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30464         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30465         format.
30466         (test): Regenerate.
30467
30468 2012-09-04  David S. Miller  <davem@davemloft.net>
30469
30470         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30471         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30472         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30473
30474 2012-09-04  Florian Weimer  <fweimer@redhat.com>
30475
30476         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30477         failures.
30478
30479         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30480
30481 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
30482
30483         [BZ #9914]
30484         * libio/iogetdelim.c: Include <limits.h>.
30485         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30486         + len + 1 would overflow.
30487
30488 2012-09-03  Andreas Jaeger  <aj@suse.de>
30489
30490         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30491         * sysdeps/i386/fpu/libm-test-ulps: Update.
30492
30493 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30494
30495         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30496         Add s_sinf-sse2, s_conf-sse2.
30497
30498         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30499         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30500         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30501         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30502
30503         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30504         for using routine as __sinf_ia32.
30505         Use macro for function declaration and weak_alias.
30506         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30507         for using routine as __cosf_ia32.
30508         Use macro for function declaration and weak_alias.
30509
30510         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30511         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30512
30513         * sysdeps/x86_64/fpu/s_sinf.S: New file.
30514         * sysdeps/x86_64/fpu/s_cosf.S: New file.
30515         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30516
30517         * math/libm-test.inc (cos_test): Add more test cases.
30518         (sin_test): Likewise.
30519         (sincos_test): Likewise.
30520
30521 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30522
30523         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30524         (IFUNC_RESOLVE): Make pointers to the specialized implementations
30525         hidden.
30526         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30527
30528 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
30529
30530         [BZ #14538]
30531         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30532         first element of the GOT.
30533         (elf_machine_load_address): Return the difference between
30534         the runtime address of _DYNAMIC and elf_machine_dynamic ().
30535
30536 2012-09-01  Allan McRae  <allan@archlinux.org>
30537
30538         [BZ #13412]
30539         * configure.in (AWK): Require gawk version 3.0 or later.
30540         * configure: Regenerated.
30541
30542 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
30543
30544         * sysdeps/unix/sysv/linux/kernel-features.h
30545         (__ASSUME_POSIX_CPU_TIMERS): Remove.
30546         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30547         [__NR_clock_getres]: Make code unconditional.
30548         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30549         (clock_getcpuclockid): Remove code left unreachable by removal of
30550         conditionals.
30551         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30552         code unconditional.
30553         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30554         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30555         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30556         Make code unconditional.
30557         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30558         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30559         * sysdeps/unix/sysv/linux/clock_settime.c
30560         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30561         conditional code.
30562         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30563         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30564
30565 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
30566
30567         [BZ #14476]
30568         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30569         scripts/test-installation.pl.
30570
30571         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30572         and $ld_so_version if it is set.
30573
30574 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30575
30576         [BZ #14516]
30577         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30578         failure if reading from procfs failed.
30579         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30580
30581 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
30582
30583         * sysdeps/unix/sysv/linux/kernel-features.h
30584         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30585         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30586         Remove conditional code.
30587         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30588         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30589         Remove conditional code.
30590         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30591         * sysdeps/unix/sysv/linux/i386/fxstat.c
30592         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30593         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30594         * sysdeps/unix/sysv/linux/i386/fxstatat.c
30595         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30596         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30597         * sysdeps/unix/sysv/linux/i386/lxstat.c
30598         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30599         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30600         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30601         Remove conditional code.
30602         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30603         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30604         Remove conditional code.
30605         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30606         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30607         <kernel-features.h>.
30608         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30609         Remove.
30610         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30611         Remove conditional code.
30612         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30613         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30614         Remove conditional.
30615
30616 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
30617
30618         [BZ #5400]
30619         * NEWS: Add fixed bug number.
30620
30621 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
30622
30623         [BZ #14519]
30624         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30625         underflowing exponent in case of negative sign.
30626         * stdlib/tst-strtod-round-data: Add more tests.
30627         * stdlib/tst-strtod-round.c (tests): Regenerated.
30628
30629         [BZ #3479]
30630         * stdlib/strtod_l.c (NDIG): Remove.
30631         (HEXNDIG): Likewise.
30632         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30633         smallest representable value.
30634         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30635         lie within an exact representation of 1/2 ulp of the result.
30636         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30637         unconditionally.
30638         (TENS_P9_IDX): Define unconditionally.
30639         (TENS_P9_SIZE): Likewise.
30640         (TENS_P10_IDX): Likewise.
30641         (TENS_P10_SIZE): Likewise.
30642         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30643         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30644         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30645         entries for 10^2^13 and 10^2^14.
30646         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30647         (TENS_P13_IDX): Define.
30648         (TENS_P13_SIZE): Likewise.
30649         (TENS_P14_IDX): Likewise.
30650         (TENS_P14_SIZE): Likewise.
30651         (_fpioconst_pow10): Change array size to
30652         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
30653         unconditional.
30654         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30655         1024]: Add entries for 10^2^13 and 10^2^14.
30656         [LAST_POW10 > _LAST_POW10]: Remove #error.
30657         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30658         (_fpioconst_pow10): Change array size to
30659         FPIOCONST_POW10_ARRAY_SIZE.
30660         * stdlib/gen-fpioconst.c: New file.
30661         * stdlib/gen-tst-strtod-round.c: Likewise.
30662         * stdlib/tst-strtod-round-data: Likewise.
30663         * stdlib/tst-strtod-round.c: Likewise.
30664         * stdlib/Makefile (tests): Add tst-strtod-round.
30665
30666         [BZ #14459]
30667         * stdlib/strtod_l.c: Include <stdint.h>.
30668         (NDEBUG): Do not define.
30669         (round_and_return): Change EXPONENT parameter to type intmax_t.
30670         Rearrange calculations to avoid internal overflow possibilities.
30671         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30672         Rearrange calculations to avoid internal overflow possibilities.
30673         Assert that number fits inside MPNSIZE limbs.
30674         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30675         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
30676         calculations and add assertions to avoid internal overflow
30677         possibilities.  Add casts to avoid signed/unsigned operations.
30678         * stdlib/tst-strtod-overflow.c: New file.
30679         * stdlib/Makefile (tests): Add tst-strtod-overflow.
30680
30681 2012-08-25  Marek Polacek  <polacek@redhat.com>
30682
30683         * time/time.h: Fix some typos in comments.
30684
30685 2012-08-23  Roland McGrath  <roland@hack.frob.com>
30686
30687         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30688         * posix/tst-rfc3484-2.c: Likewise.
30689         * posix/tst-rfc3484-3.c: Likewise.
30690
30691 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
30692
30693         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30694         (EF_ARM_ABI_FLOAT_HARD): Likewise.
30695
30696 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
30697
30698         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30699         #include of fxstatat64.c.
30700
30701 2012-08-22  Roland McGrath  <roland@hack.frob.com>
30702
30703         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30704         * shadow/getspent_r.c: Likewise.
30705         * shadow/getspnam.c: Likewise.
30706         * shadow/getspnam_r.c: Likewise.
30707         * gshadow/getsgent.c: Likewise.
30708         * gshadow/getsgent_r.c: Likewise.
30709         * gshadow/getsgnam.c: Likewise.
30710         * gshadow/getsgnam_r.c: Likewise.
30711         * inet/getnetbyad.c: Likewise.
30712         * inet/getnetbyad_r.c: Likewise.
30713         * inet/getnetbynm.c: Likewise.
30714         * inet/getnetbynm_r.c: Likewise.
30715         * inet/getnetent.c: Likewise.
30716         * inet/getnetent_r.c: Likewise.
30717         * inet/getproto.c: Likewise.
30718         * inet/getproto_r.c: Likewise.
30719         * inet/getprtent.c: Likewise.
30720         * inet/getprtent_r.c: Likewise.
30721         * inet/getprtname.c: Likewise.
30722         * inet/getprtname_r.c: Likewise.
30723         * inet/getrpcbyname.c: Likewise.
30724         * inet/getrpcbyname_r.c: Likewise.
30725         * inet/getrpcbynumber.c: Likewise.
30726         * inet/getrpcbynumber_r.c: Likewise.
30727         * inet/getrpcent.c: Likewise.
30728         * inet/getrpcent_r.c: Likewise.
30729         * inet/getaliasent.c: Likewise.
30730         * inet/getaliasent_r.c: Likewise.
30731         * inet/getaliasname.c: Likewise.
30732         * inet/getaliasname_r.c: Likewise.
30733         * nscd/getgrgid_r.c: Likewise.
30734         * nscd/getgrnam_r.c: Likewise.
30735         * nscd/gethstbyad_r.c: Likewise.
30736         * nscd/gethstbynm3_r.c: Likewise.
30737         * nscd/getpwnam_r.c: Likewise.
30738         * nscd/getpwuid_r.c: Likewise.
30739         * nscd/getsrvbynm_r.c: Likewise.
30740         * nscd/getsrvbypt_r.c: Likewise.
30741         * nscd/gai.c: Likewise.
30742
30743         * configure.in (build_nscd): New substituted variable, set
30744         by --disable-build-nscd and defaults to $use_nscd.
30745         * configure: Regenerated.
30746         * config.make.in (build-nscd): New substituted variable.
30747         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30748         Change conditional to require [$(build-nscd) = yes] as well.
30749         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30750
30751         [BZ# 13696]
30752         * configure.in (use_nscd): New substituted variable, set by
30753         --disable-nscd.  If enabled, define USE_NSCD.
30754         * configure: Regenerated.
30755         * config.h.in: Add USE_NSCD.
30756         * config.make.in (use-nscd): New substituted variable.
30757         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30758         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30759         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30760         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30761         (CFLAGS-getgrnam_r.c): Likewise.
30762         (CFLAGS-initgroups.c): Likewise.
30763         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30764         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30765         Variables removed.
30766         * inet/getnetgrent_r.c
30767         (nscd_setnetgrent): New function, broken out of ...
30768         (setnetgrent): ... here.  Call it.
30769         (innetgr): Conditionalize nscd bits on [USE_NSCD].
30770         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30771         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30772         * nscd/Makefile (routines, aux): Move definitions after include of
30773         Makeconfig.  Conditionalize on [$(use-nscd) != no].
30774         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30775         Conditionalize on [USE_NSCD].
30776         (is_nscd, nscd_init_cb): Likewise.
30777         (nss_load_library): Conditionalize init callback on [USE_NSCD].
30778         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30779         * nss/nss_db/db-init.c: Likewise.
30780         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30781         [USE_NSCD].
30782         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30783         (make_request): Use it.
30784         (cache_valid_p): New function.
30785         (__check_pf): Use it.
30786         * NEWS: Add item for --disable-nscd.
30787
30788 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
30789
30790         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30791         to support sed >= 4.2.1-20-ga9bf076.
30792         * configure: Regenerated.
30793
30794 2012-08-22  Roland McGrath  <roland@hack.frob.com>
30795
30796         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30797         Conditionalize whole body on [IREL].
30798
30799 2012-08-22  Jeff Law <law@redhat.com>
30800
30801         [BZ #14505]
30802         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30803         if the family is PF_UNSPEC.
30804
30805 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
30806
30807         * Makerules (lib-version): Rename from V.
30808         (install-lib-nosubdir): Change V to lib-version.
30809
30810 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
30811
30812         [BZ #14252]
30813         * powerpc32/power6/wcschr.c: New file.
30814         * powerpc32/power6/wcscpy.c: New file.
30815         * powerpc32/power6/wcsrchr.c: New file.
30816         * powerpc64/power6/wcschr.c: New file.
30817         * powerpc64/power6/wcscpy.c: New file.
30818         * powerpc64/power6/wcsrchr.c: New file.
30819
30820 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
30821
30822         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30823         (two_way_short_needle): Use it.
30824         * string/strstr.c (AVAILABLE1_USES_J): Define.
30825         * string/strcasestr.c: Likewise.
30826
30827         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30828         array references.
30829         * string/strcasestr.c (TOLOWER): Make side-effect safe.
30830
30831         [BZ #11607]
30832         * NEWS: Add an entry.
30833         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30834         define their defaults.
30835         (two_way_short_needle): Detect end-of-string on-the-fly.
30836         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30837         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30838         * string/bug-strcasestr1.c: New test.
30839         * string/Makefile: Run it.
30840
30841 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
30842
30843         [BZ #11607]
30844         * string/str-two-way.h (two_way_short_needle): Optimize matching of
30845         the first character.
30846
30847 2012-08-21  Roland McGrath  <roland@hack.frob.com>
30848
30849         * csu/elf-init.c (__libc_csu_irel): Function removed.
30850         * csu/libc-start.c (apply_irel): New function.
30851         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30852
30853 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
30854
30855         * sysdeps/unix/sysv/linux/kernel-features.h
30856         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30857         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30858         <kernel-features.h>.
30859         [__NR_fadvise64_64]: Make code unconditional.
30860         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30861         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30862         !__NR_fadvise64_64)]: Likewise.
30863         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30864         !__NR_fadvise64_64))]: Likewise.
30865         [__NR_fadvise64]: Make code unconditional.
30866         [!__NR_fadvise64]: Remove conditional code.
30867         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30868         <kernel-features.h>.
30869         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30870         unconditional.
30871         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30872         conditional code.
30873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30874         not include <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/s390/s390-32/posix_fadvise64.c: Do not
30880         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
30886 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
30887
30888         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30889         slight instruction rearrangements per scrollpipe analysis.
30890         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30891
30892 2012-08-20  Roland McGrath  <roland@hack.frob.com>
30893
30894         * manual/syslog.texi (syslog; vsyslog, closelog):
30895         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30896         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30897
30898         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30899         DSOCAPS to match condition on defining it.
30900
30901 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
30902
30903         * sysdeps/unix/sysv/linux/kernel-features.h
30904         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30906         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30907         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30909         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30910         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30912         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30913         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30914
30915         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30916         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30917
30918         * sysdeps/unix/sysv/linux/kernel-features.h
30919         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30920         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30921         unconditional.
30922         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30923         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30924         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30925         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30926         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30927         Make code unconditional.
30928         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30929         (__mmap64) [!__NR_mmap2]: Likewise.
30930         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30931         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30932         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30933         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30934         [__NR_mmap2]: Make code unconditional.
30935         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30936         (__mmap64) [!__NR_mmap2]: Likewise.
30937
30938 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30939
30940         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30941
30942 2012-08-18  Andreas Jaeger  <aj@suse.de>
30943
30944         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30945
30946 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
30947
30948         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30949         * include/unistd.h (__have_sock_cloexec): Likewise.
30950         (__have_pipe2): Likewise.
30951         (__have_dup3): Likewise.
30952
30953 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
30954
30955         [BZ #9685]
30956         * include/unistd.h (__have_pipe2): Change define into an extern int.
30957         (__have_dup3): Likewise.
30958         * socket/have_sock_cloexec.c: Include fcntl.h.
30959         (__have_pipe2): New variable.
30960         (__have_dup3): Likewise.
30961
30962 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
30963
30964         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30965
30966 2012-08-17  Marek Polacek  <polacek@redhat.com>
30967
30968         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30969         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30970
30971 2012-08-17  Roland McGrath  <roland@hack.frob.com>
30972
30973         * configure.in: Add AC_SUBST for sysheaders.
30974         * configure: Regenerated.
30975         * config.make.in (sysheaders): New substituted variable.
30976
30977         * sysdeps/unix/mkfifo.c: Moved ...
30978         * sysdeps/posix/mkfifo.c: ... here.
30979         * sysdeps/unix/mkfifoat.c: Moved ...
30980         * sysdeps/posix/mkfifoat.c: ... here.
30981
30982         * sysdeps/unix/utime.c: Moved ...
30983         * sysdeps/posix/utime.c: ... here.
30984
30985         * sysdeps/unix/time.c: Moved ...
30986         * sysdeps/posix/time.c: ... here.
30987         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30988         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
30989
30990         * sysdeps/unix/nice.c: Moved ...
30991         * sysdeps/posix/nice.c: ... here.
30992
30993         * sysdeps/unix/alarm.c: Moved ...
30994         * sysdeps/posix/alarm.c: ... here.
30995
30996         * intl/Makefile ($(codeset_mo)): Depend on the input file.
30997
30998 2012-08-17  Jeff Law <law@redhat.com>
30999
31000         * intl/Makefile (codeset_mo): New variable.
31001         ($(codeset_mo)): New target.
31002         (tst-codeset.out): Depend on that.  Remove explicit rule.
31003         (tst-gettext3.out, tst-gettext5.out): Likewise.
31004         (LOCPATH-ENV, tst-codeset-ENV): New variables.
31005         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31006         * intl/tst-codeset.sh: Remove.
31007         * intl/tst-gettext3.sh: Likewise.
31008         * intl/tst-gettext5.sh: Likewise.
31009
31010 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31011
31012         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
31013         * sysdeps/unix/syscalls.list: ... here.
31014
31015         * sysdeps/posix/getaddrinfo.c
31016         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31017         (gaiconf_init, gaiconf_reload): Use them.
31018         [!_STATBUF_ST_NSEC]
31019         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31020         Define using time_t rather than struct timespec.
31021
31022         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31023         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31024         Macros removed.
31025         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31026         [!NO_THREADS].
31027         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31028         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31029         Likewise.
31030
31031         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31032         __libc_cleanup_push argument.
31033
31034         * bits/param.h: New file.
31035         * misc/sys/param.h: New file.
31036         * include/sys/param.h: New file.
31037         * misc/Makefile (headers): Add bits/param.h.
31038         * sysdeps/generic/sys/param.h: File removed.
31039         * sysdeps/unix/sysv/linux/bits/param.h: New file.
31040         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31041         * sysdeps/mach/hurd/bits/param.h: New file.
31042         * sysdeps/mach/hurd/sys/param.h: File removed.
31043
31044         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31045         last change.
31046
31047         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31048         [_IO_MTSAFE_IO].
31049         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31050         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31051         New macros.
31052
31053         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31054         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31055         rather than -D_IO_MTSAFE_IO conditionally.
31056         * stdio-common/Makefile (CPPFLAGS): Likewise.
31057         * wcsmbs/Makefile (CPPFLAGS): Likewise.
31058         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31059         Use $(libio-mtsafe).
31060         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31061         of -D_IO_MTSAFE_IO.
31062         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31063         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31064         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31065         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31066         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31067         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31068         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31069         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31070         (CFLAGS-fread_u_chk.c): Likewise.
31071         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31072         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31073         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31074         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31075         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31076         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31077         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31078         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31079         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31080
31081         * libio/Makefile: Test [$(libc-reentrant) = yes]
31082         instead of [$(filter %REENTRANT, $(defines)) nonempty].
31083
31084         * Makeconfig
31085         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31086         * sysdeps/pthread/configure: File removed.
31087         * sysdeps/pthread/Makeconfig: New file.
31088         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31089         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31090
31091 2012-08-16  Gary Benson  <gbenson@redhat.com>
31092
31093         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31094         unmapping the first object in a namespace.
31095
31096 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31097
31098         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31099         (__internal_setnetgrent): ... this.  Add internal_function to
31100         definition.  Add libc_hidden_def.
31101         (setnetgrent): Update caller.
31102         (internal_endnetgrent): Renamed to ...
31103         (__internal_endnetgrent): ... this.  Add internal_function to
31104         definition.  Add libc_hidden_def.
31105         (endnetgrent): Update caller.
31106         (internal_getnetgrent_r): Renamed to ...
31107         (__internal_getnetgrent_r): ... this.  Add internal_function to
31108         definition.  Add libc_hidden_def.
31109         (__getnetgrent_r): Update caller.
31110         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
31111
31112 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31113
31114         * stdlib/longlong.h: Update from GCC.
31115
31116 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31117
31118         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31119         on _QL, which is set by umul_ppmm but never used.
31120         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31121         variables, which are set by GMP macros but never used.
31122         * stdio-common/_itowa.c (_itowa): Likewise.
31123         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31124         * stdlib/mod_1.c (mpn_mod_1): Likewise.
31125
31126 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
31127
31128         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31129         struct La_sh_regs is not constant.
31130         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31131         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31132         and struct La_sparc64_regs are not constant.
31133
31134 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31135
31136         * sysdeps/unix/sysv/linux/kernel-features.h
31137         (__ASSUME_POSIX_TIMERS): Remove.
31138         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31139         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31140         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31141         Make code unconditional.
31142         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31143         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31144         Make code unconditional.
31145         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31146         * sysdeps/unix/sysv/linux/clock_nanosleep.c
31147         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31148         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31149         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31150         Make code unconditional.
31151         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31152         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31153         (__libc_missing_posix_timers): Remove.
31154
31155 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31156
31157         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31158         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31159
31160         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31161
31162         * elf/dl-sym.c: Include <stdlib.h>.
31163
31164         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31165         constants, which avoids warnings in 32-bit builds.
31166
31167         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31168         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31169
31170         * misc/lseek.c: File moved to ...
31171         * io/lseek.c: ... here.
31172
31173         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31174
31175         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31176         shifting LEN more than 31 bits at once.
31177
31178 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31179
31180         [BZ #14195]
31181         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31182         segmentation fault for a case of two empty input strings.
31183         * string/test-strncasecmp.c (check1): Renamed to...
31184         (bz12205): ...this.
31185         (bz14195): Add new testcase for two empty input strings and N > 0.
31186         (test_main): Call new testcase, adapt for renamed function.
31187
31188 2012-08-15  Andreas Jaeger  <aj@suse.de>
31189
31190         [BZ #14090]
31191         * crypt/md5test2.c: New test, based on test supplied by Serge
31192         Belyshev <belyshev@depni.sinp.msu.ru>.
31193         * crypt/Makefile (xtests): Add md5test-giant..
31194         * crypt/Makefile ($(objpfx)md5test-giant): Add.
31195
31196 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
31197
31198         [BZ #14090]
31199         * crypt/md5.c (md5_process_block): Don't assume the buffer
31200         length is less than 2**32.
31201         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31202         length is less than 2**64.
31203
31204 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31205
31206         * string/str-two-way.h: Include <sys/param.h>.
31207         (MAX): Macro removed.
31208
31209         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31210         Move #define and #undef of memmove to just before and after
31211         including <string.h>.
31212
31213         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31214         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31215         and after including <string.h>.  Move declarations of
31216         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31217         to before #include "string/memmove.c".
31218
31219         * include/dirent.h: Declare __getdirentries.
31220
31221         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31222         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31223
31224 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
31225
31226         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31227         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31228         * sysdeps/i386/configure: Regenerated.
31229         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31230         STABS_CURRENT_FILE, and STABS_FUN.
31231         (END): Remove call to STABS_FUN_END.
31232         (STABS_CURRENT_FILE1): Delete.
31233         (STABS_CURRENT_FILE): Likewise.
31234         (STABS_FUN): Likewise.
31235         (STABS_FUN_END): Likewise.
31236         (STABS_FUN2): Likewise.
31237         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31238         * sysdeps/x86_64/configure: Regenerated.
31239
31240 2012-08-14  Roland McGrath  <roland@hack.frob.com>
31241
31242         * elf/dl-open.c: Include <atomic.h>.
31243         * elf/dl-lookup.c: Likewise.
31244
31245 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
31246
31247         * sysdeps/unix/sysv/linux/kernel-features.h
31248         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31249         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31250         unconditionally.
31251         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31252         unconditionally.
31253         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31254         condition on __ASSUME_CLONE_THREAD_FLAGS.
31255
31256 2012-08-14  Andreas Jaeger  <aj@suse.de>
31257
31258         * sysdeps/i386/fpu/libm-test-ulps: Update.
31259
31260 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
31261
31262         * include/atomic.h (atomic_exchange_and_add): Split into ...
31263         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31264         New atomic macros.
31265
31266 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
31267
31268         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31269
31270 2012-08-13  Jeff Law <law@redhat.com>
31271
31272         * manual/stdio.texi (snprintf): Clarify handling of the trailing
31273         null byte in the output string.
31274
31275 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
31276
31277         * sysdeps/unix/sysv/linux/kernel-features.h
31278         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31279         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31280         (__ASSUME_ARG_MAX_STACK_BASED): Define.
31281         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31282         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31283         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
31284         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31285
31286 2012-08-09  Jeff Law <law@redhat.com>
31287
31288         [BZ #13939]
31289         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31290         When avoid_arena is set, don't retry in the that arena.  Pick the
31291         next one, whatever it might be.
31292         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31293         (arena_lock): Pass in new parameter to arena_get2.
31294         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31295         arena_get2.
31296         (__libc_malloc): Unify retrying after main arena failure with
31297         __libc_memalign version.
31298         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31299
31300 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
31301
31302         [BZ #14166]
31303         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31304         to __redirect_strstr.
31305         (__strstr_sse42): Use typeof __redirect_strstr.
31306         (__strstr_ia32): Likewise.
31307         (__libc_strstr): New prototype.
31308         (strstr): Renamed to ...
31309         (__libc_strstr): This.
31310         (strstr): New strong alias of __libc_strstr.
31311         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31312         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31313         __redirect_time.
31314         Include <time.h>.
31315         (__libc_time): New prototype.
31316         (time_ifunc): Replace time with __libc_time.
31317         (time): New strong alias and hidden definition of __libc_time.
31318         (__GI_time): Remove strong alias.
31319         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31320         Include <stddef.h>.
31321         (memmove): Redefined to __redirect_memmove.
31322         (__memmove_sse2): Use typeof __redirect_memmove.
31323         (__memmove_ssse3): Likewise.
31324         (__memmove_ssse3_back): Likewise.
31325         (__libc_memmove): New prototype.
31326         (memmove): Renamed to ...
31327         (__libc_memmove): This.
31328         (memmove): New strong alias of __libc_memmove.
31329
31330 2012-08-08  Mark Salter  <msalter@redhat.com>
31331
31332         * elf/elf.h
31333         (R_MN10300_TLS_GD): Define.
31334         (R_MN10300_TLS_LD): Likewise.
31335         (R_MN10300_TLS_LDO): Likewise.
31336         (R_MN10300_TLS_GOTIE): Likewise.
31337         (R_MN10300_TLS_IE): Likewise.
31338         (R_MN10300_TLS_LE): Likewise.
31339         (R_MN10300_TLS_DTPMOD): Likewise.
31340         (R_MN10300_TLS_DTPOFF): Likewise.
31341         (R_MN10300_TLS_TPOFF): Likewise.
31342         (R_MN10300_SYM_DIFF): Likewise.
31343         (R_MN10300_ALIGN): Likewise.
31344         (R_MN10300_NUM): Update.
31345
31346 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
31347
31348         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31349         Remove.
31350
31351 2012-08-08  Roland McGrath  <roland@hack.frob.com>
31352
31353         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31354
31355         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31356         sysdeps/unix -> sysdeps/posix move.
31357         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31358
31359 2012-08-07      Allan McRae     <allan@archlinux.org>
31360
31361         [BZ #14303]
31362         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31363         (SUNOS_CPP): Likewise.
31364         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31365         not found.
31366         (open_input): Call CPP using execvp.
31367
31368 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
31369
31370         * sysdeps/unix/sysv/linux/kernel-features.h
31371         (__ASSUME_PROT_GROWSUPDOWN): Remove.
31372         (__ASSUME_NO_CLONE_DETACHED): Likewise.
31373         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31374         (__ASSUME_WAITID_SYSCALL): Likewise.
31375         * sysdeps/unix/sysv/linux/dl-execstack.c
31376         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31377         code unconditional.
31378         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31379         conditional code.
31380         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31381         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31382         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31383         code.
31384         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31385         unconditional.
31386         [__ASSUME_WAITID_SYSCALL]: Likewise.
31387         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31388
31389 2012-08-07  Roland McGrath  <roland@hack.frob.com>
31390
31391         * sysdeps/unix/closedir.c: Renamed to ...
31392         * sysdeps/posix/closedir.c: ... here.
31393         * sysdeps/unix/dirfd.c: Renamed to ...
31394         * sysdeps/posix/dirfd.c: ... here.
31395         * sysdeps/unix/dirstream.h: Renamed to ...
31396         * sysdeps/posix/dirstream.h: ... here.
31397         * sysdeps/unix/fdopendir.c: Renamed to ...
31398         * sysdeps/posix/fdopendir.c: ... here.
31399         * sysdeps/unix/opendir.c: Renamed to ...
31400         * sysdeps/posix/opendir.c: ... here.
31401         * sysdeps/unix/readdir.c: Renamed to ...
31402         * sysdeps/posix/readdir.c: ... here.
31403         * sysdeps/unix/readdir_r.c: Renamed to ...
31404         * sysdeps/posix/readdir_r.c: ... here.
31405         * sysdeps/unix/rewinddir.c: Renamed to ...
31406         * sysdeps/posix/rewinddir.c: ... here.
31407         * sysdeps/unix/seekdir.c: Renamed to ...
31408         * sysdeps/posix/seekdir.c: ... here.
31409         * sysdeps/unix/telldir.c: Renamed to ...
31410         * sysdeps/posix/telldir.c: ... here.
31411         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31412         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31413         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31414         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31415
31416         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31417         * bits/fcntl.h: ... here.
31418
31419         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31420         not 0.
31421         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31422         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31423         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31424         (struct flock): Move l_start, l_len to the beginning.
31425         Use __pid_t for l_pid.
31426         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31427         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31428         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31429         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31430         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31431         [__USE_LARGEFILE64] (struct flock64): New type.
31432         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31433
31434         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31435         * bits/dirent.h: ... here.
31436
31437         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31438         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31439
31440 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
31441
31442         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31443         Change from 2.6.0 to 2.6.16.
31444         * sysdeps/unix/sysv/linux/configure: Regenerated.
31445         * sysdeps/unix/sysv/linux/kernel-features.h
31446         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31447         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31448         version.
31449         (__ASSUME_UTIMES): Likewise.
31450         (__ASSUME_CLONE_STOPPED): Remove.
31451         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31452         architectures, not kernel version.
31453         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31454         (__ASSUME_NO_CLONE_DETACHED): Likewise.
31455         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31456         (__ASSUME_WAITID_SYSCALL): Likewise.
31457         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31458         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31459         * README: State 2.6.16 as minimum Linux kernel version.  Do not
31460         refer to older versions.
31461
31462 2012-08-06  Roland McGrath  <roland@hack.frob.com>
31463
31464         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31465         Define alphasort64 as an alias.
31466         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31467         Define versionsort64 as an alias.
31468         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31469         Define scandir64 as an alias.
31470         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31471         Define scandirat64 as an alias.
31472         * dirent/alphasort64.c (alphasort64):
31473         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31474         * dirent/versionsort64.c: Likewise.
31475         * dirent/scandir64.c: Likewise.
31476         * dirent/scandirat64.c: Likewise.
31477         * sysdeps/wordsize-64/alphasort.c: File removed.
31478         * sysdeps/wordsize-64/alphasort64.c: File removed.
31479         * sysdeps/wordsize-64/scandir.c: File removed.
31480         * sysdeps/wordsize-64/scandir64.c: File removed.
31481         * sysdeps/wordsize-64/scandirat.c: File removed.
31482         * sysdeps/wordsize-64/scandirat64.c: File removed.
31483         * sysdeps/wordsize-64/versionsort.c: File removed.
31484         * sysdeps/wordsize-64/versionsort64.c: File removed.
31485         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31486         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31487         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31488         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31489         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31490         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31491         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31492         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31493
31494         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31495         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31496         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31497         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31498         [defined __arch64__ || defined __sparcv9]
31499         (__INO_T_MATCHES_INO64_T): New macro.
31500         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31501         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31502         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31503         * sysdeps/unix/sysv/linux/bits/dirent.h
31504         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31505         (_DIRENT_MATCHES_DIRENT64): New macro.
31506
31507         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31508         Define lockf64 as an alias.
31509         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31510         Define fseeko64 as an alias.
31511         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31512         Define ftello64 as an alias.
31513         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31514         Define _IO_fgetpos64 and fgetpos64 as aliases.
31515         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31516         Define _IO_fsetpos64 and fsetpos64 as aliases.
31517         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31518         Conditionalize body on this.
31519         * libio/fseeko64.c: Likewise.
31520         * libio/ftello64.c: Likewise.
31521         * libio/iofgetpos64.c: Likewise.
31522         * libio/iofsetpos64.c: Likewise.
31523         * sysdeps/wordsize-64/lockf.c: File removed.
31524         * sysdeps/wordsize-64/lockf64.c: File removed.
31525         * sysdeps/wordsize-64/fseeko.c: File removed.
31526         * sysdeps/wordsize-64/fseeko64.c: File removed.
31527         * sysdeps/wordsize-64/ftello.c: File removed.
31528         * sysdeps/wordsize-64/ftello64.c: File removed.
31529         * sysdeps/wordsize-64/iofgetpos.c: File removed.
31530         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31531         * sysdeps/wordsize-64/iofsetpos.c: File removed.
31532         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31533         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31534         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31535         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31536         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31537         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31538         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31539         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31540         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31541         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31542         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31543
31544         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31545         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31546         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31547         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31548         [defined __arch64__ || defined __sparcv9]
31549         (__OFF_T_MATCHES_OFF64_T): New macro.
31550         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31551         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31552         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31553         (__OFF_T_MATCHES_OFF64_T): New macro.
31554
31555 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
31556
31557         * stdlib/secure-getenv.c (__secure_getenv): Replace
31558         GLIBC_2_16 with GLIBC_2_17.
31559
31560 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
31561
31562         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31563         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31564
31565 2012-08-03  David S. Miller  <davem@davemloft.net>
31566
31567         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31568
31569 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
31570
31571         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31572         Remove.
31573         (__ASSUME_CORRECT_SI_PID): Likewise.
31574         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31575         (__ASSUME_TMPFS_NAME): Likewise.
31576         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31577         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31578         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31579         (HAVE_AUX_SECURE): Make definition unconditional.
31580         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31581         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31582
31583 2012-08-03  Roland McGrath  <roland@hack.frob.com>
31584
31585         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31586         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31587         * sysdeps/mach/hurd/eloop-threshold.h: New file.
31588         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31589         __eloop_threshold instead of SYMLOOP_MAX.
31590
31591         * sysdeps/generic/eloop-threshold.h: New file.
31592         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31593         of MAXSYMLINKS.
31594         * elf/chroot_canon.c (chroot_canon): Likewise.
31595
31596 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
31597
31598         [BZ #13717]
31599         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31600         Change to 2.6.0 everywhere.
31601         * sysdeps/unix/sysv/linux/configure: Regenerated.
31602         * sysdeps/unix/sysv/linux/kernel-features.h
31603         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31604         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31605         kernel versions.
31606         (__ASSUME_POSIX_TIMERS): Define unconditionally.
31607         (__ASSUME_FUTEX_REQUEUE): Remove.
31608         (__ASSUME_STATFS64): Define unconditionally.
31609         (__ASSUME_AT_SECURE): Likewise.
31610         (__ASSUME_CORRECT_SI_PID): Likewise.
31611         (__ASSUME_TGKILL): Define without depending on kernel version for
31612         i386.
31613         (__ASSUME_UTIMES): Likewise.
31614         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31615         kernel version.
31616         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31617         (__ASSUME_TMPFS_NAME): Likewise.
31618         * README: Update reference to Linux kernel versions.
31619
31620 2012-08-02  Marek Polacek  <polacek@redhat.com>
31621
31622         [BZ# 14150]
31623         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
31624         libc_cv_asm_type_prefix with %.
31625         * configure: Regenerated.
31626         * include/libc-symbols.h: Remove comment about
31627         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31628         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31629         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31630         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31631         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31632         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31633         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31634         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31635         * elf/tst-unique2mod1.c: Likewise.
31636         * elf/tst-unique1mod2.c: Likewise.
31637         * elf/tst-unique1mod1.c: Likewise.
31638         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31639         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31640         Replace ASM_TYPE_DIRECTIVE with .type.
31641         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31642         * sysdeps/i386/sysdep.h: Likewise.
31643         * sysdeps/x86_64/sysdep.h: Likewise.
31644         * sysdeps/sh/sysdep.h: Likewise.
31645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31646         Do not define ASM_TYPE_DIRECTIVE.
31647         * sysdeps/powerpc/sysdep.h: Likewise.
31648         * sysdeps/powerpc/powerpc32/sysdep.h:
31649         Replace ASM_TYPE_DIRECTIVE with .type.
31650         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31651         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31652         * sysdeps/i386/fpu/e_powf.S: Likewise.
31653         * sysdeps/i386/fpu/e_expl.S: Likewise.
31654         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31655         * sysdeps/i386/fpu/e_acosh.S: Likewise.
31656         * sysdeps/i386/fpu/e_pow.S: Likewise.
31657         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31658         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31659         * sysdeps/i386/fpu/s_expm1.S: Likewise.
31660         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31661         * sysdeps/i386/fpu/e_log2.S: Likewise.
31662         * sysdeps/i386/fpu/e_log2l.S: Likewise.
31663         * sysdeps/i386/fpu/e_scalb.S: Likewise.
31664         * sysdeps/i386/fpu/e_powl.S: Likewise.
31665         * sysdeps/i386/fpu/e_log10f.S: Likewise.
31666         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31667         * sysdeps/i386/fpu/e_logl.S: Likewise.
31668         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31669         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31670         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31671         * sysdeps/i386/fpu/e_log2f.S: Likewise.
31672         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31673         * sysdeps/i386/fpu/e_log.S: Likewise.
31674         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31675         * sysdeps/i386/fpu/e_logf.S: Likewise.
31676         * sysdeps/i386/fpu/e_log10l.S: Likewise.
31677         * sysdeps/i386/fpu/e_atanh.S: Likewise.
31678         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31679         * sysdeps/i386/fpu/e_log10.S: Likewise.
31680         * sysdeps/i386/fpu/s_frexp.S: Likewise.
31681         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31682         * sysdeps/i386/fpu/s_asinh.S: Likewise.
31683         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31684         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31685         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31686         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31687         * sysdeps/i386/i686/strtok.S: Likewise.
31688         * sysdeps/i386/i386-mcount.S: Likewise.
31689         * sysdeps/i386/strtok.S: Likewise.
31690         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31691         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31692         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31693         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31694         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31695         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31696         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31697         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31698         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31699         * sysdeps/x86_64/_mcount.S: Likewise.
31700         * sysdeps/x86_64/strtok.S: Likewise.
31701         * sysdeps/sh/_mcount.S: Likewise.
31702
31703 2012-08-01  Roland McGrath  <roland@hack.frob.com>
31704
31705         * libio/iofopen.c: Include <fcntl.h>.
31706         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31707         (_IO_fopen64, fopen64): Define as aliases.
31708         * libio/iofopen64.c: Include <fcntl.h>.
31709         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31710         Conditionalize body on this.
31711         * sysdeps/wordsize-64/iofopen.c: File removed.
31712         * sysdeps/wordsize-64/iofopen64.c: File removed.
31713
31714 2012-08-01  Marek Polacek  <polacek@redhat.com>
31715
31716         * libc/Makeconfig: Use elf in place of binfmt-subdir.
31717         Use dlfcn directly instead of a variable.
31718         (binfmt-subdir): Do not define.
31719         (dlfcn): Likewise.
31720
31721 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
31722
31723         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31724         Remove all definitions.
31725         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31726         <kernel-features.h>.
31727         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31728         (miss_F_GETOWN_EX): Remove all definitions.
31729         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31730         macro definition.
31731         [!__ASSUME_FCNTL64]: Remove conditional code.
31732         [__ASSUME_FCNTL64]: Make code unconditional.
31733         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31734         <kernel-features.h>.
31735         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31736         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31737         (lockf64) [__NR_fcntl64]: Make code unconditional.
31738         (lockf64) [__ASSUME_FCNTL64]: Likewise.
31739
31740         * sysdeps/unix/sysv/linux/kernel-features.h
31741         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31742         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31743         Make code unconditional.
31744         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31745         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31747         [__NR_vfork]: Make code unconditional.
31748         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31749         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31751         [__NR_vfork]: Make code unconditional.
31752         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31753         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31754
31755 2012-08-01  Roland McGrath  <roland@hack.frob.com>
31756
31757         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31758         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31759
31760         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31761         Define mkstemp64 as an alias.
31762         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31763         Define mkstemps64 as an alias.
31764         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31765         Define mkostemp64 as an alias.
31766         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31767         Define mkostemps64 as an alias.
31768         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31769         Conditionalize body on this.
31770         * misc/mkostemp64.c: Likewise.
31771         * misc/mkostemps64.c: Likewise.
31772         * misc/mkstemps64.c: Likewise.
31773         * sysdeps/wordsize-64/mkstemp64.c: File removed.
31774         * sysdeps/wordsize-64/mkostemp64.c: File removed.
31775         * sysdeps/wordsize-64/mkostemp.c: File removed.
31776         * sysdeps/wordsize-64/mkstemp.c: File removed.
31777         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31778         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31779         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31780         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31781
31782         [BZ #14138]
31783         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31784         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31785         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31786         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31787
31788         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31789         compat_symbol macros from <shlib-compat.h> rather than the underlying
31790         default_symbol_version and symbol_version macros, so that DEFAULT
31791         lines in shlib-versions are respected.
31792         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31793
31794 2012-08-01  Florian Weimer  <fweimer@redhat.com>
31795
31796         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31797         Declare with warn_unused_result.
31798         (setgid, setregid, setegid, setresgid): Likewise.
31799         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31800         Likewise.
31801         * WUR-REPORT: Remove set*id functions.
31802
31803 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
31804
31805         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31806
31807 2012-07-31  Roland McGrath  <roland@hack.frob.com>
31808
31809         [BZ #10191]
31810         * include/sys/socket.h (__libc_accept, __libc_accept4):
31811         Add attribute_hidden.
31812         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31813
31814         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31815         use of PTR_MANGLE.
31816         * inet/getnetgrent_r.c (setup): Likewise.
31817
31818         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31819
31820 2012-07-31  David S. Miller  <davem@davemloft.net>
31821
31822         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31823
31824 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
31825
31826         [BZ #13629]
31827         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31828         value between 1.0 and 2.0 and smaller part has absolute value less
31829         than 1.0.
31830         * math/s_clog10.c (__clog10): Likewise.
31831         * math/s_clog10f.c (__clog10f): Likewise.
31832         * math/s_clog10l.c (__clog10l): Likewise.
31833         * math/s_clogf.c (__clogf): Likewise.
31834         * math/s_clogl.c (__clogl): Likewise.
31835         * math/libm-test.inc (clog_test): Add more tests.
31836         (clog10_test): Likewise.
31837         * sysdeps/i386/fpu/libm-test-ulps: Update.
31838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31839
31840 2012-07-31  Florian Weimer  <fweimer@redhat.com>
31841
31842         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31843         Exit with zero in case no suitable GID is found, and write a
31844         message to standard error.
31845
31846 2012-07-30  Roland McGrath  <roland@hack.frob.com>
31847
31848         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31849         rather than to 1.
31850         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31851         (MAXPATHLEN): Removed.
31852         (NOGROUP, NODEV): New macros.
31853         (setbit, clrbit, isset, isclr): New macros.
31854         (howmany, roundup, powerof2): New macros.
31855         (DEV_BSIZE): New macro.
31856
31857         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31858         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31859
31860         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31861         definition on [!__NO_LONG_DOUBLE_MATH].
31862
31863         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31864         PTR_MANGLE and PTR_DEMANGLE.
31865
31866         * socket/accept4.c (accept4): Rename to __libc_accept4.
31867         Define accept4 as a weak alias.
31868
31869         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31870         on [_DIRENT_HAVE_D_TYPE].
31871         * io/ftw.c (ftw_dir): Likewise.
31872
31873         * io/xmknod.c (__xmknod): Don't check PATH for being null.
31874
31875         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31876
31877         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31878         Use the BSD numbers rather than the arbitrary ones we had.
31879         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31880         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31881         (SIGXCPU, SIGXFSZ): New macros.
31882         (_NSIG): Now 32.
31883
31884         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31885         initializer on [_LIBC_REENTRANT].
31886
31887         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31888         definitions inside [_POSIX_MAPPED_FILES].
31889
31890         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31891
31892         * dirent/opendir.c: Include <fcntl.h>.
31893
31894         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31895         (__libc_getspecific): Likewise.
31896         (__libc_key_create): Likewise.
31897
31898         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31899         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31900         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31901         (tmpfile64): Define as alias.
31902         * sysdeps/wordsize-64/tmpfile.c: File removed.
31903         * sysdeps/wordsize-64/tmpfile64.c: File removed.
31904         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31905         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31906
31907         * stdio-common/vfscanf.c: Include <stdbool.h>.
31908         * nss/makedb.c: Likewise.
31909         * stdio-common/_i18n_number.h: Likewise.
31910         * argp/argp-help.c: Likewise.
31911         * posix/wordexp.c: Likewise.
31912         * sysdeps/posix/spawni.c: Likewise.
31913         * nss/nss_files/files-initgroups.c: Likewise.
31914         * stdio-common/reg-modifier.c: Include <stdlib.h>.
31915         * nss/nss_files/files-initgroups.c: Likewise.
31916         * nss/nss_db/db-netgrp.c: Likewise.
31917         * nss/nss_db/db-initgroups.c: Likewise.
31918         * io/fchmodat.c: Include <sys/stat.h>.
31919
31920         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31921         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31922
31923         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31924         [HAVE_MMAP].
31925
31926         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31927         Add multiple inclusion protection.
31928
31929 2012-07-27  David S. Miller  <davem@davemloft.net>
31930
31931         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31932
31933 2012-07-27  Gary Benson  <gbenson@redhat.com>
31934
31935         [BZ #14298]
31936         * elf/rtld.c: Include <stap-probe.h>.
31937         (dl_main): Added static probes "init_start" and "init_complete".
31938         * elf/dl-load.c: Include <stap-probe.h>.
31939         (lose): Take new parameter "nsid".
31940         Added static probe "map_failed".
31941         (_dl_map_object_from_fd): Pass namespace id to lose.
31942         Added static probe "map_start".
31943         (open_verify): Pass namespace id to lose.
31944         * elf/dl-open.c: Include <stap-probe.h>.
31945         (dl_open_worker) Added static probes "map_complete", "reloc_start"
31946         and "reloc_complete".
31947         * elf/dl-close.c: Include <stap-probe.h>.
31948         (_dl_close_worker): Added static probes "unmap_start" and
31949         "unmap_complete".
31950         * elf/rtld-debugger-interface.txt: New file documenting the above.
31951
31952 2012-07-26  Roland McGrath  <roland@hack.frob.com>
31953
31954         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31955         rather than a string variable.
31956         * sunrpc/rpc_main.c (h_output): Likewise.
31957         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31958
31959 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
31960
31961         * inet/check_native.c: New file.
31962
31963 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
31964
31965         [BZ #13629]
31966         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31967         if larger part has absolute value 1.0.
31968         * math/s_clog10.c (__clog10): Likewise.
31969         * math/s_clog10f.c (__clog10f): Likewise.
31970         * math/s_clog10l.c (__clog10l): Likewise.
31971         * math/s_clogf.c (__clogf): Likewise.
31972         * math/s_clogl.c (__clogl): Likewise.
31973         * math/libm-test.inc (clog_test): Add more tests.
31974         (clog10_test): Likewise.
31975         * sysdeps/i386/fpu/libm-test-ulps: Update.
31976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31977
31978         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31979         (pltexit): Likewise.
31980         (La_regs): Likewise.
31981         (La_retval): Likewise.
31982         (int_retval): Likewise.
31983         Update #error for removed macros to refer only to definitions in
31984         tst-audit.h.
31985         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31986         macro.
31987         (pltexit): Likewise.
31988         (La_regs): Likewise.
31989         (La_retval): Likewise.
31990         (int_retval): Likewise.
31991         * elf/tst-auditmod4b.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-auditmod5b.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-auditmod6b.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-auditmod6c.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-auditmod7b.c (pltenter): Remove all definitions of
32016         macro.
32017         (pltexit): Likewise.
32018         (La_regs): Likewise.
32019         (La_retval): Likewise.
32020         (int_retval): Likewise.
32021         * sysdeps/generic/tst-audit.h: Update comment to refer only to
32022         macro definitions in tst-audit.h.
32023         * sysdeps/i386/tst-audit.h: New file.
32024         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32025         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32026         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32027         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32028         * sysdeps/sh/tst-audit.h: Likewise.
32029         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32030         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32031         * sysdeps/x86_64/tst-audit.h: Likewise.
32032
32033 2012-07-26  Andreas Jaeger  <aj@suse.de>
32034
32035         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32036         ptrace.
32037
32038         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32039         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32040         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32041         PTRACE_O_MASK.
32042         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32043         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32044         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32045
32046         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32047         value.
32048
32049         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32050         _sigsys.
32051         (si_call_addr, si_syscall, si_arch): Define new macro.
32052         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32053         _sigsys.
32054         (si_call_addr, si_syscall, si_arch): Define new marcro.
32055         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32056         _sigsys.
32057         (si_call_addr, si_syscall, si_arch): Define new macro.
32058         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32059         _sigsys.
32060         (si_call_addr, si_syscall, si_arch): Define new macro.
32061
32062 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32063
32064         [BZ #13717]
32065         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32066         Change to 2.4.21 where previously 2.4.1.
32067         * sysdeps/unix/sysv/linux/configure: Regenerated.
32068         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32069         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32070         Linux kernel version.
32071         (__ASSUME_STD_AUXV): Remove.
32072         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32073         kernel version.
32074         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32075         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32076         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32077         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32078         (__ASSUME_NETLINK_SUPPORT): Likewise.
32079         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32080         (__no_netlink_support): Remove conditional definition.
32081         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32082         Remove.
32083         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32084         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32085         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32086         (if_nameindex_ioctl): Remove.
32087         (if_nameindex_netlink): Do not handle __no_netlink_support.
32088         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32089         code.
32090         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32091         Remove conditional code.
32092         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32093         code.
32094         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32095         unconditional.
32096         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32097         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32098         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32099         Remove.
32100         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32101         [!__ASSUME_STD_AUXV]: Remove conditional code.
32102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32103         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32104         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32106         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32107         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32108         code.
32109         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32111         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32112         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32113         conditional code.
32114         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32116         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32117         code.
32118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32119         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32120         conditional code.
32121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32122         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32123         code unconditional.
32124         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32125         conditional code.
32126         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32127         unconditional.
32128         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32129         conditional code.
32130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32131         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32132         unconditional.
32133         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32134         conditional code.
32135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32136         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32137         code unconditional.
32138         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32139         conditional code.
32140         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32141         unconditional.
32142         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32143         conditional code.
32144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32145         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32146         code unconditional.
32147         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32148         conditional code.
32149         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32150         unconditional.
32151         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32152         conditional code.
32153
32154 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
32155
32156         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32157         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32158         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32159         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32160         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32161         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32162         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32163         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32164         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32165         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32166         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32167         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32168         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32169         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32170         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32171         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32172         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32173         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32174         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32175         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32176         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32177         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32178         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32179
32180 2012-07-25  Florian Weimer  <fweimer@redhat.com>
32181
32182         * Versions.def: Add GLIBC_2.17.
32183         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32184         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32185         Introduce __libc_secure_getenv.
32186         * stdlib/Versions (2.17): Add secure_getenv
32187         (GLIBC_PRIVATE): Add __libc_secure_getenv.
32188         * stdlib/secure-getenv.c: Rename __secure_getenv to
32189         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
32190         symbol __secure_getenv for GLIBC_2.0.
32191         * stdlib/tst-secure-getenv.c: New.
32192         * stdlib/Makefile (tests): Add testcase.
32193         * manual/startup.texi (Environment Access): Document
32194         secure_getenv.
32195         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32196         __libc_secure_getenv.
32197         * inet/ruserpass.c (ruserpass): Likewise.
32198         * malloc/mtrace.c (mtrace): Likewise.
32199         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32200         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32201         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32202         * sysdeps/posix/tempname.c: Likewise.  Evaluate
32203         HAVE_SECURE_GETENV.
32204         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32205         __secure_getenv to __libc_secure_getenv.
32206         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32208         Likewise.
32209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32210         Likewise.
32211         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32212         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32213         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32214         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32215         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32216         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32217         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32218
32219 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32220
32221         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32222         (struct La_i86_retval): Likewise.
32223         (struct La_x86_64_regs): Likewise.
32224         (struct La_x86_64_retval): Likewise.
32225         (struct La_x32_regs): Likewise.
32226         (struct La_x32_retval): Likewise.
32227         (struct La_ppc32_regs): Likewise.
32228         (struct La_ppc32_retval): Likewise.
32229         (struct La_ppc64_regs): Likewise.
32230         (struct La_ppc64_retval): Likewise.
32231         (struct La_sh_regs): Likewise.
32232         (struct La_sh_retval): Likewise.
32233         (struct La_s390_32_regs): Likewise.
32234         (struct La_s390_32_retval): Likewise.
32235         (struct La_s390_64_regs): Likewise.
32236         (struct La_s390_64_retval): Likewise.
32237         (struct La_sparc32_regs): Likewise.
32238         (struct La_sparc32_retval): Likewise.
32239         (struct La_sparc64_regs): Likewise.
32240         (struct La_sparc64_retval): Likewise.
32241         (struct audit_ifaces): Remove architecture-specific pltenter and
32242         pltexit members.
32243         * sysdeps/i386/ldsodefs.h: New file.
32244         * sysdeps/powerpc/ldsodefs.h: Likewise.
32245         * sysdeps/s390/ldsodefs.h: Likewise.
32246         * sysdeps/sh/ldsodefs.h: Likewise.
32247         * sysdeps/sparc/ldsodefs.h: Likewise.
32248         * sysdeps/x86_64/ldsodefs.h: Likewise.
32249
32250 2012-07-25  Marek Polacek  <polacek@redhat.com>
32251
32252         [BZ #6808]
32253         * math/libm-test.inc (yn_test): Add another test.
32254         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32255         to ERANGE when the result is +-Inf.
32256         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32257         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32258         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32259         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32260
32261 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
32262
32263         * conform/data/time.h-data (NULL): Use macro-constant.  Require
32264         equal to 0.
32265         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
32266         clock_t.
32267         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
32268
32269 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
32270
32271         * configure.in <sysdeps resolving>: Correct printing
32272         Implies_before.
32273         * configure: Regenerate.
32274
32275 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
32276
32277         * math/w_ilogb.c: Include <limits.h>.
32278         * math/w_ilogbl.c: Likewise.
32279
32280 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32281
32282         * manual/lang.texi (__va_copy): Document primarily as ISO C99
32283         va_copy.  Document allowing for unavailable va_copy only as
32284         pre-C99 compatibility.
32285         * manual/string.texi (Copying and Concatenation): Use va_copy
32286         instead of __va_copy in concat example.
32287
32288 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
32289
32290         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32291         (__sendto): Use create_address_port.  Initialize APORT and deallocate
32292         it if not null.
32293
32294         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32295         with O_NOLINK passed to __file_name_lookup.
32296
32297         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32298         with O_NOLINK passed to __file_name_lookup.
32299
32300         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32301         negative N or less than NGIDS.
32302
32303         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32304         type to string_t.  Set ERANGE as errno and return it if NAME is not big
32305         enough.  Use memcpy instead of strncpy.
32306
32307 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32308
32309         * elf/Makefile (check-data): Remove.
32310         (localplt.data): New vpath directive.
32311         ($(objpfx)check-localplt.out): Use localplt.data from vpath
32312         instead of $(check-data).
32313         * scripts/data/localplt-generic.data: Move to ...
32314         * sysdeps/generic/localplt.data: ... here.
32315         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32316         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32317         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32319         ... here.
32320         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32322         ... here.
32323         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32324         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32325         ... here.
32326         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32327         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32328         ... here.
32329         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32330         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32331         ... here.
32332         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32333         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32334         ... here.
32335
32336 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32337
32338         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32339         PPC32 and PPC64 files.
32340         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32341         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32342
32343 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32344
32345         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32346         __makecontext_ret to ...
32347         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32348         ... here and call exit if uc_link is NULL.  New file.
32349         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32350         __makecontext_ret.S.
32351         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32352         __makecontext_ret to ...
32353         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32354         ... here and call exit if uc_link is NULL.  New file.
32355         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32356         __makecontext_ret.S.
32357
32358 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32359
32360         * elf/elf.h (R_390_IRELATIVE): New definition.
32361         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32362         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
32363         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32364         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32365         (elf_machine_lazy_rel): Likewise.
32366         * sysdeps/s390/dl-irel.h: New file.
32367         * sysdeps/s390/s390-64/memcpy.S: New asm code.
32368         * sysdeps/s390/s390-64/memset.S: New asm code.
32369         * sysdeps/s390/s390-64/memcmp.S: New asm code.
32370         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32371         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32372         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32373         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32374         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32375         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32376         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32377         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32378         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32379         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32380         * sysdeps/s390/s390-32/memcpy.S: New asm code.
32381         * sysdeps/s390/s390-32/memset.S: New asm code.
32382         * sysdeps/s390/s390-32/memcmp.S: New asm code.
32383
32384 2012-07-17  Marek Polacek  <polacek@redhat.com>
32385
32386         [BZ #14349]
32387         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32388         * sysdeps/s390/s390-64/configure.in: Likewise.
32389         * sysdeps/sparc/configure.in: Likewise.
32390         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32391         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32392         * sysdeps/i386/configure.in: Likewise.
32393         * sysdeps/x86_64/configure.in: Likewise.
32394         * sysdeps/sh/configure.in: Likewise.
32395         * sysdeps/s390/s390-32/configure: Regenerated.
32396         * sysdeps/s390/s390-64/configure: Likewise.
32397         * sysdeps/x86_64/configure: Likewise.
32398         * sysdeps/sh/configure: Likewise.
32399         * sysdeps/powerpc/powerpc64/configure: Likewise.
32400         * sysdeps/powerpc/powerpc32/configure: Likewise.
32401         * sysdeps/sparc/configure: Likwise.
32402         * sysdeps/i386/configure: Likewise.
32403
32404         * elf/dl-open.c: Comment fixes.
32405
32406 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
32407
32408         * Makefile [CXX] (check-data): Remove.
32409         [CXX] (c++-types.data): New vpath directive.
32410         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32411         vpath.  Do not allow for C++ type data being missing.
32412         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32413         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32414         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32415         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32416         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32417         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32418         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32420         ... here.
32421         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32423         ... here.
32424         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32425         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32426         ... here.
32427         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32428         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32429         ... here.
32430         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32431         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32432         ... here.
32433         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32434         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32435         ... here.
32436         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32437         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32438         ... here.
32439         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32440         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32441
32442         * elf/tls-macros.h (TLS_LE): Move architecture-specific
32443         definitions to architecture-specific files.
32444         (TLS_IE): Likewise.
32445         (TLS_LD): Likewise.
32446         (TLS_GD): Likewise.
32447         * sysdeps/i386/tls-macros.h: New file.
32448         * sysdeps/powerpc/tls-macros.h: Likewise.
32449         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32450         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32451         * sysdeps/sh/tls-macros.h: Likewise.
32452         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32453         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32454         * sysdeps/x86_64/tls-macros.h: Likewise.
32455
32456 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
32457
32458         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32459         zero value for regular exit case.
32460
32461         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32462         (__start_context): Preserve zero value for regular exit case.
32463
32464 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
32465             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32466
32467         * manual/setjmp.texi (setcontext): Clarify normal process
32468         termination when uc_link is the null pointer.
32469         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32470         exit call.
32471
32472 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
32473
32474         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32475         preprocessor.  Test for each exception mask separately.
32476
32477 2012-07-16  Andreas Jaeger  <aj@suse.de>
32478
32479         * po/ru.po: Update from translation team.
32480
32481 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
32482
32483         * conform/data/string.h-data (NULL): Use macro-constant.  Require
32484         equal to 0.
32485         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32486         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32487         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32488         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32489         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32490
32491 2012-07-13  Andreas Jaeger  <aj@suse.de>
32492
32493         * po/fr.po: Update from translation team.
32494
32495 2012-07-12  Marek Polacek  <polacek@redhat.com>
32496
32497         [BZ #14173]
32498         * math/libm-test.inc (yn_test): Add test for BZ #14173.
32499         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32500         loop condition.
32501
32502 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
32503
32504         [BZ #13717]
32505         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32506         Change to 2.4.1 where previously 2.4.0.
32507         * sysdeps/unix/sysv/linux/configure: Regenerated.
32508         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32509         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32510         version.
32511         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32512         (__ASSUME_AT_CLKTCK): Remove.
32513         (__ASSUME_AT_PAGESIZE): Likewise.
32514         (__ASSUME_AT_XID): Likewise.
32515         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32516         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32517         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32518         unconditionally.
32519         (HAVE_AUX_PAGESIZE): Likewise.
32520         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32521         [__ASSUME_AT_CLKTCK]: Make code unconditional.
32522         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32523
32524 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
32525
32526         [BZ #14307]
32527         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32528         the temporary buffer used to invoke __gethostbyname2_r,
32529         __gethostbyaddr_r and gethostbyname4_r to make room for struct
32530         host_data / struct gaih_addrtuple.
32531         * resolv/nss_dns/dns-host.c (global scope): Move definition of
32532         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32533         header file nss/nsswitch.h.
32534         * nss/nsswitch.h (global scope): Add definition of implementation
32535         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32536         resolv/nss_dns/dns-host.c).
32537
32538 2012-07-11  Andreas Jaeger  <aj@suse.de>
32539
32540         * po/fr.po: Update from translation team.
32541
32542         * po/sv.po: Update from translation team
32543         * po/fr.po: Another update from translation team.
32544
32545 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32546
32547         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32548         for subnormals or multiply small sinh result by itself.
32549         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32550         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32551
32552 2012-07-11  David S. Miller  <davem@davemloft.net>
32553
32554         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32555
32556 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
32557
32558         [BZ #14347]
32559         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32560         (INTERNAL_MARK): Shift it here.
32561
32562 2012-07-10  Marek Polacek  <polacek@redhat.com>
32563
32564         [BZ #14151]
32565         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
32566         libc_cv_asm_global_directive with .globl.
32567         * configure: Regenerated.
32568         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32569         with .globl.
32570         * sysdeps/i386/configure: Regenerated.
32571         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32572         with .globl.
32573         * sysdeps/x86_64/configure: Regenerated.
32574         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32575         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32576         * elf/tst-unique2mod2.c: Likewise.
32577         * elf/tst-unique2mod1.c: Likewise.
32578         * elf/tst-unique1mod2.c: Likewise.
32579         * elf/tst-unique1mod1.c: Likewise.
32580         * sysdeps/s390/s390-32/sysdep.h: Likewise.
32581         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32582         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32583         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32584         * sysdeps/mach/sysdep.h: Likewise.
32585         * sysdeps/i386/sysdep.h: Likewise.
32586         * sysdeps/i386/i386-mcount.S: Likewise.
32587         * sysdeps/x86_64/_mcount.S: Likewise.
32588         * sysdeps/x86_64/sysdep.h: Likewise.
32589         * sysdeps/sh/_mcount.S: Likewise.
32590         * sysdeps/sh/sysdep.h: Likewise.
32591         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32592         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32593         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32594         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32595         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32596         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32597         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32598         * locale/localeinfo.h: Likewise.
32599         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32600         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32601
32602 2012-07-09  Roland McGrath  <roland@hack.frob.com>
32603
32604         [BZ #14336]
32605         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32606         system".
32607         * manual/message.texi (The Uniforum approach): Likewise.
32608         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32609         (glibc iconv Implementation): Likewise.
32610
32611 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
32612
32613         [BZ #14337]
32614         * math/s_clog.c (__clog): Avoid scaling a value down where that
32615         could result in underflow.
32616         * math/s_clog10.c (__clog10): Likewise.
32617         * math/s_clog10f.c (__clog10f): Likewise.
32618         * math/s_clog10l.c (__clog10l): Likewise.
32619         * math/s_clogf.c (__clogf): Likewise.
32620         * math/s_clogl.c (__clogl): Likewise.
32621         * math/libm-test.inc (clog_test): Add more tests.
32622         (clog10_test): Likewise.
32623         * sysdeps/i386/fpu/libm-test-ulps: Update.
32624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32625
32626 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
32627
32628         [BZ #14283]
32629         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32630         by 7 not 8 to examine high bit of fractional part.
32631
32632         [BZ #14042]
32633         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32634         for call to __mcount_internal.
32635         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32636         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32637         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32638
32639 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
32640
32641         [BZ #14154]
32642         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32643         approximation for values within 0x1p-13f of an odd multiple of
32644         pi/4.
32645         * math/libm-test.inc (tan_test): Do not allow spurious underflow
32646         exception.  Add more tests.
32647         * sysdeps/i386/fpu/libm-test-ulps: Update.
32648
32649         [BZ #6778]
32650         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32651         inputs and return -1 for them.  Do not check for +Inf in case not
32652         reachable for +Inf.
32653         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32654         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32655         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32656         and return -1 for them.  Do not check for +Inf in case not
32657         reachable for +Inf.
32658         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32659         define.
32660         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32661         and return -1 for them.  Do not check for +Inf in case not
32662         reachable for +Inf.
32663         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
32664         spurious underflow.
32665         * sysdeps/i386/fpu/libm-test-ulps: Update.
32666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32667
32668 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
32669
32670         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32671
32672 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
32673
32674         [BZ #14157]
32675         [BZ #14331]
32676         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32677         could result in spurious underflow.  Scale down values above
32678         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32679         * math/s_csqrtf.c (__csqrtf): Likewise.
32680         * math/s_csqrtl.c (__csqrtl): Likewise.
32681         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
32682         spurious underflow.
32683         * sysdeps/i386/fpu/libm-test-ulps: Update.
32684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32685
32686 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
32687
32688         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32689         xopen-msg.sed.
32690         * catgets/xopen-msg.awk: New file.
32691         * catgets/xopen-msg.sed: Removed.
32692
32693         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32694         po2text.sed.
32695         * intl/po2test.awk: New file.
32696         * intl/po2test.sed: Removed.
32697
32698 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
32699
32700         [BZ #14328]
32701         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32702         or multiply small sinh result by itself.
32703         * math/s_ctanf.c (__ctanf): Likewise.
32704         * math/s_ctanh.c (__ctanh): Likewise.
32705         * math/s_ctanhf.c (__ctanhf): Likewise.
32706         * math/s_ctanhl.c (__ctanhl): Likewise.
32707         * math/s_ctanl.c (__ctanl): Likewise.
32708         * math/libm-test.inc (ctan_test_tonearest): New function.
32709         (ctan_test_towardzero): Likewise.
32710         (ctan_test_downward): Likewise.
32711         (ctan_test_upward): Likewise.
32712         (ctanh_test_tonearest): Likewise.
32713         (ctanh_test_towardzero): Likewise.
32714         (ctanh_test_downward): Likewise.
32715         (ctanh_test_upward): Likewise.
32716         (main): Call these new functions.
32717         * sysdeps/i386/fpu/libm-test-ulps: Update.
32718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32719
32720 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
32721
32722         * .gitignore: Delete /ports entry.
32723
32724 2012-07-03  Andreas Jaeger  <aj@suse.de>
32725
32726         * po/bg.po: Update from translation team.
32727         * po/cs.po: Likewise.
32728         * po/de.po: Likewise.
32729         * po/hr.po: Likewise.
32730         * po/nl.pl: Likewise.
32731         * po/pl.po: Likewise.
32732         * po/vi.po: Likewise.
32733
32734 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
32735
32736         * Makeconfig [!+link] (+link-before-libc): New variable.
32737         [!+link] (+link-after-libc): Likewise.
32738         [!+link] (+link-tests): Likewise.
32739         [!+link] (+link): Define in terms of $(+link-before-libc) and
32740         $(+link-after-libc).
32741         [!+link-static] (+link-static-before-libc): New variable.
32742         [!+link-static] (+link-static-after-libc): Likewise.
32743         [!+link-static] (+link-static-tests): Likewise.
32744         [!+link-static] (+link-static): Define in terms of
32745         $(+link-static-before-libc) and $(+link-static-after-libc).
32746         [build-shared] (link-libc-before-gnulib): New variable.
32747         [build-shared] (link-libc-tests): Likewise.
32748         [build-shared] (link-libc): Define in terms of
32749         $(link-libc-before-gnulib).
32750         [!build-shared] (link-libc-tests): New variable.
32751         (link-libc-static-tests): New variable.
32752         [!gnulib] (gnulib-arch): New variable.
32753         [!gnulib] (gnulib-tests): Likewise.
32754         [!gnulib] (static-gnulib-arch): Likewise.
32755         [!gnulib] (static-gnulib-tests): Likewise.
32756         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
32757         Define with "=" instead of ":=".
32758         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
32759         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
32760         * Rules (binaries-all-notests): New variable.
32761         (binaries-all-tests): Likewise.
32762         (binaries-static-notests): Likewise.
32763         (binaries-static-tests): Likewise.
32764         (binaries-all): Define using $(binaries-all-notests) and
32765         $(binaries-all-tests).
32766         (binaries-static): Define using $(binaries-static-notests) and
32767         $(binaries-static-tests).
32768         (binaries-shared-tests): New variable.
32769         (binaries-shared-notests): Likewise.
32770         (binaries-shared): Remove variable.
32771         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32772         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32773         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32774         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32775         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32776         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32777         * elf/Makefile (sln-modules): New variable.
32778         (extra-objs): Add $(sln-modules:=.o).
32779         (ldconfig-modules): Add static-stubs.
32780         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32781         * elf/static-stubs.c: New file.
32782
32783         [BZ #14283]
32784         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32785         by 7 not 8 to examine high bit of fractional part.  Use volatile
32786         variables when splitting into final array of floats if
32787         __FLT_EVAL_METHOD__ != 0.
32788         * math/libm-test.inc (cos_test): Add another test.
32789         (sin_test): Likewise.
32790         * sysdeps/i386/fpu/libm-test-ulps: Update.
32791
32792         [BZ #14273]
32793         * math/libm-test.inc (cosh_test): Add more tests.
32794
32795         * version.h (RELEASE): Set to "development".
32796         (VERSION): Set to "2.16.90".
32797
32798 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
32799
32800         * NEWS: Update copyright. Remove last-updated date.
32801         Mention math library bug fixes and timezone data changes.
32802         * README: Mention GNU/Hurd, x32, and HPPA support status.
32803
32804 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
32805
32806         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32807
32808 2012-06-27  Andreas Jaeger  <aj@suse.de>
32809
32810         * manual/contrib.texi (Contributors): Add Samuel Thibault.
32811
32812 2012-06-25  Andreas Jaeger  <aj@suse.de>
32813
32814         * sysdeps/s390/fpu/libm-test-ulps: Update.
32815
32816 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
32817             Thomas Schwinge  <thomas@codesourcery.com>
32818
32819         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32820         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32821         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32822         fanotify_mark.
32823
32824 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
32825
32826         * sysdeps/mach/start.c: Remove file.
32827         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32828         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32829         * sysdeps/sh/init-first.c: Likewise.
32830
32831         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32832         registers for frame unwinding purposes, add CFI directives.
32833         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32834         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32835         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32836         Likewise.
32837
32838         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32839         __fortify_fail returning.
32840         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32841
32842         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32843         sysdeps/sh/____longjmp_chk.S.
32844         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32845         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32846         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32847         (gen-as-const-headers): Append sigaltstack-offsets.sym.
32848
32849         * sysdeps/sh/abort-instr.h: New file.
32850         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32851         process in case exit returns.
32852
32853         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32854         initialize the GOT register before use.
32855
32856         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32857         calculation of ARGC > 4.
32858
32859         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32860         meaningful names to some local labels.
32861
32862 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32863             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32864
32865         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32866         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32867         (__arch_compare_and_exchange_val_16_acq): Likewise.
32868         (__arch_compare_and_exchange_val_32_acq): Likewise.
32869         (atomic_exchange_and_add): Fix gUSA sequence.
32870         (atomic_add): Likewise.
32871         (atomic_add_negative): Likewise.
32872         (atomic_add_zero): Likewise.
32873         (atomic_bit_test_set): Likewise.
32874
32875 2012-06-22  Andreas Schwab  <schwab@redhat.com>
32876
32877         [BZ #13579]
32878         * include/link.h (struct link_map): Add l_free_initfini.
32879         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32880         l_initfini.
32881         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32882         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32883         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32884         set.
32885
32886 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
32887
32888         * configure.in: Use AC_LANG_SOURCE.
32889         * configure: Regenerate.
32890
32891 2012-06-22  Roland McGrath  <roland@hack.frob.com>
32892
32893         * configure.in (libc_cv_localstatedir): New substituted variable.
32894         * configure: Regenerated.
32895         * config.make.in (localstatedir): New variable, substituted from
32896         libc_cv_localstatedir.
32897         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32898         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32899         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32900         * sysdeps/gnu/configure: Regenerated.
32901
32902 2012-06-21  Jeff Law  <law@redhat.com>
32903
32904         [BZ #14277]
32905         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32906         free.  Simplify list management for _LIBC case.
32907
32908 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
32909
32910         [BZ #14273]
32911         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32912         Clear sign bit of 64-bit integer value before comparing against
32913         overflow value.
32914
32915         * sysdeps/mach/configure: Regenerated.
32916
32917 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
32918
32919         [BZ #14278]
32920         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32921
32922 2012-06-21  Jeff Law  <law@redhat.com>
32923
32924         [BZ #13882]
32925         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
32926         uint16_t for elements in the "seen" array to avoid char overflows.
32927         * elf/dl-fini.c (_dl_sort_fini): Likewise.
32928         * elf/dl-open.c (dl_open_worker): Likewise.
32929
32930 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
32931
32932         * scripts/list-sources.sh: Scan PORTS for translations.
32933         * po/libc.pot: Regenerated.
32934
32935 2012-06-21  Andreas Jaeger  <aj@suse.de>
32936
32937         [BZ #12194]
32938         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32939         warning.
32940         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32941         * bits/byteswap-16.h (__bswap_16): Likewise.
32942         * bits/byteswap.h (__bswap_constant_16): Likewise.
32943
32944 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
32945
32946         [BZ #14117]
32947         * sysdeps/i386/fpu_control.h: Removed.
32948         * sysdeps/x86_64/fpu_control.h: Moved to ...
32949         * sysdeps/x86/fpu_control.h: Here.
32950
32951         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32952         (_FPU_SETCW): Likewise.
32953
32954 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
32955
32956         [BZ #14117]
32957         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32958         * sysdeps/x86/fpu/bits/mathinline.h: This.
32959         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32960
32961         [BZ #14050]
32962         [BZ #14117]
32963         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32964         functions if __x86_64__ is defined.
32965
32966 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
32967
32968         * string/endian.h: Add !__ASSEMBLER__ condition for including
32969         conversion interfaces.
32970
32971 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
32972
32973         [BZ #14241]
32974         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32975         of ABS(x) in calculating zero to negative powers other than odd
32976         integers.
32977         * math/libm-test.inc (pow_test): Add more tests.
32978
32979 2012-06-15  Andreas Jaeger  <aj@suse.de>
32980
32981         * manual/contrib.texi (Contributors): Update entry of Liubov
32982         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32983         Machado Filho.
32984
32985 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
32986
32987         * string/string.h: Add __wur to GNU version of strerror_r.
32988
32989 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
32990
32991         [BZ #14229]
32992         * string/Makefile (tests): Add tst-strtok_r.
32993         * string/tst-strtok_r.c: New file.
32994         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32995         RAX_LP/RDX_LP on SAVE_PTR.
32996
32997 2012-06-14  Roland McGrath  <roland@hack.frob.com>
32998
32999         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33000
33001 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
33002
33003         * libm_test.inc (csqrt_test): Allow more spurious underflow
33004         exceptions.
33005         (j0_test): Likewise.
33006         (j1_test): Likewise.
33007         (y0_test): Likewise.
33008         (y1_test): Likewise.
33009
33010 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
33011
33012         * po/Makefile (libc.pot): Use UTF-8 charset.
33013
33014 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
33015
33016         [BZ #14210]
33017         Suppress sign-conversion warning from FD_SET.
33018         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33019         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33020         not unsigned long int.
33021         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33022
33023 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
33024
33025         [BZ #14050]
33026         [BZ #14117]
33027         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33028         __extern_always_inline instead of __extern_inline.
33029         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33030         (__signbit): Likewise.
33031         (__signbitl): Support C++ namespace.
33032         (lrintf): New inline function.
33033         (lrint): Likewise.
33034         (llrintf): Likewise.
33035         (llrint): Likewise.
33036         (fmaxf): Likewise.
33037         (fmax): Likewise.
33038         (fminf): Likewise.
33039         (fmin): Likewise.
33040         (rint): Likewise.
33041         (rintf): Likewise.
33042         (ceil): Likewise.
33043         (ceilf): Likewise.
33044         (floor): Likewise.
33045         (floorf): Likewise.
33046         (nearbyint): Likewise.
33047         (nearbyintf): Likewise.
33048
33049 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
33050
33051         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33052         non-default versions.
33053
33054 2012-06-11  Roland McGrath  <roland@hack.frob.com>
33055
33056         [BZ #14218]
33057         * manual/argp.texi (Argp): Reword argp_parse description slightly.
33058
33059 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
33060
33061         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33062         (FE_UPWARD, FE_DOWNWARD): Don't define.
33063         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33064         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33065
33066         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33067         reading it.
33068         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33069         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33070
33071 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33072
33073         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33074         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33075         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33076         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33077
33078 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
33079
33080         [BZ #14117]
33081         * sysdeps/i386/fpu/bits/fenv.h: Removed.
33082         * sysdeps/i386/fpu/Implies: New file.
33083         * sysdeps/x86_64/fpu/Implies: Likewise.
33084         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33085         * sysdeps/x86/fpu/bits/fenv.h: This.
33086
33087         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33088         __SSE_MATH__.
33089
33090 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33091
33092         [BZ #14134]
33093         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33094         character 0xffff that matches the last element of the
33095         conversion table.
33096
33097 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33098
33099         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33100         fmodl commit.
33101
33102 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33103
33104         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33105         values higher than 25.6283.
33106
33107 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33108
33109         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33110         subnormal exponent extraction and add some __builtin_expect.
33111         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33112         Fix for subnormal mantissa calculation.
33113
33114 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
33115
33116         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33117         cpu2 is -1 and errno is not ENOSYS.
33118
33119 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
33120
33121         [BZ #14117]
33122         * sysdeps/i386/i486/bits/string.h: Renamed to ...
33123         * sysdeps/x86/bits/string.h: This.
33124         * sysdeps/x86_64/bits/string.h: Removed.
33125
33126         * sysdeps/i386/i486/bits/string.h: Define inline functions only
33127         if not compiling for x86-64, but compiling for >= i486.
33128
33129         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33130         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33131
33132         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33133         New macro from Linux kernel 3.4.0.
33134         (FP_XSTATE_MAGIC2): Likewise.
33135         (FP_XSTATE_MAGIC2_SIZE): Likewise.
33136         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33137         (struct _fpx_sw_bytes): New struct.
33138         (struct _xsave_hdr): Likewise.
33139         (struct _ymmh_state): Likewise.
33140         (struct _xstate): Likewise.
33141
33142         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33143         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33144         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33145         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33146         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33147         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33148
33149         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33150         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33151         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33152         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33153         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33154         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33155
33156 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33157
33158         [BZ #13743]
33159         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33160         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33161         (sysdep_headers): Include sys/platform/ppc.h.
33162         * sysdeps/powerpc/test-gettimebase.c: Test for
33163         __ppc_get_timebase() to catch future ISA opcode/insn changes.
33164         * manual/Makefile (appendices): Include platform.texi.
33165         * manual/contrib.texi (Contributors): Update @node pointers.
33166         * manual/maint.texi (Maintenance): Likewise.
33167         (Platform): New node.
33168         * manual/platform.texi: New file.  Document the new features.
33169
33170 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33171             Jakub Jelinek  <jakub@redhat.com>
33172
33173         [BZ #14188]
33174         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33175         where __builtin_expect is unavailable.
33176
33177 2012-06-03  David S. Miller  <davem@davemloft.net>
33178
33179         * stdlib/longlong.h: Updated from GCC.
33180
33181 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
33182
33183         [BZ #14042]
33184         * sysdeps/powerpc/powerpc32/mcount.c: New file.
33185         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33186         __mcount_internal.
33187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33188         (GLIBC_2.16): Likewise.
33189
33190 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33191
33192         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33193
33194 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33195
33196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33197         (default-abi): New variable.
33198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33199         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33200         variable.
33201         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33202         Likewise.
33203         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33204         Likewise.
33205         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33206         Likewise.
33207
33208         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33209         definition.  Document in comment.
33210
33211 2012-06-01  David S. Miller  <davem@davemloft.net>
33212
33213         * stdlib/longlong.h: Updated from GCC.
33214
33215 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33216
33217         [BZ #14117]
33218         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33219         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33220         sys/debugreg.h sys/io.h here.
33221         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33222         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33223         sys/io.h.
33224         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33225         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33226         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33227         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33228         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33229         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33230
33231         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33232         Define only if __x86_64__ is defined.
33233
33234 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33235
33236         [BZ #14048]
33237         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33238         Use int64_t for variable i.
33239         * math/libm-test.inc (fmod_test): Add more tests.
33240
33241         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33242         z computation is not scheduled after fetestexcept.
33243         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33244         Use math_force_eval instead of asm to ensure calculation scheduled
33245         before exception test.
33246         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33247         Ensure a1 + u.d computation is not scheduled after fetestexcept.
33248
33249 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
33250
33251         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33252         computation is not scheduled after fetestexcept.
33253
33254 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33255
33256         [BZ #14117]
33257         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33258         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33259
33260 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33261
33262         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33263         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33264
33265 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33266
33267         [BZ #14117]
33268         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33269         <bits/wordsize.h>.
33270         (__WCHAR_MIN): Support __WORDSIZE == 64.
33271         (__WCHAR_MAX): Likewise.
33272
33273         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33274         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33275
33276         [BZ #14183]
33277         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33278         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33279
33280         [BZ #14117]
33281         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33282         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33283
33284         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33285         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33286
33287         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33288         Defined to 1 if __x86_64__ isn't defined.
33289         (_STAT_VER_LINUX_OLD): New.
33290         (st_atime): Remove duplicate.
33291         (st_mtime): Likewise.
33292         (st_ctime): Likewise.
33293
33294 2012-05-31  David S. Miller  <davem@davemloft.net>
33295
33296         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33297         entries.
33298
33299 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
33300
33301         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33302         gen-libm-test.pl.
33303
33304         [BZ #14132]
33305         * elf/dl-reloc.c: Include <_itoa.h>.
33306         (_dl_reloc_bad_type): Remove use of INTUSE.
33307         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33308         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33309         * stdio-common/psiginfo.c (psiginfo): Likewise.
33310         * stdio-common/psignal.c (psignal): Likewise.
33311         * string/strsignal.c (strsignal): Likewise.
33312         * include/signal.h (_sys_siglist): Declare hidden proto.
33313         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
33314         INTVARDEF with libc_hidden_data_def.
33315         * stdio-common/itoa-udigits.c: Likewise.
33316         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33317         (_itoa_lower_digits_internal): Remove declaration.
33318         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33319         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33320         (_sys_sigabbrev_internal): Remove aliases.
33321         (_sys_siglist): Define hidden alias.
33322
33323 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
33324
33325         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33326         bits/sysctl.h.
33327
33328 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33329
33330         [BZ #14117]
33331         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33332         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33333
33334         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33335         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33336         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33337         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33338         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33339         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33340
33341         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33342         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33343         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33344
33345         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33346         with __addr.
33347         (insw): Likewise.
33348         (insl): Likewise.
33349         (outsb): Likewise.
33350         (outsw): Likewise.
33351         (outsl): Likewise.
33352
33353         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33354         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33355         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33356
33357         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33358         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33359         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33360         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33361         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33362         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33363
33364         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33365         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33366
33367         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33368         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33369
33370         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33371         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33372         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33373
33374         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33375         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33376         to ...
33377         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33378
33379         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33380         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33381         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33382
33383         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33384         for x86-64.
33385         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33386
33387 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
33388
33389         * math/math.h (M_El): Use two more decimal places.
33390         (M_LOG2El): Likewise.
33391         (M_LOG10El): Likewise.
33392         (M_LN2l): Likewise.
33393         (M_LN10l): Likewise.
33394         (M_PIl): Likewise.
33395         (M_PI_2l): Likewise.
33396         (M_PI_4l): Likewise.
33397         (M_1_PIl): Likewise.
33398         (M_2_PIl): Likewise.
33399         (M_2_SQRTPIl): Likewise.
33400         (M_SQRT2l): Likewise.
33401         (M_SQRT1_2l): Likewise.
33402
33403 2012-05-31  David S. Miller  <davem@davemloft.net>
33404
33405         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33406         values between float registers.
33407         * sysdeps/sparc/sparc64/memset.S: Likewise.
33408         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33409
33410 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
33411
33412         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33413         -D_FORTIFY_SOURCE=1.
33414         (CPPFLAGS-tst-longjmp_chk.c): Define.
33415         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33416         (CPPFLAGS-tst-longjmp_chk2.c): Define.
33417         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33418         CFLAGS-tst-wchar-h.c.
33419
33420 2012-05-31  Marek Polacek  <polacek@redhat.com>
33421
33422         [BZ #14132]
33423         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33424         __endmntent_internal): Remove declaration.
33425         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33426         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33427         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33428
33429 2012-05-30  David S. Miller  <davem@davemloft.net>
33430
33431         * sysdeps/sparc/sparc32/soft-fp/q_util.c
33432         (___Q_simulate_exceptions): Use real FP ops rather than writing
33433         into the %fsr.
33434         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33435         Likewise.
33436
33437 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33438
33439         [BZ #14117]
33440         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33441         * sysdeps/x86/bits/xtitypes.h: This.
33442
33443         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33444         * sysdeps/x86/bits/wordsize.h: This.
33445
33446         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33447         * sysdeps/x86/bits/huge_vall.h: This.
33448
33449         * sysdeps/i386/bits/select.h: Removed.
33450         * sysdeps/x86_64/bits/select.h: Renamed to ...
33451         * sysdeps/x86/bits/select.h: This.
33452
33453         * sysdeps/i386/bits/setjmp.h: Removed.
33454         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33455         * sysdeps/x86/bits/setjmp.h: This.
33456
33457         * sysdeps/i386/bits/mathdef.h: Removed.
33458         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33459         * sysdeps/x86/bits/mathdef.h: This.
33460
33461 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
33462
33463         [BZ #14132]
33464         * include/sys/socket.h (__connect_internal)
33465         (__libc_sa_len_internal): Remove declaration.
33466         (__connect, __libc_sa_len): Declare hidden_proto.
33467         (SA_LEN): Remove use of INTUSE.
33468         * socket/connect.c: Add libc_hidden_def.
33469         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33470         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33471         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33472         alias.
33473         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33474         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33475         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33476         of adding _internal alias.
33477
33478 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33479
33480         [BZ #14117]
33481         * sysdeps/i386/bits/link.h: Removed.
33482         * sysdeps/i386/bits/linkmap.h: Likewise.
33483         * sysdeps/x86_64/bits/link.h: Renamed to ...
33484         * sysdeps/x86/bits/link.h: This.
33485         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33486         * sysdeps/x86/bits/linkmap.h: This.
33487
33488         * sysdeps/i386/bits/endian.h: Removed.
33489         * sysdeps/x86_64/bits/endian.h: Renamed to ...
33490         * sysdeps/x86/bits/endian.h: This.
33491
33492         * sysdeps/i386/bits/byteswap.h: Removed.
33493         * sysdeps/i386/bits/byteswap-16.h: Likewise.
33494         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33495         * sysdeps/x86/bits/byteswap.h: This.
33496         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33497         * sysdeps/x86/bits/byteswap-16.h: This.
33498         * sysdeps/i386/Implies: Add x86.
33499         * sysdeps/x86_64/Implies: Likewise.
33500
33501 2012-05-30  David S. Miller  <davem@davemloft.net>
33502
33503         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33504         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33505         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33506         (FP_TRAPPING_EXCEPTIONS): Define.
33507         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33508         (FP_TRAPPING_EXCEPTIONS): Define.
33509         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33510         subnormals only when inexact has been signalled or underflow
33511         exceptions are enabled.
33512         (_FP_PACK_CANONICAL): Likewise.
33513
33514 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33515
33516         [BZ #14183]
33517         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33518         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33519
33520 2012-05-30  Richard Henderson  <rth@twiddle.net>
33521
33522         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33523         with #ifndef NOT_IN_libc.
33524
33525         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
33526         marked to avoid plt entry.
33527
33528 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33529
33530         [BZ #14112]
33531         * Makeconfig (default-abi): New macro.
33532         (abi-includes): Likewise.
33533         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
33534         $(abi-$(default-abi)-lib-soname) for soname if defined.
33535         ($(common-objpfx)gnu/lib-names.stmp): Generate from
33536         abi-variants.
33537         * Makefile (installed-stubs): Likewise.
33538         * include/stubs-biarch.h: Removed.
33539         * scripts/lib-names.awk: Only handle one library at a time.
33540         * scripts/soversions.awk: Remove WORDSIZE support.
33541         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33542         entries.
33543         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33544         Removed.
33545         (syscall-list-default-condition): Likewise.
33546         (syscall-list-default-condition): Likewise.
33547         (syscall-list-includes): Likewise.
33548         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33549         syscall-list-* with abi-*.  Handle undefined abi-variants.
33550         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33551         * sysdeps/unix/sysv/linux/i386/Implies: New file.
33552         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33553         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33554         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33555         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33556         Removed.
33557         (syscall-list-32-options): Likewise.
33558         (syscall-list-32-condition): Likewise.
33559         (syscall-list-64-options): Likewise.
33560         (syscall-list-64-condition): Likewise.
33561         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33562         macro.
33563         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33564         Renamed to ...
33565         (abi-*): This.
33566         (abi-64-ld-soname): New macro.
33567         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33568         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33569         Renamed to ...
33570         (abi-*): This.
33571         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33572         * sysdeps/x86_64/x32/shlib-versions: Likewise.
33573
33574 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
33575
33576         * sysdeps/unix/sysv/linux/kernel-features.h
33577         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33578         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33579         include <kernel-features.h>.
33580         [!__NR_ftruncate64]: Remove conditional code.
33581         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33582         [__NR_ftruncate64]: Make code unconditional.
33583         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33584         * sysdeps/unix/sysv/linux/truncate64.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/powerpc/powerpc32/ftruncate64.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/truncate64.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
33603         * configure.in (libc_cv_fpie): Weaken to a compile test using
33604         LIBC_TRY_CC_OPTION.
33605         * configure: Regenerated.
33606
33607 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33608
33609         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33610         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33611         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33612         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33613         Refreshed.
33614         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33615         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33616         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33617         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33618         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33619         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33620         Refreshed.
33621
33622 2012-05-27  David S. Miller  <davem@davemloft.net>
33623
33624         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33625         (___Q_zero): New.
33626         (__Q_simulate_exceptions): Return void.  Change to simulate
33627         exceptions by writing into the %fsr.
33628         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33629         (__Qp_handle_exceptions): Likewise.
33630         (numbers): Delete.
33631         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33632         __Qp_handle_exceptions.
33633         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33634         __Qp_handle_exceptions.
33635         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33636         as unused and give dummy FP_RND_NEAREST initializer.
33637         (FP_INHIBIT_RESULTS): Define.
33638         (___Q_simulate_exceptions): Update declaration.
33639         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33640         formatting.
33641         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33642         as unused and give dummy FP_RND_NEAREST initializer.
33643         (__Qp_handle_exceptions): Update declaration.
33644         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33645         formatting.
33646
33647 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
33648
33649         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33650         the temporary FPU control word.
33651         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33652         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33653         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33654         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33655         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33656         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33657         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33658         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33659         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33660         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33661         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33662
33663 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33664
33665         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33666         fields.
33667
33668 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
33669
33670         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33671         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33672         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33673         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33674         Likewise.
33675         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33676         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33677         Likewise.
33678
33679 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
33680
33681         * po/h.po: Update from translation team.
33682
33683 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
33684
33685         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33686
33687         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33688         handling of denormals.
33689         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33690         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33691         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33692         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33693         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33694         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33695         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33696         Likewise.
33697
33698 2012-05-26  Marek Polacek  <polacek@redhat.com>
33699
33700         [BZ #14152]
33701         * math/libm-test.inc (fma_test): Don't always expect underflow
33702         exception.
33703
33704 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33705
33706         [BZ #12416]
33707         * elf/tst-execstack.c: Include stackinfo.h.
33708         (do_test): Adjust test case to ensure that pthread_getattr_np
33709         behaviour remains the same after marking stack executable.
33710
33711 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
33712
33713         * sysdeps/unix/sysv/linux/kernel-features.h
33714         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33715         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33716         kernel-features.h.
33717         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33718         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33719         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33720         kernel-features.h.
33721         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33722         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33723
33724 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
33725
33726         * configure.in: Define the default includes to being none.
33727         * configure: Regenerated.
33728
33729 2012-05-25  Roland McGrath  <roland@hack.frob.com>
33730
33731         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33732         * sysdeps/x86_64/setjmp.S: Likewise.
33733         * sysdeps/i386/bsd-setjmp.S: Likewise.
33734         * sysdeps/i386/bsd-_setjmp.S: Likewise.
33735         * sysdeps/i386/setjmp.S: Likewise.
33736         * sysdeps/i386/__longjmp.S: Likewise.
33737         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33738         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33739
33740         * include/stap-probe.h: New file.
33741         * configure.in: Handle --enable-systemtap.
33742         * configure: Regenerated.
33743         * config.h.in (USE_STAP_PROBE): New #undef.
33744         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33745         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33746         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33747
33748 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
33749
33750         [BZ #13717]
33751         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33752         to 2.4.0 where earlier.
33753         * sysdeps/unix/sysv/linux/configure: Regenerated.
33754         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33755         <kernel-features.h>.
33756         [__ASSUME_32BITUIDS]: Make code unconditional.
33757         [!__ASSUME_32BITUIDS]: Remove conditional code.
33758         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33759         <kernel-features.h>.
33760         [__ASSUME_32BITUIDS]: Make code unconditional.
33761         [!__ASSUME_32BITUIDS]: Remove conditional code.
33762         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33763         [__ASSUME_32BITUIDS]: Make code unconditional.
33764         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33765         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33766         <kernel-features.h>.
33767         [__ASSUME_32BITUIDS]: Make code unconditional.
33768         [!__ASSUME_32BITUIDS]: Remove conditional code.
33769         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33770         <kernel-features.h>.
33771         [__ASSUME_32BITUIDS]: Make code unconditional.
33772         [!__ASSUME_32BITUIDS]: Remove conditional code.
33773         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33774         <kernel-features.h>.
33775         [__ASSUME_32BITUIDS]: Make code unconditional.
33776         [!__ASSUME_32BITUIDS]: Remove conditional code.
33777         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33778         <kernel-features.h>.
33779         [__ASSUME_32BITUIDS]: Make code unconditional.
33780         [!__ASSUME_32BITUIDS]: Remove conditional code.
33781         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33782         <kernel-features.h>.
33783         [__ASSUME_32BITUIDS]: Make code unconditional.
33784         [!__ASSUME_32BITUIDS]: Remove conditional code.
33785         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33786         <kernel-features.h>.
33787         [__ASSUME_32BITUIDS]: Make code unconditional.
33788         [!__ASSUME_32BITUIDS]: Remove conditional code.
33789         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33790         <kernel-features.h>.
33791         [__ASSUME_32BITUIDS]: Make code unconditional.
33792         [!__ASSUME_32BITUIDS]: Remove conditional code.
33793         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33794         <kernel-features.h>.
33795         [__ASSUME_32BITUIDS]: Make code unconditional.
33796         [!__ASSUME_32BITUIDS]: Remove conditional code.
33797         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33798         <kernel-features.h>.
33799         [__ASSUME_32BITUIDS]: Make code unconditional.
33800         [!__ASSUME_32BITUIDS]: Remove conditional code.
33801         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33802         <kernel-features.h>.
33803         [__ASSUME_32BITUIDS]: Make code unconditional.
33804         [!__ASSUME_32BITUIDS]: Remove conditional code.
33805         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33806         <kernel-features.h>.
33807         [__NR_setresgid] (__setresgid): Do not declare.
33808         [__ASSUME_32BITUIDS]: Make code unconditional.
33809         [!__ASSUME_32BITUIDS]: Remove conditional code.
33810         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33811         <kernel-features.h>.
33812         [__NR_setresuid] (__setresuid): Do not declare.
33813         [__ASSUME_32BITUIDS]: Make code unconditional.
33814         [!__ASSUME_32BITUIDS]: Remove conditional code.
33815         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
33816         <kernel-features.h>.
33817         [__ASSUME_32BITUIDS]: Make code unconditional.
33818         [!__ASSUME_32BITUIDS]: Remove conditional code.
33819         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
33820         <kernel-features.h>.
33821         [__ASSUME_32BITUIDS]: Make code unconditional.
33822         [!__ASSUME_32BITUIDS]: Remove conditional code.
33823         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
33824         <kernel-features.h>.
33825         [__ASSUME_32BITUIDS]: Make code unconditional.
33826         [!__ASSUME_32BITUIDS]: Remove conditional code.
33827         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
33828         <kernel-features.h>.
33829         [__ASSUME_32BITUIDS]: Make code unconditional.
33830         [!__ASSUME_32BITUIDS]: Remove conditional code.
33831         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
33832         <kernel-features.h>.
33833         [__ASSUME_32BITUIDS]: Make code unconditional.
33834         [!__ASSUME_32BITUIDS]: Remove conditional code.
33835         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
33836         <kernel-features.h>.
33837         [__ASSUME_32BITUIDS]: Make code unconditional.
33838         [!__ASSUME_32BITUIDS]: Remove conditional code.
33839         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33840         <kernel-features.h>.
33841         [__ASSUME_32BITUIDS]: Make code unconditional.
33842         [!__ASSUME_32BITUIDS]: Remove conditional code.
33843         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33844         <kernel-features.h>.
33845         [__ASSUME_32BITUIDS]: Make code unconditional.
33846         [!__ASSUME_32BITUIDS]: Remove conditional code.
33847         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33848         <kernel-features.h>.
33849         [__ASSUME_32BITUIDS]: Make code unconditional.
33850         [!__ASSUME_32BITUIDS]: Remove conditional code.
33851         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33852         <kernel-features.h>.
33853         [__ASSUME_32BITUIDS]: Make code unconditional.
33854         [!__ASSUME_32BITUIDS]: Remove conditional code.
33855         * sysdeps/unix/sysv/linux/kernel-features.h
33856         (__ASSUME_SETRESUID_SYSCALL): Remove.
33857         (__ASSUME_SETRESGID_SYSCALL): Likewise.
33858         (__ASSUME_32BITUIDS): Likewise.
33859         (__ASSUME_LDT_WORKS): Likewise.
33860         (__ASSUME_O_DIRECTORY): Likewise.
33861         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33862         architecture but not kernel version.
33863         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33864         (__ASSUME_MMAP2_SYSCALL): Likewise.
33865         (__ASSUME_STAT64_SYSCALL): Likewise.
33866         (__ASSUME_IPC64): Likewise.
33867         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33868         <kernel-features.h>.
33869         [__ASSUME_32BITUIDS]: Make code unconditional.
33870         [!__ASSUME_32BITUIDS]: Remove conditional code.
33871         * sysdeps/unix/sysv/linux/opendir.c: Do not include
33872         <kernel-features.h>.
33873         [__ASSUME_O_DIRECTORY]: Make code unconditional.
33874         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33875         132096]: Remove conditional code.
33876         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33877         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33878         <kernel-features.h>.
33879         [__ASSUME_32BITUIDS]: Make code unconditional.
33880         [!__ASSUME_32BITUIDS]: Remove conditional code.
33881         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33882         <kernel-features.h>.
33883         [__ASSUME_32BITUIDS]: Make code unconditional.
33884         [!__ASSUME_32BITUIDS]: Remove conditional code.
33885         * sysdeps/unix/sysv/linux/setegid.c: Do not include
33886         <kernel-features.h>.
33887         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33888         unconditional.
33889         (__setresgid): Do not declare.
33890         [__ASSUME_32BITUIDS]: Make code unconditional.
33891         [!__ASSUME_32BITUIDS]: Remove conditional code.
33892         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33893         <kernel-features.h>.
33894         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33895         unconditional.
33896         (__setresuid): Do not declare.
33897         [__ASSUME_32BITUIDS]: Make code unconditional.
33898         [!__ASSUME_32BITUIDS]: Remove conditional code.
33899         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33900         <kernel-features.h>.
33901         [__ASSUME_32BITUIDS]: Make code unconditional.
33902         [!__ASSUME_32BITUIDS]: Remove conditional code.
33903         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33904         <kernel-features.h>.
33905         [__ASSUME_32BITUIDS]: Make code unconditional.
33906         [!__ASSUME_32BITUIDS]: Remove conditional code.
33907
33908 2012-05-25  Richard Henderson  <rth@twiddle.net>
33909
33910         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33911         dl_hwcap to ifunc resolver.
33912         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33913         elf_ifunc_invoke.
33914         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33915         dl_hwcap to ifunc resolver.
33916         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33917
33918 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33919
33920         [BZ #14153]
33921         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33922         for |x| <= 2**-26, not 2**-57.
33923         * math/libm-test.inc (acos_test): Do not allow spurious underflow
33924         exception.
33925
33926 2012-05-24  Jeff Law  <law@redhat.com>
33927
33928         * stdio-common/Makefile (tests): Add bug25.
33929         * stdio-common/bug25.c: New test.
33930
33931 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
33932
33933         [BZ #13576]
33934         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33935         multiple of MALLOC_ALIGNMENT in size.
33936         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33937
33938 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33939
33940         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33941         Require >= 256.
33942         (FILENAME_MAX): Use macro-int-constant.
33943         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
33944         (_IOFBF): Use macro-int-constant.
33945         (_IOLBF): Likewise.
33946         (_IONBF): Likewise.
33947         (SEEK_CUR): Likewise.
33948         (SEEK_END): Likewise.
33949         (SEEK_SET): Likewise.
33950         (TMP_MAX): Likewise.
33951         (EOF): Use macro-int-constant.  Require < 0.
33952         (NULL): Use macro-constant.  Require == 0.
33953         (stdin): Require type to be FILE *.
33954         (stdout): Likewise.
33955         (stderr): Likewise.
33956         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33957         macro-int-constant.
33958         (EXIT_SUCCESS): Likewise.
33959         (NULL): Use macro-constant.  Require == 0.
33960         (RAND_MAX): Use macro-int-constant.
33961         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33962         [C99-based standards] (strtof): Require function.
33963         [C99-based standards] (strtold): Likewise.
33964         [C99-based standards] (strtoll): Likewise.
33965         [C99-based standards] (strtoull): Likewise.
33966         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33967         [ISO || ISO99 || ISO11] (limits.h): Likewise.
33968         [ISO || ISO99 || ISO11] (math.h): Likewise.
33969         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33970         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33971         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33972
33973 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
33974
33975         [BZ #14132]
33976         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33977         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33978         * intl/dgettext.c (DCGETTEXT): Likewise.
33979         * intl/gettext.c (DCGETTEXT): Likewise.
33980         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33981         * posix/regex_internal.h (gettext): Likewise.
33982         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33983         Remove declaration.
33984         * include/argz.h (__argz_count_internal)
33985         (__argz_stringify_internal): Remove declaration.
33986         (__argz_count, __argz_stringify): Declare hidden proto.
33987         * intl/dcgettext.c: Remove use of INTDEF.
33988         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33989         * string/argz-stringify.c: Likewise.
33990         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33991         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33992         Declare hidden proto.
33993         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33994         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33995         Declare hidden proto.
33996         * include/stdio.h (__asprintf_internal): Don't declare.
33997         (__asprintf): Don't define as macro.  Declare hidden proto.
33998         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33999         (__fsetlocking): Declare hidden proto.
34000         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34001         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34002         hidden proto.
34003         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34004         (_IO_setlinebuf): Remove use of INTUSE.
34005         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34006         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34007         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34008         Remove declaration.
34009         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34010         (_IO_do_flush): Remove use of INTUSE.
34011         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34012         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34013         (_IO_adjust_column, _IO_least_wmarker)
34014         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34015         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34016         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34017         (_IO_default_doallocate, _IO_wdefault_doallocate)
34018         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34019         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34020         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34021         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34022         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34023         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34024         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34025         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34026         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34027         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34028         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34029         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34030         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34031         proto.
34032         (_IO_flush_all_internal, _IO_adjust_column_internal)
34033         (_IO_default_uflow_internal, _IO_default_finish_internal)
34034         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34035         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34036         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34037         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34038         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34039         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34040         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34041         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34042         (_IO_file_close_internal, _IO_file_close_it_internal)
34043         (_IO_file_underflow_internal, _IO_file_overflow_internal)
34044         (_IO_file_init_internal, _IO_file_attach_internal)
34045         (_IO_file_fopen_internal, _IO_file_read_internal)
34046         (_IO_file_sync_internal, _IO_file_seek_internal)
34047         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34048         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34049         (_IO_str_underflow_internal, _IO_str_overflow_internal)
34050         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34051         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34052         (_IO_list_all_internal, _IO_link_in_internal)
34053         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34054         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34055         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34056         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34057         (_IO_do_write_internal, _IO_padn_internal)
34058         (_IO_getline_info_internal, _IO_getline_internal)
34059         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34060         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34061         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34062         (_IO_vfscanf_internal, _IO_vfprintf_internal)
34063         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34064         (_IO_init_internal, _IO_un_link_internal): Don't declare.
34065         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34066         with libc_hidden_ver, remove use of INTUSE.
34067         * libio/genops.c: Likewise.
34068         * libio/freopen.c: Likewise.
34069         * libio/freopen64.c: Likewise.
34070         * libio/iofclose.c: Likewise.
34071         * libio/iofdopen.c: Likewise.
34072         * libio/iofflush.c: Likewise.
34073         * libio/iofflush_u.c: Likewise.
34074         * libio/iofgets.c: Likewise.
34075         * libio/iofgets_u.c: Likewise.
34076         * libio/iofopen.c: Likewise.
34077         * libio/iofopncook.c: Likewise.
34078         * libio/iofread.c: Likewise.
34079         * libio/iofread_u.c: Likewise.
34080         * libio/ioftell.c: Likewise.
34081         * libio/iofwrite.c: Likewise.
34082         * libio/iogetline.c: Likewise.
34083         * libio/iogets.c: Likewise.
34084         * libio/iogetwline.c: Likewise.
34085         * libio/iopadn.c: Likewise.
34086         * libio/iopopen.c: Likewise.
34087         * libio/ioseekoff.c: Likewise.
34088         * libio/ioseekpos.c: Likewise.
34089         * libio/iosetbuffer.c: Likewise.
34090         * libio/iosetvbuf.c: Likewise.
34091         * libio/ioungetc.c: Likewise.
34092         * libio/ioungetwc.c: Likewise.
34093         * libio/iovdprintf.c: Likewise.
34094         * libio/iovsprintf.c: Likewise.
34095         * libio/iovsscanf.c: Likewise.
34096         * libio/memstream.c: Likewise.
34097         * libio/obprintf.c: Likewise.
34098         * libio/oldfileops.c: Likewise.
34099         * libio/oldiofclose.c: Likewise.
34100         * libio/oldiofdopen.c: Likewise.
34101         * libio/oldiofopen.c: Likewise.
34102         * libio/oldiopopen.c: Likewise.
34103         * libio/oldstdfiles.c: Likewise.
34104         * libio/putc.c: Likewise.
34105         * libio/setbuf.c: Likewise.
34106         * libio/setlinebuf.c: Likewise.
34107         * libio/stdfiles.c: Likewise.
34108         * libio/strops.c: Likewise.
34109         * libio/vasprintf.c: Likewise.
34110         * libio/vscanf.c: Likewise.
34111         * libio/vsnprintf.c: Likewise.
34112         * libio/vswprintf.c: Likewise.
34113         * libio/wfiledoalloc.c: Likewise.
34114         * libio/wfileops.c: Likewise.
34115         * libio/wgenops.c: Likewise.
34116         * libio/wmemstream.c: Likewise.
34117         * libio/wstrops.c: Likewise.
34118         * libio/__fpurge.c: Likewise.
34119         * libio/__fsetlocking.c: Likewise.
34120         * assert/assert.c: Likewise.
34121         * debug/fgets_chk.c: Likewise.
34122         * debug/fgets_u_chk.c: Likewise.
34123         * debug/fread_chk.c: Likewise.
34124         * debug/fread_u_chk.c: Likewise.
34125         * debug/gets_chk.c: Likewise.
34126         * debug/obprintf_chk.c: Likewise.
34127         * debug/vasprintf_chk.c: Likewise.
34128         * debug/vdprintf_chk.c: Likewise.
34129         * debug/vsnprintf_chk.c: Likewise.
34130         * debug/vsprintf_chk.c: Likewise.
34131         * malloc/mtrace.c: Likewise.
34132         * misc/error.c: Likewise.
34133         * misc/syslog.c: Likewise.
34134         * stdio-common/asprintf.c: Likewise.
34135         * stdio-common/fxprintf.c: Likewise.
34136         * stdio-common/getw.c: Likewise.
34137         * stdio-common/isoc99_fscanf.c: Likewise.
34138         * stdio-common/isoc99_scanf.c: Likewise.
34139         * stdio-common/isoc99_vfscanf.c: Likewise.
34140         * stdio-common/isoc99_vscanf.c: Likewise.
34141         * stdio-common/isoc99_vsscanf.c: Likewise.
34142         * stdio-common/printf-prs.c: Likewise.
34143         * stdio-common/printf_fp.c: Likewise.
34144         * stdio-common/printf_fphex.c: Likewise.
34145         * stdio-common/printf_size.c: Likewise.
34146         * stdio-common/putw.c: Likewise.
34147         * stdio-common/scanf.c: Likewise.
34148         * stdio-common/sprintf.c: Likewise.
34149         * stdio-common/tmpfile.c: Likewise.
34150         * stdio-common/vfprintf.c: Likewise.
34151         * stdio-common/vfscanf.c: Likewise.
34152         * stdlib/strfmon_l.c: Likewise.
34153         * sunrpc/openchild.c: Likewise.
34154         * sunrpc/xdr_stdio.c: Likewise.
34155         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34156         * sysdeps/mach/hurd/tmpfile.c: Likewise.
34157
34158 2012-05-24  Roland McGrath  <roland@hack.frob.com>
34159
34160         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34161
34162         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34163         in the third column, to generate for the shared library an IFUNC
34164         that uses _dl_vdso_vsym.
34165         * Makerules (COMPILE.c, compile-stdin.c): New variables.
34166         * Makeconfig (object-suffixes-noshared): New variable.
34167
34168         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34169         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34170         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34171         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34172
34173         [BZ #14132]
34174         * include/sys/time.h (__gettimeofday): Remove macro.
34175         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34176         * time/gettimeofday.c (__gettimeofday): Remove #undef.
34177         Remove INTDEF.
34178         (__gettimeofday): Add libc_hidden_def.
34179         (gettimeofday): Add libc_hidden_weak.
34180         * sysdeps/mach/gettimeofday.c: Likewise.
34181         * sysdeps/posix/gettimeofday.c: Likewise.
34182         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34183         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34184         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34185         (__gettimeofday_internal): Remove strong_alias.
34186         (__gettimeofday): Add libc_hidden_def.
34187         (gettimeofday): Add libc_hidden_weak.
34188         * sysdeps/unix/syscalls.list (gettimeofday):
34189         Remove __gettimeofday_internal alias.
34190
34191 2012-05-24  Daniel Jacobowitz  <drow@false.org>
34192             H.J. Lu  <hongjiu.lu@intel.com>
34193
34194         [BZ #12495]
34195         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34196         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34197         (largebin_index_32_big): New.
34198         (largebin_index): Use it for 16-byte alignment.
34199         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
34200         correction with front_misalign.
34201
34202 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34203
34204         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34205         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34206         Likewise.
34207         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34208         Likewise.
34209         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34210         Likewise.
34211         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34212         Likewise.
34213         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34214         Likewise.
34215         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34216         Likewise.
34217         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34218         Likewise.
34219         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34220         Likewise.
34221         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34222         Likewise.
34223         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34224         Likewise.
34225         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34226         Likewise.
34227         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34228         Likewise.
34229
34230         * scripts/data/c++-types-x32-linux-gnu.data: New file.
34231         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34232
34233 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34234
34235         [BZ #10846]
34236         [BZ #14036]
34237         * math/libm-test.inc (exp_test): Add test from bug 14036.
34238         (pow_test): Add test from bug 10846.
34239
34240         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34241         and other flags.
34242         (special_function): Do not include flags in test name.
34243         (parse_args): Likewise.
34244         * sysdeps/i386/fpu/libm-test-ulps: Update.
34245         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34246         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34247         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34249
34250         * math/gen-libm-test.pl (%beautify): Add entries for underflow
34251         exceptions.
34252         * math/libm-test.inc ("Philosophy"): Update comment about
34253         exception testing.
34254         (UNDERFLOW_EXCEPTION): New macro.
34255         (UNDERFLOW_EXCEPTION_OK): Likewise.
34256         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34257         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34258         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34259         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34260         (INVALID_EXCEPTION_OK): Update value.
34261         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34262         (OVERFLOW_EXCEPTION_OK): Likewise.
34263         (IGNORE_ZERO_INF_SIGN): Likewise.
34264         (test_exceptions): Handle underflow exceptions.
34265         (acos_test): Update for underflow exception expectations.
34266         (cexp_test): Likewise.
34267         (clog_test): Likewise.
34268         (clog10_test): Likewise.
34269         (csqrt_test): Likewise.
34270         (ctan_test): Likewise.
34271         (ctanh_test): Likewise.
34272         (exp_test): Likewise.
34273         (exp10_test): Likewise.
34274         (exp2_test): Likewise.
34275         (expm1_test): Likewise.
34276         (fma_test): Likewise.
34277         (j0_test): Likewise.
34278         (jn_test): Likewise.
34279         (nexttoward_test): Likewise.
34280         (pow_test): Likewise.
34281         (scalbn_test): Likewise.
34282         (scalbln_test): Likewise.
34283         (tan_test): Likewise.
34284         (y1_test): Likewise.
34285         * sysdeps/i386/fpu/libm-test-ulps: Update.
34286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34287
34288 2012-05-23  David S. Miller  <davem@davemloft.net>
34289
34290         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34291         (__libc_sigaction): Remove unused local variables.
34292
34293 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34294
34295         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34296
34297 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
34298
34299         mktime: avoid signed integer overflow
34300         * time/mktime.c (__mktime_internal): Do not mishandle the case
34301         where diff == INT_MIN.
34302
34303         mktime: simplify computation of average
34304         * time/mktime.c (ranged_convert): Use new time_t_avg function
34305         instead of rolling our own (probably-slower) code.
34306
34307         mktime: do not assume signed right shift propagates sign bit
34308         * time/mktime.c (isdst_differ): New static function.
34309         (__mktime_internal): No need to normalize tm_isdst now.
34310         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34311         tm_isdst values.
34312
34313         mktime: merge another wrapv change from gnulib
34314         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34315         from some compilers.
34316
34317         mktime: remove incorrect attempt at unusual arithmetics
34318         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34319         The code didn't really work on such machines anyway.
34320         (TYPE_MINIMUM): Assume two's complement.
34321         (twos_complement_arithmetic): Verify that long_int and time_t
34322         are two's complement (or unsigned, in the latter case).
34323
34324         mktime: check signed shifts on long_int and time_t, too
34325         * time/mktime.c (SHR): Check that shifts work as desired
34326         on the types long_int and time_t too, as SHR is used on
34327         such types.
34328
34329         mktime: do not assume 'long' is wide enough
34330         * time/mktime.c (verify): Move decl up.
34331         (long_int): New type.
34332         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34333         to remove assumption in the code that 'long' is wide enough to
34334         store year values.  This assumption is not true on x32 and on
34335         some non-glibc platforms.
34336
34337         mktime: merge wrapv change from gnulib
34338         * time/mktime.c (WRAPV): New macro.
34339         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34340         (guess_time_tm, __mktime_internal): Do not assume that signed
34341         integer overflow wraps around; modern compilers generate code
34342         where this assumption is no longer valid.
34343
34344 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34345
34346         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34347         Replace "jmp L(pseudo_end)" with "ret".
34348         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34349         Likewise.
34350
34351 2012-05-23  Andreas Jaeger  <aj@suse.de>
34352
34353         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34354         * sysdeps/unix/sysv/linux/poll.c: Remove file.
34355
34356 2012-05-23  Andreas Jaeger  <aj@suse.de>
34357             Maximilian Attems  <max@stro.at>
34358
34359         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34360         New macros.
34361
34362 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34363
34364         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34365         code so that pseudo_end is just ret and the stack pointer is
34366         correct also for static library in error case.
34367
34368 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
34369
34370         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34371         move to syscalls.list.
34372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34376
34377         * manual/install.texi (Running make install): Do not mention Linux
34378         kernel version for which pt_chown is not needed.
34379         (Linux): Do not mention problems with nscd with 2.0 kernels.
34380         * INSTALL: Regenerated.
34381
34382 2012-05-23  Andreas Jaeger  <aj@suse.de>
34383
34384         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34385         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34386         macro.
34387         * sysdeps/unix/sysv/linux/s390/bits/mman.h
34388         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34389         * sysdeps/unix/sysv/linux/sh/bits/mman.h
34390         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34391         * sysdeps/unix/sysv/linux/i386/bits/mman.h
34392         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34393         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34394         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34395         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34396         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34397         * sysdeps/unix/sysv/linux/bits/in.h
34398         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34399
34400 2012-05-22  Roland McGrath  <roland@hack.frob.com>
34401
34402         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34403         (PREPARE_VERSION): Just use assert instead, it will be elided
34404         under [NDEBUG] anyway.
34405
34406 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34407
34408         * sysdeps/unix/sysv/linux/Makefile: Include
34409         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34410         (sysdep_routines): Remove sysctl.
34411         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34412         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34413         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34414         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34415         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34416
34417 2012-05-22  Andreas Jaeger  <aj@suse.de>
34418
34419         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34420         that pseudo_end is just ret and the stack pointer is correct also
34421         for static library in error case.
34422
34423 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
34424
34425         [BZ #14122]
34426         * nss/nsswitch.c (defconfig_entries): New variable.
34427         (__nss_database_lookup): Don't leak defconfig entries.
34428         (nss_parse_service_list): Don't leak on error paths.
34429         (free_database_entries): New function.
34430         (free_defconfig): New function.
34431         (free_mem): Move common code to free_database_entries.
34432
34433 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34434
34435         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34436         Add arch_prctl.
34437         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34438
34439         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34440         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34441         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34442         New macro.
34443         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34444         (INTERNAL_SYSCALL_TYPES): Likewise.
34445         (LOAD_ARGS_TYPES_[1-6]): Likewise.
34446         (LOAD_REGS_TYPES_[1-6]): Likewise.
34447         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34448         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34449
34450 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34451
34452         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34453         copysignl for GLIBC_2_0.
34454         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34455         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34456         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34457         logbl for GLIBC_2_0.
34458         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34459         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34460
34461 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34462
34463         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34464         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34465
34466         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34467         Use "neg %eax".
34468
34469         * time/mktime.c: Update copyright years.
34470
34471 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
34472
34473         mktime: merge comment-quoting-style change from gnulib
34474         * time/mktime.c: Quote 'like this' in comments.
34475         The GNU coding standards suggest that we no longer quote `like this',
34476         as "`" and "'" are typically rendered asymmetrically nowadays.
34477         The typical gnulib style is to quote 'like this' when quoting
34478         code, and "like this" when quoting English.
34479
34480         * time/mktime.c (compile-command): Add "-I.".
34481
34482         mktime: merge mktime-internal.h change from gnulib
34483         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34484
34485         mktime: merge time_r change from gnulib
34486         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34487
34488         mktime: merge DEBUG change from gnulib
34489         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34490         case system <time.h> has a #define.
34491
34492         mktime: merge <sys/types.h> change from gnulib
34493         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34494         since <time.t> is now guaranteed to define time_t.
34495
34496         mktime: merge HAVE_CONFIG_H change from gnulib
34497         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34498
34499 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34500
34501         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34502         Use "neg %eax".
34503
34504         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34505         __rlim_t cast.
34506         (struct rusage): Use anonymous union to pad each field to
34507         __syscall_slong_t.
34508
34509 2012-05-21  David S. Miller  <davem@davemloft.net>
34510
34511         * Makefules (o-iterator): Remove .s cases.
34512         (compile-command.s): Delete.
34513         (COMPILE.s): Delete.
34514         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34515
34516 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
34517
34518         * configure.in (libc_cv_predef_stack_protector): Only consider
34519         "foobar" and "__stack_chk_fail" lines in libc_undefs.
34520         * configure: Regenerated.
34521
34522 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34523
34524         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34525         New macro.  Use R*LP on int and pointer.
34526         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34527         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34528         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34529         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34530
34531         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34532         [__WORDSIZE_TIME64_COMPAT32] instead of
34533         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34534         (struct utmp): Likewise.
34535         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34536         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34537         Renamed to ...
34538         (__WORDSIZE_TIME64_COMPAT32): This.
34539         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34540         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34541         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34542         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34543         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34544         (__WORDSIZE_TIME64_COMPAT32): New macro.
34545
34546 2012-05-21  Andreas Jaeger  <aj@suse.de>
34547
34548         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34549         only if [SHARED]. Add prototype for __wcschr_ia32.
34550
34551 2012-05-21  Roland McGrath  <roland@hack.frob.com>
34552
34553         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34554         of %rbp unmolested in the jmp_buf while mangling the low bits.
34555         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34556         unmolested high bits of %rbp while demangling the low bits.
34557         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34558
34559 2012-05-21  Andreas Jaeger  <aj@suse.de>
34560
34561         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34562         * sunrpc/svc_simple.c: Use it for registerrpc.
34563         * sunrpc/xcrypt.c: Use it for passwd2des.
34564
34565         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34566
34567 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34568
34569         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34570         Don't define if [__SYSCALL_WORDSIZE != 32].
34571         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34572         New macro.
34573
34574 2012-05-21  Bruno Haible  <bruno@clisp.org>
34575             Andreas Jaeger  <aj@suse.de>
34576
34577         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34578         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34579         inptr and inend for must_buffer_ch.
34580         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34581         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34582         * stdio-common/Makefile (tests): Remove bug15.
34583         (bug15-ENV): Remove macro.
34584         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34585         anymore.
34586
34587 2012-05-19  Andreas Jaeger  <aj@suse.de>
34588             Roland McGrath  <roland@hack.frob.com>
34589
34590         * manual/contrib.texi: Completely rewritten. It contains now an
34591         alphabetical list of contributors and their contributions.
34592
34593 2012-05-21  Richard Henderson  <rth@twiddle.net>
34594
34595         * misc/getauxval.c (__getauxval): Use unsigned long int.
34596         * misc/sys/auxv.h: Include <sys/cdefs.h>.
34597         (getauxval): Use unsigned long int.
34598
34599 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34600
34601         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34602
34603 2012-05-21  Roland McGrath  <roland@hack.frob.com>
34604
34605         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34606         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34607         __alignof__ (long double).
34608
34609 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34610
34611         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34612
34613 2012-05-20  Richard Henderson  <rth@twiddle.net>
34614
34615         * misc/getauxval.c: New file.
34616         * misc/sys/auxv.h: New file.
34617         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34618         (routines): Add getauxval.
34619         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34620         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34621         * elf/dl-sysdep.c (_dl_auxv): Remove.
34622         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34623         * elf/dl-support.c (_dl_auxv): New variable.
34624         (_dl_aux_init): Initialize it.
34625         * manual/startup.texi (Auxiliary Vector): New node.
34626         * sysdeps/generic/bits/hwcap.h: New file.
34627         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34628         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
34629         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34630         * sysdeps/sparc/sysdep.h: ... here.  Include it.
34631         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34632         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34634         Update.
34635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34636         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34637         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34638         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34639         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34640         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34641         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34642         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34643
34644 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34645
34646         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34647
34648 2012-05-19  David S. Miller  <davem@davemloft.net>
34649
34650         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34651
34652 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
34653
34654         [BZ #14123]
34655         * math/s_ccosh.c: Include <float.h>
34656         (__ccosh): Avoid internal overflow calculating sinh and cosh
34657         values before multiplying by sin and cos values.
34658         * math/s_ccoshf.c: Likewise.
34659         * math/s_ccoshl.c: Likewise.
34660         * math/s_csin.c: Likewise.
34661         * math/s_csinf.c: Likewise.
34662         * math/s_csinl.c: Likewise.
34663         * math/s_csinh.c: Likewise.
34664         * math/s_csinhf.c: Likewise.
34665         * math/s_csinhl.c: Likewise.
34666         * math/libm-test.inc (ccos_test): Add more tests.
34667         (ccosh_test): Likewise.
34668         (csin_test): Likewise.
34669         (csinh_test): Likewise.
34670         * sysdeps/i386/fpu/libm-test-ulps: Update.
34671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34672
34673 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
34674
34675         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34676         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34677
34678         * sysdeps/x86_64/x32/_itoa.h: Add comment.
34679
34680 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
34681
34682         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34683         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34684         * sysdeps/powerpc/soft-fp/Versions: Likewise.
34685         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34686         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34687         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34688         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34689         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34690         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34691         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34692         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34693         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34694         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34695         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34696         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34697         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34698         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34699         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34700         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34701         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34702         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34703         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34704         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34705         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34706         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34707         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34708         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34709         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34710         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34711         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34712         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34713
34714 2012-05-18  Andreas Jaeger  <aj@suse.de>
34715
34716         * csu/.gitignore: Delete.
34717
34718 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34719
34720         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34721         (timex): Use __syscall_slong_t.
34722
34723 2012-05-18  Andreas Jaeger  <aj@suse.de>
34724             Carlos O'Donell  <carlos_odonell@mentor.com>
34725
34726         * manual/install.texi (Configuring and compiling): Update
34727         description about files modified in the source directory.
34728         * INSTALL: Regenerated.
34729
34730 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34731
34732         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34733         value.  Use "or" to set return value to -1.
34734         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34735         negate return value.
34736
34737 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34738
34739         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34740         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
34741         failure if the compiler has Graphite support disabled.
34742         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34743         Likewise.
34744         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34745         (CFLAGS-memmove.c): Likewise.
34746         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34747         Likewise.
34748
34749 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34750
34751         * sysdeps/x86_64/x32/_itoa.h: New file.
34752
34753         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34754         getdents system call only if kernel and user dirents have the
34755         same d_ino and d_off.
34756
34757         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34758         LLONG_MAX != LONG_MAX.
34759         (_itoa_word): Use _ITOA_WORD_TYPE on value.
34760         (_fitoa_word): Likewise.
34761
34762         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34763         years.
34764         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34765         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34766         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34767
34768         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34769         include <bits/wordsize.h>.  Check __x86_64__ instead of
34770         __WORDSIZE.
34771         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34772         if __x86_64__ is defined.  Use anonymous union on fpstate.
34773
34774         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34775         anonymous union.
34776
34777 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
34778
34779         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34780         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34781         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34782         Refer to _rtld_local_ro instead of _rtld_global_ro.
34783         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34784         Likewise.
34785         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34786         Likewise.
34787         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34788         Likewise.
34789         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34790         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34791         of _rtld_global, and rtld_progname instead of _dl_argv[0].
34792
34793         * sysdeps/powerpc/powerpc32/dl-machine.c
34794         (__elf_machine_runtime_setup) [PROF]: Don't reference
34795         _dl_prof_resolve.
34796
34797 2012-05-18  Andreas Jaeger  <aj@suse.de>
34798
34799         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34800         function only available for GCCs before 3.4 since GCC 3.4
34801         introduced a builtin.
34802         (lrint): Likewise.
34803         (llrintf): Likewise.
34804         (llrint): Likewise.
34805         (fmaxf): Likewise.
34806         (fmax): Likewise.
34807         (fminf): Likewise.
34808         (fmin): Likewise.
34809         (rint): Likewise.
34810         (rintf): Likewise.
34811         (nearbyint): Likewise.
34812         (nearbyintf): Likewise.
34813         (ceil): Likewise.
34814         (ceilf): Likewise.
34815         (floor): Likewise.
34816         (floorf): Likewise.
34817
34818 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34819
34820         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34821         on both fields and cast pointer to __syscall_ulong_t.
34822
34823         * bits/types.h (__fsword_t): New type.
34824         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34825         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34826         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34827         (__FSWORD_T_TYPE): Likewise.
34828         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34829         (__FSWORD_T_TYPE): Likewise.
34830         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34831         (__FSWORD_T_TYPE): Likewise.
34832         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34833         (__FSWORD_T_TYPE): Likewise.
34834         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34835         __SWORD_TYPE with __fsword_t.
34836         (statfs64): Likewise.
34837
34838 2012-05-17  David S. Miller  <davem@davemloft.net>
34839
34840         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34841
34842 2012-05-17  Andreas Jaeger  <aj@suse.de>
34843
34844         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34845         warning.
34846
34847 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34848
34849         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34850
34851 2012-05-17  Andreas Jaeger  <aj@suse.de>
34852
34853         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34854         when it is used.
34855
34856 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
34857
34858         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34859
34860 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34861
34862         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34863         * sysdeps/x86_64/tst-mallocalign1.c: New file.
34864
34865 2012-05-17  Andreas Jaeger  <aj@suse.de>
34866             Carlos O'Donell  <carlos_odonell@mentor.com>
34867
34868         [BZ #14059]
34869         * sysdeps/x86_64/multiarch/init-arch.h
34870         (bit_YMM_Usable): Rename to...
34871         (bit_AVX_Usable): ... this.
34872         (bit_FMA4_Usable): New macro.
34873         (bit_XMM_state): New macro.
34874         (bit_YMM_state): New macro.
34875         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34876         [__ASSEMBLER__] (index_AVX_Usable): ... this.
34877         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34878         (CPUID_OSXSAVE): New macro.
34879         (CPUID_AVX): New macro.
34880         (CPUID_FMA4): New macro.
34881         (index_YMM_Usable): Rename to...
34882         (index_AVX_Usable): ... this.
34883         (HAS_AVX): Use HAS_ARCH_FEATURE.
34884         (HAS_FMA4): Likewise.
34885         (HAS_YMM_USABLE): Remove.
34886         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34887         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34888         are present.
34889         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34890         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34891         * sysdeps/x86_64/multiarch/Makefile: Likewise.
34892         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34893         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34894
34895 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
34896
34897         * math/libm-test.c: Support platforms without multiple rounding modes.
34898         * math/bug-nextafter.c: Support platforms without FP exceptions.
34899         * math/bug-nexttoward.c: Likewise.
34900         * math/test-fenv.c: Likewise.
34901         * math/test-misc.c: Likewise.
34902         * stdlib/bug-getcontext.c: Likewise.
34903
34904 2012-05-17  Andreas Jaeger  <aj@suse.de>
34905
34906         * manual/examples/search.c (critter_cmp): Change signature to
34907         avoid warnings.
34908         * manual/string.texi (Collation Functions): Likewise.
34909
34910 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34911
34912         * bits/types.h: Fold copyright years.
34913         * bits/typesizes.h: Likewise.
34914         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34915         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34916         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34917         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34918         * time/time.h: Likewise.
34919
34920 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
34921
34922         [BZ #208]
34923         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34924         in instead of returning them.  Return void.
34925         (__libc_mallinfo): Accumulate over all arenas.
34926         (__malloc_stats): Adjust for change in int_mallinfo interface.
34927
34928 2012-05-16  Roland McGrath  <roland@hack.frob.com>
34929
34930         [BZ #10375]
34931         * configure.in (NM): Add AC_CHECK_TOOL for it.
34932         (libc_extra_cflags): New substituted variable.
34933         Check for -fstack-protector being used implicitly.
34934         * configure: Regenerated.
34935         * config.make.in (config-extra-cflags): New variable,
34936         gets @libc_extra_cflags@.
34937         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34938
34939         [BZ #10375]
34940         * configure.in: Check for _FORTIFY_SOURCE being predefined.
34941         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34942         * configure: Regenerated.
34943         * config.make.in (CPPUNDEFS): New substituted variable.
34944         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34945         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34946         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34947
34948 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34949
34950         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34951         (mq_attr): Use __syscall_slong_t.
34952
34953 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34954
34955         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34956         Check __x86_64__ instead of __WORDSIZE.
34957         (_STAT_VER_LINUX): Likewise.
34958         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
34959         __syscall_ulong_t and __syscall_slong_t.
34960         (stat64): Likewise.
34961
34962 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34963
34964         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34965
34966 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34967
34968         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34969
34970 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34971
34972         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34973         __syscall_ulong_t.
34974
34975         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34976         include <bits/wordsize.h>.  Check __x86_64__ instead of
34977         __WORDSIZE.
34978         (greg_t): Use "__extension__ long long int" if __x86_64__ is
34979         defined.
34980         (mcontext_t): Replace "unsigned long" with "unsigned long long".
34981
34982         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34983         include <bits/wordsize.h>.  Check __x86_64__ instead of
34984         __WORDSIZE.
34985         (user_regs_struct): Use "__extension__ unsigned long long"
34986         instead of "unsigned long" if __x86_64__ is defined.
34987         (user): Likewise.  Pad after pointer field if __ILP32__ is
34988         defined.
34989
34990 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
34991
34992         * configure.in (makeinfo): Require version 4.5 or later.  Allow
34993         versions 5 to 9.
34994         * configure: Regenerated.
34995         * manual/install.texi (texinfo): Increase version requirement to
34996         4.5 or later.
34997         * INSTALL: Regenerated.
34998
34999         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35000
35001 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35002
35003         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35004
35005         * sysdeps/x86_64/x32/ffs.c: New file.
35006
35007         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35008         __syscall_ulong_t.
35009         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35010         defined.  Use __syscall_ulong_t.
35011         (shminfo): Use __syscall_ulong_t.
35012         (shm_info): Likewise.
35013
35014         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35015         __syscall_ulong_t.
35016
35017         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35018         <bits/wordsize.h>.
35019         (msgqnum_t): Use __syscall_ulong_t.
35020         (msglen_t): Likewise.
35021         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
35022         __syscall_ulong_t.
35023
35024         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35025         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35026
35027         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35028
35029         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35030         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35031
35032         * sysvipc/sys/msg.h (msgbuf): Replace long int with
35033         __syscall_slong_t.
35034
35035         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35036         include <bits/wordsize.h>.  Check __x86_64__ instead of
35037         __WORDSIZE.
35038
35039         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35040         "unsigned long long int" if __x86_64__ is defined.
35041         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35042
35043         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35044         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35045         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35046
35047         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35048         <stdint.h>.
35049         (GET_PC): Cast to uintptr_t first.
35050         (GET_FRAME): Likewise.
35051         (GET_STACK): Likewise.
35052
35053         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35054         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35055         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35056         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35057         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35058         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35059         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35060         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35061         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35062         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35063         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35064         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35065         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35066         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35067         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35068         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35069         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35070         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35071         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35072         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35073         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35074         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35075         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35076         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35077         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35078         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35079         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35080         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35081         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35082
35083 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
35084
35085         * Makerules (+depfiles): Also collect depfiles from .oS in
35086         $(extra-objs).
35087         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35088         .oS, $(libnldbl-routines)).
35089
35090         * Makerules (native-compile-mkdep-flags): Define.
35091         * sunrpc/Makefile (extra-objs): Add $(addprefix
35092         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35093         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35094         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
35095         calling $(make-target-directory).
35096
35097 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35098
35099         * bits/types.h (__snseconds_t): Removed.
35100         * time/time.h (struct timespec): Replace __snseconds_t with
35101         __syscall_slong_t.
35102         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35103         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35104         Likewise.
35105         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35106         (__SNSECONDS_T_TYPE): Likewise.
35107         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35108         (__SNSECONDS_T_TYPE): Likewise.
35109         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35110         (__SNSECONDS_T_TYPE): Likewise.
35111
35112 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35113
35114         * sysdeps/mach/hurd/bits/typesizes.h
35115         (__SYSCALL_SLONG_TYPE): New macro.
35116         (__SYSCALL_ULONG_TYPE): Likewise.
35117
35118 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35119
35120         * bits/types.h (__syscall_slong_t): New type.
35121         (__syscall_ulong_t): Likewise.
35122
35123         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35124         (__SYSCALL_ULONG_TYPE): Likewise.
35125         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35126         (__SYSCALL_SLONG_TYPE): Likewise.
35127         (__SYSCALL_ULONG_TYPE): Likewise.
35128         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35129         (__SYSCALL_SLONG_TYPE): Likewise.
35130         (__SYSCALL_ULONG_TYPE): Likewise.
35131         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35132         (__SYSCALL_SLONG_TYPE): Likewise.
35133         (__SYSCALL_ULONG_TYPE): Likewise.
35134
35135 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35136
35137         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35138         Add sigaltstack-offsets.sym.
35139         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35140         <sigaltstack-offsets.h>.
35141         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
35142         longjmp_msg pointer.
35143         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
35144         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35145         signal stack.
35146         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35147
35148 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35149
35150         * elf/stackguard-macros.h: Remove file.
35151         * sysdeps/generic/stackguard-macros.h: New file.
35152         * sysdeps/i386/stackguard-macros.h: Likewise.
35153         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35154         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35155         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35156         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35157         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35158         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35159         * sysdeps/x86_64/stackguard-macros.h: Likewise.
35160         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35161         <elf/stackguard-macros.h>.
35162
35163         [BZ #14109]
35164         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35165         __aligned__ in attribute.
35166         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35167         (gregset_t): Likewise.
35168
35169 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35170
35171         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35172         * sysdeps/x86_64/64/Implies-after: Here.  New file.
35173         * sysdeps/x86_64/x32/Implies-after: New file.
35174
35175 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35176
35177         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35178         and access return value for _dl_profile_fixup.  Use R10_LP to
35179         load frame size.
35180
35181 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35182
35183         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35184
35185 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35186
35187         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35188         * sysdeps/x86_64/x32/sysdep.h: New file.
35189
35190 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35191
35192         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35193         * sysdeps/x86_64/setjmp.S: Likewise.
35194
35195 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35196
35197         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35198         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35199         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35200         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35201         remove unused global constant.
35202
35203 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
35204
35205         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35206         include of <not-cancel.h>.
35207
35208 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35209
35210         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35211
35212 2012-05-15  Jeff Law  <law@redhat.com>
35213             Andreas Jaeger  <aj@suse.de>
35214
35215         [BZ #13594]
35216         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35217         out from...
35218         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35219         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35220         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35221         code changing __hst_map_handle.map.
35222
35223 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35224
35225         * configure.in (sysnames): Look for Implies-before and Implies-after
35226         files.
35227         * configure: Regenerated.
35228
35229 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35230
35231         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35232         8-byte data alignment with LP_SIZE alignment.
35233
35234 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35235
35236         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35237         into R10_LP.
35238
35239 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35240
35241         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35242
35243 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35244
35245         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35246         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35247         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35248         Likewise.
35249         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35250
35251 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35252
35253         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35254         (stackinfo_sub_sp): Likewise.
35255
35256 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35257
35258         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35259         RAX_LP.
35260
35261 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35262
35263         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35264         into R*_LP.
35265
35266 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35267
35268         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35269         sizes into R*_LP.
35270
35271 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35272
35273         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35274
35275 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35276
35277         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35278         into R11_LP and load __x86_64_shared_cache_size_half into
35279         R8_LP.
35280
35281 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35282
35283         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35284         R8_LP.
35285
35286 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35287
35288         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35289         logb for POWER7.
35290         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35291         logbf for POWER7.
35292         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35293         logbl for POWER7.
35294         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35295         powerpc32/power7/fpu/s_logb.c via #include.
35296         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35297         powerpc32/power7/fpu/s_logbf.c via #include.
35298         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35299         powerpc32/power7/fpu/s_logbl.c via #include.
35300
35301 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35302
35303         * README.libm: Remove file.
35304
35305 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35306
35307         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35308         count for x32.  Use R*_LP and omit operand-size suffix.
35309
35310 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35311
35312         * shlib-versions: Move x86_64-.*-linux.* entries to ...
35313         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
35314         * sysdeps/x86_64/x32/shlib-versions: New file.
35315
35316 2012-05-14  Roland McGrath  <roland@hack.frob.com>
35317
35318         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35319         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35320         Use _dl_fatal_printf instead.
35321
35322 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
35323
35324         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35325         set if not set by the user.  Do not allow for being unset.
35326         * sysdeps/unix/sysv/linux/configure: Regenerated.
35327
35328 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35329
35330         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35331         the `q' suffix from lea and replace .quad with ASM_ADDR.
35332
35333 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35334
35335         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35336         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
35337         instead of $17.
35338         (PTR_DEMANGLE): Likewise.
35339
35340 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35341
35342         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35343         (LP_OP): Likewise.
35344         (ASM_ADDR): Likewise.
35345         (RAX_LP): Likewise.
35346         (RBP_LP): Likewise.
35347         (RBX_LP): Likewise.
35348         (RCX_LP): Likewise.
35349         (RDI_LP): Likewise.
35350         (RSI_LP): Likewise.
35351         (RSP_LP): Likewise.
35352         (R8_LP): Likewise.
35353         (R9_LP): Likewise.
35354         (R10_LP): Likewise.
35355         (R10_LP): Likewise.
35356         (R11_LP): Likewise.
35357         (R12_LP): Likewise.
35358         (R13_LP): Likewise.
35359         (R14_LP): Likewise.
35360         (R15_LP): Likewise.
35361
35362 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35363
35364         * sysdeps/x86_64/x32/dl-machine.h: New file.
35365
35366 2012-05-14  Andreas Jaeger  <aj@suse.de>
35367
35368         * manual/Makefile (subdir): Remove export of subdir.
35369         (all): Remove target.
35370         (.PHONY): Remove all from list.
35371         (mkinstalldirs): Remove.
35372         (.PHONY): Remove installdirs from list.
35373         ($(inst_infodir)/libc.info): Use make-target-directory.
35374         (installdirs): Remove.
35375         (subdir_%): Remove.
35376         (glibc-targets): Remove.
35377         (lib): Remove.
35378         (stubs): Remove.
35379         ($(objpfx)stubs ../po/manual.pot): Remove.
35380         ($(objpfx)stamp%): Remove.
35381         (make-target-directory): Remove.
35382         (subdir_install): Remove.
35383         (routines): Remove.
35384         (aux): Remove.
35385         (sources): Remove.
35386         (objects): Remove.
35387         (headers): Remove.
35388
35389         [BZ #13750]
35390         * manual/.gitignore: Remove, it's not needed anymore.
35391         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35392         all files in it.
35393         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35394         directory.
35395         (texis): Renamed to $(objpfx)texis.
35396         (texis-path): New, contains path to generated files.
35397         (chapters.%): Use texis-path for complete path, add extra argument
35398         libc-texinfo.sh.
35399         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35400         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35401         (summary,texi, stamp-summary): Use complete path of
35402         files. Generate files in build dir.
35403         (dir-add.texi): Build in build dir.
35404         (libm-err.texi,stamp-libm-err): Likewise.
35405         (version.texi, stamp-version): Likewise.
35406         (.%c.texi): Likewise.
35407         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35408         (mostlyclean): Remove target.
35409         (realclean): Remove target.
35410         (generated): Add new variable with contents from mostlyclean and
35411         realclean, remove entries duplicated in common-mostlyclean, add
35412         stamp-libm-err and stamp-version.
35413         (generated-dirs): Add libc directory.
35414         ($(inst_infodir)/libc.info): Install files from build dir.
35415
35416         * manual/install.texi (Configuring and compiling): Adjust since
35417         the info files are not part of the tar ball anymore.
35418
35419 2012-05-14  Andreas Jaeger  <aj@suse.de>
35420
35421         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35422         variable.
35423
35424 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
35425
35426         [BZ #13717]
35427         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35428         to 2.2.0 where earlier.
35429         * sysdeps/unix/sysv/linux/configure: Regenerated.
35430         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35431         Remove conditional code.
35432         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35433         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35434         Remove conditional code.
35435         [!__NR_lchown]: Likewise.
35436         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35437         [__NR_lchown]: Likewise.
35438         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35439         comment referencing __ASSUME_LCHOWN_SYSCALL.
35440         * sysdeps/unix/sysv/linux/i386/sigaction.c
35441         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35442         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35443         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35444         Remove conditional code.
35445         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35446         (__protocol_available): Remove #if 0 code.
35447         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35448         conditional code.
35449         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35450         * sysdeps/unix/sysv/linux/kernel-features.h
35451         (__ASSUME_GETCWD_SYSCALL): Don't define.
35452         (__ASSUME_REALTIME_SIGNALS): Likewise.
35453         (__ASSUME_PREAD_SYSCALL): Likewise.
35454         (__ASSUME_PWRITE_SYSCALL): Likewise.
35455         (__ASSUME_POLL_SYSCALL): Likewise.
35456         (__ASSUME_LCHOWN_SYSCALL): Likewise.
35457         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35458         non-SPARC.
35459         (__ASSUME_SIOCGIFNAME): Don't define.
35460         (__ASSUME_MSG_NOSIGNAL): Likewise.
35461         (__ASSUME_SENDFILE): Define unconditionally.
35462         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35463         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35464         conditional code.
35465         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35466         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35467         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35468         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35469         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35470         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35471         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35473         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35474         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35476         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35477         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35479         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35480         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35482         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35483         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35485         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35486         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35488         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35489         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35491         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35492         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35494         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35495         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35496         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35497         Remove conditional code.
35498         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35499         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35500         Remove conditional code.
35501         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35502         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35503         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35504         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35505         Remove conditional code.
35506         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35507         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35508         Remove conditional code.
35509         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35510         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35511         Remove conditional code.
35512         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35513         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35514         Remove conditional code.
35515         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35516         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35517         Remove conditional code.
35518         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35519         * sysdeps/unix/sysv/linux/sh/pwrite64.c
35520         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35521         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35522         * sysdeps/unix/sysv/linux/sigaction.c
35523         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35524         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35525         * sysdeps/unix/sysv/linux/sigpending.c
35526         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35527         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35528         * sysdeps/unix/sysv/linux/sigprocmask.c
35529         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35530         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35531         * sysdeps/unix/sysv/linux/sigsuspend.c
35532         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35533         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35534         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35535         (__libc_missing_rt_sigs): Remove.
35536         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35537         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35538         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35539         Remove conditional code.
35540         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35541         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35542         return 1.
35543         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35544         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35545         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35546         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35547
35548 2012-05-14  Andreas Jaeger  <aj@suse.de>
35549
35550         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35551         it's not used in glibc.
35552         (__coshm1): Likewise.
35553         (__acosh1p): Likewise.
35554         (__sgn): Likewise.
35555
35556         * manual/string.texi (Copying and Concatenation): Add missing
35557         variable in concat example.
35558         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35559
35560 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35561
35562         [BZ #14103]
35563         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35564         __builtin_clzl with __builtin_clzll.
35565
35566 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35567
35568         [BZ #14104]
35569         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35570         libc_freeres_ptr.
35571
35572 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35573
35574         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35575         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35576         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35577         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35578
35579 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
35580
35581         * NEWS: Update ia64 info.
35582
35583 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
35584
35585         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35586         used as bcopy.
35587
35588 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
35589
35590         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35591         * sysdeps/unix/syscalls.list (dup3): Likewise.
35592         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35593         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35594
35595 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
35596
35597         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35598         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35599
35600 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
35601
35602         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35603         thread pointer.
35604         (TLS_IE): Use mov/add instead of movq/addq to load thread
35605         pointer.
35606         (TLS_GD_PREFIX): New.
35607         (TLS_GD): Use it.
35608
35609 2012-05-11  David S. Miller  <davem@davemloft.net>
35610
35611         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35612         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35613         (_FPU_SETCW): Likewise.
35614
35615 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35616
35617         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35618         is 32-byte aligned.
35619
35620 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
35621
35622         [BZ #11837]
35623         * iconvdata/gb18030.c: Update tables.
35624         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
35625         characters specially.
35626         (BODY for TO_LOOP): Add encoding of missing ranges.
35627
35628 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
35629
35630         [BZ #13673]
35631         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35632         * sysdeps/mach/hurd/dup3.c: Likewise.
35633         * sysdeps/mach/hurd/readlinkat.c: Likewise.
35634         * sysdeps/powerpc/memmove.c:: Likewise.
35635
35636 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35637
35638         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35639         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35640
35641 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35642
35643         * elf/elf.h (R_X86_64_RELATIVE64): New.
35644         (R_X86_64_NUM): Updated.
35645         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35646         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
35647         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35648         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35649         tst-quad1pie tst-quad2pie
35650         (modules-names): Add tst-quadmod1 tst-quadmod2.
35651         ($(objpfx)tst-quad1): New dependency.
35652         ($(objpfx)tst-quad2): Likewise.
35653         ($(objpfx)tst-quad1pie): Likewise.
35654         ($(objpfx)tst-quad2pie): Likewise.
35655         * sysdeps/x86_64/tst-quad1.c: New file.
35656         * sysdeps/x86_64/tst-quad1pie.c: New file.
35657         * sysdeps/x86_64/tst-quad2.c: Likewise.
35658         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35659         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35660         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35661         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35662         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35663
35664 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35665
35666         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35667         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35668         * streams/stropts.h (t_scalar_t): Define type.
35669
35670         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35671         (_PATH_PRESERVE): Set to "/var/lib".
35672         (_PATH_RWHODIR): Set to "/var/spool/rwho".
35673
35674         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35675         instead of int.
35676
35677         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35678         if __dir_mkfile succeeded.
35679
35680         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35681         checking for _hurd_dtablesize.  Unlock it right after having
35682         finished _hurd_dtable allocation.
35683
35684 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35685
35686         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35687         * sysdeps/mach/hurd/configure: Regenerated.
35688         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35689         special-casing to...
35690         * sysdeps/gnu/configure.in: ... this new file.
35691         * sysdeps/unix/sysv/linux/configure: Regenerated.
35692         * sysdeps/gnu/configure: New generated file.
35693
35694         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35695         for Linux: use nsec instead of usec, as well as:
35696         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35697         members of type struct timespec.
35698         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35699         New macros.
35700         (struct stat64): Likewise.
35701         (_STATBUF_ST_NSEC): New macro.
35702         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35703
35704         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35705         __strtoul_internal rather than strtoul.
35706
35707 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35708
35709         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35710         and reject them.
35711
35712 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35713
35714         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35715         which preserves existing values.
35716         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35717
35718 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35719
35720         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35721         TIMEOUT values.  Return EINVAL for NFDS values either negative or
35722         greater than FD_SETSIZE.
35723
35724 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35725
35726         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35727         allocated, call __vm_protect to finish enabling the existing space, and
35728         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35729         allocate the remainder.
35730
35731 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35732
35733         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35734         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
35735
35736 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35737
35738         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35739         sysdeps/mach/hurd/readlink.c.
35740
35741         * posix/tst-sysconf.c (posix_options): Only use
35742         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35743         _POSIX_SYNCHRONIZED_IO when they are defined
35744         * sysdeps/mach/hurd/bits/posix_opt.h:
35745         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35746         (_XOPEN_REALTIME): Undefine macro.
35747         (_XOPEN_REALTIME_THREADS): Undefine macro.
35748         (_XOPEN_SHM): Undefine macro.
35749         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35750         macro to -1.
35751         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35752         macro to -1.
35753         (_POSIX_ASYNC_IO): Undefine macro.
35754         (_POSIX_PRIORITIZED_IO): Undefine macro.
35755         (_POSIX_SPIN_LOCKS): Define macro to -1.
35756
35757         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35758         SA_NODEFER, SA_RESETHAND.
35759         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35760         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35761         F_DUPFD_CLOEXEC.
35762
35763 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35764
35765         * elf/Makefile (pldd-modules): Define unconditionally.
35766
35767 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35768
35769         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35770
35771 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35772
35773         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35774         Return ENOENT when name is empty.
35775         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35776
35777 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35778
35779         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35780
35781         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35782
35783 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35784
35785         Fix mlock in all cases except non-readable pages.
35786         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35787         instead of VM_PROT_ALL as parameter to __vm_wire function.
35788
35789         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35790         (__mkdir): When path is `/', just fail with EEXIST.
35791         * sysdeps/mach/hurd/mkdirat.c: Likewise.
35792
35793 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35794
35795         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35796         <sys/uio.h> (for writev).
35797         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35798         and <sys/param.h> (for MIN).
35799
35800 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35801
35802         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35803         REQUESTED_TIME.  Properly set the remaining time and return EINTR
35804         if interrupted.
35805
35806 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35807
35808         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35809         Depend on against $(link-rpcuserlibs).
35810
35811 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35812
35813         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35814         (__libc_stack_end): Do not use attribute_relro.
35815         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35816         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
35817         to libthread-provided value.
35818         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35819         attribute_relro.
35820
35821 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35822
35823         [BZ #3748]
35824         * bits/libc-lock.h (__libc_once_get): New macro.
35825         * sysdeps/mach/bits/libc-lock.h: Likewise.
35826         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35827         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35828         instead of using implementation details.
35829
35830         * libio/fileops.c: Unconditionally include <kernel-features.h>.
35831         * libio/freopen.c: Likewise.
35832         * libio/freopen64.c: Likewise.
35833         * misc/syslog.c: Likewise.
35834         * nscd/connections.c: Likewise.
35835         * nscd/netgroupcache.c: Likewise.
35836         * sysdeps/posix/getcwd.c: Likewise.
35837
35838 2012-05-10  Roland McGrath  <roland@hack.frob.com>
35839
35840         * math/w_ilogbf.c: Add #include <limits.h>.
35841
35842 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35843
35844         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
35845         path instead of returning without unlocking.
35846
35847         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35848         immediate-write ioctls.
35849         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35850
35851 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35852
35853         * sysdeps/mach/hurd/i386/init-first.c (init): Use
35854         __builtin_frame_address instead of making assumptions about the
35855         location of the return address relative to DATA.  Force early load of
35856         the return address.
35857         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35858         __builtin_frame_address.
35859
35860         dup3 for GNU Hurd.
35861         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35862         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
35863         implement dup3 and do some further code clean-ups.
35864         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35865         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35866
35867 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35868
35869         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35870
35871         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35872         HURD_CRITICAL_END around holding _hurd_dtable_lock.
35873         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35874         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35875         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35876         d->port.lock.
35877
35878         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35879         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
35880         when handler == SIG_ERR, not when handler != SIG_ERR.
35881
35882 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35883
35884         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35885         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35886         definitions.
35887
35888         accept4 for GNU Hurd.
35889         * include/sys/socket.h (__libc_accept4): New prototype.
35890         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
35891         to implement __libc_accept4.
35892         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35893         __libc_accept4.
35894         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35895
35896         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35897         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35898         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35899         signal-defines.sym.
35900
35901 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35902
35903         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
35904
35905 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35906
35907         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35908         assertion on O_CLOEXEC flag.
35909         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35910         * hurd/intern-fd.c: Likewise.
35911         * hurd/port2fd.c: Likewise.
35912
35913 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35914
35915         [BZ #3906]
35916         * bits/in.h (IPV6_PKTINFO): Define new macro.
35917         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35918
35919 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35920
35921         [BZ #13954]
35922         [BZ #13955]
35923         [BZ #13956]
35924         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35925         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35926         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35927         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35928         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35929         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35930         * math/libm-test.inc (logb_test) : Additional logb tests.
35931
35932 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
35933             Andreas Jaeger  <aj@suse.de>
35934
35935         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35936         * configure: Regenerated.
35937         * config.h.in (LINK_OBSOLETE_RPC): New macro.
35938         * config.make.in (link-obsolete-rpc): New substituted variable.
35939         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35940         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35941         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35942         (shared-only-routines): Don't set it under [link-obsolete-rpc],
35943         so that libc.a contains the symbols.
35944         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35945         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35946         * sunrpc/auth_none.c: Likewise.
35947         * sunrpc/auth_unix.c: Likewise.
35948         * sunrpc/authdes_prot.c: Likewise.
35949         * sunrpc/authuxprot.c: Likewise.
35950         * sunrpc/clnt_gen.c: Likewise.
35951         * sunrpc/clnt_perr.c: Likewise.
35952         * sunrpc/clnt_raw.c: Likewise.
35953         * sunrpc/clnt_simp.c: Likewise.
35954         * sunrpc/clnt_tcp.c: Likewise.
35955         * sunrpc/clnt_udp.c: Likewise.
35956         * sunrpc/clnt_unix.c: Likewise.
35957         * sunrpc/des_crypt.c: Likewise.
35958         * sunrpc/des_soft.c: Likewise.
35959         * sunrpc/get_myaddr.c: Likewise.
35960         * sunrpc/key_call.c: Likewise.
35961         * sunrpc/key_prot.c: Likewise.
35962         * sunrpc/netname.c: Likewise.
35963         * sunrpc/pm_getmaps.c: Likewise.
35964         * sunrpc/pm_getport.c: Likewise.
35965         * sunrpc/pmap_clnt.c: Likewise.
35966         * sunrpc/pmap_prot.c: Likewise.
35967         * sunrpc/pmap_prot2.c: Likewise.
35968         * sunrpc/pmap_rmt.c: Likewise.
35969         * sunrpc/publickey.c: Likewise.
35970         * sunrpc/rpc_cmsg.c: Likewise.
35971         * sunrpc/rpc_common.c: Likewise.
35972         * sunrpc/rpc_dtable.c: Likewise.
35973         * sunrpc/rpc_prot.c: Likewise.
35974         * sunrpc/rpc_thread.c: Likewise.
35975         * sunrpc/rtime.c: Likewise.
35976         * sunrpc/svc.c: Likewise.
35977         * sunrpc/svc_auth.c: Likewise.
35978         * sunrpc/svc_raw.c: Likewise.
35979         * sunrpc/svc_run.c: Likewise.
35980         * sunrpc/svc_tcp.c: Likewise.
35981         * sunrpc/svc_udp.c: Likewise.
35982         * sunrpc/svc_unix.c: Likewise.
35983         * sunrpc/svcauth_des.c: Likewise.
35984         * sunrpc/xcrypt.c: Likewise.
35985         * sunrpc/xdr.c: Likewise.
35986         * sunrpc/xdr_array.c: Likewise.
35987         * sunrpc/xdr_float.c: Likewise.
35988         * sunrpc/xdr_intXX_t.c: Likewise.
35989         * sunrpc/xdr_mem.c: Likewise.
35990         * sunrpc/xdr_rec.c: Likewise.
35991         * sunrpc/xdr_ref.c: Likewise.
35992         * sunrpc/xdr_sizeof.c: Likewise.
35993         * sunrpc/xdr_stdio.c: Likewise.
35994
35995 2012-05-10  Roland McGrath  <roland@hack.frob.com>
35996
35997         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35998         change.  Update copyright years.
35999
36000 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36001
36002         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36003
36004 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
36005             Joseph Myers  <joseph@codesourcery.com>
36006             Paul Pluzhnikov  <ppluzhnikov@google.com>
36007
36008         [BZ #14012]
36009         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36010         requiring rpcgen.
36011         [cross-compiling] (extra-libs): Likewise.
36012         [cross-compiling] (extra-libs-others): Likewise.
36013         [cross-compiling] (librpcsvc-routines): Likewise.
36014         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36015         [cross-compiling] (omit-deps): Likewise.
36016         (sunrpc-CPPFLAGS): New variable.
36017         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36018         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36019         (cross-rpcgen-objs): New variable.
36020         (extra-objs): Append $(cross-rpcgen-objs).
36021         ($(cross-rpcgen-objs)): New rule.
36022         ($(objpfx)cross-rpcgen): Likewise.
36023         (rpcgen-cmd): Define to use $(built-program-file).  Expand
36024         comment.
36025         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36026         ($(objpfx)x%.stmp): Likewise.
36027         * sunrpc/proto.h [IS_IN_build] (_): Define.
36028         [IS_IN_build] (_libc_intl_domainname): Likewise.
36029
36030 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36031
36032         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36033         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36034         and R_X86_64_TPOFF64.
36035
36036 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36037
36038         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36039         sysdeps/unix/sysv/syscalls.list.
36040         (stime): Likewise.
36041         (utime): Likewise.
36042         * sysdeps/unix/sysv/syscalls.list: Remove file.
36043
36044 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
36045
36046         [BZ #3440]
36047         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36048         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36049         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36050         (__LC_IDENTIFICATION): Make these macros useful in #if
36051         expressions, as required by C99.
36052
36053 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
36054
36055         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36056         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
36057         after this.
36058
36059 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
36060
36061         * stdlib/longlong.h: Updated from GCC.
36062
36063 2012-05-09  Andreas Jaeger  <aj@suse.de>
36064
36065         * nscd/nscd.c (run_modes): Make named enum, reorder so that
36066         default is first entry.
36067         (run_mode): Set type.
36068         (main): Remove informal message about syslog.
36069         (options): Fix typo.
36070
36071         [BZ #14053]
36072         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36073         to asm.
36074         (lrint): Likewise.
36075         (llrintf): Likewise.
36076         (llrint): Likewise.
36077         (rint): Likewise.
36078         (rintf): Likewise.
36079         (nearbyint): Likewise.
36080         (nearbyintf): Likewise.
36081
36082 2012-05-09  Andreas Jaeger  <aj@suse.de>
36083             Pedro Alves  <palves@redhat.com>
36084
36085         * nscd/nscd.c (run_mode): Use enum.
36086         (main): Cleanup coding style issue.
36087
36088 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
36089             Andreas Jaeger  <aj@suse.de>
36090
36091         * nscd/nscd.c (go_background): Replaced with...
36092         (run_mode): ... this.
36093         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36094         (options): Add -F --foreground.
36095         (main): Implement it.
36096         (parse_opt): Parse it.
36097
36098 2012-05-09  Andreas Jaeger  <aj@suse.de>
36099
36100         [BZ #14083]
36101         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36102         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36103         -Wconversion warning.
36104         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36105         Likewise.
36106
36107 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
36108
36109         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
36110         == 0.
36111         (LC_ALL): Use macro-int-constant.
36112         (LC_COLLATE): Likewise.
36113         (LC_CTYPE): Likewise.
36114         (LC_MESSAGES): Likewise.
36115         (LC_MONETARY): Likewise.
36116         (LC_NUMERIC): Likewise.
36117         (LC_TIME): Likewise.
36118         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36119         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36120         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36121         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36122         Specify type.
36123         [C99-based standards] (float_t): Expect type.
36124         [C99-based standards] (double_t): Expect type.
36125         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
36126         type.
36127         [C99-based standards] (HUGE_VALL): Likewise.
36128         [C99-based standards] (INFINITY): Likewise.
36129         [C99-based standards] (NAN): Likewise.
36130         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36131         [C99-based standards] (FP_NAN): Likewise.
36132         [C99-based standards] (FP_NORMAL): Likewise.
36133         [C99-based standards] (FP_SUBNORMAL): Likewise.
36134         [C99-based standards] (FP_ZERO): Likewise.
36135         [C99-based standards] (FP_FAST_FMA): Use
36136         optional-macro-int-constant.  Specify type.  Require == 1.
36137         [C99-based standards] (FP_FAST_FMAF): Likewise.
36138         [C99-based standards] (FP_FAST_FMAL): Likewise.
36139         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36140         [C99-based standards] (FP_ILOGBNAN): Likewise.
36141         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36142         Specify type.
36143         [C99-based standards] (MATH_ERREXCEPT): Likewise.
36144         [C99-based standards] (math_errhandling): Specify type.
36145         [ISO99 || ISO11] (signgam): Do not allow.
36146         [non-C99-based standards] (copysignf): Do not allow.
36147         [non-C99-based standards] (exp2f): Likewise.
36148         [non-C99-based standards] (log2f): Likewise.
36149         [non-C99-based standards] (modff): Allow.
36150         [non-C99-based standards] (erff): Do not allow.
36151         [non-C99-based standards] (erfcf): Likewise.
36152         [non-C99-based standards] (gammaf): Likewise.
36153         [non-C99-based standards] (hypotf): Likewise.
36154         [non-C99-based standards] (j0f): Likewise.
36155         [non-C99-based standards] (j1f): Likewise.
36156         [non-C99-based standards] (jnf): Likewise.
36157         [non-C99-based standards] (lgammaf): Likewise.
36158         [non-C99-based standards] (tgammaf): Likewise.
36159         [non-C99-based standards] (y0f): Likewise.
36160         [non-C99-based standards] (y1f): Likewise.
36161         [non-C99-based standards] (ynf): Likewise.
36162         [non-C99-based standards] (isnanf): Likewise.
36163         [non-C99-based standards] (acoshf): Likewise.
36164         [non-C99-based standards] (asinhf): Likewise.
36165         [non-C99-based standards] (atanhf): Likewise.
36166         [non-C99-based standards] (cbrtf): Likewise.
36167         [non-C99-based standards] (expm1f): Likewise.
36168         [non-C99-based standards] (ilogbf): Likewise.
36169         [non-C99-based standards] (log1pf): Likewise.
36170         [non-C99-based standards] (logbf): Likewise.
36171         [non-C99-based standards] (nextafterf): Likewise.
36172         [non-C99-based standards] (remainderf): Likewise.
36173         [non-C99-based standards] (rintf): Likewise.
36174         [non-C99-based standards] (scalbf): Likewise.
36175         [non-C99-based standards] (copysignl): Likewise.
36176         [non-C99-based standards] (exp2l): Likewise.
36177         [non-C99-based standards] (log2l): Likewise.
36178         [non-C99-based standards] (modfl): Allow.
36179         [non-C99-based standards] (erfl): Do not allow.
36180         [non-C99-based standards] (erfcl): Likewise.
36181         [non-C99-based standards] (gammal): Likewise.
36182         [non-C99-based standards] (hypotl): Likewise.
36183         [non-C99-based standards] (j0l): Likewise.
36184         [non-C99-based standards] (j1l): Likewise.
36185         [non-C99-based standards] (jnl): Likewise.
36186         [non-C99-based standards] (lgammal): Likewise.
36187         [non-C99-based standards] (tgammal): Likewise.
36188         [non-C99-based standards] (y0l): Likewise.
36189         [non-C99-based standards] (y1l): Likewise.
36190         [non-C99-based standards] (ynl): Likewise.
36191         [non-C99-based standards] (isnanl): Likewise.
36192         [non-C99-based standards] (acoshl): Likewise.
36193         [non-C99-based standards] (asinhl): Likewise.
36194         [non-C99-based standards] (atanhl): Likewise.
36195         [non-C99-based standards] (cbrtl): Likewise.
36196         [non-C99-based standards] (expm1l): Likewise.
36197         [non-C99-based standards] (ilogbl): Likewise.
36198         [non-C99-based standards] (log1pl): Likewise.
36199         [non-C99-based standards] (logbl): Likewise.
36200         [non-C99-based standards] (nextafterl): Likewise.
36201         [non-C99-based standards] (remainderl): Likewise.
36202         [non-C99-based standards] (rintl): Likewise.
36203         [non-C99-based standards] (scalbl): Likewise.
36204         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36205         [non-C99-based standards] (FP_*): Do not allow.
36206         [C99-based standards] (FP_*): Change to
36207         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36208         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36209         allow.
36210         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36211         (SIG_ERR): Likewise.
36212         [X/Open-based standards] (SIG_HOLD): Likewise.
36213         (SIG_IGN): Likewise.
36214         (SIGABRT): Use macro-int-constant.  Specify type.  Require
36215         positive value.
36216         (SIGFPE): Likewise.
36217         (SIGILL): Likewise.
36218         (SIGINT): Likewise.
36219         (SIGSEGV): Likewise.
36220         (SIGTER): Likewise.
36221         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36222         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36223         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36224         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36225         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36226         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36227         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36228         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36229         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36230         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36231         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36232         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36233         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36234         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36235         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36236         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36237         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36238         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36239         [X/Open-based standards] (SIGTRAP): Likewise.
36240         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36241         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36242         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36243         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36244         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36245         allow.
36246
36247 2012-05-08  Ian Wienand  <ianw@vmware.com>
36248
36249         [BZ #14080]
36250         * time/tzset.c (__tzset_parse_tz): Update default rules for
36251         daylight time changes in the Energy Policy Act of 2005.
36252
36253 2012-05-09  Andreas Jaeger  <aj@suse.de>
36254
36255         [BZ #13983]
36256         * elf/ldconfig.c (parse_conf): Change string to make clear that
36257         ldconfig only issued a warning if ld.so.conf does not exist.
36258
36259 2012-05-08  David S. Miller  <davem@davemloft.net>
36260
36261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36262         movxtod instead of popping the value on the stack.
36263
36264         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36265
36266 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
36267
36268         * config.h.in: Add HAVE_ARM_PCS_VFP.
36269
36270 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
36271
36272         [BZ #13979]
36273         * include/features.h: Warn if user requests __FORTIFY_SOURCE
36274         checking but the checks are disabled for any reason.
36275
36276 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
36277
36278         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36279         and ELF64_R_TYPE with ELFW(R_TYPE).
36280
36281 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
36282
36283         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36284         (ulimit): Likewise.
36285
36286         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36287         (settimeofday): Likewise.
36288
36289 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
36290
36291         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
36292         a struct th_u2 inside the union, and move tu_block/tu_code into
36293         a new th_u3 union of tu_block/tu_code inside of that.  Move
36294         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
36295         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
36296         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36297         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36298         (th_stuff): Change to th_u1.tu_stuff.
36299         (th_data): Define.
36300         (th_msg): Change to th_u1.th_u2.tu_data.
36301
36302 2012-05-07  David S. Miller  <davem@davemloft.net>
36303
36304         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36305
36306         [BZ #14074]
36307         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36308         (SETUP_PIC_REG): Use it.
36309         (SETUP_PIC_REG_LEAF): Use it.
36310
36311 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
36312
36313         [BZ #13885]
36314         [BZ #13923]
36315         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36316         USE_AS_EXPM1L.
36317         (EXPL_FINITE): Likewise.
36318         (FLDLOG): Likewise.
36319         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36320         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36321         e_expl.S.
36322         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36323         USE_AS_EXPM1L.
36324         (EXPL_FINITE): Likewise.
36325         (FLDLOG): Likewise.
36326         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36327         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36328         e_expl.S.
36329         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
36330         test of -max_value argument for long double.
36331         * sysdeps/i386/fpu/libm-test-ulps: Update.
36332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36333
36334 2012-05-06  David S. Miller  <davem@davemloft.net>
36335
36336         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36337         quad soft-float symbols whose references which are compiler
36338         generated.
36339         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36340
36341 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
36342
36343         [BZ #13884]
36344         [BZ #13914]
36345         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36346         USE_AS_EXP10L.
36347         (EXPL_FINITE): Likewise.
36348         (FLDLOG): Likewise.
36349         (c0): Likewise.
36350         (c1): Likewise.
36351         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36352         Adjust comments for base varying.
36353         (__expl_finite): Change alias to EXPL_FINITE.
36354         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36355         e_expl.S.
36356         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36357         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36358         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36359         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36360         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36361         USE_AS_EXP10L.
36362         (EXPL_FINITE): Likewise.
36363         (FLDLOG): Likewise.
36364         (c0): Likewise.
36365         (c1): Likewise.
36366         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36367         Adjust comments for base varying.
36368         (__expl_finite): Change alias to EXPL_FINITE.
36369         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
36370         tests for bugs.
36371         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36372
36373         [BZ #14064]
36374         * math/libm-test.inc (check_float_internal): Correct ulp
36375         calculation for subnormal expected results.
36376
36377 2012-05-06  Andreas Jaeger  <aj@suse.de>
36378
36379         * Makeconfig (+math-flags): New, set to -frounding-math.
36380         (+cflags): Add +math-flags so that all of glibc gets compiled with
36381         it.
36382
36383         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36384
36385 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
36386
36387         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36388         Disable one test.
36389
36390         [BZ #13787]
36391         [BZ #13922]
36392         [BZ #14036]
36393         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36394         (__ieee754_expl): Allow for and saturate large arguments.
36395         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36396         (u_threshold): Likewise.
36397         (__exp): Call __ieee754_exp before checking for overflow and
36398         underflow.
36399         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36400         (u_threshold): Likewise.
36401         (__expf): Call __ieee754_expf before checking for overflow and
36402         underflow.
36403         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36404         (u_threshold): Likewise.
36405         (__expl): Call __ieee754_expl before checking for overflow and
36406         underflow.
36407         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36408         (__ieee754_expl): Allow for and saturate large arguments.
36409         * math/libm-test.inc (exp_test): Add another test.  Do not allow
36410         missing overflow exception on overflow.
36411         (expm1_test): Do not allow missing overflow exception on overflow.
36412
36413         * sysdeps/i386/fpu/e_expl.c: Move to ...
36414         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
36415         rather than using inline asm.
36416         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36417         * sysdeps/x86_64/fpu/e_expl.S: Copy from
36418         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36419
36420         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36421         (nice): Likewise.
36422         (poll): Likewise.
36423         (signal): Likewise.
36424         (time): Likewise.
36425         (times): Likewise.
36426
36427 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36428
36429         * sysdeps/unix/syscalls.list (adjtime): Add entry from
36430         sysdeps/unix/common/syscalls.list.
36431         (fchmod): Likewise.
36432         (fchown): Likewise.
36433         (ftruncate): Likewise.
36434         (getrusage): Likewise.
36435         (gettimeofday): Likewise.
36436         (setpgid): Likewise.
36437         (setregid): Likewise.
36438         (setreuid): Likewise.
36439         (sigaction): Likewise.
36440         (truncate): Likewise.
36441         (vhangup): Likewise.
36442         * sysdeps/unix/common/syscalls.list: Remove file.
36443         * sysdeps/unix/bsd/Implies: Don't include unix/common.
36444         * sysdeps/unix/sysv/linux/Implies: Likewise.
36445
36446 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
36447
36448         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36449         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36450         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36451         Moved to ...
36452         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36453         Here.
36454         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36455         to ...
36456         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36457         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36458         to ...
36459         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36460         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36461         to ...
36462         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36463         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36464         to ...
36465         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36466         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36467         to ...
36468         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36469         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36470         to ...
36471         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36472         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36473         to ...
36474         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36475         Here.
36476         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36477         to ...
36478         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36479         Here.
36480         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36481         to ...
36482         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36483         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36484         Moved to ...
36485         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36486         Here.
36487         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36488         to ...
36489         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36490
36491 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36492
36493         * sysdeps/unix/common/bits/dirent.h: Remove file.
36494         * sysdeps/unix/common/bits/fcntl.h: Likewise.
36495
36496         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36497         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36498         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36499         * sysdeps/unix/bsd/isatty.c: Likewise.
36500         * sysdeps/unix/bsd/tcdrain.c: Likewise.
36501         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36502         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36503
36504 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36505
36506         [BZ #13563]
36507         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36508         long double comparison inaccuracies.
36509         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36510         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36511
36512 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
36513
36514         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36515         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36516
36517 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36518
36519         [BZ #14049]
36520         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36521         nonzero digits before rounding a hex value.
36522         * stdlib/tst-strtod.c (tests): Add another test.
36523
36524 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36525
36526         * sysdeps/s390/fpu/libm-test-ulps: Update.
36527
36528 2012-05-03  Andreas Jaeger  <aj@suse.de>
36529
36530         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36531         does not get optimized out.
36532         (malloc_opt_barrier): New.
36533
36534 2012-05-03  Andreas Jaeger  <aj@suse.de>
36535             Roland McGrath  <roland@hack.frob.com>
36536
36537         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36538         intermediate file deletion.
36539         (generated): Add .symlist files.
36540
36541 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
36542
36543         [BZ #13775]
36544         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36545         Redirect under this condition.
36546         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36547         [__USE_GNU] (__dprintf_chk): Not under this condition.
36548         [__USE_GNU] (__vdprintf_chk): Likewise.
36549         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36550         under this condition.
36551         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36552         [__USE_XOPEN2K8] (dprintf): Define under this condition.
36553         [__USE_XOPEN2K8] (vdprintf): Likewise.
36554         [__USE_GNU] (__dprintf_chk): Not under this condition.
36555         [__USE_GNU] (__vdprintf_chk): Likewise.
36556         [__USE_GNU] (dprintf): Likewise.
36557         [__USE_GNU] (vdprintf): Likewise.
36558
36559 2012-05-03  Roland McGrath  <roland@hack.frob.com>
36560
36561         * elf/Makefile (common-generated): Set this instead of generated for
36562         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
36563         $(all-built-dso)-derived lists.
36564
36565 2012-05-03  Andreas Jaeger  <aj@suse.de>
36566
36567         * sysdeps/i386/fpu/libm-test-ulps: Update.
36568
36569         * FAQ: Removed.
36570         * FAQ.in: Likewise.
36571         * scripts/gen-FAQ.pl: Likewise.
36572         * manual/install.texi (Installation): Point to online location of
36573         FAQ.
36574         * Makefile (files-for-dist): Remove FAQ.
36575         (FAQ): Remove.
36576
36577 2012-05-02  Allan McRae  <allan@archlinux.org>
36578
36579         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36580         (LDFLAGS-reldepmod5.so): Likewise.
36581         (LDFLAGS-reldep6mod1.so): Likewise.
36582         (LDFLAGS-reldep6mod4.so): Likewise.
36583         (LDFLAGS-reldep8mod3.so): Likewise.
36584         (LDFLAGS-unload4mod1.so): Likewise.
36585         (LDFLAGS-unload4mod2.so): Likewise.
36586         (LDFLAGS-tst-initorder): Likewise.
36587         (LDFLAGS-tst-initordera2.so): Likewise.
36588         (LDFLAGS-tst-initordera3.so): Likewise.
36589         (LDFLAGS-tst-initordera4.so): Likewise.
36590         (LDFLAGS-tst-initorderb2.so): Likewise.
36591         (LDFLAGS-noload): Likewise.
36592         (LDFLAGS-next): Likewise.
36593         (LDFLAGS-order2mod1.so): Likewise.
36594         (LDFLAGS-order2mod2.so): Likewise.
36595         (LDFLAGS-tst-initorder2): Likewise.
36596         (LDFLAGS-tst-initorder2a.so): Likewise.
36597         (LDFLAGS-tst-initorder2b.so): Likewise.
36598         (LDFLAGS-tst-initorder2c.so): Likewise.
36599         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36600
36601 2012-05-02  David S. Miller  <davem@davemloft.net>
36602
36603         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36604
36605 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
36606
36607         [BZ #14055]
36608         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36609
36610 2012-05-02  Andreas Jaeger  <aj@suse.de>
36611
36612         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36613         since we manipulate rounding mode.
36614         (CPPFLAGS-test-idouble.c): Likewise.
36615         (CPPFLAGS-test-ifloat.c): Likewise.
36616         (CFLAGS-test-ldouble.c): Likewise.
36617         (CFLAGS-test-double.c): Likewise.
36618         (CFLAGS-test-float.c): Likewise.
36619         (CFLAGS-test-misc.c): Likewise.
36620         (CFLAGS-test-test-fenv.c): Likewise.
36621
36622 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36623
36624         [BZ #2550]
36625         [BZ #2570]
36626         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36627         comparisons to determine direction to adjust input.
36628
36629 2012-05-01  Roland McGrath  <roland@hack.frob.com>
36630
36631         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36632         output to the target.
36633
36634         * scripts/localplt.awk: New file.
36635         * elf/Makefile ($(objpfx)check-localplt): Target removed.
36636         (check-localplt-CFLAGS): Variable removed.
36637         ($(all-built-dso:=.jmprel)): New static pattern rule.
36638         (generated): Add those targets.
36639         (localplt-built-dso): New variable.
36640         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36641
36642         * elf/check-localplt.c: File removed.
36643
36644         * scripts/check-execstack.awk: New file.
36645         * elf/Makefile ($(objpfx)check-execstack): Target removed.
36646         (check-execstack-CFLAGS): Variable removed.
36647         ($(objpfx)check-execstack.h): Target removed.
36648         ($(objpfx)execstack-default): New target.
36649         (generated): Add that instead of check-execstack.h.
36650         ($(all-built-dso:=.phdr)): New static pattern rule.
36651         (generated): Add those targets.
36652         * elf/check-execstack.c: File removed.
36653
36654         * scripts/check-textrel.awk: New file.
36655         * elf/Makefile ($(objpfx)check-textrel): Target removed.
36656         (check-textrel-CFLAGS): Variable removed.
36657         (all-built-dso): Use := to define.o
36658         ($(all-built-dso:=.dyn)): New static pattern rule.
36659         (generated): Add those targets.
36660         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36661         * config.make.in (READELF): New substituted variable.
36662         * elf/check-textrel.c: File removed.
36663
36664 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
36665
36666         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36667         allow.
36668         * conform/data/ctype.h-data [C99-based standards] (isblank):
36669         Expect function.
36670         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36671         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36672         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36673         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36674         Specify type.  Require positive value.
36675         (EILSEQ): Likewise.
36676         (ERANGE): Likewise.
36677         [ISO || POSIX] (EILSEQ): Do not expect.
36678         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36679         Specify type.  Require positive value.
36680         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36681         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36682         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36683         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36684         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36685         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36686         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36687         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36688         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36689         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36690         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36691         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36692         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36693         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36694         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36695         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36696         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36697         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36698         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36699         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36700         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36701         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36702         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36703         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36704         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36705         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36706         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36707         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36708         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36709         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36710         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36711         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36712         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36713         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36714         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36715         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36716         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36717         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36718         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36719         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36720         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36721         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36722         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36723         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36724         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36725         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36726         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36727         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36728         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36729         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36730         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36731         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36732         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36733         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36734         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36735         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36736         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36737         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36738         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36739         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36740         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36741         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36742         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36743         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36744         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36745         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36746         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36747         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36748         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36749         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36750         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36751         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36752         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36753         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36754         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36755         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36756         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36757         Require >= 2.
36758         (FLT_ROUNDS): Expect as macro, not constant.
36759         (FLT_MANT_DIG): Use macro-int-constant.
36760         (DBL_MANT_DIG): Likewise.
36761         (LDBL_MANT_DIG): Likewise.
36762         (FLT_DIG): Likewise.
36763         (DBL_DIG): Likewise.
36764         (LDBL_DIG): Likewise.
36765         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
36766         (DBL_MIN_EXP): Likewise.
36767         (LDBL_MIN_EXP): Likewise.
36768         (FLT_MAX_EXP): Use macro-int-constant.
36769         (DBL_MAX_EXP): Likewise.
36770         (LDBL_MAX_EXP): Likewise.
36771         (FLT_MAX_10_EXP): Likewise.
36772         (DBL_MAX_10_EXP): Likewise.
36773         (LDBL_MAX_10_EXP): Likewise.
36774         (FLT_MAX): Use macro-constant.
36775         (DBL_MAX): Likewise.
36776         (LDBL_MAX): Likewise.
36777         (FLT_EPSILON): Use macro-constant.  Give upper bound.
36778         (DBL_EPSILON): Likewise.
36779         (LDBL_EPSILON): Likewise.
36780         (FLT_MIN): Likewise.
36781         (DBL_MIN): Likewise.
36782         (LDBL_MIN): Likewise.
36783         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36784         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36785         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36786         [ISO11] (FLT_HAS_SUBNORM): Likewise.
36787         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36788         [ISO11] (DBL_DECIMAL_DIG): Likewise.
36789         [ISO11] (FLT_DECIMAL_DIG): Likewise.
36790         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36791         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36792         [ISO11] (FLT_TRUE_MIN): Likewise.
36793         [ISO11] (LDBL_TRUE_MIN): Likewise.
36794         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36795         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36796         (SCHAR_MIN): Use macro-int-constant.  Specify type.
36797         (SCHAR_MAX): Likewise.
36798         (UCHAR_MAX): Likewise.
36799         (CHAR_MIN): Likewise.
36800         (CHAR_MAX): Likewise.
36801         (MB_LEN_MAX): Use macro-int-constant.
36802         (SHRT_MIN): Use macro-int-constant.  Specify type.
36803         (SHRT_MAX): Likewise.
36804         (USHRT_MAX): Likewise.
36805         (INT_MAX): Likewise.
36806         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
36807         bound negative.
36808         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
36809         bound with "U".
36810         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
36811         bound with "L".
36812         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
36813         bound negative.  Suffix upper bound with "L".
36814         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
36815         bound with "UL".
36816         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36817         Specify type.
36818         [C99-based standards] (LLONG_MAX): Likewise.
36819         [C99-based standards] (ULLONG_MAX): Likewise.
36820         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
36821         == 0.
36822         [ISO11] (max_align_t): Require type.
36823         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36824
36825         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36826         from $CFLAGS, without defining away __attribute__ calls.
36827         (checknamespace): Use $CFLAGS_namespace.
36828
36829         * conform/conformtest.pl (@keywords): Only include C99 keywords
36830         for standards based on C99 or C11.
36831
36832         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36833         Disable tests.
36834         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36835         UNIX98]: Likewise.
36836
36837         * conform/conformtest.pl: Handle "macro-int-constant" and test for
36838         usability of symbols in #if.
36839
36840         * conform/conformtest.pl: If macro or constant types start
36841         "promoted:", expect the symbol to be of the following type
36842         promoted by the integer promotions.
36843
36844         * conform/conformtest.pl: Parse all "constant" and "macro" lines
36845         in one place.  Also handle "macro-constant".
36846
36847         * conform/conformtest.pl: Only accept expected macro values with
36848         "==".  Parse all "macro" lines in one place.
36849         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36850
36851         * conform/conformtest.pl: Handle braced types on "constant" lines
36852         instead of handling "typed-constant".
36853         * conform/data/signal.h-data: Use "constant" instead of
36854         "typed-constant".
36855
36856         * conform/conformtest.pl: Handle "optional-" at start of lines in
36857         one place rather than duplicating several cases.  Handle each
36858         format of "macro" line with initial "optional-".
36859
36860         * conform/conformtest.pl: Only accept expected constant or
36861         optional-constant values with "==".  Parse all "constant" lines in
36862         one place.  Parse all "optional-constant" lines in one place.
36863         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36864         * conform/data/fmtmsg.h-data: Likewise.
36865         * conform/data/netinet/in.h-data: Likewise.
36866         * conform/data/tar.h-data: Likewise.
36867         * conform/data/limits.h-data: Use "==" form on "constant" and
36868         "optional-constant" lines.
36869
36870         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36871         Use -std=c99 for XOPEN2K.
36872         (@knownproblems): Remove.
36873         (newtoken): Don't check %isknown.
36874
36875         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36876         Do not expect macro.
36877         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36878         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36879         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36880         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36881         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36882         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36883         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36884         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36885         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36886         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36887         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36888         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36889         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36890         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36891         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36892         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36893         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36894         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36895         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36896         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36897         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36898         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36899         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36900         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36901         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36902         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36903         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36904         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36905         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36906         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36907         [XPG3] (acosh): Likewise.
36908         [XPG3] (asinh): Likewise.
36909         [XPG3] (atanh): Likewise.
36910         [XPG3] (cbrt): Likewise.
36911         [XPG3] (expm1): Likewise.
36912         [XPG3] (ilogb): Likewise.
36913         [XPG3] (log1p): Likewise.
36914         [XPG3] (logb): Likewise.
36915         [XPG3] (nextafter): Likewise.
36916         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36917         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36918         [XPG3] (remainder): Likewise.
36919         [XPG3] (rint): Likewise.
36920         [XPG3 || XPG4 || UNIX98] (round): Likewise.
36921         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36922         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36923         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36924         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36925         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36926         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36927         [UNIX98 || XOPEN2K] (scalb): Expect.
36928         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36929         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36930         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36931         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36932         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36933         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36934         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36935         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36936         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36937         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36938         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36939         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36940         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36941         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36942         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36943         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36944         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36945         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36946         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36947         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36948         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36949         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36950         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36951         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36952         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36953         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36954         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36955         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36956         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36957         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36958         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36959         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36960         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36961         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36962         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36963         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36964         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36965         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36966         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36967         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36968         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36969         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36970         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36971         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36972         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36973         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36974         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36975         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36976         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36977         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36978         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36979         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36980         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36981         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36982         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36983         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36984         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36985         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36986         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36987         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36988         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36989         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36990         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36991         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36992         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36993         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36994         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36995         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36996         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36997         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36998         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36999         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37000         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37001         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37002         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37003         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37004         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37005         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37006         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37007         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37008         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37009         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37010         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37011         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37012         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37013         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37014         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37015         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37016         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37017         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37018         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37019         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37020         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37021         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37022         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37023         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37024         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37025         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37026         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37027         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37028         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37029         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37030         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37031         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37032         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37033         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37034         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37035         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37036         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37037         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37038         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37039         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37040         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37041         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37042         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37043         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37044         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37045         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37046         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37047         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37048         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37049         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37050         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37051         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37052         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37053         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37054         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37055         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37056         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37057         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37058         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37059         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37060         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37061         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37062         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37063         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37064         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37065
37066         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37067         _XOPEN_SOURCE_EXTENDED for XPG4.
37068
37069         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37070
37071         * Makeconfig (localtime): Remove variable.
37072         (inst_localtime-file): Likewise.
37073
37074 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37075
37076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37077         Update.
37078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37079         Update.
37080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37081         Update.
37082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37083         Update.
37084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37085         Update.
37086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37087         Update.
37088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37089         Update.
37090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37091         Update.
37092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37093         Update.
37094
37095 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37096
37097         [BZ #2550]
37098         [BZ #2570]
37099         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37100         comparisons to determine direction to adjust input.
37101         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37102         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37103         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37104         Likewise.
37105         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37106         Likewise.
37107         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37108         Likewise.
37109         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37110         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37111         Likewise.
37112         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37113         Likewise.
37114         * math/libm-test.inc (nexttoward_test): Add more tests.
37115
37116 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37117
37118         [BZ #14040]
37119         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37120         in version GLIBC_2.1, not GLIBC_2.0.
37121         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37122         Likewise.
37123
37124 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
37125
37126         [BZ #13942]
37127         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37128         (1 - x) * (1 + x).
37129         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37130         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37131         * math/libm-test.inc (acos_test): Add more tests.
37132         (asin_test): Likewise.
37133         * sysdeps/i386/fpu/libm-test-ulps: Update.
37134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37135
37136         [BZ #14034]
37137         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37138         of square root.
37139         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37140         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37141         * math/libm-test.inc (acos_test_tonearest): New function.
37142         (acos_test_towardzero): Likewise.
37143         (acos_test_downward): Likewise.
37144         (acos_test_upward): Likewise.
37145         (asin_test_tonearest): Likewise.
37146         (asin_test_towardzero): Likewise.
37147         (asin_test_downward): Likewise.
37148         (asin_test_upward): Likewise.
37149         (main): Call the new functions.
37150         * sysdeps/i386/fpu/libm-test-ulps: Update.
37151         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37152
37153         [BZ #13884]
37154         [BZ #13924]
37155         * math/e_exp10.c: Include <float.h>.
37156         (__ieee754_exp10): Handle underflow here rather than multiplying
37157         large negative argument by M_LN10.
37158         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37159         of __ieee754_expf.
37160         * math/e_exp10l.c: Include <float.h>.
37161         (__ieee754_exp10l): Handle underflow here rather than multiplying
37162         large negative argument by M_LN10l.
37163         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
37164         spurious overflow exception on underflow.
37165
37166 2012-04-29  Marek Polacek  <polacek@redhat.com>
37167
37168         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37169         (__fortify_function): New macro.
37170         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37171         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37172         __extern_always_inline.
37173         * libio/bits/stdio2.h: Likewise.
37174         * libio/bits/stdio.h: Likewise.
37175         * string/string.h: Likewise.
37176         * string/bits/string3.h: Likewise.
37177         * include/stdio.h: Likewise.
37178         * stdlib/bits/stdlib.h: Likewise.
37179         * stdlib/stdlib.h: Likewise.
37180         * rt/bits/mqueue2.h: Likewise.
37181         * rt/mqueue.h: Likewise.
37182         * posix/bits/unistd.h: Likewise.
37183         * posix/unistd.h: Likewise.
37184         * io/bits/poll2.h: Likewise.
37185         * io/bits/fcntl2.h: Likewise.
37186         * io/fcntl.h: Likewise.
37187         * io/sys/poll.h: Likewise.
37188         * misc/bits/syslog.h: Likewise.
37189         * misc/bits/syslog-ldbl.h: Likewise.
37190         * misc/sys/syslog.h: Likewise.
37191         * socket/bits/socket2.h: Likewise.
37192         * socket/sys/socket.h: Likewise.
37193         * debug/tst-chk1.c: Likewise.
37194         * wcsmbs/bits/wchar2.h: Likewise.
37195         * wcsmbs/bits/wchar-ldbl.h: Likewise.
37196         * wcsmbs/wchar.h: Likewise.
37197
37198 2012-04-29  Andreas Jaeger  <aj@suse.de>
37199
37200         * Makerules (tests): Remove enable-check-abi protection.
37201         (check-abi-warn): Remove.
37202         (check-abi-%): Remove check-abi-warn usage.
37203
37204         * configure.in: Remove check-abi configure option.
37205         * configure: Regenerated.
37206         * config.make.in (enable-check-abi): Remove.
37207
37208 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
37209
37210         [BZ #14033]
37211         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37212         double functions to double *_finite functions.
37213
37214         [BZ #13941]
37215         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37216         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37217         LDBL_MIN_EXP.
37218         * stdio-common/Makefile (tests): Add tst-sprintf3.
37219         * stdio-common/tst-sprintf3.c: New file.
37220
37221         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37222         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37223
37224 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
37225
37226         * conform/conformtest.pl: Remove duplicate typed-constant
37227         handling.
37228
37229 2012-04-28  David S. Miller  <davem@davemloft.net>
37230
37231         * Makerules (%.abilist): Add vpath on sysdep_dirs.
37232         (check-abi-%): Remove AWK script prerequisite and explicit
37233         abilist directory.
37234         (check-abi): Rewrite to just diff the symlist with the abilist.
37235         (config-tls, config-abi-config): Delete, no longer used.
37236         (update-abi-%): Remove AWK script and explicit abilist directory.
37237         (update-abi): Rewrite to simply compare and conditionally copy the
37238         symlist and the sysdep abilist file.  Remove update-abi-config
37239         checks.
37240         * abilist/ld.abilist: Remove.
37241         * abilist/libBrokenLocale.abilist: Remove.
37242         * abilist/libanl.abilist: Remove.
37243         * abilist/libcrypt.abilist: Remove.
37244         * abilist/libdl.abilist: Remove.
37245         * abilist/librt.abilist: Remove.
37246         * abilist/libthread_db.abilist: Remove.
37247         * abilist/libutil.abilist: Remove.
37248         * scripts/extract-abilist.awk: Remove.
37249         * scripts/merge-abilist.awk: Remove.
37250         * sysdeps/generic/libcidn.abilist: New file.
37251         * sysdeps/generic/libnss_compat.abilist: New file.
37252         * sysdeps/generic/libnss_db.abilist: New file.
37253         * sysdeps/generic/libnss_dns.abilist: New file.
37254         * sysdeps/generic/libnss_files.abilist: New file.
37255         * sysdeps/generic/libnss_hesiod.abilist: New file.
37256         * sysdeps/generic/libnss_nis.abilist: New file.
37257         * sysdeps/generic/libnss_nisplus.abilist: New file.
37258         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37259         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37260         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37261         file.
37262         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37263         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37264         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37265         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37266         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37267         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37268         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37269         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37270         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37271         file.
37272         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37273         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37274         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37275         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37276         file.
37277         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37278         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37279         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37280         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37281         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37282         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37283         file.
37284         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37285         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37286         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37287         file.
37288         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37289         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37290         New file.
37291         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37292         New file.
37293         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37294         New file.
37295         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37296         New file.
37297         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37298         New file.
37299         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37300         New file.
37301         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37302         New file.
37303         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37304         New file.
37305         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37306         New file.
37307         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37308         New file.
37309         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37310         New file.
37311         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37312         New file.
37313         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37314         New file.
37315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37316         file.
37317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37318         New file.
37319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37320         New file.
37321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37322         file.
37323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37324         New file.
37325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37326         New file.
37327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37328         file.
37329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37330         New file.
37331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37332         New file.
37333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37334         New file.
37335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37336         New file.
37337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37338         New file.
37339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37340         New file.
37341         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37342         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37343         file.
37344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37345         New file.
37346         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37347         file.
37348         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37349         file.
37350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37351         file.
37352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37353         file.
37354         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37355         file.
37356         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37357         New file.
37358         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37359         file.
37360         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37361         file.
37362         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37363         New file.
37364         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37365         file.
37366         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37367         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37368         file.
37369         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37370         New file.
37371         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37372         file.
37373         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37374         file.
37375         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37376         file.
37377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37378         file.
37379         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37380         file.
37381         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37382         New file.
37383         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37384         file.
37385         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37386         file.
37387         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37388         New file.
37389         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37390         file.
37391         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37392         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37393         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37394         file.
37395         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37396         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37397         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37398         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37399         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37400         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37401         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37402         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37403         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37404         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37405         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37406         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37407         file.
37408         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37409         New file.
37410         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37411         file.
37412         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37413         file.
37414         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37415         file.
37416         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37417         file.
37418         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37419         file.
37420         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37421         New file.
37422         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37423         New file.
37424         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37425         file.
37426         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37427         New file.
37428         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37429         file.
37430         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37431         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37432         file.
37433         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37434         New file.
37435         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37436         file.
37437         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37438         file.
37439         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37440         file.
37441         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37442         file.
37443         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37444         file.
37445         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37446         New file.
37447         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37448         New file.
37449         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37450         file.
37451         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37452         New file.
37453         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37454         file.
37455
37456 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
37457
37458         * conform/conformtest.pl: Fix typo in handling typed-constant from
37459         allow-header.
37460
37461 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
37462
37463         * README: Cut down references to pre-2.6 Linux kernels and
37464         Linuxthreads.  Update lists of configurations in libc and ports
37465         and sort alphabetically.  Say "or newer" with Linux kernel version
37466         requirements.
37467
37468         * config.h.in [IS_IN_build]: Allow compiling without optimization.
37469
37470 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37471
37472         [BZ #887]
37473         * math/libm-test.inc (logb_test_downward): New test to expose
37474         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37475         rounding mode.
37476
37477 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
37478
37479         [BZ #14027]
37480         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37481         to be done.
37482         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37483         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37484
37485 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
37486
37487         * sysdeps/unix/i386/brk.S: Remove file.
37488         * sysdeps/unix/i386/dl-brk.S: Likewise.
37489         * sysdeps/unix/i386/pipe.S: Likewise.
37490         * sysdeps/unix/i386/sigreturn.S: Likewise.
37491         * sysdeps/unix/i386/syscall.S: Likewise.
37492         * sysdeps/unix/i386/vfork.S: Likewise.
37493         * sysdeps/unix/i386/wait.S: Likewise.
37494
37495         * sysdeps/unix/common/tcsendbrk.c: Move to ...
37496         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37497
37498         * configure.in (arm*-none*): Do not allow without
37499         --enable-hacker-mode.
37500         (netbsd*): Remove case setting base_os.
37501         (386bsd*): Likewise.
37502         (freebsd*): Likewise.
37503         (bsdi*): Likewise.
37504         (osf*): Likewise.
37505         (sunos*): Likewise.
37506         (ultrix*): Likewise.
37507         (newsos*): Likewise.
37508         (dynix*): Likewise.
37509         (*bsd*): Likewise.
37510         (sysv*): Likewise.
37511         (isc*): Likewise.
37512         (esix*): Likewise.
37513         (sco*): Likewise.
37514         (minix*): Likewise.
37515         (irix4*): Likewise.
37516         (irix6*): Likewise.
37517         (solaris[2-9]*): Likewise.
37518         (none): Likewise.
37519         * configure: Regenerated.
37520
37521 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37522
37523         [BZ #11521]
37524         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37525         overflow or cancellation in calculating denominator.
37526         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37527         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37528         down expression to avoid unexpected rounding in newer GCCs.
37529         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37530
37531 2012-04-26  David S. Miller  <davem@davemloft.net>
37532
37533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37534         long-double compat symbols.
37535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37540         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37541         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37542         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37543         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37544         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37545         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37546         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37547         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37548
37549 2012-04-25  David S. Miller  <davem@davemloft.net>
37550
37551         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37552         HWCAP_* values only after the memory barriers have been defined.
37553         (atomic_full_barrier): Define.
37554         (atomic_read_barrier): Define.
37555         (atomic_write_barrier): Define.
37556
37557 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37558
37559         * shlib-versions: Add libgcc_s version information.
37560         * sysdeps/generic/libgcc_s.h: Remove.
37561         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37562         libgcc_s.h.
37563         * sysdeps/gnu/unwind-resume.c: Likewise.
37564         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37565
37566 2012-04-25  David S. Miller  <davem@davemloft.net>
37567
37568         * sysdeps/unix/sparc/brk.S: Delete.
37569         * sysdeps/unix/sparc/dl-brk.S: Delete.
37570         * sysdeps/unix/sparc/pipe.S: Delete.
37571         * sysdeps/unix/sparc/sysdep.S: Delete.
37572         * sysdeps/unix/sparc/sysdep.h: Delete.
37573         * sysdeps/unix/sparc/vfork.S: Delete.
37574         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37575         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37576         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37577         (ret_ERRVAL, r0, r1, MOVE): Define.
37578         (JUMPTARGET): Remove.
37579         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37580         sysdeps/unix/sparc/sysdep.h
37581         (ENTRY, END): Remove.
37582         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37583
37584 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
37585
37586         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37587         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37588         -DIS_IN_build.
37589
37590         * timezone/README: Update upstream location and email address for
37591         tzcode and tzdata.
37592         * timezone/zdump.c: Update from tzcode 2012b.
37593         * timezone/zic.c: Likewise.
37594
37595         * configure.in (libc_cv_as_needed): Remove test.
37596         * configure: Regenerated.
37597         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37598         conditional definition.
37599         [$(have-as-needed) != yes] (no-as-needed): Likewise.
37600         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37601         * config.make.in (have-as-needed): Remove variable.
37602
37603 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37604             Paul Pluzhnikov  <ppluzhnikov@google.com>
37605
37606         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37607         strings correctly.
37608
37609 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
37610
37611         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37612         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37613         * sysdeps/sh/strlen.S: Likewise.
37614
37615 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37616
37617         * sysdeps/unix/fork.S: Remove file.
37618         * sysdeps/unix/i386/fork.S: Likewise.
37619         * sysdeps/unix/sparc/fork.S: Likewise.
37620
37621         * sysdeps/unix/system.c: Remove file.
37622         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37623
37624         * sysdeps/unix/getegid.S: Remove file.
37625         * sysdeps/unix/geteuid.S: Likewise.
37626
37627 2012-04-24  Roland McGrath  <roland@hack.frob.com>
37628
37629         * scripts/check-localplt.awk: New file.
37630         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37631         of diff.
37632         * scripts/data/localplt-generic.data: Add a comment.
37633
37634         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37635         NODE when __dir_mkfile failed.
37636         * sysdeps/mach/hurd/symlinkat.c: Likewise.
37637         Reported by Ludovic Courtès <ludo@gnu.org>.
37638
37639 2012-04-24  Andreas Jaeger  <aj@suse.de>
37640
37641         * Makerules (common-clean): Also remove gen-as-const-headers
37642         files.
37643
37644 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37645
37646         * Makerules (native-compile): Do not change working directory for
37647         build.  Use $(OUTPUT_OPTION) in command.
37648         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37649
37650 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37651
37652         [BZ #13886]
37653         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37654         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37655         * math/libm-test.inc (floor_test): Add more tests.
37656         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37657
37658 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37659
37660         * sysdeps/unix/getdents.c: Remove file.
37661         * sysdeps/unix/sysv/getdents.c: Likewise.
37662         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37663
37664         * sysdeps/unix/syscalls.list (madvise): Add syscall from
37665         sysdeps/unix/mman/syscalls.list.
37666         (mmap): Likewise.
37667         (mprotect): Likewise.
37668         (msync): Likewise.
37669         (munmap): Likewise.
37670         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37671         * sysdeps/unix/mman/syscalls.list: Remove.
37672         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37673
37674         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37675         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37676         * configure: Regenerated.
37677         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37678         $(libgcc_s_suffix).
37679         * config.make.in (libgcc_s_suffix): Remove variable.
37680
37681 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
37682
37683         * sysdeps/unix/sysv/gethostname.c: Move to ...
37684         * sysdeps/posix/gethostname.c: ... here.
37685
37686         * sysdeps/unix/execve.S: Remove file.
37687
37688         * sysdeps/unix/_exit.S: Remove file.
37689
37690 2012-04-23  Andreas Jaeger  <aj@suse.de>
37691
37692         [BZ #13739]
37693         * manual/Makefile: Remove make dist support, there's no
37694         need for a stand-alone documentation tar ball.
37695         (TEXI2DVI): Define always, it's not in Makeconfig.
37696         (dist): Removed.
37697         (tar-it): Removed.
37698         (edition): Removed.
37699         (glibc-doc-$(edition).tar): Removed
37700         (%.Z): Removed.
37701         (%.gz): Removed.
37702         (%.uu): Removed.
37703         (ETAGS): Remove, it's in Makeconfig.
37704         (move-if-change): Remove, it's in Makeconfig.
37705
37706 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
37707
37708         [BZ #13970]
37709         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37710         (strtod, strtof, strtold, strtol, strtoul, strtoq)
37711         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37712         (strtod_l, strtof_l, strtold_l): Remove __wur.
37713         It is not necessarily an error to ignore strtol's return value.
37714         One can reliably look at the stored endptr to decide whether
37715         the number had valid syntax.
37716
37717 2012-04-21  Andreas Jaeger  <aj@suse.de>
37718
37719         [BZ #13739]
37720         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37721
37722 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
37723
37724         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37725         * sysdeps/unix/sysv/Versions: Remove file.
37726
37727 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
37728
37729         [BZ #13927]
37730         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37731
37732 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
37733
37734         [BZ #7064]
37735         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37736         version from __vm86.
37737
37738 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
37739
37740         * sysdeps/unix/common/lxstat.c: Remove file.
37741         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37742
37743         * sysdeps/unix/sysv/Makefile: Remove file.
37744
37745         * sysdeps/unix/sysv/direct.h: Remove file.
37746
37747         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37748         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37749         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37750         * sysdeps/unix/sysv/bits/signum.h: Likewise.
37751         * sysdeps/unix/sysv/bits/stat.h: Likewise.
37752         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37753         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37754
37755         * sysdeps/unix/sysv/setrlimit.c: Remove file.
37756
37757         * sysdeps/unix/xmknod.c: Remove file.
37758         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37759
37760         * sysdeps/unix/sysv/settimeofday.c: Remove file.
37761
37762         * sysdeps/unix/sysv/i386/time.S: Remove file.
37763
37764         * sysdeps/unix/fxstat.c: Remove file.
37765         * sysdeps/unix/xstat.c: Likewise.
37766         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37767
37768         * sysdeps/unix/sysv/sigaction.c: Remove file.
37769
37770         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37771         (sysdep_headers): Remove variable.
37772         [termio.h not in sysdep_headers] (generated): Likewise.
37773         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37774         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37775         * sysdeps/unix/sysv/tcdrain.c: Likewise.
37776         * sysdeps/unix/sysv/tcflow.c: Likewise.
37777         * sysdeps/unix/sysv/tcflush.c: Likewise.
37778         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37779         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37780         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37781         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37782         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37783
37784         * sysdeps/unix/siglist.c: Remove file.
37785
37786         * sysdeps/unix/getppid.S: Remove file.
37787
37788         * sysdeps/unix/mkdir.c: Remove file.
37789         * sysdeps/unix/rmdir.c: Likewise.
37790
37791 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
37792
37793         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37794         ERR_MAX value.
37795         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37796         errlist-compat value.
37797
37798 2012-04-18  David S. Miller  <davem@davemloft.net>
37799
37800         * sysdeps/generic/memcopy.h (reg_char): Delete.
37801         * debug/strcat_chk.c: Use char, not reg_char.
37802         * debug/strcpy_chk.c: Likewise.
37803         * debug/strncat_chk.c: Likewise.
37804         * debug/strncpy_chk.c: Likewise.
37805         * string/memchr.c: Likewise.
37806         * string/memrchr.c: Likewise.
37807         * string/rawmemchr.c: Likewise.
37808         * string/strcat.c: Likewise.
37809         * string/strchr.c: Likewise.
37810         * string/strchrnul.c: Likewise.
37811         * string/strcmp.c: Likewise.
37812         * string/strcpy.c: Likewise.
37813         * string/strncat.c: Likewise.
37814         * string/strncmp.c: Likewise.
37815         * string/strncpy.c: Likewise.
37816
37817 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
37818
37819         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37820         __builtin_memcopy is called when src and dest ranges are known to not
37821         overlap.
37822
37823 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
37824
37825         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37826         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37827         fwd_align_merge macro call.
37828         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37829         bwd_align_merge macro call.
37830         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37831
37832 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
37833
37834         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37835         bwd_align_merge macros.
37836         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37837         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37838         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37839
37840 2012-04-18  David S. Miller  <davem@davemloft.net>
37841
37842         * sysdeps/sparc/sparc64/memcopy.h: Delete.
37843
37844 2012-04-18  Andreas Jaeger  <aj@suse.de>
37845
37846         [BZ# 6794]
37847         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37848         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37849         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37850
37851         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37852         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37853         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37854
37855         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37856         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37857         Adjust for changed ldbl-128 files.
37858
37859         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37860         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37861         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37862
37863 2012-04-17  David S. Miller  <davem@davemloft.net>
37864
37865         * sysdeps/sparc/sparc32/memcopy.h: Delete.
37866
37867 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
37868
37869         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37870         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37871         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37872         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37873         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37874         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37875
37876 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37877
37878         [BZ #6794]
37879         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37880         * math/libm-test.inc: Add ilogb errno and exception tests.
37881         * math/w_ilogb.c: New file: ilogb wrapper.
37882         * math/w_ilogbf.c: New file: ilogbf wrapper.
37883         * math/w_ilogbl.c: New file: ilogbl wrapper.
37884         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37885         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37886         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37887         exception being thrown with 0.0 as argument.
37888         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37889         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37890         exception being thrown with 0.0 as argument.
37891         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37892         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37893         exception being thrown with 0.0 as argument.
37894         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37895         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37896         exception being thrown with 0.0 as argument.
37897         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37898         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
37899         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
37900         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37901         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37902         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37903         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37904         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37905         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37906
37907 2012-04-17  Petr Baudis  <pasky@ucw.cz>
37908
37909         * include/sys/uio.h: Change __vector to __iovec to avoid clash
37910         with altivec.
37911
37912 2012-04-16  Marek Polacek  <polacek@redhat.com>
37913
37914         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37915
37916 2012-04-16  Marek Polacek  <polacek@redhat.com>
37917
37918         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37919         operands of fdivp instruction.
37920
37921 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
37922
37923         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37924         * elf/tst-auditmod3b.c: Likewise.
37925         * elf/tst-auditmod4b.c: Likewise.
37926         * elf/tst-auditmod5b.c: Likewise.
37927         * elf/tst-auditmod6b.c: Likewise.
37928         * elf/tst-auditmod6c.c: Likewise.
37929         * elf/tst-auditmod7b.c: Likewise.
37930         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37931         * sysdeps/x86_64/preconfigure.in: Likewise.
37932         * sysdeps/x86_64/preconfigure: Regenerated.
37933
37934 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
37935
37936         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37937         __ILP32__.
37938
37939 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
37940
37941         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37942         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37943
37944 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
37945
37946         [BZ #13973]
37947         * locale/iso-639.def: Fix gl language name. Spotted by
37948         Yaron Shahrabani.
37949
37950 2012-04-12  Roland McGrath  <roland@hack.frob.com>
37951
37952         [BZ #2074]
37953         * libio/libio.h (__io_write_fn): Update comment.
37954
37955 2012-04-12  Petr Baudis  <pasky@ucw.cz>
37956
37957         [BZ #2074]
37958         * stdio.texi (Hook Functions): The user provided writer function
37959         is not allowed to return -1.
37960
37961 2012-04-11  David S. Miller  <davem@davemloft.net>
37962
37963         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37964
37965 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
37966
37967         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37968         Add a leading slash to rtkaio.
37969
37970 2012-04-11  Jim Meyering  <meyering@redhat.com>
37971
37972         [BZ #11959]
37973         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37974         It is not necessarily an error to ignore fwrite's return
37975         value.  One can reliably use ferror to test for errors after
37976         the fact.
37977
37978 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
37979
37980         * bits/types.h (__snseconds_t): New type.
37981         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37982
37983         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37984         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37985         (__SNSECONDS_T_TYPE): Likewise.
37986         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37987         (__SNSECONDS_T_TYPE): Likewise.
37988         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37989         (__SNSECONDS_T_TYPE): Likewise.
37990
37991 2012-04-10  Andreas Jaeger  <aj@suse.de>
37992
37993         [BZ #2636]
37994         * manual/time.texi (Processor Time): Return type of times is
37995         elapsed real time since an arbitrary point in the past.
37996         (CPU Time): Move CLK_TCK from here...
37997         (Processor Time): ...to here.  Correct description.
37998         * manual/conf.texi (Constants for Sysconf): Correct description of
37999         _SC_CLK_TCK.
38000
38001 2012-04-10  David S. Miller  <davem@davemloft.net>
38002
38003         [BZ #13967]
38004         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38005         where the is a gap between DT_REL(A) and DT_JMPREL.
38006
38007 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38008
38009         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38010         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38011         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38012
38013 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38014
38015         * elf/dl-support.c (_dl_inhibit_cache): New variable.
38016         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38017         (dl_main): Handle --inhibit-cache.
38018         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38019         _dl_inhibit_cache.
38020         * elf/dl-load.c (_dl_map_object): Use it.
38021         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38022
38023 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38024
38025         [BZ #13872]
38026         * sysdeps/i386/fpu/e_powl.S (p78): New object.
38027         (__ieee754_powl): Saturate large exponents rather than testing for
38028         overflow of y*log2(x).
38029         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38030         * math/libm-test.inc (pow_test): Do not permit spurious overflow
38031         exceptions.
38032
38033         [BZ #11521]
38034         * math/s_ctan.c: Include <float.h>.
38035         (__ctan): Avoid internal overflow or cancellation in calculating
38036         denominator.
38037         * math/s_ctanf.c: Likewise.
38038         * math/s_ctanl.c: Likewise.
38039         * math/s_ctanh.c: Likewise.
38040         * math/s_ctanhf.c: Likewise.
38041         * math/s_ctanhl.c: Likewise.
38042         * math/libm-test.inc (ctan_test): Add more tests.
38043         (ctanh_test): Likewise.
38044         * sysdeps/i386/fpu/libm-test-ulps: Update.
38045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38046
38047 2012-04-09  Andreas Jaeger  <aj@suse.de>
38048
38049         [BZ #6894]
38050         * manual/filesys.texi (Directory Entries): Mention that d_namlen
38051         is an optional BSD extension.
38052
38053         [BZ #10254]
38054         * manual/stdio.texi (Opening Streams): Document additional fopen
38055         parameters.
38056
38057 2012-04-09  Roland McGrath  <roland@hack.frob.com>
38058
38059         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38060         %eax without telling the compiler.
38061
38062 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
38063
38064         [BZ # 13963]
38065         * manual/install.texi: Use sourceware.org.
38066
38067 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38068
38069         [BZ #13873]
38070         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38071         (__ieee754_pow): Generate overflow and underflow using huge*huge
38072         and tiny*tiny rather than just returning constant infinity or zero
38073         for large exponents.
38074         * math/libm-test.inc (pow_test): Require overflow exceptions for
38075         applicable cases of large exponents.
38076
38077         [BZ #706]
38078         * sysdeps/i386/fpu/e_pow.S (p10): New object.
38079         (__ieee754_pow): Use iterative multiplication algorithm only for
38080         integer exponents with absolute value below 1024.  Check for odd
38081         integer exponents when using algorithm for real exponents.
38082         * math/libm-test.inc (pow_test): Add more tests.
38083         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38084
38085 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
38086
38087         [BZ #13705]
38088         * math/libm-test.inc (exp_test): Do not allow overflow exception
38089         on underflow test.
38090
38091 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
38092
38093         [BZ #13705]
38094         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38095         instead of __kernel_standard_f.
38096
38097 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
38098
38099         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38100         * sysdeps/x86_64/memset_chk.S: Likewise.
38101
38102 2012-04-08  Andreas Jaeger  <aj@suse.de>
38103
38104         [BZ #10153]
38105         * manual/startup.texi (Environment Access): Describe return value
38106         for putenv and setenv.
38107
38108         [BZ #6895]
38109         * manual/filesys.texi (Directory Entries): Add description for
38110         DT_LNK.
38111
38112         [BZ #6890]
38113         * manual/filesys.texi (Directory Entries): Clarify that it's file
38114         system not operating system in the description of DT_UNKNOWN.
38115
38116         [BZ #6578]
38117         * manual/syslog.texi (closelog): Fix reference, it's openlog.
38118
38119 2012-04-08  Stephen Compall  <s11@member.fsf.org>
38120
38121         [BZ #6649]
38122         * manual/llio.texi (Opening and Closing Files): Add cross
38123         reference to explain mode argument.
38124
38125 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
38126
38127         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38128         * sysdeps/x86_64/memset_chk.S: Likewise.
38129
38130 2012-04-07  David S. Miller  <davem@davemloft.net>
38131
38132         * elf/elf.h (R_SPARC_WDISP10): Define.
38133         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38134         R_SPARC_SIZE32.
38135         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38136         R_SPARC_SIZE64 and R_SPARC_H34.
38137
38138 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
38139
38140         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38141         conditions and remove no longer applicable assertion.
38142
38143 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38144
38145         * bits/byteswap.h: Include <features.h>.
38146         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38147         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38148
38149 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38150
38151         * bits/byteswap.h (__bswap_16): Removed.
38152         Include <bits/byteswap-16.h> to get __bswap_16.
38153         * sysdeps/i386/bits/byteswap.h: Likewise.
38154         * sysdeps/s390/bits/byteswap.h: Likewise.
38155         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38156         * bits/byteswap-16.h: New file.
38157         * sysdeps/i386/bits/byteswap-16.h: Likewise.
38158         * sysdeps/s390/bits/byteswap-16.h: Likewise.
38159         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38160         * string/Makefile (headers): Add bits/byteswap-16.h.
38161
38162 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
38163
38164         [BZ #13895]
38165         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38166         extra indirection.
38167         * nss/Makefile (tests-static, tests): Add tst-nss-static.
38168         * nss/tst-nss-static.c: New.
38169
38170 2012-04-06  Robert Millan  <rmh@gnu.org>
38171
38172         [BZ #6486]
38173         * manual/llio.texi (File Position Primitive): lseek
38174         refers to WHENCE when it really means OFFSET.
38175
38176 2012-04-06  Andreas Jaeger  <aj@suse.de>
38177
38178         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38179         strncmp declarations.
38180
38181         * abilist/libc.abilist: Add __poll and __ppoll.
38182
38183 2012-04-05  David S. Miller  <davem@davemloft.net>
38184
38185         * scripts/check-local-headers.sh: Accept a host triplet in the
38186         path matched by the exclude regexp.
38187
38188         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38189         definition.
38190         * sysdeps/powerpc/powerpc32/dl-machine.h
38191         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38192         * sysdeps/s390/s390-32/dl-machine.h
38193         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38194         * sysdeps/sparc/sparc32/dl-machine.h
38195         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38196         * sysdeps/sparc/sparc64/dl-machine.h
38197         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38198
38199         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38200         lazy binding.
38201         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38202         undefined symbol errors.
38203
38204         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38205         DT_NEEDED entries.
38206
38207 2012-04-05  Michael Matz  <matz@suse.de>
38208
38209         [BZ #13592]
38210         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38211
38212 2012-04-05  Andreas Jaeger  <aj@suse.de>
38213
38214         [BZ #13908]
38215         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38216         comment.
38217
38218 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38219
38220         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38221         which ROUND is no valid rounding mode.
38222
38223 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38224
38225         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38226         read again.
38227         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38228
38229 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38230
38231         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38232         an exception using FPU order intentionally.
38233
38234 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38235
38236         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38237         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38238         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38239         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38240
38241 2012-04-05  Simon Josefsson  <simon@josefsson.org>
38242
38243         [BZ #12340]
38244         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38245         EINVAL when BUFLEN is too smal.
38246
38247 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
38248
38249         [BZ #13553]
38250         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38251         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38252
38253 2012-04-03  Andreas Jaeger  <aj@suse.de>
38254
38255         [BZ #13938]
38256         * manual/setjmp.texi (System V contexts): Fix sentence.
38257
38258         [BZ #13926]
38259         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38260         New macro for this case.
38261         [!__GNUC__] (__bswap_64): New inline function for this case.
38262         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38263         * bits/byteswap.h: Likewise.
38264         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38265         ull, guard with __GLIBC_HAVE_LONG_LONG.
38266
38267         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38268         __GLIBC_HAVE_LONG_LONG.
38269
38270         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38271         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38272
38273 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38274
38275         [BZ #13691]
38276         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38277         inptr and inend, rather than using last_ch.
38278
38279 2012-04-02  David S. Miller  <davem@davemloft.net>
38280
38281         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38282         * stdio-common/printf-parse.h (read_int): Change return type to
38283         'int', return -1 on INT_MAX overflow.
38284         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38285         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
38286         overflows INT_MAX.  Check for overflow of in-format-string precision
38287         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
38288         SIZE_MAX not INT_MAX for integer overflow test.
38289         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38290         skip the construct in the format string but do not record anything.
38291         * stdio-common/bug22.c: Adjust to test both width/prevision
38292         INT_MAX overflow as well as total length INT_MAX overflow.  Check
38293         explicitly for proper errno values.
38294
38295 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
38296
38297         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38298         CHAR_MAX.
38299         * string/test-strcmp.c [! WIDE]: Likewise.
38300         * time/tst-mktime2.c: Likewise for INT_MAX.
38301         * string/test-string.h: #include <sys/param.h> for MIN.
38302
38303         * csu/init-first.c (__libc_init_first): Call __ctype_init.
38304         * sysdeps/i386/init-first.c (init): Likewise.
38305         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38306         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38307         * sysdeps/sh/init-first.c (init): Likewise.
38308
38309 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
38310
38311         * po/ru.po: Update from translation team.
38312         * po/vi.po: Likewise.
38313
38314 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38315
38316         * resolv/nss_dns/dns-host.c: Merge copyright years.
38317
38318 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38319
38320         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38321         Optimize memcpy with prefetch if
38322         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
38323         src, dst pointers have unequal 16 byte alignments.
38324
38325 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38326
38327         [BZ #13928]
38328         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38329         from a CNAME entry and return the minimum ttl for the query.
38330         (gaih_getanswer_slice): Likewise.
38331
38332 2012-03-30  Jeff Law  <law@redhat.com>
38333
38334         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38335         due to long keys.
38336         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38337         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38338
38339         * resolv/nss_dns/dns-host.c: Update copyright year.
38340
38341 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
38342
38343         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38344         requests to save a system call.  Fix check that all bytes are sent.
38345
38346         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38347         comments for sendmmsg.
38348
38349 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38350
38351         [BZ #13691]
38352         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38353         with only 1 character between 0x0041 and 0x01b0.
38354         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38355         * wcsmbs/tst-mbsnrtowcs.c: New file.
38356
38357 2012-03-29  David S. Miller  <davem@davemloft.net>
38358
38359         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38360         small copies by hand.
38361
38362 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38363
38364         [BZ #13761]
38365         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38366         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38367         group memberships.
38368
38369 2012-03-28  David S. Miller  <davem@davemloft.net>
38370
38371         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38372         that branches into memcpy.
38373         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38374         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38375         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38376         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38377         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38378         bits.
38379         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38380         implementation too.
38381         * sysdeps/sparc/mempcpy.S: New file.
38382
38383         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38384         the IFUNC routine in the libc case.
38385         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38386
38387         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38388         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38389         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38390         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38391         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38392         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38393         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38394         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38395
38396         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38397         loop to 256 bytes instead of 64 bytes and fix test signedness.
38398
38399         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38400         * sysdeps/sparc/sparc32/Makefile: rather than here...
38401         * sysdeps/sparc/sparc64/Makefile: and here.
38402
38403 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
38404
38405         * malloc/mallocbug.c: Avoid warnings about unused variables.
38406
38407 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38408
38409         [BZ #13760]
38410         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38411         in the right place. Discard and retry query if response is
38412         larger than input buffer size.
38413
38414 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
38415
38416         [BZ #369]
38417         [BZ #2678]
38418         [BZ #3866]
38419         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38420         x for large integer exponent.
38421         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38422         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
38423         sign of result as needed afterwards.
38424         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38425         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38426         result for underflowing pow the same as for overflow.
38427         (__kernel_standard_l): Handle powl overflow and underflow here
38428         rather than calling __kernel_standard.
38429         * math/libm-test.inc (pow_test): Add more tests.
38430
38431         [BZ #3868]
38432         [BZ #13879]
38433         [BZ #13910]
38434         [BZ #13911]
38435         [BZ #13912]
38436         [BZ #13913]
38437         [BZ #13915]
38438         [BZ #13916]
38439         [BZ #13917]
38440         [BZ #13918]
38441         [BZ #13919]
38442         [BZ #13920]
38443         [BZ #13921]
38444         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38445         * sysdeps/ieee754/k_standard.c: Include <float.h>.
38446         (__kernel_standard_l): New function.
38447         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38448         __kernel_standard.
38449         * math/w_acosl.c (__acosl): Likewise.
38450         * math/w_asinl.c (__asinl): Likewise.
38451         * math/w_atan2l.c (__atan2l): Likewise.
38452         * math/w_atanhl.c (__atanhl): Likewise.
38453         * math/w_coshl.c (__coshl): Likewise.
38454         * math/w_exp10l.c (__exp10l): Likewise.
38455         * math/w_exp2l.c (__exp2l): Likewise.
38456         * math/w_fmodl.c (__fmodl): Likewise.
38457         * math/w_hypotl.c (__hypotl): Likewise.
38458         * math/w_j0l.c (__j0l, __y0l): Likewise.
38459         * math/w_j1l.c (__j1l, __y1l): Likewise.
38460         * math/w_jnl.c (__jnl, __ynl): Likewise.
38461         * math/w_lgammal.c (__lgammal): Likewise.
38462         * math/w_log10l.c (__log10l): Likewise.
38463         * math/w_log2l.c (__log2l): Likewise.
38464         * math/w_logl.c (__logl): Likewise.
38465         * math/w_powl.c (__powl): Likewise.
38466         * math/w_remainderl.c (__remainderl): Likewise.
38467         * math/w_scalbl.c (sysv_scalbl): Likewise.
38468         * math/w_sinhl.c (__sinhl): Likewise.
38469         * math/w_sqrtl.c (__sqrtl): Likewise.
38470         * math/w_tgammal.c (__tgammal): Likewise.
38471         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38472         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38473         * math/libm-test.inc (acos_test): Add more tests.
38474         (acosh_test): Likewise.
38475         (asin_test): Likewise.
38476         (atanh_test): Likewise.
38477         (exp_test): Likewise.
38478         (exp10_test): Likewise.
38479         (exp2_test): Likewise.
38480         (expm1_test): Likewise.
38481         (lgamma_test): Likewise.
38482         (log_test): Likewise.
38483         (log10_test): Likewise.
38484         (log1p_test): Likewise.
38485         (log2_test): Likewise.
38486         (pow_test): Do not allow some spurious overflow exceptions.
38487         (sqrt_test): Add more tests.
38488         (tgamma_test): Likewise.
38489         (y0_test): Likewise.
38490         (y1_test): Likewise.
38491         (yn_test): Likewise.
38492
38493 2012-03-27  Anton Blanchard  <anton@samba.org>
38494
38495         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38496         MAP_HUGETLB.
38497         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38498         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38499         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38500
38501 2012-03-27  David S. Miller  <davem@davemloft.net>
38502
38503         * conform/Makefile: Run run-conformtest.sh using $(BASH).
38504
38505         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38506         have-as-vis3 check.
38507
38508 2012-03-27  Andreas Jaeger  <aj@suse.de>
38509
38510         * sysdeps/x86_64/elf/configure.in: Moved to ...
38511         * sysdeps/x86_64/configure.in: ... here.
38512         * sysdeps/x86_64/elf/start.S: Moved to ...
38513         * sysdeps/x86_64/start.S: ... here.
38514         * sysdeps/x86_64/elf/configure: Delete.
38515
38516         * sysdeps/x86_64/configure.in: Merge contents from
38517         sysdeps/i386/configure.in (without i686 check).
38518
38519         * sysdeps/i386/elf/Versions: Merge into ...
38520         * sysdeps/i386/Versions: ... this.
38521         * sysdeps/i386/elf/Versions: Delete file.
38522         * sysdeps/i386/elf/start.S: Moved to ...
38523         * sysdeps/i386/start.S: ...here.
38524         * sysdeps/i386/elf/configure.in: Merge into...
38525         * sysdeps/i386/configure.in: ...here.
38526         * sysdeps/i386/elf/configure.in: Delete file.
38527         * sysdeps/i386/elf/configure: Delete file.
38528
38529         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38530         * debug/backtracesyms.c: ... here.
38531         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38532         * debug/backtracesymsfd.c: ... here.
38533         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38534         * sysdeps/generic/ifunc-sel.h: ... here.
38535
38536         * sysdeps/unix/i386/start.c: Delete file.
38537         * sysdeps/unix/sparc/start.c: Delete file.
38538         * sysdeps/unix/start.c: Delete file.
38539
38540         * sysdeps/sh/elf/configure.in: Moved to ...
38541         * sysdeps/sh/configure.in: ... here.
38542         * sysdeps/sh/elf/start.S: Moved to ...
38543         * sysdeps/sh/start.S: ... here.
38544         * sysdeps/sh/elf/configure: Delete file.
38545
38546         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38547         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38548         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38549         * sysdeps/powerpc/powerpc64/entry.h: ... here.
38550         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38551         * sysdeps/powerpc/powerpc64/start.S: here.
38552         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38553         * sysdeps/powerpc/powerpc64/Makefile: ... this.
38554         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38555         * sysdeps/powerpc/powerpc64/configure.in: ... this.
38556         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38557
38558         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38559         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38560         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38561         * sysdeps/powerpc/powerpc32/start.S: ... here.
38562         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38563         * sysdeps/powerpc/powerpc32/configure.in: ... this.
38564         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38565
38566         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38567         * sysdeps/powerpc/ifunc-sel.h: ... here.
38568         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38569         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38570
38571         * sysdeps/sparc/elf/configure.in: Moved to ...
38572         * sysdeps/sparc/configure.in: ... here.
38573         * sysdeps/sparc/elf/configure: Delete file.
38574         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38575         * sysdeps/sparc/sparc32/start.S: ... here.
38576         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38577         * sysdeps/sparc/sparc64/start.S: ... here.
38578         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38579         * sysdeps/sparc/sparc32/Makefile: ... this.
38580         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38581         * sysdeps/sparc/sparc64/Makefile: ... this.
38582
38583         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38584         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38585         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38586         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38587         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38588         * sysdeps/s390/s390-32/setjmp.S: ... here.
38589         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38590         * sysdeps/s390/s390-32/configure.in: ... here.
38591         * sysdeps/s390/s390-32/elf/configure: Delete file.
38592         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38593         * sysdeps/s390/s390-32/start.S: ... here.
38594
38595         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38596         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38597         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38598         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38599         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38600         * sysdeps/s390/s390-64/setjmp.S: ... here.
38601         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38602         * sysdeps/s390/s390-64/configure.in: ... here
38603         * sysdeps/s390/s390-64/elf/configure: Delete file.
38604         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38605         * sysdeps/s390/s390-64/start.S: ... here.
38606         * sysdeps/s390/s390-64/elf/configure: Delete.
38607
38608         * configure.in: Remove support for elf directories in sysdeps.
38609
38610         * configure: Regenerated.
38611         * sysdeps/i386/configure: Regenerated.
38612         * sysdeps/powerpc/powerpc32/configure: Regenerated.
38613         * sysdeps/powerpc/powerpc64/configure: Regenerated.
38614         * sysdeps/s390/s390-32/configure: Regenerated.
38615         * sysdeps/s390/s390-64/configure: Regenerated.
38616         * sysdeps/sh/configure: Regenerated.
38617         * sysdeps/sparc/configure: Regenerated.
38618         * sysdeps/x86_64/configure: Regenerated.
38619
38620 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
38621
38622         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38623
38624         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38625         denormal result into account.
38626
38627 2012-03-25  Roland McGrath  <roland@hack.frob.com>
38628
38629         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38630         Reported by Allan McRae <allan@archlinux.org>.
38631
38632 2012-03-23  Jeff Law  <law@redhat.com>
38633
38634         * nss/getnssent.c (__nss_getent): Fix typo.
38635
38636 2012-03-23  David S. Miller  <davem@davemloft.net>
38637
38638         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38639
38640 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
38641
38642         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38643         to pad to uint64_t for each field.
38644         (dl_tls_index): Replace unsigned long with uint64_t.
38645
38646 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
38647         Paul Pluzhnikov  <ppluzhnikov@google.com>
38648
38649         [BZ #6528]
38650         * grp/Makefile (otherlibs): Don't set it.
38651         * inet/Makefile (otherlibs): Likewise.
38652         * login/Makefile (otherlibs): Likewise.
38653         * nscd/Makefile (otherlibs): Likewise.
38654         * posix/Makefile (otherlibs): Likewise.
38655         * pwd/Makefile (otherlibs): Likewise.
38656         * rt/Makefile (otherlibs): Likewise.
38657         * sunrpc/Makefile (otherlibs): Likewise.
38658         * nss/Makefile (otherlibs): Likewise.
38659         Add libnss_files to routines and static-only-routines.
38660         ($(objpfx)getent): Remove rule.
38661         * resolv/Makefile: Add libnss_dns and libresolv to routines and
38662         static-only-routines.
38663
38664 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
38665
38666         [BZ #13892]
38667         * math/s_cexp.c: Include <float.h>.
38668         (__cexp): Handle exp result overflowing not necessarily
38669         overflowing both real and imaginary parts of result.
38670         * math/s_cexpf.c: Likewise.
38671         * math/s_cexpl.c: Likewise.
38672         * math/libm-test.inc (cexp_test): Add more tests.
38673         * sysdeps/i386/fpu/libm-test-ulps: Update.
38674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38675
38676 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38677
38678         * include/link.h (ELFW): New macro.
38679         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38680         Replace ELF64_R_TYPE with ELFW(R_TYPE).
38681
38682 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38683
38684         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38685         with uint64_t.
38686
38687 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38688
38689         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38690         declaration.
38691         (struct La_x32_retval): Likewise.
38692
38693 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38694
38695         * sysdeps/x86_64/preconfigure.in: New file.
38696         * sysdeps/x86_64/preconfigure: New generated file.
38697
38698 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
38699
38700         [BZ #13824]
38701         * math/e_exp2l.c: Include <float.h>.
38702         (__ieee754_exp2l): Handle overflow and underflow cases
38703         separately.  Only pass fractional part of argument to
38704         __ieee754_expl.
38705         * math/libm-test.inc (exp2_test): Add more tests.
38706
38707         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38708         negating x to take absolute value.
38709         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38710         Likewise.
38711         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38712         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38713         Likewise.
38714         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38715         computing low part if x was negated.
38716         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38717
38718 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38719
38720         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38721         la_x32_gnu_pltexit.
38722         (pltexit): Cast int_retval to ptrdiff_t.
38723         * elf/tst-auditmod3b.c: Likewise.
38724         * elf/tst-auditmod4b.c: Likewise.
38725         * elf/tst-auditmod5b.c: Likewise.
38726         * elf/tst-auditmod6b.c: Likewise.
38727         * elf/tst-auditmod6c.c: Likewise.
38728         * elf/tst-auditmod7b.c: Likewise.
38729
38730         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38731         and x32_gnu_pltexit.
38732
38733         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38734         __ELF_NATIVE_CLASS.
38735         (La_x32_regs): New macro.
38736         (La_x32_retval): Likewise.
38737         (la_x32_gnu_pltenter): New function prototype.
38738         (la_x32_gnu_pltexit): Likewise.
38739
38740 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
38741
38742         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38743         exponent.
38744
38745         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38746
38747         * configure.in (libc_cv_cc_nofma): Check for option to disable
38748         generation of FMA instructions.
38749         * configure: Regenerate.
38750         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38751         * sysdeps/ieee754/dbl-64/Makefile: New file.
38752         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38753         Remove brandred-fma4.
38754         (CFLAGS-brandred-fma4.c): Remove.
38755         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38756         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38757         define.
38758         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38759         define.
38760
38761 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38762
38763         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38764         LLONG_MAX != LONG_MAX.
38765         (_itoa_word): Use _ITOA_WORD_TYPE on value.
38766         (_fitoa_word): Likewise.
38767         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38768         LLONG_MAX != LONG_MAX.
38769         * stdio-common/_itowa.h: Include <_itoa.h>.
38770         (_itowa_word): Use _ITOA_WORD_TYPE on value.
38771         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
38772         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
38773         only if not defined.
38774         (_ITOA_WORD_TYPE): Likewise.
38775         (_itoa_word): Use _ITOA_WORD_TYPE on value.
38776         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38777
38778 2012-03-21  David S. Miller  <davem@davemloft.net>
38779
38780         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38781
38782 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38783
38784         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38785         of x86_64 when setting libc_cv_slibdir, libdir and
38786         libc_cv_localedir.
38787         * sysdeps/unix/sysv/linux/configure: Regenerated.
38788
38789 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
38790
38791         * manual/lang.texi (Old Varargs): Remove section.
38792         (How Variadic): Update menu.
38793         (va_start): Do not mention varargs.h.
38794
38795 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
38796             Joseph Myers  <joseph@codesourcery.com>
38797
38798         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38799         link test.
38800         * configure: Regenerated.
38801
38802 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
38803
38804         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38805         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38806         conformtest.pl
38807
38808 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
38809
38810         * NOTES: Remove.
38811         * Makefile (files-for-dist): Remove NOTES.
38812         (NOTES): Remove rule.
38813         * README: Don't refer to NOTES.
38814         * manual/creature.texi: Don't include macros.texi.
38815         * manual/intro.texi (creature.texi): Remove comment referring to
38816         NOTES.
38817
38818         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38819         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38820         * configure: Regenerated.
38821         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38822         LIBC_TRY_CC_OPTION.
38823         (libc_cv_as_i686): Likewise.
38824         (libc_cv_cc_avx): Likewise.
38825         (libc_cv_cc_sse2avx): Likewise.
38826         (libc_cv_cc_fma4): Likewise.
38827         (libc_cv_cc_novzeroupper): Likewise.
38828         * sysdeps/i386/configure: Regenerated.
38829
38830         [BZ #13883]
38831         * sysdeps/i386/fpu/s_cexp.S: Remove.
38832         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38833         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38834         * math/libm-test.inc (cexp_test): Add more tests.
38835         * sysdeps/i386/fpu/libm-test-ulps: Update.
38836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38837
38838 2012-03-21  Allan McRae  <allan@archlinux.org>
38839
38840         * timezone/Makefile: Do not install iso3166.tab and zone.tab
38841
38842 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
38843
38844         [BZ #13871]
38845         * math/w_exp2.c: Do not include <float.h>.
38846         (o_threshold, u_threshold): Remove.
38847         (__exp2): Calculate result before checking finiteness and calling
38848         __kernel_standard.
38849         * math/w_exp2f.c: Likewise.
38850         * math/w_exp2l.c: Likewise.
38851         * math/libm-test.inc (exp2_test): Require overflow exception for
38852         1e6 input.
38853
38854         [BZ #3866]
38855         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38856         range of signed 64-bit integers before using fistpll.  Remove
38857         checks for whether integers fit in mantissa bits.
38858         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38859         the range of signed 32-bit integers before using fistpl.  Remove
38860         checks for whether integers fit in mantissa bits.
38861         * sysdeps/i386/fpu/e_powl.S (p64): New object.
38862         (__ieee754_powl): Test for y outside the range of signed 64-bit
38863         integers before using fistpll.  Reduce 64-bit values to 63-bit
38864         ones as needed.
38865         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38866         divide-by-zero is raised for zero to large negative powers.
38867         * sysdeps/x86_64/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         * math/libm-test.inc (pow_test): Add more tests.
38872
38873 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38874
38875         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38876         <stdio-common/_itoa.h>.
38877         * debug/segfault.c: Likewise.
38878         * elf/dl-cache.c: Likewise.
38879         * elf/dl-minimal.c: Likewise.
38880         * elf/dl-misc.c: Likewise.
38881         * elf/dl-sysdep.c: Likewise.
38882         * elf/dl-version.c: Likewise.
38883         * elf/rtld.c: Likewise.
38884         * hurd/hurdsock.c: Likewise.
38885         * hurd/lookup-retry.c: Likewise.
38886         * malloc/malloc.c: Likewise.
38887         * malloc/mtrace.c: Likewise.
38888         * nscd/nscd_getgr_r.c: Likewise.
38889         * nscd/nscd_getpw_r.c: Likewise.
38890         * nscd/nscd_getserv_r.c: Likewise.
38891         * posix/getopt_init.c: Likewise.
38892         * posix/wordexp.c: Likewise.
38893         * stdio-common/_itoa.c: Likewise.
38894         * stdio-common/printf_fphex.c: Likewise.
38895         * stdio-common/vfprintf.c: Likewise.
38896         * string/_strerror.c: Likewise.
38897         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38898         * sysdeps/i386/i686/hp-timing.h: Likewise.
38899         * sysdeps/mach/_strerror.c: Likewise.
38900         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38901         * sysdeps/mach/hurd/sethostid.c: Likewise.
38902         * sysdeps/mach/hurd/xmknodat.c: Likewise.
38903         * sysdeps/mach/xpg-strerror.c: Likewise.
38904         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38905         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38906         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38907         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38908         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38909         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38910         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38911         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38912         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38913         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38914         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38915         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38916         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38917         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38918         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38919         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38920         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38921         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38922         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38923         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38924         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38925
38926         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38927
38928         * stdio-common/_itoa.h: Moved to ...
38929         * sysdeps/generic/_itoa.h: Here.
38930
38931         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38932
38933         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38934         instead of "_itoa.h" and "_itowa.h".
38935         * stdio-common/vfprintf.: Likewise.
38936
38937 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38938
38939         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38940         <bits/wordsize.h>.
38941         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38942         (__signbit): Likwise.
38943         (llrintf): Likwise.
38944         (llrint): Likwise.
38945
38946 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38947
38948         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38949         __WORDSIZE != 64.
38950
38951 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
38952
38953         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38954         OVERFLOW_EXCEPTION_OK.
38955         * math/libm-test.inc ("Philosophy"): Update comment about
38956         exception testing.
38957         (OVERFLOW_EXCEPTION): Define.
38958         (OVERFLOW_EXCEPTION_OK): Likewise.
38959         (INVALID_EXCEPTION_OK): Renumber.
38960         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38961         (IGNORE_ZERO_INF_SIGN): Likewise.
38962         (test_exceptions): Handle FE_OVERFLOW.
38963         (exp10_test): Expect overflow exceptions.
38964         (exp2_test): Likewise.
38965         (expm1_test): Likewise.
38966         (nextafter_test): Likewise.
38967         (pow_test): Likewise.
38968         (scalbn_test): Likewise.
38969         (scalbln_test): Likewise.
38970
38971 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38972
38973         * sysdeps/x86_64/bits/atomic.h
38974         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38975         64bit integer.
38976         (atomic_exchange_acq): Likewise.
38977         (__arch_exchange_and_add_body): Likewise.
38978         (__arch_add_body): Likewise.
38979         (atomic_add_negative): Likewise.
38980         (atomic_add_zero): Likewise.
38981
38982 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38983
38984         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
38985         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38986
38987 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38988
38989         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38990         Check __x86_64__ instead of __WORDSIZE.
38991
38992 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38993
38994         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38995
38996 2012-03-19  David S. Miller  <davem@davemloft.net>
38997
38998         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38999
39000         * sysdeps/sparc/fpu/fenv_private.h: New file.
39001         * sysdeps/sparc/fpu/math_private.h: Use it.
39002         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39003         Remove.
39004         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39005         (libc_feholdexcept_setroundl): Remove.
39006         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39007         Remove.
39008         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39009         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39010
39011 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39012
39013         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39014         int64_t instead of long int.
39015         (INSERT_WORDS64): Likwise.
39016
39017 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39018
39019         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39020         _Unwind_GetCFA return to _Unwind_Ptr first.
39021
39022 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
39023
39024         [BZ #13629]
39025         * math/s_clog.c: Include <float.h>.
39026         (__clog): Scale large or subnormal inputs.
39027         * math/s_clogf.c: Likewise.
39028         * math/s_clogl.c: Likewise.
39029         * math/s_clog10.c: Include <float.h>.
39030         (M_LOG10_2): Define.
39031         (__clog10): Scale large or subnormal inputs.
39032         * math/s_clog10f.c: Likewise.
39033         * math/s_clog10l.c: Likewise.
39034         * math/libm-test.inc (clog_test): Add more tests.
39035         (clog10_test): Likewise.
39036         * sysdeps/i386/fpu/libm-test-ulps: Update.
39037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39038
39039         [BZ #11451]
39040         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39041         x and y.
39042         * math/libm-test.inc (atan2_test): Add another test.
39043
39044         * Makerules (common-objdir-compile): Remove.
39045         * sysdeps/unix/Makefile (config-generated): Do not add
39046         $(unix-generated) to variable.
39047         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39048         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39049         Remove rule.
39050         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39051         Likewise.
39052         [generic bits/local_lim.h] (before-compile): Do not append to
39053         variable.
39054         [generic bits/local_lim.h] (common-generated): Likewise.
39055         [generic sys/param.h] (before-compile): Do not append to variable.
39056         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39057         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39058         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39059         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39060         include.
39061         [generic sys/param.h] (sys/param.h-includes): Remove variable.
39062         [generic sys/param.h] (sys/param.h-includes): Remove rule.
39063         [generic sys/param.h] ($(addprefix
39064         $(common-objpfx),$(sys/param.h-includes))): Likewise.
39065         [generic sys/param.h] (common-generated): Do not append to
39066         variable.
39067         [generic sys/param.h] (sysdep_headers): Likewise.
39068         [generic bits/errno.h] (before-compile): Do not append to
39069         variable.
39070         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39071         rule.
39072         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39073         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39074         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39075         [generic bits/errno.h] (common-generated): Do not append to
39076         variable.
39077         [generic bits/ioctls.h] (before-compile): Do not append to
39078         variable.
39079         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39080         rule.
39081         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39082         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39083         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39084         rule.
39085         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39086         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39087         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39088         [generic bits/ioctls.h] (common-generated): Do not append to
39089         variable.
39090         [generic sys/syscall.h] (syscall.h): Remove variable.
39091         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39092         rule.
39093         [generic sys/syscall.h] (before-compile): Do not append to
39094         variable.
39095         [generic sys/syscall.h] (common-generated): Likewise.
39096         * sysdeps/unix/errnos-tmpl.c: Remove file.
39097         * sysdeps/unix/errnos.awk: Likewise.
39098         * sysdeps/unix/ioctls-tmpl.c: Likewise.
39099         * sysdeps/unix/ioctls.awk: Likewise.
39100         * sysdeps/unix/mk-local_lim.c: Likewise.
39101         * sysdeps/unix/snarf-ioctls: Likewise.
39102
39103 2012-03-19  Richard Henderson  <rth@twiddle.net>
39104
39105         * sysdeps/i386/fpu/fenv_private.h: New file.
39106         * sysdeps/i386/fpu/math_private.h: Use it.
39107         (math_opt_barrier, math_force_eval): Remove.
39108         (libc_feholdexcept_setround_53bit): Remove.
39109         (libc_feupdateenv_53bit): Remove.
39110         * sysdeps/x86_64/fpu/math_private.h: Likewise.
39111         (math_opt_barrier, math_force_eval): Remove.
39112         (libc_feholdexcept): Remove.
39113         (libc_feholdexcept_setround): Remove.
39114         (libc_fetestexcept, libc_fesetenv): Remove.
39115         (libc_feupdateenv_test): Remove.
39116         (libc_feupdateenv, libc_feholdsetround): Remove.
39117         (libc_feresetround): Remove.
39118
39119         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39120         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39121
39122         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39123         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39124         (libc_feupdateenv_testl): New.
39125         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39126         (libc_feupdateenv_testf): New.
39127         (libc_feupdateenv): Use libc_feupdateenv_test.
39128         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39129         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39130
39131         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39132         (libc_feholdsetroundf, libc_feholdsetroundl): New.
39133         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39134         (libc_feresetround_noex): New.
39135         (libc_feresetround_noexf): New.
39136         (libc_feresetround_noexl): New.
39137         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39138         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39139         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39140         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39141         SET_RESTORE_ROUND.
39142         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39143         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39144         (__cos): Likewise.
39145         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39146         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39147         SET_RESTORE_ROUND_NOEX.
39148         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39149         SET_RESTORE_ROUND_NOEXF.
39150         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39151         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39152         (libc_feholdsetroundf): New.
39153         (libc_feresetround, libc_feresetroundf): New.
39154
39155         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39156         (libc_feholdexcept_setround_53bit): Convert from macro to function.
39157         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
39158
39159         * sysdeps/generic/math_private.h: Include <fenv.h>.
39160         (default_libc_feholdexcept): New.
39161         (default_libc_feholdexcept_setround): New.
39162         (default_libc_fesetenv, default_libc_feupdateenv): New.
39163         (libc_feholdexcept): Only define if undefined.
39164         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39165         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39166         (libc_feholdexcept_setroundl): Likewise.
39167         (libc_feholdexcept_setround_53bit): Likewise.
39168         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39169         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39170         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39171         (libc_feupdateenv_53bit): Likewise.
39172         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39173         (libc_feholdexcept): Convert from macro to inline function.
39174         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39175         (libc_fesetenv, libc_feupdateenv): Likewise.
39176
39177         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39178         not previously defined.
39179         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39180         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39181         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39182         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39183         * sysdeps/ieee754/flt-32/math_private.h: New file.
39184         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39185         math_private.h below SET_FLOAT_WORD.
39186         (__isnan, __isinf_ns, __finite): Remove.
39187         (__isnanf, __isinf_nsf, __finitef): Remove.
39188
39189 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
39190
39191         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39192
39193 2012-03-17  David S. Miller  <davem@davemloft.net>
39194
39195         [BZ #6471]
39196         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39197         for 2.16.
39198
39199 2012-03-16  David S. Miller  <davem@davemloft.net>
39200
39201         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39202         warnings.
39203
39204         [BZ #6471]
39205         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39206         properly.
39207         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39208         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39209         sysdep_routines when subdir is sysvipc.
39210         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39211         __getshmlba helper.
39212
39213         * sysdeps/sparc/fpu/libm-test/ulps: Update.
39214
39215 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39216
39217         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39218         [__LP64__].
39219
39220 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39221
39222         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39223         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39224         (__lround): Renamed to ...
39225         (__llround): This.  Replace long int with long long int.
39226         Define lround functions as aliases of llround functions.
39227         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39228
39229 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39230
39231         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39232         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
39233         adresses to uintptr_t.  Replace "long int" and "unsigned long
39234         int" with "greg_t" on va_arg.
39235
39236 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39237
39238         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39239         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39240
39241         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39242         Move e_machine check before EI_CLASS check.  Handle x32
39243         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39244         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39245         SKIP_EM_IA_64 and include
39246         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39247
39248         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39249         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39250         (add_system_dir): New macro.
39251
39252         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39253         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39254
39255 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39256
39257         [BZ #2551]
39258         [BZ #2552]
39259         [BZ #2553]
39260         [BZ #2554]
39261         [BZ #2562]
39262         [BZ #2563]
39263         [BZ #2565]
39264         [BZ #2566]
39265         [BZ #2576]
39266         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39267         (y0): Likewise.
39268         * math/w_j0f.c (j0f): Likewise.
39269         (y0f): Likewise.
39270         * math/w_j0l.c (__j0l): Likewise.
39271         (__y0l): Likewise.
39272         * math/w_j1.c (j1): Likewise.
39273         (y1): Likewise.
39274         * math/w_j1f.c (j1f): Likewise.
39275         (y1f): Likewise.
39276         * math/w_j1l.c (__j1l): Likewise.
39277         (__y1l): Likewise.
39278         * math/w_jn.c (jn): Likewise.
39279         (yn): Likewise.
39280         * math/w_jnf.c (jnf): Likewise.
39281         (ynf): Likewise.
39282         * math/w_jnl.c (__jnl): Likewise.
39283         (__ynl): Likewise.
39284         * math/libm-test.inc (j0_test): Add more tests.
39285         (j1_test): Likewise.
39286         (jn_test): Likewise.  Add trailing semicolon to existing test.
39287         (y0_test): Likewise.
39288         (y1_test): Likewise.
39289         * sysdeps/i386/fpu/libm-test-ulps: Update.
39290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39291
39292         [BZ #13851]
39293         [BZ #13854]
39294         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39295         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39296         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39297         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39298         (__tanl): Set errno for infinite argument.
39299         * sysdeps/i386/fpu/mptan.c: Remove.
39300         * sysdeps/i386/fpu/s_tan.S: Likewise.
39301         * sysdeps/i386/fpu/s_tanl.S: Likewise.
39302         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39303         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39304         * math/libm-test.inc (tan_test): Add more tests and enable more
39305         tests for double and long double.
39306         * sysdeps/i386/fpu/libm-test-ulps: Update.
39307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39308
39309 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
39310
39311         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39312         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39313
39314 2012-03-16  Roland McGrath  <roland@hack.frob.com>
39315
39316         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39317         * configure.in: Use it for both main tree and add-ons.
39318         * configure: Regenerated.
39319
39320 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39321
39322         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39323
39324 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39325
39326         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39327         in comment.
39328
39329         [BZ #13851]
39330         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39331         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39332         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39333         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39334         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39335         infinite argument.
39336         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39337         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39338         != 0 for prec == 2.
39339         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39340         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39341         * sysdeps/i386/fpu/s_cosl.S: Likewise.
39342         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39343         * sysdeps/i386/fpu/s_sinl.S: Likewise.
39344         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39345         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39346         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39347         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39348         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39349         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39350         * math/libm-test.inc (cos_test): Add more tests and enable more
39351         tests for long double.
39352         (sin_test): Likewise.
39353         (sincos_test): Likewise.
39354         * sysdeps/i386/fpu/libm-test-ulps: Update.
39355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39356
39357 2012-03-16  David S. Miller  <davem@davemloft.net>
39358
39359         * sysdeps/sparc/fpu/math_private.h: New file.
39360
39361 2012-03-15  David S. Miller  <davem@davemloft.net>
39362
39363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39364         file.
39365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39367         file.
39368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39369         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39370         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39371         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39372         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39373         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39374         sysdep routines.
39375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39376
39377         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39378         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39379
39380         * sysdeps/sparc/sparc-ifunc.h: New file.
39381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39382         sparc-ifunc.h
39383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39385         Likewise.
39386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39387         Likewise.
39388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39392         Likewise.
39393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39398         Likewise.
39399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39400         Likewise.
39401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39405         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39406         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39407         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39408         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39409         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39410         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39411         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39412         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39413         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39414         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39415         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39416         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39417         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39418         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39419         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39420         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39421         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39422         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39423         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39424         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39425
39426 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
39427
39428         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39429         scaling.
39430         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39431
39432 2012-03-15  Andreas Jaeger  <aj@suse.de>
39433
39434         [BZ #13852]
39435         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39436         ieee754/flt-32 implementation for sin, cos and sincos.
39437         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39438         * sysdeps/i386/fpu/s_cosf.S: Likewise.
39439         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39440         * sysdeps/i386/fpu/s_sinf.S: Likewise.
39441         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39442         ieee754/flt-32 implementation for tan.
39443
39444         * math/libm-test.inc (cos_test): Enable some large input tests for
39445         float as well
39446         (sin_test): Likewise.
39447         (sincos_test): Likewise.
39448         (tan_test): Add tests for large input.
39449
39450         * sysdeps/i386/fpu/libm-test-ulps: Update.
39451
39452 2012-03-15  Andreas Jaeger  <aj@suse.de>
39453
39454         [BZ #13658]
39455         * math/libm-test.inc (cos_test): Add more test cases.
39456         (sin_test): Likewise.
39457         (sincos_test): Likewise.
39458
39459 2012-03-15  Andreas Jaeger  <aj@suse.de>
39460
39461         [BZ #13837]
39462         * math/libm-test.inc (cos_test): Add a test case for large input
39463         value.
39464         (sin_test): Likewise.
39465         (sincos_test): Likewise.
39466
39467 2012-03-15  Andreas Jaeger  <aj@suse.de>
39468             Joseph Myers  <joseph@codesourcery.com>
39469
39470         [BZ #13658]
39471         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39472         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39473         * sysdeps/i386/fpu/branred.c: Likewise.
39474         * sysdeps/i386/fpu/dosincos.c: Likewise.
39475         * sysdeps/i386/fpu/mpa.c: Likewise.
39476         * sysdeps/i386/fpu/s_cos.S: Likewise.
39477         * sysdeps/i386/fpu/s_sin.S: Likewise.
39478         * sysdeps/i386/fpu/s_sincos.S: Likewise.
39479         * sysdeps/i386/fpu/sincos32.c: Likewise.
39480
39481         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39482         Define.
39483         (libc_feupdateenv_53bit): Define.
39484         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39485         Define.
39486         (libc_feupdateenv_53bit): Define.
39487
39488         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39489         53 bit (without extend i386 double precision).
39490
39491         * math/libm-test.inc (sincos_test): Add tests for large input.
39492         (sin): Likewise.
39493         (cos): Likewise.
39494
39495         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39496
39497 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
39498
39499         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39500
39501 2012-03-15  David S. Miller  <davem@davemloft.net>
39502
39503         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39504         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39505         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39506         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39507         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39508         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39509         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39510         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39511         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39512         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39513         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39514         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39515         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39516         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39517         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39519         file.
39520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39522         file.
39523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39525         file.
39526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39528         file.
39529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39530         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39531         fmin/fmax sysdep routines.
39532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39533
39534 2012-03-14  David S. Miller  <davem@davemloft.net>
39535
39536         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39537         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39538         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39539         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39540         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39541         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39542         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39543         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39544         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39545         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39546         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39547         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39548         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39549         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39550         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39551         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39552         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39553         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39554         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39555         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39556         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39557         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39558         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39559         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39560         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39561         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39562         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39563         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39564         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39565         routines.
39566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39567         file.
39568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39570         file.
39571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39573         file.
39574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39576         file.
39577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39579         file.
39580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39582         file.
39583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39584         file.
39585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39586         file.
39587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39588         file.
39589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39590         New file.
39591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39592         file.
39593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39594         file.
39595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39597         file.
39598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39600         file.
39601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39603         file.
39604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39606         VIS3 routines.
39607
39608         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39609         New file.
39610
39611         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39612
39613         * sysdeps/sparc/configure.in: New file.
39614         * sysdeps/sparc/configure: Generate.
39615         * configure.in (libc_cv_sparc_as_vis3): Substitute.
39616         * configure: Regenerate.
39617         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39618         * config.make.in (have-as-vis3): New.
39619         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39620         available use -Av9d instead of -Av9a.
39621         * sysdeps/sparc/sparc64/Makefile: Likewise.
39622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39624         New file.
39625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39626         file.
39627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39628         New file.
39629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39630         file.
39631         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39632         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39633         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39634         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39635         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39636
39637         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39638         fzeros/fnegs to load 0x80000000 into a float register instead of
39639         using the stack.
39640         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39641
39642 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
39643
39644         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39645         bits/syscall.h.
39646         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39647         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39648         ($(inst_includedir)/bits/syscall.h): Remove rule.
39649         ($(objpfx)bits/syscall.d): Include instead of
39650         $(objpfx)syscall-list.d.
39651         (generated): Change syscall-list.h and syscall-list.d to
39652         bits/syscall.h and bits/syscall.d.
39653
39654 2012-03-14  Roland McGrath  <roland@hack.frob.com>
39655
39656         [BZ #13846]
39657         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39658
39659 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
39660
39661         [BZ #13841]
39662         * math/s_csqrt.c: Include <float.h>.
39663         (__csqrt): Scale large or subnormal inputs.
39664         * math/s_csqrtf.c: Likewise.
39665         * math/s_csqrtl.c: Likewise.
39666         * math/libm-test.inc (csqrt_test): Add more tests.
39667         * sysdeps/i386/fpu/libm-test-ulps: Update.
39668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39669
39670         [BZ #13840]
39671         * math/libm-test.inc (hypot_test): Add more tests.
39672
39673 2012-03-13  David S. Miller  <davem@davemloft.net>
39674
39675         [BZ #13840]
39676         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39677         double-precision for the calculation instead of scaling.
39678
39679 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
39680
39681         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39682         manipulate bits before adding and subtracting TWO52[sx].
39683         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39684         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39685         Likewise.
39686         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39687
39688 2012-03-13  David S. Miller  <davem@davemloft.net>
39689
39690         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39691         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39692         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39693         rtld-global-offsets.h
39694         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39695
39696         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39697         large parameters.
39698
39699         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39700
39701         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39702         'err' in the ifdef scope in which it is actually used.
39703
39704         * nss/nss_db/db-init.c: Include string.h
39705
39706 2012-03-12  David S. Miller  <davem@davemloft.net>
39707
39708         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39709         masking out of the most significant byte of random value used.
39710         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39711         Fix coding style in previous change.
39712
39713         * sysdeps/unix/sysv/linux/kernel-features.h
39714         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39715         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39716         expression.
39717         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39718         later.
39719
39720 2012-03-11  David S. Miller  <davem@davemloft.net>
39721
39722         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39723         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39724         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39725         for 'resultvar' otherwise things get truncated on 64-bit.
39726
39727         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39728         Fix masking out of the most significant byte of random value used.
39729
39730         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39731
39732 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
39733
39734         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39735
39736 2012-03-09  David S. Miller  <davem@davemloft.net>
39737
39738         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39739         variables with appropriate CPP guards.
39740         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39741         from the frame pointer, not the stack pointer.  Correct layout
39742         comments.  Fix test on resulting framesize and the management of
39743         the outregs buffer for pltexit.  Preserve floating point return
39744         values across _dl_call_pltexit call.
39745         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39746         framesize and the management of the outregs buffer for pltexit.
39747         Preserve floating point return values across _dl_call_pltexit
39748         call.
39749         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39750         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39751         (la_sparc64_gnu_pltexit): New functions.
39752         (print_exit): Fix format string for return register value.
39753
39754 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
39755
39756         * sunrpc/Makefile (others): Add rpcgen.
39757         ($(objpfx)rpcgen): Remove special build rule and dependency on
39758         libc.
39759         * sunrpc/rpcgen.c: New file.
39760
39761 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
39762
39763         [BZ #13673]
39764         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39765         * stdio-common/bug-vfprintf-nargs.c: Likewise.
39766         * sysdeps/i386/crti.S: Likewise.
39767         * sysdeps/i386/crtn.S: Likewise.
39768         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39769         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39770         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39771         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39772         * sysdeps/sh/crti.S: Likewise.
39773         * sysdeps/sh/crtn.S: Likewise.
39774         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39775
39776         [BZ #13673]
39777         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39778         with URL.
39779         * locale/programs/locfile-kw.gperf: Likewise.
39780         * locale/programs/charmap-kw.h: Regenerated.
39781         * locale/programs/locfile-kw.h: Likewise.
39782
39783         [BZ #13673]
39784         * intl/plural.y: Replace FSF snail mail address with URL.
39785         * intl/plural.c: Regenerated.
39786
39787 2012-03-09  Richard Henderson  <rth@twiddle.net>
39788
39789         * include/math_private.h: Remove file.
39790         * math/math_private.h: Move file ...
39791         * sysdeps/generic/math_private.h: ... here.
39792
39793         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39794         * sysdeps/powerpc/fpu/math_private.h: Likewise.
39795         * sysdeps/x86_64/fpu/math_private.h: Likewise.
39796
39797         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
39798         and <math_private.h>.
39799         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39800         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39801         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39802         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39803         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39804         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39805         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39806         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39807         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39808         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39809         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39810         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39811         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39812         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39813         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39814         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39815         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39816         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39817         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39818         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39819         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39820         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39821         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39822         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39823         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39824         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39825         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39826         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39827         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39828         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39829         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39830         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39831         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39832         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39833         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39834         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39835         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39836         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39837         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39838         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39839         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39840         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39841         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39842         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39843         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39844         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39845         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39846         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39847         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39848         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39849         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39850         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39851         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39852         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39853         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39854         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39855         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39856         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39857         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39858         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39859         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39860         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39861         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39862         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39863         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39864         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39865         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39866         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39867         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39868         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39869         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39870         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39871         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39872         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39873         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39874         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39875         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39876         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39877         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39878         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39879         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39880         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39881         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39882         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39883         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39884         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39885         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39886         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39887         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39888         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39889         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39890         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39891         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39892         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39893         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39894         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39895         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39896         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39897         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39898         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39899         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39900         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39901         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39902         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39903         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39904         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39905         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39906         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39907         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39908         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39909         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39910         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39911         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39912         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39913         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39914         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39915         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39916         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39917         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39918         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39919         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39920         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39921         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39922         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39923         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39924         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39925         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39926         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39927         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39928         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39929         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39930         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39931         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39932         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39933         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39934         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39935         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39936         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39937         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39938         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39939         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39940         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39941         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39942         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39943         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39944         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39945         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39946         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39947         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39948         * sysdeps/ieee754/k_standard.c: Likewise.
39949         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39950         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39951         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39952         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39953         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39954         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39955         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39956         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39957         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39958         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39959         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39960         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39961         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39962         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39963         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39964         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39965         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39966         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39967         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39968         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39969         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39970         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39971         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39972         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39973         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39974         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39975         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39976         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39977         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39978         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39979         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39980         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39981         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39982         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39983         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39984         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39985         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39986         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39987         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39988         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39989         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39990         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39991         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39992         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39993         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39994         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39995         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39996         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39997         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39998         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39999         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40000         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40001         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40002         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40003         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40004         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40005         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40006         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40007         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40008         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40009         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40010         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40011         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40012         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40013         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40014         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40015         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40016         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40017         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40018         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40019         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40020         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40021         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40022         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40023         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40024         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40025         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40026         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40027         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40028         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40029         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40030         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40031         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40032         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40033         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40034         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40035         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40036         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40037         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40038         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40039         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40040         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40041         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40042         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40043         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40044         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40045         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40046         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40047         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40048         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40049         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40050         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40051         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40052         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40053         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40054         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40055         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40056         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40057         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40058         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40059         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40060         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40061         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40062         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40063         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40064         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40065         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40066         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40067         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40068         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40069         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40070         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40071         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40072         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40073         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40074         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40075         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40076         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40077         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40078         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40079         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40080         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40081         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40082         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40083         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40084         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40085         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40086         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40087         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40088         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40089         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40090         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40091         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40092         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40093         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40094         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40095         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40096         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40097         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40098         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40099         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40100         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40101         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40102         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40103         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40104         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40105         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40106         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40107         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40108         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40109         * sysdeps/ieee754/s_lib_version.c: Likewise.
40110         * sysdeps/ieee754/s_matherr.c: Likewise.
40111         * sysdeps/ieee754/s_signgam.c: Likewise.
40112         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40113         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40114         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40115         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40116         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40117         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40118         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40119         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40120         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40121         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40122         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40123         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40124         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40125         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40126         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40127         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40128         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40129         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40130         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40131         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40132         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40133
40134 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40135
40136         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40137         * sunrpc/rpc_main.c: Likewise.
40138         * sunrpc/rpc_svcout.c: Likewise.
40139
40140 2012-03-09  David S. Miller  <davem@davemloft.net>
40141
40142         * include/math_private.h: New file.
40143
40144 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40145
40146         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40147         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40148         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40149         from <bits/socket_type.h>.
40150         (enum __socket_type): Don't define here.
40151         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40152         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40153         bits/socket_type.h.
40154
40155         [BZ #13566]
40156         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40157         checking __USE_GNU.
40158
40159         * Makerules ($(inst_includedir)/%.h): New rule.
40160         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40161         (install-others): Remove variable setting.
40162         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40163
40164 2012-03-08  Richard Henderson  <rth@twiddle.net>
40165
40166         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40167         from macro to inline function; merge with the
40168         !__LIBC_INTERNAL_MATH_INLINES version.
40169         (__ieee754_sqrtf): Likewise.
40170
40171         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40172         to inline function.
40173         (__rintf, __floor, __floorf): Likewise.
40174
40175         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40176         macro to inline function.
40177         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40178
40179         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40180         not <math/math_private.h>.
40181
40182 2012-03-08  David S. Miller  <davem@davemloft.net>
40183
40184         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40185         copyright year.
40186         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40187
40188 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
40189
40190         * resolv/gai_misc.c (handle_requests): Fix struct timespec
40191         normalization.
40192         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40193         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40194
40195 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
40196
40197         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
40198         be defined individually, they must be defined as a block.  Define
40199         S for printing a string instead of hidint the different by using a
40200         macro for adding the 'l'.
40201         * stdio-common/tst-fphex-wide.c: Adjust.
40202
40203 2012-03-07  Marek Polacek  <polacek@redhat.com>
40204
40205         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40206
40207 2012-03-08  Marek Polacek  <polacek@redhat.com>
40208
40209         [BZ #13806]
40210         * stdio-common/Makefile (tests): Add tst-fphex-wide.
40211         * stdio-common/tst-fphex.c: Define a few macros to make the
40212         test reusable.  Use them.
40213         * stdio-common/tst-fphex-wide.c: New file.
40214
40215 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
40216
40217         [BZ #6911]
40218         * manual/macros.texi (gnusystems): New macro.
40219         (nongnusystems): Likewise.
40220         (gnulinuxhurdsystems): Likewise.
40221         (gnuhurdsystems): Likewise..
40222         (gnulinuxsystems): Likewise.
40223         * manual/charset.texi: Use new macros or @theglibc{} to refer to
40224         variants of the GNU system, not "GNU system".
40225         * manual/conf.texi: Likewise.
40226         * manual/errno.texi: Likewise.  Update example of errno macro
40227         expansion.
40228         * manual/filesys.texi: Likewise.
40229         (getumask): Document as specific to GNU/Hurd.
40230         * manual/install.texi: Likewise.  Reword some references to
40231         GNU/Linux.
40232         * manual/intro.texi: Likewise.
40233         * manual/io.texi: Likewise.
40234         (File Name Portability): Detail which constraints are inapplicable
40235         to all GNU systems and which are only inapplicable to GNU/Hurd.
40236         * manual/job.texi: Likewise.
40237         * manual/llio.texi: Likewise.
40238         (O_NOCTTY): Document as present on GNU/Linux.
40239         * manual/maint.texi: Likewise.
40240         * manual/memory.texi: Likewise.
40241         * manual/pattern.texi: Likewise.
40242         * manual/pipe.texi: Likewise.
40243         * manual/process.texi: Likewise.
40244         * manual/resource.texi: Likewise.
40245         (RUSAGE_CHILDREN): Remove statement about specifying a particular
40246         child on GNU/Hurd.
40247         * manual/setjmp.texi: Likewise.
40248         * manual/signal.texi: Likewise.
40249         * manual/startup.texi: Likewise.
40250         * manual/stdio.texi: Likewise.
40251         * manual/terminal.texi: Likewise.
40252         (ONLCR): Document as POSIX.
40253         (OXTABS): Document availability on GNU/Linux as XTABS.
40254         (ONOEOT): Document availability separately from other bits.
40255         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40256         * manual/time.texi: Likewise.
40257         * manual/users.texi: Likewise.
40258         * INSTALL: Regenerated.
40259         * sysdeps/gnu/errlist.c: Regenerated.
40260
40261         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40262         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40263         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
40264         puts.
40265         * configure: Regenerated.
40266
40267 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
40268
40269         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40270         default includes instead of AC_HEADER_CHECK.
40271         * sysdeps/i386/configure: Regenerated.
40272
40273         [BZ #10716]
40274         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40275         * math/s_cacoshf.c (__cacoshf): Likewise.
40276         * math/s_cacoshl.c (__cacoshl): Likewise.
40277         * math/s_casinh.c (__casinh): Set signs of result from argument.
40278         * math/s_casinhf.c (__casinhf): Likewise.
40279         * math/s_casinhl.c (__casinhl): Likewise.
40280         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40281         (casinh_test): Add more tests.
40282         * sysdeps/i386/fpu/libm-test-ulps: Update.
40283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40284
40285 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
40286
40287         * po/zh_TW.po: Update from translation team.
40288
40289         * login/Makefile (distribute): Remove variable.
40290         * catgets/Makefile: Likewise.
40291         * mach/Makefile: Likewise.
40292         * malloc/Makefile: Likewise.
40293         * misc/Makefile: Likewise.
40294         * iconv/Makefile: Likewise.
40295         * nscd/Makefile: Likewise.
40296         * hurd/Makefile: Likewise.
40297         * manual/Makefile: Likewise.
40298         * locale/Makefile: Likewise.
40299         * intl/Makefile: Likewise.
40300         * conform/Makefile: Likewise.
40301         * nss/Makefile: Likewise.
40302         * time/Makefile: Likewise.
40303         * soft-fp/Makefile: Likewise.
40304         * dirent/Makefile: Likewise.
40305         * gmon/Makefile: Likewise.
40306         * po/Makefile: Likewise.
40307         * rt/Makefile: Likewise.
40308         * socket/Makefile: Likewise.
40309         * math/Makefile: Likewise.
40310         * signal/Makefile: Likewise.
40311         * debug/Makefile: Likewise.
40312         * elf/Makefile: Likewise.
40313         * timezone/Makefile: Likewise.
40314         * stdlib/Makefile: Likewise.
40315         * iconvdata/Makefile: Likewise.
40316         * sunrpc/Makefile: Likewise.
40317         * io/Makefile: Likewise.
40318         * argp/Makefile: Likewise.
40319         * inet/Makefile: Likewise.
40320         * hesiod/Makefile: Likewise.
40321         * grp/Makefile: Likewise.
40322         * csu/Makefile: Likewise.
40323         * wctype/Makefile: Likewise.
40324         * crypt/Makefile: Likewise.
40325         * libio/Makefile: Likewise.
40326         * string/Makefile: Likewise.
40327         * nis/Makefile: Likewise.
40328         * resolv/Makefile: Likewise.
40329         * stdio-common/Makefile: Likewise.
40330         * wcsmbs/Makefile: Likewise.
40331         * dlfcn/Makefile: Likewise.
40332         * posix/Makefile: Likewise.
40333
40334         [BZ #6959]
40335         * timezone/Makefile: Don't install timezone files, just the programs
40336         and scripts.
40337
40338 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
40339
40340         * nss/databases.def: Add missing gshadow entry.
40341
40342         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
40343
40344 2012-03-06  Marek Polacek  <polacek@redhat.com>
40345
40346         [BZ #13726]
40347         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40348         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40349         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40350         * stdio-common/tst-long-dbl-fphex.c: New file.
40351
40352 2012-03-06  David S. Miller  <davem@davemloft.net>
40353
40354         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40355         (set_obp_int): New function.
40356         (get_obp_int): New function.
40357         (__get_clockfreq_via_dev_openprom): Likewise.
40358         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40359         Avoid unused variable warnings on 'val' and use builtin_expect.
40360         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40361         __builtin_expect.
40362         (INLINE_CLONE_SYSCALL): Likewise.
40363
40364 2012-03-05  David S. Miller  <davem@davemloft.net>
40365
40366         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40367
40368 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
40369
40370         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40371
40372         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40373         only for |x| >= 40.
40374         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40375
40376 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
40377
40378         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40379         Replace gettimeofday with __vdso_gettimeofday.
40380
40381         * sysdeps/unix/sysv/linux/x86_64/init-first.c
40382         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40383         __vdso_clock_gettime and __vdso_getcpu.
40384
40385         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40386         time with __vdso_time.
40387
40388 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
40389
40390         * manual/lang.texi (size_t): Note types to which size_t may be
40391         equivalent with the GNU C Library, but do not describe when
40392         differences between them are significant.
40393
40394 2012-03-05  Andreas Jaeger  <aj@suse.de>
40395
40396         * sysdeps/i386/fpu/libm-test-ulps: Update.
40397
40398 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
40399
40400         [BZ #3976]
40401         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40402         (__ieee754_pow): Save and restore rounding mode and use
40403         round-to-nearest for main computations.
40404         * math/libm-test.inc (pow_test_tonearest): New function.
40405         (pow_test_towardzero): Likewise.
40406         (pow_test_downward): Likewise.
40407         (pow_test_upward): Likewise.
40408         (main): Call the new functions.
40409         * sysdeps/i386/fpu/libm-test-ulps: Update.
40410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40411
40412         [BZ #3976]
40413         * math/libm-test.inc (cosh_test_tonearest): New function.
40414         (cosh_test_towardzero): Likewise.
40415         (cosh_test_downward): Likewise.
40416         (cosh_test_upward): Likewise.
40417         (sinh_test_tonearest): Likewise.
40418         (sinh_test_towardzero): Likewise.
40419         (sinh_test_downward): Likewise.
40420         (sinh_test_upward): Likewise.
40421         (main): Call the new functions.
40422         * sysdeps/i386/fpu/libm-test-ulps: Update.
40423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40424
40425 2012-03-05  Tom de Vries  <tom@codesourcery.com>
40426
40427         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40428         default stack guard is set in last bytes.
40429         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40430
40431 2012-03-05  Kees Cook  <keescook@chromium.org>
40432
40433         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40434
40435         [BZ #13656]
40436         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40437         possibly allocate from heap instead of stack.
40438         * stdio-common/bug-vfprintf-nargs.c: New file.
40439         * stdio-common/Makefile (tests): Add nargs overflow test.
40440
40441 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
40442
40443         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40444
40445 2012-03-03  Marek Polacek  <polacek@redhat.com>
40446
40447         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40448         * math/math_private.h: Likewise.
40449         * stdlib/tst-strtod.c: Likewise.
40450         * sysdeps/i386/i486/bits/atomic.h: Likewise.
40451         * sysdeps/x86_64/bits/atomic.h: Likewise.
40452
40453 2012-03-02  David S. Miller  <davem@davemloft.net>
40454
40455         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40456         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40457         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40458         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40459         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40460         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40461         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40462         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40463
40464 2012-03-02  Roland McGrath  <roland@hack.frob.com>
40465
40466         [BZ #13792]
40467         * manual/examples/README: New file, says the example source files
40468         can be used under GPL>=2.
40469         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40470         line containing just "*/".
40471         * manual/examples/add.c: Add copyright header (GPL>=2).
40472         * manual/examples/argp-ex1.c: Likewise.
40473         * manual/examples/argp-ex2.c: Likewise.
40474         * manual/examples/argp-ex3.c: Likewise.
40475         * manual/examples/argp-ex4.c: Likewise.
40476         * manual/examples/atexit.c: Likewise.
40477         * manual/examples/db.c: Likewise.
40478         * manual/examples/dir.c: Likewise.
40479         * manual/examples/dir2.c: Likewise.
40480         * manual/examples/execinfo.c: Likewise.
40481         * manual/examples/filecli.c: Likewise.
40482         * manual/examples/filesrv.c: Likewise.
40483         * manual/examples/fmtmsgexpl.c: Likewise.
40484         * manual/examples/genpass.c: Likewise.
40485         * manual/examples/inetcli.c: Likewise.
40486         * manual/examples/inetsrv.c: Likewise.
40487         * manual/examples/isockad.c: Likewise.
40488         * manual/examples/longopt.c: Likewise.
40489         * manual/examples/memopen.c: Likewise.
40490         * manual/examples/memstrm.c: Likewise.
40491         * manual/examples/mkfsock.c: Likewise.
40492         * manual/examples/mkisock.c: Likewise.
40493         * manual/examples/mygetpass.c: Likewise.
40494         * manual/examples/pipe.c: Likewise.
40495         * manual/examples/popen.c: Likewise.
40496         * manual/examples/rprintf.c: Likewise.
40497         * manual/examples/search.c: Likewise.
40498         * manual/examples/select.c: Likewise.
40499         * manual/examples/setjmp.c: Likewise.
40500         * manual/examples/sigh1.c: Likewise.
40501         * manual/examples/sigusr.c: Likewise.
40502         * manual/examples/stpcpy.c: Likewise.
40503         * manual/examples/strdupa.c: Likewise.
40504         * manual/examples/strftim.c: Likewise.
40505         * manual/examples/strncat.c: Likewise.
40506         * manual/examples/subopt.c: Likewise.
40507         * manual/examples/swapcontext.c: Likewise.
40508         * manual/examples/termios.c: Likewise.
40509         * manual/examples/testopt.c: Likewise.
40510         * manual/examples/testpass.c: Likewise.
40511         * manual/examples/timeval_subtract.c: Likewise.
40512
40513         [BZ #13792]
40514         * manual/time.texi (Elapsed Time): Move timeval_subtract example
40515         function to ...
40516         * manual/timeval_subtract.c.texi: ... here, new file.
40517
40518 2012-03-02  David S. Miller  <davem@davemloft.net>
40519
40520         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40521
40522 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
40523
40524         [BZ #3976]
40525         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40526         (__sin): Save and restore rounding mode and use round-to-nearest
40527         for all computations.
40528         (__cos): Save and restore rounding mode and use round-to-nearest
40529         for all computations.
40530         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40531         <fenv.h>.
40532         (tan): Save and restore rounding mode and use round-to-nearest for
40533         all computations.
40534         * math/libm-test.inc (cos_test_tonearest): New function.
40535         (cos_test_towardzero): Likewise.
40536         (cos_test_downward): Likewise.
40537         (cos_test_upward): Likewise.
40538         (sin_test_tonearest): Likewise.
40539         (sin_test_towardzero): Likewise.
40540         (sin_test_downward): Likewise.
40541         (sin_test_upward): Likewise.
40542         (tan_test_tonearest): Likewise.
40543         (tan_test_towardzero): Likewise.
40544         (tan_test_downward): Likewise.
40545         (tan_test_upward): Likewise.
40546         (main): Call the new functions.
40547         * sysdeps/i386/fpu/libm-test-ulps: Update.
40548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40549
40550         [BZ #10135]
40551         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40552         small n, then large n, before computing and testing k+n.
40553         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40554         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40555         Likewise.
40556         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40557         Likewise.
40558         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40559         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40560         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40561         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40562         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40563         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40564         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40565         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40566         * math/libm-test.inc (scalbn_test): Add more tests.
40567         (scalbln_test): Likewise.
40568
40569         * manual/filesys.texi (mode_t): Describe constraints on size and
40570         signedness, not exact equivalence to a particular type.
40571         (ino_t): Likewise.
40572         (ino64_t): Likewise.
40573         (dev_t): Likewise.
40574         (nlink_t): Likewise.
40575         (blkcnt_t): Likewise.
40576         (blkcnt64_t): Likewise.
40577         * manual/llio.texi (off_t): Likewise.
40578
40579         [BZ #3976]
40580         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40581         (__ieee754_exp): Save and restore rounding mode and use
40582         round-to-nearest for all computations.
40583         * math/libm-test.inc (exp_test_tonearest): New function.
40584         (exp_test_towardzero): Likewise.
40585         (exp_test_downward): Likewise.
40586         (exp_test_upward): Likewise.
40587         (main): Call the new functions.
40588         * sysdeps/i386/fpu/libm-test-ulps: Update.
40589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40590
40591 2012-03-01  Chris Demetriou  <cgd@google.com>
40592
40593         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40594         have predictable order.
40595
40596 2012-03-01  David S. Miller  <davem@davemloft.net>
40597
40598         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40599
40600         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40601         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40602         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40603         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40604
40605         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40606         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40607         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40608         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40609         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40610         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40611         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40612         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40613         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40614
40615         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40616
40617         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40618         * sysdeps/sparc/fpu/libm-test-ulps: to here.
40619         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40620
40621         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40622         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40623         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40624         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40625         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40626         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40627         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40628         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40629         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40630         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40631         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40632         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40633         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40634         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40635         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40636         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40637         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40638         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40639         * sysdeps/sparc/elf/configure: Regenerated.
40640
40641 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
40642
40643         * configure.in (AS, LD): Require binutils 2.20 or later.
40644         * configure: Regenerated.
40645         * manual/install.texi (Tools for Compilation): Give binutils 2.20
40646         as required minimum version.
40647         * INSTALL: Regenerated.
40648
40649         [BZ #2541]
40650         [BZ #4108]
40651         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40652         before squaring exponent.
40653         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40654         bottom long double and 27 bits of top long double before squaring
40655         exponent.
40656         * math/libm-test.inc (erfc_test): Add more tests.
40657         * sysdeps/i386/fpu/libm-test-ulps: Update.
40658         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40660
40661 2012-03-01  Kai Tietz  <ktietz@redhat.com>
40662
40663         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40664         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40665         containing bit-fields.
40666         * soft-fp/extended.h (_FP_UNION_E): Likewise.
40667         * soft-fp/single.h (_FP_UNION_S): Likewise.
40668         * soft-fp/double.h (_FP_UNION_D): Likewise.
40669
40670 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
40671
40672         [BZ #13786]
40673         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40674         not include ../strcmp.S.
40675         [USE_AS_STRNCASECMP_L]: Likewise.
40676         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40677         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40678         * sysdeps/i386/i686/multiarch/strncase_l-c.c
40679         (__strncasecmp_l_ia32): Define as alias to
40680         __strncasecmp_l_nonascii.
40681
40682         [BZ #5794]
40683         * math/libm-test.inc (expm1_test): Add test for bug 5794.
40684         * sysdeps/i386/fpu/libm-test-ulps: Update.
40685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40686
40687         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40689
40690 2012-02-29  Jeff Law  <law@redhat.com>
40691
40692         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40693         out of bounds read.
40694
40695 2012-02-29  Marek Polacek  <polacek@redhat.com>
40696
40697         [BZ #13706]
40698         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40699         * elf/Makefile: Add rules to run tst-unused-dep.out.
40700
40701 2012-02-28  David S. Miller  <davem@davemloft.net>
40702
40703         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40704         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40705         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40706         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40707         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40708         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40709
40710 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
40711
40712         * math/libm-test.inc (llround_test): Move one test from
40713         lround_test.  Use TEST_f_L in moved test.
40714         (lround_test): Move misplaced test to llround_test.  Add testcase
40715         from bug 2561.
40716
40717 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
40718
40719         * sysdeps/x86_64/fpu/e_expf.S: New file.
40720         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40721
40722 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
40723
40724         [BZ #13637]
40725         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40726         of remain_len that may cause incomplete multi-byte character and
40727         false match.
40728         * posix/bug-regex33.c: New file.
40729         * posix/Makefile (tests): Add bug-regex33.
40730
40731 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
40732
40733         * manual/macros.texi: New file.
40734         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40735         * manual/libc.texinfo: Include macros.texi.
40736         * manual/creatute.texi: Likewise.
40737         * manual/install.texi: Likewise.
40738         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40739         @glibcadj{} in references to the GNU C Library.
40740         * manual/charset.texi: Likewise.
40741         * manual/conf.texi: Likewise.
40742         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
40743         when not using those macros.
40744         * manual/creature.texi: Likewise.
40745         * manual/crypt.texi: Likewise.
40746         * manual/errno.texi: Likewise.
40747         * manual/filesys.texi: Likewise.
40748         * manual/header.texi: Likewise.
40749         * manual/install.texi: Likewise.
40750         * manual/intro.texi: Likewise.
40751         * manual/io.texi: Likewise.
40752         * manual/job.texi: Likewise.
40753         * manual/lang.texi: Likewise.
40754         * manual/libc.texiinfo: Likewise.
40755         * manual/llio.texi: Likewise.
40756         * manual/locale.texi: Likewise.
40757         * manual/maint.texi: Likewise.
40758         * manual/math.texi: Likewise.
40759         * manual/memory.texi: Likewise.
40760         * manual/message.texi: Likewise.
40761         * manual/nss.texi: Likewise.
40762         * manual/pattern.texi: Likewise.
40763         * manual/process.texi: Likewise.
40764         * manual/resource.texi: Likewise.
40765         * manual/search.texi: Likewise.
40766         * manual/setjmp.texi: Likewise.
40767         * manual/signal.texi: Likewise.
40768         * manual/socket.texi: Likewise.
40769         * manual/startup.texi: Likewise.
40770         * manual/stdio.texi: Likewise.
40771         * manual/string.texi: Likewise.
40772         * manual/sysinfo.texi: Likewise.
40773         * manual/syslog.texi: Likewise.
40774         * manual/terminal.texi: Likewise.
40775         * manual/time.texi: Likewise.
40776         * manual/users.texi: Likewise.
40777         * INSTALL: Regenerated.
40778         * NOTES: Regenerated.
40779         * sysdeps/gnu/errlist.c: Regenerated.
40780
40781 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
40782
40783         * include/dirent.h: Include <dirstream.h> before
40784         <dirent/dirent.h>.
40785
40786 2012-02-28  David S. Miller  <davem@davemloft.net>
40787
40788         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40789         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40790         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40791         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40792
40793 2012-02-27  David S. Miller  <davem@davemloft.net>
40794
40795         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40796         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40797         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40798         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40799
40800         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40801         frame pointer instead of stack pointer relative arg slot.
40802         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40803         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40804         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40805
40806 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
40807
40808         [BZ #3992]
40809         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40810
40811 2012-02-27  David S. Miller  <davem@davemloft.net>
40812
40813         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40814         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40815         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40816         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40817         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40818         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40819         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40820         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40821
40822 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
40823
40824         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40825         later.  Allow versions 5-9.
40826         * configure: Regenerated.
40827         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40828         required minimum version and 4.6 as recommended version.  Do not
40829         mention bugs in GCC 2.7 and 2.8.
40830         * INSTALL: Regenerated.
40831
40832 2012-02-27  David S. Miller  <davem@davemloft.net>
40833
40834         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40835         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40836         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40837         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40838         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40839         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40840         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40841         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40842
40843         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40844         manipulate bits before adding and subtracting TWO112[sx].
40845         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40846
40847 2012-02-27  Roland McGrath  <roland@hack.frob.com>
40848
40849         [BZ #13775]
40850         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40851         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40852         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40853         being in POSIX, because they are in 1003.1-2008.
40854
40855         * rt/tst-aio.c: Include <fcntl.h>.
40856         * rt/tst-aio7.c: Likewise.
40857         * rt/tst-aio64.c: Likewise.
40858
40859         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40860
40861 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
40862
40863         * manual/install.texi (--with-headers): Describe headers as
40864         interface headers, not private headers.
40865         (Specific advice for GNU/Linux systems): Describe use of headers
40866         from "make headers_install", not private headers from older
40867         kernels.
40868         * INSTALL: Regenerated.
40869         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40870         Change to 2.6.19.
40871         * sysdeps/unix/sysv/linux/configure: Regenerated.
40872
40873         * manual/llio.texi (fclean): Remove documentation.
40874
40875         * manual/Makefile (libc-texi-generated): New variable.  Include
40876         version.texi.
40877         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40878         $(libc-texi-generated), not duplicated list of files.
40879         (version.texi, stamp-version): New rules.
40880         (realclean): Remove $(libc-texi-generated), not individual files
40881         from that list.  Do not remove dir-add.texinfo.
40882         * manual/libc.texinfo: Comment out uses of edition numbers and
40883         references to printed manual.  Remove last-updated dates.
40884         (EDITION): Comment out.
40885         (ISBN): Likewise.
40886         (VERSION, UPDATED): Remove.
40887         (version.texi): Include.
40888
40889 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
40890
40891         * sysdeps/posix/spawni.c: Include <signal.h>.
40892         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40893         * sysdeps/pthread/aio_fsync.c: Likewise.
40894
40895 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
40896
40897         * conform/Makefile (tests): Run only when not cross-compiling and
40898         when fast-check is not defined.
40899
40900         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40901         * conform/data/limits.h-data: Fixes for POSIX2008.
40902         * conform/run-conformtest.sh: Run all tests.
40903         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40904         headers.
40905         * include/bits/dlfcn.h: Likewise.
40906         * include/langinfo.h: Likewise.
40907         * include/monetary.h: Likewise.
40908         * include/sys/poll.h: Likewise.
40909
40910         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40911         for __USE_GNU.
40912         * posix/spawn.h: Define __need_sigset_t.
40913         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40914         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40915         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
40916         to get sigevent_t only.
40917         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40918         only for __USE_GNU.
40919         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40920         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40921         process_vm_writev only for __USE_GNU.
40922         * termios/termios.h: Declare tcgetsid also for POSIX2008.
40923
40924         * conform/Makefile: For now ignore errors from run-conformtest.
40925         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
40926         POSIX to avoid namespace pollution.  Don't prepend headers.
40927         * conform/data/aio.h-data: Fixes for POSIX testing.
40928         * conform/data/fcntl.h-data: Likewise.
40929         * conform/data/glob.h-data: Likewise.
40930         * conform/data/grp.h-data: Likewise.
40931         * conform/data/pthread.h-data: Likewise.
40932         * conform/data/pwd.h-data: Likewise.
40933         * conform/data/signal.h-data: Likewise.
40934         * conform/data/spawn.h-data: Likewise.
40935         * conform/data/stdio.h-data: Likewise.
40936         * conform/data/stdlib.h-data: Likewise.
40937         * conform/data/stropts.h-data: Likewise.
40938         * conform/data/sys/mman.h-data: Likewise.
40939         * conform/data/sys/stat.h-data: Likewise.
40940         * conform/data/sys/types.h-data: Likewise.
40941         * conform/data/sys/wait.h-data: Likewise.
40942         * conform/data/time.h-data: Likewise.
40943         * conform/data/unistd.h-data: Likewise.
40944         * conform/data/utime.h-data: Likewise.
40945
40946         * io/sys/stat.h: fchmod was always in POSIX.
40947         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40948         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40949         * rt/aio.h: Define __need_timespec before including <time.h>.
40950         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40951         struct.  Add forward declaration of pthread_attr_t and use it in
40952         sigevent.
40953         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40954         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40955         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40956         always remove CLK_TCK definition.
40957
40958 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
40959
40960         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40961
40962 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
40963
40964         * conform/run-conformtest.sh: New file.
40965         * conform/Makefile: Run run-conformtest for tests.
40966         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
40967         support.
40968
40969         * conform/data/uchar.h-data: New file.
40970         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40971         * conform/data/arpa/inet.h-data: Likewise.
40972         * conform/data/assert.h-data: Likewise.
40973         * conform/data/complex.h-data: Likewise.
40974         * conform/data/cpio.h-data: Likewise.
40975         * conform/data/ctype.h-data: Likewise.
40976         * conform/data/dirent.h-data: Likewise.
40977         * conform/data/dlfcn.h-data: Likewise.
40978         * conform/data/errno.h-data: Likewise.
40979         * conform/data/fcntl.h-data: Likewise.
40980         * conform/data/float.h-data: Likewise.
40981         * conform/data/fmtmsg.h-data: Likewise.
40982         * conform/data/fnmatch.h-data: Likewise.
40983         * conform/data/ftw.h-data: Likewise.
40984         * conform/data/glob.h-data: Likewise.
40985         * conform/data/grp.h-data: Likewise.
40986         * conform/data/iconv.h-data: Likewise.
40987         * conform/data/inttypes.h-data: Likewise.
40988         * conform/data/langinfo.h-data: Likewise.
40989         * conform/data/libgen.h-data: Likewise.
40990         * conform/data/limits.h-data: Likewise.
40991         * conform/data/locale.h-data: Likewise.
40992         * conform/data/math.h-data: Likewise.
40993         * conform/data/monetary.h-data: Likewise.
40994         * conform/data/mqueue.h-data: Likewise.
40995         * conform/data/ndbm.h-data: Likewise.
40996         * conform/data/net/if.h-data: Likewise.
40997         * conform/data/netdb.h-data: Likewise.
40998         * conform/data/netinet/in.h-data: Likewise.
40999         * conform/data/nl_types.h-data: Likewise.
41000         * conform/data/poll.h-data: Likewise.
41001         * conform/data/pthread.h-data: Likewise.
41002         * conform/data/pwd.h-data: Likewise.
41003         * conform/data/regex.h-data: Likewise.
41004         * conform/data/sched.h-data: Likewise.
41005         * conform/data/search.h-data: Likewise.
41006         * conform/data/semaphore.h-data: Likewise.
41007         * conform/data/setjmp.h-data: Likewise.
41008         * conform/data/signal.h-data: Likewise.
41009         * conform/data/spawn.h-data: Likewise.
41010         * conform/data/stdarg.h-data: Likewise.
41011         * conform/data/stdio.h-data: Likewise.
41012         * conform/data/stdlib.h-data: Likewise.
41013         * conform/data/string.h-data: Likewise.
41014         * conform/data/strings.h-data: Likewise.
41015         * conform/data/stropts.h-data: Likewise.
41016         * conform/data/sys/ipc.h-data: Likewise.
41017         * conform/data/sys/mman.h-data: Likewise.
41018         * conform/data/sys/msg.h-data: Likewise.
41019         * conform/data/sys/resource.h-data: Likewise.
41020         * conform/data/sys/select.h-data: Likewise.
41021         * conform/data/sys/sem.h-data: Likewise.
41022         * conform/data/sys/shm.h-data: Likewise.
41023         * conform/data/sys/socket.h-data: Likewise.
41024         * conform/data/sys/stat.h-data: Likewise.
41025         * conform/data/sys/statvfs.h-data: Likewise.
41026         * conform/data/sys/time.h-data: Likewise.
41027         * conform/data/sys/timeb.h-data: Likewise.
41028         * conform/data/sys/times.h-data: Likewise.
41029         * conform/data/sys/types.h-data: Likewise.
41030         * conform/data/sys/uio.h-data: Likewise.
41031         * conform/data/sys/un.h-data: Likewise.
41032         * conform/data/sys/utsname.h-data: Likewise.
41033         * conform/data/sys/wait.h-data: Likewise.
41034         * conform/data/syslog.h-data: Likewise.
41035         * conform/data/tar.h-data: Likewise.
41036         * conform/data/termios.h-data: Likewise.
41037         * conform/data/utime.h-data: Likewise.
41038         * conform/data/utmpx.h-data: Likewise.
41039         * conform/data/varargs.h-data: Likewise.
41040         * conform/data/wchar.h-data: Likewise.
41041         * conform/data/wctype.h-data: Likewise.
41042         * conform/data/wordexp.h-data: Likewise.
41043
41044         * include/stropts.h: New file.
41045         * include/uchar.h: New file.
41046         * include/aio.h: Changes to allow conformtest.pl to use the headers.
41047         * include/assert.h: Likewise.
41048         * include/ctype.h: Likewise.
41049         * include/dirent.h: Likewise.
41050         * include/dlfcn.h: Likewise.
41051         * include/fcntl.h: Likewise.
41052         * include/fnmatch.h: Likewise.
41053         * include/glob.h: Likewise.
41054         * include/grp.h: Likewise.
41055         * include/libio.h: Likewise.
41056         * include/locale.h: Likewise.
41057         * include/math.h: Likewise.
41058         * include/net/if.h: Likewise.
41059         * include/netdb.h: Likewise.
41060         * include/netinet/in.h: Likewise.
41061         * include/pthread.h: Likewise.
41062         * include/pwd.h: Likewise.
41063         * include/regex.h: Likewise.
41064         * include/sched.h: Likewise.
41065         * include/search.h: Likewise.
41066         * include/setjmp.h: Likewise.
41067         * include/signal.h: Likewise.
41068         * include/stdio.h: Likewise.
41069         * include/stdlib.h: Likewise.
41070         * include/string.h: Likewise.
41071         * include/sys/cdefs.h: Likewise.
41072         * include/sys/mman.h: Likewise.
41073         * include/sys/msg.h: Likewise.
41074         * include/sys/resource.h: Likewise.
41075         * include/sys/select.h: Likewise.
41076         * include/sys/socket.h: Likewise.
41077         * include/sys/stat.h: Likewise.
41078         * include/sys/statvfs.h: Likewise.
41079         * include/sys/time.h: Likewise.
41080         * include/sys/times.h: Likewise.
41081         * include/sys/uio.h: Likewise.
41082         * include/sys/utsname.h: Likewise.
41083         * include/sys/wait.h: Likewise.
41084         * include/termios.h: Likewise.
41085         * include/time.h: Likewise.
41086         * include/ulimit.h: Likewise.
41087         * include/unistd.h: Likewise.
41088         * include/utime.h: Likewise.
41089         * include/wchar.h: Likewise.
41090         * include/wctype.h: Likewise.
41091         * include/wordexp.h: Likewise.
41092
41093         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41094
41095         * time/time.h: TIME_UTC must be a macro.
41096         Make timespec_get available for ISO C11 only as well.
41097
41098 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
41099
41100         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41101         Reported by Peng Haitao <penght@cn.fujitsu.com>.
41102
41103 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41104
41105         * configure.in: Use -o not -a in test for unsupported multi-arch.
41106
41107 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41108
41109         * manual/texinfo.tex: Update to version 2012-01-19.16.
41110
41111 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41112
41113         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41114
41115 2012-02-24  Roland McGrath  <roland@hack.frob.com>
41116
41117         [BZ #13738]
41118         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41119         * manual/fdl-1.3.texi: New file.
41120         * manual/fdl-1.1.texi: File removed.
41121
41122         [BZ #13738]
41123         * manual/libc.texinfo (FDL_VERSION): New @set.
41124         Use it for mention of FDL in cover text.
41125         (Documentation License): Use it in @include file name.
41126
41127 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41128             Roland McGrath  <roland@hack.frob.com>
41129
41130         [BZ #5461]
41131         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41132         (not LONG_LONG_MAX and LONG_LONG_MIN.
41133         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41134         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
41135         name.
41136         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41137
41138 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41139
41140         [BZ #2547]
41141         [BZ #11365]
41142         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41143         manipulate bits before adding and subtracting TWO23[sx].
41144         * math/libm-test.inc (nearbyint_test): Add more tests.
41145
41146 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41147
41148         [BZ #2548]
41149         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41150         bits before adding and subtracting TWO23[sx].
41151         * math/libm-test.inc (rint_test): Add more tests.
41152         (rint_test_tonearest): Likewise.
41153         (rint_test_towardzero): Likewise.
41154         (rint_test_downward): Likewise.
41155         (rint_test_upward: Likewise.
41156
41157 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41158
41159         [BZ #10110]
41160         * include/stdc-predef.h: New file.  Extracted from features.h.
41161         * include/features.h: Include stdc-predef.h.
41162         * Makefile (headers): Add stdc-predef.h.
41163         * CONFORMANCE (Compiler limitations): Update.
41164
41165 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41166
41167         * manual/libc.texinfo (VERSION, UPDATED): Revert.
41168
41169 2012-02-21  David S. Miller  <davem@davemloft.net>
41170
41171         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41172         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41173
41174 2012-02-20  David S. Miller  <davem@davemloft.net>
41175
41176         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41177         using a normal save/restore sequence, rather than allocating a
41178         dummy stack frame just to store a frame pointer and restore.
41179         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41180
41181 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41182
41183         * manual/install.texi: Fix stray word in line-wrapped comment.
41184
41185 2012-02-20  David S. Miller  <davem@davemloft.net>
41186
41187         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41188         both binutils and gcc support GOTDATA.
41189
41190         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41191         "rd %pc" in the PIC register setup sequences.
41192
41193         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41194         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41195         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41196         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41197         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41198         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41199         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41200         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41201         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41202         (SYSCALL_ERROR_HANDLER): Likewise.
41203         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41204         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41205         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41206         (SYSCALL_ERROR_HANDLER): Likewise.
41207
41208         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41209         (HAVE_GCC_GOTDATA): New.
41210         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41211         relocation support in both binutils and gcc.
41212         * sysdeps/sparc/elf/configure: Regenerate.
41213
41214         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41215         * sysdeps/sparc/sparc32/elf/configure: Delete.
41216         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41217         * sysdeps/sparc/sparc64/elf/configure: Delete.
41218         * sysdeps/sparc/elf/configure.in: New file.
41219         * sysdeps/sparc/elf/configure: Generate.
41220
41221         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41222         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41223         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41224         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41225         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41226
41227 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41228
41229         * manual/install.texi: Do not mention specific glibc version
41230         numbers.
41231         * manual/libc.texinfo (VERSION, UPDATED): Update.
41232         (@copying): Use @copyright{} and range of years.
41233
41234 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41235
41236         [BZ #13695]
41237         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41238         [crti.S not in sysdirs] (generated): Do not append.
41239         [crti.S not in sysdirs] (omit-deps): Likewise.
41240         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41241         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41242         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41243         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41244         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41245         Likewise.
41246         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41247         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41248         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41249         * csu/defs.awk: Remove file.
41250         * sysdeps/generic/initfini.c: Likewise.
41251         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41252         variable.
41253         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41254         Likewise.
41255
41256 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41257
41258         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41259         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41260         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41261         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41262         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41263         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41264         <bits/epoll.h>.
41265         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41266         (__EPOLL_PACKED): Define to empty if not defined by
41267         <bits/epoll.h>.
41268         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41269         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41270         bits/epoll.h.
41271
41272 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41273
41274         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41275         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41276         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41277         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41278         <bits/timerfd.h>.
41279         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41280         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41281         bits/timerfd.h.
41282
41283 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41284
41285         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41286         in C locale.
41287         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41288         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41289         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41291
41292 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
41293
41294         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41295         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41296
41297 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
41298
41299         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41300         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41301         defined.
41302         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41303         Likewise.
41304         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41305         entry for 2.16.
41306
41307 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
41308
41309         * math/w_acos.c: Use non-signaling floating-point comparisons.
41310         * math/w_acosf.c: Likewise.
41311         * math/w_acosh.c: Likewise.
41312         * math/w_acoshf.c: Likewise.
41313         * math/w_acoshl.c: Likewise.
41314         * math/w_acosl.c: Likewise.
41315         * math/w_asin.c: Likewise.
41316         * math/w_asinf.c: Likewise.
41317         * math/w_asinl.c: Likewise.
41318         * math/w_atanh.c: Likewise.
41319         * math/w_atanhf.c: Likewise.
41320         * math/w_atanhl.c: Likewise.
41321         * math/w_exp2.c: Likewise.
41322         * math/w_exp2f.c: Likewise.
41323         * math/w_exp2l.c: Likewise.
41324         * math/w_j0.c: Likewise.
41325         * math/w_j0f.c: Likewise.
41326         * math/w_j0l.c: Likewise.
41327         * math/w_j1.c: Likewise.
41328         * math/w_j1f.c: Likewise.
41329         * math/w_j1l.c: Likewise.
41330         * math/w_jn.c: Likewise.
41331         * math/w_jnf.c: Likewise.
41332         * math/w_log.c: Likewise.
41333         * math/w_log10.c: Likewise.
41334         * math/w_log10f.c: Likewise.
41335         * math/w_log10l.c: Likewise.
41336         * math/w_log2.c: Likewise.
41337         * math/w_log2f.c: Likewise.
41338         * math/w_log2l.c: Likewise.
41339         * math/w_logf.c: Likewise.
41340         * math/w_logl.c: Likewise.
41341         * math/w_sqrt.c: Likewise.
41342         * math/w_sqrtf.c: Likewise.
41343         * math/w_sqrtl.c: Likewise.
41344         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41345         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41346         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41347         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41348         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41349
41350 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41351
41352         [BZ #9739]
41353         * manual/string.texi (strnlen): Use correct parameter name in
41354         equivalent expression.
41355
41356 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41357
41358         [BZ #11174]
41359         * manual/users.texi (seteuid): Consistently use neweuid for
41360         argument name.
41361
41362 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41363
41364         [BZ #13704]
41365         * manual/nss.texi (Services in the NSS configuration): Correct
41366         list of services in example configuration file.
41367
41368 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
41369
41370         [BZ #11322]
41371         * manual/arith.texi: Remove statements about negative zero
41372         behaving identically to zero.
41373
41374 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
41375
41376         [BZ #5993]
41377         * manual/install.texi: Do not document upgrading from libc5.
41378
41379 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
41380
41381         [BZ #4596]
41382         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41383
41384 2012-02-18  David S. Miller  <davem@davemloft.net>
41385
41386         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41387         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41388         %o7 across the call.
41389         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41390         instead.
41391         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41392         SETUP_PIC_REG_LEAF.
41393         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41394         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41395         * sysdeps/sparc/crtn.S: Likewise.
41396
41397 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
41398
41399         * aout/Makefile: Remove.
41400
41401 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
41402
41403         [BZ #13058]
41404         * manual/examples/argp-ex1.c (main): Format definition in GNU
41405         style.
41406         * manual/examples/argp-ex2.c (main): Likewise.
41407         * manual/examples/argp-ex3.c (main): Likewise.
41408         * manual/examples/argp-ex4.c (main): Likewise.
41409         * manual/examples/longopt.c (main): Use new-style prototype
41410         definition.
41411         * manual/examples/strncat.c (main): Specify return type and use
41412         (void) for arguments.
41413         * manual/examples/subopt.c (main): Use char **argv argument.
41414
41415 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41416
41417         [BZ #5077]
41418         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41419         rounding modes.
41420
41421 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
41422
41423         [BZ #6907]
41424         * manual/string.texi (strchr): Change when strchrnul is
41425         recommended.
41426
41427 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
41428
41429         [BZ #174]
41430         * manual/locale.texi (setlocale): Document LOCPATH.
41431
41432 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41433
41434         [BZ #10210]
41435         * manual/process.texi (execle): Move @dots{} before last argument.
41436
41437 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
41438
41439         [BZ #12047]
41440         * manual/charset.texi (Generic Charset Conversion): Fix typo
41441         (LC_TYPE -> LC_CTYPE).
41442
41443 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
41444
41445         [BZ #5805]
41446         * manual/arith.texi (scalbn): Use @var{} on parameter names.
41447         (scalbnf): Likewise.
41448         (scalbnl): Likewise.
41449         (scalbln): Likewise.
41450         (scalblnf): Likewise.
41451         (scalblnl): Likewise.
41452         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41453         (vwarnx): Likewise.
41454         (verr): Likewise.
41455         (verrx): Likewise.
41456         * manual/filesys.texi (telldir): Use braces around return type.
41457         * manual/llio.texi (mmap): Add space after comma.
41458         (mmap64): Likewise.
41459         * manual/math.texi (jn): Use @var{} on parameter names.
41460         (jnf): Likewise.
41461         (jnl): Likewise.
41462         (yn): Likewise.
41463         (ynf): Likewise.
41464         (ynl): Likewise.
41465         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41466         line.
41467         * manual/resource.texi (ulimit): Use @dots{} instead of literal
41468         "...".
41469         (sched_get_priority_min): Remove semicolon on @deftypefun line.
41470         (sched_get_priority_max): Likewise.
41471         * manual/signal.texi (sigvec): Add space after comma.
41472         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41473         names.
41474         (if_indextoname): Likewise.
41475         (if_freenameindex): Likewise.
41476         (sendto): Use ',' instead of '.' in prototype.
41477         * manual/startup.texi (syscall): Use @dots{} instead of literal
41478         "...".
41479         * manual/stdio.texi (__fpending): Separate initial words of
41480         paragraph from @deftypefun line.
41481         * manual/syslog.texi (syslog): Use @dots{} instead of literal
41482         "...".
41483         (vsyslog): Use @var{} on parameter names.
41484         * manual/terminal.texi (stty): Use @var{} on parameter names.
41485         * manual/users.texi (getutmp): Use @var{} on parameter names.
41486         (getutmpx): Likewise.
41487
41488 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41489
41490         [BZ #6884]
41491         * manual/stdio.texi (fopen): Fix typos in description of
41492         ",ccs=STRING".
41493
41494 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
41495
41496         [BZ #4026]
41497         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41498         get clock_id definition.
41499
41500 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
41501
41502         [BZ #4822]
41503         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41504         (madvise): Cast every argument to void on its own.
41505
41506 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41507
41508         [BZ #9902]
41509         * manual/startup.texi (Exit Status): Fix typo.
41510
41511 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41512
41513         [BZ #10140]
41514         * manual/examples/argp-ex1.c: Include <stdlib.h>.
41515         * manual/examples/argp-ex2.c: Likewise.
41516         * manual/examples/argp-ex3.c: Likewise.
41517
41518 2012-02-16  Richard Henderson  <rth@redhat.com>
41519
41520         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41521         * sysdeps/s390/s390-32/initfini.c: Remove.
41522         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41523         * sysdeps/s390/s390-64/initfini.c: Remove.
41524
41525 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41526
41527         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41528         compiler output for sysdeps/generic/initfini.c.
41529         * sysdeps/sh/elf/initfini.c: Remove file.
41530
41531 2012-02-16  David S. Miller  <davem@davemloft.net>
41532
41533         [BZ #11494]
41534         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41535
41536         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41537         * sysdeps/sparc/crti.S: New file.
41538         * sysdeps/sparc/crtn.S: New file.
41539         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41540         * sysdeps/sparc/sparc64/Makefile: Likewise.
41541
41542 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
41543
41544         [BZ #3335]
41545         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41546
41547 2012-02-15  Roland McGrath  <roland@hack.frob.com>
41548
41549         [BZ #4822]
41550         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41551
41552         * mach/devstream.c (cookie_io_functions_t): Macro removed.
41553         (write, read, close): Likewise.
41554         Patch by Aurelien Jarno <aurelien@aurel32.net>.
41555
41556 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
41557
41558         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41559         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41560         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41561         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41562         <bits/signalfd.h>.
41563         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41564         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41565         bits/signalfd.h.
41566
41567 2012-02-14  Marek Polacek  <polacek@redhat.com>
41568
41569         * sysdeps/x86_64/crti.S: New file.
41570         * sysdeps/x86_64/crtn.S: New file.
41571         * sysdeps/x86_64/elf/initfini.c: Remove file.
41572
41573 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
41574
41575         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41576         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41577         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41578         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41579         <bits/inotify.h>.
41580         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41581         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41582         bits/inotify.h.
41583
41584 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
41585
41586         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41587         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41588         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41589         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41590         <bits/eventfd.h>.
41591         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41592         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41593         bits/eventfd.h.
41594
41595 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
41596
41597         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41598         __feraiseexcept instead of feraiseexcept.
41599
41600         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41601         nanosleep invocations.
41602         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41603         strings, and add error checking for a nanosleep invocations.
41604
41605 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
41606
41607         Replace FSF snail mail address with URLs, as per GNU coding standards.
41608         Most of the snail mail addresses were wrong anyway, and omitting
41609         them makes the source code easier to maintain.  Almost all of the
41610         changes are to license notices and to locale LC_IDENTIFICATION
41611         addresses, except for this one:
41612         * manual/libc.texinfo: In "Published by", give the FSF's URL,
41613         not its snail mail address.
41614
41615 2012-02-09  Richard Henderson  <rth@twiddle.net>
41616
41617         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41618         of kernel-features.h.
41619
41620         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41621
41622 2012-02-08  Marek Polacek  <polacek@redhat.com>
41623
41624         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41625         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41626         * sysdeps/gnu/_G_config.h: Likewise.
41627         * sysdeps/generic/_G_config.h: Likewise.
41628
41629 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
41630
41631         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41632         tests.
41633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41634
41635         * sysdeps/powerpc/powerpc32/crti.S: New file.
41636         * sysdeps/powerpc/powerpc32/crtn.S: New file.
41637         * sysdeps/powerpc/powerpc64/crti.S: New file.
41638         * sysdeps/powerpc/powerpc64/crtn.S: New file.
41639
41640         * Makeconfig (have-initfini): Don't set.
41641         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41642         * configure.in (nopic_initfini): Don't substitute.
41643         * config.h.in (HAVE_INITFINI): Don't #undef.
41644         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41645         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41646
41647 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
41648
41649         Support crti.S and crtn.S provided directly by architectures.
41650         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41651         [crti.S in sysdirs] (omit-deps): Likewise.
41652         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41653         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41654         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41655         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41656         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41657         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41658         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41659         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41660         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41661         compiler output for sysdeps/generic/initfini.c.
41662         * sysdeps/i386/elf/Makefile: Remove file.
41663         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41664
41665 2012-02-07  Marek Polacek  <polacek@redhat.com>
41666
41667         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41668         * sysdeps/gnu/_G_config.h: Likewise.
41669         * sysdeps/mach/hurd/_G_config.h: Likewise.
41670
41671 2012-02-07  Marek Polacek  <polacek@redhat.com>
41672
41673         * math/Makefile (tests): Add tst-CMPLX2.
41674         * math/tst-CMPLX2.c: New file.
41675
41676 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
41677
41678         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41679
41680         * math/libm-test.inc (jn_test): Add missing L suffix.
41681
41682 2012-02-06  Marek Polacek  <polacek@redhat.com>
41683
41684         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41685         * sysdeps/i386/fpu/e_powf.S: Likewise.
41686         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41687         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41688         * sysdeps/i386/fpu/e_acosh.S: Likewise.
41689         * sysdeps/i386/fpu/e_pow.S: Likewise.
41690         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41691         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41692         * sysdeps/i386/fpu/s_expm1.S: Likewise.
41693         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41694         * sysdeps/i386/fpu/e_log2.S: Likewise.
41695         * sysdeps/i386/fpu/e_log2l.S: Likewise.
41696         * sysdeps/i386/fpu/e_scalb.S: Likewise.
41697         * sysdeps/i386/fpu/e_powl.S: Likewise.
41698         * sysdeps/i386/fpu/s_log1p.S: Likewise.
41699         * sysdeps/i386/fpu/e_log10f.S: Likewise.
41700         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41701         * sysdeps/i386/fpu/e_logl.S: Likewise.
41702         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41703         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41704         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41705         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41706         * sysdeps/i386/fpu/e_log2f.S: Likewise.
41707         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41708         * sysdeps/i386/fpu/e_log.S: Likewise.
41709         * sysdeps/i386/fpu/s_cexp.S: Likewise.
41710         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41711         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41712         * sysdeps/i386/fpu/e_logf.S: Likewise.
41713         * sysdeps/i386/fpu/e_log10l.S: Likewise.
41714         * sysdeps/i386/fpu/e_atanh.S: Likewise.
41715         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41716         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41717         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41718         * sysdeps/i386/fpu/e_log10.S: Likewise.
41719         * sysdeps/i386/fpu/s_frexp.S: Likewise.
41720         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41721         * sysdeps/i386/fpu/s_asinh.S: Likewise.
41722         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41723         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41724         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41725         * sysdeps/i386/asm-syntax.h: Likewise.
41726         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41727         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41728         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41729         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41730         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41731         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41732         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41733         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41734         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41735         * sysdeps/powerpc/sysdep.h: Likewise.
41736         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41737         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41738
41739 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
41740
41741         [BZ #411]
41742         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41743
41744 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
41745
41746         * sysdeps/i386/sysdep.h: Include <features.h>.
41747         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41748         version.
41749
41750 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
41751
41752         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41753         Define.
41754         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41755         LOAD_PIC_REG_STR.
41756
41757 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
41758
41759         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41760         (SETUP_PIC_REG): Use GET_PC_THUNK.
41761         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41762         macro.
41763
41764 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
41765
41766         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41767         for non-PIC compilation.
41768         (SETUP_PIC_REG): Add .p2align directive.
41769         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41770         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41771         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41772         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41773         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41774         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41775         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41776         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41777         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41778         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41779         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41780         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41781         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41782         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41783         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41784         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41785         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41786         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41787         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41788         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41789         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41790         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41791         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41792         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41793         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41794         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41795         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41796         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41797         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41798         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41799         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41800         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41801         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41802         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41803         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41804         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41805         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41806         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41807         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41808         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41809         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41810
41811 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
41812
41813         * math/tst-CMPLX.c: Include <stdio.h>.
41814
41815 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
41816
41817         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41818         float.
41819         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41820         * sysdeps/sparc/bits/mathdef.h: Likewise.
41821
41822 2012-01-31  Marek Polacek  <polacek@redhat.com>
41823
41824         * libio/libio.h: Don't define _PARAMS.
41825         * locale/programs/config.h: Don't define PARAMS.
41826         * stdlib/strtol_l.c: Likewise.
41827         (__strtol_l): Remove PARAMS from the prototype.
41828
41829 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
41830
41831         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
41832         names.  Just use the correct names.  Remove unnecessary wrapper
41833         functions.
41834         * malloc/arena.c: Likewise.
41835         * malloc/hooks.c: Likewise.
41836
41837         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41838         ARENA_TEST says not to.  Simplify test for creation of a new arena.
41839         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41840
41841 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
41842
41843         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41844         into tail calls.
41845         (update_get_addr): New function.
41846         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41847         GET_ADDR_MODULE parameter.
41848
41849 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
41850
41851         * crypt/cert.c: Remove __STDC__ conditionals.
41852         * crypt/crypt-entry.c: Likewise.
41853         * crypt/crypt_util.c: Likewise.
41854         * libio/filedoalloc.c: Likewise.
41855         * libio/fileops.c: Likewise.
41856         * libio/genops.c: Likewise.
41857         * libio/iofclose.c: Likewise.
41858         * libio/iofdopen.c: Likewise.
41859         * libio/iofopen.c: Likewise.
41860         * libio/iofopen64.c: Likewise.
41861         * libio/iogetdelim.c: Likewise.
41862         * libio/iopopen.c: Likewise.
41863         * libio/obprintf.c: Likewise.
41864         * libio/oldfileops.c: Likewise.
41865         * libio/oldiofclose.c: Likewise.
41866         * libio/oldiofdopen.c: Likewise.
41867         * libio/oldiofopen.c: Likewise.
41868         * libio/oldiopopen.c: Likewise.
41869         * libio/wfiledoalloc.c: Likewise.
41870         * libio/wgenops.c: Likewise.
41871         * locale/programs/xmalloc.c: Likewise.
41872         * misc/syslog.c: Likewise.
41873         * stdio-common/xbug.c: Likewise.
41874         * string/memchr.c: Likewise.
41875         * string/memcmp.c: Likewise.
41876         * string/memrchr.c: Likewise.
41877         * string/rawmemchr.c: Likewise.
41878         * sysdeps/posix/getcwd.c: Likewise.
41879         * time/strftime_l.c: Likewise.
41880
41881 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
41882
41883         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
41884         * config.make.in (config-cflags-sse2avx): Define.
41885         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41886         Fix typo.
41887
41888 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
41889
41890         * scripts/config.guess: Update from upstream config git repository.
41891         * scripts/config.sub: Likewise.
41892
41893 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
41894
41895         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41896         (EM_NUM): Update.
41897         (R_TILEPRO_*, R_TILEGX_*): New macros.
41898
41899         * scripts/firstversions.awk: Fix bug in version range handling.
41900
41901         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41902
41903         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41904
41905         * include/sys/epoll.h: New file.
41906         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41907         libc_hidden_def.
41908
41909 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
41910
41911         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41912         Avoid unnecessary __WORDSIZE == 64 test.
41913         (fmaxf): Use VEX format if possible.
41914         (fmax): Likewise.
41915         (fminf): Likewise.
41916         (fmin): Likewise.
41917
41918         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41919         * math/math_private.h: Remove libc_fegetround* and
41920         libc_fesetround*.
41921         * sysdeps/i386/configure.in: Check for -msse2avx.
41922         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41923         also if SSE2AVX is defined.
41924         Remove libc_fegetround* and libc_fesetround*.
41925         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41926         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
41927         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41928         of HAS_YMM_USABLE.
41929         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41930         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41931         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41932         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41933         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41934
41935         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41936
41937 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41938
41939         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41940         size is not set.
41941         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41942
41943 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
41944
41945         [BZ #13618]
41946         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41947         relocation.
41948         * Makeconfig (libm): Define.
41949         * elf/Makefile: Add rules to build and run tst-relsort1.
41950         * elf/tst-relsort1.c: New file.
41951         * elf/tst-relsort1mod1.c: New file.
41952         * elf/tst-relsort1mod2.c: New file.
41953
41954 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
41955
41956         * math/s_ldexp.c: Remove __STDC__ conditionals.
41957         * math/s_ldexpf.c: Likewise.
41958         * math/s_ldexpl.c: Likewise.
41959         * math/s_nextafter.c: Likewise.
41960         * math/s_nexttowardf.c: Likewise.
41961         * math/s_significand.c: Likewise.
41962         * math/s_significandf.c: Likewise.
41963         * math/s_significandl.c: Likewise.
41964         * math/w_jnl.c: Likewise.
41965         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41966         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41967         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41968         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41969         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41970         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41971         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41972         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41973         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41974         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41975         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41976         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41977         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41978         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41979         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41980         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41981         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41982         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41983         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41984         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41985         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41986         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41987         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41988         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41989         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41990         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41991         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41992         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41993         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41994         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41995         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41996         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41997         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41998         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41999         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42000         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42001         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42002         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42003         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42004         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42005         * sysdeps/ieee754/k_standard.c: Likewise.
42006         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42007         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42008         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42009         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42010         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42011         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42012         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42013         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42014         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42015         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42016         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42017         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42018         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42019         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42020         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42021         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42022         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42023         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42024         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42025         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42026         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42027         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42028         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42029         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42030         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42031         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42032         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42033         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42034         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42035         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42036         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42037         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42038         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42039         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42040         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42041         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42042         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42043         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42044         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42045         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42046         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42047         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42048         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42049         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42050         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42051         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42052         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42053         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42054         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42055         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42056         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42057         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42058         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42059         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42060         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42061         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42062         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42063         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42064         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42065         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42066         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42067         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42068         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42069         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42070         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42071         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42072         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42073         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42074         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42075         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42076         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42077         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42078         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42079         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42080         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42081         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42082         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42083         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42084         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42085         * sysdeps/ieee754/s_matherr.c: Likewise.
42086         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42087         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42088         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42089         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42090
42091 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42092
42093         * crypt/md5.h: Remove __STDC__ conditionals.
42094         * libio/libioP.h: Likewise.
42095         * locale/programs/config.h: Likewise.
42096         * sysdeps/generic/sysdep.h: Likewise.
42097         * sysdeps/i386/asm-syntax.h: Likewise.
42098         * sysdeps/s390/asm-syntax.h: Likewise.
42099         * sysdeps/unix/sysdep.h: Likewise.
42100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42102
42103 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42104
42105         * libio/libio.h: Remove __STDC__ conditionals.
42106         * malloc/obstack.h: Likewise.
42107         * math/complex.h: Likewise.
42108         * math/math.h: Likewise.
42109         * sysdeps/generic/_G_config.h: Likewise.
42110         * sysdeps/gnu/_G_config.h: Likewise.
42111         * sysdeps/mach/hurd/_G_config.h: Likewise.
42112         * sysdeps/powerpc/bits/mathdef.h: Likewise.
42113         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42114         * sysdeps/sparc/bits/mathdef.h: Likewise.
42115
42116 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
42117
42118         [BZ #13583]
42119         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42120         Clean up HAS_* macros.
42121         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42122         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42123         possible.
42124         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42125         HAS_AVX.
42126         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42127         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42128         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42129         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42130         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42131
42132 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
42133
42134         * elf/tst-unique3.cc (gets): Remove declaration.
42135         * elf/tst-unique3lib.cc (gets): Likewise.
42136         * elf/tst-unique3lib2.cc (gets): Likewise.
42137         * elf/tst-unique4.cc (gets): Likewise.
42138
42139 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
42140
42141         * include/stdio.h: Add C++ protection.  Add gets declarations and
42142         definitions.
42143         * debug/tst-chk1.c: Don't declare gets here.
42144         * stdio-common/tst-gets.c: Likewise.
42145
42146 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42147
42148         * posix/glob: Remove directory.
42149
42150 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42151
42152         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42153
42154 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
42155
42156         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42157         of the non-standard EPFNOSUPPORT.
42158
42159 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42160
42161         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42162         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42163         ANYWHERE set to 1 only on KERN_NO_SPACE error.
42164
42165 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
42166
42167         * wcsmbs/uchar.h: Test __STDC_VERSION__.
42168
42169 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
42170
42171         * nscd/aicache.c (addhstaiX): Do not cache negative results of
42172         transient errors.
42173         * nscd/grpcache.c (cache_addgr): Likewise.
42174         * nscd/hstcache.c (cache_addhst): Likewise.
42175         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42176         * nscd/pwdcache.c (cache_addpw): Likewise.
42177         * nscd/servicescache.c (cache_addserv): Likewise.
42178
42179 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
42180
42181         * malloc/malloc.c: Various cleanups.
42182         * malloc/hooks.c: Likewise.
42183
42184         * stdlib/Makefile (tests): Add bug-fmtmsg1.
42185         * stdlib/bug-fmtmsg1.c: New file.
42186
42187         * stdlib/fmtmsg.c (init): Add missing unlock.
42188         Patch by Peng Haitao <penght@cn.fujitsu.com>.
42189
42190 2012-01-12  Marek Polacek  <polacek@redhat.com>
42191
42192         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42193         and _GNU_SOURCE.
42194
42195 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
42196
42197         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42198         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42199         macro to ensure uniqueness of label name.
42200         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42201         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42202
42203 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
42204
42205         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42206
42207         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42208         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42209         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42210         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42211
42212 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
42213
42214         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42215
42216         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42217         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42218         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42219
42220         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42221
42222         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42223         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42224         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42225         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42226
42227         * math/bits/math-finite.h: Add ldexp support.
42228
42229 2012-01-10  Marek Polacek  <polacek@redhat.com>
42230
42231         * locale/programs/localedef.h (show_archive_content): Add noreturn
42232         attribute.
42233
42234 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
42235
42236         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42237
42238 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42239
42240         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42241
42242         * io/Makefile (headers): Add bits/poll2.h.
42243
42244 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
42245
42246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42247         typo #include statement.
42248
42249 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42250
42251         * include/sys/cdefs.h: Define __attribute_alloc_size.
42252         * catgets/gencat.c: Add alloc_size attribute and apply consistently
42253         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42254         * elf/pldd.c: Likewise.
42255         * iconv/iconv_charmap.c: Likewise.
42256         * iconv/iconvconfig.c: Likewise.
42257         * iconv/strtab.c: Likewise.
42258         * locale/programs/locale.c: Likewise.
42259         * locale/programs/localedef.h: Likewise.
42260         * locale/programs/simple-hash.c: Likewise.
42261         * nscd/nscd.h: Likewise.
42262         * nss/makedb.c: Likewise.
42263         * sysdeps/generic/ldconfig.h: Likewise.
42264         * locale/programs/localedef.c: Remove xmalloc prototype.
42265         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42266
42267 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42268
42269         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42270         appropriate.
42271
42272 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42273
42274         * math/Makefile (tests): Add tst-CMPLX.
42275         * math/tst-CMPLX.c: New file.
42276
42277         * math/complex.h (CMPLXL): Fix typo.
42278
42279         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42280         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42281         GLIBC_2.16.
42282         * debug/tst-chk1.c: Add poll and ppoll tests.
42283         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42284         * include/sys/poll.h: Add hidden proto for ppoll.
42285         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42286         * sysdeps/mach/hurd/ppoll.c: Likewise.
42287         * io/ppoll.c: Likewise.
42288         * debug/poll_chk.c: New file.
42289         * debug/ppoll_chk.c: New file.
42290         * include/bits/poll2.h: New file.
42291         * io/bits/poll2.h: New file.
42292
42293         [BZ #1350]
42294         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42295
42296         * configure.in: static is always set to yes.  Remove.
42297         * config.make.in: Don't set build-static.
42298         * Makeconfig: Remove use of build-static.
42299         * dlfcn/Makefile: Likewise.
42300         * elf/Makefile: Likewise.
42301         * math/Makefile: Likewise.
42302         * misc/Makefile: Likewise.
42303         * nptl/Makefile: Likewise.
42304         * sysdeps/mach/hurd/Makefile: Likewise.
42305
42306         * configure.in: PWD_P is not used anymore.
42307         * config.make.in: Remove PWD_P entry.
42308
42309         * configure.in: Remove last remnants of RANLIB.
42310         No need to check for signed size_t anymore.
42311         Don't set libc_commonpagesize and libc_relro_required here for Alpha
42312         and IA-64.
42313         Remove __builtin_expect test because we require at least gcc 3.4.
42314         * aclocal.m4: Likewise.
42315
42316         * wcsmbs/mbrtoc16.c: Implement using towc function.
42317         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42318         * wcsmbs/wcsmbsload.c: Likewise.
42319         * iconv/gconv_simple.c: Likewise.
42320         * iconv/gconv_int.h: Likewise.
42321         * iconv/gconv_builtin.h: Likewise.
42322         * iconv/iconv_prog.c: Remove CHAR16 handling.
42323
42324         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42325
42326         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42327
42328         * configure.in: Remove --with-elf and --enable-bounded options.
42329         Dont set base_machine for ia64.  More non-ELF conditions removed.
42330         Remove testing and setting of leading underscore information.
42331         * config.make.in (build-bounded): Set to no.
42332         * config.h.in: Remove NO_UNDERSCORES entry.
42333         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
42334         them.
42335         * csu/start.c: Remove !NO_UNDERSCORE code.
42336         * locale/localeinfo.h: Likewise.
42337         * sysdeps/generic/machine-gmon.h: Likewise.
42338         * sysdeps/generic/sysdep.h: Likewise.
42339         * sysdeps/i386/sysdep.h: Likewise.
42340         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42341         * sysdeps/mach/sysdep.h: Likewise.
42342         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42343         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42344         * sysdeps/sh/sysdep.h: Likewise.
42345         * sysdeps/sparc/sparc32/alloca.S: Likewise.
42346         * sysdeps/unix/i386/sysdep.S: Likewise.
42347         * sysdeps/unix/sparc/start.c: Likewise.
42348         * sysdeps/unix/sparc/sysdep.S: Likewise.
42349         * sysdeps/unix/sparc/sysdep.h: Likewise.
42350         * sysdeps/unix/start.c: Likewise.
42351         * sysdeps/unix/x86_64/sysdep.S: Likewise.
42352         * sysdeps/x86_64/sysdep.h: Likewise.
42353
42354 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
42355
42356         [BZ #13553]
42357         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42358         for non-gcc.
42359         * argp/argp-fmtstream.h: Use const instead __const.
42360         * argp/argp.h: Likewise.
42361         * assert/assert.h: Likewise.
42362         * bits/fenv.h: Likewise.
42363         * bits/sched.h: Likewise.
42364         * bits/sigset.h: Likewise.
42365         * bits/sigthread.h: Likewise.
42366         * catgets/nl_types.h: Likewise.
42367         * conform/data/pthread.h-data: Likewise.
42368         * crypt/crypt-private.h: Likewise.
42369         * crypt/crypt.h: Likewise.
42370         * crypt/crypt_util.c: Likewise.
42371         * ctype/ctype.h: Likewise.
42372         * debug/execinfo.h: Likewise.
42373         * debug/mbsnrtowcs_chk.c: Likewise.
42374         * debug/mbsrtowcs_chk.c: Likewise.
42375         * debug/wcsnrtombs_chk.c: Likewise.
42376         * debug/wcsrtombs_chk.c: Likewise.
42377         * debug/wcstombs_chk.c: Likewise.
42378         * dirent/dirent.h: Likewise.
42379         * dlfcn/dlfcn.h: Likewise.
42380         * elf/neededtest4.c: Likewise.
42381         * grp/grp.h: Likewise.
42382         * gshadow/gshadow.h: Likewise.
42383         * iconv/gconv.h: Likewise.
42384         * iconv/gconv_int.h: Likewise.
42385         * iconv/gconv_simple.c: Likewise.
42386         * iconv/iconv.h: Likewise.
42387         * iconv/loop.c: Likewise.
42388         * iconv/skeleton.c: Likewise.
42389         * include/aio.h: Likewise.
42390         * include/aliases.h: Likewise.
42391         * include/argz.h: Likewise.
42392         * include/arpa/inet.h: Likewise.
42393         * include/assert.h: Likewise.
42394         * include/dirent.h: Likewise.
42395         * include/dlfcn.h: Likewise.
42396         * include/execinfo.h: Likewise.
42397         * include/fcntl.h: Likewise.
42398         * include/fenv.h: Likewise.
42399         * include/glob.h: Likewise.
42400         * include/grp.h: Likewise.
42401         * include/libintl.h: Likewise.
42402         * include/mntent.h: Likewise.
42403         * include/netdb.h: Likewise.
42404         * include/pwd.h: Likewise.
42405         * include/rpc/netdb.h: Likewise.
42406         * include/sched.h: Likewise.
42407         * include/search.h: Likewise.
42408         * include/shadow.h: Likewise.
42409         * include/signal.h: Likewise.
42410         * include/stdio.h: Likewise.
42411         * include/stdlib.h: Likewise.
42412         * include/string.h: Likewise.
42413         * include/sys/socket.h: Likewise.
42414         * include/sys/stat.h: Likewise.
42415         * include/sys/statfs.h: Likewise.
42416         * include/sys/statvfs.h: Likewise.
42417         * include/sys/syslog.h: Likewise.
42418         * include/sys/time.h: Likewise.
42419         * include/sys/uio.h: Likewise.
42420         * include/time.h: Likewise.
42421         * include/unistd.h: Likewise.
42422         * include/utmp.h: Likewise.
42423         * include/wchar.h: Likewise.
42424         * include/wctype.h: Likewise.
42425         * inet/aliases.h: Likewise.
42426         * inet/arpa/inet.h: Likewise.
42427         * inet/netinet/ether.h: Likewise.
42428         * inet/netinet/in.h: Likewise.
42429         * intl/libintl.h: Likewise.
42430         * io/bits/fcntl2.h: Likewise.
42431         * io/fcntl.h: Likewise.
42432         * io/ftw.h: Likewise.
42433         * io/sys/poll.h: Likewise.
42434         * io/sys/stat.h: Likewise.
42435         * io/sys/statfs.h: Likewise.
42436         * io/sys/statvfs.h: Likewise.
42437         * io/utime.h: Likewise.
42438         * libio/bits/stdio.h: Likewise.
42439         * libio/bits/stdio2.h: Likewise.
42440         * libio/libio.h: Likewise.
42441         * libio/libioP.h: Likewise.
42442         * libio/stdio.h: Likewise.
42443         * locale/lc-ctype.c: Likewise.
42444         * locale/locale.h: Likewise.
42445         * login/utmp.h: Likewise.
42446         * malloc/arena.c: Likewise.
42447         * malloc/malloc.c: Likewise.
42448         * malloc/malloc.h: Likewise.
42449         * malloc/mcheck.c: Likewise.
42450         * malloc/mtrace.c: Likewise.
42451         * math/bits/mathcalls.h: Likewise.
42452         * math/fenv.h: Likewise.
42453         * math/math_private.h: Likewise.
42454         * misc/bits/error.h: Likewise.
42455         * misc/bits/syslog.h: Likewise.
42456         * misc/err.h: Likewise.
42457         * misc/error.h: Likewise.
42458         * misc/fstab.h: Likewise.
42459         * misc/mntent.h: Likewise.
42460         * misc/regexp.h: Likewise.
42461         * misc/search.h: Likewise.
42462         * misc/sgtty.h: Likewise.
42463         * misc/sys/mman.h: Likewise.
42464         * misc/sys/syslog.h: Likewise.
42465         * misc/sys/uio.h: Likewise.
42466         * misc/sys/xattr.h: Likewise.
42467         * misc/ttyent.h: Likewise.
42468         * nis/rpcsvc/ypclnt.h: Likewise.
42469         * nss/nss.h: Likewise.
42470         * posix/bits/unistd.h: Likewise.
42471         * posix/fnmatch.h: Likewise.
42472         * posix/glob.h: Likewise.
42473         * posix/sched.h: Likewise.
42474         * posix/spawn.h: Likewise.
42475         * posix/sys/wait.h: Likewise.
42476         * posix/unistd.h: Likewise.
42477         * posix/wordexp.h: Likewise.
42478         * pwd/pwd.h: Likewise.
42479         * resolv/netdb.h: Likewise.
42480         * resource/sys/resource.h: Likewise.
42481         * rt/aio.h: Likewise.
42482         * rt/bits/mqueue2.h: Likewise.
42483         * rt/mqueue.h: Likewise.
42484         * shadow/shadow.h: Likewise.
42485         * signal/signal.h: Likewise.
42486         * socket/send.c: Likewise.
42487         * socket/sendto.c: Likewise.
42488         * socket/sys/socket.h: Likewise.
42489         * stdio-common/printf.h: Likewise.
42490         * stdlib/bits/stdlib.h: Likewise.
42491         * stdlib/fmtmsg.h: Likewise.
42492         * stdlib/monetary.h: Likewise.
42493         * stdlib/stdlib.h: Likewise.
42494         * stdlib/ucontext.h: Likewise.
42495         * streams/stropts.h: Likewise.
42496         * string/argz.h: Likewise.
42497         * string/bits/string2.h: Likewise.
42498         * string/string.h: Likewise.
42499         * string/strings.h: Likewise.
42500         * sunrpc/rpc/auth.h: Likewise.
42501         * sunrpc/rpc/auth_des.h: Likewise.
42502         * sunrpc/rpc/clnt.h: Likewise.
42503         * sunrpc/rpc/netdb.h: Likewise.
42504         * sunrpc/rpc/pmap_clnt.h: Likewise.
42505         * sunrpc/rpc/xdr.h: Likewise.
42506         * sysdeps/generic/inttypes.h: Likewise.
42507         * sysdeps/generic/net/if.h: Likewise.
42508         * sysdeps/generic/sys/swap.h: Likewise.
42509         * sysdeps/gnu/net/if.h: Likewise.
42510         * sysdeps/gnu/utmpx.h: Likewise.
42511         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42512         * sysdeps/i386/i486/bits/string.h: Likewise.
42513         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42514         * sysdeps/s390/bits/string.h: Likewise.
42515         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42516         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42517         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42518         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42519         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42520         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42521         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42522         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42523         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42524         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42525         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42526         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42527         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42528         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42529         * sysdeps/unix/sysv/linux/readv.c: Likewise.
42530         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42531         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42532         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42533         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42534         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42535         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42536         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42537         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42538         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42539         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42540         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42541         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42542         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42543         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42544         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42545         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42546         * sysvipc/sys/ipc.h: Likewise.
42547         * sysvipc/sys/msg.h: Likewise.
42548         * sysvipc/sys/sem.h: Likewise.
42549         * sysvipc/sys/shm.h: Likewise.
42550         * termios/termios.h: Likewise.
42551         * time/sys/time.h: Likewise.
42552         * time/time.h: Likewise.
42553         * wcsmbs/bits/wchar2.h: Likewise.
42554         * wcsmbs/uchar.h: Likewise.
42555         * wcsmbs/wchar.h: Likewise.
42556         * wctype/wctype.h: Likewise.
42557
42558         [BZ #13551]
42559         * Makeconfig: Remove all but ELF support including AIX support.
42560         * Makerules: Likewise.
42561         * config.h.in: Likewise.
42562         * config.make.in: Likewise.
42563         * configure: Likewise.
42564         * configure.in: Likewise.
42565         * csu/Makefile: Likewise.
42566         * csu/version.c: Likewise.
42567         * debug/Makefile: Likewise.
42568         * dlfcn/Makefile: Likewise.
42569         * elf/Makefile: Likewise.
42570         * extra-lib.mk: Likewise.
42571         * iconv/Makefile: Likewise.
42572         * include/libc-symbols.h: Likewise.
42573         * include/shlib-compat.h: Likewise.
42574         * resolv/Makefile: Likewise.
42575         * resolv/res_libc.c: Likewise.
42576         * rt/Makefile: Likewise.
42577         * sysdeps/i386/asm-syntax.h: Likewise.
42578         * sysdeps/i386/sysdep.h: Likewise.
42579         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42580         * sysdeps/mach/sysdep.h: Likewise.
42581         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42582         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42583         * sysdeps/s390/asm-syntax.h: Likewise.
42584         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42585         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42586         * sysdeps/sh/sysdep.h: Likewise.
42587         * sysdeps/unix/sparc/sysdep.h: Likewise.
42588         * sysdeps/wordsize-32/divdi3.c: Likewise.
42589         * sysdeps/x86_64/sysdep.h: Likewise.
42590
42591         * argp/Versions: Remove _argp_unlock_xxx.
42592
42593         [BZ #13559]
42594         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
42595         * abilist/libBrokenLocale.abilist: Likewise.
42596         * abilist/libanl.abilist: Likewise.
42597         * abilist/libc.abilist: Likewise.
42598         * abilist/libcrypt.abilist: Likewise.
42599         * abilist/libdl.abilist: Likewise.
42600         * abilist/libm.abilist: Likewise.
42601         * abilist/libnsl.abilist: Likewise.
42602         * abilist/libpthread.abilist: Likewise.
42603         * abilist/libresolv.abilist: Likewise.
42604         * abilist/librt.abilist: Likewise.
42605         * abilist/libthread_db.abilist: Likewise.
42606         * abilist/libutil.abilist: Likewise.
42607         * abilist/libnss_db.abilist: New file.
42608
42609         * scripts/abilist.awk: Add support for indirect functions.
42610
42611         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42612
42613         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42614
42615         * shlib-versions: Remove entries for ports architectures.
42616
42617         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
42618         files in ports.
42619         * elf/stackguard-macros.h: Remove support for IA-64.
42620         * elf/tst-auditmod1.c: Likewise.
42621         * sysdeps/generic/ldsodefs.h: Likewise.
42622
42623         * sysdeps/unix/sysv/linux/configure.in: Ports should define
42624         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42625         configure files.
42626
42627         [BZ #13552]
42628         * configure.in: Remove --enable-omitfp support.
42629         * FAQ.in: Adjust.
42630         * config.make.in: Likewise.
42631         * Makeconfig: Likewise.
42632         * manual/install.texi: Likewise.
42633
42634         In case anyone cares, the IA-64 architecture could move to ports.
42635         * sysdeps/ia64/*: Removed.
42636         * sysdeps/unix/sysv/linux/ia64/*: Removed.
42637         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42638
42639         [BZ #13555]
42640         * configure.in: Remove entries for unsupported architectures.
42641
42642         [BZ #13533]
42643         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42644         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
42645         routines.
42646         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42647         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42648         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
42649         fall back to using wcrtomb.
42650         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42651         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
42652         renaming.
42653         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42654         * wcsmbs/tst-c16c32-1.c: New file.
42655
42656         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42657         local variable.
42658
42659         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42660
42661         * elf/tst-unique3.cc: Add explicit declaration of gets.
42662         * elf/tst-unique3lib.cc: Likewise.
42663         * elf/tst-unique3lib2.cc: Likewise.
42664         * elf/tst-unique4.cc: Likewise.
42665
42666         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42667
42668 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
42669
42670         [BZ #13566]
42671         * assert/assert.h (static_assert): Don't define for C++.
42672         * libio/stdio.h (gets): Do declare for C++ <= C++11.
42673         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42674
42675 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
42676
42677         * iconv/loop.c (single loop): Fix assertion in storing of
42678         remaining bytes.
42679
42680         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42681
42682 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
42683
42684         * posix/getconf.c: Update copyright year.
42685         * nss/getent.c: Likewise.
42686         * nss/makedb.c: Likewise.
42687         * iconv/iconvconfig.c: Likewise.
42688         * iconv/iconv_prog.c: Likewise.
42689         * elf/ldconfig.c: Likewise.
42690         * elf/pldd.c: Likewise.
42691         * elf/sotruss.ksh: Likewise.
42692         * catgets/gencat.c: Likewise.
42693         * csu/version.c: Likewise.
42694         * elf/ldd.bash.in: Likewise.
42695         * elf/sprof.c (print_version): Likewise.
42696         * locale/programs/locale.c: Likewise.
42697         * locale/programs/localedef.c: Likewise.
42698         * login/programs/pt_chown.c: Likewise.
42699         * nscd/nscd.c (print_version): Likewise.
42700         * debug/xtrace.sh: Likewise.
42701         * malloc/memusage.sh: Likewise.
42702         * malloc/mtrace.pl: Likewise.
42703         * debug/catchsegv.sh: Likewise.
42704
42705 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
42706
42707         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42708         pure attribute.
42709
42710 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
42711
42712         [BZ #13533]
42713         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42714         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42715         transformations.
42716         * iconv/gconv_int.h: Likewise.
42717         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42718         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42719         from libc for GLIBC_2.16.
42720         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42721         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42722         * wcsmbs/uchar.h: Really define mbstate_t.
42723         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42724         * wcsmbs/c16rtomb.c: New file.
42725         * wcsmbs/mbrtoc16.c: New file.
42726         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42727         for C/POSIX locale.
42728         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42729         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42730
42731         * wcsmbs/wchar.h: Add missing __restrict.
42732
42733 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
42734
42735         [BZ #13532]
42736         * time/Makefile (routines): Add timespec_get.
42737         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42738         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
42739         timespec for ISO C11.
42740         * time/timespec_get.c: New file.
42741         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42742         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42743
42744         [BZ #13531]
42745         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42746         * stdlib/stdlib.h: Declare aligned_alloc.
42747         * Versions.def: Add GLIBC_2.16 for libc.
42748         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42749
42750         [BZ 13527]
42751         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42752         ISO C11.
42753
42754         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
42755         code.
42756
42757         [BZ #13528]
42758         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42759
42760         [BZ #13529]
42761         * assert/assert.h (static_assert): Define.
42762
42763         * version.h: Update for 2.16 development version.
42764
42765         [BZ #13526]
42766         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42767         _ISOC11_SOURCE.
42768
42769         * version.h (RELEASE): Bump for 2.15 release.
42770         * include/features.h (__GLIBC_MINOR__): Bump to 15.
42771
42772         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42773         Patch by Marek Polacek <mpolacek@redhat.com>.
42774
42775         * bits/byteswap.h: Protect long long constants with __extension__.
42776         * sysdeps/i386/bits/byteswap.h: Likewise.
42777         * sysdeps/ia64/bits/byteswap.h: Likewise.
42778         * sysdeps/s390/bits/byteswap.h: Likewise.
42779         * sysdeps/x86_64/bits/byteswap.h: Likewise.
42780
42781 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42782
42783         [BZ #13540]
42784         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42785         destination buffer.
42786         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42787
42788 2011-12-23  Marek Polacek  <polacek@redhat.com>
42789
42790         * elf/dl-addr.c (determine_info): Add inline keyword.
42791         * elf/tst-auditmod4b.c (check_avx): Likewise.
42792         * elf/tst-auditmod6b.c (check_avx): Likewise.
42793         * elf/tst-auditmod6c.c (check_avx): Likewise.
42794         * elf/tst-auditmod7b.c (check_avx): Likewise.
42795
42796 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
42797
42798         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42799         !__SSE_MATH__.
42800
42801 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42802
42803         [BZ #13540]
42804         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42805         processing for last bytes.
42806
42807 2011-08-06  Bruno Haible  <bruno@clisp.org>
42808
42809         [BZ #13061]
42810         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42811         U+0385, not to U+1FEE.
42812
42813         [BZ #13062]
42814         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42815         entry for U+00A5 U+0301.
42816
42817 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
42818
42819         [BZ #13166]
42820         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42821         buffer for the output is too small.
42822
42823         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42824         optimization.
42825
42826         [BZ #13185]
42827         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42828         SSE flags if possible.
42829
42830 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42831
42832         [BZ #13540]
42833         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42834         processing for last bytes.
42835
42836 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
42837
42838         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42839         (syscall-list-default-options, syscall-list-default-condition)
42840         (syscall-list-includes): Define.
42841         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42842         list of ABIs and options and #if conditions for each ABI.  Do not
42843         handle common syscalls between ABIs specially.
42844         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42845         Remove.
42846         (syscall-list-variants, syscall-list-32bit-options)
42847         (syscall-list-32bit-condition, syscall-list-64bit-options)
42848         (syscall-list-64bit-condition): Define.
42849         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42850         (syscall-list-variants, syscall-list-32bit-options)
42851         (syscall-list-32bit-condition, syscall-list-64bit-options)
42852         (syscall-list-64bit-condition): Define.
42853         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42854         Remove.
42855         (syscall-list-variants, syscall-list-32bit-options)
42856         (syscall-list-32bit-condition, syscall-list-64bit-options)
42857         (syscall-list-64bit-condition): Define.
42858         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42859         Remove.
42860         (syscall-list-variants, syscall-list-32bit-options)
42861         (syscall-list-32bit-condition, syscall-list-64bit-options)
42862         (syscall-list-64bit-condition): Define.
42863
42864 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
42865
42866         * locale/iso-639.def: Add brx entry.
42867
42868         [BZ #13328]
42869         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42870         Proposed by Mariusz_Cukr <marcukr@op.pl>.
42871
42872         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42873         __feraiseexcept_renamed.
42874
42875 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
42876
42877         [BZ #13538]
42878         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42879         EPOLLET with unsigned values.
42880         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42881         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42882
42883         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42884         to large cancellation.
42885         * math/s_cacoshf.c: Likewise.
42886         * math/s_cacoshl.c: Likewise.
42887
42888 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
42889
42890         [BZ #13305]
42891         [BZ #12786]
42892         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42893         * math/s_cacoshf.c: Likewise.
42894         * math/s_cacoshl.c: Likewise.
42895
42896 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
42897
42898         [BZ #13439]
42899         * iconv/gconv.h: Define __GCONV_SWAP.
42900         * iconvdata/unicode.c: The swap bit must be stored in __flags.
42901         * iconvdata/utf-16.c: Likewise.
42902         * iconvdata/utf-32.c: Likewise.
42903
42904 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
42905
42906         [BZ #13524]
42907         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42908         numerator after shifting it by one limb.
42909
42910 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
42911
42912         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42913         under [__USE_EXTERN_INLINES].
42914
42915 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
42916
42917         [BZ #13446]
42918         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42919
42920 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42921
42922         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42923         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42924         optimized code.
42925         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42926         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42927         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42928         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42929         for strncasecmp/strncasecmp_l compilation.
42930         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42931         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42932
42933 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
42934
42935         [BZ #13484]
42936         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42937         of __asm__.
42938
42939 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
42940
42941         [BZ #13506]
42942         * time/tzfile.c (__tzfile_read): Check values from file header.
42943
42944 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
42945
42946         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42947         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42948         * powerpc/powerpc32/dl-start.S: Likewise.
42949         * powerpc/powerpc32/elf/start.S: Likewise.
42950         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42951         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42952         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42953         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42954         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42955         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42956         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42957         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42958         * powerpc/powerpc32/fpu/s_round.S: Likewise.
42959         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42960         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42961         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42962         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42963         * powerpc/powerpc32/memset.S: Likewise.
42964         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42965         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42966         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42967         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42968         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42969         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42970         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42971         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42972         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42973         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42974         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42975         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42976         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42977
42978 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42979
42980         * math/libm-test.inc: Added more nearbyint tests.
42981         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42982         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42983         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42984         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42985
42986 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
42987
42988         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42989         FD_CLOEXEC.
42990
42991 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42992
42993         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42994         Add wcscpy-ssse3 wcscpy-c.
42995         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42996         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42997         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42998         * sysdeps/x86_64/wcschr.S: New file.
42999         * sysdeps/x86_64/wcsrchr.S: New file.
43000         * string/test-strcmp.c: Remove checking of wcscmp function for
43001         wrong alignments.
43002         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43003         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43004         wcsrchr-sse2 wcsrchr-c.
43005         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43006         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43007         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43008         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43009         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43010         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43011         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43012         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43013         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43014         * wcsmbc/wcschr.c (WCSCHR): New macro.
43015
43016 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43017
43018         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43019         * wcsmbs/test-wcsrchr.c: New file.
43020         * string/test-strrchr.c: Add wcsrchr support.
43021         (WIDE): New macro.
43022         * wcsmbs/test-wcscpy.c: New file.
43023         * string/test-strcpy.c: Add wcscpy support.
43024         (WIDE): New macro.
43025
43026 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
43027
43028         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43029         the inner loop.
43030
43031 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
43032
43033         [BZ #13472]
43034         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43035
43036 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
43037
43038         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43039         Minor optimizations.
43040
43041         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43042         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43043         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43044
43045 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
43046
43047         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43048         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43049         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43050         for gcc to avoid warnings.
43051         * inet/Makefile (tests): Add tst-checks.
43052         * inet/tst-checks.c: New file.
43053
43054         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43055         warning.
43056
43057         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43058         __wmemcmp_sse2.
43059
43060         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43061         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43062
43063         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43064
43065 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
43066
43067         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43068         problem.
43069
43070         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43071
43072 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
43073
43074         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43075         conditional on GCC version.
43076         (__arch_compare_and_exchange_val_8_acq)
43077         (__arch_compare_and_exchange_val_16_acq)
43078         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43079         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43080         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43081
43082 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
43083
43084         * sysdeps/sh/backtrace.c: New file.
43085
43086 2011-12-02  Andreas Schwab  <schwab@redhat.com>
43087
43088         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
43089         parenthesis.
43090
43091 2011-12-01  Andreas Schwab  <schwab@redhat.com>
43092
43093         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43094         falling back to utime.
43095
43096 2011-11-30  Andreas Schwab  <schwab@redhat.com>
43097
43098         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43099         expectations for float.
43100
43101 2011-11-29  Andreas Schwab  <schwab@redhat.com>
43102
43103         * locale/weight.h (findidx): Add parameter len.
43104         * locale/weightwc.h (findidx): Likewise.
43105         * posix/fnmatch_loop.c (FCT): Adjust caller.
43106         * posix/regcomp.c (build_equiv_class): Likewise.
43107         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43108         * posix/regexec.c (check_node_accept_bytes): Likewise.
43109         * string/strcoll_l.c (STRCOLL): Likewise.
43110         * string/strxfrm_l.c (STRXFRM): Likewise.
43111
43112 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
43113
43114         * Makefile.in: Remove CVSOPT handling.
43115         * configure.in: Remove use of AC_REVISION.
43116         * iconvdata/Makefile (distribute): No need to filter out CVS.
43117         * scripts/list-sources.sh: Remove CVS, subversion and monotone
43118         handling.
43119
43120 2011-11-16  Andreas Schwab  <schwab@redhat.com>
43121
43122         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43123         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43124         [USE_AS_STRNCASECMP_L]: Likewise.
43125         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43126         NO_TLS_DIRECT_SEG_REFS.
43127         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43128         Fix argument offsets for non-PIC.
43129         [USE_AS_STRNCASECMP_L]: Likewise.
43130         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43131         NO_TLS_DIRECT_SEG_REFS.
43132
43133 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43134
43135         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43136         O_CLOEXEC.
43137         * locale/loadlocale.c (_nl_load_locale): Likewise.
43138
43139 2011-11-15  Andreas Schwab  <schwab@redhat.com>
43140
43141         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43142         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43143         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43144         (SYSCALL_GETTIME): Set errno on error.
43145
43146         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43147         count references to noai6ai_cached.
43148
43149 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43150
43151         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43152
43153         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43154         FD_CLOEXEC for /proc/self/maps.
43155
43156         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43157         FD_CLOEXEC for /proc/meminfo.
43158
43159         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43160         gai.conf.
43161
43162         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
43163         FD_CLOEXEC for given file.
43164
43165         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43166
43167         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43168         FD_CLOEXEC for /etc/hosts.
43169         (_gethtent): Likewise.
43170
43171         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43172
43173         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43174         cancellation and set FD_CLOEXEC for /etc/netgroup.
43175
43176         * nss/nss_files/files-key.c (search): Don't allow cancellation when
43177         reading /etc/publickey.
43178
43179         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43180         allow cancellation when reading /etc/group.
43181
43182         * nss/nss_files/files-alias.c (internal_setent): Don't allow
43183         cancellation.
43184         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
43185
43186         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43187         when using data file.
43188
43189         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43190
43191         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43192         (write_nis_obj): Use "c" and "e" in fopen.
43193
43194         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43195
43196         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43197
43198         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43199
43200         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43201
43202         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43203         locale.alias.
43204
43205         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43206
43207         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43208
43209         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43210
43211         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43212         file parsing and set FD_CLOEXEC.
43213
43214 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43215
43216         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43217
43218 2011-11-14  Andreas Schwab  <schwab@redhat.com>
43219
43220         * malloc/arena.c (arena_get2): Don't call reused_arena when
43221         _int_new_arena failed.
43222
43223 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43224
43225         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43226         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43227         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43228         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43229         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43230         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43231         to compile strcasecmp and strncasecmp.
43232         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43233         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43234
43235         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43236
43237 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
43238
43239         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43240         locale-defines.sym to gen-as-const-headers.
43241         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43242         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43243         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43244         to compile strcasecmp and strncasecmp.
43245         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43246         strcasecmp_l and strncasecmp_l.
43247         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43248         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43249         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43250         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43251         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43252         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43253         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43254         * sysdeps/i386/i686/multiarch/strncase.S: New file.
43255         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43256         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43257         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43258
43259 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
43260
43261         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43262         result of SYSDEP_GETTIME_CPU to retval.
43263         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43264         parameter list to macro.  Remove trailing semicolon.  Adjust users.
43265
43266         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43267         variable.
43268
43269         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43270         mantissa words.
43271         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43272
43273         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43274         from unused variable.
43275
43276         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43277         DWARF definitions.
43278         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43279         for assembling.
43280
43281         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43282         over namespaces.
43283
43284         * sunrpc/rpc_prot.c (rejected): Fix case value.
43285
43286         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43287         unsigned long long int to avoid warnings in shift.
43288
43289         * posix/regex_internal.c (re_string_reconstruct): Actually use result
43290         of use of trans.
43291         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43292         variable tmp.
43293
43294         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43295         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43296         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43297
43298         * nis/nis_table.c (nis_list): Use variable of correct type for
43299         result of __follow_path call.
43300
43301 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43302
43303         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43304         of math functions ceil, trunc, floor, round, and sqrt, when
43305         avaliable on the platform.
43306         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43307         name clash.
43308         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43309         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43310         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43311
43312 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
43313
43314         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43315         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43316
43317 2011-11-11  Roland McGrath  <roland@hack.frob.com>
43318
43319         * include/unistd.h: Fix __readlink return type.
43320         Reported by Chris Metcalf <cmetcalf@tilera.com>.
43321
43322 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
43323
43324         * stdlib/ucontext.h: Undo last change for makecontext.
43325
43326 2011-11-11  Andreas Schwab  <schwab@redhat.com>
43327
43328         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43329
43330         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43331         * setjmp/setjmp.h: Mark functions as non-leaf.
43332         * setjmp/bits/setjmp2.h: Likewise.
43333         * stdlib/ucontext.h: Likewise.
43334
43335 2011-11-10  Andreas Schwab  <schwab@redhat.com>
43336
43337         * malloc/arena.c (_int_new_arena): Don't increment narenas.
43338         (reused_arena): Don't check arena limit.
43339         (arena_get2): Atomically check arena limit.
43340
43341 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
43342
43343         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43344         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43345
43346         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43347         instructions.
43348
43349 2011-11-07  Andreas Schwab  <schwab@redhat.com>
43350
43351         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43352         handler when locking.
43353
43354         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43355         Fix size of allocated buffer.
43356
43357 2011-11-04  Andreas Schwab  <schwab@redhat.com>
43358
43359         [BZ #10103]
43360         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43361         declarations for long double functions.
43362         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43363
43364         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43365
43366 2011-11-03  Andreas Schwab  <schwab@redhat.com>
43367
43368         * nscd/nscd.c (main): Don't start AVC thread until credentials are
43369         installed.
43370
43371         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43372         is disabled.
43373
43374 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43375
43376         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43377
43378 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43379
43380         * include/alloca.h (stackinfo_alloca_round): Define.
43381         (extend_alloca): Use it.
43382         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43383         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43384         here.
43385
43386         * scripts/check-local-headers.sh: Ignore libaudit.h.
43387
43388         * nscd/Makefile (extra-objs): Make recursively expanded.
43389
43390 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
43391
43392         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43393         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43394
43395         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43396         * posix/tst-rfc3484-2.c: Likewise.
43397         * posix/tst-rfc3484-3.c: Likewise.
43398
43399         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43400         process_vm_writev.
43401         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43402         process_vm_writev.
43403         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43404         process_vm_writev from libc using GLIBC_2.15 version.
43405
43406         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43407
43408 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
43409
43410         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43411         stack usage.
43412
43413 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
43414
43415         [BZ #13367]
43416         * nss/getent.c (initgroups_keys): Show error message in case no group
43417         names are given.
43418
43419         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43420         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43421         __bump_nl_timestamp.
43422         * nscd/connections (nscd_init): When host database is served open
43423         netlink socket and request notification about configuration changes.
43424         (main_loop_poll): Track netlink file descriptor and bump timestamp
43425         in case data becomes available.
43426         (main_loop_epoll): Likewise.
43427         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43428         (database_pers_head): Add extra_data fileds.
43429         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43430         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43431         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43432         Adjust caller.
43433         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43434         in6ai data, call __free_in6ai.
43435         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43436         Add -DHAVE_NETLINK.
43437         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
43438         interface information.  Reuse previous data if netlink timestamp
43439         is not changed.
43440         (__bump_nl_timestamp): New function.
43441         (__free_in6ai): New function.
43442
43443 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
43444
43445         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43446         close_not_cancel_no_status here.
43447         (__check_pf): Reorganize code a bit to not call close twice if OOM.
43448
43449 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
43450
43451         [BZ #13276]
43452         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43453         return value.
43454
43455         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43456         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43457         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43458
43459 2011-07-03  Andreas Jaeger  <aj@suse.de>
43460
43461         [BZ #10709]
43462         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43463         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43464         * math/libm-test.inc (sin_test): Add test case.
43465
43466 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
43467
43468         [BZ #13337]
43469         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43470         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43471
43472         * elf/chroot_canon.c (chroot_canon): Cleanups.
43473
43474         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43475
43476         [BZ #13335]
43477         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43478         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43479
43480         * string/test-strchr.c: Make usable for strchrnul testing.
43481         * string/test-strchrnul.c: New file.
43482         * string/Makefile (strop-tests): Add strchrnul.
43483
43484         * po/it.po: Update from translation team.
43485         * po/es.po: Likewise.
43486
43487 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
43488
43489         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43490         the three constants needed as parameters.  Drop the others.
43491         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43492         __m128i_strloadu_tolower.
43493         Create and initialize variable zero and use it in all the places
43494         where _mm_setzero_si128 was used.
43495
43496         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43497         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43498         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43499         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43500         anymore.
43501         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43502         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43503         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43504         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43505         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43506         __mpranred, __mptan.
43507         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43508         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43509         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43510         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43511         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43512         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43513         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43514         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43515         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43516
43517 2011-10-28  Andreas Schwab  <schwab@redhat.com>
43518
43519         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43520         redefine if SHARED.
43521         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43522
43523         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43524         wide char related routines to wcsmbs subdir.
43525
43526 2011-10-27  Andreas Schwab  <schwab@redhat.com>
43527
43528         [BZ #13344]
43529         * misc/sys/cdefs.h (__THROWNL): Define.
43530         * posix/unistd.h: Use __THREADNL instead of __THREAD
43531         for memory synchronization functions.
43532
43533 2011-10-26  Roland McGrath  <roland@hack.frob.com>
43534
43535         [BZ #13349]
43536         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43537         doesn't exist.
43538         * manual/stdio.texi (Obstack Streams): Node removed.
43539
43540 2011-10-26  Andreas Schwab  <schwab@redhat.com>
43541
43542         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43543         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43544         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43545
43546         * math/math_private.h (math_force_eval): Allow non-addressable
43547         arguments.
43548         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43549
43550 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43551
43552         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43553         file is not needed.
43554
43555         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43556         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43557         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43558         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43559         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43560         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43561         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43562         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43563         Add AVX variants.
43564         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43565         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43566         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43567         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43568         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43569         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43570         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43571         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43572         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43573         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43574         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43575         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43576         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43577         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43578         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43579         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43580         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43581         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43582         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43583
43584         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43585         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
43586
43587         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43588         place.  Use VEX encoding when compiling for AVX.
43589
43590 2011-10-25  Andreas Schwab  <schwab@redhat.com>
43591
43592         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43593         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43594
43595         * string/test-strchr.c (do_test): Don't generate NUL bytes.
43596
43597 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43598
43599         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43600         useless if() expression.
43601         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43602         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43603         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43604         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43605         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43606         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43607         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43608         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43609         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43610         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43611         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43612         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43613         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43614         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43615         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43616         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43617         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43618         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43619         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43620
43621         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43622
43623 2011-10-25  Andreas Schwab  <schwab@redhat.com>
43624
43625         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43626         condition.
43627         * elf/dl-fini.c (_dl_sort_fini): Likewise.
43628
43629 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43630
43631         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43632         .text section.  Avoid duplicate constants.
43633         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43634         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43635         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43636         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43637         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43638         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43639         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43640         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43641         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43642         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43643         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43644         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43645         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43646         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43647         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43648         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43649         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43650         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43651         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43652         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43653         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43654         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43655         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43656         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43657         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43658         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43659         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43660         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43661         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43662         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43663         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43664         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43665         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43666         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43667         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43668         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43669         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43670         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43671         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43672         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43673         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43674         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43675         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43676         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43677         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43678
43679 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
43680
43681         * sysdeps/x86_64/dla.h: Move to ...
43682         * sysdeps/x86_64/fpu/dla.h: ...here.
43683         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43684         situations.  Use __builtin_fma only for gcc 4.6 and up.
43685
43686         * config.make.in: Add have-mfma4 entry.
43687         * configure.in: Substitute libc_cv_cc_fma4.
43688         * math/Makefile (dbl-only-routines): Add sincostab.
43689         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43690         Use __sincostab not sincos.
43691         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43692         name is a macro.
43693         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43694         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43695         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43696         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
43697         using __copysign.
43698         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
43699         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
43700         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43701         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43702         and __inv.
43703         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43704         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43705         __copysign.
43706         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
43707         define aliases when function name is a macro.
43708         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43709         sysdeps/ieee754/dbl-64/sincos.tbl.
43710         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43711         fma4-enabled routines.
43712         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43713         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43714         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43715         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43716         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43717         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43718         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43719         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43720         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43721         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43722         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43723         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43724         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43725         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43726         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43727         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43728         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43729         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43730         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43731         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43732         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43733         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43734         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43735         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43736         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43737         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43738         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43739         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43740         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43741         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43742
43743         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43744         rename.
43745         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43746         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43747         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43748         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43749         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43750         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43751         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43752         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43753
43754 2011-10-24  Andreas Schwab  <schwab@redhat.com>
43755
43756         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43757
43758 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
43759
43760         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43761
43762         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43763         prediction.
43764         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43765
43766         * string/strnlen.c: Don't define STRNLEN, reverse logic.
43767         Remove unused variable magic_bits.
43768         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43769
43770         * string/strnlen.c: Define and use STRNLEN macro.
43771         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43772         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43773         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43774         * wcsmbs/wcslen.c: Define and use WCSLEN.
43775         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43776         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43777         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43778         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43779         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43780         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43781         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43782
43783 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43784
43785         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43786         strnlen-sse2-no-bsf.
43787         Rename strlen-no-bsf to strlen-sse2-no-bsf.
43788         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43789         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43790         Add strnlen support.
43791         (USE_AS_STRNLEN): New macro.
43792         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43793         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43794         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43795         * sysdeps/x86_64/wcslen.S: New file.
43796
43797 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
43798
43799         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43800         XMM-moves are used for copying on small sizes.
43801
43802 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43803
43804         * wcsmbs/Makefile (strop-tests): Add wcschr.
43805         * wcsmbs/test-wcschr.c: New file.
43806         * string/test-strchr.c: Update.
43807         Add wcschr support.
43808         (WIDE): New macro.
43809
43810 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43811
43812         * wcsmbs/Makefile (strop-tests): Add wcslen.
43813         * wcsmbs/test-wcslen.c: New file.
43814         * string/test-strlen.c: Update.
43815         Add wcslen support.
43816         (WIDE): New macro.
43817
43818 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
43819
43820         * po/it.po: Update from translation team.
43821
43822 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43823
43824         * sysdeps/x86_64/wcscmp.S: Update.
43825         Fix wrong comparison semantics.
43826         wcscmp shall use signed comparison not unsigned.
43827         Don't use substraction to avoid overflow bug.
43828         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43829         * wcsmbc/wcscmp.c: Likewise.
43830         * string/test-strcmp.c: Likewise.
43831         Add new tests to check cases with negative values.
43832
43833 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
43834
43835         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43836         * sysdeps/x86_64/dla.h: ...here.  New file.
43837         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43838         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43839         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43840         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43841         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43842         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43843         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43844         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43845         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43846
43847 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
43848
43849         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43850         __ynl_finite aliases.
43851
43852 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
43853
43854         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43855
43856         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43857         define DLA_FMA.
43858         [DLA_FMA] (EMULV): Use DLA_FMA.
43859         [DLA_FMA] (MUL12): Use EMULV.
43860         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43861         that are not needed.
43862         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43863         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43864         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43865         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43866         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43867         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43868         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43869
43870 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
43871
43872         * math/s_nan.c: Undef __nan.
43873         * math/s_nanf.c: Undef __nanf.
43874         * math/s_nanl.c: Undef __nanl.
43875         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43876         "math_private.h".
43877
43878 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
43879
43880         * math/s_catan.c: Add branch predictions.
43881         * math/s_catanf.c: Likewise.
43882         * math/s_catanh.c: Likewise.
43883         * math/s_catanhf.c: Likewise.
43884         * math/s_catanhl.c: Likewise.
43885         * math/s_catanl.c: Likewise.
43886         * math/s_cexp.c: Likewise.
43887         * math/s_cexpf.c: Likewise.
43888         * math/s_cexpl.c: Likewise.
43889         * math/s_clog.c: Likewise.
43890         * math/s_clog10.c: Likewise.
43891         * math/s_clog10f.c: Likewise.
43892         * math/s_clog10l.c: Likewise.
43893         * math/s_clogf.c: Likewise.
43894         * math/s_clogl.c: Likewise.
43895         * math/s_csqrt.c: Likewise.
43896         * math/s_csqrtf.c: Likewise.
43897         * math/s_csqrtl.c: Likewise.
43898         * math/s_ctanf.c: Likewise.
43899         * math/s_ctanh.c: Likewise.
43900         * math/s_ctanhf.c: Likewise.
43901         * math/s_ctanhl.c: Likewise.
43902         * math/s_ctanl.c: Likewise.
43903
43904         * math/math_private.h: Define __nan, __nanf, __nanl.
43905         * math/s_cacosh.c: Include <math_private.h>.
43906         * math/s_cacoshl.c: Likewise.
43907         * math/s_casinh.c: Likewise.
43908         * math/s_casinhf.c: Likewise.
43909         * math/s_casinhl.c: Likewise.
43910         * math/s_ccos.c: Rely entire on ccosh.
43911         * math/s_ccosf.c: Rely entire on ccoshf.
43912         * math/s_ccosl.c: Rely entirely on ccoshl.
43913         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
43914         Remove tests for FE_INVALID.
43915         * math/s_ccoshf.c: Likewise.
43916         * math/s_ccoshl.c: Likewise.
43917         * math/s_csin.c: Likewise.
43918         * math/s_csinf.c: Likewise.
43919         * math/s_csinh.c Likewise.
43920         * math/s_csinhf.c: Likewise.
43921         * math/s_csinhl.c: Likewise.
43922         * math/s_csinl.c: Likewise.
43923         * math/s_ctan.c: Likewise.
43924         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43925         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43926         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43927
43928 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
43929
43930         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43931         compilation problems.
43932
43933         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43934         __builtin_expect.
43935
43936 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
43937
43938         * sysdeps/i386/configure.in: Test for -mfma4 option.
43939         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43940         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43941         COMMON_CPUID_INDEX_80000001.
43942         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43943         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43944         use it if FMA3 is not supported.
43945         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43946
43947         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43948         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43949
43950 2011-10-20  Andreas Schwab  <schwab@redhat.com>
43951
43952         [BZ #12892]
43953         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43954         it would create a cycle with a link time dependency.
43955
43956 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
43957
43958         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43959         instruction.
43960         * string/Makefile (strop-tests): Add rawmemchr.
43961         * string/test-rawmemchr.c: New file.
43962
43963         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43964         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
43965         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
43966         when compiling str{,n}casecmp and when AVX is available.  Hook up
43967         new optimized code in initializers.
43968
43969 2011-10-19  Andreas Schwab  <schwab@redhat.com>
43970
43971         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43972         __feraiseexcept instead of feraiseexcept.
43973
43974 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
43975
43976         * math/math_private.h: Define defaults for libc_fetestexcept and
43977         libc_feupdateenv.
43978         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43979         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43980         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43981         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43982         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43983         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43984         libc_fetestexcept and libc_feupdateenv.
43985
43986         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43987         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43988         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43989         * sysdeps/x86_64/fpu/math_private.h: Define special version of
43990         libc_feholdexcept_setround.
43991
43992         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43993         Add s_nearbyint-c and s_nearbyintf-c.
43994         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43995         nearbyintf inlines.
43996         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43997         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43998         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43999         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44000
44001         * math/math_private.h: Define defaults for libc_fegetround,
44002         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44003         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44004         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44005         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44006         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44007         standard functions.
44008         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44009         Remove comments and hacks for old compiler versions.
44010         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44011         libc_fegetround, libc_fesetround, libc_feholdexcept, and
44012         libc_feholdexceptl.
44013
44014 2011-10-18  Andreas Schwab  <schwab@redhat.com>
44015
44016         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44017         (__feraiseexcept_renamed): Add __NTH.
44018         (feraiseexcept): Add __NTH.  Rename local variables to fix
44019         namespace violations.
44020
44021 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
44022
44023         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44024
44025         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44026
44027         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44028         recently added interfaces.
44029         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44030
44031         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44032         about macro parameter expansion.
44033
44034         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44035         __NO_MATH_INLINES is defined.  Cleanups.
44036
44037         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44038         and __floorf is target has SSE4.1.
44039         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44040         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44041         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44042         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44043
44044         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44045         name.
44046         (floorf): Likewise.
44047
44048         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44049
44050 2011-10-17  Andreas Schwab  <schwab@redhat.com>
44051
44052         * misc/sys/cdefs.h: Fix last change.
44053
44054         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44055         database lookup.
44056
44057 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
44058
44059         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44060
44061         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44062         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44063         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44064         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44065         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44066         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44067         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44068         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44069         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44070         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44071         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44072         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44073         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44074         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44075         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44076         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44077         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44078         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44079         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44080         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44081         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44082         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44083
44084         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44085         ceil, ceilf, floor, floorf.
44086
44087         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44088         Perform IRELATIVE relocations last.
44089
44090         * elf/do-rel.h: Add another parameter nrelative, replacing the
44091         local variable with the same name.  Change name of the function
44092         to end in Rel or Rela (uppercase).
44093         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44094         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
44095         elf_dynamic_do_##reloc function.
44096
44097 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44098
44099         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44100         is sufficient, at least on modern CPUs.
44101
44102         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44103
44104         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44105         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44106
44107         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44108         __expl_finite.
44109         * math/bits/math-finite.h: Add entries for exp.
44110         * math/e_expl.c: Add __*_finite alias.
44111         * sysdeps/i386/fpu/e_exp.S: Likewise.
44112         * sysdeps/i386/fpu/e_expf.S: Likewise.
44113         * sysdeps/i386/fpu/e_expl.c: Likewise.
44114         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44115         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44116         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44117         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44118         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44119         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44120         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44121
44122         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44123         is sufficient, at least on modern CPUs.
44124
44125         * ctype/ctype-info.c (__ctype_init): Define.
44126         * include/ctype.h (__ctype_init): Declare.
44127         (__ctype_b_loc): The variable is always initialized.
44128         (__ctype_toupper_loc): Likewise.
44129         (__ctype_tolower_loc): Likewise.
44130         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44131         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44132
44133 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
44134
44135         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44136
44137         * configure.in: Also look in $cxxmachine/include for C++ system
44138         headers.
44139
44140 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44141
44142         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44143         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44144         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44145         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
44146         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44147         (USE_AS_WMEMCMP): New macro.
44148         Fixing indents.
44149         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44150         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44151         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44152         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44153         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44154         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44155         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44156         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44157         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44158         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44159         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44160         (USE_AS_WMEMCMP): New macro.
44161         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44162         * sysdeps/string/test-memcmp.c: Update.
44163         Fix simple_wmemcmp.
44164         Add new tests.
44165         * wcsmbs/wmemcmp.c: Update.
44166         (WMEMCMP): New macro.
44167         Fix overflow bug.
44168
44169 2011-10-12  Andreas Jaeger  <aj@suse.de>
44170
44171         [BZ #13268]
44172         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44173
44174 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44175
44176         * libio/iofwide.c (do_length): Avoid warning.
44177
44178         * ctype/ctype.h (__isctype_f): Add missing __THROW.
44179
44180 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
44181
44182         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44183
44184         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44185         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44186         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44187         * sysdeps/i386/i686/fpu/e_log.S: New file.
44188         * sysdeps/i386/i686/fpu/e_logf.S: New file.
44189         * sysdeps/i386/i686/fpu/e_logl.S: New file.
44190
44191         * ctype/ctype.h: Add support for inlined isXXX functions when
44192         compiling C++ code.
44193
44194 2011-10-14  Andreas Schwab  <schwab@redhat.com>
44195
44196         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44197
44198         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44199
44200 2011-10-13  Roland McGrath  <roland@hack.frob.com>
44201
44202         [BZ #13291]
44203         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44204
44205 2011-10-13  Andreas Schwab  <schwab@redhat.com>
44206
44207         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44208         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44209         feraiseexcept.
44210
44211         * sysdeps/x86_64/memrchr.S: Check for zero size.
44212
44213         * string/stratcliff.c: Add memrchr tests.
44214
44215 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44216
44217         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44218         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44219         rawmemchr-sse2 rawmemchr-sse2-bsf.
44220         * sysdeps/i386/i686/multiarch/memchr.S: New file.
44221         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44222         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44223         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44224         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44225         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44226         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44227         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44228         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44229         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44230         * string/memrchr.c (MEMRCHR): New macro.
44231
44232 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
44233
44234         Add integration with gcc's -ffinite-math-only and optimize wrapper
44235         functions in libm.
44236         * Versions.def: Define GLIBC_2.15 version for libm.
44237         * math/Makefile (headers): Add bits/math-finite.h.
44238         * math/bits/math-finite.h: New file.
44239         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44240         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44241         * math/e_acoshl.c: Add __*_finite alias.
44242         * math/e_acosl.c: Likewise.
44243         * math/e_asinl.c: Likewise.
44244         * math/e_atan2l.c: Likewise.
44245         * math/e_atanhl.c: Likewise.
44246         * math/e_coshl.c: Likewise.
44247         * math/e_exp10.c: Likewise.
44248         * math/e_exp10f.c: Likewise.
44249         * math/e_exp10l.c: Likewise.
44250         * math/e_exp2l.c: Likewise.
44251         * math/e_fmodl.c: Likewise.
44252         * math/e_gammal_r.c: Likewise.
44253         * math/e_hypotl.c: Likewise.
44254         * math/e_j0l.c: Likewise.
44255         * math/e_j1l.c: Likewise.
44256         * math/e_jnl.c: Likewise.
44257         * math/e_lgammal_r.c: Likewise.
44258         * math/e_log10l.c: Likewise.
44259         * math/e_log2l.c: Likewise.
44260         * math/e_logl.c: Likewise.
44261         * math/e_powl.c: Likewise.
44262         * math/e_sinhl.c: Likewise.
44263         * math/e_sqrtl.c: Likewise.
44264         * math/e_scalb.c: Completely rewritten and optimized.
44265         * math/e_scalbf.c: Likewise.
44266         * math/e_scalbl.c: Likewise.
44267         * math/w_acos.c: Likewise.
44268         * math/w_acosf.c: Likewise.
44269         * math/w_acosl.c: Likewise.
44270         * math/w_acosh.c: Likewise.
44271         * math/w_acoshf.c: Likewise.
44272         * math/w_acoshl.c: Likewise.
44273         * math/w_asin.c: Likewise.
44274         * math/w_asinf.c: Likewise.
44275         * math/w_asinl.c: Likewise.
44276         * math/w_atan2.c: Likewise.
44277         * math/w_atan2f.c: Likewise.
44278         * math/w_atan2l.c: Likewise.
44279         * math/w_atanh.c: Likewise.
44280         * math/w_atanhf.c: Likewise.
44281         * math/w_atanhl.c: Likewise.
44282         * math/w_exp10.c: Likewise.
44283         * math/w_exp10f.c: Likewise.
44284         * math/w_exp10l.c: Likewise.
44285         * math/w_fmod.c: Likewise.
44286         * math/w_fmodf.c: Likewise.
44287         * math/w_fmodl.c: Likewise.
44288         * math/w_j0.c: Likewise.
44289         * math/w_j0f.c: Likewise.
44290         * math/w_j0l.c: Likewise.
44291         * math/w_j1.c: Likewise.
44292         * math/w_j1f.c: Likewise.
44293         * math/w_j1l.c: Likewise.
44294         * math/w_jn.c: Likewise.
44295         * math/w_jnf.c: Likewise.
44296         * math/w_log.c: Likewise.
44297         * math/w_logf.c: Likewise.
44298         * math/w_logl.c: Likewise.
44299         * math/w_log10.c: Likewise.
44300         * math/w_log10f.c: Likewise.
44301         * math/w_log10l.c: Likewise.
44302         * math/w_log2.c: Likewise.
44303         * math/w_log2f.c: Likewise.
44304         * math/w_log2l.c: Likewise.
44305         * math/w_pow.c: Likewise.
44306         * math/w_powf.c: Likewise.
44307         * math/w_powl.c: Likewise.
44308         * math/w_remainder.c: Likewise.
44309         * math/w_remainderf.c: Likewise.
44310         * math/w_remainderl.c: Likewise.
44311         * math/w_scalb.c: Likewise.
44312         * math/w_scalbf.c: Likewise.
44313         * math/w_scalbl.c: Likewise.
44314         * math/w_sqrt.c: Likewise.
44315         * math/w_sqrtf.c: Likewise.
44316         * math/w_sqrtl.c: Likewise.
44317         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44318         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
44319         used.
44320         * math/math_private.h: Declare __kernel_standard_f.
44321         * math/w_cosh.c: Remove cruft and optimize a bit.
44322         * math/w_coshf.c: Likewise.
44323         * math/w_coshl.c: Likewise.
44324         * math/w_exp2.c: Likewise.
44325         * math/w_exp2f.c: Likewise.
44326         * math/w_exp2l.c: Likewise.
44327         * math/w_hypot.c: Likewise.
44328         * math/w_hypotf.c: Likewise.
44329         * math/w_hypotl.c: Likewise.
44330         * math/w_lgamma.c: Likewise.
44331         * math/w_lgamma_r.c: Likewise.
44332         * math/w_lgammaf.c: Likewise.
44333         * math/w_lgammaf_r.c: Likewise.
44334         * math/w_lgammal.c: Likewise.
44335         * math/w_lgammal_r.c: Likewise.
44336         * math/w_sinh.c: Likewise.
44337         * math/w_sinhf.c: Likewise.
44338         * math/w_sinhl.c: Likewise.
44339         * math/w_tgamma.c: Likewise.
44340         * math/w_tgammaf.c: Likewise.
44341         * math/w_tgammal.c: Likewise.
44342         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44343         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44344         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44345         Minor optimizations.  Pretty printing.  Remove cruft.
44346         * sysdeps/i386/fpu/e_acosf.S: Likewise.
44347         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44348         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44349         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44350         * sysdeps/i386/fpu/e_acosl.c: Likewise.
44351         * sysdeps/i386/fpu/e_asin.S: Likewise.
44352         * sysdeps/i386/fpu/e_asinf.S: Likewise.
44353         * sysdeps/i386/fpu/e_atan2.S: Likewise.
44354         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44355         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44356         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44357         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44358         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44359         * sysdeps/i386/fpu/e_exp10.S: Likewise.
44360         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44361         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44362         * sysdeps/i386/fpu/e_exp2.S: Likewise.
44363         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44364         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44365         * sysdeps/i386/fpu/e_fmod.S: Likewise.
44366         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44367         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44368         * sysdeps/i386/fpu/e_hypot.S: Likewise.
44369         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44370         * sysdeps/i386/fpu/e_log.S: Likewise.
44371         * sysdeps/i386/fpu/e_log10.S: Likewise.
44372         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44373         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44374         * sysdeps/i386/fpu/e_log2.S: Likewise.
44375         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44376         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44377         * sysdeps/i386/fpu/e_logf.S: Likewise.
44378         * sysdeps/i386/fpu/e_logl.S: Likewise.
44379         * sysdeps/i386/fpu/e_pow.S: Likewise.
44380         * sysdeps/i386/fpu/e_powf.S: Likewise.
44381         * sysdeps/i386/fpu/e_powl.S: Likewise.
44382         * sysdeps/i386/fpu/e_remainder.S: Likewise.
44383         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44384         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44385         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44386         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44387         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44388         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44389         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44390         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44391         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44392         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44393         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44394         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44395         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44396         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44397         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44398         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44399         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44400         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44401         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44402         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44403         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44404         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44405         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44406         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44407         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44408         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44409         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44410         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44411         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44412         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44413         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44414         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44415         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44416         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44417         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44418         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44419         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44420         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44421         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44422         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44423         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44424         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44425         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44426         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44427         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44428         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44429         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44430         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44431         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44432         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44433         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44434         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44435         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44436         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44437         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44438         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44439         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44440         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44441         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44442         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44443         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44444         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44445         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44446         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44447         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44448         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44449         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44450         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44451         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44452         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44453         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44454         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44455         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44456         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44457         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44458         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44459         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44460         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44461         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44462         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44463         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44464         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44465         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44466         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44467         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44468         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44469         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44470         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44471         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44472         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44473         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44474         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44475         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44476         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44477         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44478         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44479         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44480         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44481         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44482         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44483         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44484         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44485         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44486         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44487         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44488         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44489         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44490         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44491         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44492         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44493         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44494         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44495         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44496         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44497         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44498         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44499         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44500         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44501         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
44502         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44503         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44504         (__isnanf): Likewise.
44505         (__isinf_ns): Likewise.
44506         (__isinf_nsf): Likewise.
44507         (__finite): Likewise.
44508         (__finitef): Likewise.
44509         (__ieee754_sqrt): Define as macro.
44510         (__ieee754_sqrtf): Define as macro.
44511         (__ieee754_sqrtl): Define as macro.
44512         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44513         inlined copy.
44514         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44515         __FINITE_MATH_ONLY__ consistent.
44516         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44517
44518 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
44519
44520         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44521         of rawmemchr.
44522
44523         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44524
44525 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
44526
44527         * po/ja.po: Update from translation team.
44528
44529 2011-10-08  Roland McGrath  <roland@hack.frob.com>
44530
44531         * locale/programs/locarchive.c (prepare_address_space): New function.
44532         (create_archive, enlarge_archive, open_archive): Use it.
44533
44534         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44535         inside [SHARED], where it is used.
44536
44537         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44538
44539         * nss/getent.c (netgroup_keys): Remove unused variable.
44540         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44541
44542 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
44543
44544         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44545         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44546         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44547         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44548         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44549         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44550         * math/Makefile (libm-calls): Add s_isinf_ns.
44551         * math/divtc3.c: Use __isinf_nsl instead of isinf.
44552         * math/multc3.c: Likewise.
44553         * math/s_casin.c: Likewise.
44554         * math/s_casinf.c: Likewise.
44555         * math/s_casinl.c: Likewise.
44556         * math/s_ccos.c: Likewise.
44557         * math/s_ccosf.c: Likewise.
44558         * math/s_ccosl.c: Likewise.
44559         * math/s_ctan.c: Likewise.
44560         * math/s_ctanf.c: Likewise.
44561         * math/s_ctanh.c: Likewise.
44562         * math/s_ctanhf.c: Likewise.
44563         * math/s_ctanhl.c: Likewise.
44564         * math/s_ctanl.c: Likewise.
44565         * math/w_fmod.c: Likewise.
44566         * math/w_fmodf.c: Likewise.
44567         * math/w_fmodl.c: Likewise.
44568         * math/w_remainder.c: Likewise.
44569         * math/w_remainderf.c: Likewise.
44570         * math/w_remainderl.c: Likewise.
44571         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44572         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44573         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44574         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44575         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44576         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44577         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44578         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44579
44580         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44581         of the number.
44582         * stdio-common/printf_fphex.c: Likewise.
44583         * stdio-common/printf_size.c: Likewise.
44584
44585         * math/e_exp10.c: Include math_private.h using <...> not "...".
44586         * math/e_exp10f.c: Likewise.
44587         * math/e_exp10l.c: Likewise.
44588         * math/e_exp2l.c: Likewise.
44589         * math/e_j0l.c: Likewise.
44590         * math/e_j1l.c: Likewise.
44591         * math/e_jnl.c: Likewise.
44592         * math/e_lgammal_r.c: Likewise.
44593         * math/e_rem_pio2l.c: Likewise.
44594         * math/e_scalb.c: Likewise.
44595         * math/e_scalbf.c: Likewise.
44596         * math/e_scalbl.c: Likewise.
44597         * math/k_cosl.c: Likewise.
44598         * math/k_sinl.c: Likewise.
44599         * math/k_tanl.c: Likewise.
44600         * math/s_cacoshf.c: Likewise.
44601         * math/s_catan.c: Likewise.
44602         * math/s_catanf.c: Likewise.
44603         * math/s_catanh.c: Likewise.
44604         * math/s_catanhf.c: Likewise.
44605         * math/s_catanhl.c: Likewise.
44606         * math/s_catanl.c: Likewise.
44607         * math/s_ccosh.c: Likewise.
44608         * math/s_ccoshf.c: Likewise.
44609         * math/s_ccoshl.c: Likewise.
44610         * math/s_cexp.c: Likewise.
44611         * math/s_cexpf.c: Likewise.
44612         * math/s_cexpl.c: Likewise.
44613         * math/s_clog.c: Likewise.
44614         * math/s_clog10.c: Likewise.
44615         * math/s_clog10f.c: Likewise.
44616         * math/s_clog10l.c: Likewise.
44617         * math/s_clogf.c: Likewise.
44618         * math/s_clogl.c: Likewise.
44619         * math/s_csin.c: Likewise.
44620         * math/s_csinf.c: Likewise.
44621         * math/s_csinh.c: Likewise.
44622         * math/s_csinhf.c: Likewise.
44623         * math/s_csinhl.c: Likewise.
44624         * math/s_csinl.c: Likewise.
44625         * math/s_csqrt.c: Likewise.
44626         * math/s_csqrtf.c: Likewise.
44627         * math/s_csqrtl.c: Likewise.
44628         * math/s_ctan.c: Likewise.
44629         * math/s_ctanf.c: Likewise.
44630         * math/s_ctanh.c: Likewise.
44631         * math/s_ctanhf.c: Likewise.
44632         * math/s_ctanhl.c: Likewise.
44633         * math/s_ctanl.c: Likewise.
44634         * math/s_ldexp.c: Likewise.
44635         * math/s_ldexpf.c: Likewise.
44636         * math/s_ldexpl.c: Likewise.
44637         * math/s_significand.c: Likewise.
44638         * math/s_significandf.c: Likewise.
44639         * math/s_significandl.c: Likewise.
44640         * math/w_acos.c: Likewise.
44641         * math/w_acosf.c: Likewise.
44642         * math/w_acosh.c: Likewise.
44643         * math/w_acoshf.c: Likewise.
44644         * math/w_acoshl.c: Likewise.
44645         * math/w_acosl.c: Likewise.
44646         * math/w_asin.c: Likewise.
44647         * math/w_asinf.c: Likewise.
44648         * math/w_asinl.c: Likewise.
44649         * math/w_atan2.c: Likewise.
44650         * math/w_atan2f.c: Likewise.
44651         * math/w_atan2l.c: Likewise.
44652         * math/w_atanh.c: Likewise.
44653         * math/w_atanhf.c: Likewise.
44654         * math/w_atanhl.c: Likewise.
44655         * math/w_cosh.c: Likewise.
44656         * math/w_coshf.c: Likewise.
44657         * math/w_coshl.c: Likewise.
44658         * math/w_dremf.c: Likewise.
44659         * math/w_exp10.c: Likewise.
44660         * math/w_exp10f.c: Likewise.
44661         * math/w_exp10l.c: Likewise.
44662         * math/w_exp2.c: Likewise.
44663         * math/w_exp2f.c: Likewise.
44664         * math/w_fmod.c: Likewise.
44665         * math/w_fmodf.c: Likewise.
44666         * math/w_fmodl.c: Likewise.
44667         * math/w_hypot.c: Likewise.
44668         * math/w_hypotf.c: Likewise.
44669         * math/w_hypotl.c: Likewise.
44670         * math/w_j0.c: Likewise.
44671         * math/w_j0f.c: Likewise.
44672         * math/w_j0l.c: Likewise.
44673         * math/w_j1.c: Likewise.
44674         * math/w_j1f.c: Likewise.
44675         * math/w_j1l.c: Likewise.
44676         * math/w_jn.c: Likewise.
44677         * math/w_jnf.c: Likewise.
44678         * math/w_jnl.c: Likewise.
44679         * math/w_lgamma.c: Likewise.
44680         * math/w_lgamma_r.c: Likewise.
44681         * math/w_lgammaf.c: Likewise.
44682         * math/w_lgammaf_r.c: Likewise.
44683         * math/w_lgammal.c: Likewise.
44684         * math/w_lgammal_r.c: Likewise.
44685         * math/w_log.c: Likewise.
44686         * math/w_log10.c: Likewise.
44687         * math/w_log10f.c: Likewise.
44688         * math/w_log10l.c: Likewise.
44689         * math/w_log2.c: Likewise.
44690         * math/w_log2f.c: Likewise.
44691         * math/w_log2l.c: Likewise.
44692         * math/w_logf.c: Likewise.
44693         * math/w_logl.c: Likewise.
44694         * math/w_pow.c: Likewise.
44695         * math/w_powf.c: Likewise.
44696         * math/w_powl.c: Likewise.
44697         * math/w_remainder.c: Likewise.
44698         * math/w_remainderf.c: Likewise.
44699         * math/w_remainderl.c: Likewise.
44700         * math/w_scalb.c: Likewise.
44701         * math/w_scalbf.c: Likewise.
44702         * math/w_scalbl.c: Likewise.
44703         * math/w_sinh.c: Likewise.
44704         * math/w_sinhf.c: Likewise.
44705         * math/w_sinhl.c: Likewise.
44706         * math/w_sqrt.c: Likewise.
44707         * math/w_sqrtf.c: Likewise.
44708         * math/w_sqrtl.c: Likewise.
44709         * math/w_tgamma.c: Likewise.
44710         * math/w_tgammaf.c: Likewise.
44711         * math/w_tgammal.c: Likewise.
44712
44713         * po/ja.po: Update from translation team.
44714
44715 2011-09-29  Andreas Jaeger  <aj@suse.de>
44716
44717         [BZ #13179]
44718         * sunrpc/netname.c (netname2host): Fix logic.
44719
44720         [BZ #6779]
44721         [BZ #6783]
44722         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44723         correctly.
44724         * math/w_remainder.c (__remainder): Likewise.
44725         * math/w_remainderf.c (__remainderf): Likewise.
44726         * math/libm-test.inc (remainder_test): Add test cases.
44727
44728 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44729
44730         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
44731         sdiv_qrnnd.
44732
44733 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
44734
44735         * string/test-memcmp.c: Avoid unncessary #defines.
44736         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44737
44738 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44739
44740         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44741         Use new sse2 version for core i3 - i7 as it's faster
44742         than sse42 version.
44743         (bit_Prefer_PMINUB_for_stringop): New.
44744         * sysdeps/x86_64/rawmemchr.S: Update.
44745         Replace with faster SSE2 version.
44746         * sysdeps/x86_64/memrchr.S: New file.
44747         * sysdeps/x86_64/memchr.S: Update.
44748         Replace with faster SSE2 version.
44749
44750 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
44751
44752         * elf/dl-load.c (lose): Add cast to avoid warning.
44753
44754 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
44755
44756         * po/ca.po: Update from translation team.
44757
44758         * inet/getnetgrent_r.c: Hook up nscd.
44759         * nscd/Makefile (routines): Add nscd_netgroup.
44760         (nscd-modules): Add netgroupcache.
44761         (CFLAGS-netgroupcache.c): Define.
44762         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44763         (cache_search): Add const to second parameter.
44764         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44765         INNETGR.
44766         (dbs): Add netgrdb entry.
44767         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44768         (verify_persistent_db): Handle netgrdb.
44769         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44770         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44771         GETFDNETGR.
44772         (netgroup_response_header): Define.
44773         (innetgroup_response_header): Define.
44774         (datahead): Add netgroup_response_header and innetgroup_response_header
44775         elements.
44776         * nscd/nscd.conf: Add entries for netgroup cache.
44777         * nscd/nscd.h (dbtype): Add netgrdb.
44778         (_PATH_NSCD_NETGROUP_DB): Define.
44779         (netgroup_iov_disabled): Declare.
44780         (xmalloc, xcalloc, xrealloc): Move declarations here.
44781         (cache_search): Adjust prototype.
44782         Add netgroup-related prototypes.
44783         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44784         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44785         (__nscd_innetgr): Declare.
44786         * nscd/selinux.c (perms): Use access_vector_t as element type and
44787         add netgroup-related initializers.
44788         * nscd/netgroupcache.c: New file.
44789         * nscd/nscd_netgroup.c: New file.
44790         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44791         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44792         For four parameters use innetgr.
44793         * nss/nss_files/files-init.c: Add definition and callback for netgr.
44794         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44795         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44796         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44797
44798         * nscd/connections.c (register_traced_file): Don't register file
44799         for disabled databases.
44800
44801 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
44802
44803         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44804
44805         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44806         from tree and freeing node.
44807
44808 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
44809
44810         * nss/nsswitch.c (__nss_database_lookup): Handle
44811         nss_parse_service_list out of memory case.
44812
44813 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
44814
44815         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44816         out of memory case.
44817
44818 2011-10-04  Andreas Schwab  <schwab@redhat.com>
44819
44820         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44821         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44822         pass it down.
44823         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44824         elf_machine_rela, elf_machine_lazy_rel.
44825         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44826         (ELF_DYNAMIC_DO_REL): Likewise.
44827         (ELF_DYNAMIC_DO_RELA): Likewise.
44828         (ELF_DYNAMIC_RELOCATE): Likewise.
44829         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44830         to ELF_DYNAMIC_DO_REL.
44831         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44832         (dl_main): In trace mode always set __RTLD_NOIFUNC.
44833         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44834         elf_machine_rela.
44835         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44836         skip_ifunc, don't call ifunc function if non-zero.
44837         (elf_machine_rela): Likewise.
44838         (elf_machine_lazy_rel): Likewise.
44839         (elf_machine_lazy_rela): Likewise.
44840         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44841         (elf_machine_lazy_rel): Likewise.
44842         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44843         Likewise.
44844         (elf_machine_lazy_rel): Likewise.
44845         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44846         Likewise.
44847         (elf_machine_lazy_rel): Likewise.
44848         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44849         (elf_machine_lazy_rel): Likewise.
44850         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44851         (elf_machine_lazy_rel): Likewise.
44852         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44853         (elf_machine_lazy_rel): Likewise.
44854         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44855         (elf_machine_lazy_rel): Likewise.
44856         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44857         (elf_machine_lazy_rel): Likewise.
44858         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44859         (elf_machine_lazy_rel): Likewise.
44860
44861 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
44862
44863         * nss/nss_files/files-init.c (_nss_files_init): Use static
44864         initialization for all the *_traced_file variables.
44865
44866 2011-09-28  Andreas Schwab  <schwab@redhat.com>
44867
44868         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44869
44870 2011-09-27  Roland McGrath  <roland@hack.frob.com>
44871
44872         [BZ #13226]
44873         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44874
44875 2011-09-27  Andreas Schwab  <schwab@redhat.com>
44876
44877         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44878         Reread the line before reparsing it.
44879
44880 2011-09-26  Andreas Schwab  <schwab@redhat.com>
44881
44882         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44883
44884 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
44885             Maxim Kuvyrkov  <maxim@codesourcery.com>
44886             Joseph Myers  <joseph@codesourcery.com>
44887
44888         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44889         if needed for __stack_chk_guard.
44890
44891 2011-09-19  Roland McGrath  <roland@hack.frob.com>
44892
44893         * sysdeps/posix/spawni.c (script_execute): Always define it.
44894         It will be optimized away if unused.
44895         (maybe_script_execute): New function.
44896         (__spawni): Call it.
44897
44898         * Makerules: Don't include tls.make.
44899         (config-tls): Always set to thread.
44900         * tls.make.c: File removed.
44901
44902 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
44903
44904         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44905         * config.make.in (CPPFLAGS-config): New substituted variable.
44906
44907 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
44908
44909         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44910
44911         [BZ #13192]
44912         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44913         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44914
44915 2011-09-15  Roland McGrath  <roland@hack.frob.com>
44916
44917         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44918         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44919         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44920         (CALL_FAIL): Likewise.
44921         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44922         (CALL_FAIL): Macro removed.
44923         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44924
44925 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
44926
44927         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44928         for __FINITE_MATH_ONLY__ == 1.
44929
44930 2011-09-15  Andreas Schwab  <schwab@redhat.com>
44931
44932         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44933         __ieee754_sqrt instead of sqrt.
44934         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44935         __ieee754_sqrtf instead of sqrtf.
44936         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44937         __floorf instead of floorf.
44938         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44939         __floorf, __truncf instead of floorf, truncf.
44940
44941 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
44942
44943         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44944
44945         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44946         __extern_always_inline.
44947         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44948         32-bit.
44949
44950 2011-09-14  Andreas Schwab  <schwab@redhat.com>
44951
44952         * elf/rtld.c (dl_main): Also relocate in dependency order when
44953         doing symbol dependency testing.
44954
44955 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
44956
44957         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44958         Always define `refsym'.
44959
44960 2011-09-13  Andreas Schwab  <schwab@redhat.com>
44961
44962         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44963         (__FD_ELT): Renamed from __FDELT.
44964         * misc/bits/select2.h (__FD_ELT): Likewise.
44965         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44966         __FD_MASK instead of __FDELT, __FDMASK.
44967         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44968         Likewise.
44969         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44970         Likewise.
44971
44972         * elf/Makefile (gen-ldd): Fix pattern.
44973
44974         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44975         (init_tls): Likewise.
44976
44977 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
44978
44979         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44980
44981 2011-09-12  Andreas Schwab  <schwab@redhat.com>
44982
44983         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44984         `struct cmsghdr *' instead of `void *'.
44985         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44986         Likewise.
44987
44988 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
44989
44990         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44991         if non-absolute.
44992         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44993         ldd_rewrite_script.
44994
44995 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
44996
44997         * configure.in: Remove --with-tls option.
44998         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44999         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45000         out in case it is missing.
45001         * sysdeps/ia64/elf/configure.in: Likewise.
45002         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45003         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45004         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45005         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45006         * sysdeps/sh/elf/configure.in: Likewise.
45007         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45008         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45009         * sysdeps/x86_64/elf/configure.in: Likewise.
45010         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45011         * sysdeps/mach/hurd/tls.h: Likewise.
45012
45013         [BZ #13067]
45014         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45015
45016         [BZ #13090]
45017         * configure.in: Fix use of AC_INIT.
45018
45019         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45020
45021 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
45022
45023         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45024         __set_errno.
45025         * malloc/hooks.c: Likewise.
45026
45027         [BZ #11929]
45028         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
45029         variables statically.
45030         (narenas): Initialize.
45031         (list_lock): Initialize.
45032         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
45033         initializtion of main_arena and list_lock.  Small cleanups.
45034         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45035         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
45036         Add initializers to main_arena and mp_.
45037         (malloc_state): Remove pagesize member.  Change all users to use
45038         GLRO(dl_pagesize).
45039
45040         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45041         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
45042         is always initialized.
45043
45044         * malloc/malloc.c: Removed unused configurations and dead code.
45045         * malloc/arena.c: Likewise.
45046         * malloc/hooks.c: Likewise.
45047         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45048
45049         * include/tls.h: Removed.  USE___THREAD must always be defined.
45050         * bits/libc-tsd.h: Don't handle !USE___THREAD.
45051         * elf/dl-libc.c: Likewise.
45052         * elf/dl-tsd.c: Likewise.
45053         * include/errno.h: Likewise.
45054         * include/netdb.h: Likewise.
45055         * include/resolv.h: Likewise.
45056         * inet/herrno-loc.c: Likewise.
45057         * inet/herrno.c: Likewise.
45058         * malloc/arena.c: Likewise.
45059         * malloc/hooks.c: Likewise.
45060         * malloc/malloc.c: Likewise.
45061         * resolv/res-state.c: Likewise.
45062         * resolv/res_libc.c: Likewise.
45063         * sysdeps/i386/dl-machine.h: Likewise.
45064         * sysdeps/ia64/dl-machine.h: Likewise.
45065         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45066         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45067         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45068         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45069         * sysdeps/sh/dl-machine.h: Likewise.
45070         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45071         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45072         * sysdeps/unix/i386/sysdep.S: Likewise.
45073         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45074         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45075         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45076         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45077         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45078         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45079         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45080         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45081         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45082         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45083         * sysdeps/unix/x86_64/sysdep.S: Likewise.
45084         * sysdeps/x86_64/dl-machine.h: Likewise.
45085         * tls.make.c: Likewise.
45086
45087         * configure.in: Remove --with-__thread option.  Make tests for
45088         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45089         tls_model attribute fail if no support is available.  Remove
45090         USE_IN_LIBIO.
45091         * Makeconfig: Adjust for dropped configure option.  All features are
45092         now mandatory.
45093         * Makerules: Likewise.
45094         * Versions.def: Likewise.
45095         * argp/argp-fmtstream.c: Likewise.
45096         * argp/argp-fmtstream.h: Likewise.
45097         * argp/argp-help.c: Likewise.
45098         * assert/assert.c: Likewise.
45099         * config.h.in: Likewise.
45100         * config.make.in: Likewise.
45101         * configure: Likewise.
45102         * configure.in: Likewise.
45103         * csu/Versions: Likewise.
45104         * csu/init.c: Likewise.
45105         * elf/tst-audit2.c: Likewise.
45106         * elf/tst-tls10.c: Likewise.
45107         * elf/tst-tls10.h: Likewise.
45108         * elf/tst-tls11.c: Likewise.
45109         * elf/tst-tls12.c: Likewise.
45110         * elf/tst-tls14.c: Likewise.
45111         * elf/tst-tlsmod11.c: Likewise.
45112         * elf/tst-tlsmod12.c: Likewise.
45113         * elf/tst-tlsmod13.c: Likewise.
45114         * elf/tst-tlsmod13a.c: Likewise.
45115         * elf/tst-tlsmod14a.c: Likewise.
45116         * elf/tst-tlsmod15b.c: Likewise.
45117         * elf/tst-tlsmod16a.c: Likewise.
45118         * elf/tst-tlsmod16b.c: Likewise.
45119         * elf/tst-tlsmod7.c: Likewise.
45120         * elf/tst-tlsmod8.c: Likewise.
45121         * elf/tst-tlsmod9.c: Likewise.
45122         * gmon/gmon.c: Likewise.
45123         * grp/fgetgrent_r.c: Likewise.
45124         * grp/putgrent.c: Likewise.
45125         * hurd/fopenport.c: Likewise.
45126         * include/libc-symbols.h: Likewise.
45127         * include/tls.h: Likewise.
45128         * intl/gettextP.h: Likewise.
45129         * intl/loadinfo.h: Likewise.
45130         * locale/global-locale.c: Likewise.
45131         * locale/localeinfo.h: Likewise.
45132         * mach/devstream.c: Likewise.
45133         * malloc/arena.c: Likewise.
45134         * malloc/set-freeres.c: Likewise.
45135         * misc/err.c: Likewise.
45136         * misc/getttyent.c: Likewise.
45137         * misc/mntent_r.c: Likewise.
45138         * posix/getopt.c: Likewise.
45139         * posix/wordexp.c: Likewise.
45140         * pwd/fgetpwent_r.c: Likewise.
45141         * resolv/Versions: Likewise.
45142         * resolv/res_hconf.c: Likewise.
45143         * shadow/fgetspent_r.c: Likewise.
45144         * shadow/putspent.c: Likewise.
45145         * stdio-common/printf_fphex.c: Likewise.
45146         * stdio-common/tmpfile.c: Likewise.
45147         * stdlib/abort.c: Likewise.
45148         * stdlib/fmtmsg.c: Likewise.
45149         * sunrpc/auth_unix.c: Likewise.
45150         * sunrpc/clnt_perr.c: Likewise.
45151         * sunrpc/clnt_tcp.c: Likewise.
45152         * sunrpc/clnt_udp.c: Likewise.
45153         * sunrpc/clnt_unix.c: Likewise.
45154         * sunrpc/openchild.c: Likewise.
45155         * sunrpc/svc_simple.c: Likewise.
45156         * sunrpc/svc_tcp.c: Likewise.
45157         * sunrpc/svc_udp.c: Likewise.
45158         * sunrpc/svc_unix.c: Likewise.
45159         * sunrpc/xdr.c: Likewise.
45160         * sunrpc/xdr_array.c: Likewise.
45161         * sunrpc/xdr_rec.c: Likewise.
45162         * sunrpc/xdr_ref.c: Likewise.
45163         * sunrpc/xdr_stdio.c: Likewise.
45164
45165 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45166
45167         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45168
45169 2011-07-03  Andreas Jaeger  <aj@suse.de>
45170
45171         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45172         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45173         regenerate with gen-libm-tests.pl.
45174
45175 2010-05-12  Petr Baudis  <pasky@suse.cz>
45176
45177         [BZ #11589]
45178         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45179         around j0() zero points by switching to j1().
45180         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45181         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45182         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45183         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45184
45185 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45186
45187         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45188         instead of 0.
45189         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45190         instead of 0.
45191         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45192         Patch in part by Pavel Roskin <proski@gnu.org>.
45193
45194         [BZ #13138]
45195         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45196         realloc.
45197         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
45198         Free memory block if necessary.
45199
45200         [BZ #12847]
45201         * libio/genops.c (INTDEF): For string streams the _lock pointer can
45202         be NULL.  Don't lock in this case.
45203
45204 2011-09-09  Roland McGrath  <roland@hack.frob.com>
45205
45206         * elf/elf.h (ELFOSABI_GNU): New macro.
45207         (ELFOSABI_LINUX): Define to that.
45208
45209 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
45210
45211         * string/strncat.c (strncat): Undef the symbol in case it has been
45212         defined in bits/string.h.
45213
45214 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45215
45216         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45217
45218         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45219         link map.
45220
45221 2011-08-17  Andreas Jaeger  <aj@suse.de>
45222
45223         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45224
45225 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
45226             Ian Lance Taylor  <iant@google.com>
45227
45228         * math/libm-test.inc (lround_test): New testcase.
45229         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45230
45231 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
45232
45233         * Makefile: Remove support for automatic cvs check-ins.
45234         * Makerules: Likewise.
45235         * config.make.in: Likewise.
45236         * configure.in: Likewise.
45237         * intl/Makefile: Likewise.
45238         * locale/Makefile: Likewise.
45239         * po/Makefile: Likewise.
45240         * posix/Makefile: Likewise.
45241         * sysdeps/gnu/Makefile: Likewise.
45242         * sysdeps/mach/hurd/Makefile: Likewise.
45243         * sysdeps/sparc/sparc32/Makefile: Likewise.
45244
45245         [BZ #13118]
45246         * posix/Makefile (bug-regex32-ENV): Define.
45247         Patch by John Stanley <jpsinthemix@verizon.net>.
45248
45249         * misc/Makefile (headers): Add bits/select2.h.
45250         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45251         * misc/bits/select2.h: New file.
45252         * include/bits/select2.h: New file.
45253         * debug/Makefile (routines): Add fdelt_chk.
45254         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45255         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45256         FD_ISSET.
45257         * debug/fdelt_chk.c: New file.
45258
45259         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
45260         * wcsmbs/test-wmemcmp.c: Likewise.
45261         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45262         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45263
45264 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45265
45266         * string/Makefile (strop-tests): Add memcmp.
45267         * string/test-wmemcmp.c: New file.
45268         * string/test-memcmp.c: Add wmemcmp support.
45269
45270 2011-09-08  Roland McGrath  <roland@hack.frob.com>
45271
45272         [BZ #13153]
45273         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45274         2011-07-19 change.
45275
45276         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45277         garbage value in a __mach_port_mod_refs call in the cases of the
45278         task-self and thread-self ports.
45279
45280 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45281
45282         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45283
45284 2011-09-08  Andreas Schwab  <schwab@redhat.com>
45285
45286         * elf/dl-load.c (lose): Check for non-null L.
45287
45288 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45289
45290         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45291
45292         * elf/dl-libc.c (dlerror_run): Pass back error code from
45293         dl_catch_error.
45294
45295         [BZ #13123]
45296         * elf/dl-load.c (lose): Free l_origin if it is valid.
45297
45298         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45299         names.
45300         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45301         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45302         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45303         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45304         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45305         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45306
45307 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45308
45309         * sysdeps/powerpc/fpu/e_hypot.c: New file.
45310         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45311         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45312         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45313         * sysdeps/powerpc/fpu/k_cosf.c: New file.
45314         * sysdeps/powerpc/fpu/k_sinf.c: New file.
45315         * sysdeps/powerpc/fpu/s_cosf.c: New file.
45316         * sysdeps/powerpc/fpu/s_sinf.c: New file.
45317         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45318         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45319
45320 2011-08-15  Alan Modra  <amodra@gmail.com>
45321
45322         [BZ #13092]
45323         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45324         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45325         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
45326         ppc_mcount to static-only-routines.
45327         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45328         __mcount_internal.
45329         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45330         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
45331
45332 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
45333
45334         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45335         for finite and infinity parameters.
45336
45337 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
45338
45339         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45340         and add nop instructions for throughput optimization.
45341         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45342
45343 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
45344
45345         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45346         aligned copy for power7 with vector-scalar instructions.
45347         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45348
45349 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
45350
45351         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45352         AVX check.
45353
45354 2011-09-07  Andreas Schwab  <schwab@redhat.com>
45355
45356         [BZ #13144]
45357         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45358         last change.
45359
45360 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45361
45362         * sysdeps/unix/sysv/linux/x86_64/init-first.c
45363         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45364         syscall wrapper around clock_gettime in __vdso_clock_gettime.
45365         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45366         clock_gettime.
45367
45368 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
45369
45370         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45371         Forgot to demangle the pointer.
45372
45373         * sysdeps/i386/sysdep.h: Define atom_text_section.
45374         * sysdeps/x86_64/sysdep.h: Likewise.
45375         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45376         section with atom_text_section.
45377         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45378         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45379         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45380         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45381         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45382
45383         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45384         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45385         already be defined.  Change to take two parameters and don't assign
45386         result to variable.  Adjust all users.
45387         Define INTERNAL_GETTIME if not already defined.
45388         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45389         call.
45390         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45391         HAVE_CLOCK_GETTIME_VSYSCALL.
45392         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45393
45394         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45395         gettimeofday vsyscall, just use time.
45396
45397 2011-09-06  Andreas Schwab  <schwab@redhat.com>
45398
45399         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45400         <errno.h>.
45401
45402 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
45403
45404         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45405         syscall on x86-64.
45406         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45407         syscall.
45408         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45409         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45410         syscall if possible.
45411
45412 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45413
45414         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45415         e_ident.  Don't pass to find_mapsXX.
45416         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45417
45418 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45419
45420         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45421         strchr-sse2-no-bsf strrchr-sse2-no-bsf
45422         * sysdeps/x86_64/multiarch/strchr.S: Update.
45423         Check bit_slow_BSF bit.
45424         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45425         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45426         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45427
45428 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45429
45430         [BZ #13134]
45431         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45432         before glibc 2.15.
45433         (tryshell): Define.
45434         (__spawni): Change last parameter to be flag.  Test
45435         SPAWN_XFLAGS_USE_PATH flag to use path or not.
45436         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45437         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45438         * posix/spawni.c: Likewise.
45439         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45440         * posix/spawnp.c: Likewise.  Change normal version to use
45441         SPAWN_XFLAGS_USE_PATH.
45442         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45443         SPAWN_XFLAGS_TRY_SHELL.
45444
45445         [BZ #13150]
45446         * posix/glob.h: Remove gcc 1.x support.
45447
45448         [BZ #13068]
45449         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45450
45451 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45452
45453         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45454         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45455         strrchr-sse2-bsf
45456         * sysdeps/i386/i686/multiarch/strchr.S: New file.
45457         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45458         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45459         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45460         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45461         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45462
45463 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45464
45465         * sysdeps/x86_64/wcscmp.S: New file.
45466
45467         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45468         wcscmp-c wcscmp-sse2
45469         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45470         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45471         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45472         * wcsmbs/wcscmp.c: Allow renaming.
45473
45474 2011-09-05  David S. Miller  <davem@davemloft.net>
45475
45476         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45477         stack slot, rather than the struct return pointer slot.
45478         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45479         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45480         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45481         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45482
45483 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45484
45485         * po/ja.po: Update from translation team.
45486
45487         [BZ #13144]
45488         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45489         kernel in 64-bit binaries.
45490
45491 2011-09-01  David S. Miller  <davem@davemloft.net>
45492
45493         * elf/elf.h (HWCAP_SPARC_*): Move to..
45494         * sysdeps/sparc/sysdep.h: this new file and add new values.
45495         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45496         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45497         _DL_HWCAP_COUNT to 24.
45498         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45499         entries.
45500         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45501         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45502         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45503         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45504         instead of magic constants.
45505         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45506
45507 2011-08-31  David S. Miller  <davem@davemloft.net>
45508
45509         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45510         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45511         Reimplement to do errno handling inline.
45512         (SYSCALL_ERROR_HANDLER): New macro.
45513         (__SYSCALL_STRING): Do not do errno handling in asm.
45514         (__CLONE_SYSCALL_STRING): Delete.
45515         (__INTERNAL_SYSCALL_STRING): Delete.
45516         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45517         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45518         (PSEUDO): Reimplement to do errno handling inline.
45519         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45520         (SYSCALL_ERROR_HANDLER): New macro.
45521         (__SYSCALL_STRING): Do not do errno handling in asm.
45522         (__CLONE_SYSCALL_STRING): Delete.
45523         (__INTERNAL_SYSCALL_STRING): Delete.
45524         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45525         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45526         i386.
45527         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45528         (inline_syscall*): Add 'err' argument.
45529         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45530         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45531         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45532         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45533
45534         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45535         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45536
45537 2011-08-30  Andreas Schwab  <schwab@redhat.com>
45538
45539         * elf/rtld.c (dl_main): Relocate objects in dependency order.
45540
45541 2011-08-29  Jiri Olsa <jolsa@redhat.com>
45542
45543         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45544         directive.
45545
45546 2011-08-24  David S. Miller  <davem@davemloft.net>
45547
45548         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45549
45550 2011-08-24  Andreas Schwab  <schwab@redhat.com>
45551
45552         * elf/Makefile: Add rules to build and run unload8 test.
45553         * elf/unload8.c: New file.
45554         * elf/unload8mod1.c: New file.
45555         * elf/unload8mod1x.c: New file.
45556         * elf/unload8mod2.c: New file.
45557         * elf/unload8mod3.c: New file.
45558
45559         * elf/dl-close.c (_dl_close_worker): Reset private search list if
45560         it wasn't used.
45561
45562 2011-08-23  David S. Miller  <davem@davemloft.net>
45563
45564         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45565         subtract stack bias.
45566         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45567         %sp not %fp in calculations.
45568         (_JMPBUF_UNWINDS_ADJ): Likewise.
45569
45570         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45571         (aio_suspend): Call it to force an exception region around the
45572         AIO_MISC_WAIT() invocation.
45573
45574 2011-08-23  Andreas Schwab  <schwab@redhat.com>
45575
45576         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45577         backslash.
45578
45579 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
45580
45581         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45582         protection macro.
45583         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45584         and <dl-machine.h>.
45585         (Elf64_FuncDesc): Remove.
45586
45587 2011-08-22  David S. Miller  <davem@davemloft.net>
45588
45589         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45590         sigaltstack check, add missing cfi directives.
45591         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45592         missing cfi directives, and sigaltstack handling.
45593
45594 2011-08-16  Andreas Schwab  <schwab@redhat.com>
45595
45596         [BZ #11724]
45597         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45598         object is seen twice.
45599         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45600
45601         * elf/Makefile (distribute): Add tst-initorder2.c.
45602         (tests): Add tst-initorder2.
45603         (modules-names): Add tst-initorder2a tst-initorder2b
45604         tst-initorder2c tst-initorder2d.  Add rules to build them.
45605         ($(objpfx)tst-initorder2.out): New rule.
45606         * elf/tst-initorder2.c: New file.
45607         * elf/tst-initorder2.exp: New file.
45608
45609 2011-08-22  Andreas Schwab  <schwab@redhat.com>
45610
45611         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45612
45613         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45614         dependencies back to end of function.
45615
45616         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45617         $(elfobjdir)/ld.so.
45618
45619 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
45620
45621         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45622         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45623         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45624         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45625         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45626         of __vdso_gettimeofday.
45627         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45628         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
45629         attribute_hidden.
45630         (_libc_vdso_platform_setup): Remove initialization of
45631         __vdso_gettimeofday and __vdso_time.
45632
45633 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
45634
45635         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45636         and fgetc_unlocked.
45637         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45638         getc_unlocked.
45639
45640         * elf/dl-open.c (add_to_global): Report additions to the global scope
45641         for LD_DEBUG=scopes.
45642         (dl_open_worker): Also print scope of newly loaded dependencies.
45643         (_dl_show_scope): Indicate if there is no scope.
45644
45645         [BZ #13114]
45646         * stdio-common/Makefile (tests): Add bug24.
45647         * stdio-common/bug24.c: New file.
45648
45649 2011-08-19  Andreas Jaeger  <aj@suse.de>
45650
45651         [BZ #13114]
45652         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45653         non-existant file when using close-on-exec mode.
45654
45655 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
45656
45657         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45658         the very first instruction.
45659
45660         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45661         the CFI state in the end.
45662         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45663         inclusion of dl-trampoline.h.
45664         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45665
45666 2011-08-19  Andreas Schwab  <schwab@redhat.com>
45667
45668         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45669         expectations for long double.
45670
45671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45672         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45673
45674 2011-08-14  David S. Miller  <davem@davemloft.net>
45675
45676         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45677         artificual limit depends upon the system page size.
45678
45679 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
45680
45681         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45682         * resolv/Makefile: Define CFLAGS-libresolv.
45683
45684 2011-08-17  Andreas Schwab  <schwab@redhat.com>
45685
45686         * nss/makedb.c (compute_tables): Make variables used in nested
45687         function static.
45688
45689 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
45690
45691         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45692         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45693         if buffer was too small.
45694
45695         * elf/pldd.c (main): Attach to all threads in the process.
45696         Rewrite /proc handling to use *at functions.
45697
45698 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
45699
45700         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45701         specifies first scope to show.
45702         (dl_open_worker): Update callers.  Move printing scope of new
45703         object to before the relocation.
45704         * elf/rtld.c (dl_main): Update _dl_show_scope call.
45705         * sysdeps/generic/ldsodefs.h: Update declaration.
45706
45707         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45708         string for the scope number.
45709
45710 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
45711
45712         * nscd/servicescache.c (cache_addserv): Make sure written is always
45713         initialized.
45714
45715 2011-08-14  Roland McGrath  <roland@hack.frob.com>
45716
45717         * sysdeps/i386/i486/bits/atomic.h
45718         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45719         statement expression, so as to suppress "set but not used" warning.
45720         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45721
45722         * string/strncat.c (STRNCAT): Use prototype definition.
45723
45724         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45725         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45726         -Iprograms here.
45727         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45728         (localedef-modules): Add localedef.
45729         (locale-modules): Add locale.
45730
45731         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45732         * elf/rtld.c (dl_main): Invert order of assignment in last change,
45733         to avoid a warning.
45734
45735 2011-08-14  David S. Miller  <davem@davemloft.net>
45736
45737         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45738         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45739
45740 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
45741
45742         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
45743         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45744         * elf/rtld.c (dl_main): Set l_name of vDSO.
45745         Call _dl_show_scope when DL_DEBUG_SCOPES.
45746         (process_dl_debug): Recognize scopes flag and also set it for all.
45747         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45748         Declare _dl_show_scope.
45749
45750         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45751         (do_dlopen): Pass caller_dlopen to dl_open.
45752         (__libc_dlopen_mode): Initialize caller_dlopen.
45753
45754         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45755         of libc.  Make tolower call locale-independent.  Optimize a bit by
45756         using isdigit instead of isalnum.
45757         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45758
45759 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
45760
45761         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45762         was a dependency or dynamically loaded.
45763
45764 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
45765
45766         * intl/l10nflist.c: Allow architecture-specific pop function.
45767         * sysdeps/x86_64/l10nflist.c: New file.
45768
45769         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45770         classification.
45771
45772 2011-08-10  Andreas Schwab  <schwab@redhat.com>
45773
45774         * include/dirent.h: Add libc_hidden_proto for scandirat and
45775         scandirat64.  Don't declare __scandirat64.
45776         * dirent/scandirat.c: Add libc_hidden_def.
45777         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45778         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45779
45780 2011-08-10  David S. Miller  <davem@davemloft.net>
45781
45782         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45783         enum.
45784         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45785         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45786         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45787
45788 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
45789
45790         * Versions.def [libc]: Add GLIBC_2.15.
45791         * dirent/Makefile (routines): Add scandirat and scandirat64.
45792         * dirent/Versions [libc]: Export scandirat and scandirat64 for
45793         GLIBC_2.15.
45794         * dirent/dirent.h: Declare scandirat and scandirat64.
45795         * dirent/scandirat.c: New file.
45796         * dirent/scandirat64.c: New file.
45797         * sysdeps/wordsize-64/scandirat.c: New file.
45798         * sysdeps/wordsize-64/scandirat64.c: New file.
45799         * dirent/opendir.c: Define opendirat.
45800         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
45801         using scandirat.
45802         * dirent/scandir64.c: Adjust for scandir.c change.
45803         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
45804         __scandirat64, and __scandir_cancel_handler.
45805         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
45806         additional parameter and use openat instead of open (outside of ld.so).
45807         Add new __opendir as wrapper around __opendirat.
45808         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45809         here without requiring old scandirat implementation.
45810
45811 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
45812
45813         * dirent/scandir.c (cancel_handler): Renamed to
45814         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
45815         defined.  Adjust users.
45816         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45817         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45818
45819 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
45820
45821         * string/test-string.h (IMPL): Use __STRING to expand name and then
45822         stringify it.
45823
45824         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
45825         of cleanups.
45826
45827 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45828
45829         * string/Makefile: Update.
45830         (strop-tests): Append strncat.
45831         * string/test-wcscmp.c: New file.
45832         New comprehensive test for wcscmp.
45833         * string/test-strcmp.c: Update.
45834         (WIDE): New define.
45835
45836 2011-07-22  Andreas Schwab  <schwab@redhat.com>
45837
45838         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45839         line.
45840
45841 2011-07-26  Andreas Schwab  <schwab@redhat.com>
45842
45843         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45844         encoding to ACE if AI_IDN.
45845
45846 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
45847
45848         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45849         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45850
45851 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45852
45853         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45854         Fix overflow bug in strncat.
45855         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45856
45857         * string/test-strncat.c: Update.
45858         Add new tests for checking overflow bugs.
45859
45860 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45861
45862         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45863         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45864         * sysdeps/i386/i686/multiarch/strcat.S: New file.
45865         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45866         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45867         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45868         * sysdeps/i386/i686/multiarch/strncat.S: New file.
45869         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45870         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45871
45872         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45873         (USE_AS_STRCAT): Define.
45874         Add strcat and strncat support.
45875         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45876
45877 2011-07-25  Andreas Schwab  <schwab@redhat.com>
45878
45879         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45880         __n bigger than INT_MAX+1.
45881         (__strncmp_g): Likewise.
45882
45883 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
45884
45885         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45886         * libio/stido.h: Likewise.
45887
45888         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45889         (AF_NFC): Define.
45890         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45891         (AF_NFC): Define.
45892
45893         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45894         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45895         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45896         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45897         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45898
45899         [BZ #13021]
45900         * scripts/test-installation.pl: Don't expect libnss_test1 to be
45901         installed.
45902
45903         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45904         typo.
45905         (_dl_x86_64_save_sse): Likewise.
45906
45907 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
45908
45909         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45910         OSXSAVE.
45911         (_dl_x86_64_save_sse): Likewise.
45912
45913         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45914
45915         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45916
45917 2011-07-21  Andreas Schwab  <schwab@redhat.com>
45918
45919         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45920         change.
45921         (_dl_x86_64_save_sse): Use correct AVX check.
45922
45923 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45924
45925         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45926         bug in strncpy/strncat.
45927         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45928
45929 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
45930
45931         * string/tester.c (test_strcat): Add tests for different alignments
45932         of source and destination.
45933         (test_strncat): Likewise.
45934
45935 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
45936
45937         [BZ #12852]
45938         * posix/glob.c (glob): Check passed in values before using them in
45939         expressions to avoid some overflows.
45940         (glob_in_dir): Likewise.
45941
45942         [BZ #13007]
45943         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45944         check for AVX enablement so that we don't crash with old kernels and
45945         new hardware.
45946         * elf/tst-audit4.c: Add same checks here.
45947         * elf/tst-audit6.c: Likewise.
45948
45949         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45950
45951 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
45952
45953         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45954
45955 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
45956
45957         * po/cs.po: Update from translation team.
45958         * po/bg.po: Likewise.
45959
45960 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
45961
45962         * misc/sys/cdefs.h: Add support for const attribute.
45963         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45964         to gnu_dev_{major,minor,makedev} functions.
45965
45966 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
45967
45968         * intl/dcigettext.c (get_output_charset): Add missing bracket.
45969
45970 2011-07-20  Andreas Schwab  <schwab@redhat.com>
45971
45972         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45973         strlen results.
45974
45975 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45976
45977         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45978         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45979         register in order to avoid conflicts with the soft frame pointer
45980         being held in r11 when necessary.
45981         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45982         (INTERNAL_VSYSCALL_NCS): Likewise.
45983
45984 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
45985
45986         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45987         * elf/dl-fini.c (_dl_fini): Adjust caller.
45988         * elf/dl-close.c (_dl_close_worker): Likewise.
45989         * sysdeps/generic/ldsodefs.h: Adjust declaration.
45990
45991 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
45992
45993         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45994         "aux_cache->nlibs < 0".
45995
45996         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45997         in the reload-count case.
45998
45999 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46000
46001         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46002         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46003         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46004         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46005         * sysdeps/x86_64/multiarch/strcat.S: New file.
46006         * sysdeps/x86_64/multiarch/strncat.S: New file.
46007         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46008         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46009         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46010         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46011         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46012         (USE_AS_STRCAT): Define.
46013         Add strcat and strncat support.
46014         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46015         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46016         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46017         * string/strncat.c: Update.
46018         (USE_AS_STRNCAT): Define.
46019         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46020         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46021         and i7.
46022         * sysdeps/x86_64/multiarch/init-arch.h
46023         (bit_Prefer_PMINUB_for_stringop): New.
46024         (index_Prefer_PMINUB_for_stringop): Likewise.
46025         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46026         bit_Prefer_PMINUB_for_stringop.
46027
46028 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46029
46030         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46031         buffer64.
46032         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46033         of casting of buffer.
46034         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46035         buffer32 and buffer64.
46036         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46037         writes instead of casting of buffer.
46038         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46039         buffer32.
46040         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46041         casting of buffer.
46042
46043 2011-07-19  Andreas Schwab  <schwab@redhat.com>
46044
46045         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46046
46047 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46048
46049         * nscd/nscd.c (termination_handler): Don't do anything for a database
46050         if it has not yet been initialized.
46051
46052 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46053
46054         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46055
46056 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46057
46058         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46059
46060 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46061
46062         * po/nl.po: Update from translation team.
46063         * po/sv.po: Likewise.
46064
46065 2011-07-16  Roland McGrath  <roland@hack.frob.com>
46066
46067         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46068         now disallowed by GCC.
46069
46070         * configure.in (use-default-link): Default to yes if a test -shared
46071         link meets our qualifications.
46072         * configure: Regenerated.
46073
46074         * config.make.in (output-format): New variable.
46075         * configure.in: Check for ld --print-output-format support.
46076         * configure: Regenerated.
46077         * Makerules ($(common-objpfx)format.lds)
46078         [$(output-format) != unknown]: Just use $(output-format),
46079         instead of the linker-script munging.
46080
46081 2011-07-14  Roland McGrath  <roland@hack.frob.com>
46082
46083         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46084         of $(common-objpfx)shlib.lds.
46085         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46086
46087         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46088         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46089
46090         * configure.in (-z relro check): Adjust test code to add a large
46091         writable data section after it.
46092         * configure: Regenerated.
46093
46094 2011-07-11  Roland McGrath  <roland@hack.frob.com>
46095
46096         * configure.in (-z relro check): Fix test code to make the variable
46097         truly const.
46098         * configure: Regenerated.
46099
46100 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
46101
46102         * nscd/nscd.h (struct traced_file): Define.
46103         (struct database_dyn): Remove inotify_descr, reset_res, and filename
46104         elements.  Add traced_files.
46105         (inotify_fd): Declare.
46106         (register_traced_file): Declare.
46107         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46108         (inotify_fd): Export.
46109         (resolv_conf_descr): Remove.
46110         (nscd_init): Move inotify descriptor creation to main.
46111         Don't register files for notification here.
46112         (register_traced_file): New function.
46113         (invalidate_cache): Don't use reset_res to determine whether to call
46114         res_init, go through the list of registered files.
46115         (main_loop_poll): The inotify descriptors are now stored in the
46116         structures for the traced files.
46117         (main_loop_epoll): Likewise
46118         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
46119         to __nss_disable_nscd.
46120         * nscd/cache.c (prune_cache): There is no single inotify descriptor
46121         for a database anymore.  Check the records for all the registered
46122         files instead.
46123         * nss/Makefile (libnss_files-routines): Add files-init.
46124         (libnss_db-routines): Add db-init.
46125         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46126         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46127         * nss/nss_db/db-init.c: New file.
46128         * nss/nss_files/files-init.c: New file.
46129         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
46130         __nss_lookup_function.
46131         (__nss_lookup_function): Call nss_load_library.
46132         (nss_load_all_libraries): New function.
46133         (__nss_disable_nscd): Take parameter with callback function for files
46134         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
46135         used for the cached services.
46136         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46137         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46138         options for features to all the files in nscd.
46139
46140         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46141
46142 2011-07-10  Roland McGrath  <roland@hack.frob.com>
46143
46144         * csu/elf-init.c (__libc_csu_init): Comment typo.
46145
46146 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
46147
46148         * po/pl.po: Update from translation team.
46149         * po/ja.po: Likewise.
46150         * po/ru.po: Likewise.
46151         * po/ko.po: Likewise.
46152         * po/fr.po: Likewise.
46153
46154 2011-07-09  Roland McGrath  <roland@hack.frob.com>
46155
46156         * configure.in (.ctors/.dtors header and trailer check):
46157         Use an empirical test on a built program.
46158         * configure: Regenerated.
46159
46160         * configure.in (-z relro check): Use an empirical test on a built DSO.
46161         Detect, but do not require, on ia64.
46162         * configure: Regenerated.
46163
46164         * configure.in (READELF): Find it with AC_CHECK_TOOL.
46165         Update tests that use readelf to use $READELF instead.
46166         * configure: Regenerated.
46167
46168 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
46169
46170         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46171         if the result is not used.
46172
46173 2011-07-05  Andreas Jaeger  <aj@suse.de>
46174
46175         [BZ#9696]
46176         * stdlib/tst-strtod.c: Add testcase.
46177
46178 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
46179
46180         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46181         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46182         The latter has a higher limit.  Take additional parameter to pass to
46183         the new function.
46184         (__pathconf): Pass file to __statfs_link_max.
46185         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46186         __statfs_link_max.
46187         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46188         __statfs_link_max.
46189
46190         [BZ #12868]
46191         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46192         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46193         Handle Lustre.
46194         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46195         (__statfs_filesize_max): Likewise.
46196         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46197
46198 2011-07-05  Andreas Jaeger  <aj@suse.de>
46199
46200         * resolv/res_comp.c (dn_skipname): Remove unused variable.
46201
46202 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
46203
46204         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46205         `status' variable.
46206         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46207         Likewise.
46208
46209 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
46210
46211         * Makefile (strop-tests): Add strncat.
46212         * string/test-strncat.c: New file.
46213
46214 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
46215
46216         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46217
46218 2011-06-21  Andreas Jaeger  <aj@suse.de>
46219
46220         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46221         Copy rule from iconvdata/Makefile.
46222
46223 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46224
46225         [BZ #12922]
46226         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46227         but no long options are defined, just return 'W'.
46228
46229 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
46230
46231         [BZ #9696]
46232         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46233
46234 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46235
46236         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46237         netgroups to read.
46238         (innetgr): Likewise.
46239
46240 2011-07-05  Roland McGrath  <roland@hack.frob.com>
46241
46242         * config.make.in (install_root): Default to $(DESTDIR).
46243
46244 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
46245
46246         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46247
46248 2011-07-02  Roland McGrath  <roland@hack.frob.com>
46249
46250         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46251
46252         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46253         containing directory rather than embedding absolute directory names.
46254
46255         * scripts/check-local-headers.sh: Rewritten using awk.
46256         Match by word, not by line.  Print error messages for matches.
46257         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46258
46259         * Makerules [shlib-lds-flags empty]:
46260         ($(common-objpfx)libc_pic.opts): New target.
46261         ($(common-objpfx)libc_pic.os.clean): New target.
46262         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46263
46264         * config.make.in (OBJCOPY): New variable.
46265         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46266         * configure: Regenerated.
46267
46268         * config.make.in (use-default-link): New variable.
46269         * configure.in (use_default_link): Grok --with-default-link to set it.
46270         * configure: Regenerated.
46271         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46272         (shlib-lds, shlib-lds-flags): Define to empty.
46273
46274         * Makerules (shlib-lds): New variable.
46275         (shlib-lds-flags): New variable.
46276         (build-shlib, build-moduile, build-module-asneeded): Use it.
46277         ($(common-objpfx)libc.so): Use $(shlib-lds).
46278         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46279         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46280
46281         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46282         DT_FLAGS/DT_FLAGS_1 with zero flags.
46283
46284         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46285         linker script munging.
46286
46287 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
46288
46289         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46290         as 128-bit value.
46291         * crypt/sha512.c (sha512_process_block): Perform total addition using
46292         128-bit if possible.
46293         (__sha512_finish_ctx): Likewise.
46294         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46295         as 64-bit value.
46296         * crypt/sha256.c (SWAP64): Define.
46297         (sha256_process_block): Perform total addition using 64-bit if
46298         possible.
46299         (__sha256_finish_ctx): Likewise.
46300
46301 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
46302
46303         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
46304         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46305         * nscd/hstcache.c (cache_addhst): Likewise.
46306         * nscd/grpcache.c (cache_addgr): Likewise.
46307         * nscd/aicache.c (addhstaiX): Likewise
46308         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46309
46310 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
46311
46312         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46313         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46314         * nscd/hstcache.c (cache_addhst): Likewise.
46315         * nscd/grpcache.c (cache_addgr): Likewise.
46316         * nscd/aicache.c (addhstaiX): Likewise
46317
46318 2011-07-01  Andreas Schwab  <schwab@redhat.com>
46319
46320         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46321         domain only when needed.
46322
46323 2011-06-30  Andreas Schwab  <schwab@redhat.com>
46324
46325         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46326         is always restored.
46327
46328 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
46329
46330         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46331         are re-adding the entry.
46332         * nscd/servicescache.c (cache_addserv): Likewise.
46333
46334 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
46335
46336         * sysdeps/generic/dl-irel.h: fix protection against multiple
46337         inclusions.
46338         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46339
46340 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
46341
46342         [BZ #12935]
46343         * malloc/memusage.sh: Fix quoting in message.
46344         * debug/xtrace.sh: Likewise.
46345
46346         * configure.in: Remove support for --experimental-malloc option, make
46347         it the default.
46348         * config.make.in: Likewise.
46349         * malloc/Makefile: Likewise.
46350
46351 2011-06-27  Andreas Schwab  <schwab@redhat.com>
46352
46353         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46354         two-byte characters.
46355
46356 2011-06-27  Roland McGrath  <roland@hack.frob.com>
46357
46358         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46359         AC_CACHE_CHECK invocation.
46360         * configure: Regenerated.
46361
46362         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46363
46364 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
46365
46366         [BZ #12350]
46367         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
46368         bit from old_res_options.
46369
46370         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46371
46372         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46373         value type for setfct.
46374
46375 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
46376
46377         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46378         __gettimeofday instead of gettimeofday.
46379
46380 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
46381
46382         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46383
46384 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
46385
46386         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46387
46388         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46389         info.
46390
46391 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
46392
46393         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46394         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46395         strcpy-sse2-unaligned strncpy-sse2-unaligned
46396         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46397         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46398         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46399         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46400         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46401         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46402         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46403         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46404         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46405         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46406         (STRCPY): Support SSE2 and SSSE3 versions.
46407
46408 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
46409
46410         [BZ #12874]
46411         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46412         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46413         kernels which artificially limit size of requests.
46414
46415 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
46416
46417         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46418         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46419         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46420         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46421         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46422         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46423         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46424         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46425         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46426         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46427         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46428         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46429         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46430         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46431         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46432         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46433         Enable unaligned load optimization for Intel Core i3, i5 and i7
46434         processors.
46435         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46436         Define.
46437         (index_Fast_Unaligned_Load): Define.
46438         (HAS_FAST_UNALIGNED_LOAD): Define.
46439
46440 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
46441
46442         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46443
46444 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
46445
46446         [BZ #12907]
46447         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46448         until it is clear that the information is realy needed.
46449         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46450
46451 2011-06-22  Andreas Schwab  <schwab@redhat.com>
46452
46453         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46454
46455 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
46456
46457         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46458         /sys/devices/system/cpu/online if it is usable.
46459
46460         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46461         reading the information from the /proc filesystem to once a second.
46462
46463 2011-06-21  Andreas Jaeger  <aj@suse.de>
46464
46465         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46466         NULL after inclusion of kernel headers.
46467
46468 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
46469
46470         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46471         calls to internal_setent.
46472
46473         [BZ #12885]
46474         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46475         addresses using gethostbyname4_r ignore IPv4 addresses.
46476
46477         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46478         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
46479
46480         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46481
46482 2011-06-20  David S. Miller  <davem@davemloft.net>
46483
46484         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46485         inclusions.
46486         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46487
46488         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46489         (elf_irel): Use it.
46490         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46491         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46492         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46493         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46494         * sysdeps/x86_64/dl-irel.h: Likewise.
46495
46496         * elf/dl-runtime.c: Use elf_ifunc_invoke.
46497         * elf/dl-sym.c: Likewise.
46498
46499 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
46500
46501         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
46502         need to dereference resplen2.
46503
46504 2011-06-14  Andreas Schwab  <schwab@redhat.com>
46505
46506         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46507
46508 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
46509
46510         * Makeconfig: Define vardbdir and inst_vardbdir.
46511         * nss/Makefile: Add rules to install db-Makefile.
46512
46513         * nss/nss_db/db-XXX.c: Cleanup.
46514
46515         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46516         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46517         GLIBC_PRIVATE.
46518         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46519         * nss/makedb.c: Implement -g option to specify that value strings
46520         are generated and should not be added to table iterated over for
46521         get*ent calls.
46522         * nss/nss_db/db-initgroups.c: New file.
46523
46524         * nss/getent.c: Add support for initgroups lookups through getgrouplist
46525         interface.
46526
46527         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46528         (internal_getgrouplist): Adjust to name change.
46529         Update use_initgroups_entry if this is not the first call.
46530         * nss/databases.def: Add initgroups entry.
46531
46532         * nss/makedb.c (compute_tables): Check result of multiple hash table
46533         sizes to minimize maximum chain length.
46534
46535 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
46536
46537         * Versions.def: Add entry for libnss_db.
46538         * shlib-versions: Likewise.
46539         * nss/Makefile: Add rules to build libnss_db.
46540         * nss/Versions: Add libnss_db information.  Organize libnss_files
46541         entries better.
46542         * nss/db-Makefile: Add gshadow support.  Change rules for the new
46543         makedb progra.  Some minor improvements to generate smaller files.
46544         * nss/nss_db/nss_db.h: Move NSS database header data structures to
46545         here from...
46546         * nss/makedb.c: ...here.
46547         Improve database format to be smaller and require less memory at
46548         runtime.
46549         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
46550         db anymore.
46551         * nss/nss_db/db-netgrp.c: Likewise.
46552         * nss/nss_db/db-open.c: Likewise.
46553         * nss/nss_files/flies-XXX.x: Adjust comments.
46554         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46555         * nss/nss_files/files-grp.c: Likewise.
46556         * nss/nss_files/files-hosts.c: Likewise.
46557         * nss/nss_files/files-network.c: Likewise.
46558         * nss/nss_files/files-proto.c: Likewise.
46559         * nss/nss_files/files-pwd.c: Likewise.
46560         * nss/nss_files/files-rpc.c: Likewise.
46561         * nss/nss_files/files-service.c: Likewise.
46562         * nss/nss_files/files-sgrp.c: Likewise.
46563         * nss/nss_files/files-spwd.c: Likewise.
46564         * nss/nss_db/db-alias.c: Removed.
46565         * nss/nss_db/dummy-db.h: Removed.
46566
46567 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
46568
46569         * nss/makedb.c: Rewritten to not use database library.
46570         * nss/Makefile: Update to build new makedb program.
46571
46572 2011-06-14  Andreas Jaeger  <aj@suse.de>
46573
46574         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46575         memset declaration.
46576
46577 2011-06-10  Andreas Schwab  <schwab@redhat.com>
46578
46579         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46580         tmpbuf.
46581
46582 2011-06-10  Roland McGrath  <roland@hack.frob.com>
46583
46584         * Makerules (shlib.lds): Fail if the linker script comes out empty.
46585         * elf/Makefile ($(objpfx)ld.so): Likewise.
46586
46587         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46588         Don't list ld.so twice in dependencies.
46589
46590         * posix/bug-regex31.c: Include <stdlib.h>.
46591
46592         * nscd/hstcache.c (cache_addhst): Remove unused variable.
46593
46594         * nis/nss_compat/compat-spwd.c
46595         (getspent_next_nss_netgr): Remove unused variable.
46596         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46597
46598         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46599         nonmembers" output to use the right array.
46600
46601         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46602
46603         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46604
46605         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46606         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46607         * catgets/gencat.c (read_input_file): Likewise.
46608         * locale/programs/locarchive.c (enlarge_archive): Likewise.
46609
46610         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46611         variable definition inside #if's controlling its use.
46612
46613         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46614
46615         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46616
46617         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46618
46619         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46620         unreachable code.
46621
46622         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46623
46624         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46625         * configure: Regenerated.
46626
46627         * Makerules: Revert last change.
46628         * elf/Makefile: Likewise.
46629
46630 2011-06-09  Roland McGrath  <roland@hack.frob.com>
46631
46632         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46633         * elf/Makefile ($(objpfx)librtld.os): Likewise.
46634         (reloc-link): Likewise.
46635
46636 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
46637
46638         * elf/Makefile: Add rules to build pldd.
46639         * elf/pldd.c: New file.
46640         * elf/pldd-xx.c: New file.
46641
46642 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
46643
46644         * version.h: Update for 2.15 development version.
46645
46646 2011-06-07  David S. Miller  <davem@davemloft.net>
46647
46648         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46649         ifuncs.
46650         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46651         elf_machine_lazy_rel): Likewise.
46652         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46653         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46654         elf_machine_lazy_rel): Likewise.
46655         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46656         dl_hwcap via passed in argument.
46657         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46658         Likewise.
46659
46660 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46661
46662         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
46663
46664 2011-06-06  Roland McGrath  <roland@hack.frob.com>
46665
46666         [BZ #12849]
46667         * manual/fdl-1.1.texi: New file, verbatim from:
46668         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46669         * manual/lgpl-2.1.texi: New file, verbatim from:
46670         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46671         * manual/Makefile (licenses): New variable, list those new file names.
46672         (texis): Use it.
46673         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46674
46675         * manual/fdl.texi: File removed.
46676         * manual/lesser.texi: File removed.
46677         * manual/libc.texinfo (Copying, Documentation License):
46678         Use new @include file names, put @appendix directive before @include.
46679
46680 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
46681
46682         [BZ #12841]
46683         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46684         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46685         (mq_open): Add __NTH.
46686
46687 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
46688
46689         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46690         Assume Intel Core i3/i5/i7 processor if AVX is available.
46691
46692 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
46693
46694         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46695         typo.
46696
46697 2011-05-31  Andreas Schwab  <schwab@redhat.com>
46698
46699         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46700         memory.  Use alloca_account.  Fix memory leak when retrying.
46701
46702 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
46703
46704         * version.h (RELEASE): Bump for 2.14 release.
46705         * include/features.h (__GLIBC_MINOR__): Bump to 14.
46706
46707         * config.make.in (RANLIB): Remove entry.
46708
46709 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
46710
46711         * po/Makefile (po-sed-cmd): Add ksh to extensions.
46712         (libc.pot): Work around missing support for .ksh extension in xgettext.
46713
46714         [BZ #12684]
46715         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46716         if both request failed.
46717         (send_dg): In case of server errors clear resplen or *resplen2.
46718
46719         [BZ #12454]
46720         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46721         when there are multiple maps.
46722         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46723         (_dl_fini): Remove test here.
46724
46725         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46726
46727 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
46728
46729         [BZ #12350]
46730         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46731         bit from old_res_options.
46732         (gaih_inet): Likewise.
46733
46734         [BZ #11099]
46735         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
46736         as signed.
46737
46738         * resolv/res_init.c (res_setoptions): Make the code more compact.
46739
46740         [BZ #11558]
46741         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46742         set RES_USEVC.
46743
46744         [BZ #11634]
46745         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46746
46747         * malloc/malloc.h: Mark malloc hook variables as deprecated.
46748
46749         [BZ #11781]
46750         * malloc/malloc.h: Declare malloc hook variables as volatile.
46751
46752         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46753         in last patch.
46754
46755         [BZ #11799]
46756         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
46757         raise in the comment.
46758         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46759         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46760         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
46761
46762 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
46763
46764         [BZ #12811]
46765         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46766         grow the buffers more if it already has to be sufficient.
46767         (build_wcs_upper_buffer): Likewise.
46768         * posix/regexec.c (check_matching): Likewise.
46769         (clean_state_log_if_needed): Likewise.
46770         (extend_buffers): Don't enlarge buffers beyond size of the input
46771         buffer.
46772         Patches mostly by Emil Wojak <emil@wojak.eu>.
46773         * posix/bug-regex32.c: New file.
46774         * posix/Makefile (tests): Add bug-regex32.
46775
46776         * locale/findlocale.c (_nl_find_locale): Return right away if
46777         _nl_explode_name failed.
46778         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46779
46780         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46781
46782         * debug/xtrace.sh: Unify messages.
46783         * malloc/memusage.sh: Likewise.
46784
46785         [BZ #12813]
46786         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46787         time symbol from vDSO.  Substitute with vsyscall if not available.
46788         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46789         __vdso_time.
46790
46791         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46792         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46793         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46794         Add sendmmsg and internal_sendmmsg.
46795         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46796         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46797         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46798
46799         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46800         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46801         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46802
46803 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
46804
46805         [BZ #12813]
46806         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46807         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
46808         available.
46809         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46810         __vdso_getcpu.
46811
46812         [BZ #12814]
46813         * iconvdata/Makefile (tests): Add bug-iconv9.
46814         * iconvdata/bug-iconv9.c: New file.
46815
46816 2011-05-27  Andreas Schwab  <schwab@redhat.com>
46817
46818         [BZ #12814]
46819         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46820
46821 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
46822
46823         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46824         (struct user_regs_struct): Change intcs field back to cs.
46825
46826 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
46827
46828         * po/ja.po: Update from translation team.
46829
46830 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
46831
46832         [BZ #12795]
46833         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46834         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46835
46836 2011-05-20  Andreas Schwab  <schwab@redhat.com>
46837
46838         * stdlib/longlong.h: Update from GCC.
46839
46840 2011-05-23  Andreas Schwab  <schwab@redhat.com>
46841
46842         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46843         parameter name.
46844         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46845         Add parameter name.
46846         (__sysconf): Pass it down.
46847
46848 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
46849
46850         [BZ #12671]
46851         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46852         some situations.
46853         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46854         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46855         add in in __libc_use_alloca calls.  Adjust callers.
46856         (glob): Use malloc in some situations.
46857
46858         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46859         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46860         pltexit.
46861
46862 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
46863
46864         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46865         and CLOCK_BOOTTIME_ALARM.
46866
46867         [BZ #12782]
46868         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46869         is returned.
46870
46871         * string/_strerror.c (__strerror_r): Print negative errors as signed
46872         numbers.
46873
46874         [BZ #12777]
46875         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46876         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46877         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46878
46879         * configure.in: Fix typo in redirection and correct removal of test
46880         files in two cases.
46881
46882         [BZ #12788]
46883         * locale/setlocale.c (new_composite_name): Fix test to check for
46884         identical name of all categories.
46885
46886         [BZ #12792]
46887         * libio/filedoalloc.c (local_isatty): New function.
46888         (_IO_file_doallocate): Use local_isatty.
46889         * stdio-common/perror.c (perror): In case a new stream is used
46890         forward the stream error.
46891         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46892         error flag.
46893
46894 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
46895
46896         [BZ #11869]
46897         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46898         alloca.
46899         * include/alloca.h (extend_alloca_account): Define.
46900
46901         [BZ #11857]
46902         * posix/regex.h: Fix comments with documentation of user-accessible
46903         fields after compilation and describe correct free'ing of pattern
46904         after re_compile_pattern.
46905         Patch by Reuben Thomas <rrt@sc3d.org>.
46906
46907 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
46908
46909         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46910         and -mno-altivec to prevent the compiler from using Altivec and/or
46911         VSX instructions when the corresponding registers are not available.
46912
46913 2011-05-19  Andreas Schwab  <schwab@redhat.com>
46914
46915         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46916
46917 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
46918
46919         * libio/freopen.c (freopen): Use __dup2, not dup2.
46920         * libio/freopen64.c (freopen64): Likewise.
46921
46922 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
46923
46924         [BZ #12775]
46925         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46926         * math/Makefile (tests): Add test-powl.
46927         (CFLAGS-test-powl.c): Define.
46928         * math/test-powl.c: New file.
46929
46930 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46931
46932         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46933
46934 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
46935
46936         [BZ #11837]
46937         * iconvdata/gb18030.c: Update to GB18020-2005.
46938
46939 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
46940
46941         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46942         RE_SYNTAX_POSIX_AWK): Update to match recent development.
46943         Patch by Aharon Robbins <arnold@skeeve.com>.
46944
46945         [BZ #11892]
46946         * stdlib/putenv.c (putenv): Don't always create copy of the variable
46947         on the stack.
46948
46949         [BZ #11895]
46950         * misc/pselect.c (__pselect): Handle timeout value errors hidden
46951         through underflows.
46952
46953         [BZ #12766]
46954         * misc/error.c (error_at_line): Ensure file_name and old_file_name
46955         point to strings before performing equality test for error_one_per_line
46956         mode.
46957
46958         [BZ #11697]
46959         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46960
46961         [BZ #11820]
46962         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46963         (struct user_fpregs_struct): Avoid __uint*_t types.
46964
46965         [BZ #6420]
46966         * malloc/mtrace.c (tr_where): Add additional parameter to point to
46967         symbol info.  Use it instead of calling _dl_addr locally.
46968         (lock_and_info): New function.
46969         (tr_freehook): Call lock_and_info and pass symbol info as additional
46970         parameter to tr_where.
46971         (tr_mallochook): Likewise.
46972         (tr_reallochook): Likewise.
46973         (tr_memalignhook): Likewise.
46974
46975         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
46976         used and couldn't be at all thread-safe.
46977
46978 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
46979
46980         * libio/freopen.c (freopen): Don't close old file descriptor
46981         before the new one is opened.  Instead dup the new file descriptor
46982         to the old one after the new stream is created.
46983         * libio/freopen64.c (freopen64): Likewise.
46984         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46985         * libio/fileops.c (_IO_new_file_close_it): Handle new
46986         _IO_FLAGS2_NOCLOSE flag.
46987         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46988         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46989         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46990         _IO_FLAGS2_NOCLOSE flag.
46991         * include/unistd.h: Add hidden_proto for dup3.
46992         Define __have_dup3.
46993         * io/dup3.c: Define hidden symbol.
46994         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46995
46996         [BZ #7101]
46997         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46998         when an incomplete long option is used.
46999         * posix/tst-getopt_long1.c: New file.
47000         * posix/Makefile (tests): Add tst-getopt_long1.
47001
47002         [BZ #10138]
47003         * scripts/config.guess: Update from autoconf-2.68.
47004         * scripts/config.sub: Likewise.
47005
47006         [BZ #10157]
47007         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47008         tests into ...
47009         (has_cpuclock): ...this.  New function.
47010         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47011         macro here based on has_cpuclock code.
47012
47013         [BZ #10149]
47014         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47015         First byte (not low byte) is now always NUL.
47016         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47017
47018         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47019         Use non-cancelable interfaces.
47020
47021         [BZ #9809]
47022         * locale/iso-639.def: Add entry for Sorani.
47023
47024         [BZ #11901]
47025         * include/stdlib.h: Move include protection to the right place.
47026         Define abort_msg_s.  Declare __abort_msg with it.
47027         * stdlib/abort.c (__abort_msg): Adjust type.
47028         * assert/assert.c (__assert_fail_base): New function.  Majority
47029         of code from __assert_fail.  Allocate memory for __abort_msg with
47030         mmap.
47031         (__assert_fail): Now call __assert_fail_base.
47032         * assert/assert-perr.c: Remove bulk of implementation.  Use
47033         __assert_fail_base.
47034         * include/assert.hL Declare __assert_fail_base.
47035         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47036         mmap.
47037         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47038
47039 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
47040
47041         [BZ #11952]
47042         [BZ #12453]
47043         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47044         until all modules are registered in the DTV.
47045         * elf/Makefile: Add rules to build and run tst-tls19.
47046         * elf/tst-tls19.c: New file.
47047         * elf/tst-tls19mod1.c: New file.
47048         * elf/tst-tls19mod2.c: New file.
47049         * elf/tst-tls19mod3.c: New file.
47050         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47051
47052         [BZ #12083]
47053         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47054         correctly.
47055
47056         [BZ #12601]
47057         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47058         two-byte sequence errors.
47059         * iconvdata/Makefile (tests): Add bug-iconv8.
47060         * iconvdata/bug-iconv8.c: New file.
47061
47062         [BZ #12626]
47063         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47064         buf2 definition.
47065
47066         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47067
47068         [BZ #12432]
47069         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47070         (dummy_getcfa): New function.
47071         (init): Get _Unwind_GetCFA address, use dummy if not found.
47072         (backtrace_helper): In recursion check, also check whether CFA changes.
47073         (__backtrace): Completely initialize arg.
47074
47075         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47076         storing incomplete byte sequence in state object.  Avoid testing for
47077         guaranteed too small input if we know there is enough data available.
47078
47079 2011-05-11  Andreas Schwab  <schwab@redhat.com>
47080
47081         * Makeconfig (+link-pie): Indent.
47082         * Rules (binaries-pie): Define if $(have-fpie) and
47083         $(build-shared).
47084         (binaries-shared): Also filter out $(binaries-pie).
47085         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47086         * nscd/Makefile (others-pie): Add nscd.
47087         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47088         ($(objpfx)nscd): Remove command override.
47089         * login/Makefile (others-pie): Add pt_chown.
47090         ($(objpfx)pt_chown): Remove command override.
47091         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47092         remove command overrides.
47093
47094 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
47095
47096         * libio/tst_putwc.c: Fix error messages.
47097
47098         [BZ #12724]
47099         * libio/fileops.c (_IO_new_file_close_it): Always flush when
47100         currently writing and seek to current position when not.
47101         * libio/Makefile (tests): Add bug-fclose1.
47102         * libio/bug-fclose1.c: New file.
47103
47104 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
47105
47106         [BZ #12511]
47107         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47108         don't set DF_1_NODELETE here.
47109         (do_lookup_x): When entering new entry test for copy relocation
47110         and if necessary set DF_1_NODELETE flag.
47111         * elf/tst-unique4.cc: New file.
47112         * elf/tst-unique4.h: New file.
47113         * elf/tst-unique4lib.cc: New file.
47114         * elf/Makefile: Add rules to build and run tst-unique4.
47115         Patch by Piotr Bury <pbury@goahead.com>.
47116
47117 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
47118
47119         [BZ #12052]
47120         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47121
47122         [BZ #12625]
47123         * misc/mntent_r.c (addmntent): Flush the stream after the output
47124
47125         [BZ #12393]
47126         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47127         (is_trusted_path_normalize): Skip initial colon.  Append slash
47128         to empty buffer.  Duplicate is_trusted_path code but allow
47129         constructed patch to be prefix.
47130         (is_dst): Allow $ORIGIN followed by /.
47131         (_dl_dst_substitute): Correct clearing of check_for_trusted.
47132         Correct testing of result of is_trusted_path_normalize
47133         (decompose_rpath): Fix warning.
47134
47135 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
47136
47137         [BZ #11257]
47138         * grp/initgroups.c (internal_getgrouplist): When we found the service
47139         list through the initgroups entry in nsswitch.conf do not always
47140         continue on a successful lookup.  Don't always use the
47141         __nss_group_database value if it is set.
47142         * nss/nsswitch.conf (initgroups): Change action for successful db
47143         lookup to continue for compatibility.
47144
47145 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
47146
47147         [BZ #11532]
47148         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47149         and CP774 modules.
47150         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47151         and CP774 modules.
47152         * iconvdata/tst-tables.sh: Likewise.
47153         * iconvdata/cp770.c: New file.
47154         * iconvdata/cp771.c: New file.
47155         * iconvdata/cp772.c: New file.
47156         * iconvdata/cp773.c: New file.
47157         * iconvdata/cp774.c: New file.
47158         * iconvdata/testdata/CP770: New file.
47159         * iconvdata/testdata/CP770..UTF8: New file.
47160         * iconvdata/testdata/CP771: New file.
47161         * iconvdata/testdata/CP771..UTF8: New file.
47162         * iconvdata/testdata/CP772: New file.
47163         * iconvdata/testdata/CP772..UTF8: New file.
47164         * iconvdata/testdata/CP773: New file.
47165         * iconvdata/testdata/CP773..UTF8: New file.
47166         * iconvdata/testdata/CP774: New file.
47167         * iconvdata/testdata/CP774..UTF8: New file.
47168
47169         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47170         END CHARMAP line.
47171         * iconvdata/gen-8bit-gap.sh: Likewise.
47172         * iconvdata/gen-8bit.sh: Likewise.
47173
47174         * locale/iso-639.def: Add ary entry.
47175
47176         [BZ #11258]
47177         * locale/C-translit.h.in: Add U20A1 transliteration.
47178
47179         [BZ #12178]
47180         * locale/iso-639.def: Add wae entry.
47181         Patch by Kevin Bortis <bortis@translate-wae.ch>.
47182
47183         [BZ #12545]
47184         * locale/programs/localedef.c (construct_output_path): Use ssize_t
47185         for n.
47186
47187         [BZ #12711]
47188         * locale/C-translit.h.in: Add entry for U20B9.
47189         Patch by pravin.d.s@gmail.com.
47190
47191 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
47192
47193         [BZ #12713]
47194         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47195         ENAMETOOLONG use generic getcwd.
47196         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
47197         in rtld.  Use *stat64.
47198         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47199         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47200         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47201         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47202         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47203         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47204         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47205         __fstatat64 macros.
47206         * include/dirent.h: Add libc_hidden_proto for rewinddir.
47207         * dirent/rewinddir.c: Add libc_hidden_def.
47208         * sysdeps/mach/hurd/rewinddir.c: Likewise.
47209         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
47210
47211         * include/dirent.h (__alloc_dir): Add flags parameter.
47212         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47213         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47214         __alloc_dir.
47215         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
47216         from fdopendir if O_CLOEXEC is already set.
47217
47218 2011-03-15  Alan Modra  <amodra@gmail.com>
47219
47220         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47221         l_tls_firstbyte_offset non-zero.  Save padding offset in
47222         l_tls_firstbyte_offset for later use.
47223         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47224         freeing static tls block.
47225
47226 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
47227
47228         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47229         where #ifdef was intended.  The intent is to prevent ARG_MAX from
47230         being defined by the kernel headers.
47231
47232 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
47233
47234         [BZ #12734]
47235         * resolv/resolv.h: Define RES_NOTLDQUERY.
47236         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47237         no-tld-query and set RES_NOTLDQUERY.
47238         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47239         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47240         modern BIND to search name as TLD unless forbidden.
47241
47242 2011-05-07  Petr Baudis  <pasky@suse.cz>
47243             Ulrich Drepper  <drepper@gmail.com>
47244
47245         [BZ #12393]
47246         * elf/dl-load.c (fillin_rpath): Move trusted path check...
47247         (is_trusted_path): ...to here.
47248         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47249         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47250         using is_trusted_path_normalize() in setuid scripts.
47251
47252 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
47253
47254         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47255         __BEGIN/__END_DECLS.
47256
47257 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
47258
47259         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47260         NSS_STATUS_NOTFOUND if no record was found.
47261
47262 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47263
47264         * sunrpc/Makefile (headers): Add rpc/netdb.h.
47265         (headers-not-in-tirpc): Remove rpc/netdb.h
47266         * resolv/netdb.h: Revert last change.
47267
47268 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47269
47270         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47271         circular dependency between libgcc.a and libc.a.
47272
47273 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47274
47275         * resolv/netdb.h: Don't include <rpc/netdb.h>.
47276         * nis/Makefile: Don't install rpcsvc/*.
47277         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47278         instead of <rpc/types.h>.
47279         (MAXHOSTNAMELEN): Define.
47280
47281 2011-05-03  Andreas Schwab  <schwab@redhat.com>
47282
47283         * elf/ldconfig.c (add_dir): Don't crash on empty path.
47284
47285 2011-04-28  Maciej Babinski  <mbabinski@google.com>
47286
47287         [BZ #12714]
47288         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47289         gethostbyname4_r when IPv6 results are possible.
47290
47291 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
47292
47293         [BZ #12723]
47294         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47295         _PC_PIPE_BUF handling.
47296
47297 2011-04-30  Bruno Haible  <bruno@clisp.org>
47298
47299         [BZ #12717]
47300         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47301         * resolv/netdb.h (getnameinfo): Change type of flags parameter
47302         to 'int'.
47303         * inet/getnameinfo.c (getnameinfo): Likewise.
47304
47305 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
47306
47307         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47308         to groups setting in database lookup.
47309         * nss/nsswitch.conf: Add initgroups entry.
47310
47311 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
47312
47313         [BZ #12685]
47314         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47315         mode string.
47316         Patch by Eric Blake <eblake@redhat.com>.
47317
47318 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
47319
47320         * sunrpc/Makefile (need-export-routines): Add svc_run.
47321         (routines): Remove svc_run.
47322         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47323         * sunrpc/clnt_perr.c (clnt_perrno): Export.
47324         * sunrpc/svc_run.c (svc_run): Likewise.
47325         * sunrpc/svc_udp.c (svcudp_create): Likewise.
47326
47327 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
47328
47329         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47330         problem in reallocation in last patch.
47331
47332 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
47333
47334         * sunrpc/Makefile: Move inclusion of Rules.
47335
47336 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47337
47338         * nss/nss_files/files-initgroups.c: New file.
47339         * nss/Makefile (libnss_files-routines): Add files-initgroups.
47340         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47341         _nss_files_initgroups_dyn.
47342
47343 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
47344
47345         * elf/elf.h (R_ARM_IRELATIVE): Define.
47346
47347 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47348
47349         * po/ru.po: Update from translation team.
47350
47351 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47352
47353         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47354         dependencies.
47355
47356 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
47357
47358         [BZ #12653]
47359         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47360         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47361         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47362         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47363         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47364
47365 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
47366
47367         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47368         differing bytes.
47369         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47370         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47371         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47372
47373 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47374
47375         [BZ #12420]
47376         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47377         storing it.
47378         * stdlib/bug-getcontext.c: New file.
47379         * stdlib/Makefile: Add rules to build and run bug-getcontext.
47380
47381 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47382
47383         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47384         instructions into .machine "z9-109".
47385         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47386         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47387
47388 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47389
47390         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47391         between environment variables and auxiliary vector.
47392
47393 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
47394
47395         * Makefile: Add rules to build linkobj/libc.so.
47396         * include/libc-symbols.h: Define libc_hidden_nolink.
47397         * include/rpc/auth.h: Mark functions which are to be hidden.
47398         * include/rpc/auth_des.h: Likewise.
47399         * include/rpc/auth_unix.h: Likewise.
47400         * include/rpc/clnt.h: Likewise.
47401         * include/rpc/des_crypt.h: Likewise.
47402         * include/rpc/key_prot.h: Likewise.
47403         * include/rpc/pmap_clnt.h: Likewise.
47404         * include/rpc/pmap_prot.h: Likewise.
47405         * include/rpc/pmap_rmt.h: Likewise.
47406         * include/rpc/rpc_msg.h: Likewise.
47407         * include/rpc/svc.h: Likewise.
47408         * include/rpc/svc_auth.h: Likewise.
47409         * include/rpc/xdr.h: Likewise.
47410         * nis/Makefile: Link all DSOs against linkobj/libc.so.
47411         * nss/Makefile: Likewise.
47412         * sunrpc/Makefile: Don't install headers.  Build library with normal
47413         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
47414         * sunrpc/auth_des.c: Hide exported symbols by default, export some
47415         for the compat linking library.  Remove use of INTDEF/INTUSE.
47416         * sunrpc/auth_none.c: Likewise.
47417         * sunrpc/auth_unix.c: Likewise.
47418         * sunrpc/authdes_prot.c: Likewise.
47419         * sunrpc/authuxprot.c: Likewise.
47420         * sunrpc/clnt_gen.c: Likewise.
47421         * sunrpc/clnt_perr.c: Likewise.
47422         * sunrpc/clnt_raw.c: Likewise.
47423         * sunrpc/clnt_simp.c: Likewise.
47424         * sunrpc/clnt_tcp.c: Likewise.
47425         * sunrpc/clnt_udp.c: Likewise.
47426         * sunrpc/clnt_unix.c: Likewise.
47427         * sunrpc/des_crypt.c: Likewise.
47428         * sunrpc/des_soft.c: Likewise.
47429         * sunrpc/get_myaddr.c: Likewise.
47430         * sunrpc/key_call.c: Likewise.
47431         * sunrpc/key_prot.c: Likewise.
47432         * sunrpc/netname.c: Likewise.
47433         * sunrpc/pm_getmaps.c: Likewise.
47434         * sunrpc/pm_getport.c: Likewise.
47435         * sunrpc/pmap_clnt.c: Likewise.
47436         * sunrpc/pmap_prot.c: Likewise.
47437         * sunrpc/pmap_prot2.c: Likewise.
47438         * sunrpc/pmap_rmt.c: Likewise.
47439         * sunrpc/publickey.c: Likewise.
47440         * sunrpc/rpc_cmsg.c: Likewise.
47441         * sunrpc/rpc_common.c: Likewise.
47442         * sunrpc/rpc_dtable.c: Likewise.
47443         * sunrpc/rpc_prot.c: Likewise.
47444         * sunrpc/rpc_thread.c: Likewise.
47445         * sunrpc/rtime.c: Likewise.
47446         * sunrpc/svc.c: Likewise.
47447         * sunrpc/svc_auth.c: Likewise.
47448         * sunrpc/svc_authux.c: Likewise.
47449         * sunrpc/svc_raw.c: Likewise.
47450         * sunrpc/svc_run.c: Likewise.
47451         * sunrpc/svc_simple.c: Likewise.
47452         * sunrpc/svc_tcp.c: Likewise.
47453         * sunrpc/svc_udp.c: Likewise.
47454         * sunrpc/svc_unix.c: Likewise.
47455         * sunrpc/svcauth_des.c: Likewise.
47456         * sunrpc/xcrypt.c: Likewise.
47457         * sunrpc/xdr.c: Likewise.
47458         * sunrpc/xdr_array.c: Likewise.
47459         * sunrpc/xdr_float.c: Likewise.
47460         * sunrpc/xdr_intXX_t.c: Likewise.
47461         * sunrpc/xdr_mem.c: Likewise.
47462         * sunrpc/xdr_rec.c: Likewise.
47463         * sunrpc/xdr_ref.c: Likewise.
47464         * sunrpc/xdr_sizeof.c: Likewise.
47465         * sunrpc/xdr_stdio.c: Likewise.
47466
47467 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
47468
47469         [BZ #12650]
47470         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47471         * sysdeps/ia64/dl-tls.h: Likewise.
47472         * sysdeps/powerpc/dl-tls.h: Likewise.
47473         * sysdeps/s390/dl-tls.h: Likewise.
47474         * sysdeps/sh/dl-tls.h: Likewise.
47475         * sysdeps/sparc/dl-tls.h: Likewise.
47476         * sysdeps/x86_64/dl-tls.h: Likewise.
47477         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47478
47479 2011-03-14  Andreas Schwab  <schwab@redhat.com>
47480
47481         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47482         rpath element also skip the following colon.
47483         (expand_dynamic_string_token): Add is_path parameter and pass
47484         down to DL_DST_REQUIRED and _dl_dst_substitute.
47485         (decompose_rpath): Call expand_dynamic_string_token with
47486         non-zero is_path.  Ignore empty rpaths.
47487         (_dl_map_object_from_fd): Call expand_dynamic_string_token
47488         with zero is_path.
47489
47490 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
47491
47492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47493         Make cancelable.
47494
47495 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
47496
47497         [BZ #12655]
47498         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47499         Patch by Filipe David Manana <fdmanana@apache.org>.
47500
47501 2011-04-07  Andreas Schwab  <schwab@redhat.com>
47502
47503         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47504         Maintain aligned stack.
47505         (CHECK_RSP): Remove unused macro.
47506
47507 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
47508
47509         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47510         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47511
47512 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
47513
47514         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47515
47516         * include/features.h: Mention __USE_XOPEN2K8 in comment.
47517
47518 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
47519
47520         [BZ #12518]
47521         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47522         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47523         * sysdeps/x86_64/memmove.c: New file.
47524         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47525         (memcpy): Renamed to ...
47526         (__new_memcpy): This.
47527         (memcpy): Provide GLIBC_2_14 memcpy.
47528         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47529         (memcpy): Provide GLIBC_2_2_5 memcpy.
47530
47531 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47532
47533         [BZ #12631]
47534         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47535
47536 2011-03-30  Andreas Schwab  <schwab@redhat.com>
47537
47538         * misc/syncfs.c: New file.
47539         * misc/Makefile (routines): Add syncfs.
47540         * posix/unistd.h: Declare syncfs.
47541         * sysdeps/unix/syscalls.list: Add syncfs.
47542
47543 2011-04-01  Andreas Schwab  <schwab@redhat.com>
47544
47545         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47546         open_by_handle_at.
47547         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47548         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47549         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47550         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47551         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47552         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47553         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47554
47555 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47556
47557         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47558         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47559         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47560         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47561         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47562         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47563         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47564
47565         * io/Makefile: Compile fallocate.c, fallocate64.c, and
47566         sync_file_range.c with -fexceptions.
47567         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47568         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47569         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47570         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47571         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47572         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47573         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47574         sync_file_range as cancellation point
47575         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
47576         now a wrapper around __call_sync_file_range with cancellation handling.
47577         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47578         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
47579         function name to __call_sync_file_range.
47580         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47581         Add call_sync_file_range.
47582
47583 2011-04-01  Andreas Schwab  <schwab@redhat.com>
47584
47585         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47586         bits/timex.h.
47587
47588 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47589
47590         * iconv/iconv.h: Fix typo in comment.
47591         * io/fcntl.h: Likewise.
47592         * libio/stdio.h: Likewise.
47593         * posix/spawn.h: Likewise.
47594         * posix/unistd.h: Likewise.
47595         * stdlib/stdlib.h: Likewise.
47596         * time/time.h: Likewise.
47597         * wcsmbs/wchar.h: Likewise.
47598
47599         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47600         open_by_handle): Add.
47601         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47602         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
47603         Augment a few comments.
47604         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47605         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47606         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47607         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47608         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47609         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47610         open_by_handle.
47611
47612         * io/fcntl.h (AT_EMPTY_PATH): Define.
47613
47614 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
47615
47616         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47617         * sysdeps/unix/sysv/linux/bits/time.h: New file.
47618         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47619         to...
47620         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
47621         * Versions.def: Add GLIBC_2.14.
47622         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47623         Export.
47624
47625 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
47626
47627         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47628         round counter.
47629         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47630
47631 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47632
47633         [BZ #12597]
47634         * string/test-strncmp.c (do_page_test): New function.
47635         (check2): Likewise.
47636         (test_main): Call check2.
47637         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47638
47639 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
47640
47641         [BZ #12587]
47642         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47643         Handle cache information in CPU leaf 4.
47644         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47645
47646 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
47647
47648         [BZ #12583]
47649         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47650         character representation.
47651         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47652
47653 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
47654
47655         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47656         END(__isnan) to END(__isnanf) to match function entry point/label
47657         EALIGN(__isnanf,...).
47658
47659 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
47660
47661         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47662
47663 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
47664
47665         [BZ #12510]
47666         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47667         copy from the symbol referenced in the relocation to initialize the
47668         used variable.
47669         Patch by Piotr Bury <pbury@goahead.com>.
47670         * elf/Makefile: Add rules to build and tst-unique3.
47671         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47672         * elf/tst-unique3.cc: New file.
47673         * elf/tst-unique3.h: New file.
47674         * elf/tst-unique3lib.cc: New file.
47675         * elf/tst-unique3lib2.cc: New file.
47676
47677         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47678
47679 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
47680
47681         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47682         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
47683         to _start.
47684
47685 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
47686
47687         * elf/dl-load.c (_dl_map_object): If we are looking for the first
47688         to-be-loaded object along a path to loader is ld.so.
47689
47690 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
47691             Ulrich Drepper  <drepper@gmail.com>
47692
47693         * sysdeps/x86_64/memset.S: After aligning destination, code
47694         branches to different locations depending on the value of
47695         misalignment, when multiarch is enabled. Fix this.
47696
47697 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
47698
47699         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47700         Set _x86_64_preferred_memory_instruction for AMD processsors.
47701         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47702         Set bit_Prefer_SSE_for_memop for AMD processors.
47703
47704 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
47705
47706         * libio/fmemopen.c (fmemopen): Optimize a bit.
47707
47708 2011-03-03  Andreas Schwab  <schwab@redhat.com>
47709
47710         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47711
47712 2011-03-03  Roland McGrath  <roland@redhat.com>
47713
47714         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47715
47716 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
47717
47718         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
47719         __bzero_ultra1 instead of __memset_ultra1.
47720
47721 2011-02-23  Andreas Schwab  <schwab@redhat.com>
47722             Ulrich Drepper  <drepper@gmail.com>
47723
47724         [BZ #12509]
47725         * include/link.h (struct link_map): Add l_orig_initfini.
47726         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47727         returning unsuccessfully.
47728         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47729         close of a file loaded at startup, restore the original l_initfini
47730         list.
47731         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47732         list, store the pointer.
47733         * elf/Makefile ($(objpfx)noload-mem): New rule.
47734         (noload-ENV): Define.
47735         (tests): Add $(objpfx)noload-mem.
47736         * elf/noload.c: Include <memcheck.h>.
47737         (main): Call mtrace.  Close all opened handles.
47738
47739 2011-02-17  Andreas Schwab  <schwab@redhat.com>
47740
47741         [BZ #12454]
47742         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47743         dependencies are missing.
47744
47745 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47746
47747         Fix __if_freereq crash: Unlike the generic version which uses free,
47748         Hurd needs munmap.
47749         * sysdeps/mach/hurd/ifreq.h: New file.
47750
47751 2011-01-27  Petr Baudis  <pasky@suse.cz>
47752             Ulrich Drepper  <drepper@gmail.com>
47753
47754         [BZ 12445]#
47755         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47756         to extend_alloca().
47757         * stdio-common/bug23.c: New file.
47758         * stdio-common/Makefile (tests): Add bug23.
47759
47760 2010-09-28  Andreas Schwab  <schwab@redhat.com>
47761             Ulrich Drepper  <drepper@gmail.com>
47762
47763         [BZ #12489]
47764         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47765         before performing relro protection.  At old place add assertion
47766         to make sure nothing changed.
47767
47768 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
47769             Glauber de Oliveira Costa  <glommer@gmail.com>
47770
47771         * elf/elf.h: Add new ARM TLS relocs.
47772
47773 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
47774
47775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47776         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47777         cast from r3.
47778         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
47779         'tests' variable.
47780         * sysdeps/wordsize-64/tst-writev.c: New file.
47781
47782 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
47783
47784         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47785         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47786         insns in _dl_start to prevent a TOC reference before relocs are
47787         resolved.
47788
47789 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
47790
47791         [BZ #12469]
47792         * Makeconfig: Remove RANLIB definition.
47793         * Makerules: Don't use RANLIB.
47794         * aclocal.m4: Remove ranlib test.
47795         * configure.in: No need to check for ranlib.
47796         * elf/rtld-Rules: Don't use RANLIB.
47797
47798 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47799
47800         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47801         protection macro.
47802         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47803         inclusion protection macro.
47804
47805         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47806         SIGRTMIN and SIGRTMAX and print information in that case only when
47807         SIGRTMIN is defined.
47808
47809 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
47810
47811         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47812         arginfo fn returning -1.
47813
47814         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47815         and thousands string is zero terminated.
47816
47817 2011-02-03  Andreas Schwab  <schwab@redhat.com>
47818
47819         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47820         sysdeps/unix/sysv/linux/bits/socket.h.
47821
47822 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47823
47824         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47825         (__CPU_COUNT): Remove old macros.
47826         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47827         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47828         (__CPU_ALLOC, __CPU_FREE): Add macros.
47829         (__sched_cpualloc, __sched_cpufree): Add declarations.
47830
47831 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
47832
47833         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47834         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47835         * nscd/aicache.c (addhstaiX): Return timeout of added value.
47836         (readdhstai): Return value of addhstaiX call.
47837         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47838         (addgrbyX): Return value returned by cache_addgr.
47839         (readdgrbyname): Return value returned by addgrbyX.
47840         (readdgrbygid): Likewise.
47841         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47842         (addpwbyX): Return value returned by cache_addpw.
47843         (readdpwbyname): Return value returned by addhstbyX.
47844         (readdpwbyuid): Likewise.
47845         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47846         (addservbyX): Return value returned by cache_addserv.
47847         (readdservbyname): Return value returned by addservbyX:
47848         (readdservbyport): Likewise.
47849         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47850         (addhstbyX): Return value returned by cache_addhst.
47851         (readdhstbyname): Return value returned by addhstbyX.
47852         (readdhstbyaddr): Likewise.
47853         (readdhstbynamev6): Likewise.
47854         (readdhstbyaddrv6): Likewise.
47855         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47856         (readdinitgroups): Return value returned by addinitgroupsX.
47857         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47858         (prune_cache): Keep track of timeout value of re-added entries.
47859         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47860         * nscd/nscd.h: Adjust prototypes of readd* functions.
47861
47862 2011-02-04  Roland McGrath  <roland@redhat.com>
47863
47864         * nis/nis_server.c (nis_servstate): Use the right name for 0.
47865         (nis_stats): Likewise.
47866         * nis/nis_modify.c (nis_modify): Likewise.
47867         * nis/nis_remove.c (nis_remove): Likewise.
47868         * nis/nis_add.c (nis_add): Likewise.
47869
47870         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47871
47872         * posix/fnmatch_loop.c: Add some consts.
47873
47874         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47875
47876 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
47877
47878         [BZ #12460]
47879         * config.make.in (config-cflags-novzeroupper): Define.
47880         * configure.in: Substitute libc_cv_cc_novzeroupper.
47881         * elf/Makefile (AVX-CFLAGS): Define.
47882         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47883         (CFLAGS-tst-auditmod4a.c): Likewise.
47884         (CFLAGS-tst-auditmod4b.c): Likewise.
47885         (CFLAGS-tst-auditmod6b.c): Likewise.
47886         (CFLAGS-tst-auditmod6c.c): Likewise.
47887         (CFLAGS-tst-auditmod7b.c): Likewise.
47888         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47889
47890 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
47891
47892         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47893         function to the callback.
47894         Patch partly by Jiri Olsa <jolsa@redhat.com>.
47895
47896 2011-02-02  Andreas Schwab  <schwab@redhat.com>
47897
47898         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47899         of errno.
47900
47901 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
47902
47903         [BZ #11724]
47904         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47905         of constructors.
47906         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47907         of destructors.
47908         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47909
47910         [BZ #11724]
47911         * elf/Makefile: Add rules to build and run new test.
47912         * elf/tst-initorder.c: New file.
47913         * elf/tst-initorder.exp: New file.
47914         * elf/tst-initordera1.c: New file.
47915         * elf/tst-initordera2.c: New file.
47916         * elf/tst-initordera3.c: New file.
47917         * elf/tst-initordera4.c: New file.
47918         * elf/tst-initorderb1.c: New file.
47919         * elf/tst-initorderb2.c: New file.
47920         * elf/tst-order-a1.c: New file.
47921         * elf/tst-order-a2.c: New file.
47922         * elf/tst-order-a3.c: New file.
47923         * elf/tst-order-a4.c: New file.
47924         * elf/tst-order-b1.c: New file.
47925         * elf/tst-order-b2.c: New file.
47926         * elf/tst-order-main.c: New file.
47927         New test case by George Gensure <werkt0@gmail.com>.
47928
47929 2010-10-01  Andreas Schwab  <schwab@redhat.com>
47930
47931         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47932         decoding ACE if AI_CANONIDN.
47933
47934 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
47935
47936         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47937
47938 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
47939
47940         * version.h (RELEASE): Bump for 2.13 release.
47941         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47942
47943         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47944
47945         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47946         MADV_NOHUGEPAGE.
47947         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47948         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47949         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47950         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47951         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47952         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47953
47954         * posix/getconf.c: Update copyright year.
47955         * catgets/gencat.c: Likewise.
47956         * csu/version.c: Likewise.
47957         * debug/catchsegv.sh: Likewise.
47958         * debug/xtrace.sh: Likewise.
47959         * elf/ldconfig.c: Likewise.
47960         * elf/ldd.bash.in: Likewise.
47961         * elf/sprof.c (print_version): Likewise.
47962         * iconv/iconv_prog.c: Likewise.
47963         * iconv/iconvconfig.c: Likewise.
47964         * locale/programs/locale.c: Likewise.
47965         * locale/programs/localedef.c: Likewise.
47966         * malloc/memusage.sh: Likewise.
47967         * malloc/mtrace.pl: Likewise.
47968         * nscd/nscd.c (print_version): Likewise.
47969         * nss/getent.c: Likewise.
47970
47971         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47972         PF_CAIF, and PF_ALG.
47973         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47974
47975 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
47976
47977         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47978         (modules-names): Use them.
47979         (ifunc-test-modules, ifunc-pie-tests): Define.
47980         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47981         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47982         (test-extras): Likewise.
47983         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47984         $(compile-command.c).
47985         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47986         (all-built-dso): Define.
47987         (check-textrel.out, check-execstack.out): Depend on it.
47988
47989         * configure.in: Don't override --enable-multi-arch.
47990
47991 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
47992
47993         [BZ #6812]
47994         * nscd/hstcache.c (tryagain): Define.
47995         (cache_addhst): Return tryagain not notfound for temporary errors.
47996         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47997         failed.
47998
47999 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
48000
48001         [BZ #10563]
48002         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48003         to make the syscall.
48004         * sysdeps/unix/sysv/linux/setgroups.c: New file.
48005
48006         [BZ #12378]
48007         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48008         and fall back to matching as normal character if the string ends before
48009         the matching ']' is found.  This is what POSIX requires.
48010         * posix/testfnm.c: Adjust test result.
48011         * posix/globtest.sh: Adjust test result.  Add new test.
48012         * posix/tst-fnmatch.input: Likewise.
48013         * posix/tst-fnmatch2.c: Add new test.
48014
48015 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
48016
48017         * elf/Makefile (check-execstack): Revert last change.  Depend on
48018         check-execstack.h.
48019         (check-execstack.h): New target.
48020         (generated): Add check-execstack.h.
48021         * elf/check-execstack.c: Include "check-execstack.h".
48022         (main): Revert last change.
48023         (handle_file): Return zero if GNU_STACK is absent and
48024         DEFAULT_STACK_PERMS doesn't include PF_X.
48025
48026 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
48027
48028         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48029         in child fails because the descriptor is already closed.
48030         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48031         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48032         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48033
48034         [BZ #12397]
48035         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48036         syscall.
48037
48038         [BZ #10484]
48039         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48040         temporary buffer used to handle multi lookups locally.
48041         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48042
48043 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48044
48045         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48046         loader is ld.so.
48047
48048 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
48049
48050         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48051         alignment for SSE2.
48052
48053 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48054
48055         [BZ #12394]
48056         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48057         characters.  When rounding increased number of integer digits recompute
48058         number of groups.
48059         * stdio-common/tst-grouping.c: New file.
48060         * stdio-common/Makefile: Add rules to build and run tst-grouping.
48061
48062 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
48063
48064         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48065         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
48066
48067         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48068         void.
48069         * bits/select.h: Likewise.
48070
48071 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
48072
48073         * po/ja.po: Update from translation team.
48074
48075 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
48076
48077         [BZ #11155]
48078         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48079         implementation just like for lxstat, fxstatat, et al.
48080
48081 2010-12-27  Jim Meyering  <meyering@redhat.com>
48082
48083         [BZ #12348]
48084         * posix/regexec.c (build_trtable): Return failure indication upon
48085         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
48086
48087 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
48088
48089         [BZ #12201]
48090         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48091         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48092         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48093         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48094
48095         [BZ #12207]
48096         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48097
48098         [BZ #12204]
48099         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48100         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48101
48102 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
48103
48104         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48105         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48106         script has SORT_BY_INIT_PRIORITY.
48107         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48108         NO_CTORS_DTORS_SECTIONS is defined.
48109         * elf/soinit.c: Likewise.
48110         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48111         NO_CTORS_DTORS_SECTIONS is defined.
48112         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48113         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48114         * sysdeps/sh/init-first.c: Likewise.
48115         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48116
48117 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
48118
48119         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48120         always use the slow path.
48121
48122 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
48123
48124         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48125         similar rule which adds the sysdep directories to the header search in
48126         order to pick up the correct platform stackinfo.h.
48127         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48128         perform test if it is, otherwise return successfully without testing.
48129         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48130         DEFAULT_STACK_PERMS define in stackinfo.h.
48131         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48132         defined in stackinfo.h.
48133         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48134         DEFAULT_STACK_PERMS defined in stackinfo.h.
48135         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48136         * sysdeps/ia64/stackinfo.h: Likewise.
48137         * sysdeps/s390/stackinfo.h: Likewise.
48138         * sysdeps/sh/stackinfo.h: Likewise.
48139         * sysdeps/sparc/stackinfo.h: Likewise.
48140         * sysdeps/x86_64/stackinfo.h: Likewise.
48141         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48142         PF_X for powerpc64.  Retain PF_X for powerpc32.
48143
48144 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
48145
48146         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48147         accurately.
48148         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48149         GETDENTS_64BIT_ALIGNED.
48150
48151 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
48152
48153         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48154
48155 2010-12-10  Andreas Schwab  <schwab@redhat.com>
48156
48157         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48158         _GNU_SOURCE.
48159
48160         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48161         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48162         Remove __restrict.
48163         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48164         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48165
48166 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
48167
48168         [BZ #11655]
48169         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48170         are initialized.
48171
48172 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
48173
48174         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48175
48176 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
48177
48178         * po/it.po: Update from translation team.
48179
48180 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
48181
48182         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48183         unused codes.
48184
48185 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
48186
48187         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48188
48189 2010-11-24  Andreas Schwab  <schwab@redhat.com>
48190
48191         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48192         specially.
48193         (gaih_getanswer_slice): Likewise.
48194
48195 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
48196
48197         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48198
48199 2010-05-31  Petr Baudis  <pasky@suse.cz>
48200
48201         [BZ #11149]
48202         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48203         silently even in the chroot mode.
48204
48205 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
48206
48207         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48208         last patch a bit.  Pretty printing
48209
48210 2010-05-31  Petr Baudis <pasky@suse.cz>
48211
48212         [BZ #10085]
48213         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48214         initialization of skip_initgroups_dyn.
48215
48216 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
48217
48218         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48219         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48220
48221 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
48222
48223         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48224
48225 2010-11-11  Andreas Schwab  <schwab@redhat.com>
48226
48227         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48228         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48229         (tst-fnmatch-ENV): Set MALLOC_TRACE.
48230         ($(objpfx)tst-fnmatch-mem): New rule.
48231         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48232         * posix/tst-fnmatch.c (main): Call mtrace.
48233
48234 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
48235
48236         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48237         Support Intel processor model 6 and model 0x2c.
48238
48239 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
48240
48241         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48242           signed comparison.
48243
48244 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
48245
48246         [BZ #12205]
48247         * string/test-strncasecmp.c (check_result): New function.
48248         (do_one_test): Use it.
48249         (check1): New function.
48250         (test_main): Use it.
48251         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48252         Support strcasecmp and strncasecmp.
48253
48254 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
48255
48256         [BZ #12194]
48257         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48258         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48259
48260 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
48261
48262         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48263         IFUNC support.
48264         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48265         memset-x86-64.
48266         * sysdeps/x86_64/multiarch/bzero.S: New file.
48267         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48268         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48269         * sysdeps/x86_64/multiarch/memset.S: New file.
48270         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48271         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48272         Set bit_Prefer_SSE_for_memop for Intel processors.
48273         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48274         Define.
48275         (index_Prefer_SSE_for_memop): Define.
48276         (HAS_PREFER_SSE_FOR_MEMOP): Define.
48277
48278 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
48279
48280         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48281         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48282
48283 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
48284
48285         [BZ #12191]
48286         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48287         (__x86_64_raw_data_cache_size_half): Likewise.
48288         (__x86_64_raw_shared_cache_size): Likewise.
48289         (__x86_64_raw_shared_cache_size_half): Likewise.
48290
48291         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48292         (__x86_64_raw_data_cache_size_half): Likewise.
48293         (__x86_64_raw_shared_cache_size): Likewise.
48294         (__x86_64_raw_shared_cache_size_half): Likewise.
48295         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48296         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48297         and __x86_64_raw_shared_cache_size_half.  Round
48298         __x86_64_data_cache_size_half, __x86_64_data_cache_size
48299         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48300         to multiple of 256 bytes.
48301
48302 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
48303
48304         [BZ #12167]
48305         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48306         of inacessible symlinks.  Verify result of symlink before returning it.
48307         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48308         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48309
48310 2010-10-28  Erich Ritz  <erichritz@gmail.com>
48311
48312         * math/math.h (isinf): Fix typo in comment.
48313
48314 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
48315
48316         * po/da.po: Update from translation team.
48317
48318 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
48319
48320         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48321         is added to the list.
48322
48323 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48324             Ulrich Drepper  <drepper@gmail.com>
48325
48326         * elf/dl-object.c (_dl_new_object): Don't append the new object to
48327         the global list here.  Move code to...
48328         (_dl_add_to_namespace_list): ...here.  New function.
48329         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48330         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48331         * elf/dl-load.c (lose): Don't remove the element from the list.
48332         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48333         (_dl_map_object): Likewise.
48334
48335 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
48336
48337         [BZ #12159]
48338         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48339         into all bytes of SSE register.
48340         Patch by Richard Li <richardpku@gmail.com>.
48341
48342 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
48343
48344         [BZ #12140]
48345         * malloc/malloc.c (_int_free): Fill correct number of bytes when
48346         perturbing.
48347
48348 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
48349
48350         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48351         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48352         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48353         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48355         submachine.
48356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48357
48358 2010-10-22  Andreas Schwab  <schwab@redhat.com>
48359
48360         * include/dlfcn.h (__RTLD_SECURE): Define.
48361         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
48362         mode & __RTLD_SECURE instead.
48363         (open_path): Rename preloaded parameter to secure.
48364         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48365         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48366         * elf/dl-deps.c (openaux): Likewise.
48367         * elf/rtld.c (struct map_args): Remove is_preloaded.
48368         (map_doit): Don't use it.
48369         (dl_main): Likewise.
48370         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48371         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48372
48373 2010-09-09  Andreas Schwab  <schwab@redhat.com>
48374
48375         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48376         (sysd-rules-targets): Remove duplicates.
48377         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48378         rtld-%.$o dependency.
48379
48380 2010-10-18  Andreas Schwab  <schwab@redhat.com>
48381
48382         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48383         _dl_map_object do it.
48384
48385 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
48386
48387         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48388         fast fma builtins, define the macros in the C99 standard.
48389         (FP_FAST_FMAF): Likewise.
48390         (FP_FAST_FMAL): Likewise.
48391         * sysdeps/x86_64/bits/mathdef.h: Likewise.
48392
48393         * bits/mathdef.h: Update copyright year.
48394         * sysdeps/powerpc/bits/mathdef.h: Likewise.
48395
48396 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
48397
48398         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48399         builtins, define the macros in the C99 standard.
48400         (FP_FAST_FMAF): Likewise.
48401         (FP_FAST_FMAL): Likewise.
48402         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48403         multiply/add.
48404         (FP_FAST_FMAF): Likewise.
48405
48406 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
48407
48408         [BZ #3268]
48409         * math/libm-test.inc (fma_test): Some new testcases.
48410         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48411         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48412         y and infinite z.  Do multiplication by C already in long double.
48413         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48414         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48415         y and infinite z.  Do bitwise or of inexact bit into u.d.
48416         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48417         * sysdeps/i386/fpu/s_fmaf.S: Removed.
48418         * sysdeps/i386/fpu/s_fma.S: Removed.
48419         * sysdeps/i386/fpu/s_fmal.S: Removed.
48420
48421 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
48422
48423         [BZ #3268]
48424         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48425         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48426         computation is not scheduled after fetestexcept.  Fix value
48427         of minimum denormal long double.
48428
48429 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
48430
48431         [BZ #3268]
48432         * math/libm-test.inc (fma_test): Add some more tests.
48433         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48434         correctly.
48435
48436 2010-10-15  Andreas Schwab  <schwab@redhat.com>
48437
48438         * scripts/data/localplt-s390-linux-gnu.data: New file.
48439         * scripts/data/localplt-s390x-linux-gnu.data: New file.
48440
48441 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
48442
48443         [BZ #3268]
48444         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48445         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48446         instead of dbl-64.
48447         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48448         inlines.
48449         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48450         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48451         if one of x and y is very large and the other is subnormal.
48452         * sysdeps/s390/fpu/s_fmaf.c: New file.
48453         * sysdeps/s390/fpu/s_fma.c: New file.
48454         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48455         * sysdeps/powerpc/fpu/s_fma.S: New file.
48456         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48457         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48458         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48459
48460 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
48461
48462         [BZ #3268]
48463         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48464         fma tests.
48465         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48466         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48467         * sysdeps/i386/i686/multiarch/s_fma.c: Include
48468         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48469         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48470         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48471         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48472
48473 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
48474
48475         [BZ #12078]
48476         * posix/regcomp.c (parse_branch): One more memory leak plugged.
48477         * posix/bug-regex31.input: Add test case.
48478
48479 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
48480
48481         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48482         * posix/bug-regex31.input: New file.
48483
48484         [BZ #12078]
48485         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48486         (parse_sub_exp): Fix last change, use postorder.
48487
48488         * posix/bug-regex31.c: New file.
48489         * posix/Makefile: Add rules to build and run bug-regex31.
48490
48491         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48492
48493         [BZ #12078]
48494         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48495
48496         [BZ #12108]
48497         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48498         to have entries in sys_siglist.
48499
48500         [BZ #12093]
48501         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48502         be NULL.
48503
48504 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
48505
48506         [BZ #3268]
48507         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48508         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48509         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48510         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48511         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48512         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48513         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48514         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48515         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48516         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48517         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48518         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48519         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48520         * math/ftestexcept.c (fetestexcept): Likewise.
48521         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48522         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48523         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48524         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48525         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48526         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48527         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48528
48529 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
48530
48531         [BZ #12107]
48532         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48533         newline.
48534
48535 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
48536
48537         * string/bug-strstr1.c: New file.
48538         * string/Makefile: Add rules to build and run bug-strstr1.
48539
48540 2010-10-05  Eric Blake  <eblake@redhat.com>
48541
48542         [BZ #12092]
48543         * string/str-two-way.h (two_way_long_needle): Always clear memory
48544         when skipping input due to the shift table.
48545
48546 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
48547
48548         [BZ #12005]
48549         * malloc/mcheck.c: Handle large requests.
48550
48551         [BZ #12077]
48552         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48553         for strncmp and strncasecmp.
48554         * string/stratcliff.c: Add tests for strcmp and strncmp.
48555         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48556
48557 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
48558
48559         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48560         __set_fpscr.
48561
48562 2010-09-30  Andreas Jaeger  <aj@suse.de>
48563
48564         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48565         (CGROUP_SUPER_MAGIC): Define.
48566         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48567         Handle btrfs and cgroup file systems.
48568         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48569         Likewise.
48570
48571 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
48572
48573         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48574         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48575
48576 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48577
48578         [BZ #12067]
48579         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48580         trying to locate the ELF header.
48581
48582 2010-09-27  Andreas Schwab  <schwab@redhat.com>
48583
48584         [BZ #11611]
48585         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48586         Mask out sign-bit copies when constructing f_fsid.
48587
48588 2010-09-24  Petr Baudis <pasky@suse.cz>
48589
48590         * debug/stack_chk_fail_local.c: Add missing licence exception.
48591         * debug/warning-nop.c: Likewise.
48592
48593 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
48594
48595         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48596         implementing getdents64 using getdents syscall, set d_type if
48597         __ASSUME_GETDENTS32_D_TYPE.
48598
48599 2010-09-16  Andreas Schwab  <schwab@redhat.com>
48600
48601         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48602         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48603
48604 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
48605
48606         [BZ #12037]
48607         * posix/unistd.h: Undo change of feature selection for ftruncate from
48608         2010-01-11.
48609
48610 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
48611
48612         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48613         detection.
48614
48615 2010-09-20  Andreas Schwab  <schwab@redhat.com>
48616
48617         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48618         fanotify_mark.
48619         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48620
48621 2010-09-14  Andreas Schwab  <schwab@redhat.com>
48622
48623         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48624         variables after CHECK_SP call.
48625         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48626
48627 2010-09-13  Andreas Schwab  <schwab@redhat.com>
48628             Ulrich Drepper  <drepper@redhat.com>
48629
48630         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48631         re-relocationg ld.so.
48632         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48633         _dl_init_paths call.
48634         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
48635         here anymore.
48636
48637 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
48638
48639         * resolv/res_init.c (__res_vinit): Count the default server we added.
48640
48641 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
48642             Ulrich Drepper  <drepper@redhat.com>
48643
48644         [BZ #11968]
48645         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48646         (____longjmp_chk): Use %ebx for saving value across system call.
48647         Add unwind info.
48648
48649 2010-09-06  Andreas Schwab  <schwab@redhat.com>
48650
48651         * manual/Makefile: Don't mix pattern rules with normal rules.
48652
48653 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
48654
48655         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48656         operation.
48657         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48658         * libio/iofopncook.c (_IO_cookie_init): Likewise.
48659         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48660         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48661         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48662         Likewise.
48663
48664 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
48665
48666         [BZ #11979]
48667         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48668         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48669
48670 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
48671
48672         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48673         * sysdeps/x86_64/addmul_1.S: Likewise.
48674         * sysdeps/x86_64/lshift.S: Likewise.
48675         * sysdeps/x86_64/mul_1.S: Likewise.
48676         * sysdeps/x86_64/rshift.S: Likewise.
48677         * sysdeps/x86_64/sub_n.S: Likewise.
48678         * sysdeps/x86_64/submul_1.S: Likewise.
48679
48680 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48681
48682         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48683         Define __sched_param instead of SCHED_* and sched_param when
48684         <bits/sched.h> is included with __need_schedparam defined.
48685         * bits/sched.h [__need_schedparam]
48686         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48687         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48688         (__defined_schedparam): Define to 1.
48689         (__sched_param): New structure, identical to sched_param.
48690         (__need_schedparam): Undefine.
48691
48692 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
48693
48694         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48695         (epoll_create1): Declare.
48696
48697         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48698
48699 2010-08-31  Andreas Schwab  <schwab@redhat.com>
48700
48701         [BZ #7066]
48702         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48703         shifting retval into place.
48704
48705 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
48706
48707         * nis/rpcsvc/nis.h: Update copyright notice.
48708         * nis/rpcsvc/nis.x: Likewise.
48709         * nis/rpcsvc/nis_callback.h: Likewise.
48710         * nis/rpcsvc/nis_callback.x: Likewise.
48711         * nis/rpcsvc/nis_object.x: Likewise.
48712         * nis/rpcsvc/nis_tags.h: Likewise.
48713         * nis/rpcsvc/yp.h: Likewise.
48714         * nis/rpcsvc/yp.x: Likewise.
48715         * nis/rpcsvc/ypupd.h: Likewise.
48716         * nis/yp_xdr.c: Likewise.
48717         * nis/ypupdate_xdr.c: Likewise.
48718
48719         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
48720         mainly the body of pmap_getport.  Add parameters to specify timeouts.
48721         (pmap_getport): Use __libc_rpc_getport.
48722         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48723         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48724         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48725
48726 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
48727
48728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48729         fanotify_mark.
48730
48731 2010-08-27  Roland McGrath  <roland@redhat.com>
48732
48733         * sysdeps/i386/i686/multiarch/Makefile
48734         (CFLAGS-varshift.c): New variable.
48735
48736 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
48737
48738         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48739         * sysdeps/i386/i686/multiarch/varshift.c: New file.
48740
48741         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48742
48743         * sysdeps/x86_64/strlen.S: Minimal code improvement.
48744
48745 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
48746
48747         * sysdeps/x86_64/strlen.S: Unroll the loop.
48748         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48749         strlen-sse2 strlen-sse2-bsf.
48750         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48751         __strlen_no_bsf if bit_Slow_BSF is set.
48752         (__strlen_sse42): Removed.
48753         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48754         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48755
48756 2010-08-25  Roland McGrath  <roland@redhat.com>
48757
48758         * sysdeps/x86_64/multiarch/varshift.S: File removed.
48759         * sysdeps/x86_64/multiarch/varshift.c: New file.
48760         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48761         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48762         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48763         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48764
48765 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
48766
48767         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48768         strlen-sse2 strlen-sse2-bsf.
48769         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48770         __strlen_sse2_bsf if bit_Slow_BSF is unset.
48771         (__strlen_sse2): Removed.
48772         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48773         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48774         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48775         bit_Slow_BSF for Atom.
48776         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48777         (index_Slow_BSF): Define.
48778         (HAS_SLOW_BSF): Define.
48779
48780 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
48781
48782         [BZ #10851]
48783         * resolv/res_init.c (__res_vinit): When no server address at all
48784         is given default to loopback.
48785
48786 2010-08-24  Roland McGrath  <roland@redhat.com>
48787
48788         * configure.in: Remove config-name.h generation.
48789         * configure: Regenerated.
48790         * config-name.in: File removed.
48791         * scripts/config-uname.sh: New file.
48792         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48793         ($(objdir)config-name.h): New target.
48794
48795         * sunrpc/rpc_parse.h: Avoid nested comment.
48796
48797 2010-08-24  Richard Henderson  <rth@redhat.com>
48798             Ulrich Drepper  <drepper@redhat.com>
48799             H.J. Lu  <hongjiu.lu@intel.com>
48800
48801         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48802         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48803         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48804         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
48805         _mm_alignr_epi8 with _mm_loadu_si128.
48806         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48807         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48808         (__m128i_shift_right): Removed.
48809         * sysdeps/i386/i686/multiarch/varshift.h: New file.
48810         * sysdeps/i386/i686/multiarch/varshift.S: New file.
48811         * sysdeps/x86_64/multiarch/varshift.h: New file.
48812         * sysdeps/x86_64/multiarch/varshift.S: New file.
48813
48814 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
48815
48816         * configure.in: Move assembler checks to before sysdep dir checking.
48817
48818 2010-08-20  Petr Baudis  <pasky@suse.cz>
48819
48820         * LICENSES: Sync the sunrpc license.
48821
48822 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
48823
48824         * sunrpc/auth_des.c: Update copyright notice once again.
48825         * sunrpc/auth_none.c: Likewise.
48826         * sunrpc/auth_unix.c: Likewise.
48827         * sunrpc/authdes_prot.c: Likewise.
48828         * sunrpc/authuxprot.c: Likewise.
48829         * sunrpc/bindrsvprt.c: Likewise.
48830         * sunrpc/clnt_gen.c: Likewise.
48831         * sunrpc/clnt_perr.c: Likewise.
48832         * sunrpc/clnt_raw.c: Likewise.
48833         * sunrpc/clnt_simp.c: Likewise.
48834         * sunrpc/clnt_tcp.c: Likewise.
48835         * sunrpc/clnt_udp.c: Likewise.
48836         * sunrpc/clnt_unix.c: Likewise.
48837         * sunrpc/des_crypt.c: Likewise.
48838         * sunrpc/des_soft.c: Likewise.
48839         * sunrpc/get_myaddr.c: Likewise.
48840         * sunrpc/getrpcport.c: Likewise.
48841         * sunrpc/key_call.c: Likewise.
48842         * sunrpc/key_prot.c: Likewise.
48843         * sunrpc/openchild.c: Likewise.
48844         * sunrpc/pm_getmaps.c: Likewise.
48845         * sunrpc/pm_getport.c: Likewise.
48846         * sunrpc/pmap_clnt.c: Likewise.
48847         * sunrpc/pmap_prot.c: Likewise.
48848         * sunrpc/pmap_prot2.c: Likewise.
48849         * sunrpc/pmap_rmt.c: Likewise.
48850         * sunrpc/rpc/auth.h: Likewise.
48851         * sunrpc/rpc/auth_unix.h: Likewise.
48852         * sunrpc/rpc/clnt.h: Likewise.
48853         * sunrpc/rpc/des_crypt.h: Likewise.
48854         * sunrpc/rpc/key_prot.h: Likewise.
48855         * sunrpc/rpc/netdb.h: Likewise.
48856         * sunrpc/rpc/pmap_clnt.h: Likewise.
48857         * sunrpc/rpc/pmap_prot.h: Likewise.
48858         * sunrpc/rpc/pmap_rmt.h: Likewise.
48859         * sunrpc/rpc/rpc.h: Likewise.
48860         * sunrpc/rpc/rpc_des.h: Likewise.
48861         * sunrpc/rpc/rpc_msg.h: Likewise.
48862         * sunrpc/rpc/svc.h: Likewise.
48863         * sunrpc/rpc/svc_auth.h: Likewise.
48864         * sunrpc/rpc/types.h: Likewise.
48865         * sunrpc/rpc/xdr.h: Likewise.
48866         * sunrpc/rpc_clntout.c: Likewise.
48867         * sunrpc/rpc_cmsg.c: Likewise.
48868         * sunrpc/rpc_common.c: Likewise.
48869         * sunrpc/rpc_cout.c: Likewise.
48870         * sunrpc/rpc_dtable.c: Likewise.
48871         * sunrpc/rpc_hout.c: Likewise.
48872         * sunrpc/rpc_main.c: Likewise.
48873         * sunrpc/rpc_parse.c: Likewise.
48874         * sunrpc/rpc_parse.h: Likewise.
48875         * sunrpc/rpc_prot.c: Likewise.
48876         * sunrpc/rpc_sample.c: Likewise.
48877         * sunrpc/rpc_scan.c: Likewise.
48878         * sunrpc/rpc_scan.h: Likewise.
48879         * sunrpc/rpc_svcout.c: Likewise.
48880         * sunrpc/rpc_tblout.c: Likewise.
48881         * sunrpc/rpc_util.c: Likewise.
48882         * sunrpc/rpc_util.h: Likewise.
48883         * sunrpc/rpcinfo.c: Likewise.
48884         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48885         * sunrpc/rpcsvc/key_prot.x: Likewise.
48886         * sunrpc/rpcsvc/klm_prot.x: Likewise.
48887         * sunrpc/rpcsvc/mount.x: Likewise.
48888         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48889         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48890         * sunrpc/rpcsvc/rex.x: Likewise.
48891         * sunrpc/rpcsvc/rstat.x: Likewise.
48892         * sunrpc/rpcsvc/rusers.x: Likewise.
48893         * sunrpc/rpcsvc/sm_inter.x: Likewise.
48894         * sunrpc/rpcsvc/spray.x: Likewise.
48895         * sunrpc/rpcsvc/yppasswd.x: Likewise.
48896         * sunrpc/rtime.c: Likewise.
48897         * sunrpc/svc.c: Likewise.
48898         * sunrpc/svc_auth.c: Likewise.
48899         * sunrpc/svc_authux.c: Likewise.
48900         * sunrpc/svc_raw.c: Likewise.
48901         * sunrpc/svc_run.c: Likewise.
48902         * sunrpc/svc_simple.c: Likewise.
48903         * sunrpc/svc_tcp.c: Likewise.
48904         * sunrpc/svc_udp.c: Likewise.
48905         * sunrpc/svc_unix.c: Likewise.
48906         * sunrpc/svcauth_des.c: Likewise.
48907         * sunrpc/xcrypt.c: Likewise.
48908         * sunrpc/xdr.c: Likewise.
48909         * sunrpc/xdr_array.c: Likewise.
48910         * sunrpc/xdr_float.c: Likewise.
48911         * sunrpc/xdr_mem.c: Likewise.
48912         * sunrpc/xdr_rec.c: Likewise.
48913         * sunrpc/xdr_ref.c: Likewise.
48914         * sunrpc/xdr_sizeof.c: Likewise.
48915         * sunrpc/xdr_stdio.c: Likewise.
48916
48917         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48918         handling.
48919
48920 2010-08-19  Andreas Schwab  <schwab@redhat.com>
48921
48922         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48923
48924 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
48925
48926         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48927         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48928         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48929         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48930         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48931         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48932         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48933         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48934         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48935         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48936         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48937         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48938         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48939         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48940
48941 2010-07-26  Anton Blanchard  <anton@samba.org>
48942
48943         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48944         * malloc/arena.c (heap_trim): Likewise.
48945
48946 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
48947
48948         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48949         here.  Not...
48950         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48951         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48952
48953 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
48954
48955         * sysdeps/i386/elf/Makefile: New file.
48956
48957 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
48958
48959         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48960         from fanotify_init.
48961         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48962         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48963
48964 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
48965
48966         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48967         of strncasecmp_l.
48968         * sysdeps/multiarch/strcmp.S: Likewise.
48969
48970 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
48971
48972         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48973         strncase_l-nonascii.
48974         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48975         Add strncase_l-ssse3.
48976         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48977         * sysdeps/x86_64/strcmp.S: Likewise.
48978         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48979         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48980         * sysdeps/x86_64/strncase.S: New file.
48981         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48982         * sysdeps/x86_64/strncase_l.S: New file.
48983         * string/Makefile (strop-tests): Add strncasecmp.
48984         * string/test-strncasecmp.c: New file.
48985
48986         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48987         warning.
48988
48989         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48990         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48991
48992 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
48993
48994         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48995
48996 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
48997
48998         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48999         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49000         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49001
49002 2010-05-01  Alan Modra  <amodra@gmail.com>
49003
49004         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49005         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49006         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49007         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49008         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49009         tidying.  Don't tail-call __sigjmp_save for static lib.
49010         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49011         save location.
49012         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49013         (CALL_MCOUNT): Add eh info, and nop after bl.
49014         (TAIL_CALL_SYSCALL_ERROR): New macro.
49015         (PSEUDO_RET): Use it.
49016         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49017         Correct save location of integer regs and cr.
49018         (_dl_profile_resolve): Correct cr save location.  Delete nops
49019         after bl when SHARED.  Reduce cfi size a little by better
49020         placement of cfi directives.
49021         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49022         make a stack frame.  Instead use parm save area as a temp.
49023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49024         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
49025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49026         Don't make a stack frame for parent, use parm save area.
49027         Increase child stack frame to 112 bytes.  Don't save unused reg,
49028         and adjust reg usage.  Set up cfi on error recovery and
49029         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49031         (__makecontext): Add dummy nop after jump to exit.
49032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49033         Use correct parm save area and cr save, reduce stack frame.
49034         Correct cfi for possible PSEUDO_RET frame setup.
49035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49036         Branch to local label emitted by PSEUDO_RET rather than
49037         __syscall_error.
49038
49039 2010-08-12  Andreas Schwab  <schwab@redhat.com>
49040
49041         [BZ #11904]
49042         * locale/programs/locale.c (print_assignment): New function.
49043         (show_locale_vars): Use it.
49044
49045 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
49046
49047         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49048         field.
49049         (struct statfs64): Likewise.
49050         (_STATFS_F_FLAGS): Define.
49051         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49052         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49053         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49054         (ST_VALID): Define locally.
49055         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49056         __statvfs_getflags, use the provided value.
49057         * sysdeps/unix/sysv/linux/kernel-features.h: Define
49058         __ASSUME_STATFS_F_FLAGS.
49059
49060         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49061
49062         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49063         Add sys/fanotify.h.
49064         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49065         fanotify_mask for GLIBC_2.13.
49066         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49067         fanotify_init and fanotify_mark.
49068         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49069         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49070
49071         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49072         Add prlimit.
49073         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49074         prlimit64 for GLIBC_2.13.
49075         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49076         prlimit64.
49077         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49078         syscall.
49079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49080         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49081         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49082         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49083         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
49084         add prlimit alias.
49085         * sysdeps/unix/sysv/linux/prlimit.c: New file.
49086
49087         [BZ #11903]
49088         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49089         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49090
49091         * nss/Makefile: Add rules to build and run tst-nss-test1.
49092         * shlib-versions: Add entry for libnss_test1.
49093         * nss/nss_test1.c: New file.
49094         * nss/tst-nss-test1.c: New file.
49095
49096         * nss/nsswitch.c (__nss_database_custom): Define new variable.
49097         (__nss_configure_lookup): Set appropriate entry in
49098         __nss_configure_lookup to true.
49099         * nss/nsswitch.h: Define enum with indeces of databases in
49100         databases and __nss_database_custom arrays.  Declare
49101         __nss_database_custom.
49102         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49103         to avoid using nscd when custom rules are installed.
49104         * nss/getXXbyYY_r.c: Likewise.
49105         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49106
49107         * nss/nss_files/files-parse.c: Whitespace fixes.
49108
49109 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
49110
49111         [BZ #11883]
49112         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49113         * posix/fnmatch_loop.c: Likewise.
49114
49115 2010-07-17  Andi Kleen  <ak@linux.intel.com>
49116
49117         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49118         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49119         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49120         * Versions.def [GLIBC_2.13]: Add.
49121
49122 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
49123
49124         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49125         Also fail if tpwd after pwuid call is NULL.
49126
49127 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49128
49129         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49130         when converting to ms.
49131
49132 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49133
49134         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49135         EOPNOTSUPP errors with ENOTTY.
49136         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49137         EOPNOTSUPP errors with ENOTTY.
49138
49139 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
49140
49141         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49142         Add strcasecmp_l-ssse3.
49143         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49144         strcasecmp.
49145         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49146         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49147         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49148
49149 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
49150
49151         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49152
49153         * string/Makefile (strop-tests): Add strcasecmp.
49154         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49155         strcasecmp_l-nonascii.
49156         (gen-as-const-headers): Add locale-defines.sym.
49157         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49158         * sysdeps/x86_64/strcasecmp.S: New file.
49159         * sysdeps/x86_64/strcasecmp_l.S: New file.
49160         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49161         * sysdeps/x86_64/locale-defines.sym: New file.
49162         * string/test-strcasecmp.c: New file.
49163
49164         * string/test-strcasestr.c: Test both ends of the range of characters.
49165         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49166
49167 2010-07-29  Roland McGrath  <roland@redhat.com>
49168
49169         [BZ #11856]
49170         * manual/locale.texi (Yes-or-No Questions): Fix example code.
49171
49172 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
49173
49174         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49175         for ld.so.
49176
49177 2010-07-27  Andreas Schwab  <schwab@redhat.com>
49178
49179         * manual/memory.texi (Malloc Tunable Parameters): Document
49180         M_PERTURB.
49181
49182 2010-07-26  Roland McGrath  <roland@redhat.com>
49183
49184         [BZ #11840]
49185         * configure.in (-fgnu89-inline check): Set and substitute
49186         gnu89_inline, not libc_cv_gnu89_inline.
49187         * configure: Regenerated.
49188         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49189
49190 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
49191
49192         * string/test-strnlen.c: New file.
49193         * string/Makefile (strop-tests): Add strnlen.
49194         * string/tester.c (test_strnlen): Add a few more test cases.
49195         * string/tst-strlen.c: Better error reporting.
49196
49197         * sysdeps/x86_64/strnlen.S: New file.
49198
49199 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
49200
49201         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49202         lower-latency instructions.
49203
49204 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
49205
49206         * string/test-strcasestr.c: New file.
49207         * string/test-strstr.c: New file.
49208         * string/Makefile (strop-tests): Add strstr and strcasestr.
49209         * string/str-two-way.h: Don't undefine MAX.
49210         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49211
49212 2010-07-21  Andreas Schwab  <schwab@redhat.com>
49213
49214         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49215         strcasestr-nonascii.
49216         (CFLAGS-strcasestr-nonascii.c): Define.
49217         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49218         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49219         Remove unused attribute.
49220
49221 2010-07-20  Roland McGrath  <roland@redhat.com>
49222
49223         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49224         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
49225         ld.so.cache was broken.  With it, there is no way to disable dsocaps
49226         like LD_HWCAP_MASK can disable hwcaps.
49227
49228 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
49229
49230         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49231
49232 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
49233
49234         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49235         call in strcasestr.
49236         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49237         __strcasestr_sse42_nonascii.
49238         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49239         strcasestr-nonascii.c.
49240         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49241
49242 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
49243
49244         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49245         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49246         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49247         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49248
49249 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
49250
49251         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49252         fcntl.
49253
49254 2010-07-06  Andreas Schwab  <schwab@redhat.com>
49255
49256         [BZ #11577]
49257         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49258         dl_signal_cerror.
49259
49260 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
49261
49262         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49263         _PC_PIPE_BUF using F_GETPIPE_SZ.
49264
49265 2010-07-05  Roland McGrath  <roland@redhat.com>
49266
49267         * manual/arith.texi (Rounding Functions): Fix rint description
49268         implicit in round description.
49269
49270 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
49271
49272         * elf/Makefile: Fix linking for a few tests to make recent linker
49273         happy.
49274
49275 2010-06-30  Andreas Schwab  <schwab@redhat.com>
49276
49277         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49278         $(common-objpfx)libc_nonshared.a.
49279
49280 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
49281
49282         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49283         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49284         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49285         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49286         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49287         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49288         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49289         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49304         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49305         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49306         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49307         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49308         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49309         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49310         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49311         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49312         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49313         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49314         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49315         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49330
49331 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
49332
49333         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49334         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
49335         * string/memmove.c (memmove): Renamed to ...
49336         (MEMMOVE): ...this.  Default to memmove.
49337         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49338         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49339         (END_CHK): Define.
49340         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49341         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49342         mempcpy-ssse3-back memmove-ssse3-back.
49343         * sysdeps/x86_64/multiarch/bcopy.S: New file .
49344         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49345         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49346         * sysdeps/x86_64/multiarch/memcpy.S: New file.
49347         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49348         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49349         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49350         * sysdeps/x86_64/multiarch/memmove.c: New file.
49351         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49352         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49353         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49354         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49355         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49356         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49357         Define.
49358         (index_Fast_Copy_Backward): Define.
49359         (HAS_ARCH_FEATURE): Define.
49360         (HAS_FAST_REP_STRING): Define.
49361         (HAS_FAST_COPY_BACKWARD): Define.
49362
49363 2010-06-21  Andreas Schwab  <schwab@redhat.com>
49364
49365         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49366         Restore proper fallback handling.
49367
49368 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
49369
49370         [BZ #11701]
49371         * posix/group_member.c (__group_member): Correct checking loop.
49372
49373         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49374         OOM in getpwuid_r correctly.  Return error number when the caller
49375         should return, otherwise -1.
49376         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49377         call returning > 0 value.
49378         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49379
49380 2010-06-07  Andreas Schwab  <schwab@redhat.com>
49381
49382         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49383         libc_nonshared.a from targets in modules-names.
49384
49385 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
49386
49387         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49388         requires it.
49389
49390 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
49391
49392         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49393         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49394         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49395         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49396
49397 2010-06-02  Andreas Schwab  <schwab@redhat.com>
49398
49399         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49400
49401 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
49402
49403         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49404         and F_GETPIPE_SZ.
49405         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49406         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49407         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49408         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49409         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49410         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49411
49412 2010-06-14  Roland McGrath  <roland@redhat.com>
49413
49414         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49415
49416 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
49417
49418         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49419         __REDIRECT followed by __THROW.
49420         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49421         * posix/getopt.h (getopt): Likewise.
49422
49423 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
49424
49425         * hurd/lookup-at.c (__file_name_lookup_at): Accept
49426         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
49427         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49428         in AT_FLAGS.
49429         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49430         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49431
49432 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
49433
49434         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49435
49436 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
49437
49438         [BZ #11640]
49439         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49440         Properly check family and model.
49441
49442 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
49443
49444         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49445
49446 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
49447
49448         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49449
49450 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
49451
49452         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49453         symbol reference.
49454
49455 2010-05-19  Andreas Schwab  <schwab@redhat.com>
49456
49457         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49458         symbol reference.
49459
49460 2010-05-21  Andreas Schwab  <schwab@redhat.com>
49461
49462         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49463         and internal_recvmmsg.
49464         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49465         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49466         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49467         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49468
49469         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49470         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49471         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49472
49473 2010-05-20  Andreas Schwab  <schwab@redhat.com>
49474
49475         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49476
49477 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
49478
49479         POWER7 optimizations.
49480         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49481         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49482
49483 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
49484
49485         * version.h: Update for 2.13 development version.
49486
49487 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
49488
49489         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49490         exceptions.  Return 0.
49491
49492 2010-05-07  Roland McGrath  <roland@redhat.com>
49493
49494         * elf/ldconfig.c (main): Add a const.
49495
49496 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
49497
49498         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49499         (args_options): Add no-idn option.
49500         (ahosts_keys_int): Add idn_flags to ai_flags.
49501         (parse_option): Handle 'i' option to clear idn_flags.
49502
49503         * malloc/malloc.c (_int_free): Possible race in the most recently
49504         added check.  Only act on the data if no current modification
49505         happened.
49506
49507 See ChangeLog.17 for earlier changes.