alpha: Fix exception raising from soft-fp
[platform/upstream/glibc.git] / ChangeLog
1 2014-08-05  Richard Henderson  <rth@redhat.com>
2
3         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
4         exceptions.
5         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
6         Add fraiseexcpt.
7         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8         Use __feraiseexcept.
9         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
10         Protect libm symbols with IS_IN_libm.
11
12         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
13
14 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
15
16         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
17
18 2014-08-04  Will Newton  <will.newton@linaro.org>
19
20         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
21         file.
22
23 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
24
25         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
26         variants for each function.
27
28 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29
30         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
31         appended ...
32         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
33         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
34         appended ...
35         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
36         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
37         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
38         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
39         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
40         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
41         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
42         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
43         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
44         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
45         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
46         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
47         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
48         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
49         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
50         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
51         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
52         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
53         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
54         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
55         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
56         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
57         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
58         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
59         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
60         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
61         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
62         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
63         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
64         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
65         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
66         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
67         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
68         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
69         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
70         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
71         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
72         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
73         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
74         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
75         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
76         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
77         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
78         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
79         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
80         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
81         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
82         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
83         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
84         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
85         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
86         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
87         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
88         Update #include.
89         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
90         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
91
92 2014-08-04  Roland McGrath  <roland@hack.frob.com>
93
94         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
95         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
96         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
97         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
98         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
99         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
100
101 2014-08-04  Roland McGrath  <roland@hack.frob.com>
102
103         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
104         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
105         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
106         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
107
108 2014-08-04  Roland McGrath  <roland@hack.frob.com>
109
110         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
111         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
112         (__libc_vfork): Define function under this name.
113         (__vfork): Define as an alias.
114         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
115         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
116
117 2014-08-04  Roland McGrath  <roland@hack.frob.com>
118
119         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
120         that was previously under [RESET_PID].
121         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
122
123 2014-08-04  Andreas Schwab  <schwab@suse.de>
124
125         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
126
127 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
128
129         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
130         (main): Likewise.
131
132 2014-08-01  Roland McGrath  <roland@hack.frob.com>
133
134         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
135
136 2014-08-01  Richard Henderon  <rth@redhat.com>
137
138         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
139         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
140         typo in exact zero test.
141         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
142         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
143         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
144
145 2014-08-01  Roland McGrath  <roland@hack.frob.com>
146
147         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
148         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
149         * sysdeps/arm/sysdep.h: ... here.
150         [!__ASSEMBLER__]: Include <stdint.h>.
151
152 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
153
154         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
155         (HAVE_WCTYPE_H): Likewise.
156         (HAVE_ISWCTYPE): Likewise.
157         (ENABLE_NLS): Likewise.
158         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
159         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
160
161         * posix/regex_internal.c: Check if DEBUG is defined and is
162         set.
163
164         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
165         (HAVE_MBSRTOWCS): Likewise.
166         * posix/fnmatch.c: Include string.h unconditionally.
167
168 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
169
170         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
171         reversal.
172
173 2014-07-31  Roland McGrath  <roland@hack.frob.com>
174
175         * sysdeps/generic/safe-fatal.h: New file.
176         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
177         * nptl/forward.c: Include it.
178         (__pthread_unwind): Use __safe_fatal as default action, rather
179         than a bogus use of INTERNAL_SYSCALL that could never work.
180
181         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
182         * configure.ac (libc_cv_builtin_trap): New test.
183         * configure: Regenerated.
184         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
185         (ABORT_INSTRUCTION): Define using __builtin_trap.
186
187         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
188         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
189         * sysdeps/nptl/nptl-signals.h: New file.
190         * nptl/pthreadP.h: Include <nptl-signals.h>.
191
192 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
193
194         * sysdeps/s390/s390-64/utf16-utf32-z9.c
195         (ONE_DIRECTION): Define.
196         * sysdeps/s390/s390-64/utf8-utf16-z9.c
197         (ONE_DIRECTION): Define.
198         * sysdeps/s390/s390-64/utf8-utf32-z9.c
199         (ONE_DIRECTION): Define.
200
201 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
202
203         * sysdeps/s390/Makefile: Delete file.
204         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
205         * sysdeps/s390/__longjmp.c: Delete file.
206         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
207         Remove fields __flags and __reserved.
208         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
209         and add versioning.
210         * sysdeps/s390/rtld-__longjmp.c: Delete file.
211         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
212         * sysdeps/s390/rtld-setjmp.S: Likewise.
213         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
214         * sysdeps/s390/s390-32/__longjmp.c: ... here.
215         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
216         * sysdeps/s390/s390-32/setjmp.S: ... here.
217         Add versioning.
218         (__sigsetjmp): Remove setting __flags field.
219         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
220         * sysdeps/s390/s390-64/__longjmp.c: ... here.
221         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
222         * sysdeps/s390/s390-64/setjmp.S: ... here.
223         Add versioning.
224         (__sigsetjmp): Remove setting __flags field.
225         * sysdeps/s390/setjmp.S: Delete file.
226         * sysdeps/s390/sigjmp.c: Likewise.
227         * sysdeps/s390/v1-longjmp.c: Likewise.
228         * sysdeps/s390/v1-setjmp.h: Likewise.
229         * sysdeps/s390/v1-sigjmp.c: Likewise.
230         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
231         Remove v1-longjmp_chk.
232         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
233         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
234         Include debug/longjmp_chk.c and add versioning.
235         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
236         Include nptl/pt-longjmp.c and add versioning.
237         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
238         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
239         Include __longjmp.c.
240         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
241         Move to ...
242         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
243         (__getcontext): Remove setting __flags field.
244         Add versioning.
245         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
246         Don't restore upper high grps.
247         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
248         Likewise.
249         (__swapcontext): Remove setting uc_flags field.
250         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
251         Delete file.
252         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
253         Include __longjmp.c.
254         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
255         Move to ...
256         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
257         (__getcontext): Remove setting __flags field.
258         Add versioning.
259         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
260         (__swapcontext): Remove setting uc_flags field.
261         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
262         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
263         Remove fields uc_high_gprs and __reserved.
264         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
265         New file with reverted content.
266         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
267         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
268         Regenerated.
269         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
270         Regenerated.
271
272 2014-07-31  Andreas Schwab  <schwab@suse.de>
273
274         * config.h.in (HAVE_IFUNC): Define to 0.
275         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
276         definedness.
277
278 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
279
280         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
281         memmove-avx-unaligned, memcpy-avx-unaligned and
282         mempcpy-avx-unaligned.
283         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
284         Add tests for AVX memcpy functions.
285         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
286         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
287         memcpy_chk.
288         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
289         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
290         memmove_chk.
291         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
292         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
293         mempcpy_chk.
294         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
295         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
296         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
297
298 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
299
300         [BZ #17213]
301         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
302         powerpc64le.
303
304 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
305
306         [BZ #16839]
307         * manual/llio.texi: Add section about open file description locks.
308         * manual/examples/ofdlocks.c: Example of open file description
309         lock usage.
310         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
311         F_OFD_SETLK, and F_OFD_SETLKW.
312
313 2014-07-23  Allan McRae  <allan@archlinux.org>
314
315         * po/es.po: Update Spanish translation from translation project.
316
317 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
318
319         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
320
321 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
322
323         [BZ #17078]
324         * sysdeps/arm/dl-machine.h (elf_machine_rela)
325         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
326         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
327
328 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
329
330         [BZ #17088]
331         * math/fesetenv.c (__fesetenv)
332         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
333         * math/feupdateenv.c (__feupdateenv)
334         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
335
336         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
337         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
338         (__ASSUME_SOCKETCALL): Do not define.
339
340         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
341         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
342         (__ASSUME_SOCKETCALL): Do not define.
343         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
344         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
345         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
346         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
347         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
348         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
349         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
350         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
351
352         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
353         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
354         (__ASSUME_SOCKETCALL): Do not define.
355         (__ASSUME_IPC64): Define unconditionally.
356         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
357         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
358         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
359         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
360         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
361         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
362         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
363         Likewise.
364
365         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
366         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
367         (__ASSUME_SOCKETCALL): Do not define.
368         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
369         (__ASSUME_FUTEX_LOCK_PI): Likewise.
370         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
371         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
372         (__ASSUME_REQUEUE_PI): Define unconditionally.
373         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
374         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
375         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
376         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
377         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
378         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
379
380         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
381         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
382         (__ASSUME_SOCKETCALL): Do not define.
383         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
384         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
385         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
386         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
387         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
388         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
389
390         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
391         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
392         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
393         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
394         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
395         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
396         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
397         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
398         (__ASSUME_GETCPU_SYSCALL): Likewise.
399
400         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
401         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
402         cases for individual architectures.
403         * sysdeps/gnu/configure: Regenerated.
404         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
405         LIBC_SLIBDIR_RTLDDIR.
406         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
407         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
408         LIBC_SLIBDIR_RTLDDIR.
409         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
411         LIBC_SLIBDIR_RTLDDIR.
412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
413         Regenerated.
414         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
415         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
416         file.
417         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
418         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
419         file.
420         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
421         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
422         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
423         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
424
425         * sysdeps/aarch64/shlib-versions: Move to ...
426         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
427         * sysdeps/alpha/shlib-versions: Move to ...
428         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
429         * sysdeps/arm/shlib-versions: Move to ...
430         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
431         * sysdeps/hppa/shlib-versions: Move all contents except for
432         libgcc_s entry to ...
433         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
434         entry from ...
435         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
436         * sysdeps/ia64/shlib-versions: Move to ...
437         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
438         entry from ...
439         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
440         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
441         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
442         * sysdeps/microblaze/shlib-versions: Move to ...
443         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
444         * sysdeps/mips/shlib-versions: Move to ...
445         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
446         entry from ...
447         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
448         * sysdeps/tile/shlib-versions: Move to ...
449         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
450         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
451         from ...
452         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
453         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
454         entry from ...
455         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
456
457 2014-07-17  Will Newton  <will.newton@linaro.org>
458
459         * sysdeps/arm/bits/atomic.h
460         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
461         (__arch_compare_and_exchange_bool_16_int): Likewise.
462         (__arch_compare_and_exchange_bool_64_int): Likewise.
463
464         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
465         into an #else block.
466
467 2014-07-16  Roland McGrath  <roland@hack.frob.com>
468
469         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
470         just Linux configurations.  Test empirically that the compiler sets
471         __ARM_EABI__, rather than using the tuple to decide.
472         * sysdeps/arm/preconfigure: Regenerated.
473         * sysdeps/unix/sysv/linux/arm/configure: File removed.
474         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
475         contents appended ...
476         * sysdeps/arm/configure.ac: ... here.
477         * sysdeps/arm/configure: Regenerated.
478
479 2014-07-15  Roland McGrath  <roland@hack.frob.com>
480
481         * nptl/pthread_kill.c: New file.
482         * nptl/pthread_sigmask.c: New file.
483         * nptl/pthread_sigqueue.c: New file.
484
485         * sysdeps/nptl/lowlevellock.h: New file.
486         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
487         * sysdeps/nptl/lowlevellock-futex.h: New file.
488
489         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
490         Remove dead declarations.
491
492 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
493
494         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
495         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
496         config-cflags-avx2.
497         * sysdeps/x86_64/configure.ac: Likewise.
498         * sysdeps/i386/configure: Regenerated.
499         * sysdeps/x86_64/configure: Likewise.
500         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
501         memset-avx2 only if config-cflags-avx2 is yes.
502         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
503         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
504         defined.
505         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
506         only if HAVE_AVX2_SUPPORT is defined.
507         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
508
509 2014-07-14  Alan Modra  <amodra@gmail.com>
510
511         [BZ #17153]
512         * elf/elf.h (DT_PPC64_NUM): Correct value.
513         * NEWS: Add to fixed bug list.
514
515 2014-07-13  Jim Meyering  <meyering@fb.com>
516
517         [BZ 17150]
518         regex: don't deref NULL upon heap allocation failure
519         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
520         failure in one more place.
521         To trigger the segfault, configure grep -with-included-regex,
522         build it, and run these commands:
523         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
524
525 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
526
527         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
528
529 2014-07-11  Richard Henderson  <rth@redhat.com>
530
531         * sysdeps/aarch64/libm-test-ulps: Update.
532
533 2014-07-10  Florian Weimer  <fweimer@redhat.com>
534
535         [BZ #17135]
536         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
537         * nptl/allocatestack.c (__nptl_setxid_error): New function.
538         (__nptl_setxid): Initialize error member.  Call
539         __nptl_setxid_error.
540         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
541         * nptl/descr.h (struct xid_command): Add error member.
542         * nptl/tst-setuid3.c: New file.
543         * nptl/Makefile (tests): Add it.
544
545 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
546
547         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
548         New define.
549         (__lll_trylock): Use __lll_base_trylock.
550         (__lll_cond_trylock): Likewise.
551
552 2014-07-10  Roland McGrath  <roland@hack.frob.com>
553
554         * nptl/pthread_create.c (start_thread): Use atomic_or and
555         lll_futex_wake directly rather than lll_robust_dead.
556         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
557         (lll_robust_dead): Macro removed.
558         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
559         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
560         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
561         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
562         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
563         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
564         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
565         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
566         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
567         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
568         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
569         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
570         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
571         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
572         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
573
574         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
575         Use atomic_compare_and_exchange_val_acq directly rather than
576         lll_robust_trylock.
577         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
578         (__lll_robust_trylock, lll_robust_trylock): Removed.
579         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
580         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
581         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
582         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
583         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
584         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
585         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
586         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
587         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
588         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
589         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
590         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
591         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
592         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
593
594 2014-07-02  Florian Weimer  <fweimer@redhat.com>
595
596         * manual/locale.texi (Locale Names): New section documenting
597         locale name syntax.  Adjust menu and node chaining accordingly.
598         (Choosing Locale): Reference Locale Names, Locale Categories.
599         Mention setting LC_ALL=C.  Reflect that name syntax is now
600         documented.
601         (Locale Categories): New section title.  Reference Locale Names.
602         LC_ALL is an environment variable, but not a category.
603         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
604         description, now in Locale Name.  Reference that section.  Locale
605         name syntax is now documented.
606
607 2014-07-02  Florian Weimer  <fweimer@redhat.com>
608
609         [BZ #17137]
610         * locale/findlocale.c (name_present, valid_locale_name): New
611         functions.
612         (_nl_find_locale): Use the loc_name variable to store name
613         candidates.  Call name_present and valid_locale_name to check and
614         validate locale names.  Return an error if the locale is invalid.
615
616 2014-07-02  Florian Weimer  <fweimer@redhat.com>
617
618         * locale/setlocale.c (setlocale): Use strdup for allocating
619         composite name copy.
620
621 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
622
623         Sync up with gnulib.
624         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
625         [!_LIBC && ENABLE_NLS]: Include gettext.h.
626         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
627         and _GL_ARG_NONNULL.
628         [USE_UNLOCKED_IO]: Include unlocked-io.h.
629         [!_LIBC]: Include code for Windows and Cygwin.
630         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
631         Include prototype for int strerror_r.
632         [!_LIBC] (is_open): New function.
633         (flush_stdout): New function.
634         (print_errno_message): Use it.
635         (error): Likewise.
636         (error_at_line): Likewise.
637         (error_tail) Add function attribute macros.  Use
638         __builtin_expect.
639
640         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
641
642         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
643
644         * io/ftw.c: Include sys/param.h unconditionally.
645
646         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
647
648         [BZ #17125]
649         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
650         libc_freeres_ptr.
651         (freecache): New function to free CACHE on exit.
652
653         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
654         initialization.
655
656 2014-07-09  David S. Miller  <davem@davemloft.net>
657
658         * sysdeps/sparc/fpu/libm-test-ulps: Update.
659
660         * sysdeps/sparc/nptl/internaltypes.h: Delete.
661         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
662         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
663         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
664         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
665         * sysdeps/sparc/nptl/sem_init.c: Likewise.
666         * sysdeps/sparc/nptl/sem_post.c: Likewise.
667         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
668         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
669         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
670         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
671         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
672         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
673
674 2014-07-09  Andreas Schwab  <schwab@suse.de>
675
676         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
677         output.
678         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
679         (do_test): Likewise.
680
681         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
682
683 2014-07-09  Will Newton  <will.newton@linaro.org>
684
685         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
686         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
687         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
688         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
689         * sysdeps/hppa/start.S (_start): Likewise.
690
691 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
692
693         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
694
695         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
696         defined.
697
698 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
699
700         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
701         after checking that it is non-NULL.
702
703         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
704
705 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
706
707         * sysdeps/powerpc/memmove.c: Remove file.
708         * sysdeps/powerpc/powerpc32/power4/memcopy.h
709         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
710         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
711         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
712         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
713         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
714         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
715         string memmove instead of removed powerpc one.
716
717         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
718         [weak_alias]: Fix compiler warning due trailing data.
719         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
720         [weak_alias]: Likewise.
721         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
722         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
723
724         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
725         (__libc_ifunc_impl_list): Add memmove functions.
726
727 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
728
729         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
730         Remove code.
731         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
732         Likewise
733         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
734         Likewise
735         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
736         Likewise
737         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
738         Likewise
739         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
740         Likewise
741         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
742         Likewise
743         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
744         Likewise
745         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
746         Likewise
747         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
748         Likewise
749         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
750         Likewise
751         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
752         Likewise
753         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
754         Likewise
755         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
756         Likewise
757         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
758         Likewise
759         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
760         Likewise
761         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
762         Likewise
763
764 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
765
766         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
767         to avoid alignment traps in non-cacheable memory.
768         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
769
770         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
771         multiarch objects.
772         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
773         file: multiarch power7 memmove.
774         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
775         multiarch default memmove.
776         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
777         multiarch memove for powerpc32/power4.
778
779         * string/bcopy.c: Use full path to include memmove.c.
780         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
781         multiarch objects.
782         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
783         bcopy for powerpc64.
784         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
785         bcopy for powerpc64.
786         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
787         and memmove implementations.
788         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
789         optimized multiarch memmove for POWER7/powerpc64.
790         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
791         default multiarch memmove for powerpc64.
792         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
793         multiarch for powerpc64.
794         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
795         for POWER7/powerpc64.
796         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
797         memmove for POWER7/powerpc64.
798
799         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
800         glibc default one.
801
802         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
803         __ELF_NATIVE_CLASS equal to 64.
804
805 2014-07-07  Roland McGrath  <roland@hack.frob.com>
806
807         * sysdeps/nptl/lowlevellock.h: File removed.
808
809         * NEWS: NPTL is no longer an add-on!
810         * nptl/internaltypes.h: Moved ...
811         * sysdeps/nptl/internaltypes.h: ... here.
812         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
813         * sysdeps/nptl/fork.c: Likewise.
814         * sysdeps/nptl/gai_misc.h: Likewise.
815         * sysdeps/nptl/librt-cancellation.c: Likewise.
816         * sysdeps/nptl/jmp-unwind.c: Likewise.
817         * sysdeps/nptl/setxid.h: Likewise.
818         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
819         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
820         * sysdeps/unix/sysv/linux/arm/Implies: New file.
821         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
822         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
823         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
824         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
825         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
826         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
827         * sysdeps/unix/sysv/linux/mips/Implies: New file.
828         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
829         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
830         * sysdeps/unix/sysv/linux/sh/Implies: New file.
831         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
832         * sysdeps/unix/sysv/linux/tile/Implies: New file.
833         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
834         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
835         * nptl/Makeconfig: Moved ...
836         * sysdeps/nptl/Makeconfig: ... here.
837         * nptl/configure: File removed.
838         * nptl/ANNOUNCE: File removed.
839         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
840         * sysdeps/unix/sysv/linux/configure: Regenerated.
841
842         * nptl/Makefile (routines): Add libc_pthread_init,
843         libc_multiple_threads, register-atfork and unregister-atfork.
844         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
845         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
846         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
847         pthread-pi-defines.sym, structsem.sym.
848         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
849         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
850         [$(subdir) = nptl] (tests): Add tst-setgetname.
851         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
852         * sysdeps/unix/sysv/linux/sigaction.c: Just include
853         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
854         [!LIBC_SIGACTION]: Remove aliases.
855         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
856         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
857         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
858         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
859         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
860         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
861         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
862         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
863         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
864         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
865         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
866         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
867         __libc_allocate_rtsig_private.
868         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
869         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
870         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
871         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
872         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
873         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
874         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
875         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
876         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
877         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
878         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
879         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
880         * nptl/internaltypes.h: ... here.
881         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
882         * sysdeps/nptl/jmp-unwind.c: ... here.
883         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
884         * nptl/libc-lowlevellock.c: ... here.
885         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
886         * nptl/libc_multiple_threads.c: ... here.
887         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
888         * nptl/libc_pthread_init.c: ... here.
889         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
890         * nptl/lowlevelbarrier.sym: ... here.
891         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
892         * nptl/lowlevelcond.sym: ... here.
893         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
894         * nptl/lowlevellock.c: ... here.
895         * nptl/lowlevellock.h: Moved ...
896         * sysdeps/nptl/lowlevellock.h: ... here.
897         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
898         * nptl/lowlevelrobustlock.c: ... here.
899         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
900         * nptl/lowlevelrobustlock.sym: ... here.
901         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
902         * nptl/lowlevelrwlock.sym: ... here.
903         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
904         * nptl/pt-fork.c: ... here.
905         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
906         * nptl/pthread-pi-defines.sym: ... here.
907         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
908         * nptl/pthread_attr_getaffinity.c: ... here.
909         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
910         * nptl/pthread_attr_setaffinity.c: ... here.
911         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
912         * nptl/pthread_mutex_cond_lock.c: ... here.
913         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
914         Update #include.
915         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
916         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
917         * nptl/pthread_once.c: ... here, replacing old file.
918         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
919         * nptl/pthread_yield.c: ... here.
920         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
921         * nptl/register-atfork.c: ... here.
922         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
923         * nptl/sem_post.c: ... here.
924         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
925         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
926         * nptl/sem_timedwait.c: ... here.
927         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
928         * nptl/sem_trywait.c: ... here.
929         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
930         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
931         * nptl/sem_wait.c: ... here.
932         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
933         * nptl/structsem.sym: ... here.
934         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
935         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
936         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
937         * nptl/unregister-atfork.c: ... here.
938         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
939         * nptl/unwindbuf.sym: ... here.
940         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
941         * sysdeps/nptl/fork.c: ... here.
942         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
943         * sysdeps/nptl/fork.h: ... here.
944         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
945         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
946         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
947         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
948         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
949         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
950         * sysdeps/unix/sysv/linux/getpid.c: ... here.
951         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
952         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
953         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
954         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
955         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
956         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
957         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
958         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
959         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
960         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
961         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
962         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
963         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
964         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
965         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
966         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
967         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
968         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
969         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
970         * sysdeps/unix/sysv/linux/raise.c: ... here.
971         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
972         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
973         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
974         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
975         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
976         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
977         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
978         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
979         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
980         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
981         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
982         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
983         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
984         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
985         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
986
987 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
988
989         * sysdeps/generic/memcopy.h: Add comment for
990         MEMCPY_OK_FOR_FWD_MEMMOVE.
991
992 2014-07-04  Will Newton  <will.newton@linaro.org>
993
994         * string/memchr.c: Merge from gnulib.
995         [_LIBC]: Remove conditionals.
996         (__ptr_t): Remove define.
997         (LONG_MAX_32_BITS): Likewise.
998         (LONG_MAX): Likewise.
999         (MEMCHR): Use ANSI prototype and optimize algorithm.
1000
1001         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1002
1003 2014-07-03  Roland McGrath  <roland@hack.frob.com>
1004
1005         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1006         (lll_futex_timed_wait_bitset): Fix syscall argument count.
1007
1008         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1009         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1010         in a bare environment with no <stdlib.h> installed.
1011         * sysdeps/nptl/configure: Regenerated.
1012
1013         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1014
1015         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1016         AC_EGREP_CPP for kernel header checks, so they only succeed if
1017         including <linux/version.h> actually works right.
1018         * sysdeps/unix/sysv/linux/configure: Regenerated.
1019
1020         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1021         value so it's not diagnosed as unused.
1022
1023         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1024         thing) with "ifeq ($(subdir),rt)".
1025
1026 2014-07-03  Richard Henderson  <rth@redhat.com>
1027
1028         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1029         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1030         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1031
1032         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1033         (math_force_eval): New.
1034
1035         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1036         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1037
1038         * sysdeps/alpha/fpu/s_round.c: Remove file.
1039         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1040
1041         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1042         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1043         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1044         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1045         (_dl_start, print_statistics): Likewise.
1046         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1047         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1048
1049         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1050         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1051         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1052         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1053         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1054         (HP_SMALL_TIMING_AVAIL): Define.
1055         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1056         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1057         (HP_SMALL_TIMING_AVAIL): Define.
1058         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1059         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1060
1061         * sysdeps/aarch64/hp-timing.h: New file.
1062
1063         * sysdeps/generic/hp-timing.h: Remove dead comment.
1064         * sysdeps/generic/hp-timing-common.h: New file.
1065         * sysdeps/alpha/hp-timing.h: Include it.
1066         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1067         * sysdeps/i386/i686/hp-timing.h: Likewise.
1068         * sysdeps/ia64/hp-timing.h: Likewise.
1069         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1070         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1071         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1072         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1073         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1074         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1075         (hp_timing_t): New.
1076
1077         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1078         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1079         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1080         * elf/rtld.c (_dl_start_final): Likewise.
1081         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1082         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1083         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1084         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1085         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1086         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1087         (HP_TIMING_DIFF_INIT): Remove.
1088         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1089         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1090         (HP_TIMING_DIFF_INIT): Remove.
1091         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1092         * sysdeps/i386/i686/hp-timing.c: Remove file.
1093         * sysdeps/x86_64/hp-timing.c: Remove file.
1094         * sysdeps/ia64/hp-timing.c: Remove file.
1095         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1096         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1097         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1098         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1099
1100         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1101         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1102         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1103         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1104         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1105         (HP_TIMING_ACCUM): Remove.
1106         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1107         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1108         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1109
1110         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1111         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1112         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1113         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1114         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1115         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1116         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1117         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1118
1119         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1120
1121 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
1122
1123         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1124
1125 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1126
1127         Sync up with gettext.
1128         * intl/loadmsgcat.c: Define O_BINARY if not defined.
1129         [_MSC_VER]: Include malloc.h
1130         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1131         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1132         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
1133         TEMP_FAILURE_RETRY.  Cast return of alloca.
1134         [!_LIBC] Call gl_rwlock_init.
1135         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1136
1137 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1138
1139         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1140         before checking its value.
1141
1142 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1143
1144         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1145
1146         * debug/memcpy_chk.c: Don't include pagecopy.h.
1147         * debug/mempcpy_chk.c: Likewise.
1148         * string/memcpy.c: Likewise.
1149         * string/memmove.c: Likewise.
1150         * sysdeps/powerpc/memmove.c: Likewise.
1151         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
1152         definition of PAGE_COPY_FWD_MAYBE here...
1153         * sysdeps/generic/pagecopy.h: ... from here.
1154         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1155
1156 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1157             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1158
1159         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1160         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1161         optimizations.
1162         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1163         (__libc_ifunc_impl_list): Likewise.
1164         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1165         multiarch strcat for PPC64.
1166         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1167         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1168
1169 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1170
1171         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1172
1173 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1174
1175         * intl/loadmsgcat.c: Remove declaration of
1176         get_sysdep_segment_value.
1177         (get_sysdep_segment_value): Use ISO C style.
1178         (_nl_load_domain): Use ISO C style.  Get rid of redundant
1179         semicolon.  Fix typo and formatting in comment.
1180         (_nl_unload_domain): Use ISO C style.
1181
1182         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1183
1184 2014-07-02  Will Newton  <will.newton@linaro.org>
1185
1186         * malloc/obstack.c: Merge from gnulib master.
1187         [HAVE_CONFIG_H]: Remove conditional code.
1188         [!_LIBC]: Include config.h.
1189         [!ELIDE_CODE]: Don't include inttypes.h, include
1190         stdint.h unconditionally.
1191         (print_and_abort): Mark as _Noreturn.
1192         (_obstack_allocated_p): Mark as __attribute_pure__.
1193         (obstack_free): Rename to __obstack_free.
1194         [!__attribute__]: Remove conditional code.
1195         * malloc/obstack.h: Merge from gnulib master.
1196         [__cplusplus]: Move conditional down.
1197         [!__attribute_pure__]: Define __attribute_pure__ here
1198         if it is not already defined.
1199         (_obstack_memory_used): Mark as __attribute_pure__.
1200         [!__obstack_free]: Define as obstack_free.
1201         [__GNUC__]: Remove check for ancient NeXT gcc.
1202
1203 2014-07-02  Will Newton  <will.newton@linaro.org>
1204             Paul Eggert  <eggert@cs.ucla.edu>
1205
1206         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1207
1208 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1209
1210         * resolv/gethnamaddr.c: Add comment warning that the file is
1211         not maintained.
1212
1213 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
1214
1215         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1216         entries.
1217
1218         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1219         entry for aio_cancel and aio_cancel64.
1220         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1221         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1222         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1223         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1224         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1225         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1226         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1227         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1228         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1229         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1230         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1231         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1232         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1233
1234 2014-07-01  Roland McGrath  <roland@hack.frob.com>
1235
1236         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1237         * nptl/pthread_mutex_lock.c: Likewise.
1238         * nptl/pthread_mutex_timedlock.c: Likewise.
1239         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1240
1241 2014-07-01  Richard henderson  <rth@redhat.com>
1242
1243         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1244         (__isnan, __isnanl): Remove.
1245         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1246
1247         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1248
1249 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1250
1251         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1252
1253 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1254
1255         * resolv/nss_dns/dns-host.c (getanswer_r)
1256         [MULTI_PTRS_ARE_ALIASES]: Remove code.
1257
1258 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
1259
1260         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1261         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1262         undefine.
1263         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1264         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1265
1266 2014-07-01  Roland McGrath <roland@hack.frob.com>
1267
1268         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1269         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1270
1271         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1272         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1273
1274         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1275         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1276         ... here.
1277         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1278         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1279
1280         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1281         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1282         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1283         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1284
1285         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1286         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1287         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1288         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1289         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1290         Moved ...
1291         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1292         ... here.
1293         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1294         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1295         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1296         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1297         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1298         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1299         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1300         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1301         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1302         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1303         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1304         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1305         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1306         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1307         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1308         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1309         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1310         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1311         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1312         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1313         ... here.
1314         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1315         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1316         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1317         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1318         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1319         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1320         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1321         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1322
1323 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
1324
1325         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1326         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1327         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1328         Add sysdep.
1329
1330 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1331
1332         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1333
1334 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1335
1336         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1337         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1338
1339         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1340
1341         * sysdeps/arm/libm-test-ulps: Regenerated.
1342
1343 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1344             Roland McGrath <roland@hack.frob.com>
1345
1346         * test-skeleton.c (signal_handler): Kill the whole process group
1347         before killing the child individually.
1348         (main): Report any failure on `setpgid'.
1349
1350 2014-06-30  Roland McGrath  <roland@hack.frob.com>
1351
1352         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1353         from _TLS_H to _ARM_NPTL_TLS_H.
1354         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1355         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1356
1357 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1358
1359         [BZ #16539]
1360         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1361         (__expm1l): Return argument unchanged when small but not
1362         subnormal.
1363
1364         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1365         include macro name.
1366         (_FP_UNPACK_RAW_1_P): Likewise.
1367         (_FP_PACK_RAW_1): Likewise.
1368         (_FP_PACK_RAW_1_P): Likewise.
1369         (_FP_MUL_MEAT_1_wide): Likewise.
1370         (_FP_MUL_MEAT_DW_1_hard): Likewise.
1371         (_FP_MUL_MEAT_1_hard): Likewise.
1372         (_FP_DIV_MEAT_1_imm): Likewise.
1373         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1374         (_FP_DIV_MEAT_1_udiv): Likewise.
1375         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1376         (_FP_UNPACK_RAW_2): Likewise.
1377         (_FP_UNPACK_RAW_2_P): Likewise.
1378         (_FP_PACK_RAW_2): Likewise.
1379         (_FP_PACK_RAW_2_P): Likewise.
1380         (_FP_MUL_MEAT_DW_2_wide): Likewise.
1381         (_FP_MUL_MEAT_2_wide): Likewise.
1382         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1383         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1384         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1385         (_FP_MUL_MEAT_2_gmp): Likewise.
1386         (_FP_DIV_MEAT_2_udiv): Likewise.
1387         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1388         (_FP_FRAC_SRL_4): Likewise.
1389         (_FP_FRAC_SRST_4): Likewise.
1390         (_FP_FRAC_SRS_4): Likewise.
1391         (_FP_UNPACK_RAW_4): Likewise.
1392         (_FP_UNPACK_RAW_4_P): Likewise.
1393         (_FP_PACK_RAW_4): Likewise.
1394         (_FP_PACK_RAW_4_P): Likewise.
1395         (_FP_MUL_MEAT_DW_4_wide): Likewise.
1396         (_FP_MUL_MEAT_4_wide): Likewise.
1397         (_FP_MUL_MEAT_4_gmp): Likewise.
1398         (umul_ppppmnnn): Likewise.
1399         (_FP_DIV_MEAT_4_udiv): Likewise.
1400         (__FP_FRAC_ADD_4): Likewise.
1401         (__FP_FRAC_SUB_3): Likewise.
1402         (__FP_FRAC_SUB_4): Likewise.
1403         (__FP_FRAC_DEC_3): Likewise.
1404         (__FP_FRAC_DEC_4): Likewise.
1405         (__FP_FRAC_ADDI_4): Likewise.
1406         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1407         (_FP_FRAC_SRL_8): Likewise.
1408         (_FP_FRAC_SRS_8): Likewise.
1409
1410         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1411         include macro name.
1412         (FP_UNPACK_RAW_EP): Likewise.
1413         (FP_PACK_RAW_E): Likewise.
1414         (FP_PACK_RAW_EP): Likewise.
1415         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1416         (_FP_ISSIGNAN): Likewise.
1417         (_FP_ADD_INTERNAL): Likewise.
1418         (_FP_FMA): Likewise.
1419         (_FP_CMP): Likewise.
1420         (_FP_SQRT): Likewise.
1421         (_FP_TO_INT): Likewise.
1422         (_FP_FROM_INT): Likewise.
1423         (FP_EXTEND): Likewise.
1424         (_FP_DIV_MEAT_N_loop): Likewise.
1425
1426 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1427
1428         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1429         throughout.
1430
1431 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
1432
1433         [BZ #17097]
1434         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1435         result with correct sign in case of exponents that produce
1436         overflow except for X very close to 1.
1437
1438 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
1439
1440         mktime: merge #if/#ifdef usage from glibc
1441         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1442         as that works with both Glibc's and Gnulib's style.
1443         See thread starting at Siddhesh Poyarekar's bug report at:
1444         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1445
1446 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1447
1448         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1449         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1450         * sysdeps/tile/tilegx/memmove.c: Remove file.
1451
1452 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
1453
1454         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1455         abi-name definition.
1456         * scripts/soversions.awk: Do not handle or generate ABI lines.
1457         * shlib-versions: Remove ABI entries.
1458         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1459         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1460
1461 2014-06-27  Roland McGrath  <roland@hack.frob.com>
1462
1463         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1464         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1465         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1466         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1467         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1468         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1469         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1470         Moved ...
1471         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1472         ... here.
1473         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1474         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1475         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1476         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1477         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1478         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1479         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1480         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1481         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1482         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1483         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1484         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1485         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1486         Moved ...
1487         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1488         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1489         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1490         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1491         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1492         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1493         Moved ...
1494         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1495         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1496         Moved ...
1497         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1498         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1499         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1500         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1501         Moved ...
1502         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1503         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1504         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1505         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1506         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1507         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1508         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1509         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1510         Moved ...
1511         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1512         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1513         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1514         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1515         Moved ...
1516         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1517         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1518         Moved ...
1519         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1520         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1521         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1522         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1523         Moved ...
1524         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1525         ... here.
1526         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1527         Identical file removed.
1528         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1529         Moved ...
1530         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1531         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1532         Identical file removed.
1533         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1534         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1535         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1536         Moved ...
1537         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1538         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1539         Identical file removed.
1540         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1541         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1542         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1543         Identical file removed.
1544         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1545         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1546         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1547         Identical file removed.
1548         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1549         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1550         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1551         Identical file removed.
1552         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1553         Moved ...
1554         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1555         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1556         Identical file removed.
1557         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1558         Moved ...
1559         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1560         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1561         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1562         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1563         Identical file removed.
1564         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1565         Moved ...
1566         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1567         ... here.
1568         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1569         Identical file removed.
1570         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1571         Moved ...
1572         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1573         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1574         Identical file removed.
1575         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1576         Moved ...
1577         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1578         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1579         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1580         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1581         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1582         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1583         Moved ...
1584         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1585         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1586         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1587
1588         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1589         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1590         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1591         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1592         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1593
1594 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
1595
1596         [BZ #17092]
1597         * nscd/nscd.c (monitor_child): Return exit status of child
1598         instead of return value from wait syscall.
1599
1600 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
1601
1602         * configure.ac (libc_commonpagesize): Remove variable.
1603         (libc_relro_required): Likewise.
1604         (libc_cv_z_relro): Remove configure test.
1605         * configure: Regenerated.
1606         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1607         variable.
1608         (libc_relro_required): Likewise.
1609         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1610         (libc_relro_required): Likewise.
1611         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1612         (libc_relro_required): Likewise.
1613         * sysdeps/arm/preconfigure: Regenerated.
1614         * sysdeps/ia64/preconfigure: Remove file.
1615         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1616         variable.
1617         (libc_relro_required): Likewise.
1618
1619         [BZ #16561]
1620         [BZ #16562]
1621         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1622         (__ieee754_yn): Set FE_TONEAREST mode internally and then
1623         recompute overflowing results in original rounding mode.
1624         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1625         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1626         recompute overflowing results in original rounding mode.
1627         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1628         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1629         recompute overflowing results in original rounding mode.
1630         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1631         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1632         recompute overflowing results in original rounding mode.
1633         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1634         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1635         recompute overflowing results in original rounding mode.
1636         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1637         (libc_feholdsetround_ctx): New macro.
1638         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1639         * sysdeps/i386/fpu/libm-test-ulps: Update.
1640         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1641
1642 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1643
1644         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1645         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1646         corresponding .cpsetup call.
1647
1648 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1649
1650         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1651         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1652         * sysdeps/arm/Makefile [$(subdir) = csu]
1653         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1654         (static-only-routines): Add aeabi_read_tp here.
1655         (shared-only-routines): Add libc-aeabi_read_tp here.
1656         (CFLAGS-libc-start.c): Add -fexceptions here.
1657         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1658         (sysdep_routines, static-only-routines, shared-only-routines):
1659         Don't add to these here.
1660         (CFLAGS-libc-start.c): Likewise.
1661
1662         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1663         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1664         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1665         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1666         * sysdeps/arm/Makefile [$(subdir) = rt]
1667         (librt-sysdep_routines, librt-shared-only-routines):
1668         Append rt-aeabi_unwind_cpp_pr1 here.
1669         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1670         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1671         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1672         (libpthread-sysdep_routines, libpthread-shared-only-routines):
1673         Append nptl-aeabi_unwind_cpp_pr1 here.
1674         (tests): Filter out tst-cleanupx4 here.
1675         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1676         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1677         Don't do those here.
1678
1679 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1680
1681         * scripts/list-sources.sh: Do not handle ports specially.
1682
1683 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1684
1685         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1686         * sysdeps/arm/feupdateenv.c: Likewise.
1687
1688         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1689
1690 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1691
1692         * manual/texinfo.tex: Update to version 2014-05-05.10 with
1693         trailing whitespace removed.
1694         * scripts/config.guess: Update to version 2014-03-23.
1695         * scripts/config.sub: Update to version 2014-05-01
1696         * scripts/install-sh: Update to version 2013-12-25.23.
1697         * scripts/move-if-change: Update from gnulib.
1698
1699 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1700
1701         * debug/memmove_chk.c: Remove pagecopy.h include.
1702
1703 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
1704
1705         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
1706         identical to gnulib mktime.
1707
1708 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1709
1710         * configure.ac: Do not test for machine being rs6000.  Do not test
1711         for powerpc*-*soft.
1712         * configure: Regenerated.
1713
1714         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1715         test.
1716         * configure: Regenerated.
1717         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1718         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1719         Remove configure test.
1720         * sysdeps/arm/configure: Regenerated.
1721         * sysdeps/nptl/configure.ac: Do not check
1722         libc_cv_asm_cfi_directives.
1723         * sysdeps/nptl/configure: Regenerated.
1724         * sysdeps/x86_64/nptl/configure.ac: Remove file.
1725         * sysdeps/x86_64/nptl/configure: Remove generated file.
1726         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1727         unconditional.
1728         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1729
1730 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1731
1732         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1733         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1734         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1735         it is defined.
1736
1737         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1738         instead of whether it is defined.
1739         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1740         * sysdeps/hppa/dl-machine.h: Likewise.
1741         * sysdeps/ia64/dl-machine.h: Likewise.
1742         * sysdeps/m68k/dl-machine.h: Likewise.
1743         * sysdeps/microblaze/dl-machine.h: Likewise.
1744         * sysdeps/mips/dl-machine.: Likewise.
1745         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1746         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1747         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1748         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1749         * sysdeps/sh/dl-machine.h: Likewise.
1750         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1751         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1752         * sysdeps/tile/dl-machine.h: Likewise.
1753         * sysdeps/x86_64/dl-machine.h: Likewise.
1754
1755         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1756         code.
1757         (verify_persistent_db): Likewise.
1758
1759 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1760
1761         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1762         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1763         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1764         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1765         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1766         Moved ...
1767         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1768         ... here.
1769         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1770         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1771         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1772         Identical file removed.
1773         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1774         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1775         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1776         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1777         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1778         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1779         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1780         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1781         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1782         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1783         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1784         Moved ...
1785         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1786         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1787         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1788         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1789         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1790         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1791         Moved ...
1792         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1793         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1794         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1795         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1796         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1797         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1798         Identical file removed.
1799         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1800         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1801         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1802         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1803         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1804         Moved ...
1805         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1806         ... here.
1807         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1808         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1809         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1810         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1811         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1812         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1813         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1814         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1815         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1816         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1817         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1818         Moved ...
1819         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1820         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1821         Moved ...
1822         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1823         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1824         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1825         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1826         Moved ...
1827         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1828         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1829         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1830
1831         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1832         folded into ...
1833         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1834         * sysdeps/unix/sysv/linux/s390/Versions
1835         (libpthread: GLIBC_2.19): New version set.
1836         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1837         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1838         (librt: GLIBC_2.3.3): New version set.
1839         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1840         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1841         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1842         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1843         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1844         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1845         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1846         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1847         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1848         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1849         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1850         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1851         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1852         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1853         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1854         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1855         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1856         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1857         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1858         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1859         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1860         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1861         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1862         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1863         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1864         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1865         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1866         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1867         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1868         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1869         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1870         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1871         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1872         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1873         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1874         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1875         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1876         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1877         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1878         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1879         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1880         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1881         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1882         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1883         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1884
1885         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1886         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1887         (__libc_vfork): Define the function under this name.
1888         [!NOT_IN_libc] (__vfork): Make this an alias.
1889         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1890         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1891         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1892         (__libc_vfork): Define the function under this name.
1893         [!NOT_IN_libc] (__vfork): Make this an alias.
1894         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1895         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1896         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1897         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1898         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1899         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1900
1901         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1902         code that was previously under [RESET_PID].
1903         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1904         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1905         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1906
1907         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1908         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1909         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1910         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1911         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1912         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1913         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1914         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1915         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1916         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1917         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1918         Moved ...
1919         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1920         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1921         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1922         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1923         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1924         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1925         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1926         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1927         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1928         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1929         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1930         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1931         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1932         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1933         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1934         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1935         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1936         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1937         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1938         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1939         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1940         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1941         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1942         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1943         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1944         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1945         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1946         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1947         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1948
1949 2014-06-25  Roland McGrath  <roland@hack.frob.com>
1950
1951         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1952         that was previously under [RESET_PID].
1953         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1954
1955 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1956
1957         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1958         not undefine and redefine.
1959         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1960         [O_CLOEXEC]: Make code unconditional.
1961         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1962         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1963         <kernel-features.h>.
1964         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1965         conditional variable definition.
1966         (shm_open) [O_CLOEXEC]: Make code unconditional.
1967         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1968         code.
1969
1970         * configure.ac (USE_REGPARMS): Don't define here.
1971         * configure: Regenerated.
1972         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1973         * sysdeps/i386/configure: Regenerated.
1974
1975         * nptl/createthread.c: Don't include kernel-features.h.
1976         * nptl/pthread_cancel.c: Likewise.
1977         * nptl/pthread_condattr_setclock.c: Likewise.
1978         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1979         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1980         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1981         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1982         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1983         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1984         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1985         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1986         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1987         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1988         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1989         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1990         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1991         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1992         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1993         * nscd/gai.c: Likewise.
1994         * nss/nss_db/db-open.c: Likewise.
1995         * sysdeps/generic/ldsodefs.h: Likewise.
1996         * sysdeps/sh/nptl/tls.h: Likewise.
1997         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1998         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1999         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2000         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2001         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2002         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2003         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2004         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2005         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2006         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2007         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2008         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2009         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2010         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2011         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2012         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2013         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2014         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2015         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2016         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2017         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2018         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2019         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2020         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2021         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2022         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2023         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2024         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2025         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2026         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2027         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2028         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2029         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2030         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2031         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2032         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2033         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2034         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2035         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2036         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2037         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2038         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2039         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2040         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2041         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2042         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2043         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2044         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2045         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2046         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2047         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2048         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2049         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2050         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2051         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2052         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2053         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2054         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2077         * sysdeps/unix/sysv/linux/pread.c: Likewise.
2078         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2079         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2080         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2081         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2082         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2083         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2084         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2085         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2086         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2087         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2088         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2089         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2090         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2091         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2092         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2093         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2094         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2095         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2096         * sysdeps/unix/sysv/linux/system.c: Likewise.
2097         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2098         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2099         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2100         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2101         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2102         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2103         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2104
2105         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2106         * configure: Regenerated.
2107         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2108
2109         * configure.ac (base_machine): Do not set specially for particular
2110         machines here.
2111         * configure: Regenerated.
2112         * sysdeps/powerpc/preconfigure: Move machine and base_machine
2113         settings from configure.ac.
2114         * sysdeps/i386/preconfigure: New file.
2115         * sysdeps/s390/preconfigure: Likewise.
2116         * sysdeps/sh/preconfigure: Likewise.
2117         * sysdeps/sparc/preconfigure: Likewise.
2118
2119 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2120
2121         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2122         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2123         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2124         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2125         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2126         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2127         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2128         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2129         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2130         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2131         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2132         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2133         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2134         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2135         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2136         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2137         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2138         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2139         * sysdeps/sparc/sparc64/Makefile: ... appended here.
2140
2141         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2142         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2143         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2144         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2145         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2146         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2147         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2148         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2149         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2150         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2151         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2152         * sysdeps/sparc/sparc32/sem_post.c: ... here.
2153         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2154         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2155         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2156         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2157         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2158         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2159         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2160         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2161         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2162         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2163         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2164         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2165         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2166         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2167         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2168         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2169         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2170         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2171         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2172         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2173         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2174         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2175         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2176         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2177         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2178         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2179
2180         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2181         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2182         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2183         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2184         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2185         Moved ...
2186         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2187         ... here.
2188         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2189         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2190         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2191         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2192         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2193         Moved ...
2194         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2195         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2196         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2197         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2198         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2199         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2200         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2201         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2202         Moved ...
2203         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2204         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2205         Moved ...
2206         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2207         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2208         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2209         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2210         Moved ...
2211         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2212         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2213         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2214         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2215         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2216         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2217         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2218         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2219         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2220         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2221         Moved ...
2222         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2223         ... here.
2224         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2225         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2226         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2227         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2228         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2229         Moved ...
2230         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2231         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2232         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2233         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2234         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2235         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2236         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2237         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2238         Moved ...
2239         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2240         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2241         Moved ...
2242         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2243         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2244         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2245         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2246         Moved ...
2247         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2248         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2249         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2250         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2251         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2252
2253 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2254
2255         * timezone/checktab.awk: Update from tzcode 2014e.
2256         * timezone/private.h: Likewise.
2257         * timezone/tzfile.h: Likewise.
2258         * timezone/zdump.c: Likewise.
2259         * timezone/zic.c: Likewise.
2260
2261         * sysdeps/unix/sysv/linux/kernel-features.h
2262         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2263         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2264         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2265         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2266         Remove conditional code.
2267
2268 2014-06-25  Will Newton  <will.newton@linaro.org>
2269
2270         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2271         (_dl_arm_cap_flags): Add HWCAP2 values.
2272         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2273         (_DL_HWCAP_COUNT): Increase to 37.
2274         (_DL_HWCAP_LAST): New define.
2275         (_DL_HWCAP2_LAST): New define.
2276         (_dl_procinfo): Add support for printing
2277         AT_HWCAP2 entries.
2278         (_dl_string_hwcap): Use _dl_hwcap_string.
2279
2280 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2281
2282         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2283
2284 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2285
2286         * README: Do not mention ports directory.
2287
2288         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2289         Remove macro.
2290         * sysdeps/unix/sysv/linux/futimes.c: Do not include
2291         <kernel-features.h>.
2292         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2293         conditional variable definition.
2294         (__futimes): Update comment.
2295         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2296         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2297
2298         [BZ #16560]
2299         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2300         arguments close to 0.
2301         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2302         Likewise.
2303         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2304         Likewise.
2305         * math/auto-libm-test-in: Add more tests of exp10.
2306         * math/auto-libm-test-out: Regenerated.
2307         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2308
2309         * sysdeps/unix/sysv/linux/kernel-features.h
2310         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2311         * sysdeps/unix/sysv/linux/readv.c: Do not include
2312         <kernel-features.h>.
2313         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2314         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2315         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2316         unconditional.
2317         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2318         conditional code.
2319         * sysdeps/unix/sysv/linux/writev.c: Do not include
2320         <kernel-features.h>.
2321         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2322         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2323         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2324         unconditional.
2325         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2326         conditional code.
2327
2328 2014-06-25  Will Newton  <will.newton@linaro.org>
2329
2330         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2331         comment changes throughout the file.  Remove checks
2332         for HAVE_*_H definitions that are not required.
2333         (__gen_tempname): Call abort if an unknown kind value is
2334         passed.
2335
2336 2014-06-25  Andreas Schwab  <schwab@suse.de>
2337
2338         [BZ #17086]
2339         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2340         scalbln, scalblnf, scalblnl in libc.
2341
2342 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2343
2344         [BZ #17086]
2345         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2346         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2347         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2348
2349 2014-06-24  Roland McGrath  <roland@hack.frob.com>
2350
2351         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2352         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2353         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2354         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2355         Update #include.
2356         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2357         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2358         Update #include.
2359         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2360         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2361         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2362         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2363         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2364         * sysdeps/x86/bits/pthreadtypes.h: ... here.
2365         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2366         * sysdeps/x86/bits/semaphore.h: ... here.
2367         * sysdeps/x86/nptl/elide.h: Moved ...
2368         * sysdeps/x86/elide.h: ... here.
2369         * sysdeps/x86_64/nptl/Implies: File removed.
2370         * sysdeps/i386/nptl/Implies: File removed.
2371
2372 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
2373
2374         [BZ #16539]
2375         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2376         return the argument for normal arguments with exponent below -64.
2377         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2378         Likewise.
2379         * math/auto-libm-test-in: Add another test of expm1.
2380         * math/auto-libm-test-out: Regenerated.
2381
2382         [BZ #16287]
2383         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2384         calling __erfcl for arguments at least 16.
2385         * math/auto-libm-test-in: Add more tests of erf.
2386         * math/auto-libm-test-out: Regenerated.
2387
2388         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2389         individual architectures.
2390         * sysdeps/unix/sysv/linux/configure: Regenerated.
2391         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2392         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2393         * sysdeps/unix/sysv/linux/powerpc/configure.ac
2394         (ldd_rewrite_script): Define variable.
2395         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2397         file.
2398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2399         generated file.
2400         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2401         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2402         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2403         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2404         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2405         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2406         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2407         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2408
2409 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2410
2411         [BZ #17084]
2412         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2413         Rename member __data.d to __data.__elision_data.
2414
2415 2014-06-24  Wilco  <wdijkstr@arm.com>
2416
2417         * NEWS: Add 16918 to fixed bug list.
2418
2419 2014-06-24  Wilco  <wdijkstr@arm.com>
2420
2421         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2422
2423 2014-06-24  Wilco  <wdijkstr@arm.com>
2424
2425         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2426         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2427         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2428         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2429         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2430         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2431         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2432         Use _FPU_MASK_RM.
2433
2434 2014-06-24  Wilco  <wdijkstr@arm.com>
2435
2436         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2437
2438 2014-06-24  Wilco  <wdijkstr@arm.com>
2439
2440         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2441         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2442         * sysdeps/arm/fesetround.c (fesetround): Remove space.
2443         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2444
2445 2014-06-24  Wilco  <wdijkstr@arm.com>
2446
2447         [BZ #16918]
2448         * sysdeps/arm/feupdateenv.c (feupdateenv):
2449         Rewrite to reduce FPSCR accesses and fix return value.
2450
2451 2014-06-24  Wilco  <wdijkstr@arm.com>
2452
2453         * sysdeps/arm/fclrexcpt.c (feclearexcept):
2454         Optimize to avoid unnecessary FPSCR writes.
2455         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2456         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2457         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2458         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2459
2460 2014-06-24  Wilco  <wdijkstr@arm.com>
2461
2462         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2463         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2464         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2465         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2466         Call libc_fetestexcept_vfp.
2467         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2468         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2469         __SOFTFP__ ifdef so that they can be built for softfp.
2470
2471 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2472
2473         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2474         argument type signed char.
2475
2476         * Makerules (check-abi): Dump diff of symlist if the test
2477         fails.
2478
2479 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2480
2481         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2482         using abort.
2483
2484         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2485         Remove unused variable ST.
2486
2487 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
2488
2489         [BZ #16354]
2490         [BZ #17061]
2491         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2492         small arguments before calling __expm1.
2493         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2494         small arguments before calling __expm1f.
2495         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2496         small arguments before calling __expm1l.
2497         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2498         Likewise.
2499         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2500         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
2501         spurious underflow for some cosh tests.
2502         * math/auto-libm-test-out: Regenerated.
2503         * sysdeps/i386/fpu/libm-test-ulps: Update.
2504
2505         [BZ #17050]
2506         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2507         (__ieee754_y1): Set errno if return value overflows.
2508         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2509         (__ieee754_y1f): Set errno if return value overflows.
2510         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2511         (__ieee754_y1l): Set errno if return value overflows.
2512         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2513         (__ieee754_y1l): Set errno if return value overflows.
2514         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2515         * math/auto-libm-test-out: Regenerated.
2516
2517         * math/gen-auto-libm-tests.c: Document use of
2518         ignore-zero-inf-sign.
2519         (input_flag_type): Add value flag_ignore_zero_inf_sign.
2520         (input_flags): Add ignore-zero-inf-sign.
2521         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2522         * math/gen-libm-test.pl (generate_testfile): Handle
2523         ignore-zero-inf-sign.
2524         * math/auto-libm-test-in: Mark some cpow tests with
2525         ignore-zero-inf-sign and some with xfail-rounding.
2526         * math/auto-libm-test-out: Regenerated.
2527         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2528         * sysdeps/i386/fpu/libm-test-ulps: Update.
2529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2530
2531         [BZ #16315]
2532         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2533         overflowing or underflowing operations take place with sign of
2534         result.
2535         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2536         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2537         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2538         (__ieee754_pow): Recompute overflowing and underflowing results in
2539         original rounding mode.
2540         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2541         (__powl_helper): Allow negative argument X and scale negated value
2542         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
2543         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2544         overflowing or underflowing operations take place with sign of
2545         result.
2546         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2547         Include <math.h>.
2548         * math/auto-libm-test-in: Add more tests of pow.
2549         * math/auto-libm-test-out: Regenerated.
2550         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2551         (pow_tonearest_test_data): Remove.
2552         (pow_test_tonearest): Likewise.
2553         (pow_towardzero_test_data): Likewise.
2554         (pow_test_towardzero): Likewise.
2555         (pow_downward_test_data): Likewise.
2556         (pow_test_downward): Likewise.
2557         (pow_upward_test_data): Likewise.
2558         (pow_test_upward): Likewise.
2559         (main): Don't call removed functions.
2560         * sysdeps/i386/fpu/libm-test-ulps: Update.
2561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2562
2563 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2564
2565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2566         Moved ...
2567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2569         Moved ...
2570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2572         Moved ...
2573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2575         Moved ...
2576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2578         File removed.
2579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2580         File removed.
2581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2582         File removed.
2583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2584         File removed.
2585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2586         File removed.
2587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2588         File removed.
2589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2590         File removed.
2591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2592         File removed.
2593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2594         File removed.
2595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2596         File removed.
2597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2598         File removed.
2599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2600         File removed.
2601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2602         Moved ...
2603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2605         Moved ...
2606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2607         ... here.
2608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2609         Moved ...
2610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2612         Moved ...
2613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2615         Moved ...
2616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2618         Moved ...
2619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2621         Moved ...
2622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2624         Moved ...
2625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2627         Moved ...
2628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2631         ... here.
2632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2633         Moved ...
2634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2636         Moved ...
2637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2638         ... here.
2639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2640         Moved ...
2641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2642         ... here.
2643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2644         Moved ...
2645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2646         ... here.
2647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2648         Moved ...
2649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2651         Moved ...
2652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2656         Moved ...
2657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2658         ... here.
2659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2660         Moved ...
2661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2662         ... here.
2663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2664         Moved ...
2665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2667         Moved ...
2668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2670         Moved ...
2671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2673         Moved ...
2674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2676         Moved ...
2677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2678         ... here.
2679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2680         Moved ...
2681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2683         Moved ...
2684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2686         Moved ...
2687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2689         Moved ...
2690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2694         Moved ...
2695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2697         Moved ...
2698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2700         Moved ...
2701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2702         ... here.
2703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2704         Moved ...
2705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2706         ... here.
2707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2708         Moved ...
2709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2710         ... here.
2711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2712         Moved ...
2713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2715         Moved ...
2716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2718         Moved ...
2719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2721         Moved ...
2722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2723         ... here.
2724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2725         Moved ...
2726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2727         ... here.
2728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2729         Moved ...
2730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2731         ... here.
2732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2733         Moved ...
2734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2736         Moved ...
2737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2738
2739 2014-06-23  Will Newton  <will.newton@linaro.org>
2740             Wilco  <wdijkstr@arm.com>
2741
2742         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2743         implementation.  Include get-rounding-mode.h.
2744         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2745         [!libc_feholdsetround_noex_ctx]: Define
2746         libc_feholdsetround_noex_ctx.
2747         [!libc_feholdsetround_noexf_ctx]: Define
2748         libc_feholdsetround_noexf_ctx.
2749         [!libc_feholdsetround_noexl_ctx]: Define
2750         libc_feholdsetround_noexl_ctx.
2751         (libc_feholdsetround_ctx): New function.
2752         (libc_feresetround_ctx): New function.
2753         (libc_feholdsetround_noex_ctx): New function.
2754         (libc_feresetround_noex_ctx): New function.
2755
2756 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2757
2758         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2759         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2760         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2761         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2762         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2763         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2764
2765         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2766         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2767         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2768         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2769         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2770         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2771         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2772         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2773         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2774         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2775         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2776         Moved ...
2777         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2778         ... here.
2779         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2780         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2781         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2782         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2783         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2784         Moved ...
2785         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2786         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2787         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2788         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2789         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2790         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2791         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2792         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2793         Moved ...
2794         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2795         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2796         Moved ...
2797         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2798         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2799         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2800         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2801         Moved ...
2802         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2803         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2804         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2805         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2806         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2807         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2808         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2809         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2810         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2811         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2812         Moved ...
2813         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2814         ... here.
2815         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2816         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2817         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2818         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2819         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2820         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2821         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2822         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2823         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2824         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2825         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2826         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2827         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2828         Moved ...
2829         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2830         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2831         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2832         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2833         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2834         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2835         Moved ...
2836         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2837         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2838         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2839         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2840         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2841
2842         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2843         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2844         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2845         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2846         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2847         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2848         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2849         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2850         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2851         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2852         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2853         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2854         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2855         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2856         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2857         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2858         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2859         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2860         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2861         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2862         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2863         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2864         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2865         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2866         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2867         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2868         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2869         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2870
2871 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
2872
2873         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2874         (FALLOC_FL_COLLAPSE_RANGE): New macro.
2875         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2876         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2877         (IPV6_PMTUDISC_INTERFACE): Likewise.
2878         (IPV6_PMTUDISC_OMIT): Likewise.
2879
2880 2014-06-23  Andreas Schwab  <schwab@suse.de>
2881
2882         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2883         Remove unused errout label.
2884
2885 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2886
2887         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2888         macro: hardware supports Vector Crypto instructions.
2889
2890 2014-06-23  Will Newton  <will.newton@linaro.org>
2891
2892         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2893         rather than __builtin_expect.
2894
2895         * elf/dl-lookup.c (undefined_msg): Remove variable.
2896         (_dl_lookup_symbol_x): Replace undefined_msg with string
2897         literal.
2898
2899         * elf/dl-lookup.c (do_lookup_unique): New function.
2900         (do_lookup_x): Move STB_GNU_UNIQUE handling code
2901         to a separate function.
2902
2903 2014-06-23  Andreas Schwab  <schwab@suse.de>
2904
2905         [BZ #17079]
2906         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2907         before reading the next line.
2908
2909 2014-06-23  Will Newton  <will.newton@linaro.org>
2910
2911         * test-skeleton.c (signal_handler): Use printf and %m
2912         rather than perror.  Use printf rather than fprintf to
2913         stderr.  Use puts rather than fputs to stderr.
2914         (main): Likewise.
2915
2916 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
2917
2918         * nscd/nscd.c (thread_info_t): Remove typedef.
2919         (thread_info): Remove variable.
2920
2921 2014-06-21  Allan McRae  <allan@archlinux.org>
2922
2923         * NEWS: Mention CVE-2014-4043.
2924
2925 2014-06-20  Roland McGrath  <roland@hack.frob.com>
2926
2927         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2928         * nptl/smp.h: ... here.
2929
2930         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2931
2932         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2933         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2934         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2935         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2936
2937         * nptl/allocatestack.c: Include <stack-aliasing.h>.
2938         * nptl/stack-aliasing.h: New file.
2939         * sysdeps/i386/i686/stack-aliasing.h: New file.
2940         * sysdeps/i386/i686/nptl/Makefile: File removed.
2941         * sysdeps/x86_64/stack-aliasing.h: New file.
2942         * sysdeps/x86_64/nptl/Makefile
2943         (CFLAGS-pthread_create.c): Variable removed.
2944
2945         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2946         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2947         old file.
2948         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2949         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2950         old file.
2951
2952 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
2953
2954         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2955         (__ASSUME_SIGFRAME_V2): Remove macro.
2956         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2957         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2958         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2959         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2960         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2961         Declare as function.  Remove conditional macro definitions.
2962         (__default_rt_sa_restorer): Likewise.
2963         (__default_sa_restorer_v1): Remove declaration.
2964         (__default_sa_restorer_v2): Likewise.
2965         (__default_rt_sa_restorer_v1): Likewise.
2966         (__default_rt_sa_restorer_v2): Likewise.
2967         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2968         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2969         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2970
2971 2014-06-20  Roland McGrath  <roland@hack.frob.com>
2972
2973         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2974         (libpthread-routines): Add sysdep.
2975         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2976         * sysdeps/unix/sysv/linux/sparc/Versions
2977         (libpthread: GLIBC_2.3.3): New version set.
2978         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2979         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2980         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2981         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2982         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
2983         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2984         Moved ...
2985         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2986         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2987         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2988         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2989         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2990         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2991         * sysdeps/sparc/nptl/sem_init.c: ... here.
2992         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2993         * sysdeps/sparc/nptl/sem_post.c: ... here.
2994         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2995         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2996         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2997         * sysdeps/sparc/nptl/sem_wait.c: ... here.
2998         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2999         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3000         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3001         (libpthread-routines): Add cpu_relax.
3002         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3003         File removed.
3004         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3005         (librt: GLIBC_2.3.3): New version set.
3006         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3007         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3008         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3009         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3010         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3011         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3012         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3013         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3014         Moved ...
3015         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3016         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3017         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3018         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3019         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3020         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3021         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3022         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3023         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3024         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3025         Moved ...
3026         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3027         Update #include.
3028         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3029         Moved ...
3030         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3031         Update #include.
3032         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3033         Moved ...
3034         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3035         Update #include.
3036         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3037         Moved ...
3038         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3039         Update #include.
3040         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3041         Moved ...
3042         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3043         Update #include.
3044         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3045         Moved ...
3046         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3047         Update #include.
3048         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3049         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3050         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3051         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3052         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3053         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3054         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3055         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3056         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3057         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3058         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3059         Moved ...
3060         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3061         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3062         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3063         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3064         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3065
3066 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3067
3068         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3069         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3070         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3071         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3072         * nscd/nscd.c: Likewise.
3073         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3074         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3075         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3076         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3077
3078         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3079         <kernel-features.h>.
3080         (init_mq_netlink): Remove conditional have_sock_cloexec
3081         definitions.  Remove code conditional on have_sock_cloexec < 0.
3082         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3083         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3084         * sysdeps/unix/sysv/linux/opensock.c: Do not include
3085         <kernel-features.h>.
3086         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3087         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3088
3089 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3090
3091         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3092         Add tests for memset_chk and memset.
3093
3094         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3095         with AVX2_Usable.
3096
3097 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3098
3099         [BZ #16046]
3100         * elf/tst-dl-iter-static.c: New file.
3101         * elf/Makefile (tests-static): Add tst-dl-iter-static.
3102
3103         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3104         error.
3105
3106 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3107
3108         * sysdeps/unix/sysv/linux/kernel-features.h
3109         (__ASSUME_F_GETOWN_EX): Remove macro.
3110         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3111         <kernel-features.h>.
3112         (miss_F_GETOWN_EX): Remove variable or macro.
3113         (do_fcntl): Do not check miss_F_GETOWN_EX.
3114         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3115
3116         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3117         Remove macro.
3118         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3119         [!__ASSUME_AT_RANDOM]: Remove conditional code.
3120         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3121
3122         * sysdeps/unix/sysv/linux/kernel-features.h
3123         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3124         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3125         [ADJ_OFFSET_SS_READ]: Make code unconditional.
3126         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3127
3128 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3129
3130         [BZ #17075]
3131         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3132         Fix calculation of the symbol's value.
3133         * sysdeps/arm/tst-armtlsdescloc.c: New file.
3134         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3135         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3136         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3137         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3138         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3139         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3140         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3141         (modules-names): Add `tst-armtlsdescmod',
3142         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3143         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3144         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3145         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3146         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3147         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3148         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3149         ($(objpfx)tst-armtlsdescloc): New dependency.
3150         ($(objpfx)tst-armtlsdescextnow): Likewise.
3151         ($(objpfx)tst-armtlsdescextlazy): Likewise.
3152         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3153         TLS scheme support.
3154         * sysdeps/arm/configure: Regenerate.
3155
3156 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3157
3158         * include/fcntl.h (__atfct_seterrno): Remove prototype.
3159         (__atfct_seterrno_2): Likewise.
3160         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3161         <kernel-features.h>.
3162         (__ASSUME_ATFCTS): Do not undefine and redefine.
3163         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3164         (__have_atfcts): Remove conditional definition.
3165         (__fxstatat([__NR_fstatat64]: Make code unconditional.
3166         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3167         unreachable if [__ASSUME_ATFCTS].
3168         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3169         not undefine and redefine.
3170         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3171         <kernel-features.h>.
3172         (faccessat) [__NR_faccessat]: Make code unconditional.
3173         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3174         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3175         <kernel-features.h>.
3176         (fchmodat) [__NR_fchmodat]: Make code unconditional.
3177         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3178         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3179         <kernel-features.h>.
3180         (fchownat) [__NR_fchownat]: Make code unconditional.
3181         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3182         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3183         <kernel-features.h>.
3184         (futimesat) [__NR_futimesat]: Make code unconditional.
3185         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3186         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3187         <kernel-features.h>.
3188         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3189         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3190         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3191         <kernel-features.h>.
3192         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3193         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3194         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3195         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3196         <kernel-features.h>.
3197         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3198         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3199         * sysdeps/unix/sysv/linux/linkat.c: Do not include
3200         <kernel-features.h>.
3201         (linkat) [__NR_linkat]: Make code unconditional.
3202         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3203         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3204         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3205         <kernel-features.h>.
3206         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3207         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3208         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3209         <kernel-features.h>.
3210         (mkdirat) [__NR_mkdirat]: Make code unconditional.
3211         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3212         * sysdeps/unix/sysv/linux/openat.c: Do not include
3213         <kernel-features.h>.
3214         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3215         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3216         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3217         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3218         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3219         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3220         <kernel-features.h>.
3221         (readlinkat) [__NR_readlinkat]: Make code unconditional.
3222         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
3223         result of INLINE_SYSCALL directly, not via int variable.
3224         * sysdeps/unix/sysv/linux/renameat.c: Do not include
3225         <kernel-features.h>.
3226         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3227         (renameat) [__NR_renameat]: Make code unconditional.
3228         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3229         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3230         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3231         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3232         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3233         (__ASSUME_ATFCTS): Do not undefine and redefine.
3234         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3235         <kernel-features.h>.
3236         (symlinkat) [__NR_symlinkat]: Make code unconditional.
3237         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3238         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3239         <kernel-features.h>.
3240         (unlinkat) [__NR_unlinkat]: Make code unconditional.
3241         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3242         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3243         (__ASSUME_ATFCTS): Do not undefine and redefine.
3244         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3245         <kernel-features.h>.
3246         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3247         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3248         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3249         <kernel-features.h>.
3250         (__xmknodat) [__NR_mknodat]: Make code unconditional.
3251         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3252
3253 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3254
3255         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3256
3257 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
3258
3259         [BZ #17069]
3260         * posix/regcomp.c (parse_reg_exp): Deallocate partially
3261         constructed tree before returning error.
3262         * posix/bug-regexp36.c: Expand test case.
3263
3264 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3265
3266         [BZ #6803]
3267         * math/libm-test.inc (scalbln_test_date):
3268         Add errno expectations.
3269         * math/w_scalblnf.c: New File.
3270         Add wrapper which checks for setting errno to ERANGE.
3271         Add weak_alias for corresponding scalbln function.
3272         * math/w_scalbln.c: Likewise.
3273         * math/w_scalblnl.c: Likewise.
3274         * math/Makefile (libm-calls): Add w_scalbln.
3275         * sysdeps/ieee754/flt-32/s_scalblnf.c:
3276         Remove weak_alias for corresponding scalbln function.
3277         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3278         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3279         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3280         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3281         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3282         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3283         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3284         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3285         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3286         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3287         Remove long_double_symbol for scalblnl function in libm, libc.
3288         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3289         Add wrapper which checks for setting errno to ERANGE.
3290         Add long_double_symbol for scalblnl function in libm, libc.
3291         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3292         Remove long_double_symbol for scalblnl in libm.
3293         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3294         Add wrapper which checks for setting errno to ERANGE.
3295         Add long_double_symbol for scalblnl function in libm.
3296         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3297         Do not use wrapper because of own implementation.
3298
3299 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
3300
3301         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3302         3 bytes for __pad1 for x32.
3303         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3304
3305 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
3306             H.J. Lu  <hongjiu.lu@intel.com>
3307
3308         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3309         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3310         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3311         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3312         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3313
3314 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
3315
3316         [BZ #17069]
3317         * posix/regcomp.c (parse_expression): Deallocate partially
3318         constructed tree before returning error.
3319         * posix/Makefile.c (tests): Add bug-regex36.
3320         (generated): Add bug-regex36.mtrace.
3321         (tests-special): Add $(objpfx)bug-regex36-mem.out
3322         (bug-regex36-ENV): New variable.
3323         ($(objpfx)bug-regex36-mem.out): New rule.
3324         * posix/bug-regex36.c: New file.
3325
3326 2014-06-19  Will Newton  <will.newton@linaro.org>
3327
3328         * malloc/malloc.c (systrim): If extra is zero then return
3329         early.
3330
3331 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3332
3333         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3334
3335 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
3336
3337         * sysdeps/aarch64/strchr.S: New file.
3338
3339 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3340
3341         [BZ #17022]
3342         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3343         from arguments -2 or below.
3344         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3345         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3346
3347 2014-06-18  Andreas Schwab  <schwab@suse.de>
3348
3349         [BZ #17062]
3350         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3351         of a bracket expr not to run off the end of the string.
3352         * posix/Makefile (tests): Add tst-fnmatch3.
3353         * posix/tst-fnmatch3.c: New file.
3354
3355 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3356
3357         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3358         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3359         [$(cross-compiling) = no]: Likewise.
3360         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3361         [$(cross-compiling) = no]: Likewise.
3362
3363 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3364
3365         [BZ #17031]
3366         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3367         double, adjusted for any remainder from the high double.
3368         * math/libm-test.inc (nearbyint): Add tests.
3369         (rint): Likewise.
3370
3371 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3372
3373         * nptl/sysdeps/powerpc/Makefile: Moved ...
3374         * sysdeps/powerpc/nptl/Makefile: ... here.
3375         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3376         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3377         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3378         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3379         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3380         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3381         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3382         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3383         * nptl/sysdeps/powerpc/tls.h: Moved ...
3384         * sysdeps/powerpc/nptl/tls.h: ... here.
3385
3386 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
3387
3388         [BZ #16681]
3389         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3390         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3391         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3392         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3393         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3394         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3395         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3396         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3397         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3398
3399 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
3400
3401         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3402
3403 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
3404
3405         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3406         defined operator.
3407
3408         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3409         $TIMEOUTFACTOR.
3410
3411 2014-06-16  Florian Weimer  <fweimer@redhat.com>
3412
3413         [BZ #17058]
3414         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3415         non-executed part of the test.
3416
3417 2014-06-16  Andreas Schwab  <schwab@suse.de>
3418
3419         * string/bits/string2.h (strdup, strndup): Update feature guard.
3420
3421 2014-06-14  David S. Miller  <davem@davemloft.net>
3422
3423         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3424
3425 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
3426
3427         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3428         that was previously under [RESET_PID].
3429         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3430
3431         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3432         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3433         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3434         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3435         (__libc_vfork): New strong alias.
3436         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3437
3438 2014-06-14 Andi Kleen  <ak@linux.intel.com>
3439
3440         * sysdeps/generic/elide.h: New file.
3441
3442 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3443
3444         * Makefile (installed-headers): Adjust path of pthread.h header.
3445
3446 2014-06-13  Roland McGrath  <roland@hack.frob.com>
3447
3448         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3449         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3450         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3451         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3452
3453         * nptl/sysdeps/s390/Makefile: Moved ...
3454         * sysdeps/s390/nptl/Makefile: ... here.
3455         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3456         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3457         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3458         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3459         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3460         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3461         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3462         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3463         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3464         * sysdeps/s390/nptl/pthreaddef.h: ... here.
3465         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3466         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3467         * nptl/sysdeps/s390/tls.h: Moved ...
3468         * sysdeps/s390/nptl/tls.h: ... here.
3469
3470         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3471         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3472
3473 2014-06-13  David S. Miller  <davem@davemloft.net>
3474
3475         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3476         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3477         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3478         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3479         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3480         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3481         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3482         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3483         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3484         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3485         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3486         Remove RESET_PID cpp guards.
3487         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3488         Remove RESET_PID cpp guards.
3489         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3490
3491 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
3492
3493         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3494         __sp to uintptr_t.
3495
3496 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3497
3498         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3499         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3500         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3501         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3502         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3503         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3504         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3505         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3506         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3507         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3508         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3509         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3510         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3511         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3512         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3513         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3514         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3515         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3516         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3517         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3518
3519         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3520         (pthread_rwlock_rdlock): Add elision.
3521         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3522         (pthread_rwlock_wrlock): Add elision.
3523         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3524         (pthread_rwlock_trywrlock): Add elision.
3525         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3526         (pthread_rwlock_tryrdlock): Add elision.
3527         * nptl/pthread_rwlock_unlock.c: Include elide.h.
3528         (pthread_rwlock_tryrdlock): Add elision unlock.
3529         * nptl/sysdeps/pthread/pthread.h:
3530         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3531         (PTHREAD_RWLOCK_INITIALIZER,
3532         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3533         Handle new elision field.
3534         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3535         * sysdeps/arm/nptl/bits/pthreadtypes.h
3536         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3537         * sysdeps/sh/nptl/bits/pthreadtypes.h
3538         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3539         * sysdeps/tile/nptl/bits/pthreadtypes.h
3540         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3541         * sysdeps/a/nptl/bits/pthreadtypes.h
3542         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3543         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3544         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3545         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3546         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3547         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3548         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3549         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3550         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3551         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3552         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3553         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3554         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3555         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3556         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3557         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3558         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3559         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3560         (elision_init): Set try_xbegin to zero when no RTM.
3561         * sysdeps/x86/nptl/bits/pthreadtypes.h
3562         (pthread_rwlock_t): Change __pad1 to __rwelision.
3563         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3564
3565 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3566
3567         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3568         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3569         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3570         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3571
3572 2014-06-13  Meador Inge  <meadori@codesourcery.com>
3573
3574         [BZ #16996]
3575         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3576         that the cached result has been set before returning it.
3577
3578 2014-06-12  Roland McGrath  <roland@hack.frob.com>
3579
3580         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3581         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3582         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3583         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3584         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3585         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3586
3587         * nptl/sysdeps/sparc/Makefile: Moved ...
3588         * sysdeps/sparc/nptl/Makefile: ... here.
3589         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3590         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3591         * nptl/sysdeps/sparc/tls.h: Moved ...
3592         * sysdeps/sparc/nptl/tls.h: ... here.
3593         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3594         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3595         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3596         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3597         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3598         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3599         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3600         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3601         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3602         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3603         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3604         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3605         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3606         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3607         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3608         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3609         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3610         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3611         Update #include.
3612         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3613         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3614         Update #include.
3615         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3616         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3617         Update #include.
3618         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3619         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3620         Update #include.
3621
3622         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3623
3624         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3625         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3626
3627         * sysdeps/pthread/posix-timer.h: Include <list.h>.
3628         (struct list_links): Type removed.
3629         (struct thread_node, struct timer_node): Replace struct list_links
3630         with struct list_head.
3631         (list_unlink_ip): Likewise.
3632         * sysdeps/pthread/timer_routines.c
3633         (timer_free_list, thread_free_list, thread_active_list): Likewise.
3634         (list_append, list_insbefore): Likewise.
3635         (list_init): Function removed.
3636         (thread_init, init_module): Use INIT_LIST_HEAD instead.
3637         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3638         * sysdeps/pthread/Makefile: ... here, new file.
3639
3640         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3641         * sysdeps/nptl/Implies: ... here.
3642         * sysdeps/unix/sysv/linux/Implies: Add nptl.
3643         * nptl/sysdeps/pthread/list.h: Moved ...
3644         * include/list.h: ... here.
3645         * nptl/sysdeps/pthread/createthread.c: Moved ...
3646         * nptl/createthread.c: ... here.
3647         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3648         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3649         * nptl/pt-longjmp.c: ... here.
3650         * nptl/sysdeps/pthread/Makefile: Moved ...
3651         * sysdeps/nptl/Makefile: ... here.
3652         * nptl/sysdeps/pthread/Subdirs: Moved ...
3653         * sysdeps/nptl/Subdirs: ... here.
3654         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3655         * sysdeps/nptl/aio_misc.h: ... here.
3656         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3657         * sysdeps/nptl/bits/libc-lock.h: ... here.
3658         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3659         * sysdeps/nptl/bits/libc-lockP.h: ... here.
3660         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3661         * sysdeps/nptl/bits/stdio-lock.h: ... here.
3662         * nptl/sysdeps/pthread/configure: Moved ...
3663         * sysdeps/nptl/configure: ... here.
3664         * nptl/sysdeps/pthread/configure.ac: Moved ...
3665         * sysdeps/nptl/configure.ac: ... here.
3666         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3667         * sysdeps/nptl/gai_misc.h: ... here.
3668         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3669         * sysdeps/nptl/librt-cancellation.c: ... here.
3670         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3671         * sysdeps/nptl/malloc-machine.h: ... here.
3672         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3673         * sysdeps/nptl/pthread-functions.h: ... here.
3674         * nptl/sysdeps/pthread/pthread.h: Moved ...
3675         * sysdeps/nptl/pthread.h: ... here.
3676         * nptl/sysdeps/pthread/setxid.h: Moved ...
3677         * sysdeps/nptl/setxid.h: ... here.
3678         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3679         * sysdeps/nptl/sigfillset.c: ... here.
3680         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3681         * sysdeps/nptl/tcb-offsets.h: ... here.
3682         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3683         * sysdeps/nptl/tst-mqueue8x.c: ... here.
3684         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3685         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3686         * nptl/sysdeps/pthread/allocalim.h: Moved ...
3687         * sysdeps/pthread/allocalim.h: ... here.
3688         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3689         * sysdeps/pthread/bits/sigthread.h: ... here.
3690         * nptl/sysdeps/pthread/flockfile.c: Moved ...
3691         * sysdeps/pthread/flockfile.c: ... here.
3692         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3693         * sysdeps/pthread/ftrylockfile.c: ... here.
3694         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3695         * sysdeps/pthread/funlockfile.c: ... here.
3696         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3697         * sysdeps/pthread/posix-timer.h: ... here.
3698         * nptl/sysdeps/pthread/timer_create.c: Moved ...
3699         * sysdeps/pthread/timer_create.c: ... here.
3700         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3701         * sysdeps/pthread/timer_delete.c: ... here.
3702         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3703         * sysdeps/pthread/timer_getoverr.c: ... here.
3704         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3705         * sysdeps/pthread/timer_gettime.c: ... here.
3706         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3707         * sysdeps/pthread/timer_routines.c: ... here.
3708         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3709         * sysdeps/pthread/timer_settime.c: ... here.
3710         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3711         * sysdeps/pthread/tst-timer.c: ... here.
3712         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3713         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3714
3715         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3716         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3717
3718         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3719         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3720         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3721         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3722         Update #include target.
3723         * nptl/sysdeps/i386/i686/Makefile: Moved ...
3724         * sysdeps/i386/i686/nptl/Makefile: ... here.
3725         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3726         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3727         Update #include target.
3728         * nptl/sysdeps/i386/i686/tls.h: Moved ...
3729         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
3730         * nptl/sysdeps/i386/Makefile: Moved ...
3731         * sysdeps/i386/nptl/Makefile: ... here.
3732         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3733         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3734         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3735         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3736         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3737         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3738         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3739         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3740         * sysdeps/i386/nptl/pthreaddef.h: ... here.
3741         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3742         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3743         * nptl/sysdeps/i386/tls.h: Moved ...
3744         * sysdeps/i386/nptl/tls.h: ... here.
3745
3746         * sysdeps/sh/Makefile [$(subdir) = csu]
3747         (gen-as-const-headers): Add tcb-offsets.sym.
3748         * nptl/sysdeps/sh/Makefile: File removed.
3749         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3750         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3751         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3752         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3753         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3754         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3755         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3756         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3757         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3758         * sysdeps/sh/nptl/pthreaddef.h: ... here.
3759         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3760         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3761         * nptl/sysdeps/sh/tls.h: Moved ...
3762         * sysdeps/sh/nptl/tls.h: ... here.
3763         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3764         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3765         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3766         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3767         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3768         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3769         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3770         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3771         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3772         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3773         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3774         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3775         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3776         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3777         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3778         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3779         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3780         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3781         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3782         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3783         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3784         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3785         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3786         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3787         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3788         Moved ...
3789         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3790         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3791         Moved ...
3792         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3793         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3794         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3795         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3796         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3797         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3798         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3799         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3800         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3801         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3802         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3803         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3804         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3805         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3806         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3807         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3808         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3809         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3810         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3811
3812 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3813
3814         * posix/spawn_faction_addopen.c: Include string.h.
3815
3816 2014-06-11  Roland McGrath  <roland@hack.frob.com>
3817
3818         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3819         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3820         * nptl/sysdeps/x86_64/Makefile: Moved ...
3821         * sysdeps/x86_64/nptl/Makefile: ... here.
3822         * nptl/sysdeps/x86_64/configure: Moved ...
3823         * sysdeps/x86_64/nptl/configure: ... here.
3824         * nptl/sysdeps/x86_64/configure.ac: Moved ...
3825         * sysdeps/x86_64/nptl/configure.ac: ... here.
3826         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3827         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3828         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3829         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3830         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3831         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3832         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3833         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3834         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3835         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3836         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3837         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3838         * nptl/sysdeps/x86_64/tls.h: Moved ...
3839         * sysdeps/x86_64/nptl/tls.h: ... here.
3840         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3841         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3842         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3843         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3844
3845         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3846
3847 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3848
3849         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3850
3851 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
3852
3853         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3854         type.
3855         [POSIX] (off_t): Likewise.
3856         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3857         [POSIX] (S_ISBLK): Require macro.
3858         [POSIX] (S_ISCHR): Likewise.
3859         [POSIX] (S_ISDIR): Likewise.
3860         [POSIX] (S_ISFIFO): Likewise.
3861         [POSIX] (S_ISREG): Likewise.
3862         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3863         optional-macro.
3864         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3865         type.
3866         [POSIX] (time_t): Likewise.
3867         [POSIX] (timer_t): Likewise.
3868
3869 2014-06-11  Florian Weimer  <fweimer@redhat.com>
3870
3871         [BZ #17048]
3872         * posix/spawn_int.h (struct __spawn_action): Make the path string
3873         non-const to support deallocation.
3874         * posix/spawn_faction_addopen.c
3875         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3876         * posix/spawn_faction_destroy.c
3877         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
3878         path in all spawn_do_open actions.
3879         * posix/tst-spawn.c (do_test): Exercise the copy operation in
3880         posix_spawn_file_actions_addopen.
3881
3882 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
3883
3884         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3885         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3886         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3887         conditional code always true.
3888         (__libc_vfork): New alias.
3889
3890 2014-06-11  Roland McGrath  <roland@hack.frob.com>
3891
3892         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3893         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3894
3895         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3896
3897         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3898         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3899
3900         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3901         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3902
3903         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3904         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3905
3906 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3907
3908         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3909         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3910         multiarch strcmp for PPC64.
3911         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3912         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3913         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3914         multiarch optimizations.
3915         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3916         (__libc_ifunc_impl_list): Likewise.
3917
3918 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3919
3920         * benchtests/scripts/validate_benchout.py: New script.
3921         * benchtests/Makefile (bench-func): Call it.
3922         * benchtests/scripts/benchout.schema.json: New file.
3923
3924 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
3925
3926         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3927         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3928         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3929         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3930         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3931         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3932         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3933         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3934         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3935         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3936         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3937         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3938         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3939         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3940         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3941         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3942         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
3943         Moved ...
3944         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
3945         ... here.
3946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
3947         Moved ...
3948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3949         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
3950         Moved ...
3951         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
3952         ... here.
3953         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
3954         Moved ...
3955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
3956         ... here.
3957         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
3958         Moved ...
3959         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3960         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
3961         Moved ...
3962         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
3963         ... here.
3964         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
3965         Moved ...
3966         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
3967         ... here.
3968         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
3969         Moved ...
3970         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3971         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
3972         Moved ...
3973         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
3974         ... here.
3975         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
3976         Moved ...
3977         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
3978         ... here.
3979         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
3980         Moved ...
3981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
3982         ... here.
3983         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
3984         Moved ...
3985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3986         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
3987         Moved ...
3988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
3989         ... here.
3990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
3991         Moved ...
3992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
3993         ... here.
3994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
3995         Moved ...
3996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
3997         ... here.
3998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
3999         Moved ...
4000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4001         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4002         Moved ...
4003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4004         ... here.
4005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4006         Moved ...
4007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4008         ... here.
4009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4010         Moved ...
4011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4013         Moved ...
4014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4015         ... here.
4016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4017         Moved ...
4018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4019         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4020         Moved ...
4021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4022         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4023         Moved ...
4024         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4025         ... here.
4026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4027         Moved ...
4028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4029         ... here.
4030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4031         Moved ...
4032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4033         ... here.
4034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4035         Moved ...
4036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4037         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4038         Moved ...
4039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4040         ... here.
4041         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4042         Moved ...
4043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4044         ... here.
4045         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4046         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4047         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4048         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4049         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4050         Moved ...
4051         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4052         ... here.
4053         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4054         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4055         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4056         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4057         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4058         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4059         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4060         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4061         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4062         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4063         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4064         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4065         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4066         Moved ...
4067         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4068         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4069         Moved ...
4070         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4071         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4072         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4073         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4074         Moved ...
4075         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4076         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4077         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4078         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4079         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4080         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4081         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4082
4083 2014-06-10  Wilco  <wdijkstr@arm.com>
4084
4085         * math/test-fenv-return.c: New file.
4086         * math/Makefile: Add new test test-fenv-return.
4087
4088 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
4089
4090         [BZ #17042]
4091         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4092         when x - 1 is zero.
4093         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4094         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4095         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4096         0.0L for an argument of 1.0L.
4097         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4098         Likewise.
4099         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4100         value when x - 1 is zero.
4101         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4102         * sysdeps/i386/fpu/libm-test-ulps: Update.
4103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4104
4105 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
4106
4107         [BZ #15119]
4108         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4109
4110 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4111
4112         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4113         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4114
4115 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4116
4117         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4118         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4119
4120         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4121         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4122
4123         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4124         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4125
4126         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4127         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4128
4129         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4130         if not already defined.
4131         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4132         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4133         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4134         (TLS_INIT_TP): Use it.
4135         (TLS_DEFINE_INIT_TP): New macro.
4136         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4137
4138 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
4139
4140         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4141         constant.
4142         [POSIX] (IXANY): Likewise.
4143         [POSIX] (OLCUC): Likewise.
4144         [POSIX || POSIX2008] (CBAUD): Do not allow.
4145         [POSIX || POSIX2008] (DEFECHO): Likewise.
4146         [POSIX || POSIX2008] (ECHOCTL): Likewise.
4147         [POSIX || POSIX2008] (ECHOKE): Likewise.
4148         [POSIX || POSIX2008] (ECHOPRT): Likewise.
4149         [POSIX || POSIX2008] (EXTA): Likewise.
4150         [POSIX || POSIX2008] (EXTB): Likewise.
4151         [POSIX || POSIX2008] (FLUSHO): Likewise.
4152         [POSIX || POSIX2008] (LOBLK): Likewise.
4153         [POSIX || POSIX2008] (PENDIN): Likewise.
4154         [POSIX || POSIX2008] (SWTCH): Likewise.
4155         [POSIX || POSIX2008] (VDISCARD): Likewise.
4156         [POSIX || POSIX2008] (VDSUSP): Likewise.
4157         [POSIX || POSIX2008] (VLNEXT): Likewise.
4158         [POSIX || POSIX2008] (VREPRINT): Likewise.
4159         [POSIX || POSIX2008] (VSTATUS): Likewise.
4160         [POSIX || POSIX2008] (VWERASE): Likewise.
4161         (B*): Change to B[0123456789]*.
4162         * conform/data/time.h-data [POSIX || UNIX98]
4163         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4164         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4165         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4166         [POSIX] (tm_*): Do not allow.
4167
4168 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
4169
4170         * Makefile (install): Don't set LANGUAGE.
4171         * Makefile.in (install): Likewise.
4172         * assert/Makefile (test-assert-ENV): Remove variable.
4173         (test-assert-perr-ENV): Likewise.
4174         * elf/Makefile (neededtest4-ENV): Likewise.
4175         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4176         [$(cross-compiling) = no]: Don't set LANGUAGE.
4177         * io/ftwtest-sh (LANG): Remove variable.
4178         * libio/Makefile (tst-widetext-ENV): Likewise.
4179         * manual/install.texi (Running make install): Don't refer to
4180         environment settings for make install.
4181         * INSTALL: Regenerated.
4182         * nptl/tst-tls6.sh: Don't set LANG.
4183         * posix/globtest.sh (LANG): Remove variable.
4184         * string/Makefile (tester-ENV): Likewise.
4185         (inl-tester-ENV): Likewise.
4186         (noinl-tester-ENV): Likewise.
4187         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4188         [$(cross-compiling) = no]: Don't set LANGUAGE.
4189         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4190         without explicit environment settings.
4191
4192 2014-06-06  Roland McGrath  <roland@hack.frob.com>
4193
4194         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4195         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4196         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4197         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4198
4199 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
4200
4201         * crypt/crypt-private.h [DOS]: Add some includes taken from the
4202         other files in the crypt directory.
4203         * crypt/crypt.c: Remove duplicate includes.
4204         * crypt/crypt-entry.c: Likewise.
4205         * crypt/crypt_util.c: Likewise.
4206
4207 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
4208
4209         * Makeconfig (run-program-env): New variable.
4210         (run-program-prefix-before-env): Likewise.
4211         (run-program-prefix-after-env): Likewise.
4212         (run-program-prefix): Define in terms of new variables.
4213         (built-program-cmd-before-env): New variable.
4214         (built-program-cmd-after-env): Likewise.
4215         (built-program-cmd): Define in terms of new variables.
4216         (test-program-prefix-before-env): New variable.
4217         (test-program-prefix-after-env): Likewise.
4218         (test-program-prefix): Define in terms of new variables.
4219         (test-program-cmd-before-env): New variable.
4220         (test-program-cmd-after-env): Likewise.
4221         (test-program-cmd): Define in terms of new variables.
4222         * Rules (make-test-out): Use $(run-program-env).
4223         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4224         (help): Do not mention environment variables.  Mention
4225         --timeoutfactor option.
4226         (timeoutfactor): New variable.
4227         (blacklist_exports): Remove function.
4228         (exports): Remove variable.
4229         (command): Do not include ${exports}.
4230         * manual/install.texi (Configuring and compiling): Do not mention
4231         test wrappers preserving environment variables.  Mention that last
4232         assignment to a variable must take precedence.
4233         * INSTALL: Regenerated.
4234         * benchtests/Makefile (run-bench): Use $(run-program-env).
4235         * catgets/Makefile ($(objpfx)test1.cat): Use
4236         $(built-program-cmd-before-env), $(run-program-env) and
4237         $(built-program-cmd-after-env).
4238         ($(objpfx)test2.cat): Do not specify environment variables
4239         explicitly.
4240         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4241         $(run-program-env) and $(built-program-cmd-after-env).
4242         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4243         $(run-program-env) and $(test-program-cmd-after-env).
4244         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4245         explicitly.
4246         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4247         run_program_env and test_program_cmd_after_env arguments.
4248         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4249         * elf/tst-pathopt.sh: Use run_program_env argument.
4250         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4251         $(test-wrapper-env) and $(run-program-env).
4252         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4253         run_program_env arguments.
4254         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4255         * intl/Makefile ($(objpfx)tst-gettext.out): Use
4256         $(test-program-prefix-before-env), $(run-program-env) and
4257         $(test-program-prefix-after-env).
4258         ($(objpfx)tst-gettext2.out): Likewise.
4259         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4260         run_program_env and test_program_prefix_after_env arguments.
4261         * intl/tst-gettext2.sh: Likewise.
4262         * intl/tst-gettext4.sh: Do not set environment variables
4263         explicitly.
4264         * intl/tst-gettext6.sh: Likewise.
4265         * intl/tst-translit.sh: Likewise.
4266         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4267         $(test-program-prefix-before-env), $(run-program-env) and
4268         $(test-program-prefix-after-env).
4269         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4270         run_program_env and test_program_prefix_after_env arguments.
4271         * math/Makefile (run-regen-ulps): Use $(run-program-env).
4272         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4273         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
4274         explicitly with each use of ${test_wrapper_env}.
4275         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4276         $(test-program-prefix-before-env), $(run-program-env) and
4277         $(test-program-prefix-after-env).
4278         * posix/tst-getconf.sh: Do not set environment variables
4279         explicitly.
4280         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4281         run_program_env and test_program_prefix_after_env arguments.
4282         * stdio-common/tst-printf.sh: Do not set environment variables
4283         explicitly.
4284         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4285         $(test-program-prefix-before-env), $(run-program-env) and
4286         $(test-program-prefix-after-env).
4287         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4288         run_program_env and test_program_prefix_after_env arguments.
4289         Split $test calls into $test_pre and $test.
4290         * timezone/Makefile (build-testdata): Use
4291         $(built-program-cmd-before-env), $(run-program-env) and
4292         $(built-program-cmd-after-env).
4293
4294 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4295
4296         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4297         strlen for non SHARED builds.
4298
4299 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4300
4301         * nptl/allocatestack.c (check_list): Inlined function...
4302         (__reclaim_stacks): ... here.
4303
4304 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4305
4306         [BZ #15698]
4307         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4308         memory overrun.
4309
4310 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
4311
4312         * Rules (make-test-out): Include
4313         LOCPATH=$(common-objpfx)localedata in default environment.
4314         * debug/Makefile (tst-chk1-ENV): Remove variable.
4315         (tst-chk2-ENV): Likewise.
4316         (tst-chk3-ENV): Likewise.
4317         (tst-chk4-ENV): Likewise.
4318         (tst-chk5-ENV): Likewise.
4319         (tst-chk6-ENV): Likewise.
4320         (tst-lfschk1-ENV): Likewise.
4321         (tst-lfschk2-ENV): Likewise.
4322         (tst-lfschk3-ENV): Likewise.
4323         (tst-lfschk4-ENV): Likewise.
4324         (tst-lfschk5-ENV): Likewise.
4325         (tst-lfschk6-ENV): Likewise.
4326         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4327         (tst-iconv7-ENV): Likewise.
4328         * intl/Makefile (LOCPATH-ENV): Likewise.
4329         (tst-codeset-ENV): Likewise.
4330         (tst-gettext3-ENV): Likewise.
4331         (tst-gettext5-ENV): Likewise.
4332         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4333         (tst-fopenloc-ENV): Likewise.
4334         (tst-fgetws-ENV): Remove variable.
4335         (tst-ungetwc1-ENV): Likewise.
4336         (tst-ungetwc2-ENV): Likewise.
4337         (bug-ungetwc2-ENV): Likewise.
4338         (tst-swscanf-ENV): Likewise.
4339         (bug-ftell-ENV): Likewise.
4340         (tst-fgetwc-ENV): Likewise.
4341         (tst-fseek-ENV): Likewise.
4342         (tst-ftell-partial-wide-ENV): Likewise.
4343         (tst-ftell-active-handler-ENV): Likewise.
4344         (tst-ftell-append-ENV): Likewise.
4345         * posix/Makefile (tst-fnmatch-ENV): Likewise.
4346         (tst-regexloc-ENV): Likewise.
4347         (bug-regex1-ENV): Likewise.
4348         (tst-regex-ENV): Likewise.
4349         (tst-regex2-ENV): Likewise.
4350         (bug-regex5-ENV): Likewise.
4351         (bug-regex6-ENV): Likewise.
4352         (bug-regex17-ENV): Likewise.
4353         (bug-regex18-ENV): Likewise.
4354         (bug-regex19-ENV): Likewise.
4355         (bug-regex20-ENV): Likewise.
4356         (bug-regex22-ENV): Likewise.
4357         (bug-regex23-ENV): Likewise.
4358         (bug-regex25-ENV): Likewise.
4359         (bug-regex26-ENV): Likewise.
4360         (bug-regex30-ENV): Likewise.
4361         (bug-regex32-ENV): Likewise.
4362         (bug-regex33-ENV): Likewise.
4363         (bug-regex34-ENV): Likewise.
4364         (bug-regex35-ENV): Likewise.
4365         (tst-rxspencer-ENV): Likewise.
4366         (tst-rxspencer-no-utf8-ENV): Likewise.
4367         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4368         (tst-sscanf-ENV): Likewise.
4369         (tst-swprintf-ENV): Likewise.
4370         (tst-swscanf-ENV): Likewise.
4371         (test-vfprintf-ENV): Likewise.
4372         (scanf13-ENV): Likewise.
4373         (bug14-ENV): Likewise.
4374         (tst-grouping-ENV): Likewise.
4375         * stdlib/Makefile (tst-strtod-ENV): Likewise.
4376         (tst-strtod3-ENV): Likewise.
4377         (tst-strtod4-ENV): Likewise.
4378         (tst-strtod5-ENV): Likewise.
4379         (testmb2-ENV): Likewise./
4380         * string/Makefile (tst-strxfrm-ENV): Likewise.
4381         (tst-strxfrm2-ENV): Likewise.
4382         (bug-strcoll1-ENV): Likewise.
4383         (test-strcasecmp-ENV): Likewise.
4384         (test-strncasecmp-ENV): Likewise.
4385         * time/Makefile (tst-strptime-ENV): Likewise.
4386         (tst-ftime_l-ENV): Likewise.
4387         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4388         (tst-mbrtowc-ENV): Likewise.
4389         (tst-wcrtomb-ENV): Likewise.
4390         (tst-mbrtowc2-ENV): Likewise.
4391         (tst-c16c32-1-ENV): Likewise.
4392         (tst-mbsnrtowcs-ENV): Likewise.
4393
4394 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4395
4396         * manual/resource.texi (How to get information about the memory
4397         subsystem?): Fix typo.
4398         Reported by Peon de la Parra Ivan <peon@keba.com>
4399
4400 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
4401
4402         [BZ #16882]
4403         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4404         (pthread_spin_lock): Branch out of spin loop to proper location.
4405         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4406         (pthread_spin_lock): Likewise.
4407
4408         * nptl/tst-spin4.c: New test.
4409         * nptl/Makefile (tests): Add tst-spin4.
4410
4411 2014-06-03  Andreas Schwab  <schwab@suse.de>
4412
4413         [BZ #15946]
4414         * resolv/res_send.c (send_dg): Reload file descriptor after
4415         calling reopen.
4416
4417 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
4418
4419         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4420
4421 2014-06-03  Richard Henderson  <rth@redhat.com>
4422
4423         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4424         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4425         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4426         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
4427         in the SAVE_PID block.
4428         (__libc_vfork): New alias.
4429         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4430
4431         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4432         child in registers, not on the stack.  Remove RESET_PID conditionals.
4433         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4434
4435 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4436
4437         * sysdeps/aarch64/libm-test-ulps: Regenerate.
4438
4439 2014-06-03  Wilco  <wdijkstr@arm.com>
4440
4441         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4442         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4443         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4444         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4445         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4446         Likewise.
4447
4448 2014-06-03  Wilco  <wdijkstr@arm.com>
4449
4450         * sysdeps/aarch64/fpu/math_private.h
4451         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4452         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4453         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4454         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4455         Fix declarations.
4456
4457 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4458
4459         * crypt/crypt-private.h: Include ufc-crypt.h.
4460         (__b64_from_24bit): Declare extern.
4461         * crypt/crypt_util.c(__b64_from_24bit): New function.
4462         (b64t): New static const variable.
4463         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4464         (b64t): Remove variable.
4465         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4466         * crypt/sha256-crypt.c: Include crypt-private.h.
4467         (b64t): Remove variable.
4468         (__sha256_crypt_r): Remove b64_from_24bit and replace
4469         with __b64_from_24bit.
4470         * crypt/sha512-crypt.c: Likewise.
4471
4472 2014-06-02  Roland McGrath  <roland@hack.frob.com>
4473
4474         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4475         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4476         Label the code __libc_vfork rather than __vfork.
4477         [!NOT_IN_libc] (vfork): Define as weak alias.
4478         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4479         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4480         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4481
4482 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4483
4484         * malloc/malloc.c (malloc_info): Fix format specifier for
4485         n_mmaps.
4486
4487 2014-06-02  Wilco  <wdijkstr@arm.com>
4488
4489         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4490         FPCR write.
4491
4492 2014-06-02  Wilco  <wdijkstr@arm.com>
4493
4494         [BZ #17009]
4495         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4496         Rewrite to reduce FPCR/FPSR accesses.
4497
4498 2014-06-01  David S. Miller  <davem@davemloft.net>
4499
4500         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4501
4502 2014-05-31  David S. Miller  <davem@davemloft.net>
4503
4504         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4505         to occur in round to nearest mode when |x| >= 2.0
4506
4507 2014-05-30  Richard Henderson  <rth@twiddle.net>
4508
4509         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4510         (PSEUDO_RET_NOERRNO): Remove.
4511         (ret): Don't redefine.
4512         (ret_NOERRNO): Define in terms of ret.
4513         (ret_ERRVAL): Likewise.
4514
4515         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4516         use of PSEUDO_RET; perform the error check directly.
4517
4518 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
4519
4520         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4521         with __int128_t.
4522
4523 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4524
4525         * malloc/malloc (malloc_info): Fix formatting.
4526
4527 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4528             Roland McGrath  <roland@hack.frob.com>
4529
4530         * malloc/malloc (malloc_info): Also print mmapped statistics.
4531
4532 2014-05-30  Roland McGrath  <roland@hack.frob.com>
4533
4534         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4535         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4536
4537 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
4538
4539         * malloc/malloc.c (malloc_info): Inline mi_arena.
4540
4541 2014-05-29  Richard Henderson  <rth@twiddle.net>
4542
4543         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4544         Remove comma before expanding ASM_ARGS_##nr.
4545         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4546         Make _x0 a strict output; make _x8 a strict input; adjust expansion
4547         of ASM_ARGS_##nr.
4548         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4549         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4550         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4551         (ASM_ARGS_1): Add leading comma.
4552
4553         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4554         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4555         to __errno_location.
4556         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4557         Remove the expected plt for __errno_location.
4558
4559         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4560         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4561         call to __read_tp.
4562
4563         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4564         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
4565         it and break it down.
4566         (DOCARGS_0, DOCARGS_1): Do nothing.
4567         (DOCARGS_2): Update to store into the new stack frame.
4568         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4569         (UNDOCARGS_1): Update to restore from the new stack frame.
4570         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4571         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4572
4573         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4574         (SINGLE_THREAD_P): New parameter for result regno.
4575         (PSEUDO): Update to match; use cbz instead of beq.
4576
4577         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4578         Use ENTRY to define the _nocancel entry point.  Share the syscall
4579         and syscall error check paths with the cancel path.
4580         (PSEUDO_END): New.
4581
4582         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4583         whitespace; tabs before and after asm mnemonics.
4584
4585 2014-05-29  Eric Wong  <normalperson@yhbt.net>
4586
4587         [BZ #15132]
4588         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4589         Call fstat64 or stat64 internally, depending on arguments passed.
4590         Replace stat buffer argument with file descriptor argument.
4591         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4592         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4593         Pass fd to __internal_statvfs instead of calling fstat64.
4594         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4595         Pass fd to __internal_statvfs64 instead of calling fstat64.
4596         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4597         Pass -1 to __internal_statvfs instead of calling stat64.
4598         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4599         Pass -1 to __internal_statvfs64 instead of calling stat64.
4600
4601 2014-05-28  Roland McGrath  <roland@hack.frob.com>
4602
4603         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4604         that was previously under [RESET_PID].
4605         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4606
4607         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4608         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4609
4610 2014-05-27  Roland McGrath  <roland@hack.frob.com>
4611
4612         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4613
4614         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4615         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4616
4617 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
4618
4619         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4620
4621 2014-05-27  Andreas Schwab  <schwab@suse.de>
4622
4623         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4624         TLS_INIT_TP macro.
4625         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4626         * elf/rtld.c (init_tls, dl_main): Likewise.
4627         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4628         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4629         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4630         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4631         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4632         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4633         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4634         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4635         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4636         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4637         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4638         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4639         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4640         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4641         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4642         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4643         * sysdeps/generic/tls.h: Update description.
4644
4645 2014-05-27  Will Newton  <will.newton@linaro.org>
4646
4647         [BZ #16990]
4648         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4649         and restore r2 rather than just restoring.
4650
4651 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4652
4653         [BZ #16724]
4654         * libio/tst-ftell-append.c: New test case.
4655         * libio/Makefile (tests): Add test case.
4656         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4657         append mode.
4658         * libio/wfileops.c (do_ftell_wide): Likewise.
4659
4660 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4661
4662         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4663
4664         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4665         ...
4666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4668         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4669         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4670         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4671         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4672         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4673         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4674         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4675         Moved ...
4676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4677         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4678         Moved ...
4679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4680         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4681         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4682         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4683         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4684         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4685         ...
4686         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4687         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4688         Moved ...
4689         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4690         here.
4691         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4692         ...
4693         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4694         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4695         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4696
4697         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4698         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4699         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4700         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4701
4702         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4703         merge into ...
4704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4705         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4706         ...
4707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4708         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4709         ...
4710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4711         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4712         Moved ...
4713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4714         here.
4715         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4716         Moved ...
4717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4718         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4719         Moved ...
4720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4721
4722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4723         conditional [RESET_PID].
4724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4725         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4726         removed.
4727         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4728         removed.
4729
4730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4731         <tcb-offsets.h>.
4732         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4733         (__libc_vfork): New strong alias.
4734         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4735         removed.
4736         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4737         Removed.
4738
4739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4740         <tcb-offsets.h>.
4741         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4742         (__libc_vfork): New strong alias.
4743         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4744         removed.
4745         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4746         removed.
4747
4748 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
4749
4750         * malloc/malloc.c (mi_arena): New function.
4751         (malloc_info): Remove nested function mi_arena. Call non-nosted
4752         function mi_arena.
4753
4754 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4755
4756         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4757         by insrwi.
4758         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4759         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4760         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4761         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4762         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4763         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4764         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4765
4766 2014-05-26  Andreas Schwab  <schwab@suse.de>
4767
4768         [BZ #16984]
4769         * locale/programs/repertoire.c (repertoire_read): Add slash
4770         between I18NPATH element and file name.
4771         * locale/programs/locfile.c (locfile_read): Likewise.
4772
4773 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4774
4775         * nptl/pthread_mutexattr_settype.c
4776         (__pthread_mutexattr_settype):
4777         Disable lock elision for PTHREAD_MUTEX_NORMAL.
4778
4779 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4780
4781         * nptl/tst-mutex5 (do_test):
4782         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4783
4784 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4785
4786         * benchtests/README: Document 'init' directive.
4787         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4788         BENCH_INIT.
4789         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4790         (parse_file): Recognize 'init' directive.
4791
4792 2014-05-26  Kyle McMartin  <kyle@redhat.com>
4793
4794         [BZ #16796]
4795         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4796         alignment of struct pthread.
4797
4798 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4799
4800         [BZ #16878]
4801         * nscd/netgroupcache.c (addgetnetgrentX): Look for
4802         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4803         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4804         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4805
4806 2014-05-25  Richard Henderson  <rth@twiddle.net>
4807
4808         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4809         (SINGLE_THREAD_P_PIC): Remove.
4810         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4811         (SINGLE_THREAD_P_PIC): Remove.
4812
4813         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4814         branch to syscall error ...
4815         (PSEUDO): ... here.
4816         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4817         from __local_syscall_error to .Lsyscall_error.
4818         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4819         (SYSCALL_ERROR): Update label name.
4820
4821         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4822         Do not use DOARGS/UNDOARGS.
4823         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4824         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4825         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4826         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4827         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4828
4829         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4830         block comment.
4831
4832         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4833         define if !NOT_IN_libc.
4834         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4835         define with non-default symbol versions.
4836
4837 2014-05-23  Richard Henderson  <rth@twiddle.net>
4838
4839         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4840         (vfork, __vfork): Define via compat_symbol.
4841
4842         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4843         [!HAVE_IFUNC] (vfork_compat): Remove.
4844         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4845
4846 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
4847
4848         [BZ #16978]
4849         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4850         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4851         variable.
4852
4853 2014-05-23  Richard Henderson  <rth@twiddle.net>
4854
4855         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4856         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4857         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4858         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4859
4860         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4861         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4862         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4863         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4864         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4865         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4866         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4867         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4868         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4869         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4870         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4871         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4872         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4873         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4874         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4875         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4876         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4877         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4878         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4879         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4880         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4881         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4882         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4883         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4884         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4885         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4886         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4887         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4888         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4889         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4890         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4891         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4892         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4893         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4894         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4895         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4896         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4897         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4898         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4899         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4900         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4901         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4902         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4903         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4904         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4905         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4906         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4907         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4908         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4909         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4910         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4911         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4912         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4913         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4914         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4915         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4916
4917         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4918         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4919         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
4920         before exiting on error.
4921         (__libc_vfork): New strong alias.
4922         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4923         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4924
4925         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4926         that was previously under [RESET_PID].
4927         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4928
4929         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4930
4931 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
4932
4933         [BZ #16977]
4934         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4935         value when x - 1 is zero.
4936         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4937         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4938         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4939         0.0L for an argument of 1.0L.
4940         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4941         Likewise.
4942         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4943         value when x - 1 is zero.
4944         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4945         * sysdeps/i386/fpu/libm-test-ulps: Update.
4946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4947
4948 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4949
4950         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4951         alphasort and versionsort.
4952
4953 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4954
4955         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4956         macro.
4957         [copysignf]: Likewise.
4958
4959 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4960
4961         * crypt/md5-crypt.c: Fix formatting.
4962
4963 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4964
4965         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4966         (b64_from_24bit): New function.
4967
4968 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4969
4970         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4971         libc_hidden_builtin_def to ifunc.
4972         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4973         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4974
4975 2014-05-21  Roland McGrath  <roland@hack.frob.com>
4976
4977         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4978         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4979
4980 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
4981
4982         * nscd/Depend (linuxthreads): Remove.
4983         (nptl): Add.
4984         * resolv/Depend (linuxthreads): Remove.
4985         * rt/Depend (linuxthreads): Remove.
4986
4987         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4988         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4989         $(common-objpfx)elf/.
4990         (link-libc-before-gnulib): Likewise.
4991         (elfobjdir): Remove variable.
4992         * Makefile (install): Use $(elf-objpfx) instead of
4993         $(common-objpfx)elf/.
4994         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4995         $(elfobjdir)/.
4996         (link-libc-deps): Likewise.
4997         ($(common-objpfx)libc.so): Likewise.
4998         ($(common-objpfx)linkobj/libc.so): Likewise.
4999         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5000         instead of $(common-objpfx)elf/.
5001         (symbolic-link-list): Likewise.
5002         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5003         [$(cross-compiling) = no]: Likewise.
5004         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5005         $(elfobjdir)/.
5006         (static-gnulib-arch): Likewise.
5007         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5008         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5009         $(common-objpfx)elf/.
5010
5011 2014-05-21  Richard Henderson  <rth@redhat.com>
5012
5013         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5014         (SINGLE_THREAD_P): Use the correct width load.  Fold
5015         into the ldr offset.
5016
5017         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5018         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5019
5020 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
5021
5022         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5023         (libgcc_s_resume): Use __attribute_used__.
5024         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5025         Likewise.
5026
5027 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5028
5029         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5030         optimization when used with float constants.
5031
5032         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5033
5034 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
5035
5036         [BZ #16915]
5037         * locale/nl_langinfo_l.c: Make direct reference to every
5038         _nl_current_CATEGORY symbol.
5039         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5040         (tests-static): Add tst-langinfo-static.
5041         (tests-special): Add tst-langinfo-static.out.
5042         ($(objpfx)tst-langinfo.out): Redirect output.
5043         ($(objpfx)tst-langinfo-static.out): New.
5044         * localedata/tst-langinfo.sh: Send output to stdout.
5045         * localedata/tst-langinfo-static.c: New file.
5046
5047         [BZ #16965]
5048         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5049         when the shift amount is modulo the limb size.
5050
5051 2014-05-20  Richard Henderson  <rth@redhat.com>
5052
5053         [BZ #16967]
5054         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5055         Change type of sa_flags from unsigned int to int.
5056
5057         [BZ #16966]
5058         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5059
5060         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5061
5062 2014-05-20  Will Newton  <will.newton@linaro.org>
5063
5064         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5065         Test the return value of the system call in the nocancel case.
5066
5067 2014-05-20  Will Newton  <will.newton@linaro.org>
5068             Yvan Roux  <yvan.roux@linaro.org>
5069
5070         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5071         #include of asm/ptrace.h.
5072         (PTRACE_GET_THREAD_AREA): Remove #undef.
5073         (PTRACE_GETHBPREGS): Likewise.
5074         (PTRACE_SETHBPREGS): Likewise.
5075         (struct user_regs_struct): New structure.
5076         (struct user_fpsimd_struct): New structure.
5077         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5078         #include of asm/ptrace.h and second #include of sys/user.h.
5079         (PTRACE_GET_THREAD_AREA): Remove #undef.
5080         (PTRACE_GETHBPREGS): Likewise.
5081         (PTRACE_SETHBPREGS): Likewise.
5082         (ELF_NGREG): Use new struct user_regs_struct.
5083         (elf_fpregset_t): Use new struct user_fpsimd_struct.
5084
5085 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5086
5087         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5088         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5089
5090 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
5091
5092         [BZ #16958]
5093         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5094         membar to avoid block loads/stores to overlap previous stores.
5095
5096 2014-05-17  Richard Henderson  <rth@redhat.com>
5097
5098         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5099         Create the __##syscall_name##_nocancel entry point.
5100         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5101         Remove; let the sysdep-cancel.h code create it.
5102
5103 2014-05-17  David S. Miller  <davem@davemloft.net>
5104
5105         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5106         Protect with __USE_GNU.
5107         (TIOCSET_TEMPT): Likewise.
5108         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5109         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5110         these are already provided in bits/ioctl-types.h
5111
5112 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5113
5114         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5115         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5116
5117         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5118         Use wait4 regardless of [__NR_waitpid].
5119
5120 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
5121
5122         PR libgcc/60166
5123         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5124         (_FP_NANSIGN_Q): Set the quiet bit.
5125
5126 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
5127
5128         * benchtests/Makefile
5129         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5130         not $(common-objpfx)math/libm.so.
5131         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5132         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5133         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5134         $(common-objpfx)dlfcn/libdl.so.
5135         ($(objpfx)tst-audit8): Depend on $(libm), not
5136         $(common-objpfx)math/libm.so.
5137         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5138         not $(common-objpfx)dlfcn/libdl.so.
5139         * math/Makefile
5140         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5141         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
5142         [$(build-shared) = yes].
5143         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5144         $(common-objpfx)nptl/libpthread.so.
5145         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5146         $(common-objpfx)math/libm.so$(libm.so-version) or
5147         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5148         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5149         $(common-objpfx)dlfcn/libdl.so.
5150         * setjmp/Makefile (link-libm): Remove variable.
5151         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5152         * stdio-common/Makefile (link-libm): Remove variable.
5153         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5154         * stdlib/Makefile (link-libm): Remove variable.
5155         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5156         ($(objpfx)tst-strtod-round): Likewise.
5157         ($(objpfx)tst-tininess): Likewise.
5158         ($(objpfx)tst-strtod-underflow): Likewise.
5159         ($(objpfx)tst-strtod6): Likewise.
5160         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5161         $(libdl), not $(common-objpfx)nptl/libpthread.so and
5162         $(common-objpfx)dlfcn/libdl.so.
5163
5164 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5165
5166         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5167         BSD terminal modes definitions.
5168
5169 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5170
5171         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5172         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5173
5174         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5175         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5176         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5177         Don't do #include_next.
5178         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5179         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5180         Don't do #include_next.
5181         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5182         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5183         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5184         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5185
5186 2014-05-16  Allan McRae  <allan@archlinux.org>
5187
5188         * po/sv.po: Update Swedish translation from translation project.
5189
5190         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5191         in sed expression.
5192
5193 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
5194
5195         [BZ #16917]
5196         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5197         errno if the TIOCGPTN ioctl fails with an error different than
5198         EINVAL.
5199         * login/tst-ptsname.c: New file.
5200         * login/Makefile (tests): Add tst-ptsname.
5201
5202         [BZ #16943]
5203         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5204         and prlimit64.
5205
5206 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5207
5208         [BZ #16849]
5209         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5210         herrno to return EAI_AGAIN.
5211
5212 2014-05-14  Roland McGrath  <roland@hack.frob.com>
5213
5214         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5215         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5216         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5217         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5218         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5219         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5220         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5221         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5222         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5223         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5224         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5225         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5226         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5227         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5228         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5229         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5230         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5231         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5232         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5233         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5234         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5235         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5236         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5237         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5238         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5239         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5240         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5241         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5242         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5243         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5244         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5245         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5246         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5247         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5248         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5249         Moved ...
5250         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5251         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5252         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5253         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5254         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5255         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5256         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5257         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5258         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5259         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5260         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5261         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5262         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5263         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5264         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5265         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5266         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5267         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5268         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5269         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5270         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5271         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5272         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5273         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5274         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5275         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5276         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5277         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5278         Moved ...
5279         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5280         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5281         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5282         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5283         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5284         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5285         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5286         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5287         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5288         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5289         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5290         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5291         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5292         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5293         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5294         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5295         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5296         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5297         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5298         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5299         Moved ...
5300         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5301         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5302         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5303
5304         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5305         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5306         (libpthread-sysdep_routines): Add elision-related stuff here instead.
5307         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5308         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5309         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5310         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5311         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5312         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5313         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5314         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5315         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5316         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5317         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5318         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5319         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5320         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5321         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5322         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5323         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5324         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5325         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5326         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5327         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5328         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5329         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5330         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5331         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5332         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5333         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5334         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5335
5336         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5337         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5338
5339         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5340         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5341         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5342         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5343         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5344         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5345         Moved ...
5346         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5347         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5348         Moved ...
5349         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5350         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5351         Moved ...
5352         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5353         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5354         Moved ...
5355         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5356         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5357         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5358         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5359         Moved ...
5360         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5361         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5362         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5363         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5364         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5365         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5366         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5367         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5368         Moved ...
5369         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5370         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5371         Moved ...
5372         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5373         ... here.
5374         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5375         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5376         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5377         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5378         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5379         Moved ...
5380         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5381         ... here.
5382         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5383         Moved ...
5384         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5385         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5386         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5387         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5388         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5389         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5390         Moved ...
5391         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5392         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5393         Moved ...
5394         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5395         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5396         Moved ...
5397         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5398         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5399         Moved ...
5400         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5401         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5402         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5403         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5404         Moved ...
5405         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5406         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5407         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5408         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5409         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5410         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5411         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5412         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5413         Moved ...
5414         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5415         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5416         Moved ...
5417         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5418         ... here.
5419         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5420         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5421         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5422         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5423         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5424         Moved ...
5425         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5426         ... here.
5427         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5428         Moved ...
5429         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5430         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5431         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5432         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5433         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5434         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5435         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5436         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5437         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5438         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5439         Moved ...
5440         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5441         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5442         Moved ...
5443         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5444         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5445         Moved ...
5446         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5447         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5448         Moved ...
5449         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5450         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5451         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5452         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5453         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5454         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5455         Moved ...
5456         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5457         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5458         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5459         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5460         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5461         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5462         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5463         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5464         Moved ...
5465         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5466         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5467         Moved ...
5468         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5469         ... here.
5470         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5471         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5472         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5473         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5474         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5475         Moved ...
5476         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5477         ... here.
5478         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5479         Moved ...
5480         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5481         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5482         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5483         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5484         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5485         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5486         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5487         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5488         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5489         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5490         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5491
5492         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5493         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5494
5495         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5496         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5497
5498         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5499         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5500         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5501         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5502         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5503         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5504         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5505         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5506         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5507         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5508         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5509         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5510         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5511         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5512         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5513         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5514         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5515         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5516         Moved ...
5517         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5518         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5519         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5520         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5521         Moved ...
5522         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5523         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5524         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5525         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5526         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5527         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5528         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5529         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5530         Moved ...
5531         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5532         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5533         Moved ...
5534         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5535         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5536         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5537         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5538         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5539         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5540         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5541         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5542         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5543         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5544         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5545         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5546         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5547         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5548         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5549         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5550         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5551
5552         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5553         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5554         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5555         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5556         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5557
5558         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5559         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5560         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5561         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5562         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5563         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5564         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5565         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5566         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5567         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5568
5569         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5570         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5571
5572         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5573         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5574         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5575         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5576         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5577         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5578         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5579         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5580         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5581         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5582         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5583         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5584         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5585         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5586         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5587         Update #include.
5588         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5589         Likewise.
5590         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5591         Likewise.
5592         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5593         Likewise.
5594         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5595         Likewise.
5596         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5597         Likewise.
5598         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5599         Likewise.
5600         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5601         Likewise.
5602         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5603         Likewise.
5604         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5605         Likewise.
5606         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5607         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5608         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5609         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5610         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5611         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5612         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5613         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5614         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5615         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5616         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5617         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5618         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5619         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
5620         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
5621
5622         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5623         that was previously under [RESET_PID].
5624         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5625         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5626         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5627
5628         * sysdeps/i386/nptl/Implies: New file.
5629         * sysdeps/x86_64/nptl/Implies: New file.
5630         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5631         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5632         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5633         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5634
5635         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5636         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5637         (__libc_vfork): New strong alias.
5638         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5639         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5640
5641         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5642         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5643         (__libc_vfork): New strong alias.
5644         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5645         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5646
5647         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5648         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5649         (__libc_vfork): New strong alias.
5650         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5651         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5652         * nptl/pt-vfork.c: New file.
5653         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5654         (libpthread: GLIBC_2.20): New version set (empty).
5655
5656 2014-05-14  Will Newton  <will.newton@linaro.org>
5657
5658         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5659         rather than #if.
5660
5661 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
5662
5663         [BZ #16564]
5664         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5665         arguments with exponent 65 or above.
5666         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5667         arguments 0x1p113L or above.
5668         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5669         to arguments 0x1p107L or above.
5670         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5671         positive arguments with exponent 65 or above.
5672         * math/auto-libm-test-in: Add more tests of log1p.
5673         * math/auto-libm-test-out: Regenerated.
5674
5675         [BZ #16928]
5676         * math/s_cacos.c (__cacos): Ensure zero real part of result from
5677         non-finite arguments is +0.
5678         * math/s_cacosf.c (__cacosf): Likewise.
5679         * math/s_cacosl.c (__cacosl): Likewise.
5680         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5681         * sysdeps/i386/fpu/libm-test-ulps: Update.
5682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5683
5684         [BZ #16927]
5685         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5686         value.
5687         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5688         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5689         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5690         for explicit high bit of mantissa when testing for argument equal
5691         to 1.
5692         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5693         * sysdeps/i386/fpu/libm-test-ulps: Update.
5694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5695
5696         [BZ #16516]
5697         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5698         (__erf): Scale by 16 instead of 8 in potentially underflowing
5699         case.  Ensure exception if result actually underflows.
5700         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5701         (__erff): Scale by 16 instead of 8 in potentially underflowing
5702         case.  Ensure exception if result actually underflows.
5703         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5704         (efx8): Remove variable.
5705         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5706         case.  Ensure exception if result actually underflows.
5707         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5708         (efx8): Remove variable.
5709         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5710         case.  Ensure exception if result actually underflows.
5711         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5712         (efx8): Remove variable.
5713         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5714         case.  Ensure exception if result actually underflows.
5715         * math/auto-libm-test-in: Add more tests of erf.
5716         * math/auto-libm-test-out: Regenerated.
5717
5718 2014-05-14  Andreas Schwab  <schwab@suse.de>
5719
5720         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5721         Remove code conditionalized on USE___THREAD.
5722
5723         * config.h.in (HAVE_PT_CHOWN): Define as 0.
5724         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5725         not definedness.
5726
5727 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
5728
5729         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5730         Define unconditionally.
5731         (__ASSUME_O_CLOEXEC): Likewise.
5732         (__ASSUME_SOCK_CLOEXEC): Likewise.
5733         (__ASSUME_IN_NONBLOCK): Likewise.
5734         (__ASSUME_PIPE2): Likewise.
5735         (__ASSUME_EVENTFD2): Likewise.
5736         (__ASSUME_SIGNALFD4): Likewise.
5737         (__ASSUME_DUP3): Likewise.
5738         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5739         (__ASSUME_DUP3): Do not define.
5740         (__ASSUME_EVENTFD2): Likewise.
5741         (__ASSUME_IN_NONBLOCK): Likewise.
5742         (__ASSUME_O_CLOEXEC): Likewise.
5743         (__ASSUME_PIPE2): Likewise.
5744         (__ASSUME_SIGNALFD4): Likewise.
5745         (__ASSUME_SOCK_CLOEXEC): Likewise.
5746         (__ASSUME_UTIMES): Undefine.
5747         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5748         (__ASSUME_UTIMES): Do not define.
5749         (__ASSUME_O_CLOEXEC): Likewise.
5750         (__ASSUME_SOCK_CLOEXEC): Likewise.
5751         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5752         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5753         0x020621].
5754         (__ASSUME_PIPE2): Likewise.
5755         (__ASSUME_EVENTFD2): Likewise.
5756         (__ASSUME_SIGNALFD4): Likewise.
5757         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5758         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5759         Do not define.
5760         (__ASSUME_EVENTFD2): Likewise.
5761         (__ASSUME_SIGNALFD4): Likewise.
5762         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5763         (__ASSUME_32BITUIDS): Likewise.
5764         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5765         (__ASSUME_IPC64): Likewise.
5766         (__ASSUME_ST_INO_64_BIT): Likewise.
5767         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5768         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5769         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5770         (__ASSUME_UTIMES): Do not define.
5771         (__ASSUME_PSELECT): Likewise.
5772         (__ASSUME_PPOLL): Likewise.
5773         (__ASSUME_O_CLOEXEC): Likewise.
5774         (__ASSUME_SOCK_CLOEXEC): Likewise.
5775         (__ASSUME_IN_NONBLOCK): Likewise.
5776         (__ASSUME_PIPE2): Likewise.
5777         (__ASSUME_EVENTFD2): Likewise.
5778         (__ASSUME_SIGNALFD4): Likewise.
5779         (__ASSUME_DUP3): Likewise.
5780         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5781         (__ASSUME_UTIMES): Likewise.
5782         (__ASSUME_O_CLOEXEC): Likewise.
5783         (__ASSUME_SOCK_CLOEXEC): Likewise.
5784         (__ASSUME_IN_NONBLOCK): Likewise.
5785         (__ASSUME_PIPE2): Likewise.
5786         (__ASSUME_EVENTFD2): Likewise.
5787         (__ASSUME_SIGNALFD4): Likewise.
5788         (__ASSUME_DUP3): Likewise.
5789         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5790         (__ASSUME_UTIMES): Likewise.
5791         (__ASSUME_O_CLOEXEC): Likewise.
5792         (__ASSUME_SOCK_CLOEXEC): Likewise.
5793         (__ASSUME_IN_NONBLOCK): Likewise.
5794         (__ASSUME_PIPE2): Likewise.
5795         (__ASSUME_EVENTFD2): Likewise.
5796         (__ASSUME_SIGNALFD4): Likewise.
5797         (__ASSUME_DUP3): Likewise.
5798         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5799         Likewise.
5800         (__ASSUME_UTIMES): Likewise.
5801         (__ASSUME_EVENTFD2): Likewise.
5802         (__ASSUME_SIGNALFD4): Likewise.
5803         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5804         (__ASSUME_O_CLOEXEC): Likewise.
5805         (__ASSUME_SOCK_CLOEXEC): Likewise.
5806         (__ASSUME_IN_NONBLOCK): Likewise.
5807         (__ASSUME_PIPE2): Likewise.
5808         (__ASSUME_EVENTFD2): Likewise.
5809         (__ASSUME_SIGNALFD4): Likewise.
5810         (__ASSUME_DUP3): Likewise.
5811         (__ASSUME_UTIMES): Undefine.
5812
5813         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5814         feclearexcept.  Remove symbol versioning code.
5815         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
5816         symbol versioning code.
5817         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
5818         symbol versioning code.
5819         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5820         feupdateenv.  Remove symbol versioning code.
5821         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5822         fegetexceptflag.  Remove symbol versioning code.
5823         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5824         fesetexceptflag.  Remove symbol versioning code.
5825         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5826         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
5827         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5828         (__posix_fadvise64_l32): Remove prototype.
5829         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5830         code.
5831
5832 2014-05-13  Roland McGrath  <roland@hack.frob.com>
5833
5834         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5835         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5836         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5837         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5838
5839 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
5840
5841         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5842         current working directory
5843
5844 2014-05-13  Roland McGrath  <roland@hack.frob.com>
5845
5846         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5847         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5848         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5849         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5850         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5851         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5852         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5853         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5854         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5855         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5856         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5857         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5858         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5859         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5860         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5861         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5862         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5863         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5864         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5865         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5866         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5867         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5868         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5869         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5870         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5871         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5872         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5873         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5874         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5875         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5876         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5877         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5878         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5879         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5880         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5881         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5882         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5883         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5884         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5885         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5886         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5887         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5888
5889         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5890         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5891
5892         * sysdeps/unix/sysv/linux/arm/Makefile
5893         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5894         Add rt-aeabi_unwind_cpp_pr1.
5895         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5896         Add nptl-aeabi_unwind_cpp_pr1.
5897         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5898         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5899         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5900         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5901         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5902         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5903
5904         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5905         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5906         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5907         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5908
5909         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5910         Deconditionalize the code that was previously under [RESET_PID].
5911         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5912
5913         * sysdeps/generic/exit-thread.h: New file.
5914         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5915         * include/unistd.h (__exit_thread): Remove declaration.
5916         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5917         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5918         * csu/libc-start.c: Include <exit-thread.h>.
5919         (LIBC_START_MAIN): Pass no argument to __exit_thread.
5920         * nptl/pthread_create.c: Include <exit-thread.h>.
5921         (start_thread): Call __exit_thread in place of __exit_thread_inline.
5922         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5923         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5924         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5925         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5926         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5927         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5928         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5929         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5930         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5931         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5932         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5933         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5934         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5935         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5936         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5937         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5938
5939 2014-05-13  Andreas Schwab  <schwab@suse.de>
5940
5941         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5942
5943 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
5944
5945         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5946         (__ASSUME_UTIMES): Do not condition on kernel version.
5947         (__ASSUME_PSELECT): Define unconditionally.
5948         (__ASSUME_PPOLL): Likewise.
5949         (__ASSUME_ATFCTS): Likewise.
5950         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5951         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5952         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5953         (__ASSUME_UTIMENSAT): Define unconditionally.
5954         (__ASSUME_PRIVATE_FUTEX): Likewise.
5955         (__ASSUME_FALLOCATE): Likewise.
5956         (__ASSUME_O_CLOEXEC): Likewise.
5957         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5958         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5959         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5960         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5961         (__ASSUME_IN_NONBLOCK): Likewise.
5962         (__ASSUME_PIPE2): Likewise.
5963         (__ASSUME_EVENTFD2): Likewise.
5964         (__ASSUME_SIGNALFD4): Likewise.
5965         (__ASSUME_DUP3): Likewise.
5966         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5967         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5968         (__ASSUME_AT_RANDOM): Likewise.
5969         (__ASSUME_PREADV): Likewise.
5970         (__ASSUME_PWRITEV): Likewise.
5971         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5972         (__ASSUME_F_GETOWN_EX): Define unconditionally.
5973         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5974         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5975         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5976         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5977         (__ASSUME_O_CLOEXEC): Define unconditionally.
5978         (__ASSUME_PSELECT): Do not undefine conditionally.
5979         (__ASSUME_PPOLL): Likewise.
5980         (__ASSUME_ATFCTS): Likewise.
5981         (__ASSUME_SET_ROBUST_LIST): Likewise.
5982         (__ASSUME_UTIMENSAT): Likewise.
5983         (__ASSUME_FDATASYNC): Define unconditionally.
5984         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5985         (__ASSUME_SIGFRAME_V2): Likewise.
5986         )__ASSUME_EVENTFD2): Likewise.
5987         (__ASSUME_SIGNALFD4): Likewise.
5988         (__ASSUME_PSELECT): Do not undefine conditionally.
5989         (__ASSUME_PPOLL): Likewise.
5990         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5991         (__ASSUME_PSELECT): Define unconditionally.
5992         (__ASSUME_PPOLL): Likewise.
5993         (__ASSUME_O_CLOEXEC): Likewise.
5994         (__ASSUME_SOCK_CLOEXEC): Likewise.
5995         (__ASSUME_IN_NONBLOCK): Likewise.
5996         (__ASSUME_PIPE2): Likewise.
5997         (__ASSUME_EVENTFD2): Likewise.
5998         (__ASSUME_SIGNALFD4): Likewise.
5999         (__ASSUME_DUP3): Likewise.
6000         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6001         (__ASSUME_O_CLOEXEC): Likewise.
6002         (__ASSUME_SOCK_CLOEXEC): Likewise.
6003         (__ASSUME_IN_NONBLOCK): Likewise.
6004         (__ASSUME_PIPE2): Likewise.
6005         (__ASSUME_EVENTFD2): Likewise.
6006         (__ASSUME_SIGNALFD4): Likewise.
6007         (__ASSUME_DUP3): Likewise.
6008         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6009         (__ASSUME_EVENTFD2): Likewise.
6010         (__ASSUME_SIGNALFD4): Likewise.
6011         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6012
6013 2014-05-12  Andreas Schwab  <schwab@suse.de>
6014
6015         [BZ #16932]
6016         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6017         (_nss_nis_gethostbyname4_r): Return error if item length is larger
6018         than maximum RPC packet size.
6019         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6020         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6021         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6022         (_nss_nis_getservbyport_r): Likewise.
6023
6024 2014-05-12  Will Newton  <will.newton@linaro.org>
6025
6026         * malloc/Makefile (tests): Add tst-mallopt.
6027         * malloc/tst-mallopt.c: New file.
6028
6029 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6030
6031         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6032         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6033
6034 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6035
6036         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6037         (tst-tlsmod6.so): Likewise.
6038
6039 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6040
6041         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6042
6043 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
6044
6045         [BZ #16064]
6046         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6047         and <dl-procinfo.h>.
6048         (__fegetenv): Save SSE state in envp->__eip if supported.
6049         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6050         envp->__eip if supported.
6051         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6052         and <dl-procinfo.h>.
6053         (__fesetenv): Always set __eip, __cs_selector, __opcode,
6054         __data_offset and __data_selector in environment to 0.  Set SSE
6055         state if supported.
6056         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6057         test-fenv-sse.
6058         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6059         -mfpmath=sse.
6060         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6061
6062 2014-05-09  Will Newton  <will.newton@linaro.org>
6063
6064         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6065         and libc_relro_required for ARM.
6066         * sysdeps/arm/preconfigure: Regenerate.
6067
6068 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
6069             Stefan Liebler  <stli@linux.vnet.ibm.com>
6070
6071         * config.make.in (enable-lock-elision): New Makefile variable.
6072         * configure.ac: Likewise.
6073         * configure: Regenerate.
6074         * sysdeps/s390/configure.ac:
6075         Add check for gcc transactions support.
6076         * sysdeps/s390/configure: Regenerate.
6077         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6078         Build elision files if enabled.
6079         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6080         Add lock elision support for s390.
6081         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6082         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6083         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6084         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6085         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6086         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6087         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6088         Likewise.
6089         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6090         Likewise.
6091         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6092         Likewise.
6093         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6094         Likewise.
6095         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6096         (__lll_timedlock_elision, __lll_lock_elision)
6097         (__lll_unlock_elision, __lll_trylock_elision)
6098         (lll_timedlock_elision, lll_lock_elision)
6099         (lll_unlock_elision, lll_trylock_elision): Add.
6100         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6101         (pthread_mutex_t): Add lock elision support for s390.
6102
6103 2014-05-14  Wilco  <wdijkstr@arm.com>
6104
6105         * sysdeps/arm/fclrexcpt.c: Cleanup.
6106         * sysdeps/arm/fedisblxcpt.c: Cleanup.
6107         * sysdeps/arm/feenablxcpt.c: Cleanup.
6108         * sysdeps/arm/fegetenv.c: Cleanup.
6109         * sysdeps/arm/fegetexcept.c: Cleanup.
6110         * sysdeps/arm/fegetround.c: Cleanup.
6111         * sysdeps/arm/feholdexcpt.c: Cleanup.
6112         * sysdeps/arm/fesetenv.c: Cleanup.
6113         * sysdeps/arm/fesetround.c: Cleanup.
6114         * sysdeps/arm/feupdateenv.c: Cleanup.
6115         * sysdeps/arm/fgetexcptflg.c: Cleanup.
6116         * sysdeps/arm/fraiseexcpt.c: Cleanup.
6117         * sysdeps/arm/fsetexcptflg.c: Cleanup.
6118         * sysdeps/arm/ftestexcept.c: Cleanup.
6119         * sysdeps/arm/get-rounding-mode.h: Cleanup.
6120         * sysdeps/arm/setfpucw.c: Cleanup.
6121
6122 2014-05-09  Will Newton  <will.newton@linaro.org>
6123
6124         * sysdeps/arm/armv7/strcmp.S: New file.
6125         * NEWS: Mention addition of ARMv7 optimized strcmp.
6126
6127 2014-05-08  Roland McGrath  <roland@hack.frob.com>
6128
6129         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6130         look for %.ac rather than %.in.
6131
6132         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6133         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6134         * sysdeps/mach/hurd/configure: Regenerated.
6135         * sysdeps/unix/sysv/linux/configure: Regenerated.
6136
6137         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6138
6139 2014-05-07  Steve Ellcey  <sellcey@mips.com>
6140
6141         [BZ# 16922]
6142         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6143         (LONG_SUB): Ditto.
6144         (PTR_SUB): Ditto.
6145
6146 2014-05-07  Andreas Schwab  <schwab@suse.de>
6147
6148         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6149         when skipping over non-matching result from nscd.
6150
6151 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
6152
6153         [BZ #16876]
6154         * nptl/sockperf.c (client): Check socket return value.
6155
6156         [BZ #16877]
6157         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6158         nscd security class.
6159
6160 2014-05-06  Roland McGrath  <roland@hack.frob.com>
6161
6162         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6163         * sysdeps/arm/unwind.h: ... here.
6164
6165 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
6166
6167         [BZ# 16916]
6168         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6169         Define.
6170
6171 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6172
6173         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6174         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6175         multiarch strncpy for PPC64.
6176         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6177         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6178         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6179         multiarch optimizations.
6180         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6181         (__libc_ifunc_impl_list): Likewise.
6182         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6183         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6184         multiarch stpncpy for PPC64.
6185         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6186         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6187
6188 2014-05-06  Andreas Schwab  <schwab@suse.de>
6189
6190         [BZ #16912]
6191         * gmon/mcount.c (_MCOUNT_DECL): Use
6192         atomic_compare_and_exchange_bool_acq instead of
6193         catomic_compare_and_exchange_bool_acq.
6194
6195 2014-05-05  Roland McGrath  <roland@hack.frob.com>
6196
6197         * elf/Makefile (others, install-bin): Remove pldd.
6198         (pldd-modules): Variable removed.
6199         ($(objpfx)pldd): Target removed.
6200         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6201         (others, install-bin): Append pldd here.
6202         ($(objpfx)pldd): New target.
6203
6204         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6205         to 0, so the first #if test emitted later doesn't see it undefined.
6206         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6207         * sysdeps/gnu/errlist.c: Regenerated.
6208
6209 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6210
6211         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6212         [libc_hidden_builtin_def]: Define to empty value.
6213         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6214         [libc_hidden_builtin_def]: Likewise.
6215         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6216         [libc_hidden_builtin_def]: Likewise.
6217         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6218         [libc_hidden_builtin_def]: Likewise.
6219         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6220         __redirect_memcpy and define ifunc as default hidden symbol.
6221         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6222         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6223
6224 2014-05-04  Adam Conrad  <adconrad@0c3.net>
6225
6226         * locale/iso-4217.def: Reintroduce XDR currency.
6227
6228 2014-05-04  Allan McRae  <allan@archlinux.org>
6229
6230         * po/eo.po: Update Esperanto translation from translation project.
6231
6232 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
6233
6234         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6235         and FEATURE_INDEX_MAX to 1.
6236         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6237
6238 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6239
6240         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6241         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6242         * iconvdata/big5.c (ONE_DIRECTION): Define.
6243         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6244         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6245         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6246         * iconvdata/cp932.c (ONE_DIRECTION): Define.
6247         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6248         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6249         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6250         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6251         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6252         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6253         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6254         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6255         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6256         * iconvdata/gbk.c (ONE_DIRECTION): Define.
6257         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6258         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6259         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6260         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6261         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6262         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6263         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6264         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6265         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6266         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6267         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6268         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6269         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6270         * iconvdata/iso646.c (ONE_DIRECTION): Define.
6271         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6272         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6273         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6274         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6275         * iconvdata/johab.c (ONE_DIRECTION): Define.
6276         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6277         * iconvdata/sjis.c (ONE_DIRECTION): Define.
6278         * iconvdata/t.61.c (ONE_DIRECTION): Define.
6279         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6280         * iconvdata/tscii.c (ONE_DIRECTION): Define.
6281         * iconvdata/uhc.c (ONE_DIRECTION): Define.
6282         * iconvdata/unicode.c (ONE_DIRECTION): Define.
6283         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6284         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6285         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6286
6287 2014-05-01  Roland McGrath  <roland@hack.frob.com>
6288
6289         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6290         (_IO_JUMPS_OFFSET): Define to 0.
6291
6292         * nptl/sysdeps/pthread/bits/libc-lock.h
6293         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6294         (__libc_lock_define_initialized_recursive): Always define using
6295         initializer.  Modern compilers treat uninitialized (implicit zero) and
6296         explicit zero initializers the same (i.e. put the datum in bss).
6297
6298 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6299
6300         * nscd/nscd-client.h: Include <string.h>.
6301
6302 2014-05-01  David S. Miller  <davem@davemloft.net>
6303
6304         [BZ #16885]
6305         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6306         multiple zero bytes exist at the end of a string.
6307         Reported by Aurelien Jarno <aurelien@aurel32.net>
6308
6309         * string/test-strcmp.c (check): Add explicit test for situations where
6310         there are multiple zero bytes after the first.
6311
6312 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6313
6314         [BZ #16890]
6315         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6316         when compiling wprintf.
6317         * stdio-common/tstdiomisc.c (t3): New function.
6318         (main): Call it.
6319
6320 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6321
6322         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6323         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6324         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6325         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6326
6327 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6328
6329         * stdlib/longlong.h: Updated from GCC.
6330
6331 2014-05-01  Will Newton  <will.newton@linaro.org>
6332             Bernard Ogden  <bernie.ogden@linaro.org>
6333
6334         * NEWS: Update fixed bug list.
6335
6336         [BZ #15119]
6337         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6338
6339 2014-04-30  David S. Miller  <davem@davemloft.net>
6340
6341         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6342         (libc_feholdexcept_setround_sparc_ctx): New function.
6343         (libc_fesetenv_sparc_ctx): Likewise.
6344         (libc_feupdateenv_sparc_ctx): Likewise.
6345         (libc_feholdsetround_sparc_ctx): Likewise.
6346         (libc_feholdexcept_setround_ctx): Define.
6347         (libc_feholdexcept_setroundf_ctx): Likewise.
6348         (libc_feholdexcept_setroundl_ctx): Likewise.
6349         (libc_fesetenv_ctx): Likewise.
6350         (libc_fesetenvf_ctx): Likewise.
6351         (libc_fesetenvl_ctx): Likewise.
6352         (libc_feupdateenv_ctx): Likewise.
6353         (libc_feupdateenvf_ctx): Likewise.
6354         (libc_feupdateenvl_ctx): Likewise.
6355         (libc_feresetround_ctx): Likewise.
6356         (libc_feresetroundf_ctx): Likewise.
6357         (libc_feresetroundl_ctx): Likewise.
6358         (libc_feholdsetround_ctx): Likewise.
6359         (libc_feholdsetroundf_ctx): Likewise.
6360         (libc_feholdsetroundl_ctx): Likewise.
6361
6362         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6363         with __USE_GNU instead of XOPEN cpp guards.
6364
6365         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6366         0.
6367
6368         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6369         with XOPEN cpp guards.
6370
6371 2014-04-30  Julian Brown  <julian@codesourcery.com>
6372
6373         [BZ #16888]
6374         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6375         handling.
6376
6377 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
6378
6379         [BZ #9894]
6380         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6381         Change to 2.6.32.
6382         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6383         * sysdeps/unix/sysv/linux/configure: Regenerated.
6384         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6385         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6386         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6387         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6388         * README: Update reference to required Linux kernel version.
6389         * manual/install.texi (Linux): Update reference to required Linux
6390         kernel headers version.
6391         * INSTALL: Regenerated.
6392
6393         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6394         header inclusion.
6395         [POSIX] (limits.h): Likewise.
6396         [POSIX] (math.h): Likewise.
6397         [POSIX] (sys/wait.h): Likewise.
6398         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6399         function.
6400         [POSIX] (stddef.h): Do not allow header inclusion.
6401
6402 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6403
6404         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6405
6406 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
6407
6408         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6409         Return immediately after lll_futex_wake.
6410
6411 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6412
6413         [BZ #16791]
6414         * nscd/nscd-client.h (datahead_init_common): Initialize entire
6415         structure.
6416         (datahead_init_pos): Call datahead_init_common early.
6417         (datahead_init_neg): Likewise.
6418
6419         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6420         datahead_init_neg): New functions.
6421         * nscd/aicache.c (addhstaiX): Use them.
6422         * nscd/grpcache.c (cache_addgr): Likewise.
6423         * nscd/hstcache.c (cache_addhst): Likewise.
6424         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6425         * nscd/netgroupcache.c (do_notfound): Likewise.
6426         (addgetnetgrentX): Likewise.
6427         (addinnetgrX): Likewise.
6428         * nscd/pwdcache.c (cache_addpw): Likewise.
6429         * nscd/servicescache.c (cache_addserv): Likewise.
6430
6431 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6432             Atsushi Onoe  <atsushi@onoe.org>
6433
6434         [BZ #14308]
6435         [BZ #12994]
6436         [BZ #13651]
6437         * resolv/res_query.c (__libc_res_nsearch): Return if at least
6438         one response is valid.
6439         * resolv/res_send.c (send_dg): Check for validity of other
6440         response if the current response is a referral.
6441
6442 2014-04-29  Steve Ellcey  <sellcey@mips.com>
6443
6444         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6445
6446 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
6447
6448         [BZ #16823]
6449         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6450         Always divide by positive zero when computing -Inf result.
6451         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6452         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6453
6454 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6455
6456         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6457         FPSCR if value do not change.
6458         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6459         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6460         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6461         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6462         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6463         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6464         function.
6465
6466 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
6467
6468         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6469         * sysdeps/unix/sysv/linux/hppa: Move directory from
6470         ports/systeps/unix/sysv/linux/hppa.
6471         * README: Update listing for hppa-*-linux-gnu.
6472
6473 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
6474
6475         [BZ #16754]
6476         * manual/stdio.texi (Hook functions): Fix types of stream hook
6477         functions.
6478         [BZ #16854]
6479         * socket/sys/socket.h: Fix typo in comment.
6480
6481 2014-04-28  Wilco  <wdijkstr@arm.com>
6482
6483         * sysdeps/arm/fenv_private.h: New file.
6484         * sysdeps/arm/math_private.h: New file.
6485         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6486
6487 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
6488
6489         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6490         with __int128_t.
6491         (La_x86_64_retval): Likewise.
6492
6493 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
6494
6495         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6496         fpsr if value didn't change.
6497         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6498         to fpcr if value didn't change.
6499         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6500         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6501         fpsr or fpcr if value didn't change.
6502         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6503         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6504         fpcr if value didn't change.
6505         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6506         to fpsr if value didn't change.
6507
6508 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6509
6510         * nptl/tst-sem3.c: Use test-skeleton.c
6511         (main): Rename to do_test.  Use return instead of
6512         exit.
6513         * nptl/tst-sem4.c: Use test-skeleton.c
6514         (main): Rename to do_test.
6515
6516 2014-04-22  David S. Miller  <davem@davemloft.net>
6517
6518         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6519         (struct sigaction): New struct member __glibc_reserved0, change
6520         type of sa_flags to int.
6521
6522 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
6523
6524         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6525         (COUNT_LEADING_ZEROS_0): Define for AArch64.
6526
6527 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6528
6529         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6530         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6531
6532 2014-04-22  Will Newton  <will.newton@linaro.org>
6533             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
6534
6535         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6536         (__longjmp): Add longjmp and longjmp_target SystemTap
6537         probes.
6538         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6539         (__sigsetjmp): Add setjmp SystemTap probe.
6540
6541 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
6542
6543         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6544         match manual order.
6545
6546 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6547
6548         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6549
6550         * sysdeps/powerpc/fpu/fenv_private.h
6551         (libc_feholdexcept_setroundl_ctx): Define to
6552         libc_feholdexcept_setround_ppc_ctx.
6553         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6554         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6555         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6556         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6557
6558 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
6559
6560         * sysdeps/aarch64/math-tests.h: New file.
6561
6562 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
6563
6564         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6565         New.
6566         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6567         Check and set bit_AVX2_Usable.
6568         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6569         macro.
6570         (bit_AVX2): Likewise.
6571         (index_AVX2_Usable): Likewise.
6572         (CPUID_AVX2): Likewise.
6573         (HAS_AVX2): Likewise.
6574
6575 2014-04-17  Will Newton  <will.newton@linaro.org>
6576
6577         * manual/setjmp.texi (System V contexts): Add note that
6578         calling setcontext on a context created by a call to a
6579         signal handler is undefined.  Update text to note that
6580         setcontext from a signal handler is possible but not
6581         recommended.
6582
6583         [BZ #16629]
6584         * stdlib/tst-setcontext.c: Include signal.h.
6585         (main): Check that the signal stack before and
6586         after swapcontext is the same.
6587
6588         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6589         Re-implement to restore registers in user code and avoid
6590         rt_sigreturn system call.
6591
6592 2014-04-17  Wilco  <wdijkstr@arm.com>
6593
6594         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6595         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6596         * math/test-fenv.c: Skip exception trap tests on targets which only
6597         support non-stop mode.
6598
6599 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
6600             Wilco Dijkstra  <wilco.dijkstra@arm.com>
6601
6602         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6603         (libc_feholdsetround_aarch64_ctx)
6604         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6605         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6606         (libc_feresetround_ctx, libc_feresetroundf_ctx)
6607         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6608         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6609         (libc_feresetround_noexl_ctx): Define.
6610
6611 2014-04-16  Richard Henderson  <rth@redhat.com>
6612
6613         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6614
6615         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6616         unwind tables.
6617
6618         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6619         const from the non-libc, non-ldso copy.
6620
6621         * sysdeps/alpha/libm-test-ulps: Regenerate.
6622
6623 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
6624             Wilco Dijkstra  <wilco.dijkstra@arm.com>
6625
6626         * sysdeps/aarch64/fpu/math_private.h: New file.
6627
6628 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6629
6630         * sysdeps/aarch64/libm-test-ulps: Regenerate.
6631
6632 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
6633
6634         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6635         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6636         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6637         Intel MPX bound registers before _dl_profile_fixup.
6638         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6639         registers after _dl_profile_fixup.  Save and restore bound
6640         registers bnd0/bnd1 when calling _dl_call_pltexit.
6641         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6642         (LR_BND_OFFSET): Likewise.
6643         (LRV_BND0_OFFSET): Likewise.
6644         (LRV_BND1_OFFSET): Likewise.
6645
6646 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6647
6648         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6649         to...
6650         * sysdeps/mach/hurd/i386/tls.h: ... here.
6651         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6652         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6653         fields.
6654
6655 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6656
6657         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6658
6659 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6660
6661         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6662
6663 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6664
6665         [BZ #14770]
6666         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6667         * sysdeps/s390/configure: Regenerate.
6668
6669         [BZ #16824]
6670         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6671         Set round-to-nearest internally to reduce error accumulation.
6672
6673 2014-04-16  Alan Modra  <amodra@gmail.com>
6674
6675         [BZ #16740]
6676         [BZ #16619]
6677         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6678         * math/libm-test.inc (frexp_test_data): Add tests.
6679         * NEWS: Update fixed bug list.
6680
6681 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6682
6683         * benchtests/Makefile: Depend on libraries in build directory.
6684         (bench-math): Separate out math tests.
6685         (bench-pthread): Separate out pthread tests.
6686         (bench): Include math and pthread tests.
6687
6688 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
6689
6690         [BZ #16831]
6691         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6692         _dl_debug_initialize.
6693
6694         * configure.ac: Remove SELinux header check.
6695         * configure: Regenerate.
6696         * nscd/selinux.c (perms): Array of const char* to permission names.
6697         (nscd_request_avc_has_perm): Call security_deny_unknown to find
6698         default policy. Call string_to_security_class and string_to_av_perm to
6699         translate strings. Enforce default policy and call avs_has_perm with
6700         results of translated strings.
6701
6702 2014-04-13  David S. Miller  <davem@davemloft.net>
6703
6704         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6705
6706 2014-04-12  Allan McRae  <allan@archlinux.org>
6707
6708         [BZ #16838]
6709         * manual/string.texi (Collation Functions): Fix qsort argument
6710         order in example.
6711         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6712
6713 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
6714
6715         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6716         Make the test a no-op if there are no exceptions defined.
6717
6718 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6719
6720         * elf/Makefile (tests): make tst-dlopen-aout conditional on
6721         enable-hardcoded-path-in-tests
6722
6723 2014-04-11  Will Newton  <will.newton@linaro.org>
6724
6725         * benchtests/Makefile (extra-objs): Add json-lib.o.
6726         (bench-func): Tidy up JSON output.
6727         * benchtests/bench-skeleton.c: Include json-lib.h.
6728         (main): Use JSON library functions to do output of
6729         benchmark results.
6730         * benchtests/bench-timing-type.c (main): Output the
6731         timing type simply, leaving formatting to the user.
6732         * benchtests/json-lib.c: New file.
6733         * benchtests/json-lib.h: Likewise.
6734
6735 2014-04-11  Torvald Riegel  <triegel@redhat.com>
6736
6737         [BZ #15215]
6738         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6739         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
6740         memory barriers.  Add comments.
6741         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6742         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6743         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6744         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6745         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6746         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6747
6748 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6749
6750         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6751         * sysdeps/s390/s390-64/configure.ac: ... this ...
6752         * sysdeps/s390/configure.ac: ... to here.
6753         * sysdeps/s390/s390-32/configure: Delete file.
6754         * sysdeps/s390/s390-64/configure: Delete file.
6755         * sysdeps/s390/configure: Regenerate.
6756
6757 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
6758
6759         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6760
6761 2014-04-11  Will Newton  <will.newton@linaro.org>
6762
6763         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6764         to zero if it is not defined elsewhere.  (mtrim): Test
6765         the value of MALLOC_DEBUG with #if rather than #ifdef.
6766
6767 2014-04-10 Torvald Riegel  <triegel@redhat.com>
6768
6769         * benchtests/pthread_once-inputs: New file.
6770         * benchtests/pthread_once-source.c: New file.
6771         * benchtests/README: Update documentation.
6772
6773 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
6774             H.J. Lu  <hongjiu.lu@intel.com>
6775
6776         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6777         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6778         * sysdeps/x86_64/configure: Regenerated.
6779         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6780         macro.
6781         (REGISTER_SAVE_RAX): Likewise.
6782         (REGISTER_SAVE_RCX): Likewise.
6783         (REGISTER_SAVE_RDX): Likewise.
6784         (REGISTER_SAVE_RSI): Likewise.
6785         (REGISTER_SAVE_RDI): Likewise.
6786         (REGISTER_SAVE_R8): Likewise.
6787         (REGISTER_SAVE_R9): Likewise.
6788         (REGISTER_SAVE_BND0): Likewise.
6789         (REGISTER_SAVE_BND1): Likewise.
6790         (REGISTER_SAVE_BND2): Likewise.
6791         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
6792         bound registers when calling _dl_fixup.
6793
6794 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6795
6796         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6797         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6798         of its definition.
6799         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6800         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6801         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6802         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6803         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6804         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6805         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6806
6807 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
6808
6809         [BZ #15514]
6810         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6811         pathconf(_PC_NAME_MAX).
6812
6813 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6814
6815         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6816         Remove macro usage.
6817         (__PTHREAD_SPINS): Move definition to ...
6818         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6819         (__PTHREAD_SPINS): ... here.
6820         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6821         (__PTHREAD_SPIN): Likewise.
6822         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6823         (__PTHREAD_SPIN): Likewise.
6824         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6825         (__PTHREAD_SPIN): Likewise.
6826         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6827         (__PTHREAD_SPIN): Likewise.
6828         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6829         (__PTHREAD_SPIN): Likewise.
6830         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6831         (__PTHREAD_SPIN): Likewise.
6832         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6833         (__PTHREAD_SPIN): Likewise.
6834         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6835         (__PTHREAD_SPIN): Likewise.
6836         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6837         (__PTHREAD_SPIN): Likewise.
6838         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6839         (__PTHREAD_SPIN): Likewise.
6840         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6841         (__PTHREAD_SPIN): Likewise.
6842         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6843         (__PTHREAD_SPIN): Likewise.
6844
6845         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6846         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6847         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6848         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6849         imply folder.
6850         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6851         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6852         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6853         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6854         correct imply path.
6855         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6856         strlen symbol for non multi-arch builds.
6857         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6858         missing hidden_def and weak_alias.
6859
6860 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
6861
6862         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6863
6864 2014-04-07  Will Newton  <will.newton@linaro.org>
6865
6866         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6867         and contents.  [!_LIBC] Remove #ifndef and contents.
6868         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
6869         * string/memccpy.c (__memccpy): Use ANSI prototype.
6870         * string/memfrob.c (memfrob): Likewise.
6871         * string/strcoll.c (STRCOLL): Likewise.
6872         * string/strlen.c (strlen): Likewise.
6873         * string/strtok.c (STRTOK): Likewise.
6874         * string/strcat.c: Remove unused #include of memcopy.h.
6875         (strcat): Use ANSI prototype.
6876         * string/strchr.c: Remove unused #include of memcopy.h.
6877         (strchr): Use ANSI prototype.
6878         * string/strcmp.c: Remove unused #include of memcopy.h.
6879         (strcmp): Use ANSI prototype.
6880         * string/strcpy.c: Remove unused #include of memcopy.h.
6881         (strcpy): Use ANSI prototype.
6882
6883 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6884
6885         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6886         * config.make.in (config-extra-cppflags): Set it from
6887         libc_extra_cppflags.
6888         * configure.ac (libc_extra_cflags): Make it accumulate over
6889         configure fragments.
6890         (libc_extra_cppflags): New flag.
6891         * configure. Regenerate.
6892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6893         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6894         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
6895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6896
6897         [BZ #16815]
6898         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6899         result for FE_DOWNWARD rounding mode.
6900         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6901         Likewise.
6902         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6903
6904 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
6905
6906         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6907         in function argument name.
6908
6909 2014-04-03  David Svoboda  <svoboda@cert.org>
6910
6911         [BZ #5666]
6912         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6913         explicitly.
6914
6915 2014-04-03  Roland McGrath  <roland@hack.frob.com>
6916
6917         * elf/dl-unmap-segments.h: New file.
6918         * sysdeps/generic/ldsodefs.h
6919         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6920         * elf/dl-close.c: Include <dl-unmap-segments.h>.
6921         * elf/dl-fptr.c: Likewise.
6922         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6923         * sysdeps/aarch64/tlsdesc.c: Likewise.
6924         * sysdeps/arm/tlsdesc.c: Likewise.
6925         * sysdeps/i386/tlsdesc.c: Likewise.
6926         * sysdeps/tile/dl-runtime.c: Likewise.
6927         * sysdeps/x86_64/tlsdesc.c: Likewise.
6928         * elf/dl-load.h: New file.
6929         * elf/dl-load.c: Include it.
6930         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6931         Macros moved to dl-load.h.
6932         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6933         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6934         Use _dl_unmap_segments in place of __munmap.
6935         Break out segment-mapping loop into ...
6936         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6937
6938 2014-04-03  Will Newton  <will.newton@linaro.org>
6939
6940         * elf/dl-lookup.c (do_lookup_x): Remove comment
6941         referring to nested function and move variable
6942         declarations down to before first use.
6943
6944 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
6945
6946         [BZ #16799]
6947         [BZ #16800]
6948         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6949         with 0 numerator.
6950         * math/s_catanf.c (__catanf): Likewise.
6951         * math/s_catanh.c (__catanh): Likewise.
6952         * math/s_catanhf.c (__catanhf): Likewise.
6953         * math/s_catanhl.c (__catanhl): Likewise.
6954         * math/s_catanl.c (__catanl): Likewise.
6955         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6956         by positive zero when computing -Inf result.
6957         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6958         (catanh_test): Likewise.
6959         * sysdeps/i386/fpu/libm-test-ulps: Update.
6960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6961
6962         [BZ #16789]
6963         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6964         instead of using underflowing value in computing result.
6965         * math/s_clog10.c (__clog10): Likewise.
6966         * math/s_clog10f.c (__clog10f): Likewise.
6967         * math/s_clog10l.c (__clog10l): Likewise.
6968         * math/s_clogf.c (__clogf): Likewise.
6969         * math/s_clogl.c (__clogl): Likewise.
6970         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6971         (clog10_test): Likewise.
6972         * sysdeps/i386/fpu/libm-test-ulps: Update.
6973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6974
6975 2014-04-02  Alan Modra  <amodra@gmail.com>
6976
6977         [BZ #16739]
6978         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6979         output when value is near a power of two.  Use int64_t for lx and
6980         remove casts.  Use decimal rather than hex exponent constants.
6981         Don't use long double multiplication when double will suffice.
6982         * math/libm-test.inc (nextafter_test_data): Add tests.
6983         * NEWS: Add 16739 and 16786 to bug list.
6984
6985         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6986
6987         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6988
6989 2014-04-01  Will Newton  <will.newton@linaro.org>
6990
6991         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6992         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
6993
6994 2014-04-01  Florian Weimer  <fweimer@redhat.com>
6995
6996         [BZ #13347]
6997         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6998         * nptl/tst-setuid2.c: New file.
6999         * nptl/Makefile (xtests): Add tst-setuid2.
7000
7001 2014-04-01  Alan Modra  <amodra@gmail.com>
7002
7003         [BZ #16786]
7004         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7005
7006 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7007
7008         [BZ #6803]
7009         [BZ #6804]
7010         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7011         set errno as appropriate.
7012         * math/w_scalbf.c (__scalbf): Likewise.
7013         * math/w_scalbl.c (__scalbl): Likewise.
7014         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7015         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7016         * math/libm-test.inc (scalb_test_data): Add errno expectations.
7017         Add more NaN tests.
7018
7019         [BZ #16349]
7020         * math/w_atan2.c: Include <errno.h>.
7021         (__atan2): Set errno for result underflowing to zero.
7022         * math/w_atan2f.c: Include <errno.h>.
7023         (__atan2f): Set errno for result underflowing to zero.
7024         * math/w_atan2l.c: Include <errno.h>.
7025         (__atan2l): Set errno for result underflowing to zero.
7026         * math/auto-libm-test-in: Don't allow missing errno for some atan2
7027         tests.
7028         * math/auto-libm-test-out: Regenerated.
7029
7030 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7031
7032         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7033         Encode instruction correctly in little endian.
7034         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7035         Likewise.
7036         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7037         Likewise.
7038         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7039         Likewise.
7040         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7041         Likewise.
7042
7043 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7044
7045         [BZ #9894]
7046         * sysdeps/unix/sysv/linux/kernel-features.h
7047         [__sparc__ && !__arch64__ && !__sparc_v9__]
7048         (__ASSUME_SET_ROBUST_LIST): Do not define.
7049         [__sparc__ && !__arch64__ && !__sparc_v9__]
7050         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7051         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7052         Likewise.
7053         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7054         (__ASSUME_FUTEX_LOCK_PI): Undefine.
7055         (__ASSUME_REQUEUE_PI): Likewise.
7056         (__ASSUME_SET_ROBUST_LIST): Likewise.
7057         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7058         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7059         Undefine.
7060         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7061         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7062         Likewise.
7063         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7064         Likewise.
7065         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7066         Likewise.
7067         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7068         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7069         Undefine.
7070         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7071         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7072         Likewise.
7073
7074         [BZ #16648]
7075         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7076         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7077         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7078
7079 2014-03-31  Will Newton  <will.newton@linaro.org>
7080
7081         * benchtests/Makefile (bench): Add ffs and ffsll to list
7082         of tests.
7083         * benchtests/ffs-inputs: New file.
7084         * benchtests/ffsll-inputs: Likewise.
7085
7086 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
7087
7088         [BZ #16770]
7089         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7090         too large before casting to int.
7091         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7092         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7093         * math/libm-test.inc (scalb_test_data): Add more tests.
7094
7095 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7096
7097         * benchtests/Makefile (DETAILED_OPT): New make option.
7098         (bench-func): Run benchmark program with -d if DETAILED_OPT is
7099         set.
7100         * benchtests/bench-skeleton.c: Include stdbool.h.
7101         (main): Store and print timings per input.
7102         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7103         member to each argument value.
7104         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7105         (_print_arg_data): Initialize per-input timing to 0.
7106
7107         * benchtests/Makefile (timing-type): New binary.
7108         (bench-clean): Also remove bench-timing-type.
7109         (bench): New target for timing-type.
7110         (bench-func): Print output in JSON format.
7111         * benchtests/bench-skeleton.c (main): Print output in JSON
7112         format.
7113         * benchtests/bench-timing-type.c: New file.
7114         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7115         (TIMING_PRINT_STATS): Remove.
7116         * benchtests/scripts/bench.py (_print_arg_data): Store variant
7117         name separately.
7118
7119         * benchtests/bench-modf.c: Remove.
7120         * benchtests/modf-inputs: New inputs file.
7121
7122 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
7123
7124         [BZ #16362]
7125         * math/s_clog10.c (M_PI_LOG10E): New macro.
7126         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7127         imaginary parts are 0.
7128         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7129         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7130         imaginary parts are 0.
7131         * math/s_clog10l.c (M_PI_LOG10El): New macro.
7132         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7133         imaginary parts are 0.
7134         * math/libm-test.inc (clog10_test_data): Update expected results
7135         for when real and imaginary parts are 0.
7136
7137 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
7138
7139         * elf/dl-load.c: Finish conversion of __builtin_expect into
7140         __glibc_{un}likely.
7141
7142 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
7143
7144         [BZ #16348]
7145         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7146         1+x for argument with exponent below -67.
7147         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7148         Likewise.
7149         * math/auto-libm-test-in: Add more tests of exp.
7150         * math/auto-libm-test-out: Regenerated.
7151
7152 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7153
7154         [BZ #16759]
7155         * inet/getnetgrent_r.c (get_nonempty_val): New function.
7156         (nscd_getnetgrent): Use it.
7157
7158         [BZ #16760]
7159         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7160         of stpcpy.
7161
7162 2014-03-27  Andi Kleen  <ak@linux.intel.com>
7163
7164         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7165         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7166         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7167         (lll_robust_unlock): Remove out of line section. Use cfi
7168         intrinsics.
7169         (LLL_STUB_UNWIND_INFO*): Remove.
7170         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7171         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7172         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7173         (lll_robust_unlock): Remove out of line section. Use cfi
7174         intrinsics.
7175         (LLL_STUB_UNWIND_INFO*): Remove.
7176
7177 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7178
7179         [BZ #16758]
7180         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7181         blank values.
7182
7183 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
7184
7185         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7186
7187 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
7188
7189         [BZ #16198]
7190         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7191         fnstenv.
7192         * math/test-fenv-preserve.c: New file.
7193         * math/Makefile (tests): Add test-fenv-preserve.
7194
7195 2014-03-26  Will Newton <will.newton@linaro.org>
7196
7197         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7198
7199 2014-03-25  Roland McGrath  <roland@hack.frob.com>
7200
7201         * scripts/versionlist.awk: Partition the version sets and emit all
7202         GLIBC_* (sorted) before all others (sorted).
7203
7204 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7205
7206         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7207         GLIBC_2.2.5 version.
7208
7209 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7210
7211         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7212         calls.
7213
7214         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7215         previous change.
7216
7217         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7218
7219 2014-03-25  Andreas Schwab  <schwab@suse.de>
7220
7221         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7222         label to be used after in6ailist is initialized.
7223
7224 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7225
7226         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7227         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7228
7229 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7230
7231         [BZ #16357]
7232         [BZ #16599]
7233         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7234         min_plus_half.
7235         (fp_formats): Update initializers.
7236         (init_fp_formats): Initialize new field.
7237         (output_for_one_input_case): Allow underflow for results up to
7238         min_plus_half.
7239         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7240         * math/auto-libm-test-in: Don't mark some underflows from asin and
7241         atanh as spurious.
7242         * math/auto-libm-test-out: Regenerated.
7243         * sysdeps/i386/fpu/libm-test-ulps: Update.
7244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7245
7246 2014-03-25  Andreas Schwab  <schwab@suse.de>
7247
7248         * libio/Makefile (tst-ftell-partial-wide-ENV)
7249         (tst-ftell-active-handler-ENV): Define.
7250
7251 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
7252
7253         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7254
7255 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7256
7257         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7258
7259 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7260
7261         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7262         * sysdeps/x86_64/fpu/multiarch/e_exp.c
7263         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7264
7265 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7266
7267         [BZ #16634]
7268         * elf/dl-load.c (open_verify): Add mode parameter.
7269         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7270         (open_path): Change from boolean 'secure' to complete flag 'mode'
7271         (_dl_map_object): Adjust.
7272         * elf/Makefile (tests): Add tst-dlopen-aout.
7273         * elf/tst-dlopen-aout.c: New test.
7274
7275 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
7276
7277         [BZ #16714]
7278         * sysdeps/unix/sysv/linux/s390/bits/stat.h
7279         (struct stat): Rename member pad0 to __glibc_reserved0.
7280
7281         [BZ #16712]
7282         * sysdeps/s390/s390-32/bits/wordsize.h
7283         (__WORDSIZE32_SIZE_ULONG): New define.
7284         * sysdeps/s390/s390-64/bits/wordsize.h
7285         (__WORDSIZE32_SIZE_ULONG): Likewise.
7286         * sysdeps/generic/stdint.h (SIZE_MAX):
7287         Define as UL if __WORDSIZE32_SIZE_ULONG.
7288
7289         [BZ #16713]
7290         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7291         (__glibc_reserved0): New variable.
7292         (sa_flags): Change type to int.
7293
7294         * posix/Makefile (before-compile): Use += before-compile instead
7295         of a :=.
7296
7297         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7298         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7299
7300 2014-03-20  Andreas Schwab  <schwab@suse.de>
7301
7302         [BZ #16743]
7303         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7304         non-matching result from nscd.
7305
7306 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7307
7308         * scripts/bench.py: Moved to ...
7309         * benchtests/scripts/bench.py: ... here.
7310         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7311
7312 2014-03-24  Andreas Schwab  <schwab@suse.de>
7313
7314         [BZ #16002]
7315         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7316         alloca_account and account alloca use for struct in6ailist.
7317
7318 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7319
7320         [BZ #16284]
7321         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7322         rounding mode to recompute results that overflow to infinity or
7323         underflow to zero.
7324         * math/auto-libm-test-in: Don't mark tests as expected to fail for
7325         bug 16284.
7326         * math/auto-libm-test-out: Regenerated.
7327         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7328         (ccosh_test): Likewise.
7329         (csin_test_data): Use plus_oflow.
7330         (csin_test): Use ALL_RM_TEST.
7331         (csinh_test_data): Use plus_oflow.
7332         (csinh_test): Use ALL_RM_TEST.
7333         * sysdeps/i386/fpu/libm-test-ulps: Update.
7334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7335
7336 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
7337
7338         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7339         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7340         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7341
7342         [BZ #16731]
7343         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7344         when x - 1 is zero.
7345         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7346         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7347         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7348         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7349         argument is 1.
7350         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7351         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7352         zero.
7353         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7354         * sysdeps/i386/fpu/libm-test-ulps: Update.
7355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7356
7357 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7358
7359         * scripts/bench.pl: Remove file.
7360         * scripts/bench.py: New benchmark script.
7361         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7362         * benchtests/README: Mention python dependency.
7363         * scripts/pylintrc: New file.
7364         * scripts/pylint: New file.
7365
7366         * bits/mathdef.h: Use #ifdef instead of #if.
7367         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7368         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7369         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7370         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7371         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7372         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7373
7374 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7375             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7376
7377         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7378         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7379         and strpbrk-ppc64 objects.
7380         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7381         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7382         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7383         multiarch strpbrk for POWER7.
7384         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7385         multiarch strpbrk for PPC64.
7386         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7387         ifunc selector.
7388         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7389         strpbrk for POWER7.
7390
7391 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7392
7393         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7394         (atan_test): Likewise.
7395         (atanh_test_data): Use NO_TEST_INLINE for two tests.
7396         (atanh_test): Use ALL_RM_TEST.
7397         (atan2_test_data): Likewise.
7398         (cabs_test): Likewise.
7399         (cacosh_test): Likewise.
7400         (carg_test): Likewise.
7401         (casin_test): Likewise.
7402         (casinh_test): Likewise.
7403         (cbrt_test): Likewise.
7404         (csqrt_test): Likewise.
7405         (erf_test): Likewise.
7406         (erfc_test): Likewise.
7407         (pow10_test): Likewise.
7408         (exp2_test): Likewise.
7409         (hypot_test): Likewise.
7410         (j0_test): Likewise.
7411         (j1_test): Likewise.
7412         (lgamma_test): Likewise.
7413         (gamma_test): Likewise.
7414         (sincos_test): Likewise.
7415         (tanh_test): Likewise.
7416         (y0_test): Likewise.
7417         (y1_test): Likewise.
7418         * sysdeps/i386/fpu/libm-test-ulps: Update.
7419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7420
7421 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7422
7423         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7424         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7425         and strcspn-ppc64 objects.
7426         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7427         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7428         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7429         multiarch strcspn for POWER7.
7430         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7431         multiarch strcspn for PPC64.
7432         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7433         ifunc selector.
7434         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7435         strcspn for POWER7.
7436
7437 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7438
7439         * math/gen-libm-test.pl (generate_testfile): Expect only function
7440         name as argument to AUTO_TESTS_* and pass results for all rounding
7441         modes to parse_args.
7442         (parse_auto_input): Separate inputs of automatic tests from
7443         outputs before storing in %auto_tests.
7444         * math/libm-test.inc (acos_test_data): Update call to
7445         AUTO_TESTS_f_f.
7446         (acos_test): Use ALL_RM_TEST.
7447         (acos_tonearest_test_data): Remove.
7448         (acos_test_tonearest): Likewise.
7449         (acos_towardzero_test_data): Likewise.
7450         (acos_test_towardzero): Likewise.
7451         (acos_downward_test_data): Likewise.
7452         (acos_test_downward): Likewise.
7453         (acos_upward_test_data): Likewise.
7454         (acos_test_upward): Likewise.
7455         (acosh_test_data): Update call to AUTO_TESTS_f_f.
7456         (asin_test_data): Likewise.
7457         (asin_test): Use ALL_RM_TEST.
7458         (asin_tonearest_test_data): Remove.
7459         (asin_test_tonearest): Likewise.
7460         (asin_towardzero_test_data): Likewise.
7461         (asin_test_towardzero): Likewise.
7462         (asin_downward_test_data): Likewise.
7463         (asin_test_downward): Likewise.
7464         (asin_upward_test_data): Likewise.
7465         (asin_test_upward): Likewise.
7466         (asinh_test_data): Update call to AUTO_TESTS_f_f.
7467         (atan_test_data): Likewise.
7468         (atanh_test_data): Likewise.
7469         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7470         (cabs_test_data): Update call to AUTO_TESTS_c_f.
7471         (carg_test_data): Likewise.
7472         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7473         (ccos_test_data): Update call to AUTO_TESTS_c_c.
7474         (ccosh_test_data): Likewise.
7475         (cexp_test_data): Likewise.
7476         (clog_test_data): Likewise.
7477         (clog10_test_data): Likewise.
7478         (cos_test_data): Update call to AUTO_TESTS_f_f.
7479         (cos_test): Use ALL_RM_TEST.
7480         (cos_tonearest_test_data): Remove.
7481         (cos_test_tonearest): Likewise.
7482         (cos_towardzero_test_data): Likewise.
7483         (cos_test_towardzero): Likewise.
7484         (cos_downward_test_data): Likewise.
7485         (cos_test_downward): Likewise.
7486         (cos_upward_test_data): Likewise.
7487         (cos_test_upward): Likewise.
7488         (cosh_test_data): Update call to AUTO_TESTS_f_f.
7489         (cosh_test): Use ALL_RM_TEST.
7490         (cosh_tonearest_test_data): Remove.
7491         (cosh_test_tonearest): Likewise.
7492         (cosh_towardzero_test_data): Likewise.
7493         (cosh_test_towardzero): Likewise.
7494         (cosh_downward_test_data): Likewise.
7495         (cosh_test_downward): Likewise.
7496         (cosh_upward_test_data): Likewise.
7497         (cosh_test_upward): Likewise.
7498         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7499         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7500         (ctan_test_data): Likewise.
7501         (ctan_test): Use ALL_RM_TEST.
7502         (ctan_tonearest_test_data): Remove.
7503         (ctan_test_tonearest): Likewise.
7504         (ctan_towardzero_test_data): Likewise.
7505         (ctan_test_towardzero): Likewise.
7506         (ctan_downward_test_data): Likewise.
7507         (ctan_test_downward): Likewise.
7508         (ctan_upward_test_data): Likewise.
7509         (ctan_test_upward): Likewise.
7510         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7511         (ctanh_test): Use ALL_RM_TEST.
7512         (ctanh_tonearest_test_data): Remove.
7513         (ctanh_test_tonearest): Likewise.
7514         (ctanh_towardzero_test_data): Likewise.
7515         (ctanh_test_towardzero): Likewise.
7516         (ctanh_downward_test_data): Likewise.
7517         (ctanh_test_downward): Likewise.
7518         (ctanh_upward_test_data): Likewise.
7519         (ctanh_test_upward): Likewise.
7520         (erf_test_data): Update call to AUTO_TESTS_f_f.
7521         (erfc_test_data): Likewise.
7522         (exp_test_data): Likewise.
7523         (exp_test): Use ALL_RM_TEST.
7524         (exp_tonearest_test_data): Remove.
7525         (exp_test_tonearest): Likewise.
7526         (exp_towardzero_test_data): Likewise.
7527         (exp_test_towardzero): Likewise.
7528         (exp_downward_test_data): Likewise.
7529         (exp_test_downward): Likewise.
7530         (exp_upward_test_data): Likewise.
7531         (exp_test_upward): Likewise.
7532         (exp10_test_data): Update call to AUTO_TESTS_f_f.
7533         (exp10_test): Use ALL_RM_TEST.
7534         (exp10_tonearest_test_data): Remove.
7535         (exp10_test_tonearest): Likewise.
7536         (exp10_towardzero_test_data): Likewise.
7537         (exp10_test_towardzero): Likewise.
7538         (exp10_downward_test_data): Likewise.
7539         (exp10_test_downward): Likewise.
7540         (exp10_upward_test_data): Likewise.
7541         (exp10_test_upward): Likewise.
7542         (exp2_test_data): Update call to AUTO_TESTS_f_f.
7543         (expm1_test_data): Likewise.
7544         (expm1_test): Use ALL_RM_TEST.
7545         (expm1_tonearest_test_data): Remove.
7546         (expm1_test_tonearest): Likewise.
7547         (expm1_towardzero_test_data): Likewise.
7548         (expm1_test_towardzero): Likewise.
7549         (expm1_downward_test_data): Likewise.
7550         (expm1_test_downward): Likewise.
7551         (expm1_upward_test_data): Likewise.
7552         (expm1_test_upward): Likewise.
7553         (fma_test_data): Update call to AUTO_TESTS_fff_f.
7554         (fma_test): Use ALL_RM_TEST.
7555         (fma_towardzero_test_data): Remove.
7556         (fma_test_towardzero): Likewise.
7557         (fma_downward_test_data): Likewise.
7558         (fma_test_downward): Likewise.
7559         (fma_upward_test_data): Likewise.
7560         (fma_test_upward): Likewise.
7561         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7562         (j0_test_data): Update call to AUTO_TESTS_f_f.
7563         (j1_test_data): Likewise.
7564         (jn_test_data): Update call to AUTO_TESTS_if_f.
7565         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7566         (log_test_data): Update call to AUTO_TESTS_f_f.
7567         (log10_test_data): Likewise.
7568         (log1p_test_data): Likewise.
7569         (log2_test_data): Likewise.
7570         (pow_test_data): Update call to AUTO_TESTS_ff_f.
7571         (pow_tonearest_test_data): Likewise.
7572         (sin_test_data): Update call to AUTO_TESTS_f_f.
7573         (sin_test): Use ALL_RM_TEST.
7574         (sin_tonearest_test_data): Remove.
7575         (sin_test_tonearest): Likewise.
7576         (sin_towardzero_test_data): Likewise.
7577         (sin_test_towardzero): Likewise.
7578         (sin_downward_test_data): Likewise.
7579         (sin_test_downward): Likewise.
7580         (sin_upward_test_data): Likewise.
7581         (sin_test_upward): Likewise.
7582         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7583         (sinh_test_data): Update call to AUTO_TESTS_f_f.
7584         (sinh_test): Use ALL_RM_TEST.
7585         (sinh_tonearest_test_data): Remove.
7586         (sinh_test_tonearest): Likewise.
7587         (sinh_towardzero_test_data): Likewise.
7588         (sinh_test_towardzero): Likewise.
7589         (sinh_downward_test_data): Likewise.
7590         (sinh_test_downward): Likewise.
7591         (sinh_upward_test_data): Likewise.
7592         (sinh_test_upward): Likewise.
7593         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7594         (sqrt_test): Use ALL_RM_TEST.
7595         (sqrt_tonearest_test_data): Remove.
7596         (sqrt_test_tonearest): Likewise.
7597         (sqrt_towardzero_test_data): Likewise.
7598         (sqrt_test_towardzero): Likewise.
7599         (sqrt_downward_test_data): Likewise.
7600         (sqrt_test_downward): Likewise.
7601         (sqrt_upward_test_data): Likewise.
7602         (sqrt_test_upward): Likewise.
7603         (tan_test_data): Update call to AUTO_TESTS_f_f.
7604         (tan_test): Use ALL_RM_TEST.
7605         (tan_tonearest_test_data): Remove.
7606         (tan_test_tonearest): Likewise.
7607         (tan_towardzero_test_data): Likewise.
7608         (tan_test_towardzero): Likewise.
7609         (tan_downward_test_data): Likewise.
7610         (tan_test_downward): Likewise.
7611         (tan_upward_test_data): Likewise.
7612         (tan_test_upward): Likewise.
7613         (tanh_test_data): Update call to AUTO_TESTS_f_f.
7614         (tgamma_test_data): Likewise.
7615         (y0_test_data): Likewise.
7616         (y1_test_data): Likewise.
7617         (yn_test_data): Update call to AUTO_TESTS_if_f.
7618         (main): Do not call removed functions.
7619
7620 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
7621
7622         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7623         (ldexp_test_data): Remove.
7624         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
7625         scalbn_test_data.
7626         (scalb_test): Use ALL_RM_TEST.
7627
7628 2014-03-19  Andreas Schwab  <schwab@suse.de>
7629
7630         * nscd/nscd.service: Also invalidate netgroup cache on reload.
7631
7632 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
7633
7634         [BZ #16649]
7635         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7636         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7637         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7638         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7639         (__ASSUME_PREADV): Undefine.
7640         (__ASSUME_PWRITEV): Likewise.
7641
7642 2014-03-18  Roland McGrath  <roland@hack.frob.com>
7643
7644         * bits/mman-linux.h: Add comment about non-Linux use.
7645         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7646         bits/mman-linux.h resting place.
7647
7648         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7649         * bits/mman-linux.h: ... here.
7650
7651 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7652
7653         * conform/conformtest.pl: Add standard definition when calling C
7654         preprocessor on data files.
7655         (checknamespace): Remove unused variable.
7656
7657 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
7658
7659         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7660         minus_oflow, plus_uflow and minus_uflow in expected results.
7661         * math/libm-test.inc (scalbn_test_data): Add more tests of
7662         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
7663         minus_uflow.
7664         (scalbn_test): Use ALL_RM_TEST.
7665         (scalbln_test_data): Add more tests of negative arguments.  Use
7666         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7667         (scalbln_test): Use ALL_RM_TEST.
7668
7669 2014-03-18  Roland McGrath  <roland@hack.frob.com>
7670
7671         * scripts/abilist.awk: Ignore symbols marked with .hidden.
7672
7673 2014-03-18  Will Newton  <will.newton@linaro.org>
7674
7675         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7676         inaccurate comment.
7677
7678 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
7679
7680         * Makerules [!subdir] (check-abi): Exit with error status if a
7681         test failed.
7682
7683 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
7684
7685         * math/libm-test.inc (nearbyint_test_data): Include all tests used
7686         for rint.  Include results for all rounding modes.
7687         (nearbyint_test): Use ALL_RM_TEST.
7688         (rint_test_data): Include all tests used for nearbyint.
7689
7690 2014-03-17  Will Newton  <will.newton@linaro.org>
7691
7692         * nptl/sysdeps/pthread/pthread.h: Revert previous
7693         change.
7694
7695         * sysdeps/generic/ldsodefs.h: Revert previous
7696         change.
7697
7698         * libio/genops.c: Revert previous change.
7699         * libio/libioP.h: Likewise.
7700         * stdio-common/vfprintf.c: Likewise.
7701
7702         * sysdeps/generic/math_private.h: Revert previous
7703         change.
7704
7705         * sysdeps/generic/math_private.h: Check whether
7706         HAVE_RM_CTX is defined with #ifdef rather
7707         than #if.
7708
7709         * argp/argp-fmtstream.h: Check whether
7710         __STRICT_ANSI__ is defined with #ifdef rather
7711         than #if.
7712         * argp/argp.h: Likewise.
7713
7714         * libio/genops.c: Check whether
7715         _IO_JUMPS_OFFSET is defined with #ifdef rather
7716         than #if.
7717         * libio/libioP.h: Likewise.
7718         * stdio-common/vfprintf.c: Likewise.
7719
7720         * sysdeps/generic/ldsodefs.h: Check whether
7721         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7722         than #if.
7723
7724         * nptl/sysdeps/pthread/pthread.h: Check
7725         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7726         its value.
7727
7728 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7729
7730         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7731         setting O_APPEND.
7732         * libio/tst-ftell-active-handler.c (do_append_test): Add a
7733         test case.
7734
7735         [BZ #16680]
7736         * libio/fileops.c (_IO_file_open): Seek to end of file but
7737         don't cache the offset.
7738         (get_file_offset): Remove function.
7739         (do_ftell): Use cached offset when available.
7740         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7741         don't cache the offset.
7742         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7743         case.
7744         (do_one_test): Call it.
7745         (do_ftell_test): Fix up expected old offset for a+ mode.
7746         * libio/wfileops.c (do_ftell_wide): Used cached offset when
7747         available.
7748
7749         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7750         up test status with function return status.
7751         (do_write_test): Likewise.
7752         (do_append_test): Likewise.
7753
7754         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7755         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7756         Remove.
7757
7758 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
7759
7760         * math/gen-libm-test.pl (parse_args): Handle results specified for
7761         each rounding mode separately.
7762         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7763         tests and results from lrint_tonearest_test_data,
7764         lrint_towardzero_test_data, lrint_downward_test_data and
7765         lrint_upward_test_data.
7766         (lrint_test): Use ALL_RM_TEST.
7767         (lrint_tonearest_test_data): Remove.
7768         (lrint_test_tonearest): Likewise.
7769         (lrint_towardzero_test_data): Likewise.
7770         (lrint_test_towardzero): Likewise.
7771         (lrint_downward_test_data): Likewise.
7772         (lrint_test_downward): Likewise.
7773         (lrint_upward_test_data): Likewise.
7774         (lrint_test_upward): Likewise.
7775         (llrint_test_data): Merge in per-rounding-mode tests and results
7776         from llrint_tonearest_test_data, llrint_towardzero_test_data,
7777         llrint_downward_test_data and llrint_upward_test_data.
7778         (llrint_test): Use ALL_RM_TEST.
7779         (llrint_tonearest_test_data): Remove.
7780         (llrint_test_tonearest): Likewise.
7781         (llrint_towardzero_test_data): Likewise.
7782         (llrint_test_towardzero): Likewise.
7783         (llrint_downward_test_data): Likewise.
7784         (llrint_test_downward): Likewise.
7785         (llrint_upward_test_data): Likewise.
7786         (llrint_test_upward): Likewise.
7787         (rint_test_data): Merge in per-rounding-mode tests and results
7788         from rint_tonearest_test_data, rint_towardzero_test_data,
7789         rint_downward_test_data and rint_upward_test_data.  Add
7790         per-rounding-mode results for tests not in those arrays.
7791         (rint_test): Use ALL_RM_TEST.
7792         (rint_tonearest_test_data): Remove.
7793         (rint_test_tonearest): Likewise.
7794         (rint_towardzero_test_data): Likewise.
7795         (rint_test_towardzero): Likewise.
7796         (rint_downward_test_data): Likewise.
7797         (rint_test_downward): Likewise.
7798         (rint_upward_test_data): Likewise.
7799         (rint_test_upward): Likewise.
7800         (main): Don't call removed functions.
7801
7802 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7803
7804         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7805         "Compiled on ..." crapola.  It is anti-useful.
7806
7807 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
7808
7809         * scripts/evaluate-test.sh: Handle fourth argument to determine
7810         whether test run should stop on failure.
7811         * Makeconfig (stop-on-test-failure): New variable.
7812         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7813         $(stop-on-test-failure).
7814         * Makefile (tests): Give a summary of results from testing and
7815         exit with failure status if they include an ERROR or FAIL.
7816         (xtests): Likewise.
7817         * manual/install.texi (Configuring and compiling): Mention
7818         stop-on-test-failure=y.
7819         * INSTALL: Regenerated.
7820
7821 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7822
7823         * scripts/versionlist.awk: New file.
7824         * Makerules [$(build-shared) = yes]
7825         (postclean-generated): Add Versions.def, not Versions.def.v and
7826         Versions.def.v.i.
7827         ($(common-objpfx)Versions.def.v.i): Target removed.
7828         ($(common-objpfx)Versions.def): New target.
7829         ($(common-objpfx)Versions.all): Depend on that rather that
7830         $(common-objpfx)Versions.def.v.
7831         * Versions.def: File removed.
7832
7833         * Makeconfig (+gccwarn): Add -Wundef.
7834         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7835         a dl-sysdep.h breaking its contract.
7836         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7837         * include/stackinfo.h: New file.
7838         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7839         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7840         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7841         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7842         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7843         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7844         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7845         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7846         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7847         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7848         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7849         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7850         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7851         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7852         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7853
7854 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7855
7856         [BZ #16707]
7857         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7858         implementation.
7859         * math/libm-test.inc (round_test_data): Add more tests.
7860
7861         [BZ #16706]
7862         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7863         implementation.
7864         * math/libm-test.inc (nearbyint_test_data): Add more tests.
7865
7866         [BZ #16701]
7867         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7868         implementation.
7869         * math/libm-test.inc (ceil_test_data): Add more tests.
7870
7871         * math/libm-test.inc (trunc_test_data): Add more tests related to
7872         BZ#16414.
7873
7874 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7875
7876         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7877         with #if rather than #ifdef.
7878         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7879
7880 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
7881
7882         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7883         first.  Disable AVX-512 GCC support if assembler doesn't support
7884         it.
7885         * sysdeps/x86_64/configure: Regenerated.
7886
7887 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
7888
7889         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7890         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7891         (__old_pthread_attr_setstack): Likewise.
7892         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7893         [!_STACK_GROWS_DOWN]: Likewise.
7894
7895 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
7896
7897         * config.make.in (have-bash2): Delete.
7898         * configure.ac (libc_cv_have_bash2): Delete.
7899         * configure: Regenerate.
7900         * elf/Makefile (common-ldd-rewrite): Rename to ...
7901         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
7902         (sh-ldd-rewrite): Delete.
7903         (bash-ldd-rewrite): Delete.
7904         (have-bash2): Delete checks.
7905         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7906         ldd-rewrite.
7907
7908         * config.make.in (have-ksh): Delete.
7909         (KSH): Delete.
7910         * configure.ac (libc_cv_have_ksh): Delete.
7911         * configure: Regenerate.
7912
7913         * elf/Makefile: Delete $(have-ksh) check.
7914         ($(objpfx)sotruss): Change KSH to BASH.
7915         * elf/sotruss.ksh: Rename to ...
7916         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
7917         function style to match POSIX.  Drop ksh vim mode setting.
7918
7919         * manual/time.texi (Specifying the Time Zone with TZ): Change
7920         Tuesday to Thursday.
7921
7922         * debug/tst-longjmp_chk2.c: Update header comment.
7923         (stackoverflow_handler): Add comment.  Call assert on pass value.
7924
7925 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
7926
7927         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7928         (HAVE_AVX512_ASM_SUPPORT): Likewise.
7929         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7930         (La_x86_64_vector): Add zmm.
7931         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7932         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7933         ($(objpfx)tst-audit10): New target.
7934         ($(objpfx)tst-audit10.out): Likewise.
7935         (tst-audit10-ENV): New.
7936         (AVX512-CFLAGS): Likewise.
7937         (CFLAGS-tst-audit10.c): Likewise.
7938         (CFLAGS-tst-auditmod10a.c): Likewise.
7939         (CFLAGS-tst-auditmod10b.c): Likewise.
7940         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7941         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7942         * sysdeps/x86_64/configure: Regenerated.
7943         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7944         AVX-512 zmm register support.
7945         (_dl_x86_64_save_sse): Likewise.
7946         (_dl_x86_64_restore_sse): Likewise.
7947         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7948         size vector registers.
7949         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7950         (ZMM_SIZE): Likewise.
7951         * sysdeps/x86_64/tst-audit10.c: New file.
7952         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7953         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7954
7955 2014-03-13  Roland McGrath  <roland@hack.frob.com>
7956
7957         * configure.ac (HAVE_EHDR_START): New check.
7958         * configure: Regenerated.
7959         * config.h.in (HAVE_EHDR_START): New #undef.
7960         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7961         assuming the lowest-addressed segment maps the start of the file.
7962
7963 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
7964
7965         * INSTALL: Regenerated.
7966
7967 2014-03-13  Will Newton  <will.newton@linaro.org>
7968
7969         * manual/setjmp.texi (System V contexts): Improve
7970         clarity and grammar of documentation.
7971
7972 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
7973
7974         [BZ #16381]
7975         * elf/Makefile (tests): Add tst-pie2.
7976         (tests-pie): Add tst-pie2.
7977         * elf/tst-pie2.c: New file.
7978         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7979         for ET_EXEC.
7980         * elf/rtld.c (map_doit): Load executable as lt_executable.
7981         (dl_main): Likewise.
7982
7983 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
7984
7985         [BZ #16642]
7986         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7987         (__ASSUME_PSELECT): Undefine.
7988
7989 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7990
7991         [BZ #16689]
7992         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7993         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7994         static build.
7995         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7996         selector for static builds.
7997
7998 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7999
8000         [BZ #16695]
8001         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8002         key in the buffer.
8003
8004 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8005
8006         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8007         IFUNC selector for static builds.
8008
8009 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
8010
8011         * sysdeps/mips/math_private.h [__mips_hard_float]
8012         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8013         libc_feresetround_mips_ctx.
8014         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8015         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8016         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8017
8018         [BZ #16677]
8019         * math/s_nextafter.c (__nextafter): Do not return value from
8020         overflowing computation.
8021         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8022         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8023         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8024         Likewise.
8025         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8026         Likewise.
8027         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8028         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8029
8030 2014-03-11  Roland McGrath  <roland@hack.frob.com>
8031
8032         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8033         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8034         Move sfi_sp use from the load-multiple (that no longer sets sp) to
8035         the new mov targetting sp.
8036
8037 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8038
8039         [BZ #16683]
8040         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8041         Define it for static builds as well.
8042         (NO_BZERO_IMPL): Likewise.
8043
8044 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8045
8046         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8047         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8048         multiarch strspn for PPC64.
8049         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8050         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8051         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8052         (__libc_ifunc_impl_list): Likewise.
8053         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8054         multiarch optimizations
8055         * string/strspn.c (strspn): Using macro to redefine symbol name.
8056
8057 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8058             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8059
8060         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8061         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8062         multiarch strncat for PPC64.
8063         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8064         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8065         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8066         (__libc_ifunc_impl_list): Likewise.
8067         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8068         multiarch optimizations
8069
8070 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8071
8072         [BZ #16639]
8073         * nscd/nscd.service: Make service type forking.
8074
8075 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8076
8077         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8078         sign in non default rounding modes.
8079         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8080
8081 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
8082
8083         * math/libm-test.inc (ALL_RM_TEST): New macro.
8084         (ceil_test): Use ALL_RM_TEST.
8085         (cimag_test): Likewise.
8086         (conj_test): Likewise.
8087         (copysign_test): Likewise.
8088         (cproj_test): Likewise.
8089         (creal_test): Likewise.
8090         (fabs_test): Likewise.
8091         (floor_test): Likewise.
8092         (fmax_test): Likewise.
8093         (fmin_test): Likewise.
8094         (fmod_test): Likewise.
8095         (fpclassify_test): Likewise.
8096         (frexp_test): Likewise.
8097         (ilogb_test): Likewise.
8098         (isfinite_test): Likewise.
8099         (finite_test): Likewise.
8100         (isgreater_test): Likewise.
8101         (isgreaterequal_test): Likewise.
8102         (isinf_test): Likewise.
8103         (isless_test): Likewise.
8104         (islessequal_test): Likewise.
8105         (islessgreater_test): Likewise.
8106         (isnan_test): Likewise.
8107         (isnormal_test): Likewise.
8108         (issignaling_test): Likewise.
8109         (isunordered_test): Likewise.
8110         (logb_test): Likewise.
8111         (logb_downward_test_data): Remove.
8112         (logb_test_downward): Likewise.
8113         (lround_test): Use ALL_RM_TEST.
8114         (llround_test): Likewise.
8115         (modf_test): Likewise.
8116         (nexttoward_test): Likewise.
8117         (remainder_test): Likewise.
8118         (drem_test): Likewise.
8119         (remainder_tonearest_test_data): Likewise.
8120         (remainder_test_tonearest): Likewise.
8121         (drem_test_tonearest): Likewise.
8122         (remainder_towardzero_test_data): Likewise.
8123         (remainder_test_towardzero): Likewise.
8124         (drem_test_towardzero): Likewise.
8125         (remainder_downward_test_data): Likewise.
8126         (remainder_test_downward): Likewise.
8127         (drem_test_downward): Likewise.
8128         (remainder_upward_test_data): Likewise.
8129         (remainder_test_upward): Likewise.
8130         (drem_test_upward): Likewise.
8131         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
8132         (round_test): Use ALL_RM_TEST.
8133         (signbit_test): Likewise.
8134         (trunc_test): Likewise.
8135         (significand_test): Likewise.
8136         (main): Don't call removed functions.
8137
8138 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8139
8140         [BZ #16674]
8141         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8142         || __USE_XOPEN2K8].
8143         (ILL_ILLOPN): Likewise.
8144         (ILL_ILLADR): Likewise.
8145         (ILL_ILLTRP): Likewise.
8146         (ILL_PRVOPC): Likewise.
8147         (ILL_PRVREG): Likewise.
8148         (ILL_COPROC): Likewise.
8149         (ILL_BADSTK): Likewise.
8150         (FPE_INTDIV): Likewise.
8151         (FPE_INTOVF): Likewise.
8152         (FPE_FLTDIV): Likewise.
8153         (FPE_FLTOVF): Likewise.
8154         (FPE_FLTUND): Likewise.
8155         (FPE_FLTRES): Likewise.
8156         (FPE_FLTINV): Likewise.
8157         (FPE_FLTSUB): Likewise.
8158         (SEGV_MAPERR): Likewise.
8159         (SEGV_ACCERR): Likewise.
8160         (BUS_ADRALN): Likewise.
8161         (BUS_ADRERR): Likewise.
8162         (BUS_OBJERR): Likewise.
8163         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8164         (TRAP_TRACE): Likewise.
8165         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8166         __USE_XOPEN2K8].
8167         (CLD_KILLED): Likewise.
8168         (CLD_DUMPED): Likewise.
8169         (CLD_TRAPPED): Likewise.
8170         (CLD_STOPPED): Likewise.
8171         (CLD_CONTINUED): Likewise.
8172         (POLL_IN): Likewise.
8173         (POLL_OUT): Likewise.
8174         (POLL_MSG): Likewise.
8175         (POLL_ERR): Likewise.
8176         (POLL_PRI): Likewise.
8177         (POLL_HUP): Likewise.
8178         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8179         Likewise.
8180         (ILL_ILLOPN): Likewise.
8181         (ILL_ILLADR): Likewise.
8182         (ILL_ILLTRP): Likewise.
8183         (ILL_PRVOPC): Likewise.
8184         (ILL_PRVREG): Likewise.
8185         (ILL_COPROC): Likewise.
8186         (ILL_BADSTK): Likewise.
8187         (FPE_INTDIV): Likewise.
8188         (FPE_INTOVF): Likewise.
8189         (FPE_FLTDIV): Likewise.
8190         (FPE_FLTOVF): Likewise.
8191         (FPE_FLTUND): Likewise.
8192         (FPE_FLTRES): Likewise.
8193         (FPE_FLTINV): Likewise.
8194         (FPE_FLTSUB): Likewise.
8195         (SEGV_MAPERR): Likewise.
8196         (SEGV_ACCERR): Likewise.
8197         (BUS_ADRALN): Likewise.
8198         (BUS_ADRERR): Likewise.
8199         (BUS_OBJERR): Likewise.
8200         (BUS_MCEERR_AR): Likewise.
8201         (BUS_MCEERR_AO): Likewise.
8202         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8203         (TRAP_TRACE): Likewise.
8204         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8205         __USE_XOPEN2K8].
8206         (CLD_KILLED): Likewise.
8207         (CLD_DUMPED): Likewise.
8208         (CLD_TRAPPED): Likewise.
8209         (CLD_STOPPED): Likewise.
8210         (CLD_CONTINUED): Likewise.
8211         (POLL_IN): Likewise.
8212         (POLL_OUT): Likewise.
8213         (POLL_MSG): Likewise.
8214         (POLL_ERR): Likewise.
8215         (POLL_PRI): Likewise.
8216         (POLL_HUP): Likewise.
8217         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8218         (ILL_ILLOPN): Likewise.
8219         (ILL_ILLADR): Likewise.
8220         (ILL_ILLTRP): Likewise.
8221         (ILL_PRVOPC): Likewise.
8222         (ILL_PRVREG): Likewise.
8223         (ILL_COPROC): Likewise.
8224         (ILL_BADSTK): Likewise.
8225         (FPE_INTDIV): Likewise.
8226         (FPE_INTOVF): Likewise.
8227         (FPE_FLTDIV): Likewise.
8228         (FPE_FLTOVF): Likewise.
8229         (FPE_FLTUND): Likewise.
8230         (FPE_FLTRES): Likewise.
8231         (FPE_FLTINV): Likewise.
8232         (FPE_FLTSUB): Likewise.
8233         (SEGV_MAPERR): Likewise.
8234         (SEGV_ACCERR): Likewise.
8235         (BUS_ADRALN): Likewise.
8236         (BUS_ADRERR): Likewise.
8237         (BUS_OBJERR): Likewise.
8238         (BUS_MCEERR_AR): Likewise.
8239         (BUS_MCEERR_AO): Likewise.
8240         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8241         (TRAP_TRACE): Likewise.
8242         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8243         __USE_XOPEN2K8].
8244         (CLD_KILLED): Likewise.
8245         (CLD_DUMPED): Likewise.
8246         (CLD_TRAPPED): Likewise.
8247         (CLD_STOPPED): Likewise.
8248         (CLD_CONTINUED): Likewise.
8249         (POLL_IN): Likewise.
8250         (POLL_OUT): Likewise.
8251         (POLL_MSG): Likewise.
8252         (POLL_ERR): Likewise.
8253         (POLL_PRI): Likewise.
8254         (POLL_HUP): Likewise.
8255         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8256         Likewise.
8257         (ILL_ILLOPN): Likewise.
8258         (ILL_ILLADR): Likewise.
8259         (ILL_ILLTRP): Likewise.
8260         (ILL_PRVOPC): Likewise.
8261         (ILL_PRVREG): Likewise.
8262         (ILL_COPROC): Likewise.
8263         (ILL_BADSTK): Likewise.
8264         (ILL_BADIADDR): Likewise.
8265         (ILL_BREAK): Likewise.
8266         (FPE_INTDIV): Likewise.
8267         (FPE_INTOVF): Likewise.
8268         (FPE_FLTDIV): Likewise.
8269         (FPE_FLTOVF): Likewise.
8270         (FPE_FLTUND): Likewise.
8271         (FPE_FLTRES): Likewise.
8272         (FPE_FLTINV): Likewise.
8273         (FPE_FLTSUB): Likewise.
8274         (FPE_DECOVF): Likewise.
8275         (FPE_DECDIV): Likewise.
8276         (FPE_DECERR): Likewise.
8277         (FPE_INVASC): Likewise.
8278         (FPE_INVDEC): Likewise.
8279         (SEGV_MAPERR): Likewise.
8280         (SEGV_ACCERR): Likewise.
8281         (SEGV_PSTKOVF): Likewise.
8282         (BUS_ADRALN): Likewise.
8283         (BUS_ADRERR): Likewise.
8284         (BUS_OBJERR): Likewise.
8285         (BUS_MCEERR_AR): Likewise.
8286         (BUS_MCEERR_AO): Likewise.
8287         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8288         (TRAP_TRACE): Likewise.
8289         (TRAP_BRANCH): Likewise.
8290         (TRAP_HWBKPT): Likewise.
8291         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8292         __USE_XOPEN2K8].
8293         (CLD_KILLED): Likewise.
8294         (CLD_DUMPED): Likewise.
8295         (CLD_TRAPPED): Likewise.
8296         (CLD_STOPPED): Likewise.
8297         (CLD_CONTINUED): Likewise.
8298         (POLL_IN): Likewise.
8299         (POLL_OUT): Likewise.
8300         (POLL_MSG): Likewise.
8301         (POLL_ERR): Likewise.
8302         (POLL_PRI): Likewise.
8303         (POLL_HUP): Likewise.
8304         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8305         (ILL_ILLOPN): Likewise.
8306         (ILL_ILLADR): Likewise.
8307         (ILL_ILLTRP): Likewise.
8308         (ILL_PRVOPC): Likewise.
8309         (ILL_PRVREG): Likewise.
8310         (ILL_COPROC): Likewise.
8311         (ILL_BADSTK): Likewise.
8312         (FPE_INTDIV): Likewise.
8313         (FPE_INTOVF): Likewise.
8314         (FPE_FLTDIV): Likewise.
8315         (FPE_FLTOVF): Likewise.
8316         (FPE_FLTUND): Likewise.
8317         (FPE_FLTRES): Likewise.
8318         (FPE_FLTINV): Likewise.
8319         (FPE_FLTSUB): Likewise.
8320         (SEGV_MAPERR): Likewise.
8321         (SEGV_ACCERR): Likewise.
8322         (BUS_ADRALN): Likewise.
8323         (BUS_ADRERR): Likewise.
8324         (BUS_OBJERR): Likewise.
8325         (BUS_MCEERR_AR): Likewise.
8326         (BUS_MCEERR_AO): Likewise.
8327         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8328         (TRAP_TRACE): Likewise.
8329         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8330         __USE_XOPEN2K8].
8331         (CLD_KILLED): Likewise.
8332         (CLD_DUMPED): Likewise.
8333         (CLD_TRAPPED): Likewise.
8334         (CLD_STOPPED): Likewise.
8335         (CLD_CONTINUED): Likewise.
8336         (POLL_IN): Likewise.
8337         (POLL_OUT): Likewise.
8338         (POLL_MSG): Likewise.
8339         (POLL_ERR): Likewise.
8340         (POLL_PRI): Likewise.
8341         (POLL_HUP): Likewise.
8342         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8343         (ILL_ILLOPN): Likewise.
8344         (ILL_ILLADR): Likewise.
8345         (ILL_ILLTRP): Likewise.
8346         (ILL_PRVOPC): Likewise.
8347         (ILL_PRVREG): Likewise.
8348         (ILL_COPROC): Likewise.
8349         (ILL_BADSTK): Likewise.
8350         (FPE_INTDIV): Likewise.
8351         (FPE_INTOVF): Likewise.
8352         (FPE_FLTDIV): Likewise.
8353         (FPE_FLTOVF): Likewise.
8354         (FPE_FLTUND): Likewise.
8355         (FPE_FLTRES): Likewise.
8356         (FPE_FLTINV): Likewise.
8357         (FPE_FLTSUB): Likewise.
8358         (SEGV_MAPERR): Likewise.
8359         (SEGV_ACCERR): Likewise.
8360         (BUS_ADRALN): Likewise.
8361         (BUS_ADRERR): Likewise.
8362         (BUS_OBJERR): Likewise.
8363         (BUS_MCEERR_AR): Likewise.
8364         (BUS_MCEERR_AO): Likewise.
8365         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8366         (TRAP_TRACE): Likewise.
8367         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8368         __USE_XOPEN2K8].
8369         (CLD_KILLED): Likewise.
8370         (CLD_DUMPED): Likewise.
8371         (CLD_TRAPPED): Likewise.
8372         (CLD_STOPPED): Likewise.
8373         (CLD_CONTINUED): Likewise.
8374         (POLL_IN): Likewise.
8375         (POLL_OUT): Likewise.
8376         (POLL_MSG): Likewise.
8377         (POLL_ERR): Likewise.
8378         (POLL_PRI): Likewise.
8379         (POLL_HUP): Likewise.
8380         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8381         (ILL_ILLOPN): Likewise.
8382         (ILL_ILLADR): Likewise.
8383         (ILL_ILLTRP): Likewise.
8384         (ILL_PRVOPC): Likewise.
8385         (ILL_PRVREG): Likewise.
8386         (ILL_COPROC): Likewise.
8387         (ILL_BADSTK): Likewise.
8388         (FPE_INTDIV): Likewise.
8389         (FPE_INTOVF): Likewise.
8390         (FPE_FLTDIV): Likewise.
8391         (FPE_FLTOVF): Likewise.
8392         (FPE_FLTUND): Likewise.
8393         (FPE_FLTRES): Likewise.
8394         (FPE_FLTINV): Likewise.
8395         (FPE_FLTSUB): Likewise.
8396         (SEGV_MAPERR): Likewise.
8397         (SEGV_ACCERR): Likewise.
8398         (BUS_ADRALN): Likewise.
8399         (BUS_ADRERR): Likewise.
8400         (BUS_OBJERR): Likewise.
8401         (BUS_MCEERR_AR): Likewise.
8402         (BUS_MCEERR_AO): Likewise.
8403         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8404         (TRAP_TRACE): Likewise.
8405         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8406         __USE_XOPEN2K8].
8407         (CLD_KILLED): Likewise.
8408         (CLD_DUMPED): Likewise.
8409         (CLD_TRAPPED): Likewise.
8410         (CLD_STOPPED): Likewise.
8411         (CLD_CONTINUED): Likewise.
8412         (POLL_IN): Likewise.
8413         (POLL_OUT): Likewise.
8414         (POLL_MSG): Likewise.
8415         (POLL_ERR): Likewise.
8416         (POLL_PRI): Likewise.
8417         (POLL_HUP): Likewise.
8418         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8419         (ILL_ILLOPN): Likewise.
8420         (ILL_ILLADR): Likewise.
8421         (ILL_ILLTRP): Likewise.
8422         (ILL_PRVOPC): Likewise.
8423         (ILL_PRVREG): Likewise.
8424         (ILL_COPROC): Likewise.
8425         (ILL_BADSTK): Likewise.
8426         (ILL_DBLFLT): Likewise.
8427         (ILL_HARDWALL): Likewise.
8428         (FPE_INTDIV): Likewise.
8429         (FPE_INTOVF): Likewise.
8430         (FPE_FLTDIV): Likewise.
8431         (FPE_FLTOVF): Likewise.
8432         (FPE_FLTUND): Likewise.
8433         (FPE_FLTRES): Likewise.
8434         (FPE_FLTINV): Likewise.
8435         (FPE_FLTSUB): Likewise.
8436         (SEGV_MAPERR): Likewise.
8437         (SEGV_ACCERR): Likewise.
8438         (BUS_ADRALN): Likewise.
8439         (BUS_ADRERR): Likewise.
8440         (BUS_OBJERR): Likewise.
8441         (BUS_MCEERR_AR): Likewise.
8442         (BUS_MCEERR_AO): Likewise.
8443         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8444         (TRAP_TRACE): Likewise.
8445         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8446         __USE_XOPEN2K8].
8447         (CLD_KILLED): Likewise.
8448         (CLD_DUMPED): Likewise.
8449         (CLD_TRAPPED): Likewise.
8450         (CLD_STOPPED): Likewise.
8451         (CLD_CONTINUED): Likewise.
8452         (POLL_IN): Likewise.
8453         (POLL_OUT): Likewise.
8454         (POLL_MSG): Likewise.
8455         (POLL_ERR): Likewise.
8456         (POLL_PRI): Likewise.
8457         (POLL_HUP): Likewise.
8458         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8459         (ILL_ILLOPN): Likewise.
8460         (ILL_ILLADR): Likewise.
8461         (ILL_ILLTRP): Likewise.
8462         (ILL_PRVOPC): Likewise.
8463         (ILL_PRVREG): Likewise.
8464         (ILL_COPROC): Likewise.
8465         (ILL_BADSTK): Likewise.
8466         (FPE_INTDIV): Likewise.
8467         (FPE_INTOVF): Likewise.
8468         (FPE_FLTDIV): Likewise.
8469         (FPE_FLTOVF): Likewise.
8470         (FPE_FLTUND): Likewise.
8471         (FPE_FLTRES): Likewise.
8472         (FPE_FLTINV): Likewise.
8473         (FPE_FLTSUB): Likewise.
8474         (SEGV_MAPERR): Likewise.
8475         (SEGV_ACCERR): Likewise.
8476         (BUS_ADRALN): Likewise.
8477         (BUS_ADRERR): Likewise.
8478         (BUS_OBJERR): Likewise.
8479         (BUS_MCEERR_AR): Likewise.
8480         (BUS_MCEERR_AO): Likewise.
8481         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8482         (TRAP_TRACE): Likewise.
8483         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8484         __USE_XOPEN2K8].
8485         (CLD_KILLED): Likewise.
8486         (CLD_DUMPED): Likewise.
8487         (CLD_TRAPPED): Likewise.
8488         (CLD_STOPPED): Likewise.
8489         (CLD_CONTINUED): Likewise.
8490         (POLL_IN): Likewise.
8491         (POLL_OUT): Likewise.
8492         (POLL_MSG): Likewise.
8493         (POLL_ERR): Likewise.
8494         (POLL_PRI): Likewise.
8495         (POLL_HUP): Likewise.
8496         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8497         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8498
8499         [BZ #16670]
8500         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8501         before #include of <time.h>.
8502         [!__USE_XOPEN2K] (__need_timespec): Likewise.
8503         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8504         (test-xfail-UNIX98/sched.h/conform): Likewise.
8505
8506 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8507
8508         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8509         error absence of trapping exception support.
8510         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8511
8512 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8513
8514         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8515         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8516         * timezone/Makefile (testdata): Move definition above include of
8517         Rules.
8518         (test-zones): New variable.
8519         (tests-special): Add zone files.
8520         (build-testdata): Use $(evaluate-test).
8521
8522         * elf/Makefile (tests-special): Rename tests to end with .out.
8523         ($(objpfx)noload-mem): Likewise.
8524         ($(objpfx)tst-leaks1-mem): Likewise.
8525         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8526         * iconv/Makefile (xtests-special): Change test-iconvconfig to
8527         $(objpfx)test-iconvconfig.out.
8528         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
8529         set -e inside subshell and redirect output to file.
8530         * iconvdata/Makefile (generated): Rename tests to end with .out.
8531         Correct type.
8532         (tests-special): Rename tests to end with .out.
8533         ($(objpfx)mtrace-tst-loading): Likewise.
8534         * intl/Makefile (generated): Likewise.
8535         (tests-special): Likewise.
8536         ($(objpfx)mtrace-tst-gettext): Likewise.
8537         * misc/Makefile (generated): Likewise.
8538         (tests-special): Likewise.
8539         ($(objpfx)tst-error1-mem): Likewise.
8540         * nptl/Makefile (tests-special): Likewise.
8541         ($(objpfx)tst-stack3-mem): Likewise.
8542         (generated): Likewise.
8543         * posix/Makefile (generated): Likewise.
8544         (tests-special): Likewise.
8545         (xtests-special): Likewise.
8546         ($(objpfx)tst-fnmatch-mem): Likewise.
8547         ($(objpfx)bug-regex2-mem): Likewise.
8548         ($(objpfx)bug-regex14-mem): Likewise.
8549         ($(objpfx)bug-regex21-mem): Likewise.
8550         ($(objpfx)bug-regex31-mem): Likewise.
8551         ($(objpfx)tst-vfork3-mem): Likewise.
8552         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8553         ($(objpfx)tst-pcre-mem): Likewise.
8554         ($(objpfx)tst-boost-mem): Likewise.
8555         ($(objpfx)bug-ga2-mem): Likewise.
8556         ($(objpfx)bug-glob2-mem): Likewise.
8557         * resolv/Makefile (generate): Likewise.
8558         (tests-special): Likewise.
8559         (xtests-special): Likewise.
8560         (generated): Likewise.
8561         ($(objpfx)mtrace-tst-leaks): Likewise.
8562         ($(objpfx)mtrace-tst-leaks2): Likewise.
8563
8564         * scripts/merge-test-results.sh: New file.
8565         * Makefile (tests-special-notdir): New variable.
8566         (tests): Run merge-test-results.sh.
8567         (xtests): Likewise.
8568         * Rules (tests-special-notdir): New variable.
8569         (xtests-special-notdir): Likewise.
8570         (tests): Run merge-test-results.sh
8571         (xtests): Likewise.
8572
8573         * Makeconfig (test-xfail-name): New variable.
8574         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8575         compute variable name for expected failures.
8576         * conform/Makefile (conformtest-headers-data): New variable.
8577         (conformtest-standards): Likewise.
8578         (conformtest-headers-ISO): Likewise.
8579         (conformtest-headers-ISO99): Likewise.
8580         (conformtest-headers-ISO11): Likewise.
8581         (conformtest-headers-POSIX): Likewise.
8582         (conformtest-headers-XPG3): Likewise.
8583         (conformtest-headers-XPG4): Likewise.
8584         (conformtest-headers-UNIX98): Likewise.
8585         (conformtest-headers-XOPEN2K): Likewise.
8586         (conformtest-headers-POSIX2008): Likewise.
8587         (conformtest-headers-XOPEN2K8): Likewise.
8588         (conformtest-header-list-base): Likewise.
8589         (conformtest-header-list-tests): Likewise.
8590         (conformtest-header-base): Likewise.
8591         (conformtest-header-tests): Likewise.
8592         (tests-special): Add $(conformtest-header-list-tests).  If
8593         [$(fast-check) && !$(cross-compiling)], add
8594         $(conformtest-header-tests) instead of
8595         $(objpfx)run-conformtest.out.
8596         (generated): Add $(conformtest-header-list-base).  If
8597         [$(fast-check) && !$(cross-compiling)], add
8598         $(conformtest-header-base).  Remove previous setting.
8599         ($(conformtest-header-list-tests)): New target.
8600         (test-xfail-run-conformtest): Remove variable.
8601         ($(objpfx)run-conformtest.out): Remove target.
8602         (test-xfail-ISO11/complex.h/conform): New variable.
8603         (test-xfail-ISO11/stdalign.h/conform): Likewise.
8604         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8605         (test-xfail-XPG3/varargs.h/conform): Likewise.
8606         (test-xfail-XPG4/varargs.h/conform): Likewise.
8607         (test-xfail-UNIX98/varargs.h/conform): Likewise.
8608         (test-xfail-XPG4/ndbm.h/conform): Likewise.
8609         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8610         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8611         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8612         (test-xfail-XPG3/fcntl.h/conform): Likewise.
8613         (test-xfail-XPG3/ftw.h/conform): Likewise.
8614         (test-xfail-XPG3/grp.h/conform): Likewise.
8615         (test-xfail-XPG3/langinfo.h/conform): Likewise.
8616         (test-xfail-XPG3/limits.h/conform): Likewise.
8617         (test-xfail-XPG3/pwd.h/conform): Likewise.
8618         (test-xfail-XPG3/search.h/conform): Likewise.
8619         (test-xfail-XPG3/signal.h/conform): Likewise.
8620         (test-xfail-XPG3/stdio.h/conform): Likewise.
8621         (test-xfail-XPG3/stdlib.h/conform): Likewise.
8622         (test-xfail-XPG3/string.h/conform): Likewise.
8623         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8624         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8625         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8626         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8627         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8628         (test-xfail-XPG3/sys/types.h/conform): Likewise.
8629         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8630         (test-xfail-XPG3/termios.h/conform): Likewise.
8631         (test-xfail-XPG3/time.h/conform): Likewise.
8632         (test-xfail-XPG3/unistd.h/conform): Likewise.
8633         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8634         (test-xfail-XPG4/fcntl.h/conform): Likewise.
8635         (test-xfail-XPG4/langinfo.h/conform): Likewise.
8636         (test-xfail-XPG4/netdb.h/conform): Likewise.
8637         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8638         (test-xfail-XPG4/signal.h/conform): Likewise.
8639         (test-xfail-XPG4/stdio.h/conform): Likewise.
8640         (test-xfail-XPG4/stdlib.h/conform): Likewise.
8641         (test-xfail-XPG4/stropts.h/conform): Likewise.
8642         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8643         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8644         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8645         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8646         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8647         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8648         (test-xfail-XPG4/sys/time.h/conform): Likewise.
8649         (test-xfail-XPG4/sys/types.h/conform): Likewise.
8650         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8651         (test-xfail-XPG4/termios.h/conform): Likewise.
8652         (test-xfail-XPG4/ucontext.h/conform): Likewise.
8653         (test-xfail-XPG4/unistd.h/conform): Likewise.
8654         (test-xfail-XPG4/utmpx.h/conform): Likewise.
8655         (test-xfail-POSIX/sched.h/conform): Likewise.
8656         (test-xfail-POSIX/signal.h/conform): Likewise.
8657         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8658         (test-xfail-POSIX/tar.h/conform): Likewise.
8659         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8660         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8661         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8662         (test-xfail-UNIX98/netdb.h/conform): Likewise.
8663         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8664         (test-xfail-UNIX98/sched.h/conform): Likewise.
8665         (test-xfail-UNIX98/signal.h/conform): Likewise.
8666         (test-xfail-UNIX98/stdio.h/conform): Likewise.
8667         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8668         (test-xfail-UNIX98/stropts.h/conform): Likewise.
8669         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8670         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8671         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8672         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8673         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8674         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8675         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8676         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8677         (test-xfail-UNIX98/unistd.h/conform): Likewise.
8678         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8679         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8680         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8681         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8682         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8683         (test-xfail-XOPEN2K/math.h/conform): Likewise.
8684         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8685         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8686         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8687         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8688         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8689         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8690         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8691         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8692         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8693         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8694         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8695         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8696         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8697         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8698         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8699         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8700         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8701         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8702         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8703         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8704         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8705         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8706         (test-xfail-POSIX2008/signal.h/conform): Likewise.
8707         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8708         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8709         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8710         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8711         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8712         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8713         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8714         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8715         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8716         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8717         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8718         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8719         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8720         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8721         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8722         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8723         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8724         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8725         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8726         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8727         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8728         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8729         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8730         (conformtest-cc-flags): Likewise.
8731         ($(conformtest-header-tests): New target.
8732         * conform/check-header-lists.sh: New file.
8733         * conform/run-conformtest.sh: Remove.
8734
8735         * conform/conformtest.pl: Allow ' and \ in values given for
8736         constants.
8737         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8738         inclusion.
8739         [POSIX] (sys/types.h): Likewise.
8740         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8741         inclusion.
8742         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8743         inclusion.
8744         * conform/data/signal.h-data (SIGIO): Remove expectation.
8745         [XPG3] (SIGBUS): Do not expect.
8746         [POSIX || XPG3] (SIGPOLL): Likewise.
8747         [POSIX || XPG3] (SIGPROF): Likewise.
8748         [POSIX || XPG3] (SIGSYS): Likewise.
8749         [XPG3] (SIGTRAP): Likewise.
8750         [POSIX || XPG3] (SIGURG): Likewise.
8751         [POSIX || XPG3] (SIGVTALRM): Likewise.
8752         [POSIX || XPG3] (SIGXCPU): Likewise.
8753         [POSIX || XPG3] (SIGXFSZ): Likewise.
8754         [POSIX] (SA_SIGINFO): Expect.
8755         [XPG3] (siginfo_t): Do not expect type or contents.
8756         [POSIX] (si_pid): Do not expect element.
8757         [POSIX] (si_uid): Likewise.
8758         [POSIX] (si_addr): Likewise.
8759         [POSIX] (si_status): Likewise.
8760         [POSIX] (si_band): Likewise.
8761         [XPG4] (si_value): Likewise.
8762         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8763         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8764         [POSIX || XPG3] (ILL_ILLADR): Likewise.
8765         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8766         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8767         [POSIX || XPG3] (ILL_PRVREG): Likewise.
8768         [POSIX || XPG3] (ILL_COPROC): Likewise.
8769         [POSIX || XPG3] (ILL_BADSTK): Likewise.
8770         [POSIX || XPG3] (FPE_INTDIV): Likewise.
8771         [POSIX || XPG3] (FPE_INTOVF): Likewise.
8772         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8773         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8774         [POSIX || XPG3] (FPE_FLTUND): Likewise.
8775         [POSIX || XPG3] (FPE_FLTRES): Likewise.
8776         [POSIX || XPG3] (FPE_FLTINV): Likewise.
8777         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8778         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8779         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8780         [POSIX || XPG3] (BUS_ADRALN): Likewise.
8781         [POSIX || XPG3] (BUS_ADRERR): Likewise.
8782         [POSIX || XPG3] (BUS_OBJERR): Likewise.
8783         [POSIX || XPG3] (CLD_EXITED): Likewise.
8784         [POSIX || XPG3] (CLD_KILLED): Likewise.
8785         [POSIX || XPG3] (CLD_DUMPED): Likewise.
8786         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8787         [POSIX || XPG3] (CLD_STOPPED): Likewise.
8788         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8789         [POSIX || XPG3] (POLL_IN): Likewise.
8790         [POSIX || XPG3] (POLL_OUT): Likewise.
8791         [POSIX || XPG3] (POLL_MSG): Likewise.
8792         [POSIX || XPG3] (POLL_ERR): Likewise.
8793         [POSIX || XPG3] (POLL_PRI): Likewise.
8794         [POSIX || XPG3] (POLL_HUP): Likewise.
8795         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8796         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8797         (SIG*): Do not allow.
8798         [XPG3] (si_*): Likewise.
8799         [XPG3] (SI_*): Likewise.
8800         [XPG3 || XPG4] (sigev_*): Likewise.
8801         [XPG3 || XPG4] (SIGEV_*): Likewise.
8802         [XPG3 || XPG4] (sival_*): Likewise.
8803         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8804         [POSIX || XPG3] (BUS_*): Likewise.
8805         [POSIX || XPG3] (CLD_*): Likewise.
8806         [POSIX || XPG3] (FPE_*): Likewise.
8807         [POSIX || XPG3] (ILL_*): Likewise.
8808         [POSIX || XPG3] (POLL_*): Likewise.
8809         [POSIX || XPG3] (SEGV_*): Likewise.
8810         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8811         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8812         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8813         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8814         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8815         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8816         Specify type and value.
8817         (TVERSLEN): Likewise.
8818         (REGTYPE): Likewise.
8819         (AREGTYPE): Likewise.
8820         (LNKTYPE): Likewise.
8821         (SYMTYPE): Likewise.
8822         (CHRTYPE): Likewise.
8823         (BLKTYPE): Likewise.
8824         (DIRTYPE): Likewise.
8825         (FIFOTYPE): Likewise.
8826         (CONTTYPE): Likewise.
8827         (TSUID): Likewise.
8828         (TSGID): Likewise.
8829         (TSVTX): Likewise.
8830         (TUREAD): Likewise.
8831         (TUWRITE): Likewise.
8832         (TUEXEC): Likewise.
8833         (TGREAD): Likewise.
8834         (TGWRITE): Likewise.
8835         (TGEXEC): Likewise.
8836         (TOREAD): Likewise.
8837         (TOWRITE): Likewise.
8838         (TOEXEC): Likewise.
8839         [POSIX] (TSVTX): Expect constant.
8840
8841 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
8842
8843         * Makefile (tests): Change dependencies to ....
8844         (tests-special): ... additions to this variable.
8845         (tests): Depend on $(tests-special).
8846         * Makerules (check-abi-list): New variable.
8847         (check-abi): Depend on $(check-abi-list).
8848         [$(subdir) = elf] (tests-special): Add
8849         $(objpfx)check-abi-libc.out.
8850         [$(build-shared) = yes && subdir] (tests-special): Add
8851         $(check-abi-list).
8852         [$(build-shared) = yes && subdir] (tests): Do not depend on
8853         check-abi.
8854         * Rules (tests): Depend on $(tests-special).
8855         (xtests): Depend on $(xtests-special).
8856         * catgets/Makefile (tests): Change dependencies to ....
8857         (tests-special): ... additions to this variable.
8858         * conform/Makefile (tests): Change dependencies to ....
8859         (tests-special): ... additions to this variable.
8860         * elf/Makefile (tests): Change dependencies to ....
8861         (tests-special): ... additions to this variable.
8862         * grp/Makefile (tests): Change dependencies to ....
8863         (tests-special): ... additions to this variable.
8864         * iconv/Makefile (xtests): Change dependencies to ....
8865         (xtests-special): ... additions to this variable.
8866         * iconvdata/Makefile (tests): Change dependencies to ....
8867         (tests-special): ... additions to this variable.
8868         * intl/Makefile (tests): Change dependencies to ....
8869         (tests-special): ... additions to this variable.  Also add
8870         $(objpfx)tst-gettext.out.
8871         * io/Makefile (tests): Change dependencies to ....
8872         (tests-special): ... additions to this variable.
8873         * libio/Makefile (tests): Change dependencies to ....
8874         (tests-special): ... additions to this variable.
8875         * malloc/Makefile (tests): Change dependencies to ....
8876         (tests-special): ... additions to this variable.
8877         * misc/Makefile (tests): Change dependencies to ....
8878         (tests-special): ... additions to this variable.
8879         * nptl/Makefile (tests): Change dependencies to ....
8880         (tests-special): ... additions to this variable.
8881         * nptl_db/Makefile (tests): Change dependencies to ....
8882         (tests-special): ... additions to this variable.
8883         * posix/Makefile (tests): Change dependencies to ....
8884         (tests-special): ... additions to this variable.
8885         (xtests): Change dependencies to ....
8886         (xtests-special): ... additions to this variable.
8887         * resolv/Makefile (tests): Change dependencies to ....
8888         (tests-special): ... additions to this variable.
8889         (xtests): Change dependencies to ....
8890         (xtests-special): ... additions to this variable.
8891         * stdio-common/Makefile (tests): Change dependencies to ....
8892         (tests-special): ... additions to this variable.
8893         (do-tst-unbputc): Remove target.
8894         (do-tst-printf): Likewise.
8895         * stdlib/Makefile (tests): Change dependencies to ....
8896         (tests-special): ... additions to this variable.
8897         * string/Makefile (tests): Change dependencies to ....
8898         (tests-special): ... additions to this variable.
8899         * sysdeps/x86/Makefile (tests): Change dependencies to ....
8900         (tests-special): ... additions to this variable.
8901
8902         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8903         whole file.
8904         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8905         whole file.
8906         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8907         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8908
8909         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8910         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8911         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8912         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8913         * conform/data/libgen.h-data [XPG3]: Likewise.
8914         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8915         * conform/data/ndbm.h-data [XPG3]: Likewise.
8916         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8917         * conform/data/netdb.h-data [XPG3]: Likewise.
8918         * conform/data/netinet/in.h-data [XPG3]: Likewise.
8919         * conform/data/poll.h-data [XPG3]: Likewise.
8920         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8921         * conform/data/strings.h-data [XPG3]: Likewise.
8922         * conform/data/stropts.h-data [XPG3]: Likewise.
8923         * conform/data/sys/mman.h-data [XPG3]: Likewise.
8924         * conform/data/sys/resource.h-data [XPG3]: Likewise.
8925         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8926         Likewise.
8927         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8928         * conform/data/sys/time.h-data [XPG3]: Likewise.
8929         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8930         * conform/data/sys/uio.h-data [XPG3]: Likewise.
8931         * conform/data/sys/un.h-data [XPG3]: Likewise.
8932         * conform/data/syslog.h-data [XPG3]: Likewise.
8933         * conform/data/ucontext.h-data [XPG3]: Likewise.
8934         * conform/data/utmpx.h-data [XPG3]: Likewise.
8935         * conform/data/varargs.h-data [UNIX98]: Enable file.
8936
8937         * manual/Makefile (INSTALL_INFO): Remove variable setting.
8938
8939         * math/libm-test.inc (struct test_f_f_data): Move expected results
8940         into structure for each rounding mode.
8941         (struct test_ff_f_data): Likewise.
8942         (struct test_ff_f_data_nexttoward): Likewise.
8943         (struct test_fi_f_data): Likewise.
8944         (struct test_fl_f_data): Likewise.
8945         (struct test_if_f_data): Likewise.
8946         (struct test_fff_f_data): Likewise.
8947         (struct test_c_f_data): Likewise.
8948         (struct test_f_f1_data): Likewise.
8949         (struct test_fF_f1_data): Likewise.
8950         (struct test_ffI_f1_data): Likewise.
8951         (struct test_c_c_data): Likewise.
8952         (struct test_cc_c_data): Likewise.
8953         (struct test_f_i_data): Likewise.
8954         (struct test_ff_i_data): Likewise.
8955         (struct test_f_l_data): Likewise.
8956         (struct test_f_L_data): Likewise.
8957         (struct test_fFF_11_data): Likewise.
8958         (RM_): New macro.
8959         (RM_FE_DOWNWARD): Likewise.
8960         (RM_FE_TONEAREST): Likewise.
8961         (RM_FE_TOWARDZERO): Likewise.
8962         (RM_FE_UPWARD): Likewise.
8963         (RUN_TEST_LOOP_f_f): Update references to expected results.
8964         (RUN_TEST_LOOP_2_f): Likewise.
8965         (RUN_TEST_LOOP_fff_f): Likewise.
8966         (RUN_TEST_LOOP_c_f): Likewise.
8967         (RUN_TEST_LOOP_f_f1): Likewise.
8968         (RUN_TEST_LOOP_fF_f1): Likewise.
8969         (RUN_TEST_LOOP_fI_f1): Likewise.
8970         (RUN_TEST_LOOP_ffI_f1): Likewise.
8971         (RUN_TEST_LOOP_c_c): Likewise.
8972         (RUN_TEST_LOOP_cc_c): Likewise.
8973         (RUN_TEST_LOOP_f_i): Likewise.
8974         (RUN_TEST_LOOP_f_i_tg): Likewise.
8975         (RUN_TEST_LOOP_ff_i_tg): Likewise.
8976         (RUN_TEST_LOOP_f_b): Likewise.
8977         (RUN_TEST_LOOP_f_b_tg): Likewise.
8978         (RUN_TEST_LOOP_f_l): Likewise.
8979         (RUN_TEST_LOOP_f_L): Likewise.
8980         (RUN_TEST_LOOP_fFF_11): Likewise.
8981         * math/gen-libm-test.pl (parse_args): Output four copies of
8982         expected results for each test.
8983
8984         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8985         (__ASSUME_UTIMES): Remove.
8986         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8987         (__ASSUME_UTIMES): Likewise.
8988
8989         * math/gen-auto-libm-tests.c: Update comment on output format.
8990         (output_for_one_input_case): Generate before-rounding and
8991         after-rounding information as conditions on output flags not
8992         floating-point format.
8993         * math/auto-libm-test-out: Regenerated.
8994         * math/gen-libm-test.pl (cond_value): New function.
8995         (or_cond_value): Use cond_value.
8996         (generate_testfile): Handle conditional exceptions.
8997
8998 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
8999
9000         * math/libm-test.inc (max_valid_error): New variable.
9001         (init_max_error): Take new argument specifying whether function
9002         results are exactly determined.  Set max_valid_error and bound
9003         other variables for errors based on this argument.
9004         (set_max_error): Do not record results above max_valid_error.
9005         (check_float_internal): Only accept errors of up to 0.5ulps if
9006         also at most max_valid_error.
9007         (START): Take new argument EXACT and pass it to init_max_error.
9008         (acos_test): Update call to START.
9009         (acos_test_tonearest): Likewise.
9010         (acos_test_towardzero): Likewise.
9011         (acos_test_downward): Likewise.
9012         (acos_test_upward): Likewise.
9013         (acosh_test): Likewise.
9014         (asin_test): Likewise.
9015         (asin_test_tonearest): Likewise.
9016         (asin_test_towardzero): Likewise.
9017         (asin_test_downward): Likewise.
9018         (asin_test_upward): Likewise.
9019         (asinh_test): Likewise.
9020         (atan_test): Likewise.
9021         (atanh_test): Likewise.
9022         (atan2_test): Likewise.
9023         (cabs_test): Likewise.
9024         (cacos_test): Likewise.
9025         (cacosh_test): Likewise.
9026         (carg_test): Likewise.
9027         (casin_test): Likewise.
9028         (casinh_test): Likewise.
9029         (catan_test): Likewise.
9030         (catanh_test): Likewise.
9031         (cbrt_test): Likewise.
9032         (ccos_test): Likewise.
9033         (ccosh_test): Likewise.
9034         (ceil_test): Likewise.
9035         (cexp_test): Likewise.
9036         (cimag_test): Likewise.
9037         (clog_test): Likewise.
9038         (clog10_test): Likewise.
9039         (conj_test): Likewise.
9040         (copysign_test): Likewise.
9041         (cos_test): Likewise.
9042         (cos_test_tonearest): Likewise.
9043         (cos_test_towardzero): Likewise.
9044         (cos_test_downward): Likewise.
9045         (cos_test_upward): Likewise.
9046         (cosh_test): Likewise.
9047         (cosh_test_tonearest): Likewise.
9048         (cosh_test_towardzero): Likewise.
9049         (cosh_test_downward): Likewise.
9050         (cosh_test_upward): Likewise.
9051         (cpow_test): Likewise.
9052         (cproj_test): Likewise.
9053         (creal_test): Likewise.
9054         (csin_test): Likewise.
9055         (csinh_test): Likewise.
9056         (csqrt_test): Likewise.
9057         (ctan_test): Likewise.
9058         (ctan_test_tonearest): Likewise.
9059         (ctan_test_towardzero): Likewise.
9060         (ctan_test_downward): Likewise.
9061         (ctan_test_upward): Likewise.
9062         (ctanh_test): Likewise.
9063         (ctanh_test_tonearest): Likewise.
9064         (ctanh_test_towardzero): Likewise.
9065         (ctanh_test_downward): Likewise.
9066         (ctanh_test_upward): Likewise.
9067         (erf_test): Likewise.
9068         (erfc_test): Likewise.
9069         (exp_test): Likewise.
9070         (exp_test_tonearest): Likewise.
9071         (exp_test_towardzero): Likewise.
9072         (exp_test_downward): Likewise.
9073         (exp_test_upward): Likewise.
9074         (exp10_test): Likewise.
9075         (exp10_test_tonearest): Likewise.
9076         (exp10_test_towardzero): Likewise.
9077         (exp10_test_downward): Likewise.
9078         (exp10_test_upward): Likewise.
9079         (pow10_test): Likewise.
9080         (exp2_test): Likewise.
9081         (expm1_test): Likewise.
9082         (expm1_test_tonearest): Likewise.
9083         (expm1_test_towardzero): Likewise.
9084         (expm1_test_downward): Likewise.
9085         (expm1_test_upward): Likewise.
9086         (fabs_test): Likewise.
9087         (fdim_test): Likewise.
9088         (floor_test): Likewise.
9089         (fma_test): Likewise.
9090         (fma_test_towardzero): Likewise.
9091         (fma_test_downward): Likewise.
9092         (fma_test_upward): Likewise.
9093         (fmax_test): Likewise.
9094         (fmin_test): Likewise.
9095         (fmod_test): Likewise.
9096         (fpclassify_test): Likewise.
9097         (frexp_test): Likewise.
9098         (hypot_test): Likewise.
9099         (ilogb_test): Likewise.
9100         (isfinite_test): Likewise.
9101         (finite_test): Likewise.
9102         (isgreater_test): Likewise.
9103         (isgreaterequal_test): Likewise.
9104         (isinf_test): Likewise.
9105         (isless_test): Likewise.
9106         (islessequal_test): Likewise.
9107         (islessgreater_test): Likewise.
9108         (isnan_test): Likewise.
9109         (isnormal_test): Likewise.
9110         (issignaling_test): Likewise.
9111         (isunordered_test): Likewise.
9112         (j0_test): Likewise.
9113         (j1_test): Likewise.
9114         (jn_test): Likewise.
9115         (ldexp_test): Likewise.
9116         (lgamma_test): Likewise.
9117         (gamma_test): Likewise.
9118         (lrint_test): Likewise.
9119         (lrint_test_tonearest): Likewise.
9120         (lrint_test_towardzero): Likewise.
9121         (lrint_test_downward): Likewise.
9122         (lrint_test_upward): Likewise.
9123         (llrint_test): Likewise.
9124         (llrint_test_tonearest): Likewise.
9125         (llrint_test_towardzero): Likewise.
9126         (llrint_test_downward): Likewise.
9127         (llrint_test_upward): Likewise.
9128         (log_test): Likewise.
9129         (log10_test): Likewise.
9130         (log1p_test): Likewise.
9131         (log2_test): Likewise.
9132         (logb_test): Likewise.
9133         (logb_test_downward): Likewise.
9134         (lround_test): Likewise.
9135         (llround_test): Likewise.
9136         (modf_test): Likewise.
9137         (nearbyint_test): Likewise.
9138         (nextafter_test): Likewise.
9139         (nexttoward_test): Likewise.
9140         (pow_test): Likewise.
9141         (pow_test_tonearest): Likewise.
9142         (pow_test_towardzero): Likewise.
9143         (pow_test_downward): Likewise.
9144         (pow_test_upward): Likewise.
9145         (remainder_test): Likewise.
9146         (drem_test): Likewise.
9147         (remainder_test_tonearest): Likewise.
9148         (drem_test_tonearest): Likewise.
9149         (remainder_test_towardzero): Likewise.
9150         (drem_test_towardzero): Likewise.
9151         (remainder_test_downward): Likewise.
9152         (drem_test_downward): Likewise.
9153         (remainder_test_upward): Likewise.
9154         (drem_test_upward): Likewise.
9155         (remquo_test): Likewise.
9156         (rint_test): Likewise.
9157         (rint_test_tonearest): Likewise.
9158         (rint_test_towardzero): Likewise.
9159         (rint_test_downward): Likewise.
9160         (rint_test_upward): Likewise.
9161         (round_test): Likewise.
9162         (scalb_test): Likewise.
9163         (scalbn_test): Likewise.
9164         (scalbln_test): Likewise.
9165         (signbit_test): Likewise.
9166         (sin_test): Likewise.
9167         (sin_test_tonearest): Likewise.
9168         (sin_test_towardzero): Likewise.
9169         (sin_test_downward): Likewise.
9170         (sin_test_upward): Likewise.
9171         (sincos_test): Likewise.
9172         (sinh_test): Likewise.
9173         (sinh_test_tonearest): Likewise.
9174         (sinh_test_towardzero): Likewise.
9175         (sinh_test_downward): Likewise.
9176         (sinh_test_upward): Likewise.
9177         (sqrt_test): Likewise.
9178         (sqrt_test_tonearest): Likewise.
9179         (sqrt_test_towardzero): Likewise.
9180         (sqrt_test_downward): Likewise.
9181         (sqrt_test_upward): Likewise.
9182         (tan_test): Likewise.
9183         (tan_test_tonearest): Likewise.
9184         (tan_test_towardzero): Likewise.
9185         (tan_test_downward): Likewise.
9186         (tan_test_upward): Likewise.
9187         (tanh_test): Likewise.
9188         (tgamma_test): Likewise.
9189         (trunc_test): Likewise.
9190         (y0_test): Likewise.
9191         (y1_test): Likewise.
9192         (yn_test): Likewise.
9193         (significand_test): Likewise.
9194
9195         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9196         individual tests in comment.
9197         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9198         (prev_max_error): New variable.
9199         (prev_real_max_error): Likewise.
9200         (prev_imag_max_error): Likewise.
9201         (compare_ulp_data): Don't refer to test names in comment.
9202         (find_test_ulps): Remove function.
9203         (find_function_ulps): Likewise.
9204         (find_complex_function_ulps): Likewise.
9205         (init_max_error): Take function name as argument.  Look up ulps
9206         for that function.
9207         (print_ulps): Remove function.
9208         (print_max_error): Use prev_max_error instead of calling
9209         find_function_ulps.
9210         (print_complex_max_error): Use prev_real_max_error and
9211         prev_imag_max_error instead of calling find_complex_function_ulps.
9212         (check_float_internal): Take max_ulp parameter instead of calling
9213         find_test_ulps.  Don't call print_ulps.
9214         (check_float): Update call to check_float_internal.
9215         (check_complex): Update calls to check_float_internal.
9216         (START): Pass argument to init_max_error.
9217         * math/gen-libm-test.pl (%results): Don't include "kind"
9218         information.
9219         (parse_ulps): Don't handle ulps of individual tests.
9220         (print_ulps_file): Likewise.
9221         (output_ulps): Likewise.
9222         * math/README.libm-test: Update.
9223         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9224         individual tests.
9225         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9226         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9227         * sysdeps/arm/libm-test-ulps: Likewise.
9228         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9229         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9230         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9231         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9232         * sysdeps/microblaze/libm-test-ulps: Likewise.
9233         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9234         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9235         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9236         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9237         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9238         * sysdeps/sh/libm-test-ulps: Likewise.
9239         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9240         * sysdeps/tile/libm-test-ulps: Likewise.
9241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9242
9243 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
9244
9245         * math/libm-test.inc (print_complex_max_error): Check separately
9246         whether real and imaginary errors are within allowed range and
9247         pass 0 to print_complex_function_ulps instead of value within
9248         allowed range.
9249
9250 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9251
9252         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9253         formatting.
9254         (get_handles_fopen): Likewise.
9255         (do_write_test): Likewise.
9256
9257         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9258
9259         * libio/fileops.c (do_ftell): Use cached offset when
9260         available.
9261         * libio/iofwide.c (do_ftell_wide): Likewise.
9262         * libio/iofdopen.c (_IO_new_fdopen): Don't use
9263         _IO_file_attach.
9264         * libio/wfileops.c (_IO_fwide): Don't cache offset.
9265
9266         [BZ #16532]
9267         * libio/libioP.h (get_file_offset): New function.
9268         * libio/fileops.c (get_file_offset): Likewise.
9269         (do_ftell): Likewise.
9270         (_IO_new_file_seekoff): Split out ftell logic.
9271         * libio/wfileops.c (do_ftell_wide): Likewise.
9272         (_IO_wfile_seekoff): Split out ftell logic.
9273         * libio/tst-ftell-active-handler.c: New test case.
9274         * libio/Makefile (tests): Add it.
9275
9276 2014-03-03  Roland McGrath  <roland@hack.frob.com>
9277
9278         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9279         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9280
9281 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9282
9283         [BZ #16639]
9284         * nscd/connections.c (nscd_init): Call do_exit.
9285         (start_threads): Call do_exit and notify_parent.
9286         (begin_drop_privileges): Call do_exit.
9287         (finish_drop_privileges): Likewise.
9288         * nscd/selinux.c (preserve_capabilities): Likewise.
9289         (install_real_capabilities): Likewise.
9290         (nscd_selinux_enabled): Likewise.
9291         (avc_create_thread): Likewise.
9292         (avc_alloc_lock): Likewise.
9293         (nscd_avc_init): Likewise.
9294         * nscd/nscd.c (parent_fd): New static variable.
9295         (main): Create a pipe between parent and child processes.
9296         Skip closing parent_fd.
9297         (monitor_child): New function.
9298         (do_exit): Likewise.
9299         (notify_parent): Likewise.
9300         * nscd/nscd.h (notify_parent): Likewise.
9301         (do_exit): Likewise.
9302
9303 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
9304
9305         * malloc/malloc.c (__libc_calloc): Revert last change.
9306
9307 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9308
9309         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9310
9311 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9312
9313         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9314         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9315         implementation.
9316         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9317         (__libc_ifunc_impl_list): Likewise.
9318         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9319         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9320         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9321         * string/strrchr.c: Define STRRCHR.
9322
9323 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
9324
9325         * benchtest/bench-strtok.c (simple_strtok): Delete.
9326         (strtok_string): Use as benchmark.
9327         * string/strtok (STRTOK): New macro.
9328
9329 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
9330
9331         * manual/threads.texi: Add header and standard comments to all
9332         functions.
9333
9334         * elf/dl-lookup.c (check_match): New function.
9335         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9336         (do_lookup_x): Remove nested function check_match. Use non-nested
9337         function check_match.
9338
9339 2014-02-28  Roland McGrath  <roland@hack.frob.com>
9340
9341         * csu/Makefile (generated, before-compile): Use += rather than =.
9342         * catgets/Makefile (generated, generated-dirs): Likewise.
9343         * debug/Makefile (generated): Likewise.
9344         * dlfcn/Makefile (generated): Likewise.
9345         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9346         * iconvdata/Makefile (before-compile, generated): Likewise.
9347         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9348         * libio/Makefile (generated): Likewise.
9349         * malloc/Makefile (generated): Likewise.
9350         * manual/Makefile (generated, generated-dirs): Likewise.
9351         * misc/Makefile (generated): Likewise.
9352         * posix/Makefile (generated): Likewise.
9353         * resolv/Makefile (generated): Likewise.
9354         * sunrpc/Makefile (generated, generated-dirs): Likewise.
9355         * timezone/Makefile (generated, generated-dirs): Likewise.
9356
9357         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9358
9359 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9360
9361         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9362         power8 implementation.
9363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9364         file: POWER8 llround ifunc implementation.
9365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9366         (__lllround): Add POWER8 implementation.
9367         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9368         POWER8 llround implementation.
9369
9370         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9371         power8 implementation.
9372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9373         file: POWER8 llrint ifunc implementation.
9374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9375         Add POWER8 implementation.
9376         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9377         POWER8 llrint implementation.
9378
9379         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9380         power8 implementation.
9381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9382         file: POWER8 finite ifunc implementation.
9383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9384         Add POWER8 implementation.
9385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9386         Likewise.
9387         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9388         POWER8 finite implementation.
9389         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9390
9391         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9392         power8 implementation.
9393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9394         file: POWER8 isinf ifunc implementation.
9395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9396         POWER8 implementation.
9397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9398         Likewise.
9399         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9400         isinf implementation.
9401         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9402
9403         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9404         (INIT_ARCH): Add hwcap2 initialization.
9405         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9406         power8 implementation.
9407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9408         file: POWER8 isnan ifunc implementation.
9409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9410         POWER8 implementation.
9411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9412         Likewise.
9413         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9414         isnan implementation.
9415         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9416
9417 2014-02-27  Joey Ye  <joey.ye@arm.com>
9418
9419         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9420         (_FP_NANFRAC_Q): Set to zero.
9421
9422 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9423
9424         [BZ #16623]
9425         * math/auto-libm-test-in: New test inputs.
9426         * math/auto-libm-test-out: Regenerate.
9427         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9428         and DA.
9429         (__cos): Likewise.
9430         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9431
9432 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
9433
9434         * scripts/evaluate-test.sh: Take new argument indicating whether
9435         failure is expected.
9436         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9437         indicating whether failure is expected.
9438         * conform/Makefile (test-xfail-run-conformtest): New variable.
9439         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9440         level.
9441         * posix/Makefile (test-xfail-annexc): New variable.
9442         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9443
9444 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
9445
9446         * argp/Makefile: Include Makeconfig immediately after defining
9447         subdir.
9448         * assert/Makefile: Likewise.
9449         * benchtests/Makefile: Likewise.
9450         * catgets/Makefile: Likewise.
9451         * conform/Makefile: Likewise.
9452         * crypt/Makefile: Likewise.
9453         * csu/Makefile: Likewise.
9454         (all): Remove target.
9455         * ctype/Makefile: Include Makeconfig immediately after defining
9456         subdir.
9457         * debug/Makefile: Likewise.
9458         * dirent/Makefile: Likewise.
9459         * dlfcn/Makefile: Likewise.
9460         * gmon/Makefile: Likewise.
9461         * gnulib/Makefile: Likewise.
9462         * grp/Makefile: Likewise.
9463         * gshadow/Makefile: Likewise.
9464         * hesiod/Makefile: Likewise.
9465         * hurd/Makefile: Likewise.
9466         (all): Remove target.
9467         * iconvdata/Makefile: Include Makeconfig immediately after
9468         defining subdir.
9469         * inet/Makefile: Likewise.
9470         * intl/Makefile: Likewise.
9471         * io/Makefile: Likewise.
9472         * libio/Makefile: Likewise.
9473         (all): Remove target.
9474         * locale/Makefile: Include Makeconfig immediately after defining
9475         subdir.
9476         * login/Makefile: Likewise.
9477         * mach/Makefile: Likewise.
9478         (all): Remove target.
9479         * malloc/Makefile: Include Makeconfig immediately after defining
9480         subdir.
9481         (all): Remove target.
9482         * manual/Makefile: Include Makeconfig immediately after defining
9483         subdir.
9484         * math/Makefile: Likewise.
9485         * misc/Makefile: Likewise.
9486         * nis/Makefile: Likewise.
9487         * nss/Makefile: Likewise.
9488         * po/Makefile: Likewise.
9489         (all): Remove target.
9490         * posix/Makefile: Include Makeconfig immediately after defining
9491         subdir.
9492         * pwd/Makefile: Likewise.
9493         * resolv/Makefile: Likewise.
9494         * resource/Makefile: Likewise.
9495         * rt/Makefile: Likewise.
9496         * setjmp/Makefile: Likewise.
9497         * shadow/Makefile: Likewise.
9498         * signal/Makefile: Likewise.
9499         * socket/Makefile: Likewise.
9500         * soft-fp/Makefile: Likewise.
9501         * stdio-common/Makefile: Likewise.
9502         * stdlib/Makefile: Likewise.
9503         * streams/Makefile: Likewise.
9504         * string/Makefile: Likewise.
9505         * sunrpc/Makefile: Likewise.
9506         (all): Remove target.
9507         * sysvipc/Makefile: Include Makeconfig immediately after defining
9508         subdir.
9509         * termios/Makefile: Likewise.
9510         * time/Makefile: Likewise.
9511         * timezone/Makefile: Likewise.
9512         (all): Remove target.
9513         * wcsmbs/Makefile: Include Makeconfig immediately after defining
9514         subdir.
9515         * wctype/Makefile: Likewise.
9516
9517 2014-02-26  Steve Ellcey  <sellcey@mips.com>
9518
9519         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9520         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9521         (libc_feholdexcept_setround_mips): Ditto.
9522         (libc_feholdsetround): New.
9523         (libc_feholdsetroundf): New.
9524         (libc_feholdsetroundl): New.
9525         (libc_feupdateenv_test_mips): New.
9526         (libc_feupdateenv_test): New.
9527         (libc_feupdateenv_testf): New.
9528         (libc_feupdateenv_testl): New.
9529         (libc_feresetround): New.
9530         (libc_feresetroundf): New.
9531         (libc_feresetroundl): New.
9532         (libc_fetestexcept_mips): New.
9533         (libc_fetestexcept): New.
9534         (libc_fetestexceptf): New.
9535         (libc_fetestexceptl): New.
9536         (HAVE_RM_CTX): New.
9537         (libc_feholdexcept_setround_mips_ctx): New.
9538         (libc_feholdexcept_setround_ctx): New.
9539         (libc_feholdexcept_setroundf_ctx): New.
9540         (libc_feholdexcept_setroundl_ctx): New.
9541         (libc_fesetenv_mips_ctx): New.
9542         (libc_fesetenv_ctx): New.
9543         (libc_fesetenv_ctxf): New.
9544         (libc_fesetenv_ctxl): New.
9545         (libc_feupdateenv_mips_ctx): New.
9546         (libc_feupdateenv_ctx): New.
9547         (libc_feupdateenvf_ctx): New.
9548         (libc_feupdateenvl_ctx): New.
9549         (libc_feholdsetround_mips_ctx): New.
9550         (libc_feholdsetround_ctx): New.
9551         (libc_feholdsetroundf_ctx): New.
9552         (libc_feholdsetroundl_ctx): New.
9553         (libc_feresetround_mips_ctx): New.
9554         (libc_feresetround_ctx): New.
9555         (libc_feresetroundf_ctx): New.
9556         (libc_feresetroundl_ctx): New.
9557
9558 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
9559
9560         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9561
9562         * manual/ipc.texi: New file.
9563         * manual/Makefile (chapters): Add ipc.
9564         * manual/job.texi: Add "Inter-Process Communication" to next.
9565         * manual/process.texi: Add "Inter-Process Communication" to prev.
9566
9567 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9568
9569         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9570
9571 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
9572
9573         * malloc/malloc.c (__libc_calloc): Simplify implementation.
9574
9575         * manual/arith.texi: Fix spaces after sentences.
9576         * manual/charset.texi: Likewise.
9577         * manual/errno.texi: Likewise.
9578         * manual/install.texi: Likewise.
9579         * manual/llio.texi: Likewise.
9580         * manual/locale.texi: Likewise.
9581         * manual/maint.texi: Likewise.
9582         * manual/math.texi: Likewise.
9583         * manual/memory.texi: Likewise.
9584         * manual/message.texi: Likewise.
9585         * manual/probes.texi: Likewise.
9586         * manual/resource.texi: Likewise.
9587         * manual/signal.texi: Likewise.
9588         * manual/socket.texi: Likewise.
9589         * manual/stdio.texi: Likewise.
9590         * manual/string.texi: Likewise.
9591         * manual/time.texi: Likewise.
9592         * manual/users.texi: Likewise.
9593
9594 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
9595
9596         [BZ #16632]
9597         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9598         _DEFAULT_SOURCE is defined.
9599
9600 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
9601             Carlos O'Donell  <carlos@redhat.com>
9602
9603         [BZ #16613]
9604         * elf/dl-tls.c (_dl_count_modids): New function.
9605         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9606         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9607         audit library and increment generation counter.
9608         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9609         * elf/tst-audit9.c: New file.
9610         * elf/tst-auditmod9a.c: New file.
9611         * elf/tst-auditmod9b.c: New file.
9612         * elf/Makefile: Add rules to build and run tst-audit9.
9613
9614 2014-02-25  Florian Weimer  <fweimer@redhat.com>
9615
9616         [BZ #15347]
9617         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9618
9619 2014-02-25  Will Newton  <will.newton@linaro.org>
9620
9621         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9622         (__longjmp): Restore sp and lr before restoring callee
9623         saved registers.  Add longjmp and longjmp_target
9624         SystemTap probe point.
9625         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9626         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9627         Define to zero to match jmpbuf layout.
9628         * sysdeps/arm/setjmp.S: Include stap-probe.h.
9629         (__sigsetjmp): Save sp and lr before saving callee
9630         saved registers.  Add setjmp SystemTap probe point.
9631
9632 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
9633
9634         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9635
9636 2014-02-24  Andreas Schwab  <schwab@suse.de>
9637
9638         [BZ #15804]
9639         * elf/pldd.c (wait_for_ptrace_stop): New function.
9640         (main): Call it after attaching.
9641
9642 2014-02-22  Roland McGrath  <roland@hack.frob.com>
9643
9644         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9645         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9646         Versions files is now verboten.
9647         * hurd/Versions (libc: GLIBC_2.0):
9648         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9649         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9650         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9651         * mach/Versions: Likewise.
9652
9653         * csu/Versions: Remove unused %include.
9654         * resolv/Versions: Likewise.
9655
9656 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
9657
9658         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9659         ($(objpfx)check-local-headers.out): Likewise.
9660         ($(objpfx)begin-end-check.out): Likewise.
9661         * Makerules (check-abi-%.out): Likewise.
9662         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9663         ($(objpfx)test2.cat): Likewise.
9664         ($(objpfx)de/libc.cat): Likewise.
9665         ($(objpfx)test-gencat.out): Likewise.
9666         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9667         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9668         ($(objpfx)noload-mem): Likewise.
9669         ($(objpfx)tst-pathopt.out): Likewise.
9670         ($(objpfx)tst-rtld-load-self.out): Likewise.
9671         ($(objpfx)tst-array1-cmp.out): Likewise.
9672         ($(objpfx)tst-array1-static-cmp.out): Likewise.
9673         ($(objpfx)tst-array2-cmp.out): Likewise.
9674         ($(objpfx)tst-array3-cmp.out): Likewise.
9675         ($(objpfx)tst-array4-cmp.out): Likewise.
9676         ($(objpfx)tst-array5-cmp.out): Likewise.
9677         ($(objpfx)tst-array5-static-cmp.out): Likewise.
9678         ($(objpfx)check-textrel.out): Likewise.
9679         ($(objpfx)check-execstack.out): Likewise.
9680         ($(objpfx)check-localplt.out): Likewise.
9681         ($(objpfx)order2-cmp.out): Likewise.
9682         ($(objpfx)tst-leaks1-mem): Likewise.
9683         ($(objpfx)tst-leaks1-static-mem): Likewise.
9684         ($(objpfx)tst-initorder-cmp.out): Likewise.
9685         ($(objpfx)tst-initorder2-cmp.out): Likewise.
9686         ($(objpfx)tst-unused-dep.out): Likewise.
9687         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9688         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9689         * iconv/Makefile (test-iconvconfig): Likewise.
9690         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9691         ($(objpfx)iconv-test.out): Likewise.
9692         ($(objpfx)tst-tables.out): Likewise.
9693         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9694         ($(objpfx)tst-gettext.out): Likewise.
9695         ($(objpfx)tst-translit.out): Likewise.
9696         ($(objpfx)tst-gettext2.out): Likewise.
9697         ($(objpfx)tst-gettext4.out): Likewise.
9698         ($(objpfx)tst-gettext6.out): Likewise.
9699         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9700         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9701         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9702         ($(objpfx)tst-fopenloc-mem.out): Likewise.
9703         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9704         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9705         * posix/Makefile ($(objpfx)globtest.out): Likewise.
9706         ($(objpfx)wordexp-tst.out): Likewise.
9707         ($(objpfx)annexc.out): Likewise.
9708         ($(objpfx)tst-fnmatch-mem): Likewise.
9709         ($(objpfx)bug-regex2-mem): Likewise.
9710         ($(objpfx)bug-regex14-mem): Likewise.
9711         ($(objpfx)bug-regex21-mem): Likewise.
9712         ($(objpfx)bug-regex31-mem): Likewise.
9713         ($(objpfx)tst-vfork3-mem): Likewise.
9714         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9715         ($(objpfx)tst-pcre-mem): Likewise.
9716         ($(objpfx)tst-boost-mem): Likewise.
9717         ($(objpfx)tst-getconf.out): Likewise.
9718         ($(objpfx)bug-ga2-mem): Likewise.
9719         ($(objpfx)bug-glob2-mem): Likewise.
9720         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9721         ($(objpfx)mtrace-tst-leaks2): Likewise.
9722         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9723         ($(objpfx)tst-printf.out): Likewise.
9724         ($(objpfx)tst-setvbuf1.out): Likewise.
9725         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9726         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9727         ($(objpfx)tst-fmtmsg.out): Likewise.
9728         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9729         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9730
9731         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9732         * bits/sigaction.h [__USE_MISC]: Likewise.
9733         * bits/waitstatus.h: Update #endif comments.
9734         * ctype/ctype.h: Likewise.
9735         * dirent/dirent.h: Likewise.
9736         [__USE_MISC]: Remove redundant conditionals.
9737         * grp/grp.h: Update #endif comments.
9738         [__USE_GNU]: Remove redundant conditionals.
9739         [__USE_MISC]: Likewise.
9740         * inet/netinet/in.h [__USE_GNU]: Likewise.
9741         * io/sys/stat.h [__USE_MISC]: Likewise.
9742         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9743         * libio/bits/stdio.h: Update #endif comments.
9744         [__USE_MISC]: Remove redundant conditionals.
9745         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9746         * libio/stdio.h: Update #endif comments.
9747         [__USE_MISC]: Remove redundant conditionals.
9748         * math/bits/math-finite.h [__USE_MISC]: Likewise.
9749         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9750         * math/math.h: Update #else and #endif comments.
9751         [__USE_MISC]: Remove redundant conditionals.
9752         * misc/sys/uio.h: Update #endif comments.
9753         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9754         * posix/glob.h [__USE_MISC]: Likewise.
9755         * posix/sys/types.h: Update #endif comments.
9756         [__USE_MISC]: Remove redundant conditionals.
9757         * posix/sys/wait.h: Update #endif comments.
9758         [__USE_MISC]: Remove redundant conditionals.
9759         * posix/unistd.h: Update #endif comments.
9760         [__USE_MISC]: Remove redundant conditionals.
9761         * pwd/pwd.h [__USE_GNU]: Likewise.
9762         [__USE_MISC]: Likewise.
9763         * resolv/netdb.h [__USE_GNU]: Likewise.
9764         * signal/signal.h: Update #endif comments.
9765         [__USE_MISC]: Remove redundant conditionals.
9766         * stdlib/stdlib.h: Update #else and #endif comments.
9767         [__USE_MISC]: Remove redundant conditionals.
9768         [__USE_GNU]: Likewise.
9769         * string/bits/string2.h [__USE_MISC]: Likewise.
9770         * string/string.h: Update #endif comments.
9771         [__USE_MISC]: Remove redundant conditionals.
9772         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9773         Likewise.
9774         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9775         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9776         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9777         Likewise.
9778         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9779         Likewise.
9780         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9781         comments.
9782         [__USE_MISC]: Remove redundant conditionals.
9783         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9784         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9785         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9786         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9787         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9788         Likewise.
9789         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9790         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9791         Likewise.
9792         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9793         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9794         Likewise.
9795         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9796         Likewise.
9797         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9798         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9799         Likewise.
9800         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9801         Likewise.
9802         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9803         * sysdeps/x86/bits/string.h: Update #endif comments.
9804         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9805         conditionals.
9806         * time/sys/time.h: Update #endif comments.
9807         * time/time.h: Likewise.
9808         [__USE_MISC]: Remove redundant conditionals.
9809
9810 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
9811
9812         [BZ #16600]
9813         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9814
9815 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
9816
9817         * Versions.def (librt): Add GLIBC_2.17.
9818
9819 2014-02-21  Adam Conrad  <adconrad@0c3.net>
9820
9821         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9822         synonym for _SYS_AUXV_H to allow direct inclusion.
9823         * sysdeps/sparc/bits/hwcap.h: Likewise.
9824         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9825         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9826         * sysdeps/sparc/sysdep.h: Likewise.
9827
9828 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9829
9830         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9831
9832 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9833
9834         * benchtests/bench-strrchr.c: Print length instead of position.
9835
9836 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
9837
9838         [BZ #16611]
9839         * sysdeps/unix/sysv/linux/kernel-features.h
9840         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9841         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9842         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9843         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9844         Likewise.
9845         [__i386__ || __powerpc__ || __sh__ || __sparc__]
9846         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9847         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9848         (__ASSUME_SENDMMSG): Define instead of using previous
9849         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9850         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9851         (__ASSUME_SENDMMSG_SYSCALL): Define.
9852         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9853         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9854         Likewise.
9855         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9856         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9857         Likewise.
9858         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9859         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9860         Likewise.
9861         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9862         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9863         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9864         [__ASSUME_SENDMMSG]: Change conditionals to
9865         [__ASSUME_SENDMMSG_SOCKETCALL].
9866         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9867         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9868         Define.
9869         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9870         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9871         Likewise.
9872         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9873         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9874         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9875         [!__ASSUME_SENDMMSG]: Change conditional to
9876         [!__ASSUME_SENDMMSG_SOCKETCALL].
9877         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9878         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9879         Define.
9880
9881         [BZ #16610]
9882         * sysdeps/unix/sysv/linux/kernel-features.h
9883         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9884         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9885         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9886         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9887         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9888         [__i386__ || __sparc__]
9889         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9890         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9891         (__ASSUME_RECVMMSG): Define instead of using previous
9892         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9893         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9894         (__ASSUME_RECVMMSG_SYSCALL): Define.
9895         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9896         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9897         Likewise.
9898         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9899         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9900         Likewise.
9901         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9902         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9903         Likewise.
9904         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9905         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9906         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9907         [__ASSUME_RECVMMSG]: Change condition to
9908         [__ASSUME_RECVMMSG_SOCKETCALL].
9909         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9910         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9911         Define.
9912         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9913         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9914         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9915         Likewise.
9916         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9917         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9918         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9919         [!__ASSUME_RECVMMSG]: Change condition to
9920         [!__ASSUME_RECVMMSG_SOCKETCALL].
9921         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9922         (__ASSUME_RECVMMSG_SYSCALL): Define.
9923
9924         [BZ #16609]
9925         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9926         __powerpc__ || __s390__ || __sh__ || __sparc__]
9927         (__ASSUME_SOCKETCALL): Define.
9928         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9929         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9930         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9931         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9932         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9933         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9934         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9935         (__ASSUME_ACCEPT4): Define instead of using previous
9936         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9937         __powerpc__ || __sparc__ || __s390__)] condition.
9938         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9939         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9940         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9941         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9942         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9943         [!__ASSUME_ACCEPT4]: Change condition to
9944         [!__ASSUME_ACCEPT4_SOCKETCALL].
9945         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9946         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
9947         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9948         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9949         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9950         __ASSUME_ACCEPT4_SYSCALL.
9951         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9952         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9953         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9954         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9955         __ASSUME_ACCEPT4_SYSCALL.
9956         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9957         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9958         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9959         [__ASSUME_ACCEPT4]: Change condition to
9960         [__ASSUME_ACCEPT4_SOCKETCALL].
9961         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9962         (__ASSUME_SOCKETCALL): Define.
9963         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9964         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9965         (__ASSUME_SOCKETCALL): Define.
9966         (__ASSUME_ACCEPT4): Remove.
9967         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9968         Define.
9969         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9970         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9971         Likewise.
9972         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9973         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9974
9975         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9976         macro.
9977         (HWCAP_ARM_LPAE): Likewise.
9978         (HWCAP_ARM_EVTSTRM): Likewise.
9979         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9980         Add vpfd32, lpae and evtstrm.
9981         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9982         Increase to 22.
9983
9984 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
9985
9986         * math/auto-libm-test-in: Add tests of clog10.
9987         * math/auto-libm-test-out: Regenerated.
9988         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9989         * sysdeps/i386/fpu/libm-test-ulps: Update.
9990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9991
9992 2014-02-18  Andreas Schwab  <schwab@suse.de>
9993
9994         [BZ #16574]
9995         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9996         Store non-zero if the second buffer was newly allocated.
9997         (send_dg): Likewise.
9998         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9999         to send_vc and send_dg.
10000         (res_nsend): Pass NULL for ansp2_malloced.
10001         * resolv/res_query.c (__libc_res_nquery): Add parameter
10002         answerp2_malloced and pass it down to __libc_res_nsend.
10003         (res_nquery): Pass additional NULL to __libc_res_nquery.
10004         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10005         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
10006         second answer buffer if answerp2_malloced was set.
10007         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10008         (__libc_res_nquerydomain): Add parameter
10009         answerp2_malloced and pass it down to __libc_res_nquery.
10010         (res_nquerydomain): Pass additional NULL to
10011         __libc_res_nquerydomain.
10012         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10013         additional NULL to __libc_res_nsend and __libc_res_nquery.
10014         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10015         additional NULL to __libc_res_nsearch.
10016         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
10017         parameter of __libc_res_nsearch to check for separately allocated
10018         second buffer.
10019         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10020         __libc_res_nquery.
10021         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10022         additional NULL to __libc_res_nquery.
10023         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10024         __libc_res_nsearch.
10025         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10026         * include/resolv.h: Update prototypes of __libc_res_nquery,
10027         __libc_res_nsearch, __libc_res_nsend.
10028
10029 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
10030
10031         * math/auto-libm-test-in: Add tests of fma.
10032         * math/auto-libm-test-out: Regenerated.
10033         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10034         (fma_towardzero_test_data): Likewise.
10035         (fma_downward_test_data): Likewise.
10036         (fma_upward_test_data): Likewise.
10037         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10038         mpc_mode.
10039         (rounding_modes): Add values for new field.
10040         (func_calc_method): Add value mpfr_fff_f.
10041         (func_calc_desc): Add mpfr_fff_f union field.
10042         (test_function): Add field exact_args.
10043         (FUNC): Add macro argument EXACT_ARGS.
10044         (FUNC_mpfr_f_f): Update call to FUNC.
10045         (FUNC_mpfr_f_f): Likewise.
10046         (FUNC_mpfr_ff_f): Likewise.
10047         (FUNC_mpfr_if_f): Likewise.
10048         (FUNC_mpc_c_f): Likewise.
10049         (FUNC_mpc_c_c): Likewise.
10050         (test_functions): Add fma.  Update calls to FUNC.
10051         (handle_input_arg): Add argument exact_args.
10052         (add_test): Update call to handle_input_arg.
10053         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
10054         (output_for_one_input_case): Update call to calc_generic_results.
10055         Recalculate exact zero results in each rounding mode.
10056
10057         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10058         non-negative before setting low bit.
10059         * math/auto-libm-test-in: Mark one asin test possibly having
10060         spurious underflow.
10061         * math/auto-libm-test-out: Regenerated.
10062         * sysdeps/i386/fpu/libm-test-ulps: Update.
10063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10064
10065 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
10066
10067         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10068         * sysdeps/unix/sysv/linux/microblaze: Move directory from
10069         ports/sysdeps/unix/sysv/linux/microblaze.
10070         * README: Add missing listing for microblaze*-*-linux-gnu.
10071
10072 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
10073
10074         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10075         duplicate code
10076
10077 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
10078
10079         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10080         * sysdeps/unix/sysv/linux/ia64: Move directory from
10081         ports/sysdeps/unix/sysv/linux/ia64.
10082         * README: Update listing for ia64-*-linux-gnu.
10083
10084 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
10085             Joseph Myers  <joseph@codesourcery.com>
10086
10087         * Makeconfig (test-name): New variable.
10088         (evaluate-test): Likewise.
10089         * Makerules (do-test-clean): Remove .test-result files.
10090         (common-mostlyclean): Likewise.
10091         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10092         * scripts/evaluate-test.sh: New file.
10093
10094 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
10095
10096         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10097         separate $(objpfx)tst-fopenloc-cmp.out and
10098         $(objpfx)tst-fopenloc-mem.out targets.
10099         (tests): Update dependencies.
10100         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10101         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10102         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10103         (tst-rxspencer-no-utf8-ARGS): New variable.
10104         (tst-rxspencer-no-utf8-ENV): Likewise.
10105         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10106         instead of $(objpfx)tst-rxspencer-mem.
10107         ($(objpfx)tst-rxspencer-mem): Change target to
10108         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
10109         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10110         * posix/tst-rxspencer-no-utf8.c: New file.
10111
10112         * elf/Makefile ($(objpfx)order.out): Remove rule.
10113         [$(run-built-tests) = yes] (tests): Depend on
10114         $(objpfx)order-cmp.out.
10115         ($(objpfx)order-cmp.out): New rule.
10116         [$(run-built-tests) = yes] (tests): Depend on
10117         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10118         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10119         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10120         $(objpfx)tst-array5-static-cmp.out.
10121         ($(objpfx)tst-array1.out): Remove rule.
10122         ($(objpfx)tst-array1-cmp.out): New rule.
10123         ($(objpfx)tst-array1-static.out): Remove rule.
10124         ($(objpfx)tst-array1-static-cmp.out): New rule.
10125         ($(objpfx)tst-array2.out): Remove rule.
10126         ($(objpfx)tst-array2-cmp.out): New rule.
10127         ($(objpfx)tst-array3.out): Remove rule.
10128         ($(objpfx)tst-array3-cmp.out): New rule.
10129         ($(objpfx)tst-array4.out): Remove rule.
10130         ($(objpfx)tst-array4-cmp.out): New rule.
10131         ($(objpfx)tst-array5.out): Remove rule.
10132         ($(objpfx)tst-array5-cmp.out): New rule.
10133         ($(objpfx)tst-array5-static.out): Remove rule.
10134         ($(objpfx)tst-array5-static-cmp.out): New rule.
10135         [$(run-built-tests) = yes] (tests): Depend on
10136         $(objpfx)order2-cmp.out.
10137         ($(objpfx)order2.out): Remove rule.
10138         ($(objpfx)order2-cmp.out): New rule.
10139         ($(objpfx)tst-initorder.out): Remove rule.
10140         [$(run-built-tests) = yes] (tests): Depend on
10141         $(objpfx)tst-initorder-cmp.out.
10142         ($(objpfx)tst-initorder-cmp.out): New rule.
10143         ($(objpfx)tst-initorder2.out): Remove rule.
10144         [$(run-built-tests) = yes] (tests): Depend on
10145         $(objpfx)tst-initorder2-cmp.out.
10146         ($(objpfx)tst-initorder2-cmp.out): New rule.
10147         [$(run-built-tests) = yes] (tests): Depend on
10148         $(objpfx)tst-unused-dep-cmp.out.
10149         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10150         ($(objpfx)tst-unused-dep-cmp.out): New rule.
10151         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10152         on $(objpfx)tst-setvbuf1-cmp.out.
10153         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10154         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10155         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10156         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10157         ($(objpfx)tst-svc.out): Remove rule.
10158         ($(objpfx)tst-svc-cmp.out): New rule.
10159
10160 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
10161
10162         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10163         * ctype/ctype.h [__USE_MISC]: Likewise.
10164         * dirent/dirent.h [__USE_MISC]: Likewise.
10165         * grp/grp.h [__USE_MISC]: Likewise.
10166         * io/fcntl.h [__USE_MISC]: Likewise.
10167         * io/sys/stat.h [__USE_MISC]: Likewise.
10168         * libio/stdio.h [__USE_MISC]: Likewise.
10169         * posix/unistd.h [__USE_MISC]: Likewise.
10170         * pwd/pwd.h [__USE_MISC]: Likewise.
10171         * stdlib.h [__USE_MISC]: Likewise.
10172         * string/bits/string2.h [__USE_MISC]: Likewise.
10173         * string/string.h [__USE_MISC]: Likewise.
10174         * time/time.h [__USE_MISC]: Likewise.
10175
10176 2014-02-13  Andreas Schwab  <schwab@suse.de>
10177
10178         [BZ #16574]
10179         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10180         second answer buffer if it was separately allocated.
10181
10182 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
10183
10184         * sysdeps/mips/math-tests.h: Include <features.h>.
10185         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10186         (ROUNDING_TESTS_long_double): Do not define.
10187         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10188         (EXCEPTION_TESTS_long_double): Likewise.
10189         * sysdeps/mips/mips64/libm-test-ulps: Update.
10190
10191         * include/features.h (__USE_BSD): Remove macro definitions.
10192         (__USE_SVID): Likewise.
10193         (_BSD_SOURCE): Likewise.
10194         (_SVID_SOURCE): Likewise.
10195         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10196         from definition of _DEFAULT_SOURCE.
10197         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10198         [_DEFAULT_SOURCE].
10199         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10200         * bits/mman.h [__USE_BSD]: Likewise.
10201         * bits/termios.h [__USE_BSD]: Likewise.
10202         * bits/waitstatus.h [__USE_BSD]: Likewise.
10203         * ctype/ctype.h [__USE_SVID]: Likewise.
10204         * dirent/dirent.h [__USE_BSD]: Likewise.
10205         * grp/grp.h [__USE_SVID]: Likewise.
10206         [__USE_BSD]: Likewise.
10207         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10208         * io/fcntl.h [__USE_BSD]: Likewise.
10209         * io/ftw.h [__USE_BSD]: Likewise.
10210         * io/sys/stat.h [__USE_BSD]: Likewise.
10211         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10212         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10213         * libio/stdio.h [__USE_SVID]: Likewise.
10214         [__USE_BSD]: Likewise.
10215         * math/math.h [__USE_SVID]: Likewise.
10216         [__USE_BSD]: Likewise.
10217         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10218         * misc/bits/syslog.h [__USE_BSD]: Likewise.
10219         * misc/search.h [__USE_SVID]: Likewise.
10220         * misc/sys/mman.h [__USE_BSD]: Likewise.
10221         * misc/sys/syslog.h [__USE_BSD]: Likewise.
10222         * misc/sys/uio.h [__USE_BSD]: Likewise.
10223         * posix/bits/unistd.h [__USE_BSD]: Likewise.
10224         * posix/glob.h [__USE_BSD]: Likewise.
10225         * posix/regex.h [__USE_BSD]: Likewise.
10226         * posix/sys/types.h [__USE_BSD]: Likewise.
10227         [__USE_SVID]: Likewise.
10228         * posix/sys/utsname.h [__USE_SVID]: Likewise.
10229         * posix/sys/wait.h [__USE_BSD]: Likewise.
10230         [__USE_SVID]: Likewise.
10231         * posix/unistd.h [__USE_BSD]: Likewise.
10232         [__USE_SVID]: Likewise.
10233         * pwd/pwd.h [__USE_SVID]: Likewise.
10234         * resolv/netdb.h [__USE_BSD]: Likewise.
10235         * setjmp/setjmp.h [__USE_BSD]: Likewise.
10236         * signal/signal.h [__USE_BSD]: Likewise.
10237         [__USE_SVID]: Likewise.
10238         * socket/sys/socket.h [__USE_BSD]: Likewise.
10239         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10240         * stdlib/stdlib.h [__USE_BSD]: Likewise.
10241         [__USE_SVID]: Likewise.
10242         * string/bits/string2.h [__USE_BSD]: Likewise.
10243         [__USE_SVID]: Likewise.
10244         * string/bits/string3.h [__USE_BSD]: Likewise.
10245         * string/endian.h [__USE_BSD]: Likewise.
10246         * string/string.h [__USE_SVID]: Likewise.
10247         [__USE_BSD]: Likewise.
10248         * string/strings.h [__USE_BSD]: Likewise.
10249         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10250         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10251         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10252         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10253         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10254         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10255         Likewise.
10256         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10257         Likewise.
10258         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10259         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10260         Likewise.
10261         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10262         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10263         Likewise.
10264         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10265         Likewise.
10266         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10267         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10268         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10269         Likewise.
10270         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10271         Likewise.
10272         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10273         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10274         * termios/termios.h [__USE_BSD]: Likewise.
10275         * time/sys/time.h [__USE_BSD]: Likewise.
10276         * time/time.h [__USE_BSD]: Likewise.
10277         [__USE_SVID]: Likewise.
10278
10279         * Makefile (subdir_targets): Remove subdir_lint.out.
10280
10281         * stdio-common/Makefile (do-tst-unbputc): Remove target.
10282         (do-tst-printf): Likewise.
10283         (tests): Depend directly on $(objpfx)tst-unbputc.out and
10284         $(objpfx)tst-printf.out.
10285
10286         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10287
10288         * Makerules (check-abi-%): Change target to
10289         $(objpfx)check-abi-%.out.
10290         (check-abi target): Update dependencies.
10291         (check-abi-pattern variable): Redirect output of diff to $@.
10292         (check-abi variable): Likewise.
10293         * elf/Makefile (check-abi): Update dependencies.
10294
10295         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10296         unused.
10297         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10298         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10299         subnormal range.
10300         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10301         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10302         value has largest subnormal exponent.
10303         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10304         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10305         * sysdeps/aarch64/soft-fp/sfp-machine.h
10306         (_FP_TININESS_AFTER_ROUNDING): New macro.
10307         * sysdeps/alpha/soft-fp/sfp-machine.h
10308         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10309         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10310         Likewise.
10311         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10312         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10313         * sysdeps/mips/soft-fp/sfp-machine.h
10314         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10315         * sysdeps/powerpc/soft-fp/sfp-machine.h
10316         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10317         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10318         Likewise.
10319         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10320         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10321         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10322         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10323         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10324         Likewise.
10325
10326 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
10327
10328         [BZ #16545]
10329         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10330         model 1.
10331
10332 2014-02-12  Richard Henderson  <rth@redhat.com>
10333
10334         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10335         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10336         * sysdeps/unix/sysv/linux/alpha: Move directory from
10337         ports/sysdeps/unix/sysv/linux/alpha.
10338         * README: Update listing for alpha-*-linux-gnu.
10339
10340 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
10341
10342         * include/features.h: Update comment documenting feature test
10343         macros.
10344         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
10345         _DEFAULT_SOURCE.
10346         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10347         (_SVID_SOURCE): Likewise.
10348         (_DEFAULT_SOURCE): Update description of default features.
10349         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10350         with _GNU_SOURCE.
10351         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10352         (S_ISVTX): Likewise.
10353         * manual/math.texi (Mathematical Constants): Likewise.
10354         * manual/signal.texi (Interrupted Primitives): Likewise.
10355         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10356         * math/test-matherr.c (_SVID_SOURCE): Do not define.
10357         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10358         Don't refer to _SVID_SOURCE in warning text.
10359
10360         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10361
10362         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10363         already defined.
10364         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10365         * sysdeps/mips/dl-lookup.c: Remove.
10366         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10367
10368 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10369
10370         [BZ #16447]
10371         * math/auto-libm-test-in: Add testcase for expl.
10372         * math/auto-libm-test-out: Regenerate.
10373         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10374         calculation of unsafe.
10375         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10376
10377 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10378
10379         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10380         * sysdeps/unix/sysv/linux/aarch64: Move directory from
10381         ports/sysdeps/unix/sysv/linux/aarch64.
10382         * README: Update listing for aarch64*-*-linux-gnu.
10383
10384 2014-02-11  Will Newton  <will.newton@linaro.org>
10385
10386         * manual/probes.texi (Mathematical Function Probes): Use
10387         "triggered" instead of "hit".
10388
10389         * manual/probes.texi (Internal Probes): Add documentation
10390         of setjmp, longjmp and longjmp_target probes.
10391
10392         * include/stap-probe.h: Add comment about probe argument
10393         format.
10394
10395         * malloc/mtrace.c (attribute_hidden): Remove unused macro
10396         definition.  (tr_where, tr_freehook, tr_mallochook,
10397         tr_reallochook, tr_memalignhook): Use ANSI protoype.
10398
10399 2014-02-11  David S. Miller  <davem@davemloft.net>
10400
10401         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10402         processing int_tests.
10403
10404 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
10405
10406         * sysdeps/mips: Move directory from ports/sysdeps/mips.
10407         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10408         * sysdeps/unix/sysv/linux/mips: Move directory from
10409         ports/sysdeps/unix/sysv/linux/mips.
10410         * README: Update listing for mips-*-linux-gnu and
10411         mips64-*-linux-gnu.
10412
10413 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
10414
10415         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10416         * sysdeps/unix/sysv/linux/m68k: Move directory from
10417         ports/sysdeps/unix/sysv/linux/m68k.
10418         * README: Update listing for m68k-*-linux-gnu.
10419
10420 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
10421
10422         * sysdeps/tile: Move directory from ports/sysdeps/tile.
10423         * sysdeps/unix/sysv/linux/generic: Move directory from
10424         ports/sysdeps/unix/sysv/linux/generic.
10425         * sysdeps/unix/sysv/linux/tile: Move directory from
10426         ports/sysdeps/unix/sysv/linux/tile.
10427         * README: Update listing for tile*-*-linux-gnu.
10428
10429 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
10430
10431         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10432         __builtin_expect.
10433         * benchtests/bench-memmem.c (simple_memmem): Likewise.
10434         * catgets/open_catalog.c (__open_catalog): Likewise.
10435         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10436         * debug/confstr_chk.c: Likewise.
10437         * debug/fread_chk.c (__fread_chk): Likewise.
10438         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10439         * debug/getgroups_chk.c: Likewise.
10440         * debug/mbsnrtowcs_chk.c: Likewise.
10441         * debug/mbsrtowcs_chk.c: Likewise.
10442         * debug/mbstowcs_chk.c: Likewise.
10443         * debug/memcpy_chk.c: Likewise.
10444         * debug/memmove_chk.c: Likewise.
10445         * debug/mempcpy_chk.c: Likewise.
10446         * debug/memset_chk.c: Likewise.
10447         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10448         * debug/strcat_chk.c (__strcat_chk): Likewise.
10449         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10450         * debug/strncat_chk.c (__strncat_chk): Likewise.
10451         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10452         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10453         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10454         * debug/wcpncpy_chk.c: Likewise.
10455         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10456         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10457         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10458         * debug/wcsncpy_chk.c: Likewise.
10459         * debug/wcsnrtombs_chk.c: Likewise.
10460         * debug/wcsrtombs_chk.c: Likewise.
10461         * debug/wcstombs_chk.c: Likewise.
10462         * debug/wmemcpy_chk.c: Likewise.
10463         * debug/wmemmove_chk.c: Likewise.
10464         * debug/wmempcpy_chk.c: Likewise.
10465         * debug/wmemset_chk.c: Likewise.
10466         * dirent/scandirat.c (SCANDIRAT): Likewise.
10467         * dlfcn/dladdr1.c (dladdr1): Likewise.
10468         * dlfcn/dladdr.c (dladdr): Likewise.
10469         * dlfcn/dlclose.c (dlclose_doit): Likewise.
10470         * dlfcn/dlerror.c (__dlerror): Likewise.
10471         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10472         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10473         * dlfcn/dlopen.c (dlopen_doit): Likewise.
10474         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10475         * dlfcn/dlsym.c (dlsym_doit): Likewise.
10476         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10477         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10478         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10479         Likewise.
10480         * elf/dl-conflict.c: Likewise.
10481         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10482         * elf/dl-dst.h: Likewise.
10483         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10484         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10485         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10486         * elf/dl-init.c (call_init, _dl_init): Likewise.
10487         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10488         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10489         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10490         Likewise.
10491         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10492         Likewise.
10493         * elf/dl-minimal.c (__libc_memalign): Likewise.
10494         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10495         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10496         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10497         * elf/dl-sym.c (do_sym): Likewise.
10498         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10499         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10500         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10501         * elf/dl-writev.h (_dl_writev): Likewise.
10502         * elf/ldconfig.c (search_dir): Likewise.
10503         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10504         (dl_main): Likewise.
10505         * elf/setup-vdso.h (setup_vdso): Likewise.
10506         * grp/compat-initgroups.c (compat_call): Likewise.
10507         * grp/fgetgrent.c (fgetgrent): Likewise.
10508         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10509         * grp/putgrent.c (putgrent): Likewise.
10510         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10511         Likewise.
10512         * hurd/hurdinit.c: Likewise.
10513         * iconvdata/8bit-gap.c (struct): Likewise.
10514         * iconvdata/ansi_x3.110.c : Likewise.
10515         * iconvdata/big5.c : Likewise.
10516         * iconvdata/big5hkscs.c : Likewise.
10517         * iconvdata/cp1255.c: Likewise.
10518         * iconvdata/cp1258.c : Likewise.
10519         * iconvdata/cp932.c : Likewise.
10520         * iconvdata/euc-cn.c: Likewise.
10521         * iconvdata/euc-jisx0213.c : Likewise.
10522         * iconvdata/euc-jp.c: Likewise.
10523         * iconvdata/euc-jp-ms.c : Likewise.
10524         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10525         * iconvdata/gb18030.c : Likewise.
10526         * iconvdata/gbbig5.c (const): Likewise.
10527         * iconvdata/gbgbk.c: Likewise.
10528         * iconvdata/gbk.c : Likewise.
10529         * iconvdata/ibm1364.c : Likewise.
10530         * iconvdata/ibm930.c : Likewise.
10531         * iconvdata/ibm932.c: Likewise.
10532         * iconvdata/ibm933.c : Likewise.
10533         * iconvdata/ibm935.c : Likewise.
10534         * iconvdata/ibm937.c : Likewise.
10535         * iconvdata/ibm939.c : Likewise.
10536         * iconvdata/ibm943.c: Likewise.
10537         * iconvdata/iso_11548-1.c: Likewise.
10538         * iconvdata/iso-2022-cn.c : Likewise.
10539         * iconvdata/iso-2022-cn-ext.c : Likewise.
10540         * iconvdata/iso-2022-jp-3.c: Likewise.
10541         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10542         * iconvdata/iso-2022-kr.c : Likewise.
10543         * iconvdata/iso646.c (gconv_end): Likewise.
10544         * iconvdata/iso_6937-2.c : Likewise.
10545         * iconvdata/iso_6937.c : Likewise.
10546         * iconvdata/iso8859-1.c: Likewise.
10547         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10548         * iconvdata/shift_jisx0213.c : Likewise.
10549         * iconvdata/sjis.c : Likewise.
10550         * iconvdata/t.61.c : Likewise.
10551         * iconvdata/tcvn5712-1.c : Likewise.
10552         * iconvdata/tscii.c: Likewise.
10553         * iconvdata/uhc.c : Likewise.
10554         * iconvdata/unicode.c (gconv_end): Likewise.
10555         * iconvdata/utf-16.c (gconv_end): Likewise.
10556         * iconvdata/utf-32.c (gconv_end): Likewise.
10557         * iconvdata/utf-7.c (base64): Likewise.
10558         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10559         * iconv/gconv_close.c (__gconv_close): Likewise.
10560         * iconv/gconv_open.c (__gconv_open): Likewise.
10561         * iconv/gconv_simple.c (internal_ucs4_loop_single)
10562         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10563         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10564         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10565         (ucs4le_internal_loop_single): Likewise.
10566         * iconv/iconv.c (iconv): Likewise.
10567         * iconv/iconv_close.c: Likewise.
10568         * iconv/loop.c (SINGLE): Likewise.
10569         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10570         * include/atomic.h: Likewise.
10571         * inet/inet6_option.c (option_alloc): Likewise.
10572         * intl/bindtextdom.c (set_binding_values): Likewise.
10573         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10574         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10575         * intl/localealias.c (read_alias_file): Likewise.
10576         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10577         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10578         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10579         * libio/fmemopen.c (fmemopen): Likewise.
10580         * libio/iofgets.c (_IO_fgets): Likewise.
10581         * libio/iofgets_u.c (fgets_unlocked): Likewise.
10582         * libio/iofgetws.c (fgetws): Likewise.
10583         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10584         * libio/iogetdelim.c (_IO_getdelim): Likewise.
10585         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10586         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10587         * locale/findlocale.c (_nl_find_locale): Likewise.
10588         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10589         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10590         Likewise.
10591         * locale/setlocale.c (setlocale): Likewise.
10592         * login/programs/pt_chown.c (main): Likewise.
10593         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10594         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10595         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10596         (mmap, mmap64, mremap, munmap): Likewise.
10597         * math/e_exp2l.c: Likewise.
10598         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10599         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10600         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10601         * math/s_catan.c (__catan): Likewise.
10602         * math/s_catanf.c (__catanf): Likewise.
10603         * math/s_catanh.c (__catanh): Likewise.
10604         * math/s_catanhf.c (__catanhf): Likewise.
10605         * math/s_catanhl.c (__catanhl): Likewise.
10606         * math/s_catanl.c (__catanl): Likewise.
10607         * math/s_ccosh.c (__ccosh): Likewise.
10608         * math/s_ccoshf.c (__ccoshf): Likewise.
10609         * math/s_ccoshl.c (__ccoshl): Likewise.
10610         * math/s_cexp.c (__cexp): Likewise.
10611         * math/s_cexpf.c (__cexpf): Likewise.
10612         * math/s_cexpl.c (__cexpl): Likewise.
10613         * math/s_clog10.c (__clog10): Likewise.
10614         * math/s_clog10f.c (__clog10f): Likewise.
10615         * math/s_clog10l.c (__clog10l): Likewise.
10616         * math/s_clog.c (__clog): Likewise.
10617         * math/s_clogf.c (__clogf): Likewise.
10618         * math/s_clogl.c (__clogl): Likewise.
10619         * math/s_csin.c (__csin): Likewise.
10620         * math/s_csinf.c (__csinf): Likewise.
10621         * math/s_csinh.c (__csinh): Likewise.
10622         * math/s_csinhf.c (__csinhf): Likewise.
10623         * math/s_csinhl.c (__csinhl): Likewise.
10624         * math/s_csinl.c (__csinl): Likewise.
10625         * math/s_csqrt.c (__csqrt): Likewise.
10626         * math/s_csqrtf.c (__csqrtf): Likewise.
10627         * math/s_csqrtl.c (__csqrtl): Likewise.
10628         * math/s_ctan.c (__ctan): Likewise.
10629         * math/s_ctanf.c (__ctanf): Likewise.
10630         * math/s_ctanh.c (__ctanh): Likewise.
10631         * math/s_ctanhf.c (__ctanhf): Likewise.
10632         * math/s_ctanhl.c (__ctanhl): Likewise.
10633         * math/s_ctanl.c (__ctanl): Likewise.
10634         * math/w_pow.c: Likewise.
10635         * math/w_powf.c: Likewise.
10636         * math/w_powl.c: Likewise.
10637         * math/w_scalb.c (sysv_scalb): Likewise.
10638         * math/w_scalbf.c (sysv_scalbf): Likewise.
10639         * math/w_scalbl.c (sysv_scalbl): Likewise.
10640         * misc/error.c (error_tail): Likewise.
10641         * misc/pselect.c (__pselect): Likewise.
10642         * nis/nis_callback.c (__nis_create_callback): Likewise.
10643         * nis/nis_call.c (__nisfind_server): Likewise.
10644         * nis/nis_creategroup.c (nis_creategroup): Likewise.
10645         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10646         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10647         * nis/nis_getservlist.c (nis_getservlist): Likewise.
10648         * nis/nis_lookup.c (nis_lookup): Likewise.
10649         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10650         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10651         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10652         * nis/nis_xdr.c (xdr_endpoint): Likewise.
10653         * nis/nss_compat/compat-grp.c (getgrent_next_file)
10654         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10655         * nis/nss_compat/compat-initgroups.c (add_group)
10656         (internal_getgrent_r): Likewise.
10657         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10658         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10659         * nis/nss_compat/compat-spwd.c (getspent_next_file)
10660         (internal_getspnam_r): Likewise.
10661         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10662         (_nss_nis_getaliasbyname_r): Likewise.
10663         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10664         (_nss_nis_getntohost_r): Likewise.
10665         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10666         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10667         (_nss_nis_getgrgid_r): Likewise.
10668         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10669         (internal_nis_gethostent_r, internal_gethostbyname2_r)
10670         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10671         (_nss_nis_gethostbyname4_r): Likewise.
10672         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10673         (initgroups_netid): Likewise.
10674         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10675         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10676         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10677         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10678         (_nss_nis_getprotobynumber_r): Likewise.
10679         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10680         (_nss_nis_getsecretkey): Likewise.
10681         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10682         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10683         (_nss_nis_getpwuid_r): Likewise.
10684         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10685         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10686         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10687         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10688         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10689         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10690         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10691         Likewise.
10692         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10693         (_nss_nisplus_getntohost_r): Likewise.
10694         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10695         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10696         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10697         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10698         Likewise.
10699         * nis/nss_nisplus/nisplus-initgroups.c
10700         (_nss_nisplus_initgroups_dyn): Likewise.
10701         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10702         (_nss_nisplus_getnetbyaddr_r): Likewise.
10703         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10704         (_nss_nisplus_getprotobynumber_r): Likewise.
10705         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10706         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10707         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10708         Likewise.
10709         * nis/nss_nisplus/nisplus-service.c
10710         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10711         (_nss_nisplus_getservbyport_r): Likewise.
10712         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10713         (_nss_nisplus_getspnam_r): Likewise.
10714         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10715         Likewise.
10716         * nscd/aicache.c (addhstaiX): Likewise.
10717         * nscd/cache.c (cache_search, prune_cache): Likewise.
10718         * nscd/connections.c (register_traced_file, send_ro_fd)
10719         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10720         (main_loop_epoll): Likewise.
10721         * nscd/grpcache.c (addgrbyX): Likewise.
10722         * nscd/hstcache.c (addhstbyX): Likewise.
10723         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10724         * nscd/mem.c (gc, mempool_alloc): Likewise.
10725         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10726         (addinnetgrX): Likewise.
10727         * nscd/nscd-client.h (__nscd_acquire_maplock)
10728         (__nscd_drop_map_ref): Likewise.
10729         * nscd/nscd_getai.c (__nscd_getai): Likewise.
10730         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10731         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10732         Likewise.
10733         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10734         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10735         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10736         (__nscd_get_map_ref): Likewise.
10737         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10738         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10739         Likewise.
10740         * nscd/pwdcache.c (addpwbyX): Likewise.
10741         * nscd/selinux.c (preserve_capabilities): Likewise.
10742         * nscd/servicescache.c (addservbyX): Likewise.
10743         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10744         * posix/fnmatch.c (fnmatch): Likewise.
10745         * posix/getopt.c (_getopt_internal_r): Likewise.
10746         * posix/glob.c (glob, glob_in_dir): Likewise.
10747         * posix/wordexp.c (exec_comm_child): Likewise.
10748         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10749         (getanswer_r, gaih_getanswer_slice): Likewise.
10750         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10751         * resolv/res_init.c: Likewise.
10752         * resolv/res_mkquery.c (res_nmkquery): Likewise.
10753         * resolv/res_query.c (__libc_res_nquery): Likewise.
10754         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10755         Likewise.
10756         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10757         * stdio-common/perror.c (perror): Likewise.
10758         * stdio-common/printf_fp.c (___printf_fp): Likewise.
10759         * stdio-common/tmpnam.c (tmpnam): Likewise.
10760         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10761         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10762         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10763         Likewise.
10764         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10765         * stdlib/putenv.c (putenv): Likewise.
10766         * stdlib/setenv.c (__add_to_environ): Likewise.
10767         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10768         * stdlib/strtol_l.c (INTERNAL): Likewise.
10769         * string/memmem.c (memmem): Likewise.
10770         * string/strerror.c (strerror): Likewise.
10771         * string/strnlen.c (__strnlen): Likewise.
10772         * string/test-memmem.c (simple_memmem): Likewise.
10773         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10774         * sunrpc/pm_getport.c (__get_socket): Likewise.
10775         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10776         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10777         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10778         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10779         Likewise.
10780         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10781         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10782         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10783         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10784         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10785         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10786         Likewise.
10787         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10788         Likewise.
10789         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10790         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10791         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10792         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10793         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10794         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10795         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10796         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10797         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10798         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10799         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10800         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10801         Likewise.
10802         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10803         Likewise.
10804         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10805         Likewise.
10806         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10807         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10808         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10809         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10810         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10811         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10812         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10813         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10814         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10815         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10816         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10817         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10818         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10819         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10820         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10821         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10822         Likewise.
10823         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10824         Likewise.
10825         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10826         Likewise.
10827         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10828         Likewise.
10829         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10830         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10831         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10832         Likewise.
10833         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10834         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10835         * sysdeps/posix/opendir.c (__opendirat): Likewise.
10836         * sysdeps/posix/sleep.c: Likewise.
10837         * sysdeps/posix/tempname.c: Likewise.
10838         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10839         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10840         Likewise.
10841         * sysdeps/powerpc/powerpc32/dl-machine.h
10842         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10843         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10844         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10845         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10846         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10847         Likewise.
10848         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10849         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10850         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10851         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10852         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10853         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10854         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10855         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10856         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10857         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10858         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10859         (elf_machine_lazy_rel): Likewise.
10860         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10861         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10862         (elf_machine_lazy_rel): Likewise.
10863         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10864         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10865         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10866         * sysdeps/unix/grantpt.c (grantpt): Likewise.
10867         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10868         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10869         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10870         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10871         Likewise.
10872         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10873         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10874         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10875         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10876         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10877         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10878         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10879         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10880         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10881         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10882         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10883         Likewise.
10884         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10885         (__posix_fallocate64_l64): Likewise.
10886         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10887         (posix_fallocate): Likewise.
10888         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10889         Likewise.
10890         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10891         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10892         (getifaddrs_internal): Likewise.
10893         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10894         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10895         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10896         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10897         * sysdeps/unix/sysv/linux/posix_fallocate64.c
10898         (__posix_fallocate64_l64): Likewise.
10899         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10900         Likewise.
10901         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
10902         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10903         (__get_clockfreq): Likewise.
10904         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10905         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10906         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10907         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10908         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10909         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10910         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10911         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10912         Likewise.
10913         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10914         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10915         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10916         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10917         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10918         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10919         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10920         Likewise.
10921         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10922         (posix_fallocate): Likewise.
10923         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10924         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10925         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
10926         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10927         (elf_machine_rela, elf_machine_rela_relative)
10928         (elf_machine_lazy_rel): Likewise.
10929         * time/asctime.c (asctime_internal): Likewise.
10930         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10931         * time/tzset.c (__tzset_parse_tz): Likewise.
10932         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10933         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10934         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10935         * wcsmbs/wcsmbsload.h: Likewise.
10936
10937         [BZ #15894]
10938         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10939
10940         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10941         (arena_get2): Remove THREAD_STATS conditionals.
10942         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10943         (__malloc_stats, int): Likewise.
10944
10945 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
10946
10947         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10948         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
10949
10950         * manual/setjmp.texi: Fix typos/grammar errors.
10951
10952         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10953         Only return early when n is <= 0.  Delete unused return statement.
10954
10955         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10956         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10957         * debug/tst-longjmp_chk3.c: New file.
10958
10959         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10960         (test_main): Replace code with set_fortify_handler call.
10961         * debug/test-strcpy_chk.c: Likewise.
10962         * debug/tst-chk1.c: Likewise.
10963         * debug/tst-longjmp_chk.c: Likewise.
10964         * test-skeleton.c: Include fcntl.h & paths.h
10965         (set_fortify_handler): Define.
10966
10967         * debug/tst-longjmp_chk.c: Add header comment and include
10968         ../test-skeleton.c.
10969         (do_test): Mark static.
10970         (TEST_FUNCTION): Define.
10971
10972         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10973         (IP_PMTUDISC_INTERFACE): Likewise.
10974         (IP_MULTICAST_IF): Likewise.
10975         (IP_MULTICAST_TTL): Likewise.
10976         (IP_MULTICAST_LOOP): Likewise.
10977         (IP_ADD_MEMBERSHIP): Likewise.
10978         (IP_DROP_MEMBERSHIP): Likewise.
10979         (IP_UNBLOCK_SOURCE): Likewise.
10980         (IP_BLOCK_SOURCE): Likewise.
10981         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10982         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10983         (IP_MSFILTER): Likewise.
10984         (MCAST_JOIN_GROUP): Likewise.
10985         (MCAST_BLOCK_SOURCE): Likewise.
10986         (MCAST_UNBLOCK_SOURCE): Likewise.
10987         (MCAST_LEAVE_GROUP): Likewise.
10988         (MCAST_JOIN_SOURCE_GROUP): Likewise.
10989         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10990         (MCAST_MSFILTER): Likewise.
10991         (IP_MULTICAST_ALL): Likewise.
10992         (IP_UNICAST_IF): Likewise.
10993
10994         * timezone/Makefile: Delete $(have-ksh) check.
10995         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10996         * timezone/tzselect.ksh: Add +x mode bits.
10997
10998         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10999         (ANON_INODE_FS_MAGIC): Likewise.
11000         (BDEVFS_MAGIC): Likewise.
11001         (BINFMTFS_MAGIC): Likewise.
11002         (BTRFS_TEST_MAGIC): Likewise.
11003         (CRAMFS_MAGIC_WEND): Likewise.
11004         (DEBUGFS_MAGIC): Likewise.
11005         (ECRYPTFS_SUPER_MAGIC): Likewise.
11006         (EXT3_SUPER_MAGIC): Likewise.
11007         (EXT4_SUPER_MAGIC): Likewise.
11008         (FUTEXFS_SUPER_MAGIC): Likewise.
11009         (HOSTFS_SUPER_MAGIC): Likewise.
11010         (HUGETLBFS_MAGIC): Likewise.
11011         (MINIX3_SUPER_MAGIC): Likewise.
11012         (MTD_INODE_FS_MAGIC): Likewise.
11013         (NILFS_SUPER_MAGIC): Likewise.
11014         (OPENPROM_SUPER_MAGIC): Likewise.
11015         (PIPEFS_MAGIC): Likewise.
11016         (PSTOREFS_MAGIC): Likewise.
11017         (QNX6_SUPER_MAGIC): Likewise.
11018         (RAMFS_MAGIC): Likewise.
11019         (REISERFS_SUPER_MAGIC_STRING): Likewise.
11020         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11021         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11022         (SECURITYFS_MAGIC): Likewise.
11023         (SELINUX_MAGIC): Likewise.
11024         (SMACK_MAGIC): Likewise.
11025         (SOCKFS_MAGIC): Likewise.
11026         (SQUASHFS_MAGIC): Likewise.
11027         (STACK_END_MAGIC): Likewise.
11028         (TMPFS_MAGIC): Likewise.
11029         (USBDEVICE_SUPER_MAGIC): Likewise.
11030         (V9FS_MAGIC): Likewise.
11031         (XENFS_SUPER_MAGIC): Likewise.
11032         (CRAMFS_MAGIC): Fix typo in comment.
11033         (EXT2_SUPER_MAGIC): Update comment.
11034         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11035
11036 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
11037
11038         * sysdeps/arm: Move directory from ports/sysdeps/arm.
11039         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11040         * sysdeps/unix/sysv/linux/arm: Move directory from
11041         ports/sysdeps/unix/sysv/linux/arm.
11042         * README: Update listing for arm-*-linux-gnueabi.
11043
11044         * README: Remove mention of am33.
11045
11046 2014-02-07  Roland McGrath  <roland@hack.frob.com>
11047
11048         * bits/sigset.h (__sigemptyset): Use a statement expression rather
11049         than the comma operator, to avoid "rhs of comma has no effect"
11050         compiler warnings.
11051         (__sigfillset, __sigandset, __sigorset): Likewise.
11052         * include/signal.h (__sigemptyset): Likewise.
11053         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11054
11055 2014-02-07  Allan McRae  <allan@archlinux.org>
11056
11057         * version.h (RELEASE): Set to "development".
11058         (VERSION): Set to "2.19.90"
11059         * NEWS: Add 2.20 section.
11060
11061 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
11062
11063         [BZ #16529]
11064         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11065
11066 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11067
11068         * manual/contrib.texi: Update entry for Carlos O'Donell,
11069         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11070
11071 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
11072
11073         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11074
11075         * sysdeps/unix/sysv/linux/kernel-features.h
11076         [__LINUX_KERNEL_VERSION >= 0x020621]
11077         (__ASSUME_PROC_PID_TASK_COMM): Define.
11078
11079 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11080
11081         [BZ #16398]
11082         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11083         conversion when destination buffer does not have enough space.
11084         * libio/tst-ftell-partial-wide.c: New test case.
11085         * libio/Makefile (tests): Add tst-ftell-partial-wide.
11086
11087         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11088         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
11089         Leonard and Allan McRae.
11090
11091 2014-02-04  David S. Miller  <davem@davemloft.net>
11092
11093         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11094         32-bit.
11095
11096 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11097
11098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11099         New file
11100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11101         New file
11102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11103         New file.
11104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11105         New file.
11106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11107         New file.
11108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11109         New file.
11110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11111         New file.
11112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11113         New file.
11114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11115         New file.
11116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11117         New file.
11118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11119         New file.
11120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11121         New file.
11122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11123         New file.
11124
11125 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11126
11127         * nptl/shlib-versions: Change powerpc*le start to 2.17.
11128         * shlib-versions: Likewise.
11129
11130 2014-02-04  Roland McGrath  <roland@hack.frob.com>
11131             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11132
11133         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11134         (abilist-pattern): New variable, set to %-le.abilist.
11135
11136         * Makerules (abilist-pattern): New variable.
11137         (vpath): Use $(abilist-pattern) in place of %.abilist.
11138         (check-abi-% pattern rule): Likewise.
11139         (check-abi, update-abi): Likewise.
11140
11141 2014-02-04  Eric Wong  <normalperson@yhbt.net>
11142
11143         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11144
11145 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
11146
11147         * manual/startup.texi: Add next, previous, and top entries for
11148         the `Program Arguments' and `Environment Variables' nodes.
11149
11150 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
11151
11152         * manual/macros.texi: Add comments before MTASC-safety macros.
11153
11154         * manual/users.texi: Document MTASC-safety properties.
11155
11156         * manual/threads.texi (pthread_key_create, pthread_key_delete)
11157         (pthread_getspecific, pthread_setspecific): Format with
11158         @deftypefun, and add @safety note.
11159         * manual/signal.texi: Move comments that analyze the above
11160         functions to their home place.
11161
11162 2014-02-03  Allan McRae  <allan@archlinux.org>
11163
11164         * po/sl.po: Update Slovenian translation from translation project.
11165
11166 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
11167
11168         * manual/time.texi (timegm): Add missing blank after @c.
11169         Reported by Joseph Myers <joseph@codesourcery.com>.
11170
11171 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
11172
11173         * manual/check-safety.sh: New.
11174         * manual/Makefile ($(objpfx)stamp-summary): Run it.
11175
11176         * manual/terminal.texi: Document MTASC-safety properties.
11177
11178         * manual/filesys.texi: Document MTASC-safety properties.
11179
11180         * manual/errno.texi: Document MTASC-safety properties.
11181
11182         * manual/intro.texi: Document safety identifiers and
11183         conditionals.
11184
11185         * manual/string.texi (wcstok): Fix prototype.
11186         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11187
11188         * manual/time.texi: Document MTASC-safety properties.
11189
11190         * manual/string.texi: Document MTASC-safety properties.
11191
11192         * manual/threads.texi: Document MTASC-safety properties.
11193
11194         * manual/stdio.texi: Document MTASC-safety properties.
11195
11196         * manual/syslog.texi: Document MTASC-safety properties.
11197
11198         * manual/sysinfo.texi: Document MTASC-safety properties.
11199
11200         * manual/startup.texi: Document MTASC-safety properties.
11201
11202         * manual/socket.texi: Document MTASC-safety properties.
11203
11204         * manual/signal.texi: Document MTASC-safety properties.
11205
11206 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
11207
11208         * manual/setjmp.texi: Document MTASC-safety properties.
11209
11210         * manual/search.texi: Document MTASC-safety properties.
11211
11212         * manual/resource.texi: Document MTASC-safety properties.
11213
11214         * manual/process.texi: Document MTASC-safety properties.
11215
11216         * manual/platform.texi: Document MTASC-safety properties.
11217
11218         * manual/pipe.texi: Document MTASC-safety properties.
11219
11220         * manual/pattern.texi: Document MTASC-safety properties.
11221
11222         * manual/message.texi: Document MTASC-safety properties.
11223
11224         [BZ #12751]
11225         * manual/memory.texi: Document MTASC-safety properties.
11226
11227         * manual/math.texi: Document MTASC-safety properties.
11228
11229         * manual/locale.texi: Document MTASC-safety properties.
11230
11231         * manual/llio.texi: Document MTASC-safety properties.
11232
11233         * manual/libdl.texi: New.
11234
11235         * manual/lang.texi: Document MTASC-safety properties.
11236
11237         * manual/job.texi: Document MTASC-safety properties.
11238
11239         * manual/getopt.texi: Document MTASC-safety properties.
11240
11241         * manual/ctype.texi: Document MTASC-safety properties.
11242
11243 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
11244
11245         [BZ #16046]
11246         * csu/libc-tls.c (static_map): Remove variable.
11247         (__libc_setup_tls): Use main executable's link map for TLS data.
11248         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11249         casing for LM_ID_BASE and GL(dl_nns).
11250         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11251         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
11252         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11253         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11254         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11255         member.
11256         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11257         l_phnum members.
11258
11259 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
11260
11261         * manual/debug.texi: Document MTASC-safety properties.
11262
11263 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
11264
11265         [BZ #16510]
11266         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11267         of __x86_64__ when disabling x87 inline functions.
11268
11269 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
11270
11271         * manual/charset.texi: Document MTASC-safety properties.
11272
11273         * manual/crypt.texi: Document MTASC-safety properties.
11274
11275         * manual/conf.texi: Document MTASC-safety properties.
11276
11277         * manual/arith.texi: Document MTASC-safety properties.
11278
11279         * manual/argp.texi: Document MTASC-safety properties.
11280
11281         * manual/macros.texi: Introduce macros to document multi
11282         thread, asynchronous signal and asynchronous cancellation
11283         safety properties.
11284         * manual/intro.texi: Introduce the properties themselves.
11285
11286 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11287
11288         * sysdeps/sh/sh4/Makefile: New file.
11289
11290 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
11291
11292         * math/gen-libm-test.pl ($srcdir): New variable.
11293         ($auto_input): Use it.
11294
11295 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11296
11297         [BZ #16506]
11298         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11299         access beyond array bounds when parsing netgroups file.
11300
11301         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11302         the old buffer before realloc.
11303
11304 2014-01-27  Allan McRae  <allan@archlinux.org>
11305
11306         * po/fr.po: Update French translation from translation project.
11307
11308 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11309
11310         * sysdeps/sh/libm-test-ulps: Regenerate.
11311
11312 2014-01-24  David S. Miller  <davem@davemloft.net>
11313
11314         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11315
11316 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11317
11318         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11319         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11320
11321 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11322
11323         [BZ #16474]
11324         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11325         string pointers after reallocation.
11326
11327 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11328
11329         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11330         __SH4A__ instead of __SH_FPU_ANY__.
11331
11332 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11333
11334         * sysdeps/sh/fpu_control.h: New file.
11335         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11336         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11337         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11338         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11339         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11340         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11341         * sysdeps/sh/sys/ucontext.h: Remove.
11342         * sysdeps/sh/sys: Remove directory.
11343
11344 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11345
11346         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11347         s390/sys/ucontext.h.
11348         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11349         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11350
11351 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
11352
11353         [BZ #15605]
11354         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11355
11356 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11357
11358         [BZ#16431]
11359         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11360         Adjust the vDSO correctly for internal calls.
11361         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11362
11363 2014-01-20  Allan McRae  <allan@archlinux.org>
11364
11365         * po/ca.po: Update Catalan translation from translation project.
11366
11367 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
11368
11369         * sysdeps/s390/sotruss-lib.c: New file.
11370
11371 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11372
11373         [BZ#16430]
11374         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11375         (__GI___gettimeofday): Alias for a different internal symbol to avoid
11376         local calls issues by not having a PLT stub required for IFUNC calls.
11377         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11378
11379 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
11380
11381         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11382         * math/test-fpucw-static.c: Likewise.
11383
11384 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11385
11386         [BZ #16453]
11387         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11388
11389 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11390
11391         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11392         implementation for powerpc.
11393
11394 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
11395
11396         [BZ #14782]
11397         * sysdeps/posix/system.c (__libc_system): Do not enable
11398         asynchronous cancellation.
11399
11400 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11401
11402         [BZ #16427]
11403         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11404         handling only for numbers special also in the IEEE case.
11405
11406 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11407
11408         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11409
11410 2014-01-11  Allan McRae  <allan@archlinux.org>
11411
11412         * po/bg.po: Update Bulgarian translation from translation project.
11413
11414         * po/de.po: Update German translation from translation project.
11415
11416 2014-01-10  Roland McGrath  <roland@hack.frob.com>
11417
11418         * sysdeps/generic/gcc-compat.h: New file.
11419
11420 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11421
11422         * benchtests/asin-inputs: Correct slow inputs.
11423         * benchtests/acos-inputs: Likewise.
11424
11425 2014-01-10  Allan McRae  <allan@archlinux.org>
11426
11427         * po:sv.po: Update Swedish translation from translation project.
11428
11429         * po/vi.po: Update Vietnamese translation from translation project.
11430
11431         * po/eo.po: Update Esperanto translation from translation project.
11432
11433         * po/cs.po: Update Czech translation from translation project.
11434
11435         * po/nl.po: Update Dutch translation from translation project.
11436
11437         * po/pl.po: Update Polish translation from translation project.
11438
11439         * po/ru.po: Update Russian translation from translation project.
11440
11441         * po/uk.po: Update Ukrainian translation from translation project.
11442
11443 2014-01-08  Brooks Moses  <bmoses@google.com>
11444
11445         * elf/dl-load.c: Fix comment typo.
11446
11447 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
11448
11449         * po/header.pot: Rename to...
11450         * po/pot.header: ... this.
11451         * po/Makefile: Use pot.header.
11452
11453 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
11454             Maxim Kuvyrkov  <maxim@kugelworks.com>
11455
11456         [BZ #16394]
11457         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11458         SRC and DEST against LEN.
11459
11460 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11461
11462         [BZ #16414]
11463         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11464         implementation.
11465         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11466
11467 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11468
11469         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11470
11471 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
11472
11473         [BZ #16408]
11474         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11475         for large positive arguments.
11476
11477 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
11478
11479         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11480
11481         * math/auto-libm-test-in: Mark various tests with
11482         xfail-rounding:ldbl-128ibm.
11483         * math/auto-libm-test-out: Regenerated.
11484
11485         [BZ #16407]
11486         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11487         Increase overflow threshold.
11488
11489 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
11490
11491         [BZ #14286]
11492         * stdio-common/vfprintf.c: Check for integer overflow.
11493
11494 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11495
11496         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11497         the first argument and return value of __tls_get_addr_internal.
11498
11499 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11500
11501         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11502         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11503
11504 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11505
11506         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11507         * sysdeps/s390/rtld-global-offsets.sym: New file.
11508         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11509         GLIBC_2.19 symbol.
11510         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11511         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11512         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11513         ... this.
11514         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11515         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11516         ... this.
11517         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11518         Regenerate.
11519         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11520         Regenerate.
11521         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11522         halfs of GPRs for high_gprs contexts.
11523         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11524         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
11525         field.
11526         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11527         uc_flags field.
11528         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11529         64 bit versions:
11530         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11531         for high GPRs (uc_high_gprs) and for future extensions
11532         (__reserved).
11533         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11534         for future extensions (__reserved).
11535         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11536         64 bit versions:
11537         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11538         SC_HIGHGPRS offset definition.
11539         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11540         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11541
11542         * Versions.def: Add GLIBC_2.19 for libpthread.
11543         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11544         siglongjmp for libpthread with GLIBC_2.19 symver.
11545         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11546         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11547         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11548         * sysdeps/s390/__longjmp.c: New file.
11549         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11550         * sysdeps/s390/longjmp.c: New file.
11551         * sysdeps/s390/setjmp.S: New file.
11552         * sysdeps/s390/sigjmp.S: New file.
11553         * sysdeps/s390/v1-longjmp.c: New file.
11554         * sysdeps/s390/v1-setjmp.h: New file.
11555         * sysdeps/s390/v1-sigjmp.c: New file.
11556         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11557         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11558         GLIBC_2.19 version.
11559         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11560         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11561         versioned symbols for ____longjmp_chk.
11562         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11563         Likewise.
11564         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11565         Regenerate.
11566         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11567         Regenerate.
11568         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11569         Regenerate.
11570         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11571         Regenerate.
11572         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11573         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11574         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11575         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11576         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11577         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11578         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11579         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11580         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11581         * sysdeps/s390/rtld-__longjmp.c: New file.
11582         * sysdeps/s390/rtld-setjmp.S: New file.
11583
11584 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
11585
11586         [BZ #16400]
11587         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11588         Return -__logl (x) for small positive arguments without evaluating
11589         a polynomial.
11590
11591 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
11592
11593         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11594         Rename to ...
11595         (__ptrace_peeksiginfo_args): ... this.
11596         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11597         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11598         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11599
11600 2014-01-06  Allan McRae  <allan@archlinux.org>
11601
11602         * inet/netinet/in.h: Fix typo in comment.
11603
11604 2014-01-05  Andreas Jaeger  <aj@suse.de>
11605
11606         * sysdeps/i386/fpu/libm-test-ulps: Update.
11607
11608 2014-01-05  Allan McRae  <allan@archlinux.org>
11609
11610         * po/libc.pot: Regenerated.
11611
11612         * malloc/memusagestat.c: Fix gettext call formatting.
11613
11614 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
11615
11616         * nscd/nscd.c: Improve usage() output.
11617
11618 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
11619
11620         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11621         * sysdeps/unix/sysv/linux/configure: Regenerated.
11622         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11623         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11624
11625 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
11626
11627         [BZ #16390]
11628         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11629         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11630
11631 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11632
11633         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11634         extra tokens at end of #undef directive.
11635         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11636         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11637         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11638
11639 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
11640
11641         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11642
11643         * math/auto-libm-test-in: Mark various tests with
11644         xfail-rounding:ldbl-128ibm.
11645         * math/auto-libm-test-out: Regenerated.
11646
11647 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
11648
11649         [BZ #16386]
11650         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11651         numbers with subnormal high part when calculating exponent.
11652
11653         [BZ #16385]
11654         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11655         fabs.
11656
11657         [BZ #16384]
11658         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11659         M_LN2l.
11660         (__ieee754_acoshl): Use __log1pl not __log1p.
11661
11662 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
11663
11664         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11665         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11666         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11667         (grow_heap, heap_trim, _int_new_arena, get_free_list)
11668         (reused_arena, arena_get2): Convert to GNU style.
11669         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11670         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11671         (memalign_check, __malloc_set_state): Likewise.
11672         * malloc/mallocbug.c (main): Likewise.
11673         * malloc/malloc.c (__malloc_assert, malloc_init_state)
11674         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11675         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11676         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11677         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11678         (__posix_memalign, malloc_info): Likewise.
11679         * malloc/malloc.h: Likewise.
11680         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11681         (mallochook, memalignhook, reallochook, mabort): Likewise.
11682         * malloc/mcheck.h: Likewise.
11683         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11684         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11685         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11686         * malloc/morecore.c (__default_morecore): Likewise.
11687         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11688         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11689         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11690         (print_and_abort): Likewise.
11691         * malloc/obstack.h: Likewise.
11692         * malloc/set-freeres.c (__libc_freeres): Likewise.
11693         * malloc/tst-mallocstate.c (main): Likewise.
11694         * malloc/tst-mtrace.c (main): Likewise.
11695         * malloc/tst-realloc.c (do_test): Likewise.
11696
11697 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11698
11699         [BZ #16366]
11700         * nscd/netgroupcache.c (do_notfound): New function.
11701         (addgetnetgrentX): Use it.
11702
11703         [BZ # 16365]
11704         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11705         NSS_STATUS_NOTFOUND.
11706
11707 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
11708
11709         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11711
11712 2014-01-01  Allan McRae  <allan@archlinux.org>
11713
11714         * scripts/update-copyrights: Update configure input file suffix.
11715
11716         * NEWS: Update copyright year.
11717         * catgets/gencat.c: Likewise.
11718         * csu/version.c: Likewise.
11719         * debug/catchsegv.sh: Likewise.
11720         * debug/pcprofiledump.c: Likewise.
11721         * debug/xtrace.sh: Likewise.
11722         * elf/ldconfig.c: Likewise.
11723         * elf/ldd.bash.in: Likewise.
11724         * elf/pldd.c: Likewise.
11725         * elf/sotruss.ksh: Likewise.
11726         * elf/sprof.c: Likewise.
11727         * iconv/iconv_prog.c: Likewise.
11728         * iconv/iconvconfig.c: Likewise.
11729         * locale/programs/locale.c: Likewise.
11730         * locale/programs/localedef.c: Likewise.
11731         * login/programs/pt_chown.c: Likewise.
11732         * malloc/memusage.sh: Likewise.
11733         * malloc/memusagestat.c: Likewise.
11734         * malloc/mtrace.pl: Likewise.
11735         * manual/libc.texinfo: Likewise.
11736         * nscd/nscd.c: Likewise.
11737         * nss/getent.c: Likewise.
11738         * nss/makedb.c: Likewise.
11739         * posix/getconf.c: Likewise.
11740         * scripts/test-installation.pl: Likewise.
11741
11742         * All files with FSF copyright notices: Update copyright dates
11743         using scripts/update-copyrights.
11744         * intl/plural.c: Regenerated.
11745         * locale/programs/charmap-kw.h: Likewise.
11746         * locale/programs/locfile-kw.h: Likewise.
11747
11748 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
11749
11750         * sysdeps/unix/sysv/linux/configure: Regenerated.
11751         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11752         the linux/fanotify.h header.
11753         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11754         HAVE_LINUX_FANOTIFY_H is defined.
11755
11756 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
11757
11758         * benchtests/cos-inputs: New inputs.
11759         * benchtests/sin-inputs: Likewise.
11760
11761         * benchtests/atan-inputs: New inputs. Fix name of multiple
11762         precision fallback inputs.
11763
11764         * benchtests/atanh-inputs: New inputs.
11765         * benchtests/tanh-inputs: Likewise.
11766
11767         * benchtests/acosh-inputs: New inputs.
11768         * benchtests/asinh-inputs: Likewise.
11769
11770         * benchtests/cosh-inputs: New inputs.
11771         * benchtests/sinh-inputs: Likewise.
11772
11773         * benchtests/acos-inputs: Add more inputs.
11774         * benchtests/asin-inputs: Likewise.
11775
11776 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
11777
11778         [BZ #16375]
11779         * manual/arith.texi: Fix spelling.
11780         * manual/charset.texi: Likewise.
11781         * manual/errno.texi: Likewise.
11782         * manual/filesys.texi: Likewise.
11783         * manual/lang.texi: Likewise.
11784         * manual/llio.texi: Likewise.
11785         * manual/locale.texi: Likewise.
11786         * manual/message.texi: Likewise.
11787         * manual/resource.texi: Likewise.
11788         * manual/search.texi: Likewise.
11789         * manual/setjmp.texi: Likewise.
11790         * manual/stdio.texi: Likewise.
11791         * manual/string.texi: Likewise.
11792         * manual/sysinfo.texi: Likewise.
11793         * manual/time.texi: Likewise.
11794
11795 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
11796
11797         * po/sl.po: New file.
11798
11799 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
11800
11801         * .gitignore: Add core/.gdbinit/.gdb_history.
11802
11803 2013-12-27  Allan McRae  <allan@archlinux.org>
11804
11805         [BZ #16369]
11806         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11807         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11808
11809 2013-12-24  Brooks Moses  <bmoses@google.com>
11810
11811         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11812         all compilers that claim C++98 compliance, not just GCC.
11813         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11814         Likewise.
11815
11816 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
11817
11818         * NEWS: Restore accidentally deleted bug-fix entries.
11819
11820 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
11821             Ondřej Bílka  <neleai@seznam.cz>
11822
11823         [BZ #15073]
11824         * malloc/malloc.c (_int_free): Perform sanity check only if we
11825         have_lock.
11826
11827 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
11828
11829         [BZ #12986]
11830         * manual/stdio.texi (String Input Conversions): Clarify that character
11831         classes are not supported.
11832
11833 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11834
11835         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11836
11837 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
11838
11839         [BZ #16337]
11840         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11841         Calculate results for small negative arguments directly rather
11842         than using reflection formula with special underflow handling.
11843
11844         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11845         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11846         sysdeps/unix/bsd/bsd4.4/syscalls.list.
11847         (fchflags): Likewise.
11848         (revoke): Likewise.
11849         (setlogin): Likewise.
11850         (sigaltstack): Likewise.
11851         (wait4): Likewise.
11852         (sigblock): Remove.
11853         (sigsetmask): Likewise.
11854         (wait3): Likewise.
11855         (waitpid): Likewise.
11856         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11857         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11858         file.
11859         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11860         * sysdeps/unix/bsd/Makefile: ... here.
11861         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11862         * sysdeps/unix/bsd/Versions: ... here.
11863         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11864         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11865         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11866         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11867         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11868         * sysdeps/unix/bsd/sigblock.c: ... here.
11869         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11870         * sysdeps/unix/bsd/sigsetmask.c: ... here.
11871         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11872         * sysdeps/unix/bsd/sigvec.c: ... here.
11873         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11874         * sysdeps/unix/bsd/tcdrain.c: ... here.
11875         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11876         * sysdeps/unix/bsd/tcgetattr.c: ... here.
11877         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11878         * sysdeps/unix/bsd/tcsetattr.c: ... here.
11879         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11880         * sysdeps/unix/bsd/wait.c: ... here.
11881         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11882         * sysdeps/unix/bsd/wait3.c: ... here.
11883         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11884         * sysdeps/unix/bsd/waitpid.c: ... here.
11885
11886 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
11887
11888         [BZ #16356]
11889         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11890         round-to-nearest for [!USE_AS_EXPM1L].
11891         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11892         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
11893         more tests of exp and exp10.  Expect some exp10 tests to miss
11894         exceptions or fail in directed rounding modes.
11895         * math/auto-libm-test-out: Regenerated.
11896         * math/libm-test.inc (exp10_tonearest_test_data): New array.
11897         (exp10_test_tonearest): New function.
11898         (exp10_towardzero_test_data): New array.
11899         (exp10_test_towardzero): New function.
11900         (exp10_downward_test_data): New array.
11901         (exp10_test_downward): New function.
11902         (exp10_upward_test_data): New array.
11903         (exp10_test_upward): New function.
11904         (main): Call the new functions.
11905         * sysdeps/i386/fpu/libm-test-ulps: Update.
11906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11907
11908 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
11909
11910         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11911         asinh, atan, atan2, atanh, cbrt, cos and cosh.
11912         * math/auto-libm-test-out: Regenerated.
11913         * math/libm-test.inc (acosh_test_data): Add more tests.
11914         (atanh_test_data): Likewise.
11915         (ceil_test_data): Likewise.
11916         (copysign_test_data): Likewise.
11917         * sysdeps/i386/fpu/libm-test-ulps: Update.
11918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11919
11920         * timezone/checktab.awk: Update from tzcode 2013i.
11921         * timezone/private.h: Likewise.
11922         * timezone/scheck.c: Likewise.
11923         * timezone/tzfile.h: Likewise.
11924         * timezone/tzselect.ksh: Likewise.
11925         * timezone/zdump.c: Likewise.
11926         * timezone/zic.c: Likewise.
11927
11928         * math/auto-libm-test-in: Add tests of cpow.
11929         * math/auto-libm-test-out: Regenerated.
11930         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
11931         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11932         mpc_cc_c.
11933         (func_calc_desc): Add mpc_cc_c union field.
11934         (test_functions): Add cpow.
11935         (special_fill_2pi): New function.
11936         (special_real_inputs): Add 2pi.
11937         (calc_generic_results): Handle mpc_cc_c.
11938         * sysdeps/i386/fpu/libm-test-ulps: Update.
11939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11940
11941         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11942         csqrt, ctan and ctanh.
11943         * math/auto-libm-test-out: Regenerated.
11944         * math/libm-test.inc (TEST_COND_x86_64): New macro.
11945         (TEST_COND_x86): Likewise.
11946         (ccos_test_data): Use AUTO_TESTS_c_c.
11947         (ccosh_test_data): Likewise.
11948         (cexp_test_data): Likewise.
11949         (clog_test_data): Likewise.
11950         (csqrt_test_data): Likewise.
11951         (ctan_test_data): Likewise.
11952         (ctan_tonearest_test_data): Likewise.
11953         (ctan_towardzero_test_data): Likewise.
11954         (ctan_downward_test_data): Likewise.
11955         (ctan_upward_test_data): Likewise.
11956         (ctanh_test_data): Likewise.
11957         (ctanh_tonearest_test_data): Likewise.
11958         (ctanh_towardzero_test_data): Likewise.
11959         (ctanh_downward_test_data): Likewise.
11960         (ctanh_upward_test_data): Likewise.
11961         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11962         mpc_c_c.
11963         (func_calc_desc): Add mpc_c_c union field.
11964         (FUNC_mpc_c_c): New macro.
11965         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11966         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11967         ctanh.
11968         (special_fill_min_subnorm_p120): New function.
11969         (special_real_inputs): Add min_subnorm_p120.
11970         (calc_generic_results): Handle mpc_c_c.
11971         * sysdeps/i386/fpu/libm-test-ulps: Update.
11972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11973
11974 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11975
11976         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11977         (do_sin_slow): New functions.
11978         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11979         (cslow2, csloww1, csloww2): Use the new functions.
11980
11981         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11982         Use M to change sign of result instead of X.  Assume X is
11983         positive.
11984         (csloww1): Likewise.
11985         (__sin): Adjust.
11986         (__cos): Adjust.
11987
11988         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11989         arguments A and DA.
11990         (__sin): Adjust.
11991         (__cos): Likewise.
11992
11993         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11994         (__cos): Likewise.
11995         (sloww1): Don't adjust sign of DX.
11996         (csloww1): Likewise.
11997         (sloww2): Use X directly and don't adjust sign of DX.
11998         (csloww2): Likewise.
11999
12000 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12001
12002         * math/auto-libm-test-in: Add tests of cabs and carg.
12003         * math/auto-libm-test-out: Regenerated.
12004         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12005         (carg_test_data): Likewise.
12006         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12007         mpc_c_f.
12008         (func_calc_desc): Add mpc_c_f union field.
12009         (test_functions): Add cabs and carg.
12010         (calc_generic_results): Handle mpc_c_f.
12011
12012         * sysdeps/powerpc/powerpc32/libgcc-compat.S
12013         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12014         as a macro and a compat symbol.
12015         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12016         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12017         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12018         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12019         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12020         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12021         not use .hidden.
12022         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12023         Likewise.
12024         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12025         Likewise.
12026         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12027         Likewise.
12028         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12029         Likewise.
12030         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12031         Likewise.
12032         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12033         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12034         from GLIBC_2.3.2.
12035
12036 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12037
12038         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12039
12040 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12041
12042         * manual/texinfo.tex: Update to version 2013-11-26.10 with
12043         trailing whitespace removed.
12044         * scripts/config.guess: Update to version 2013-11-29.
12045         * scripts/config.sub: Update to version 2013-10-01.
12046
12047         * math/auto-libm-test-in: Add tests of sincos.
12048         * math/auto-libm-test-out: Regenerated.
12049         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12050         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12051         mpfr_f_11.
12052         (func_calc_desc): Add mpfr_f_11 union field.
12053         (test_functions): Add sincos.
12054         (calc_generic_results): Handle mpfr_f_11.
12055         * sysdeps/i386/fpu/libm-test-ulps: Update.
12056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12057
12058 2013-12-19  Andreas Schwab  <schwab@suse.de>
12059
12060         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12061         CALL_MCOUNT.
12062         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12063         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12064         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12065
12066 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12067
12068         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12069         * sysdeps/i386/fpu/libm-test-ulps: Update.
12070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12071
12072         [BZ #16293]
12073         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12074         round-to-nearest mode when using frndint.
12075         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12076         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12077         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12078         Likewise.
12079         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
12080         sinh test to fail.
12081         * math/auto-libm-test-out: Regenerated.
12082         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12083         (TEST_COND_x86): Likewise.
12084         (expm1_tonearest_test_data): New array.
12085         (expm1_test_tonearest): New function.
12086         (expm1_towardzero_test_data): New array.
12087         (expm1_test_towardzero): New function.
12088         (expm1_downward_test_data): New array.
12089         (expm1_test_downward): New function.
12090         (expm1_upward_test_data): New array.
12091         (expm1_test_upward): New function.
12092         (main): Run the new test functions.
12093         * sysdeps/i386/fpu/libm-test-ulps: Update.
12094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12095
12096         * include/features.h: Update comment documenting feature test
12097         macros.  Mention _DEFAULT_SOURCE in comment.
12098         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12099         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12100         _BSD_SOURCE and _SVID_SOURCE.
12101         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12102         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12103         !_SVID_SOURCE]: Likewise.
12104         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12105         (__USE_POSIX_IMPLICITLY): Define.
12106         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12107         (_POSIX_SOURCE): Undefine and redefine.
12108         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12109         (_POSIX_C_SOURCE): Likewise.
12110         * manual/creature.texi (_DEFAULT_SOURCE): Document.
12111         (Feature Test Macros): Update documentation of default features.
12112
12113 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12114
12115         * benchtests/Makefile: Add bench-strtok.
12116         * benchtests/bench-strtok.c: New file: strtok benchtest.
12117
12118 2013-12-19  Allan McRae  <allan@archlinux.org>
12119
12120         * manual/install.texi: Suppress menu for plain text output.
12121         * INSTALL: Regenerated.
12122
12123 2013-12-18  Brooks Moses  <bmoses@google.com>
12124
12125         [BZ #15846]
12126         * misc/getauxval.c: Include errno.h.
12127         (__getauxval): Set errno to ENOENT if the requested type is not
12128         found.
12129         * misc/sys/auxv.h (getauxval): Document that it may set errno;
12130         don't declare with __attribute_const__.
12131         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12132         * manual/startup.texi: Document that getauxval sets errno.
12133
12134 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12135
12136         * math/auto-libm-test-in: Add tests of jn and yn.
12137         * math/auto-libm-test-out: Regenerated.
12138         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12139         (yn_test_data): Likewise.
12140         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12141         mpfr_if_f.
12142         (func_calc_desc): Add mpfr_if_f union field.
12143         (FUNC_mpfr_if_f): New macro.
12144         (test_functions): Add jn and yn.
12145         (calc_generic_results): Assert type of second input for
12146         mpfr_ff_f.  Handle mpfr_if_f.
12147         (output_for_one_input_case): Disable all checking for arguments
12148         fitting floating-point types in case of an integer argument.
12149         * sysdeps/i386/fpu/libm-test-ulps: Update.
12150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12151
12152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12153         Don't expect fegetround reference in libm.so.
12154
12155 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12156
12157         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12158         $(config-cflags-nofma).
12159
12160 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12161
12162         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12163         * math/auto-libm-test-out: Regenerated.
12164
12165         [BZ #16338]
12166         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12167         to determine exponent and adjust argument to have exponent of -1.
12168         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12169         log2.
12170         * math/auto-libm-test-out: Regenerated.
12171         * sysdeps/i386/fpu/libm-test-ulps: Update.
12172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12173
12174 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
12175
12176         * manual/probes.texi: Remove cases when per-thread arenas are
12177         disabled.
12178
12179 2013-12-18  Andreas Schwab  <schwab@suse.de>
12180
12181         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12182         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12183         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12184         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12185         * sysdeps/i386/i686/multiarch/Makefile: Update.
12186         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12187
12188 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12189
12190         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12191         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12192
12193 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
12194
12195         [BZ #15968]
12196         Support TZ transition times < 00:00:00.
12197         This is needed for version-3 tz-format files; it supports time
12198         stamps past 2037 for America/Godthab (the only entry in the tz
12199         database for which this change is relevant).
12200         * manual/time.texi (TZ Variable): Document transition times
12201         from -167:59:59 through -00:00:01.
12202         * time/tzset.c (tz_rule): Time of day is now signed.
12203         (__tzset_parse_tz): Parse negative time of day.
12204
12205         Document TZ transition times >= 25:00:00.
12206         * manual/time.texi (TZ Variable): Document transition times from
12207         25:00:00 through 167:59:59.  These are already supported, and this
12208         support will help with version-3 tz-format files.
12209
12210         * manual/time.texi (TZ Variable): Modernize North America example
12211         to reflect current (i.e., 2007-and-later) daylight saving rules.
12212
12213         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12214
12215 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12216
12217         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12218         * sysdeps/unix/bsd/bits/stat.h: Likewise.
12219         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12220         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12221         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12222         * sysdeps/unix/bsd/bsdstat.h: Likewise.
12223         * sysdeps/unix/bsd/clock.c: Likewise.
12224         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12225         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12226         * sysdeps/unix/bsd/init-posix.c: Likewise.
12227         * sysdeps/unix/bsd/poll.c: Likewise.
12228         * sysdeps/unix/bsd/ptsname.c: Likewise.
12229         * sysdeps/unix/bsd/seekdir.c: Likewise.
12230         * sysdeps/unix/bsd/setegid.c: Likewise.
12231         * sysdeps/unix/bsd/seteuid.c: Likewise.
12232         * sysdeps/unix/bsd/setgid.c: Likewise.
12233         * sysdeps/unix/bsd/setrgid.c: Likewise.
12234         * sysdeps/unix/bsd/setruid.c: Likewise.
12235         * sysdeps/unix/bsd/setsid.c: Likewise.
12236         * sysdeps/unix/bsd/setuid.c: Likewise.
12237         * sysdeps/unix/bsd/sigaction.c: Likewise.
12238         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12239         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12240         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12241         * sysdeps/unix/bsd/telldir.c: Likewise.
12242         * sysdeps/unix/bsd/times.c: Likewise.
12243         * sysdeps/unix/bsd/usleep.c: Likewise.
12244
12245         * misc/Makefile (install-lib): Remove libbsd-compat.a.
12246         ($(objpfx)libbsd-compat.a): Remove rule.
12247
12248         * include/features.h (__FAVOR_BSD): Do not define.
12249         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12250         features conflicting with POSIX.
12251         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12252         (_BSD_SOURCE): Remove description of not being a subset of other
12253         feature test macros.
12254         * manual/job.texi (getpgrp): Do not document BSD version.
12255         (getpgid): Do not document by reference to BSD getpgrp.
12256         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12257         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12258         * signal/signal.h [__FAVOR_BSD]: Likewise.
12259         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12260         instead of making contents conditional on [__FAVOR_BSD].
12261         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12262
12263 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12264
12265         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12266
12267 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12268
12269         [BZ #16314]
12270         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12271         values below 2**-450, not 2**-500.
12272         * math/auto-libm-test-in: Don't allow spurious underflow from
12273         hypot.
12274         * math/auto-libm-test-out: Regenerated.
12275
12276         [BZ #16316]
12277         [BZ #16330]
12278         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12279         values of ha and hb and sort them after adjusting subnormal
12280         arguments.
12281         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12282         Likewise.
12283         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12284         values of ea and eb and sort them after adjusting subnormal
12285         arguments.
12286         * math/auto-libm-test-in: Do not expect some hypot tests of
12287         subnormals to fail.  Add more hypot tests.
12288         * math/auto-libm-test-out: Regenerated.
12289
12290 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12291
12292         [BZ #13304]
12293         * sysdeps/sh/s_fma.c: New file.
12294         * sysdeps/sh/s_fmaf.c: New file.
12295         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
12296         version.
12297         * sysdeps/sh/Implies: Add sh/soft-fp.
12298
12299 2013-12-16  Roland McGrath  <roland@hack.frob.com>
12300
12301         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
12302         level of indirection to members `objname', `errstring', `malloced'.
12303         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12304         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
12305         it as the __longjmp argument (just pass 1 instead).
12306         (_dl_catch_error): Initialize C with argument pointers and address of
12307         volatile local ERRCODE rather than copying values out of C at return.
12308
12309 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
12310
12311         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12312         * math/auto-libm-test-out: Regenerated.
12313         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12314         (hypot_test_data): Likewise.
12315         (pow_test_data): Likewise.
12316         (pow_tonearest_test_data): Likewise.
12317         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12318         mpfr_ff_f.
12319         (func_calc_desc): Add mpfr_ff_f union field.
12320         (FUNC_mpfr_ff_f): New macro.
12321         (test_functions): Add atan2, hypot and pow.
12322         (special_fill_min): New function.
12323         (special_fill_minus_min): Likewise.
12324         (special_fill_min_subnorm): Likewise.
12325         (special_fill_minus_min_subnorm): Likewise.
12326         (special_real_inputs): Add min, -min, min_subnorm and
12327         -min_subnorm.
12328         (calc_generic_results): Handle mpfr_ff_f.
12329         * sysdeps/i386/fpu/libm-test-ulps: Update.
12330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12331
12332 2013-12-16  Will Newton  <will.newton@linaro.org>
12333
12334         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12335         (Aligned Memory Blocks): Add documentation for aligned_alloc
12336         and suggest it as an alternative to posix_memalign.
12337         (Hooks for Malloc): Document __memalign_hook is also called
12338         for aligned_alloc.  (Summary of Malloc): Add summary for
12339         aligned alloc.  Document __memalign_hook is also called
12340         for aligned_alloc.
12341
12342 2013-12-16  Will Newton  <will.newton@linaro.org>
12343
12344         * manual/memory.texi (Malloc Examples): Clarify default
12345         alignment documentation.  Suggest posix_memalign rather
12346         than memalign or valloc.
12347         (Aligned Memory Blocks): Remove suggestion to use memalign
12348         or valloc.  Remove obsolete comment about BSD.
12349         Document memalign errno values and mark the function obsolete.
12350         Document posix_memalign returned error codes.  Mark valloc
12351         as obsolete.  (Hooks for Malloc): __memalign_hook is also
12352         called for posix_memalign and valloc.
12353         (Summary of Malloc): Add posix_memalign to function summary.
12354         __memalign_hook is also called for posix_memalign and valloc.
12355
12356 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12357
12358         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12359         TAYLOR_SIN.
12360         (__sin): Adjust.
12361         (__cos): Likewise.
12362         (sloww): Use mynumber union.  Expand ternary operator into
12363         if-else statements.
12364         (cslow): use mynumber union.
12365
12366 2013-12-16  Allan McRae  <allan@archlinux.org>
12367
12368         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12369         * configure: Regenerated.
12370
12371         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12372
12373         [BZ #14120]
12374         * configure.ac: Added --enable-maintainer-mode. Check for
12375         autoconf when enabled.
12376         * configure: Regenerated.
12377
12378         * nscd/nscd.service: New file.
12379         * nscd/nscd.tmpfiles: New file.
12380
12381 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
12382
12383         [BZ #12100]
12384         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12385         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12386         * sysdeps/x86_64/multiarch/strstr.c: ... here.
12387         (strstr): Add __strstr_sse2_unaligned ifunc.
12388         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12389         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12390         (strcasestr): Remove __strcasestr_sse42 ifunc.
12391         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12392         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12393         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12394
12395 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12396
12397         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12398         * sysdeps/sh/bits/fenv.h: ... here.
12399         * sysdeps/sh/sh4/fpu/bits: Remove directory.
12400
12401 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12402
12403         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12404
12405         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12406         hypotf multiarch implementations.
12407         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12408         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12409         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12410         multiarch hypot for PPC64.
12411         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12412         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12413         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12414         multiarch hypotf for PPC64.
12415
12416         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12417         modff multiarch implementations.
12418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12421         multiarch modf for PPC64.
12422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12425         multiarch modff for PPC64.
12426
12427         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12428         and logl multiarch implementations.
12429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12432         multiarch logb for PPC64.
12433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12436         multiarch logb for PPC64.
12437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12440         multiarch logb for PPC64.
12441
12442         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12443         isinff multiarch implementation.
12444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12445         file.
12446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12448         multiarch isinf for PPC64.
12449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12450         file.
12451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12452         multiarch isinff for PPC64.
12453
12454         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12455         finitef multiarch implementation.
12456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12457         file.
12458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12460         multiarch finite for PPC64.
12461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12462         file.
12463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12464         multiarch finitef for PPC64.
12465
12466         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12467         lrint multiarch implementation.
12468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12469         file.
12470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12472         multiarch llrint for PPC64.
12473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12474         multiarch lrint for PPC64.
12475
12476         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12477         copysignf multiarch implementation.
12478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12479         file.
12480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12481         file.
12482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12483         multiarch copysign for PPC64.
12484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12485         multiarch copysignf for PPC64.
12486
12487         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12488         multiarch implementation.
12489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12490         file.
12491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12492         file.
12493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12494         file.
12495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12496         file.
12497         multiarch llround for PPC64.
12498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12499         multiarch trunc for PPC64.
12500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12501         multiarch truncf for PPC64.
12502
12503         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12504         multiarch implementation.
12505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12506         file.
12507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12508         file.
12509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12510         file.
12511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12512         file.
12513         multiarch llround for PPC64.
12514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12515         multiarch round for PPC64.
12516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12517         multiarch roundf for PPC64.
12518
12519         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12520         multiarch implementation.
12521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12522         file.
12523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12524         file.
12525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12526         file.
12527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12528         file.
12529         multiarch llround for PPC64.
12530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12531         multiarch floor for PPC64.
12532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12533         multiarch floorf for PPC64.
12534
12535         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12536         multiarch implementation.
12537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12538         file.
12539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12540         file.
12541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12542         file.
12543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12544         file.
12545         multiarch llround for PPC64.
12546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12547         multiarch ceil for PPC64.
12548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12549         multiarch ceilf for PPC64.
12550
12551         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12552         multiarch implementation.
12553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12554         file.
12555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12556         file.
12557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12558         file.
12559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12560         multiarch llround for PPC64.
12561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12562         multiarch lround for PPC64.
12563
12564         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12565         multiarch implementation.
12566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12569         file.
12570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12573         multiarch isnan for PPC64.
12574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12575         multiarch isnanf for PPC64.
12576
12577         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12578         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12579         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12580         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12581         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12583
12584         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12585         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12586         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12587         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12588
12589         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12590         multiarch implementations.
12591         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12592         (__libc_ifunc_impl_list): Likewise.
12593         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12594         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12595         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12596         multiarch stpcpy for PPC64.
12597
12598         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12599         multiarch implementations.
12600         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12601         (__libc_ifunc_impl_list): Likewise.
12602         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12603         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12604         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12605         multiarch strcpy for PPC64.
12606
12607         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12608         redefine function name.
12609         (_wordcopy_fwd_dest_aligned): Likewise.
12610         (_wordcopy_bwd_aligned): Likewise.
12611         (_wordcopy_bwd_dest_aligned): Likewise.
12612         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12613         multiarch implementations.
12614         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12615         (__libc_ifunc_impl_list): Likewise.
12616         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12617         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12618         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12619         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12620         multiarch wcscpy for PPC64.
12621
12622         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12623         multiarch implementations.
12624         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12625         (__libc_ifunc_impl_list): Likewise.
12626         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12627         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12628         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12629         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12630         multiarch wcscpy for PPC64.
12631
12632         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12633         multiarch implementations.
12634         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12635         (__libc_ifunc_impl_list): Likewise.
12636         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12637         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12638         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12639         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12640         multiarch wcsrchr for PPC64.
12641
12642         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12643         multiarch implementations.
12644         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12645         (__libc_ifunc_impl_list): Likewise.
12646         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12647         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12648         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12649         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12650         multiarch wcschr for PPC64.
12651
12652         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12653         multiarch implementations.
12654         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12655         (__libc_ifunc_impl_list): Likewise.
12656         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12657         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12658         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12659         multiarch strchrnul for PPC64.
12660
12661         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12662         implementations.
12663         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12664         (__libc_ifunc_impl_list): Likewise.
12665         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12666         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12667         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12668         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12669         strchr for PPC64.
12670
12671         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12672         implementations.
12673         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12674         (__libc_ifunc_impl_list): Likewise.
12675         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12676         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12677         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12678         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12679         strncmp for PPC64.
12680
12681         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12682         multiarch implementations.
12683         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12684         (__libc_ifunc_impl_list): Likewise.
12685         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12686         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12687         strncasecmp for PPC64.
12688         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12689         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12690         multiarch strncasecmp_l for PPC64.
12691
12692         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12693         multiarch implementations.
12694         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12695         (__libc_ifunc_impl_list): Likewise.
12696         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12697         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12698         multiarch strcasecmp for PPC64.
12699         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12700         file.
12701         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12702         multiarch strcasecmp_l for PPC64.
12703
12704         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12705         implementations.
12706         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12707         (__libc_ifunc_impl_list): Likewise.
12708         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12709         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12710         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12711         strnlen for PPC64.
12712
12713         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12714         implementations.
12715         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12716         (__libc_ifunc_impl_list): Likewise.
12717         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12718         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12719         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12720         strlen for PPC64.
12721
12722         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12723         implementations.
12724         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12725         (__libc_ifunc_impl_list): Likewise.
12726         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12727         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12728         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12729         rawmemrchr for PPC64.
12730
12731         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12732         implementation.
12733         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12734         (__libc_ifunc_impl_list): Likewise.
12735         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12736         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12737         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12738         memrchr for PPC64.
12739
12740         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12741         implementation.
12742         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12743         (__libc_ifunc_impl_list): Likewise.
12744         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12745         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12746         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12747         memchr for PPC64.
12748
12749         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12750         implementation.
12751         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12752         (__libc_ifunc_impl_list): Likewise.
12753         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12754         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12755         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12756         mempcpy for PPC64.
12757
12758         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12759         avoid cretion of __bzero symbol.
12760         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12761         Likewise.
12762         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12763         Likewise.
12764         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12765         Likewise.
12766         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12767         multiarch implementations.
12768         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12769         (__libc_ifunc_impl_list): Likewise.
12770         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12771         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12772         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12773         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12774         bzero for PPC32.
12775         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12776         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12777         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12778         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12779         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12780         memset for PPC64.
12781         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12782
12783         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12784         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12785         implementations.
12786         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12787         (__libc_ifunc_impl_list): Likewise.
12788         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12789         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12790         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12791         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12792         memcmp for PPC64.
12793
12794         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12795         multiarch for POWER/PPC64.
12796         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12797         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12798         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12799         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12800         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12801         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12802         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12803         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12804         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12805         memcpy for PPC64.
12806
12807         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12808         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12809         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12810         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12811         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12812         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12813         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12814         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12815         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12816         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12817         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12818         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12819         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12820         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12821         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12829
12830 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12831
12832         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12833
12834 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12835
12836         * benchtests/Makefile (bench): Add exp2 and log2.
12837         (LDLIBS-bench-exp2): Add -lm.
12838         (LDLIBS-bench-log2): Likewise.
12839         * benchtests/exp2-inputs: New inputs file.
12840         * benchtests/log2-inputs: New inputs file.
12841         * benchtests/log-inputs: Add new inputs.
12842         * benchtests/tan-inputs: Likewise.
12843
12844 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12845
12846         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12847         definition...
12848         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12849         (csloww2): ... from here.
12850
12851         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12852         instead of structures.
12853         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12854         (POLYNOMIAL): Likewise.
12855         (TAYLOR_SLOW): Likewise.
12856         (__sin): Likewise.
12857         (__cos): Likewise.
12858         (slow1): Likewise.
12859         (slow2): Likewise.
12860         (sloww): Likewise.
12861         (sloww1); Likewise.
12862         (sloww2): Likewise.
12863         (bsloww1): Likewise.
12864         (bsloww2): Likewise.
12865         (cslow2): Likewise.
12866         (csloww): Likewise.
12867         (csloww1): Likewise.
12868         (csloww2): Likewise.
12869
12870 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
12871
12872         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12873         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12874         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12875         * malloc/hooks.c (realloc_check): Likewise.
12876
12877         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12878         * malloc/arena.c: Remove PER_THREAD conditional.
12879         [!PER_THREAD]: Remove code.
12880         (ptmalloc_unlock_all2): Likewise.
12881         (ptmalloc_init): Likewise.
12882         (_int_new_arena): Likewise.
12883         (arena_get2): Likewise.
12884         * malloc/hooks.c (__malloc_get_state): Likewise.
12885         (__malloc_set_state): Likewise.
12886         * malloc/malloc.c: Likewise.
12887         (struct malloc_state): Likewise.
12888         (struct malloc_par): Likewise.
12889         (__libc_realloc): Likewise.
12890         (__libc_mallopt): Likewise.
12891
12892 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12893
12894         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12895
12896 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
12897
12898         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12899         macro to a function.  Check for zero perturb_byte.
12900         (_int_malloc, _int_free): Remove zero perturb_byte checks.
12901
12902         * malloc/malloc.c: (force_reg): Remove.
12903         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12904         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
12905         force_reg by atomic_forced_read.
12906         * malloc/arena.c (ptmalloc_init): Likewise.
12907         * malloc/hooks.c (top_check): Likewise.
12908
12909 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12910
12911         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12912
12913 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
12914
12915         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12916
12917 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
12918
12919         * math/auto-libm-test-in: Add tests of lgamma.
12920         * math/auto-libm-test-out: Regenerated.
12921         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12922         (M_LOG_2_SQRT_PIl): Likewise.
12923         (lgamma_test_data): Use AUTO_TESTS_f_f1.
12924         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12925         mpfr_f_f1.
12926         (func_calc_desc): Add mpfr_f_f1 union field.
12927         (ARGS1): New macro.
12928         (ARGS2): Likewise.
12929         (ARGS3): Likewise.
12930         (ARGS4): Likewise.
12931         (RET1): Likewise.
12932         (RET2): Likewise.
12933         (CALC): Likewise.
12934         (FUNC): Likewise.
12935         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12936         (test_functions): Add lgamma.
12937         (calc_generic_results): Handle mpfr_f_f1.
12938         * sysdeps/i386/fpu/libm-test-ulps: Update.
12939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12940
12941 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12942
12943         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12944         __mpn_add_n for PowerPC64/POWER7.
12945         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12946         __mpn_sub_n for PowerPC64/POWER7.
12947
12948         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12949         __mpn_addmul_1 for PowerPC64.
12950         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12951         __mpn_submul_1 for PowerPC64.
12952         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12953         for PowerPC64.
12954         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12955         for PowerPC64.
12956
12957 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
12958
12959         [BZ #15089]
12960         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12961
12962 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12963
12964         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12965
12966         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12967         add multiarch folders.
12968         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12969         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12970         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12971         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12972         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12973         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12974         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12975         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12976         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12977         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12978         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12985
12986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12987         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12989         New file.
12990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12991         New file.
12992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12993         multiarch __ieee754_hypot for PowerPC32.
12994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12995         New file.
12996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12997         New file.
12998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12999         multiarch __ieee754_hypotf for PowerPC32.
13000
13001         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13002         long_double_symbol only if __logbl is defined.
13003         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13004         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13005         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13006         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13007         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13008         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13009         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13010         path for implementation.
13011         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13012         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13014         logb, and logbl multiarch implementations for PowerPC32.
13015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13016         file.
13017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13018         file.
13019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13020         multiarch logb for PowerPC32.
13021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13022         file.
13023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13024         file.
13025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13026         multiarch logbf for PowerPC32.
13027         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13029         file.
13030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13031         multiarch logbl implementation for PowerPC32.
13032
13033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13034         and modff multiarch implementations.
13035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13036         New file.
13037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13038         New file.
13039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13040         multiarch modf for PowerPC32.
13041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13042         New file.
13043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13044         New file.
13045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13046         multiarch modff for PowerPC32.
13047
13048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13049         and lrintf multiarch implementations.
13050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13051         New file.
13052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13053         New file.
13054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13055         multiarch lrint for PowerPC32.
13056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13057         file: multiarch lrintf for PowerPC32.
13058
13059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13060         and lroundf multiarch implementations.
13061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13062         New file.
13063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13064         New file.
13065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13066         New file.
13067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13068         multiarch lround for PowerPC32.
13069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13070         file: multiarch lroundf for PowerPC32.
13071
13072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13073         copysign and copysignf multiarch implementations.
13074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13075         New file.
13076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13077         New file.
13078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13079         file: multiarch copysign for PowerPC32.
13080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13081         file: multiarch copysignf for PowerPC32.
13082
13083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13084         and truncf multiarch implementations.
13085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13086         New file.
13087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13088         file.
13089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13090         multiarch trunc for PowerPC32.
13091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13092         New file.
13093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13094         New file.
13095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13096         multiarch truncf for PowerPC32.
13097
13098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13099         and roundf multiarch implementations.
13100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13101         New file.
13102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13103         file.
13104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13105         multiarch round for PowerPC32.
13106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13107         New file.
13108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13109         New file.
13110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13111         multiarch roundf for PowerPC32.
13112
13113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13114         and floorf multiarch implementations.
13115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13116         New file.
13117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13118         file.
13119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13120         multiarch floor for PowerPC32.
13121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13122         New file.
13123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13124         New file.
13125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13126         multiarch floorf for PowerPC32.
13127
13128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13129         and ceilf multiarch implementations.
13130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13131         New file.
13132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13133         file.
13134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13135         multiarch ceil for PowerPC32.
13136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13137         New file.
13138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13139         file.
13140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13141         multiarch ceilf for PowerPC32.
13142
13143         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13144         is defined.
13145         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13146         FINITEF is defined.
13147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13148         and finitef multiarch implementations.
13149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13150         New file.
13151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13152         file.
13153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13154         multiarch finite for PowerPC32.
13155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13156         New file.
13157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13158         file: multiarch finitef for PowerPC32.
13159
13160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13161         and isinff multiarch implementations.
13162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13163         file.
13164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13165         file.
13166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13167         multiarch isinf for PowerPC32.
13168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13169         New file.
13170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13171         multiarch isinff for PowerPC32.
13172
13173         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13174         alias when __isnan is defined.
13175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13176         and isnanf multiarch implementations.
13177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13178         file.
13179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13180         file.
13181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13182         file.
13183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13184         file.
13185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13186         multiarch isnan for PowerPC32.
13187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13188         New file.
13189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13190         New file.
13191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13192         multiarch isnanf for PowerPC32.
13193
13194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13195         and sqrtf multiarch implementations.
13196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13197         file.
13198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13199         file.
13200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13201         multiarch sqrt for PowerPC32.
13202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13203         file.
13204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13205         file.
13206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13207         multiarch sqrtf for PowerPC32.
13208
13209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13210         and llroundf multiarch implementations.
13211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13212         New file.
13213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13214         New file.
13215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13216         New file.
13217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13218         file: multiarch llround for PowerPC32.
13219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13220         file: multiarch llroundf for PowerPC32.
13221
13222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13223         multiarch PowerPC32 fpu implementations.
13224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13225         New file.
13226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13227         New file.
13228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13229         multiarch llrint for PowerPC32.
13230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13231         New file.
13232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13233         New file.
13234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13235         file.
13236
13237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13238
13239         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13240         file.
13241         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13242         file.
13243         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13244         file.
13245         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13246         multiarch wordcopy for PPC32.
13247         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13248         wordcopy objects.
13249         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13250         (__libc_ifunc_impl_list): Likewise.
13251         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13252         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13253         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13254         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13255         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13256         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13257
13258         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13259         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13260         file.
13261         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13262         file.
13263         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13264         file.
13265         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13266         multiarch wcscpy for PPC32.
13267         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13268         multiarch objects.
13269         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13270         (__libc_ifunc_impl_list): Likewise.
13271         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13272         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13273         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13274         sysdeps/powerpc/power6/wcscpy.c.
13275
13276         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13277         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13278         file.
13279         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13280         file.
13281         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13282         file.
13283         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13284         multiarch wcsrchr for PPC32.
13285         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13286         multiarch objects.
13287         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13288         (__libc_ifunc_impl_list): Likewise.
13289         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13290         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13291         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13292         sysdeps/powerpc/power6/wcsrchr.c.
13293
13294         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13295         file.
13296         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13297         file.
13298         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13299         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13300         multiarch wcschr for PPc32.
13301         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13302         multiarch objects.
13303         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13304         (__libc_ifunc_impl_list): Likewise.
13305         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13306         * sysdeps/powerpc/power6/wcschr.c: ... to here.
13307         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13308         sysdeps/powerpc/power6/wcschr.c.
13309
13310         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13311         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13312         file.
13313         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13314         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13315         file: multiarch strchr for PPC32.
13316         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13317         multiarch objects.
13318         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13319         (__libc_ifunc_impl_list): Likewise.
13320
13321         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13322         name.
13323         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13324         file.
13325         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13326         file.
13327         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13328         multiarch strchrnul for PPC32.
13329         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13330         multiarch objects.
13331         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13332         (__libc_ifunc_impl_list): Likewise.
13333
13334         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13335         file.
13336         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13337         multiarch strncasecmp for PPC32.
13338         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13339         file.
13340         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13341         multiarch strncasecmp_l for PPC32.
13342         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13343         strncasecmp multiarch objects.
13344         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13345         (__libc_ifunc_impl_list): Likewise.
13346
13347         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13348         file.
13349         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13350         multiarch strncasecmp for PPC32.
13351         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13352         New file.
13353         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13354         multiarch strcasecmp_l for PPC32.
13355         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13356         multiarch objects.
13357         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13358         (__libc_ifunc_impl_list): Likewise.
13359
13360         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13361         file.
13362         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13363         file.
13364         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13365         multiarch strncmp for PPC32.
13366         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13367         multiarch objects.
13368         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13369         (__libc_ifunc_impl_list): Likewise.
13370
13371         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13372         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13373         file.
13374         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13375         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13376         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13377         multiarch objects.
13378         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13379         (__libc_ifunc_impl_list): Likewise.
13380
13381         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13382         file.
13383         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13384         file.
13385         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13386         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13387         multiarch objects.
13388         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13389         (__libc_ifunc_impl_list): Likewise.
13390
13391         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13392         file.
13393         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13394         file.
13395         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13396         multiarch rawmemchr for PPC32.
13397         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13398         multiarch objects.
13399         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13400         (__libc_ifunc_impl_list): Likewise.
13401
13402         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13403         file.
13404         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13405         file.
13406         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13407         file: memrchr multiarch for PPC32.
13408         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13409         multiarch objects.
13410         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13411         (__libc_ifunc_impl_list): Likewise.
13412
13413         * string/memchr.c (__memchr): Using macro to redefine symbol name.
13414         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13415         file.
13416         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13417         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13418         multiarch memchr for PPC32.
13419         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13420         multiarch objects.
13421         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13422         (__libc_ifunc_impl_list): Likewise.
13423
13424         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13425         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13426         file.
13427         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13428         file.
13429         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13430         file: multiarch mempcpy for PPC32.
13431         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13432         multiarch objects.
13433         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13434         (__libc_ifunc_impl_list): Likewise.
13435
13436         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13437         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13438         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13439         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13440         multiarch bzero for PPC32.
13441         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13442         file.
13443         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13444         file.
13445         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13446         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13447         file: multiarch memset for PPC32.
13448         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13449         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13450         memset multiarch objects.
13451         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13452         (__libc_ifunc_impl_list): Likewise.
13453
13454         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13455         file.
13456         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13457         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13458         memcmp for PPC32.
13459         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13460         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13461         multiarch objects.
13462         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13463         (__libc_ifunc_impl_list): Likewise.
13464
13465         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13466         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13467         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13468         file.
13469         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13470         file.
13471         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13472         file.
13473         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13474         multiarch memcpy for PPC32.
13475         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13476         multiarch objects.
13477         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13478         (__libc_ifunc_impl_list): Likewise.
13479
13480         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13481         support multiarch for POWER/PPC32.
13482         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13483         Likewise.
13484         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13486         Implies file to make multiarch folder appers before the fpu and
13487         default folder for power4 configuration.
13488
13489 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
13490
13491         * scripts/bench.pl: Append volatile keyword to type.
13492
13493 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13494
13495         * sysdeps/sh/sotruss-lib.c: New file.
13496         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13497
13498 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13499
13500         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13501
13502 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
13503
13504         [BZ #6810]
13505         * math/w_tgamma.c: Include <errno.h>.
13506         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
13507         * math/w_tgammaf.c: Include <errno.h>.
13508         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
13509         * math/w_tgammal.c: Include <errno.h>.
13510         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
13511         * math/auto-libm-test-in: Do not allow missing errno on tgamma
13512         underflow.  Add more tgamma tests.
13513         * math/auto-libm-test-out: Regenerated.
13514         * sysdeps/i386/fpu/libm-test-ulps: Update.
13515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13516
13517         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13518         sin, sinh, tan, tanh, tgamma, y0 and y1.
13519         * math/auto-libm-test-out: Regenerated.
13520         * math/libm-test.inc (TEST_COND_x86_64): New macro.
13521         (TEST_COND_x86): Likewise.
13522         (M_E2l): Remove macro.
13523         (M_E3l): Likewise.
13524         (M_2_SQRT_PIl): Likewise.
13525         (M_SQRT_PIl): Likewise.
13526         (M_1_DIV_El): Likewise.
13527         (log_test_data): Use AUTO_TESTS_f_f.
13528         (log10_test_data): Likewise.
13529         (log1p_test_data): Likewise.
13530         (log2_test_data): Likewise.
13531         (sin_test_data): Likewise.
13532         (sin_tonearest_test_data): Likewise.
13533         (sin_towardzero_test_data): Likewise.
13534         (sin_downward_test_data): Likewise.
13535         (sin_upward_test_data): Likewise.
13536         (sinh_test_data): Likewise.
13537         (sinh_tonearest_test_data): Likewise.
13538         (sinh_towardzero_test_data): Likewise.
13539         (sinh_downward_test_data): Likewise.
13540         (sinh_upward_test_data): Likewise.
13541         (tan_test_data): Likewise.
13542         (tan_tonearest_test_data): Likewise.
13543         (tan_towardzero_test_data): Likewise.
13544         (tan_downward_test_data): Likewise.
13545         (tan_upward_test_data): Likewise.
13546         (tanh_test_data): Likewise.
13547         (tgamma_test_data): Likewise.
13548         (y0_test_data): Likewise.
13549         (y1_test_data): Likewise.
13550         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13551         (special_real_inputs): Add pi/4.
13552         * sysdeps/i386/fpu/libm-test-ulps: Update.
13553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13554
13555 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13556
13557         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13558         "longjmp_target" static probes.
13559         (__longjmp): Rename to __longjmp_symbol.
13560         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13561         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13562         on which longjmp to generate.
13563         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13564         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13565         probe.
13566         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13567         (__sigjmp_save): Rename to __sigjmp_save_symbol.
13568         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13569         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13570         and __sigjmp_save_symbol based on which sigsetjmp to generated.
13571         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13573         __longjmp_symbol based on which __longjmp to generate.
13574         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13575         probe.
13576         (setjmp): Rename to setjmp_symbol.
13577         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13578         (_setjmp): Rename to _setjmp_symbol.
13579         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13580         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13581         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13582         which setjmp to generate.
13583         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13584         "longjmp_target" static probes.
13585
13586 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13587
13588         * benchtests/README: Add note about output arguments.
13589         * benchtests/bench-sincos.c: Remove file.
13590         * benchtests/sincos-inputs: New file.
13591         * scripts/bench.pl: Identify output arguments and define
13592         static variables for them.
13593
13594         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13595
13596         [BZ #15941]
13597         * Makefile (INSTALL): Add install-plain.texi as the primary
13598         dependency.
13599         * manual/install-plain.texi: New file.
13600         * manual/install.texi: Include node directive only for
13601         non-plaintext output.
13602
13603 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
13604
13605         * stdlib/longlong.h: Update from GCC.
13606
13607         [BZ #6807]
13608         [BZ #15901]
13609         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13610         * math/w_j0f.c (y0f): Likewise.
13611         * math/w_j0l.c (__y0l): Likewise.
13612         * math/w_j1.c (y1): Likewise.
13613         * math/w_j1f.c (y1f): Likewise.
13614         * math/w_j1l.c (__y1l): Likewise
13615         * math/w_jn.c (yn): Likewise.
13616         * math/w_jnf.c (ynf): Likewise.
13617         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13618         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
13619         value for Bessel function domain errors outside _SVID_ mode.
13620         Adjust sign of return value for yn (negative integer, 0).
13621         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13622         by zero in return for negative x and set sign appropriately for
13623         negative n.
13624         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13625         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13626         * math/libm-test.inc (y0_test_data): Add more tests and adjust
13627         expectations in error cases.
13628         (y1_test_data): Likewise.
13629         (yn_test_data): Likewise.
13630         * sysdeps/i386/fpu/libm-test-ulps: Update.
13631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13632
13633 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13634
13635         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13636         "64" to "64-v1".  Add "64-v2".
13637         (abi-64-options): Rename to ...
13638         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
13639         (abi-64-condition): Rename to ...
13640         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
13641         (abi-64-ld-soname): Rename to ...
13642         (abi-64-v1-ld-soname): ... this.
13643         (abi-64-v2-options): Define.
13644         (abi-64-v2-condition): Likewise.
13645         (abi-64-v2-ld-soname): Likewise.
13646         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13647         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13651
13652 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13653             Alan Modra  <amodra@gmail.com>
13654
13655         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13656         New versions for use with the ELFv2 ABI.
13657         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13658         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13659         declaration.
13660         (struct La_ppc64v2_retval): Likewise.
13661         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13662         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13663         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13664         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13665         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13666         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13667         Do not save or restore CR.
13668         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13669         (_dl_profile_resolve): Do no save or restore CR.  Support extended
13670         return values for ELFv2 ABI.  Fix location of FPR return registers.
13671         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13672         updated values for _CALL_ELF == 2.
13673         (La_regs, La_retval, int_retval): Likewise.
13674
13675 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13676
13677         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13678         (FRAME_MIN_SIZE_PARM): Likewise.
13679         (FRAME_BACKCHAIN): Likewise.
13680         (FRAME_CR_SAVE): Likewise.
13681         (FRAME_LR_SAVE): Likewise.
13682         (FRAME_TOC_SAVE): Likewise.
13683         (FRAME_PARM_SAVE): Likewise.
13684         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13685         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13686         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13687         (call_mcount_parm_offset): New macro.
13688         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13689         (PROF): Use symbolic stack frame offsets.
13690         (TAIL_CALL_SYSCALL_ERROR): Likewise.
13691         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13692         Redefine in terms of FRAME_MIN_SIZE.
13693         (_dl_runtime_resolve): Use symbolic stack frame offsets.
13694         (_dl_profile_resolve): Likewise.  Update comment.
13695         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13696         symbols stack frame offsets.
13697         (__sigsetjmp): Likewise.
13698         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13699         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13700         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13701         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13702
13703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13704         (FRAME_BACKCHAIN): Remove.
13705         (FRAME_CR_SAVE): Likewise.
13706         (FRAME_LR_SAVE): Likewise.
13707         (FRAME_COMPILER_DW): Likewise.
13708         (FRAME_LINKER_DW): Likewise.
13709         (FRAME_TOC_SAVE): Likewise.
13710         (FRAME_PARM_SAVE): Likewise.
13711         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13712         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13713         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13715         (CHECK_SP): Use symbolic stack frame offsets.
13716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13717         zone" instead of caller's parameter save area for temp storage.
13718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13719         Likewise.  Also, use symbolic stack frame offsets.
13720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13721         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13722         our own stack frame instead of the caller's.
13723         (__socket): Use symbolic stack frame offsets.
13724
13725 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13726             Alan Modra  <amodra@gmail.com>
13727
13728         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13729         Define.
13730         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13731         (PPC64_LOCAL_ENTRY_OFFSET): Define.
13732         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13733         New function.
13734         (elf_machine_fixup_plt): Call it.
13735         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
13736         reloc arguments.
13737         (elf_machine_rela): Update call to elf_machine_plt_conflict.
13738         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13739         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13740         r2 before calling target.
13741
13742 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13743             Alan Modra  <amodra@gmail.com>
13744
13745         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13746         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13747         versions of macros to support ELFv2 ABI.
13748         (LOCALENTRY): New macro.
13749         (ENTRY, EALIGN): Use it.
13750         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13751         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13752         fall through into ENTRY entry point.
13753         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13754         Only define if _CALL_ELF != 2.
13755
13756         (elf_machine_matches_host): Verify ABI version matches.
13757         (RTLD_START): Use LOCALENTRY.
13758         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13759         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13760         (PLT_ENTRY_WORDS): New macro.
13761         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13762         (elf_machine_runtime_setup): Support ELFv2 ABI.
13763         (elf_machine_fixup_plt): Likewise.
13764         (elf_machine_plt_conflict): Likewise.
13765         (resolve_ifunc): Likewise.
13766         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13767         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13768         Likewise.
13769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13770         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13772         (makecontext): Support ELFv2 ABI.
13773         * elf/elf.h (EF_PPC64_ABI): Define.
13774
13775 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13776
13777         * sysdeps/powerpc/powerpc64/sysdep.h
13778         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13779         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13780         (ENTRY) [ASSEMBLER]: ... but instead here ...
13781         (EALIGN) [ASSEMBLER]: ... and here.
13782         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13783         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13784         (ENTRY_2) [!ASSEMBLER]: Use it.
13785         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13786         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
13787         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13788         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13789         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13791         Use PPC64_LOAD_FUNCPTR.
13792
13793         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13794
13795 2013-12-04  Alan Modra  <amodra@gmail.com>
13796
13797         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13798         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13799         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13800         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13801
13802         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13803         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13804         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13805         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13806         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13807         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13808
13809 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13810
13811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13812         (__makecontext): Fix incorrect CFI when backtracing out of
13813         context created via makecontext.
13814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13815         (__setcontext): Fix incorrect CFI during switch to new context.
13816         (__novec_setcontext): Likewise.
13817
13818 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
13819
13820         [BZ #4772]
13821         * time/strptime_l.c (__strptime_internal): Allow modifiers
13822         in strptime.
13823         * time/tst-strptime.c (day_tests): Add testcase.
13824
13825 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13826
13827         * scripts/bench.pl: Skip over blank lines.
13828
13829 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
13830
13831         [BZ #926]
13832         * manual/time.texi (Calendar Time): Clarify what timezone functions
13833         use.
13834
13835 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13836
13837         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13838
13839 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
13840
13841         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13842         implementation.
13843         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13844         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13845         * debug/memset_chk.c (__memset_chk): Likewise.
13846         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13847         * debug/strncpy_chk.c: Likewise.
13848
13849 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
13850
13851         [BZ #15268]
13852         [BZ #15425]
13853         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13854         (__ieee754_exp): For possibly underflowing results, check size of
13855         result and force underflow exception if required.
13856         * math/auto-libm-test-in: Add more tests of exp.
13857         * math/auto-libm-test-out: Regenerated.
13858         * sysdeps/i386/fpu/libm-test-ulps: Update.
13859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13860
13861         [BZ #16283]
13862         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13863         * math/w_exp2f.c (__exp2f): Likewise.
13864         * math/w_exp2l.c (__exp2l): Likewise.
13865         * math/auto-libm-test-in: Do not allow missing errno on exp2
13866         underflow.
13867         * math/auto-libm-test-out: Regenerated.
13868
13869 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
13870
13871         [BZ #16274]
13872         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13873         handle filename validation.
13874         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13875         (do_open): Delete.
13876
13877 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
13878
13879         [BZ #6786]
13880         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13881         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13882         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13883         <float.h>.
13884         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13885         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13886         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13887         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13888         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13889         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13890         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13891         * math/auto-libm-test-in: Don't allow missing errno from erfc.
13892         Add more erfc tests.
13893         * math/auto-libm-test-out: Regenerated.
13894         * sysdeps/i386/fpu/libm-test-ulps: Update.
13895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13896
13897         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13898         exp2, expm1, j0 and j1.
13899         * math/auto-libm-test-out: Regenerated.
13900         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13901         (erfc_test_data): Likewise.
13902         (exp_test_data): Likewise.
13903         (exp_tonearest_test_data): Likewise.
13904         (exp_towardzero_test_data): Likewise.
13905         (exp_downward_test_data): Likewise.
13906         (exp_upward_test_data): Likewise.
13907         (exp10_test_data): Likewise.
13908         (exp2_test_data): Likewise.
13909         (expm1_test_data): Likewise.
13910         (j0_test_data): Likewise.
13911         (j1_test_data): Likewise.
13912         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13913         (input_flag_type): Add flag_xfail_rounding.
13914         (input_flags): Add xfail-rounding.
13915         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13916         (output_for_one_input_case): Handle flag_xfail_rounding.
13917         * sysdeps/i386/fpu/libm-test-ulps: Update.
13918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13919
13920 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
13921
13922         [BZ #16289]
13923         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13924         division by 0.
13925
13926 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
13927
13928         [BZ #16195]
13929         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13930         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13931         (STAP_PROBE0): New macro.
13932         (STAP_PROBE1): Likewise.
13933         (STAP_PROBE2): Likewise.
13934         (STAP_PROBE3): Likewise.
13935         (STAP_PROBE4): Likewise.
13936
13937 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
13938
13939         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13940
13941 2013-12-02  Steve Ellcey  <sellcey@mips.com>
13942
13943         * benchtests/Makefile (bench): Add sqrt.
13944         (LDLIBS-bench-sqrt): New.
13945         * benchtests/sqrt-input: New.
13946
13947 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
13948
13949         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13950         (GAIH_EAI): Likewise.
13951         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13952         (gaih_inet): Likewise.
13953         (getaddrinfo): Don't use GAIH_EAI.
13954
13955         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13956         (struct gaih): Remove definition.
13957
13958 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13959
13960         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13961         Use HERRNOP directly.
13962
13963 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13964
13965         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13966
13967 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
13968
13969         * math/gen-auto-libm-tests.c (test_functions): Add more
13970         single-argument functions.
13971         (special_fill_pi_2): New function.
13972         (special_fill_minus_pi_2): Likewise.
13973         (special_fill_pi_6): Likewise.
13974         (special_fill_minus_pi_6): Likewise.
13975         (special_fill_pi_3): Likewise.
13976         (special_fill_2pi_3): Likewise.
13977         (special_fill_e): Likewise.
13978         (special_fill_1_e): Likewise.
13979         (special_fill_e_minus_1): Likewise.
13980         (special_real_inputs): Add more special inputs.
13981         (output_for_one_input_case): Do not require ERANGE on underflow to
13982         zero if round-to-nearest result does not underflow to zero, unless
13983         exact results required.
13984         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13985         atan, atanh, cbrt, cos and cosh.
13986         * math/auto-libm-test-out: Regenerated.
13987         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13988         (acos_tonearest_test_data): Likewise.
13989         (acos_towardzero_test_data): Likewise.
13990         (acos_downward_test_data): Likewise.
13991         (acos_upward_test_data): Likewise.
13992         (acosh_test_data): Likewise.
13993         (asin_test_data): Likewise.
13994         (asin_tonearest_test_data): Likewise.
13995         (asin_towardzero_test_data): Likewise.
13996         (asin_upward_test_data): Likewise.
13997         (asinh_test_data): Likewise.
13998         (atan_test_data): Likewise.
13999         (atanh_test_data): Likewise.
14000         (cbrt_test_data): Likewise.
14001         (cos_test_data): Likewise.
14002         (cos_tonearest_test_data): Likewise.
14003         (cos_towardzero_test_data): Likewise.
14004         (cos_downward_test_data): Likewise.
14005         (cos_upward_test_data): Likewise.
14006         (cosh_test_data): Likewise.
14007         (cosh_tonearest_test_data): Likewise.
14008         (cosh_towardzero_test_data): Likewise.
14009         (cosh_downward_test_data): Likewise.
14010         (cosh_upward_test_data): Likewise.
14011         * sysdeps/i386/fpu/libm-test-ulps: Update.
14012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14013
14014 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
14015
14016         [BZ #6787]
14017         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14018         * math/w_exp10f.c (__exp10f): Likewise.
14019         * math/w_exp10l.c (__exp10l): Likewise.
14020         * math/libm-test.inc (exp10_test_data): Add more tests and expect
14021         errno settings in existing tests.
14022
14023         [BZ #14032]
14024         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14025         precision control set to double precision.
14026         * sysdeps/i386/fpu/w_sqrt.c: New file.
14027         * math/auto-libm-test-in: Add more tests.
14028         * math/auto-libm-test-out: Update.
14029
14030         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14031         (sqrt_test_tonearest): New function.
14032         (sqrt_towardzero_test_data): New variable.
14033         (sqrt_test_towardzero): New function.
14034         (sqrt_downward_test_data): New variable.
14035         (sqrt_test_downward): New function.
14036         (sqrt_upward_test_data): New variable.
14037         (sqrt_test_upward): New function.
14038         (main): Call the new functions.
14039
14040         * math/gen-auto-libm-tests.c: New file.
14041         * math/auto-libm-test-in: Likewise.
14042         * math/auto-libm-test-out: New generated file.
14043         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14044         variables.
14045         (%beautify): Add generated representations of zero.
14046         (top level): Set $auto_input and call parse_auto_input.
14047         (beautify): Remove trailing "f" from hex float constants.
14048         (parse_args): Handle XFAIL_TEST.
14049         (convert_condition): New function.
14050         (or_value): Likewise.
14051         (or_cond_value): Likewise.
14052         (generate_testfile): Handle AUTO_TESTS_* lines.
14053         (parse_auto_input): New function.
14054         * math/libm-test.inc (XFAIL_TEST): New macro.
14055         (ERRNO_UNCHANGED): Update value.
14056         (ERRNO_EDOM): Likewise.
14057         (ERRNO_ERANGE): Likewise.
14058         (IGNORE_RESULT): Likewise.
14059         (TEST_COND_flt_32): New macro.
14060         (TEST_COND_dbl_64): Likewise.
14061         (TEST_COND_ldbl_96_intel): Likewise.
14062         (TEST_COND_ldbl_96_m68k): Likewise.
14063         (TEST_COND_ldbl_128): Likewise.
14064         (TEST_COND_ldbl_128ibm): Likewise.
14065         (TEST_COND_long32): Likewise.
14066         (TEST_COND_long64): Likewise.
14067         (TEST_COND_before_rounding): Likewise.
14068         (TEST_COND_after_rounding): Likewise.
14069         (enable_test): Handle XFAIL_TEST flag.
14070         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14071         with finite results.
14072         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14073         auto-libm-test-out.
14074
14075 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14076             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14077
14078         [BZ #16214]
14079         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14080         __tls_get_addr_internal instead of __tls_get_offset in order to
14081         avoid GOT pointer dependency.  Make rtld export
14082         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14083         __tls_get_addr since we are a __tls_get_offset platform.
14084         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14085         GOT pointer being set up before.
14086         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14087
14088 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
14089
14090         * manual/math.texi (Errors in Math Functions): Document accuracy
14091         goals.
14092
14093         [BZ #15004]
14094         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14095         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14096         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14097         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14098         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14099         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14100         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14101         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14102         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14103         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14104         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14105         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14106         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14107         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14108         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14109         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14110
14111         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14112         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14113         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14114         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14115         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14116         Likewise.
14117         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14118         Likewise.
14119         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14120         Likewise.
14121         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14122         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14123         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14124         atomic-feupdateenv and flt-rounds.
14125         * sysdeps/powerpc/nofpu/Versions (libc): Add
14126         __atomic_feholdexcept, __atomic_feclearexcept,
14127         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14128         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14129         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14130         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14131         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14132         here.
14133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14134         Update.
14135
14136         * manual/arith.texi (FP Exceptions): Document that exceptions may
14137         not be raised when matherr is used.
14138         (Math Error Reporting): Document overflow in directed rounding
14139         modes.  Document that errno may not be set when finite values are
14140         returned on overflow.  Document intent to set errno on underflow
14141         only for underflow to zero.
14142
14143         [BZ #16271]
14144         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14145         round-to-nearest then adjust result for other rounding modes.
14146         * include/fenv.h (fegetround): Use libm_hidden_proto.
14147         * math/fegetround.c (fegetround): Use libm_hidden_def.
14148         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14149         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14150         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14151         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14152         Likewise.
14153         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14154         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14155         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14156         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14157
14158 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14159
14160         [BZ #16077]
14161         * nss/Versions (libnss_files): Add
14162         _nss_files_gethostbyname3_r.
14163         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14164         New function.
14165         (HOST_DB_LOOKUP): Remove macro.
14166         (_nss_files_gethostbyname_r): Implement function without the
14167         HOST_DB_LOOKUP macro.
14168         (_nss_files_gethostbyname2_r): Likewise.
14169
14170 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
14171
14172         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14173
14174 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
14175
14176         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14177         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14178         warning.
14179
14180 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14181
14182         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14183         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14184         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14185         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14186         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14187         __fe_nomask_env_priv and attribute_hidden.
14188         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14189         (libc_feupdateenv_test_ppc): Likewise.
14190         (libc_feresetround_ppc): Likewise.
14191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14192         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14193         compat_symbol macro.
14194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14195         (__fe_nomask_env): Likewise.
14196         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14197
14198 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14199
14200         * string/Makefile: Remove ifunc tests.
14201         * string/test-string.h: Define TEST_IFUNC.
14202         * string/test-bcopy-ifunc.c: Remove.
14203         * string/test-bzero-ifunc.c: Likewise.
14204         * string/test-memccpy-ifunc.c: Likewise.
14205         * string/test-memchr-ifunc.c: Likewise.
14206         * string/test-memcmp-ifunc.c: Likewise.
14207         * string/test-memcpy-ifunc.c: Likewise.
14208         * string/test-memmem-ifunc.c: Likewise.
14209         * string/test-memmove-ifunc.c: Likewise.
14210         * string/test-mempcpy-ifunc.c: Likewise.
14211         * string/test-memrchr-ifunc.c: Likewise.
14212         * string/test-memset-ifunc.c: Likewise.
14213         * string/test-rawmemchr-ifunc.c: Likewise.
14214         * string/test-stpcpy-ifunc.c: Likewise.
14215         * string/test-stpncpy-ifunc.c: Likewise.
14216         * string/test-strcasecmp-ifunc.c: Likewise.
14217         * string/test-strcasestr-ifunc.c: Likewise.
14218         * string/test-strcat-ifunc.c: Likewise.
14219         * string/test-strchr-ifunc.c: Likewise.
14220         * string/test-strchrnul-ifunc.c: Likewise.
14221         * string/test-strcmp-ifunc.c: Likewise.
14222         * string/test-strcpy-ifunc.c: Likewise.
14223         * string/test-strcspn-ifunc.c: Likewise.
14224         * string/test-strlen-ifunc.c: Likewise.
14225         * string/test-strncasecmp-ifunc.c: Likewise.
14226         * string/test-strncat-ifunc.c: Likewise.
14227         * string/test-strncmp-ifunc.c: Likewise.
14228         * string/test-strncpy-ifunc.c: Likewise.
14229         * string/test-strnlen-ifunc.c: Likewise.
14230         * string/test-strpbrk-ifunc.c: Likewise.
14231         * string/test-strrchr-ifunc.c: Likewise.
14232         * string/test-strspn-ifunc.c: Likewise.
14233         * string/test-strstr-ifunc.c: Likewise.
14234
14235 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14236
14237         * benchtests/Makefile: Remove ifunc tests.
14238         * benchtests/bench-string.h: Define TEST_IFUNC.
14239         * benchtests/bench-bcopy-ifunc.c: Remove.
14240         * benchtests/bench-bzero-ifunc.c: Likewise.
14241         * benchtests/bench-memccpy-ifunc.c: Likewise.
14242         * benchtests/bench-memchr-ifunc.c: Likewise.
14243         * benchtests/bench-memcmp-ifunc.c: Likewise.
14244         * benchtests/bench-memcpy-ifunc.c: Likewise.
14245         * benchtests/bench-memmem-ifunc.c: Likewise.
14246         * benchtests/bench-memmove-ifunc.c: Likewise.
14247         * benchtests/bench-mempcpy-ifunc.c: Likewise.
14248         * benchtests/bench-memrchr-ifunc.c: Likewise.
14249         * benchtests/bench-memset-ifunc.c: Likewise.
14250         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14251         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14252         * benchtests/bench-stpcpy-ifunc.c: Likewise.
14253         * benchtests/bench-stpncpy-ifunc.c: Likewise.
14254         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14255         * benchtests/bench-strcasestr-ifunc.c: Likewise.
14256         * benchtests/bench-strcat-ifunc.c: Likewise.
14257         * benchtests/bench-strchr-ifunc.c: Likewise.
14258         * benchtests/bench-strchrnul-ifunc.c: Likewise.
14259         * benchtests/bench-strcmp-ifunc.c: Likewise.
14260         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14261         * benchtests/bench-strcpy-ifunc.c: Likewise.
14262         * benchtests/bench-strcspn-ifunc.c: Likewise.
14263         * benchtests/bench-strlen-ifunc.c: Likewise.
14264         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14265         * benchtests/bench-strncat-ifunc.c: Likewise.
14266         * benchtests/bench-strncmp-ifunc.c: Likewise.
14267         * benchtests/bench-strncpy-ifunc.c: Likewise.
14268         * benchtests/bench-strnlen-ifunc.c: Likewise.
14269         * benchtests/bench-strpbrk-ifunc.c: Likewise.
14270         * benchtests/bench-strrchr-ifunc.c: Likewise.
14271         * benchtests/bench-strsep-ifunc.c: Likewise.
14272         * benchtests/bench-strspn-ifunc.c: Likewise.
14273         * benchtests/bench-strstr-ifunc.c: Likewise.
14274
14275 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14276
14277         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14278
14279 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14280
14281         * resolv/netdb.h: Use __glibc_reserved instead __unused.
14282         * rt/aio.h: Likewise.
14283         * sysdeps/gnu/bits/utmp.h: Likewise.
14284         * sysdeps/gnu/bits/utmpx.h: Likewise.
14285         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14286         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14287         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14288         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14289         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14290         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14291         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14292         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14293         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14294         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14295         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14296         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14297         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14299         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14300         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14301         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14302         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14303         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14304         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14305         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14306         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14307         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14308         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14309         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14310         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14311         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14312         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14313         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14314         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14315         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14316         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14317         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14318         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14319         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14320         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14321         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14322         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14323         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14324         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14325         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14326         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14327
14328 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
14329
14330         [BZ #16245]
14331         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14332         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14333
14334 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
14335
14336         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14337         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14338         Likewise.
14339
14340 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14341
14342         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14343         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14344         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14345         (__fesetround): Remove define.
14346         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14347         rounding and exceptions handling.
14348         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14349         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14350         (__fe_nomask_env): Likewise.
14351         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14352         __fegetround instead of fegetround.
14353         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14354         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14355
14356 2013-11-21  Roland McGrath  <roland@hack.frob.com>
14357
14358         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14359         it's there.
14360
14361         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14362
14363 2013-11-21  Meador Inge  <meadori@codesourcery.com>
14364
14365         [BZ #11157]
14366         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14367         (encrypt_r): Likewise.
14368         * malloc/obstack.h (obstack_free): Likewise.
14369         * posix/unistd.h (encrypt): Likewise.
14370
14371 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
14372
14373         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14374         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14375         DL_CALL_DT_FINI() that call the functions directly.
14376         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14377         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14378         * elf/dl-fini.c: Likewise.
14379
14380 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
14381
14382         * malloc/hooks.c (memalign_check): Add alignment rounding.
14383         * malloc/malloc.c (_mid_memalign): New function.
14384         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14385         Implement by calling _mid_memalign.
14386         * manual/probes.texi (Memory Allocation Probes): Remove
14387         memory_valloc_retry and memory_pvalloc_retry.
14388
14389 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14390
14391         * locale/programs/locarchive.c (open_archive): Add const
14392         qualifier to ARCHIVEFNAME and copy default fname to
14393         DEFAULT_FNAME.
14394
14395         [BZ #15601]
14396         * libio/tst-widetext.input: Rename Oriya to Odia.
14397         * locale/iso-639.def: Likewise.
14398
14399         * manual/probes.texi (Mathematical Function Probes): Add
14400         documentation for sin, cos, asin and acos probes.
14401         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14402         (__sin32): Add slowasin probe.
14403         (__cos32): Add slowacos probe.
14404         (__mpsin): Add slowsin probe.
14405         (__mpcos): Add slowcos probe.
14406
14407 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
14408
14409         [BZ #15483]
14410         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14411         thread-local __sim_exceptions_thread and global
14412         __sim_exceptions_global.
14413         (__sim_disabled_exceptions): Change to thread-local
14414         __sim_disabled_exceptions_thread and global
14415         __sim_disabled_exceptions_global.
14416         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14417         and global __sim_round_mode_global.
14418         (__simulate_exceptions): Use thread-local floating-point state and
14419         set global state from it as needed.
14420         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14421         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14422         __sim_round_mode_thread.
14423         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14424         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14425         and global __sim_exceptions_global.
14426         (__sim_disabled_exceptions): Change to thread-local
14427         __sim_disabled_exceptions_thread and global
14428         __sim_disabled_exceptions_global.
14429         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14430         and global __sim_round_mode_global.
14431         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14432         (SIM_SET_GLOBAL): Likewise.
14433         * sysdeps/powerpc/soft-fp/sfp-machine.h
14434         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14435         __sim_round_mode_thread.
14436         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14437         __sim_disabled_exceptions_thread.
14438         (__sim_exceptions): Change to __sim_exceptions_thread.
14439         (__sim_disabled_exceptions): Change to
14440         __sim_disabled_exceptions_thread.
14441         (__sim_round_mode): Change to __sim_round_mode_thread.
14442         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14443         thread-local floating-point state and set global state from it as
14444         needed.
14445         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14446         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14447         (__sim_disabled_exceptions): Remove extern declaration.
14448         (feenableexcept): Use thread-local floating-point state and set
14449         global state from it as needed.
14450         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14451         extern declaration.
14452         (__sim_disabled_exceptions): Likewise.
14453         (__sim_round_mode): Likewise.
14454         (__fegetenv): Use thread-local floating-point state.
14455         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14456         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14457         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14458         floating-point state and set global state from it as needed.
14459         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14460         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14461         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14462         Likewise.
14463         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14464         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14465         Likewise.
14466         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14467         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14468         Use __sim_round_mode_thread.
14469         * math/test-fenv-tls.c: New file.
14470         * math/Makefile (tests): Add test-fenv-tls.
14471         ($(objpfx)test-fenv-tls): Depend on
14472         $(common-objpfx)nptl/libpthread.so.
14473
14474 2013-11-19  Andreas Schwab  <schwab@suse.de>
14475
14476         * locale/programs/locale.c (show_info): Decode wordarray elements.
14477         * locale/categories.def (LC_MONETARY): Add element for
14478         _NL_MONETARY_CRNCYSTR.
14479         * locale/C-monetary.c (conversion_rate): New variable.
14480         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14481         element.
14482
14483 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
14484
14485         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14486         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14487
14488 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
14489
14490         * elf/Makefile (tst-auxv): New test.
14491         * elf/tst-auxv.c: New
14492         * elf/rtld.c (dl_main): Adjust AT_EXECFN
14493
14494 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
14495
14496         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14497         (hidden_proto): Caller changed.
14498         (hidden_tls_proto): New macro.
14499         (libc_hidden_tls_proto): Likewise.
14500         (rtld_hidden_tls_proto): Likewise.
14501         (libm_hidden_tls_proto): Likewise.
14502         (libresolv_hidden_tls_proto): Likewise.
14503         (librt_hidden_tls_proto): Likewise.
14504         (libdl_hidden_tls_proto): Likewise.
14505         (libnss_files_hidden_tls_proto): Likewise.
14506         (libnsl_hidden_tls_proto): Likewise.
14507         (libnss_nisplus_hidden_tls_proto): Likewise.
14508         (libutil_hidden_tls_proto): Likewise.
14509
14510 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
14511
14512         [BZ #10253]
14513         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14514         (decompose_rpath): Defer expansion to fillin_rpath.
14515         (_dl_init_paths): Pass linkmap to fillin_rpath.
14516
14517 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14518
14519         * benchtests/Makefile: Add strsep.
14520         * benchtests/bench-strsep.c: New file: strsep benchtest.
14521         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14522
14523 2013-11-18  Andreas Schwab  <schwab@suse.de>
14524
14525         * locale/programs/locale.c (show_info) [case byte]: Check for
14526         '\377' instead of '\177'.
14527         * locale/C-monetary.c (not_available): Always use "\377".
14528         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14529         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
14530         detect unavailable sign_posn locale elements.
14531         * locale/localeconv.c (__localeconv): For grouping and
14532         mon_grouping handle "\177" and "\377" like no grouping.
14533         (INT_ELEM): New macro.  Use it to set all numeric members.
14534         * locale/programs/ld-monetary.c (monetary_read)
14535         <tok_mon_grouping>: Normalize single -1 to the empty string.
14536         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14537         Likewise.
14538
14539 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
14540
14541         [BZ #16055]
14542         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14543         when we match (nil).
14544         * stdio-common/tst-sscanf.c (struct test): Add testcase.
14545
14546 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
14547
14548         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14549         (NO_TEST_INLINE): Update value.
14550         (ERRNO_UNCHANGED): Likewise.
14551         (ERRNO_EDOM): Likewise.
14552         (ERRNO_ERANGE): Likewise.
14553         (IGNORE_RESULT): Likewise.
14554         (check_float_internal): Check signs of NaN results if
14555         TEST_NAN_SIGN used.
14556         (check_complex): Pass TEST_NAN_SIGN flag through to second
14557         check_float_internal call.
14558         (copysign_test_data): Add tests with quiet NaNs as second
14559         argument.  Use TEST_NAN_SIGN.
14560         (fabs_test_data): Add test of negative quiet NaN argument.  Use
14561         TEST_NAN_SIGN.
14562         (signbit_test_data): Add tests of quiet NaN argument.
14563         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14564
14565         * math/gen-libm-test.pl (show_exceptions): Take extra argument
14566         $ignore_result.
14567         (parse_args): Handle function results specified as IGNORE.
14568         * math/libm-test.inc (IGNORE_RESULT): New macro.
14569         (check_float_internal): Do not check numerical result if flag
14570         IGNORE_RESULT set.
14571         (check_complex): Pass through IGNORE_RESULT to second
14572         check_float_internal call.
14573         (check_int): Do not check numerical result if flag IGNORE_RESULT
14574         set.
14575         (check_long): Likewise.
14576         (check_bool): Likewise.
14577         (check_longlong): Likewise.
14578         (lrint_test_data): Add tests of infinite and NaN arguments.
14579         (lrint_tonearest_test_data): Likewise.
14580         (lrint_towardzero_test_data): Likewise.
14581         (lrint_downward_test_data): Likewise.
14582         (lrint_upward_test_data): Likewise.
14583         (llrint_test_data): Likewise.
14584         (llrint_tonearest_test_data): Likewise.
14585         (llrint_towardzero_test_data): Likewise.
14586         (llrint_downward_test_data): Likewise.
14587         (llrint_upward_test_data): Likewise.
14588         (lround_test_data): Likewise.
14589         (llround_test_data): Likewise.
14590
14591         * math/libm-test.inc (NO_TEST_INLINE): New macro.
14592         (ERRNO_UNCHANGED): Update value.
14593         (ERRNO_EDOM): Likewise.
14594         (ERRNO_ERANGE): Likewise.
14595         (NO_TEST_INLINE_FLOAT): New macro.
14596         (NO_TEST_INLINE_DOUBLE): Likewise.
14597         (enable_test): New function.
14598         (RUN_TEST_f_f): Check enable_test before running test.
14599         (RUN_TEST_2_f): Likewise.
14600         (RUN_TEST_fff_f): Likewise.
14601         (RUN_TEST_c_f): Likewise.
14602         (RUN_TEST_f_f1): Likewise.
14603         (RUN_TEST_fF_f1): Likewise.
14604         (RUN_TEST_fI_f1): Likewise.
14605         (RUN_TEST_ffI_f1): Likewise.
14606         (RUN_TEST_c_c): Likewise.
14607         (RUN_TEST_cc_c): Likewise.
14608         (RUN_TEST_f_i): Likewise.
14609         (RUN_TEST_f_i_tg): Likewise.
14610         (RUN_TEST_ff_i_tg): Likewise.
14611         (RUN_TEST_f_b): Likewise.
14612         (RUN_TEST_f_b_tg): Likewise.
14613         (RUN_TEST_f_l): Likewise.
14614         (RUN_TEST_f_L): Likewise.
14615         (RUN_TEST_fFF_11): Likewise.
14616         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14617         conditionals.
14618         (cosh_test_data): Likewise.
14619         (exp_test_data): Likewise.
14620         (expm1_test_data): Likewise.
14621         (hypot_test_data): Likewise.
14622         (pow_test_data): Likewise.
14623         (sinh_test_data): Likewise.
14624         (tanh_test_data): Likewise.
14625         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14626         flags argument.
14627
14628         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14629         tests with quiet NaN input and output.
14630         (acosh_test_data): Likewise.
14631         (asin_test_data): Likewise.
14632         (asinh_test_data): Likewise.
14633         (atan_test_data): Likewise.
14634         (atanh_test_data): Likewise.
14635         (atan2_test_data): Likewise.
14636         (cbrt_test_data): Likewise.
14637         (cos_test_data): Likewise.
14638         (cosh_test_data): Likewise.
14639         (erf_test_data): Likewise.
14640         (erfc_test_data): Likewise.
14641         (exp_test_data): Likewise.
14642         (exp10_test_data): Likewise.
14643         (exp2_test_data): Likewise.
14644         (expm1_test_data): Likewise.
14645         (hypot_test_data): Likewise.
14646         (j0_test_data): Likewise.
14647         (j1_test_data): Likewise.
14648         (jn_test_data): Likewise.
14649         (lgamma_test_data): Likewise.
14650         (log_test_data): Likewise.
14651         (log10_test_data): Likewise.
14652         (log1p_test_data): Likewise.
14653         (log2_test_data): Likewise.
14654         (pow_test_data): Likewise.
14655         (scalb_test_data): Likewise.
14656         (sin_test_data): Likewise.
14657         (sincos_test_data): Likewise.
14658         (sinh_test_data): Likewise.
14659         (tan_test_data): Likewise.
14660         (tanh_test_data): Likewise.
14661         (tgamma_test_data): Likewise.
14662         (y0_test_data): Likewise.
14663         (y1_test_data): Likewise.
14664         (yn_test_data): Likewise.
14665
14666         [BZ #16167]
14667         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14668         argument being NaN and avoid computations with second argument in
14669         that case.
14670         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14671         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14672         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14673
14674 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
14675
14676         * locale/iso-639.def: Add Chitwani Tharu (the).
14677
14678 2013-11-14  Andreas Schwab  <schwab@suse.de>
14679
14680         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14681         word instead of empty string.
14682
14683 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14684
14685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14686         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14688         (__fe_nomask_env): Likewise.
14689
14690 2013-11-13  Steve Ellcey  <sellcey@mips.com>
14691
14692         * benchtests/bench-timing.h: Include time.h.
14693
14694 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
14695
14696         [BZ #15997]
14697         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14698         to 3.4.0 for x32.
14699         * sysdeps/unix/sysv/linux/configure: Regenerated.
14700
14701 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
14702
14703         [BZ #16151]
14704         * stdlib/strtod_l.c (round_and_return): Do not consider
14705         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14706         exponent one less than half the least subnormal exponent.
14707         * stdlib/test-strtod-round-data: Add more tests.
14708         * stdlib/tst-strtod-round.c (tests): Regenerated.
14709
14710 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14711
14712         [BZ #14143]
14713         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14714         (__fe_mask_env): Likewise.
14715         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14716         libm_hidden_proto and add function prototype.
14717         (__fe_mask_env): Add function prototype.
14718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14719         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14721         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14723         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14724
14725 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14726
14727         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14728         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14729
14730 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14731
14732         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14733         of htab_find_slot().
14734
14735 2013-11-11  David S. Miller  <davem@davemloft.net>
14736
14737         [BZ #16150]
14738         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14739         symbol in the non-vis3 case in static builds.
14740         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14741         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14742         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14743         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14744
14745 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
14746
14747         [BZ #387]
14748         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14749         it is empty.
14750
14751 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14752
14753         * benchtests/Makefile: Add bench-strtod.
14754         * benchtests/bench-strtod.c: New file: strtod benchtest
14755
14756 2013-11-11  Andreas Schwab  <schwab@suse.de>
14757
14758         [BZ #16153]
14759         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14760         terminating NUL in key length.
14761
14762 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14763
14764         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14765         Add artificial ODP entry for vDSO symbol for PPC64.
14766         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14767         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14768
14769 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
14770
14771         [BZ #15374]
14772         * nss/getent.c (services_keys): Recognize services starting with digit.
14773
14774 2013-11-06  David S. Miller  <davem@davemloft.net>
14775
14776         [BZ #15985]
14777         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14778         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14779
14780 2013-11-06  Will Newton  <will.newton@linaro.org>
14781
14782         * manual/memory.texi (Malloc Examples): Remove register
14783         keyword from examples.
14784
14785 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
14786
14787         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14788
14789 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
14790
14791         [BZ #6981]
14792         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14793         depending on [__GCC_IEC_559 > 0].
14794         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14795         depending on [__GCC_IEC_559_COMPLEX > 0].
14796
14797 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
14798
14799         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14800         to iso-639.def.
14801
14802 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
14803
14804         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14805
14806 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
14807
14808         [BZ #16112]
14809         * malloc/malloc (malloc_info): Do not handle first bin as
14810         special case.
14811
14812 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
14813
14814         * locale/iso-639.def: Add Central Nahuatl (nhn).
14815
14816 2013-11-01  Bruno Haible  <bruno@clisp.org>
14817
14818         [BZ #7003]
14819         * manual/math.texi (BSD Random): Specify range upper bound as
14820         in POSIX.
14821
14822 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
14823
14824         * locale/iso-639.def: Add Meadow Mari (mhr).
14825
14826 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
14827
14828         [BZ #14752], [BZ #15763]
14829         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14830         Validate name.
14831         * rt/tst_shm.c: Add test for escaping directory.
14832
14833 2013-10-31  Andreas Schwab  <schwab@suse.de>
14834
14835         [BZ #15917]
14836         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14837         followed by 'x' as part of digit sequence.
14838         * stdio-common/tst-sscanf.c (double_tests2): New tests.
14839
14840 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14841
14842         [BZ #16037]
14843         * configure.ac: allow GNU Make 4.0 and greater.
14844         * configure: Regenerated.
14845
14846 2013-10-30  Will Newton  <will.newton@linaro.org>
14847
14848         [BZ #16038]
14849         * malloc/hooks.c (memalign_check): Limit alignment to the
14850         maximum representable power of two.
14851         * malloc/malloc.c (__libc_memalign): Likewise.
14852         * malloc/tst-memalign.c (do_test): Add test for very
14853         large alignment values.
14854         * malloc/tst-posix_memalign.c (do_test): Likewise.
14855
14856 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
14857
14858         [BZ #11087]
14859         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14860         (munmap_chunk): Likewise.
14861         (mremap_chunk): Likewise.
14862
14863 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
14864
14865         [BZ #15799]
14866         * stdlib/div.c (div): Remove obsolete code.
14867         * stdlib/ldiv.c (ldiv): Likewise.
14868         * stdlib/lldiv.c (lldiv): Likewise.
14869
14870 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14871
14872         [BZ #16071]
14873         * nss/nss_files/files-XXX.c (get_contents_ret): New
14874         enumerator.
14875         (get_contents): New function.
14876         (internal_getent): Use it.  Expand size of LINEBUFLEN.
14877
14878 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
14879
14880         * configure.in: Moved to ...
14881         * configure.ac: ... here. Change reference to configure.in
14882         to configure.ac.
14883         * sysdeps/arm/preconfigure.ac: ... here.
14884         configure.in to configure.ac.
14885         * sysdeps/gnu/configure.in: Moved to ...
14886         * sysdeps/gnu/configure.ac: ... here.
14887         * sysdeps/i386/configure.in: Moved to ...
14888         * sysdeps/i386/configure.ac: ... here.
14889         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14890         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14891         * sysdeps/mach/configure.in: Moved to ...
14892         * sysdeps/mach/configure.ac: ... here.
14893         * sysdeps/mach/hurd/configure.in: Moved to ...
14894         * sysdeps/mach/hurd/configure.ac: ... here.
14895         * sysdeps/powerpc/configure.in: Moved to ...
14896         * sysdeps/powerpc/configure.ac: ... here.
14897         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14898         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14899         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14900         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14901         * sysdeps/s390/s390-32/configure.in: Moved to ...
14902         * sysdeps/s390/s390-32/configure.ac: ... here.
14903         * sysdeps/s390/s390-64/configure.in: Moved to ...
14904         * sysdeps/s390/s390-64/configure.ac: ... here.
14905         * sysdeps/sh/configure.in: Moved to ...
14906         * sysdeps/sh/configure.ac: ... here.
14907         * sysdeps/sparc/configure.in: Moved to ...
14908         * sysdeps/sparc/configure.ac: ... here.
14909         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14910         * sysdeps/unix/sysv/linux/configure.ac: ... here.
14911         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14912         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14913         * sysdeps/x86_64/configure.in: Moved to ...
14914         * sysdeps/x86_64/configure.ac: ... here.
14915         * sysdeps/x86_64/preconfigure.in: Moved to ...
14916         * sysdeps/x86_64/preconfigure.ac: ... here.
14917         * aclocal.m4: Change reference to configure.in to configure.ac.
14918         * config.h.in: Likewise.
14919         * manual/install.texi: Likewise.
14920         * manual/maint.texi: Likewise.
14921         * Makefile: Likewise.
14922         * malloc/Makefile: Likewise.
14923         * nscd/Makefile: Likewise.
14924         * Makeconfig: Change reference to configure.in and
14925         preconfigure.in to configure.ac and preconfigure.ac
14926         respectively.
14927         * INSTALL: Regenerated.
14928         * configure: Likewise.
14929         * sysdeps/gnu/configure: Likewise.
14930         * sysdeps/i386/configure: Likewise.
14931         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14932         * sysdeps/mach/configure: Likewise.
14933         * sysdeps/mach/hurd/configure: Likewise.
14934         * sysdeps/powerpc/configure: Likewise.
14935         * sysdeps/powerpc/powerpc32/configure: Likewise.
14936         * sysdeps/powerpc/powerpc64/configure: Likewise.
14937         * sysdeps/s390/s390-32/configure: Likewise.
14938         * sysdeps/s390/s390-64/configure: Likewise.
14939         * sysdeps/sh/configure: Likewise.
14940         * sysdeps/sparc/configure: Likewise.
14941         * sysdeps/unix/sysv/linux/configure: Likewise.
14942         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14943         * sysdeps/x86_64/configure: Likewise.
14944         * sysdeps/x86_64/preconfigure: Likewise.
14945
14946 2013-10-29  Andreas Schwab  <schwab@suse.de>
14947
14948         * stdio-common/Makefile (tst-swscanf-ENV): Define.
14949
14950 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14951
14952         * benchtests/pow-inputs: Add new inputs.
14953
14954         * benchtests/exp-inputs: Add new inputs.
14955
14956         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14957         conditional check for return value.
14958         (__cos32): Likewise.
14959
14960 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14961
14962         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14963         to provide a boost for large inputs with word alignment.
14964         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14965         implementation based on optimized PPC64 strcpy.
14966         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14967         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14968         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14969         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14970
14971 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
14972
14973         [BZ #2801]
14974         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14975
14976 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
14977
14978         [BZ #14876]
14979         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14980         * time/tst-strptime.c (day_tests): Add testcase.
14981
14982 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
14983
14984         [BZ #14029]
14985         * manual/pattern.texi: Acknowledge that fnmatch can fail.
14986
14987 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
14988
14989         [BZ #16074]
14990         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14991         MAP_FAILED on error.
14992
14993 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14994
14995         [BZ #16072]
14996         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14997         heap for large requests.
14998
14999 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
15000
15001         [BZ #9954]
15002         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15003         result if the result has no associated interface.
15004         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15005         interface for all 127.X.Y.Z addresses.
15006
15007 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
15008
15009         * locale/iso-639.def: Add Ligurian (lij)
15010
15011 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
15012
15013         [BZ #15825]
15014         * sunrpc/rpc_main.c: Document rpcgen -5.
15015
15016 2013-10-19  Michael Stahl  <mstahl@redhat.com>
15017
15018         * elf/rtld.c (do_preload): Print the reason why preloading failed.
15019
15020 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15021
15022         [BZ #10278]
15023         * posix/glob.c: Match only directories when trailing slash is present.
15024         * posix/tst-gnuglob.c (my_opendir): Do not open files.
15025         (main): Add testcase.
15026
15027 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15028
15029         [BZ #15670]
15030         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15031
15032 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
15033
15034         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15035         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15036         AUTH_DES and cindex for FIPS 140-2.
15037         (DES Encryption): Add cindex FIPS 46-3.
15038
15039         * locale/locarchive.h (struct locarhandle): Add fname.
15040         * locale/programs/localedef.c (main): Pass ARGV[remaining]
15041         if an optional argument was specified to --list-archive,
15042         otherwise NULL.
15043         * locale/programs/locarchive.c (show_archive_content): Take new
15044         argument fname and pass it via ah.fname to open_archive.
15045         * locale/programs/localedef.h: Update decl.
15046         (open_archive): If AH->fname is non-null, open that file
15047         rather than the default file name, and don't ignore ENOENT.
15048         (create_archive): Set AH.fname to NULL.
15049         (delete_locales_from_archive): Likewise.
15050         (add_locales_to_archive): Likewise.
15051         * locale/programs/locfile.c (write_all_categories): Likewise.
15052
15053 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
15054             Aldy Hernandez  <aldyh@redhat.com>
15055
15056         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15057         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15058         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15059         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15060         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15061         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15062         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15063         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15064         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15065         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15066         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15067         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15068         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15069         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15070         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15071         Likewise.
15072         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15073         Likewise.
15074         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15075         Likewise.
15076         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15077         Likewise.
15078         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15079         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15080         Likewise.
15081         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15082         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15083         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15084         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15085         Likewise.
15086         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15087         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15088         * sysdeps/powerpc/preconfigure: Likewise.
15089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15090         Likewise.
15091         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15092         Replace contents of file by #include of <fenv_libc.h>.
15093         * sysdeps/powerpc/soft-fp/sfp-machine.h
15094         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15095         and <sys/prctl.h>.
15096         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15097         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15098         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15099         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15100         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15101         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15102         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15103         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15104         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15105         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15106         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15107         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15109         Allow copysignl PLT reference to be missing.
15110
15111 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
15112             Joseph Myers  <joseph@codesourcery.com
15113
15114         [BZ #15948]
15115         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15116         single character.
15117         (add_to_tablewc): Assert sequence of wide characters is nonempty.
15118
15119 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15120
15121         * elf/tst-tls-dlinfo.c: Don't include tls.h.
15122         * elf/tst-tls1.c: Likewise.
15123         * elf/tst-tls10.h: Likewise.
15124         * elf/tst-tls14.c: Likewise.
15125         * elf/tst-tls2.c: Likewise.
15126         * elf/tst-tls3.c: Likewise.
15127         * elf/tst-tls4.c: Likewise.
15128         * elf/tst-tls5.c: Likewise.
15129         * elf/tst-tls6.c: Likewise.
15130         * elf/tst-tls7.c: Likewise.
15131         * elf/tst-tls8.c: Likewise.
15132         * elf/tst-tls9.c: Likewise.
15133         * elf/tst-tlsmod1.c: Likewise.
15134         * elf/tst-tlsmod13.c: Likewise.
15135         * elf/tst-tlsmod13a.c: Likewise.
15136         * elf/tst-tlsmod14a.c: Likewise.
15137         * elf/tst-tlsmod16a.c: Likewise.
15138         * elf/tst-tlsmod16b.c: Likewise.
15139         * elf/tst-tlsmod2.c: Likewise.
15140         * elf/tst-tlsmod3.c: Likewise.
15141         * elf/tst-tlsmod4.c: Likewise.
15142         * elf/tst-tlsmod5.c: Likewise.
15143         * elf/tst-tlsmod6.c: Likewise.
15144
15145 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
15146
15147         [BZ #12486]
15148         * malloc/malloc.c: remove checks for statistics.
15149
15150 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15151
15152         [BZ #15277]
15153         * inet/inet_net.c (inet_network): Detect additional invalid strings.
15154         * inet/tst-network.c: Add testcase.
15155
15156 2013-10-17  Andreas Schwab  <schwab@suse.de>
15157
15158         [BZ #15218]
15159         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15160         to determine canonical name.
15161
15162 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15163
15164         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15165         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15166         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15167         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15168         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15169         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15170         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15171         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15172         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15173         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15174         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15175         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15176         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15177         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15178         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15179         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15180         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15181         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15182         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15183         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15184         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15185         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15186         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15187         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15188         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15189         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15190         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15191         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15192         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15193         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15194         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15195         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15196         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15197         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15198         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15199         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15200         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15201         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15202         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15203         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15204         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15205         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15206         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15207         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15208         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15209         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15210         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15211         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15212         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15213         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15214         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15215         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15216         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15217         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15218         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15219         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15220         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15221         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15222
15223 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
15224
15225         [BZ #16041]
15226         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15227         make result into a quiet NaN.
15228
15229 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
15230
15231         * soft-fp/adddf3.c: Fix horizontal whitespace.
15232         * soft-fp/addsf3.c: Likewise.
15233         * soft-fp/addtf3.c: Likewise.
15234         * soft-fp/divdf3.c: Likewise.
15235         * soft-fp/divsf3.c: Likewise.
15236         * soft-fp/divtf3.c: Likewise.
15237         * soft-fp/double.h: Likewise.
15238         * soft-fp/eqdf2.c: Likewise.
15239         * soft-fp/eqsf2.c: Likewise.
15240         * soft-fp/eqtf2.c: Likewise.
15241         * soft-fp/extenddftf2.c: Likewise.
15242         * soft-fp/extended.h: Likewise.
15243         * soft-fp/extendsfdf2.c: Likewise.
15244         * soft-fp/extendsftf2.c: Likewise.
15245         * soft-fp/extendxftf2.c: Likewise.
15246         * soft-fp/fixdfdi.c: Likewise.
15247         * soft-fp/fixdfsi.c: Likewise.
15248         * soft-fp/fixdfti.c: Likewise.
15249         * soft-fp/fixsfdi.c: Likewise.
15250         * soft-fp/fixsfsi.c: Likewise.
15251         * soft-fp/fixsfti.c: Likewise.
15252         * soft-fp/fixtfdi.c: Likewise.
15253         * soft-fp/fixtfsi.c: Likewise.
15254         * soft-fp/fixtfti.c: Likewise.
15255         * soft-fp/fixunsdfdi.c: Likewise.
15256         * soft-fp/fixunsdfsi.c: Likewise.
15257         * soft-fp/fixunsdfti.c: Likewise.
15258         * soft-fp/fixunssfdi.c: Likewise.
15259         * soft-fp/fixunssfsi.c: Likewise.
15260         * soft-fp/fixunssfti.c: Likewise.
15261         * soft-fp/fixunstfdi.c: Likewise.
15262         * soft-fp/fixunstfsi.c: Likewise.
15263         * soft-fp/fixunstfti.c: Likewise.
15264         * soft-fp/floatdidf.c: Likewise.
15265         * soft-fp/floatdisf.c: Likewise.
15266         * soft-fp/floatditf.c: Likewise.
15267         * soft-fp/floatsidf.c: Likewise.
15268         * soft-fp/floatsisf.c: Likewise.
15269         * soft-fp/floatsitf.c: Likewise.
15270         * soft-fp/floattidf.c: Likewise.
15271         * soft-fp/floattisf.c: Likewise.
15272         * soft-fp/floattitf.c: Likewise.
15273         * soft-fp/floatundidf.c: Likewise.
15274         * soft-fp/floatundisf.c: Likewise.
15275         * soft-fp/floatunditf.c: Likewise.
15276         * soft-fp/floatunsidf.c: Likewise.
15277         * soft-fp/floatunsisf.c: Likewise.
15278         * soft-fp/floatunsitf.c: Likewise.
15279         * soft-fp/floatuntidf.c: Likewise.
15280         * soft-fp/floatuntisf.c: Likewise.
15281         * soft-fp/floatuntitf.c: Likewise.
15282         * soft-fp/fmadf4.c: Likewise.
15283         * soft-fp/fmasf4.c: Likewise.
15284         * soft-fp/fmatf4.c: Likewise.
15285         * soft-fp/gedf2.c: Likewise.
15286         * soft-fp/gesf2.c: Likewise.
15287         * soft-fp/getf2.c: Likewise.
15288         * soft-fp/ledf2.c: Likewise.
15289         * soft-fp/lesf2.c: Likewise.
15290         * soft-fp/letf2.c: Likewise.
15291         * soft-fp/muldf3.c: Likewise.
15292         * soft-fp/mulsf3.c: Likewise.
15293         * soft-fp/multf3.c: Likewise.
15294         * soft-fp/negdf2.c: Likewise.
15295         * soft-fp/negsf2.c: Likewise.
15296         * soft-fp/negtf2.c: Likewise.
15297         * soft-fp/op-1.h: Likewise.
15298         * soft-fp/op-2.h: Likewise.
15299         * soft-fp/op-4.h: Likewise.
15300         * soft-fp/op-8.h: Likewise.
15301         * soft-fp/op-common.h: Likewise.
15302         * soft-fp/quad.h: Likewise.
15303         * soft-fp/single.h: Likewise.
15304         * soft-fp/soft-fp.h: Likewise.
15305         * soft-fp/sqrtdf2.c: Likewise.
15306         * soft-fp/sqrtsf2.c: Likewise.
15307         * soft-fp/sqrttf2.c: Likewise.
15308         * soft-fp/subdf3.c: Likewise.
15309         * soft-fp/subsf3.c: Likewise.
15310         * soft-fp/subtf3.c: Likewise.
15311         * soft-fp/truncdfsf2.c: Likewise.
15312         * soft-fp/trunctfdf2.c: Likewise.
15313         * soft-fp/trunctfsf2.c: Likewise.
15314         * soft-fp/trunctfxf2.c: Likewise.
15315         * soft-fp/unorddf2.c: Likewise.
15316         * soft-fp/unordsf2.c: Likewise.
15317         * soft-fp/unordtf2.c: Likewise.
15318
15319 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
15320
15321         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15322         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15323
15324 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
15325
15326         * elf/dl-libc.c: Clear initfini list after freeing.
15327
15328 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
15329
15330         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15331         * soft-fp/addsf3.c: Likewise.
15332         * soft-fp/addtf3.c: Likewise.
15333         * soft-fp/divdf3.c: Likewise.
15334         * soft-fp/divsf3.c: Likewise.
15335         * soft-fp/divtf3.c: Likewise.
15336         * soft-fp/double.h: Likewise.
15337         * soft-fp/eqdf2.c: Likewise.
15338         * soft-fp/eqsf2.c: Likewise.
15339         * soft-fp/eqtf2.c: Likewise.
15340         * soft-fp/extenddftf2.c: Likewise.
15341         * soft-fp/extended.h: Likewise.
15342         * soft-fp/extendsfdf2.c: Likewise.
15343         * soft-fp/extendsftf2.c: Likewise.
15344         * soft-fp/extendxftf2.c: Likewise.
15345         * soft-fp/fixdfdi.c: Likewise.
15346         * soft-fp/fixdfsi.c: Likewise.
15347         * soft-fp/fixdfti.c: Likewise.
15348         * soft-fp/fixsfdi.c: Likewise.
15349         * soft-fp/fixsfsi.c: Likewise.
15350         * soft-fp/fixsfti.c: Likewise.
15351         * soft-fp/fixtfdi.c: Likewise.
15352         * soft-fp/fixtfsi.c: Likewise.
15353         * soft-fp/fixtfti.c: Likewise.
15354         * soft-fp/fixunsdfdi.c: Likewise.
15355         * soft-fp/fixunsdfsi.c: Likewise.
15356         * soft-fp/fixunsdfti.c: Likewise.
15357         * soft-fp/fixunssfdi.c: Likewise.
15358         * soft-fp/fixunssfsi.c: Likewise.
15359         * soft-fp/fixunssfti.c: Likewise.
15360         * soft-fp/fixunstfdi.c: Likewise.
15361         * soft-fp/fixunstfsi.c: Likewise.
15362         * soft-fp/fixunstfti.c: Likewise.
15363         * soft-fp/floatdidf.c: Likewise.
15364         * soft-fp/floatdisf.c: Likewise.
15365         * soft-fp/floatditf.c: Likewise.
15366         * soft-fp/floatsidf.c: Likewise.
15367         * soft-fp/floatsisf.c: Likewise.
15368         * soft-fp/floatsitf.c: Likewise.
15369         * soft-fp/floattidf.c: Likewise.
15370         * soft-fp/floattisf.c: Likewise.
15371         * soft-fp/floattitf.c: Likewise.
15372         * soft-fp/floatundidf.c: Likewise.
15373         * soft-fp/floatundisf.c: Likewise.
15374         * soft-fp/floatunsidf.c: Likewise.
15375         * soft-fp/floatunsisf.c: Likewise.
15376         * soft-fp/floatuntidf.c: Likewise.
15377         * soft-fp/floatuntisf.c: Likewise.
15378         * soft-fp/floatuntitf.c: Likewise.
15379         * soft-fp/fmadf4.c: Likewise.
15380         * soft-fp/fmasf4.c: Likewise.
15381         * soft-fp/fmatf4.c: Likewise.
15382         * soft-fp/gedf2.c: Likewise.
15383         * soft-fp/gesf2.c: Likewise.
15384         * soft-fp/getf2.c: Likewise.
15385         * soft-fp/ledf2.c: Likewise.
15386         * soft-fp/lesf2.c: Likewise.
15387         * soft-fp/letf2.c: Likewise.
15388         * soft-fp/muldf3.c: Likewise.
15389         * soft-fp/mulsf3.c: Likewise.
15390         * soft-fp/multf3.c: Likewise.
15391         * soft-fp/negdf2.c: Likewise.
15392         * soft-fp/negsf2.c: Likewise.
15393         * soft-fp/negtf2.c: Likewise.
15394         * soft-fp/op-1.h: Likewise.
15395         * soft-fp/op-2.h: Likewise.
15396         * soft-fp/op-4.h: Likewise.
15397         * soft-fp/op-8.h: Likewise.
15398         * soft-fp/op-common.h: Likewise.
15399         * soft-fp/quad.h: Likewise.
15400         * soft-fp/single.h: Likewise.
15401         * soft-fp/soft-fp.h: Likewise.
15402         * soft-fp/sqrtdf2.c: Likewise.
15403         * soft-fp/sqrtsf2.c: Likewise.
15404         * soft-fp/sqrttf2.c: Likewise.
15405         * soft-fp/subdf3.c: Likewise.
15406         * soft-fp/subsf3.c: Likewise.
15407         * soft-fp/subtf3.c: Likewise.
15408         * soft-fp/truncdfsf2.c: Likewise.
15409         * soft-fp/trunctfdf2.c: Likewise.
15410         * soft-fp/trunctfsf2.c: Likewise.
15411         * soft-fp/trunctfxf2.c: Likewise.
15412         * soft-fp/unorddf2.c: Likewise.
15413         * soft-fp/unordsf2.c: Likewise.
15414         * soft-fp/unordtf2.c: Likewise.
15415
15416 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
15417
15418         [BZ #15672]
15419         * misc/error.c (error_tail): Fix possible buffer overflow.
15420
15421 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
15422
15423         [BZ #13028]
15424         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15425         address.
15426
15427 2013-10-14  P. J. McDermott  <pj@pehjota.net>
15428
15429         [BZ #832]
15430         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
15431         testing pipefail option.
15432
15433 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15434
15435         * soft-fp/double.h: Indent preprocessor directives inside #if.
15436         * soft-fp/extended.h: Likewise.
15437         * soft-fp/op-2.h: Likewise.
15438         * soft-fp/op-4.h: Likewise.
15439         * soft-fp/op-common.h: Likewise.
15440         * soft-fp/quad.h: Likewise.
15441         * soft-fp/single.h: Likewise.
15442         * soft-fp/soft-fp.h: Likewise.
15443
15444 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
15445
15446         * iconv/iconv_prog.c: Fix typos.
15447         * stdio-common/psiginfo-data.h: Likewise.
15448
15449 2013-10-12   Reuben Thomas <rrt@sc3d.org>
15450
15451         [BZ #15764]
15452         * locale/setlocale.c: Fix typo.
15453
15454 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15455
15456         [BZ #16036]
15457         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15458         signaling NaN arguments.
15459         * soft-fp/unordsf2.c (__unordsf2): Likewise.
15460         * soft-fp/unordtf2.c (__unordtf2): Likewise.
15461
15462         [BZ #14910]
15463         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15464         unordered operands.
15465         * soft-fp/gesf2.c (__gesf2): Likewise.
15466         * soft-fp/getf2.c (__getf2): Likewise.
15467         * soft-fp/ledf2.c (__ledf2): Likewise.
15468         * soft-fp/lesf2.c (__lesf2): Likewise.
15469         * soft-fp/letf2.c (__letf2): Likewise.
15470
15471         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15472         * soft-fp/eqsf2.c (__eqsf2): Likewise.
15473         * soft-fp/eqtf2.c (__eqtf2): Likewise.
15474         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15475         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15476         * soft-fp/fixdfti.c (__fixdfti): Likewise.
15477         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15478         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15479         * soft-fp/fixsfti.c (__fixsfti): Likewise.
15480         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15481         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15482         * soft-fp/fixtfti.c (__fixtfti): Likewise.
15483         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15484         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15485         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15486         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15487         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15488         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15489         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15490         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15491         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15492         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15493         * soft-fp/floatdisf.c (__floatdisf): Likewise.
15494         * soft-fp/floatsisf.c (__floatsisf): Likewise.
15495         * soft-fp/floattidf.c (__floattidf): Likewise.
15496         * soft-fp/floattisf.c (__floattisf): Likewise.
15497         * soft-fp/floattitf.c (__floattitf): Likewise.
15498         * soft-fp/floatundidf.c (__floatundidf): Likewise.
15499         * soft-fp/floatundisf.c (__floatundisf): Likewise.
15500         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15501         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15502         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15503         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15504         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15505         * soft-fp/gesf2.c (__gesf2): Likewise.
15506         * soft-fp/getf2.c (__getf2): Likewise.
15507         * soft-fp/ledf2.c (__ledf2): Likewise.
15508         * soft-fp/lesf2.c (__lesf2): Likewise.
15509         * soft-fp/letf2.c (__letf2): Likewise.
15510
15511         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15512         Undefine and redefine.
15513         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15514         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15515         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15516         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15517         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15518         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15519         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15520         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15521         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15522         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15523         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15524         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15525         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15526         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15527         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15528
15529         [BZ #16032]
15530         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15531         without decrementing exponent if mantissa >= that for the
15532         denominator, not >.
15533         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15534         denominator, not >.  Decrement exponent in < case instead of
15535         incrementing in >= case.
15536         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15537         without decrementing exponent if mantissa >= that for the
15538         denominator, not >.
15539
15540         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15541         computing saturated result for unsigned overflow.
15542
15543 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15544             Jeff Law  <law@redhat.com>
15545
15546         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15547         (atan2Mp): Add systemtap probe marker.
15548         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15549         (__ieee754_log): Add systemtap probe marker.
15550         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15551         (atanMp): Add systemtap probe marker.
15552         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15553         (tanMp): Add systemtap probe marker.
15554         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15555         (__slowexp): Add systemtap probe marker.
15556         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15557         (__slowpow): Add systemtap probe marker.
15558         * manual/probes.texi: Document probes.
15559
15560 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
15561
15562         [BZ #15362]
15563         * libio/fileops.c (_IO_new_file_write): Return count of bytes
15564         written.
15565         (_IO_new_file_xsputn): Don't return EOF if nothing has been
15566         written.
15567         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15568         written to buffer but not flushed.
15569         * libio/iofwrite_u.c:  Likewise.
15570         * libio/iopadn.c:  Return bytes returned even if EOF was
15571         encountered.
15572         * libio/iowpadn.c:  Likewise.
15573         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15574         if _IO_padn does not write the whole buffer.
15575         [!COMPILE_WPRINTF] (PAD): Likewise.
15576
15577 2013-10-10  David S. Miller  <davem@davemloft.net>
15578
15579         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15580         directory block.
15581
15582 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
15583
15584         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
15585         instead of FSF address.
15586         * soft-fp/fixdfti.c: Likewise.
15587         * soft-fp/fixsfti.c: Likewise.
15588         * soft-fp/fixtfti.c: Likewise.
15589         * soft-fp/fixunsdfti.c: Likewise.
15590         * soft-fp/fixunssfti.c: Likewise.
15591         * soft-fp/fixunstfti.c: Likewise.
15592         * soft-fp/floattidf.c: Likewise.
15593         * soft-fp/floattisf.c: Likewise.
15594         * soft-fp/floattitf.c: Likewise.
15595         * soft-fp/floatuntidf.c: Likewise.
15596         * soft-fp/floatuntisf.c: Likewise.
15597         * soft-fp/floatuntitf.c: Likewise.
15598         * soft-fp/trunctfxf2.c: Likewise.
15599
15600         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
15601         * soft-fp/fixdfti.c: Likewise.
15602         * soft-fp/fixsfti.c: Likewise.
15603         * soft-fp/fixtfti.c: Likewise.
15604         * soft-fp/fixunsdfti.c: Likewise.
15605         * soft-fp/fixunssfti.c: Likewise.
15606         * soft-fp/fixunstfti.c: Likewise.
15607         * soft-fp/floattidf.c: Likewise.
15608         * soft-fp/floattisf.c: Likewise.
15609         * soft-fp/floattitf.c: Likewise.
15610         * soft-fp/floatuntidf.c: Likewise.
15611         * soft-fp/floatuntisf.c: Likewise.
15612         * soft-fp/floatuntitf.c: Likewise.
15613         * soft-fp/trunctfxf2.c: Likewise.
15614
15615 2013-10-10  David S. Miller  <davem@davemloft.net>
15616
15617         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15618
15619 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
15620
15621         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15622         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15623         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15624         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15625         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15626         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15627         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15628
15629         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15630         for NaNs before doing comparisons on argument.
15631         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15632         Likewise.
15633
15634 2013-10-10  Will Newton  <will.newton@linaro.org>
15635
15636         * malloc/hooks.c (memalign_check): Ensure the value of bytes
15637         passed to _int_memalign does not overflow.
15638
15639 2013-10-10  Torvald Riegel  <triegel@redhat.com>
15640
15641         * scripts/bench.pl: Add include-sources directive.
15642         * benchtests/README: Update documentation.
15643
15644 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
15645
15646         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15647         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15648         instead of FP_INIT_ROUNDMODE.
15649         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15650         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15651
15652         [BZ #16034]
15653         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
15654         copy class of input value.
15655         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
15656         not handle exceptions.
15657         * soft-fp/negsf2.c (__negsf2): Likewise.
15658         * soft-fp/negtf2.c (__negtf2): Likewise.
15659         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15660
15661 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
15662
15663         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15664         semicolon.  From Linux kernel.
15665
15666 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
15667
15668         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15669
15670 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
15671
15672         [BZ #156]
15673         * manual/socket.texi: Added statement about buffer
15674         for gethostbyname2_r.
15675
15676 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
15677
15678         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15679         Use .p2align directive instead, throughout.
15680         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15681         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15682         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15683         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15684         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15685         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15686         * sysdeps/x86_64/strchr.S: Likewise.
15687         * sysdeps/x86_64/strrchr.S: Likewise.
15688
15689 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15690
15691         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15692
15693         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15694
15695         * sysdeps/generic/math_private.h (__mpsin1): Remove
15696         declaration.
15697         (__mpcos1): Likewise.
15698         (__mpsin): New argument __range_reduce.
15699         (__mpcos): Likewise.
15700         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15701         (slow): Use __mpsin and __mpcos.
15702         (slow1): Likewise.
15703         (slow2): Likewise.
15704         (sloww): Likewise.
15705         (sloww1): Likewise.
15706         (sloww2): Likewise.
15707         (bsloww): Likewise.
15708         (bsloww1): Likewise.
15709         (bsloww2): Likewise.
15710         (cslow2): Likewise.
15711         (csloww): Likewise.
15712         (csloww1): Likewise.
15713         (csloww2): Likewise.
15714         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15715         range_reduce.  Merge in __mpsin1.
15716         (__mpcos): Likewise.
15717         (__mpsin1): Remove.
15718         (__mpcos1): Likewise.
15719
15720 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
15721
15722         * locale/loadlocale.c (_nl_intern_locale_data): Use
15723         LOCFILE_ALIGNED_P.
15724         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15725         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15726         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15727         obstack data is appropriately aligned.
15728         (obstack_int32_grow_fast): Likewise.
15729         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15730         * locale/programs/locfile.c (add_locale_uint32): Likewise.
15731         (add_locale_uint32_array): Likewise.
15732
15733 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
15734
15735         * benchtests/Makefile: Remove ARGLIST and RET variables.
15736         ($(objpfx)bench-%.c): Pass only function name to the script.
15737         * benchtests/README: Update documentation.
15738         * benchtests/acos-inputs: Add new directives.
15739         * benchtests/acosh-inputs: Likewise.
15740         * benchtests/asin-inputs: Likewise.
15741         * benchtests/asinh-inputs: Likewise.
15742         * benchtests/atan-inputs: Likewise.
15743         * benchtests/atanh-inputs: Likewise.
15744         * benchtests/cos-inputs: Likewise.
15745         * benchtests/cosh-inputs: Likewise.
15746         * benchtests/exp-inputs: Likewise.
15747         * benchtests/log-inputs: Likewise.
15748         * benchtests/pow-inputs: Likewise.
15749         * benchtests/rint-inputs: Likewise.
15750         * benchtests/sin-inputs: Likewise.
15751         * benchtests/sinh-inputs: Likewise.
15752         * benchtests/tan-inputs: Likewise.
15753         * benchtests/tanh-inputs: Likewise.
15754         * scripts/bench.pl: Add support for new directives.
15755
15756 2013-10-07  Alan Modra  <amodra@gmail.com>
15757
15758         * README: Fix careless merge.
15759
15760 2013-10-05  Alan Modra  <amodra@gmail.com>
15761
15762         * NEWS: Mention powerpc64le support and bugs fixed.
15763         * README: Both big-endian and little-endian powerpc64 supported.
15764
15765 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15766
15767         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15768         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15769         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15770         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15771
15772 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
15773
15774         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15775         match prototype.
15776
15777 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
15778
15779         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15780         Move -mhard-float appending from
15781         ports/sysdeps/powerpc/powerpc32/Makefile.
15782         [$(with-fp) = yes] (ASFLAGS): Likewise.
15783         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15784         * sysdeps/powerpc/nofpu: Move directory from
15785         ports/sysdeps/powerpc/nofpu.
15786         * sysdeps/powerpc/soft-fp: Move directory from
15787         ports/sysdeps/powerpc/soft-fp.
15788         * sysdeps/powerpc/powerpc32/405: Move directory from
15789         ports/sysdeps/powerpc/powerpc32/405.
15790         * sysdeps/powerpc/powerpc32/440: Move directory from
15791         ports/sysdeps/powerpc/powerpc32/440.
15792         * sysdeps/powerpc/powerpc32/464: Move directory from
15793         ports/sysdeps/powerpc/powerpc32/464.
15794         * sysdeps/powerpc/powerpc32/476: Move directory from
15795         ports/sysdeps/powerpc/powerpc32/476.
15796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15797         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15799         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15801         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15803         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15805         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15806         * README: Update for powerpc-*-linux-gnu software floating point
15807         support in libc.
15808
15809         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15810         case to powerpc/powerpc32*.
15811         * sysdeps/unix/sysv/linux/configure: Regenerated.
15812
15813         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15814         (_FPU_MASK_OM): Define as 0x04.
15815         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15816         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15817         0x00c10080.
15818         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15819         0x0000003c.
15820         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15821
15822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15823         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15824         getcontext_e500.
15825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15826         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15827         setcontext_e500.
15828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15829         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15830         and setcontext_e500.
15831
15832 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
15833
15834         * locale/iso-3166.def: Update iso-1366.def and related occurrences
15835
15836 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15837
15838         * manual/threads.texi (Default Thread Attributes): Fix typo.
15839
15840 2013-10-04  Will Newton  <will.newton@linaro.org>
15841
15842         * malloc/Makefile: Add tst-memalign.
15843         * malloc/tst-memalign.c: New file.
15844
15845         * malloc/tst-posix_memalign.c: Add comments.
15846         (do_test): Add comments and call free on all potentially
15847         allocated pointers. Add space after cast.
15848
15849         * malloc/tst-pvalloc.c: Add comments.
15850         (do_test): Add comments and call free on all potentially
15851         allocated pointers. Remove duplicate check for NULL pointer.
15852         Add space after cast.
15853
15854         * malloc/tst-valloc.c: Add comments.
15855         (do_test): Add comments and call free on all potentially
15856         allocated pointers. Remove duplicate check for NULL pointer.
15857         Add space after cast.
15858
15859 2013-10-04  Alan Modra  <amodra@gmail.com>
15860
15861         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15862         Use stdint types in rather than __attribute__((mode())).
15863         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15864
15865 2013-10-04  Alan Modra  <amodra@gmail.com>
15866
15867         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15868         Correct handling of unaligned relocs for little-endian.
15869         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15870
15871 2013-10-04  Alan Modra  <amodra@gmail.com>
15872
15873         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15874         * configure: Regenerate.
15875         * nptl/shlib-versions: Powerpc*le starts at 2.18.
15876         * shlib-versions: Likewise.
15877
15878 2013-10-04  Alan Modra  <amodra@gmail.com>
15879
15880         * string/tester.c (test_memrchr): Increment reported test cycle.
15881
15882 2013-10-04  Alan Modra  <amodra@gmail.com>
15883
15884         * string/test-memcpy.c (do_one_test): When reporting errors, print
15885         string address and don't overrun end of string.
15886
15887 2013-10-04  Alan Modra  <amodra@gmail.com>
15888
15889         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15890         insrdi.  Make better use of reg selection to speed exit slightly.
15891         Schedule entry path a little better.  Remove useless "are we done"
15892         checks on entry to main loop.  Handle wrapping around zero address.
15893         Correct main loop count.  Handle single left-over word from main
15894         loop inline rather than by using loop_small.  Remove extra word
15895         case in loop_small caused by wrong loop count.  Add little-endian
15896         support.
15897         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15898         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
15899         cache hint.
15900         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15901         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15902         support.  Avoid rlwimi.
15903         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15904
15905 2013-10-04  Alan Modra  <amodra@gmail.com>
15906
15907         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
15908         insrdi.  Formatting.
15909         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15910         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15911         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15912         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15913         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15914         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15915
15916 2013-10-04  Alan Modra  <amodra@gmail.com>
15917
15918         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15919         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15920         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15921         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15922         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15923         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15924         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15925         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15926         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
15927         use of regs.  Use power7 mtocrf.  Tidy function tails.
15928
15929 2013-10-04  Alan Modra  <amodra@gmail.com>
15930
15931         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15932         Formatting.  Consistently use rXXX register defines or rN defines.
15933         Use early exit labels that avoid restoring unused non-volatile regs.
15934         Make cr field use more consistent with rWORDn compares.  Rename
15935         regs used as shift registers for unaligned loop, using rN defines
15936         for short lifetime/multiple use regs.
15937         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15938         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
15939         addi 1,1,64 to pop stack frame.  Simplify return value code.
15940         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15941
15942 2013-10-04  Alan Modra  <amodra@gmail.com>
15943
15944         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15945         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
15946         rather than rlwimi.
15947         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15948         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15949         little-endian support.  Correct typos.
15950         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
15951         rather than rlwimi.
15952         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
15953         in loop and entry code to keep "and." results.
15954         (strchr): Add little-endian support.  Comment.  Move cntlzd
15955         earlier in tail.
15956         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15957
15958 2013-10-04  Alan Modra  <amodra@gmail.com>
15959
15960         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15961         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15962         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15963         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15964
15965 2013-10-04  Alan Modra  <amodra@gmail.com>
15966
15967         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15968         (rTMP): Define as r11.
15969         (strcmp): Add little-endian support.  Optimise tail.
15970         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15971         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15972         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15973         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15974         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15975         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15976         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15977
15978 2013-10-04  Alan Modra  <amodra@gmail.com>
15979
15980         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15981         little-endian support.  Remove unnecessary "are we done" tests.
15982         Handle "s" wrapping around zero and extremely large "size".
15983         Correct main loop count.  Handle single left-over word from main
15984         loop inline rather than by using small_loop.  Correct comments.
15985         Delete "zero" tail, use "end_max" instead.
15986         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15987
15988 2013-10-04  Alan Modra  <amodra@gmail.com>
15989
15990         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15991         support.  Don't branch over align.
15992         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15993         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15994         support.  Rearrange tmp reg use to suit.  Comment.
15995         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15996
15997 2013-10-04  Alan Modra  <amodra@gmail.com>
15998
15999         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16000
16001 2013-10-04  Alan Modra  <amodra@gmail.com>
16002
16003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16004         conditional form of branch and link when obtaining pc.
16005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16006
16007 2013-10-04  Alan Modra  <amodra@gmail.com>
16008
16009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16010         HIWORD/LOWORD.
16011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16013
16014 2013-10-04  Alan Modra  <amodra@gmail.com>
16015
16016         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16017         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16018         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16019         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16020         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16021         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16022         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16023         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16024         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16025         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16026
16027 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16028             Alistair Popple <alistair@ozlabs.au.ibm.com>
16029             Alan Modra <amodra@gmail.com>
16030
16031         [BZ #15723]
16032         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16033         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16034         _dl_hwcap access for little-endian.
16035         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
16036         destroy vmx regs when saving unaligned.
16037         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16038         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
16039         destroy vmx regs when saving unaligned.
16040
16041 2013-10-04  Alan Modra  <amodra@gmail.com>
16042
16043         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16044         Don't use a union to pack hi/low value.
16045
16046 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16047
16048         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16049         for little-endian.
16050         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16051         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16052         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16053         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16054         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16055
16056 2013-10-04  Alan Modra  <amodra@gmail.com>
16057
16058         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16059         constants to usual value for .cst8 section, and remove redundant
16060         high address load.
16061         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16062         constant for 0x1p52.  Load little-endian words of double from
16063         correct stack offsets.
16064
16065 2013-10-04  Alan Modra  <amodra@gmail.com>
16066
16067         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16068         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16069         words of double from correct stack offsets.
16070         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16071         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16072         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16073         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16074         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16075         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16076         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16077         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16078         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16079         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16080         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16081         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16082         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16083         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16084         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16085         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16086         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16087
16088 2013-10-04  Alan Modra  <amodra@gmail.com>
16089
16090         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16091         64-bit int/double union.
16092         (_FPU_SETCW): Likewise.
16093         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16094         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16095
16096 2013-10-04  Alan Modra  <amodra@gmail.com>
16097
16098         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16099         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16100
16101 2013-10-04  Alan Modra  <amodra@gmail.com>
16102
16103         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16104         use vector int constants.
16105         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16106
16107 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16108
16109         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16110         array with long long.
16111         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16112         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16113         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16114         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16115         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16116         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16117         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16118         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16119         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16120         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16121         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16122         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16123         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16124
16125 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16126
16127         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16128         (__signbit): Likewise.  Correct for little-endian.
16129         (__signbitl): Call __signbit.
16130         (lrint): Correct for little-endian.
16131         (lrintf): Call lrint.
16132
16133 2013-10-04  Alan Modra  <amodra@gmail.com>
16134
16135         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16136         union 32-bit int array member with 64-bit int array.
16137         (t515, tm256): Double rather than long double.
16138         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16139
16140 2013-10-04  Alan Modra  <amodra@gmail.com>
16141
16142         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16143         Delete.
16144         (IEEE854_LONG_DOUBLE_BIAS): Delete.
16145         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16146         version of math_ldbl.h.
16147
16148 2013-10-04  Alan Modra  <amodra@gmail.com>
16149
16150         [BZ #15734], [BZ #15735]
16151         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16152         all uses of ieee875 long double macros and unions.  Simplify test
16153         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
16154         ldbl_extract_mantissa value for ix,iy exponents.  Properly
16155         normalize after ldbl_extract_mantissa, and don't add hidden bit
16156         already handled.  Don't treat low word of ieee854 mantissa like
16157         low word of IBM long double and mask off bit when testing for
16158         zero.
16159         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16160         all uses of ieee875 long double macros and unions.  Simplify tests
16161         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
16162         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
16163         two1022, instead use their values.  Recognise that tests for large
16164         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
16165         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16166         Rewrite all uses of ieee875 long double macros and unions.  Simplify
16167         test for 0.0L and nan.  Correct negation.
16168         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16169         ieee875 long double macros and unions.  Correct output for large
16170         magnitude x.  Correct absolute value calculation.
16171         (__erfcl): Likewise.
16172         * math/libm-test.inc: Add tests for errors discovered in IBM long
16173         double versions of fmodl, remainderl, erfl and erfcl.
16174
16175 2013-10-04  Alan Modra  <amodra@gmail.com>
16176
16177         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16178         all uses of ieee854 long double macros and unions.  Simplify tests
16179         for long doubles that are fully specified by the high double.
16180         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16181         Likewise.
16182         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16183         Remove dead code too.
16184         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16185         (__ieee754_ynl): Likewise.
16186         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16187         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16188         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16189         Remove dead code too.
16190         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16191         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16192         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16193         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16194         Simplify.
16195         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16196         Simplify.
16197         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16198         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16199         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16200         Comment on variable precision.
16201         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16202         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16203         Likewise.
16204         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16205         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16206         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16207         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16208         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16209
16210 2013-10-04  Alan Modra  <amodra@gmail.com>
16211
16212         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16213         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16214         all uses of ieee854 long double macros and unions.
16215         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16216         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16217         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16218         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16219         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16220         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16221         Likewise.
16222         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16223         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16224         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16225         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16226         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16227         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16228         Simplify sign and nan test too.
16229         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16230         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16231         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16232         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16233         Likewise.
16234         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16235         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16236         Likewise.
16237         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16238         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16239         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16240         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16241         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16242         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16243
16244 2013-10-04  Alan Modra  <amodra@gmail.com>
16245
16246         * stdio-common/printf_size.c (__printf_size): Don't use
16247         union ieee854_long_double in fpnum union.
16248         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
16249         signbit macro to retrieve sign from long double.
16250         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16251         retrieve sign from long double.
16252         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16253         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16254         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16255         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16256         * math/test-misc.c (main): Don't use union ieee854_long_double.
16257
16258 2013-10-04  Alan Modra  <amodra@gmail.com>
16259
16260         [BZ #15680]
16261         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16262         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16263         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16264         calculation.  Remove unnecessary test for denormal exponent.
16265         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16266         Correct handling of denormals.  Avoid undefined shift behaviour.
16267         Correct normalisation of low mantissa when low double is denormal.
16268         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16269         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
16270         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16271         Correct normalisation of low mantissa.  Test for overflow of high
16272         mantissa and normalise.
16273         (ldbl_nearbyint): Use more readable constant for two52.
16274         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16275         (__mpn_construct_long_double): Fix test for overflow of high
16276         mantissa and correct normalisation.  Avoid undefined shift.
16277
16278 2013-10-04  Alan Modra  <amodra@gmail.com>
16279
16280         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16281         (union ibm_extended_long_double): Define as an array of ieee754_double.
16282         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16283         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16284         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16285         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16286         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16287         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16288         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16289         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16290         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16291         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16292         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16293
16294 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
16295
16296         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16297         page size instead of calling getpagesize.
16298
16299         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16300         (LOCFILE_ALIGN_MASK): Likewise.
16301         (LOCFILE_ALIGN_UP): Likewise.
16302         (LOCFILE_ALIGNED_P): Likewise.
16303         * locale/programs/ld-collate.c (collate_output): Use the new
16304         macros instead of __alignof__ (int32_t).
16305         * locale/weight.h (findidx): Likewise.
16306
16307 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
16308
16309         [BZ #431]
16310         * manual/string.texi: Fix strncat and wcsncat.
16311
16312 2013-10-03  Brooks Moses  <bmoses@google.com>
16313
16314         [BZ #15915]
16315         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16316         * Makerules: ...here, and adjust associated comments.
16317
16318 2013-10-02  Will Newton  <will.newton@linaro.org>
16319
16320         * malloc/Makefile: Add tst-pvalloc.
16321         * malloc/tst-pvalloc.c: New file.
16322
16323 2013-10-02  Will Newton  <will.newton@linaro.org>
16324
16325         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16326         improve test coverage.
16327
16328 2013-10-02  Will Newton  <will.newton@linaro.org>
16329
16330         * malloc/Makefile: Add tst-posix_memalign.
16331         * malloc/tst-posix_memalign.c: New file.
16332
16333 2013-10-01  Eric Blake  <eblake@redhat.com>
16334
16335         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16336         Use __THROWNL rather than __THROW on static functions.
16337
16338 2013-09-30  Petr Machata  <pmachata@redhat.com>
16339
16340         * elf/elf.h (R_AARCH64_ABS16): New macro.
16341         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16342         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16343         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16344         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16345         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16346         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16347         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16348         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16349         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16350         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16351         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16352         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16353         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16354         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16355         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16356         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16357         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16358         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16359         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16360         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16361         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16362         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16363         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16364         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16365         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16366         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16367         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16368         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16369         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16370         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16371         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16372         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16373         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16374         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16375         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16376         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16377         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16378         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16379         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16380         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16381         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16382         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16383         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16384         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16385         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16386         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16387         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16388         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16389         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16390         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16391         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16392         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16393         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16394         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16395         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16396         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16397         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16398         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16399         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16400         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16401         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16402         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16403         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16404         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16405         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16406         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16407         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16408         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16409         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16410         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16411         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16412         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16413         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16414         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16415         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16416         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16417         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16418         (R_AARCH64_TLSDESC_LDR): Likewise.
16419         (R_AARCH64_TLSDESC_ADD): Likewise.
16420         (R_AARCH64_TLSDESC_CALL): Likewise.
16421
16422 2013-09-30  Andreas Schwab  <schwab@suse.de>
16423
16424         [BZ #15048]
16425         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16426         the nss database lookup.
16427         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16428         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16429
16430 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
16431
16432         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16433
16434 2013-09-28  P. J. McDermott  <pj@pehjota.net>
16435
16436         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16437         ${Bash-specific parameter/pattern/string} parameter expansion.
16438         * sysdeps/unix/make-syscalls.sh: Likewise.
16439
16440 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16441
16442         * sysdeps/sh/stackguard-macros.h: New file.
16443
16444 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
16445
16446         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16447         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16448         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16449         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16450         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16451         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16452
16453 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16454
16455         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16456         Fix thread ID register.
16457
16458 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
16459
16460         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16461         [POSIX || UNIX98]: Require rather than permitting all symbols from
16462         <time.h>.
16463         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16464         element of struct sched_param.
16465         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16466         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16467         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16468         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16469         constant.
16470
16471 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
16472
16473         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16474         argument calculation.
16475
16476 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16477
16478         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16479         Expect macro.
16480         [POSIX] (pthread_attr_t): Do not require type.
16481         [POSIX] (pthread_cond_t): Likewise.
16482         [POSIX] (pthread_condattr_t): Likewise.
16483         [POSIX] (pthread_key_t): Likewise.
16484         [POSIX] (pthread_mutex_t): Likewise.
16485         [POSIX] (pthread_mutexattr_t): Likewise.
16486         [POSIX] (pthread_once_t): Likewise.
16487         [POSIX] (pthread_t): Likewise.
16488         [POSIX-based standards] (pthread_atfork): Expect function.
16489
16490 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16491             Richard Sandiford  <richard@codesourcery.com>
16492
16493         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16494         (swap_endianness_p): New extern variable.
16495         (set_big_endian): New inline function.
16496         (maybe_swap_uint32): Likewise.
16497         (maybe_swap_uint32_array): Likewise.
16498         (maybe_swap_uint32_obstack): Likewise.
16499         * locale/programs/locfile.c: Include <stdbool.h>.
16500         (swap_endianness_p): New variable.
16501         (add_locale_uint32): Call maybe_swap_uint32.
16502         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16503         (write_locale_data): Call maybe_swap_uint32_array.
16504         * locale/programs/ld-collate.c (obstack_int32_grow): Call
16505         maybe_swap_uint32.
16506         (obstack_int32_grow_fast): Likewise.
16507         (output_weightwc): Call maybe_swap_uint32_obstack.
16508         (collate_output): Likewise.
16509         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16510         (OPT_LITTLE_ENDIAN): Likewise.
16511         (options): Add --little-endian and --big-endian options.
16512         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16513         * locale/programs/locarchive.c: Include "locfile.h".
16514         (GET): New macro.
16515         (SET): Likewise.
16516         (INC): Likewise.
16517         (create_archive): Use the new macros to access fields of
16518         structures directly mapped from or written to locale archives.
16519         (oldlocrecentcmp): Likewise.
16520         (enlarge_archive): Likewise.
16521         (insert_name): Likewise.
16522         (add_alias): Likewise.
16523         (add_locale): Likewise.
16524         (delete_locales_from_archive): Likewise.
16525         (show_archive_content): Likewise.
16526         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
16527         locale data.
16528
16529 2013-09-24  Roland McGrath  <roland@hack.frob.com>
16530
16531         * manual/freemanuals.texi: Updated from (newly) canonical copy at
16532         http://www.gnu.org/doc/freemanuals.texi.
16533         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16534
16535 2013-09-24  Will Newton  <will.newton@linaro.org>
16536
16537         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16538         macro.
16539
16540 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
16541
16542         * locale/hashval.h (compute_hashval): Interpret bytes of key as
16543         unsigned char.
16544
16545 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
16546
16547         * manual/threads.texi (POSIX Threads): Fix a typo.
16548
16549 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16550
16551         [BZ #14547]
16552         * string/tst-strcoll-overflow.c: New test case.
16553         * string/Makefile (xtests): Add tst-strcoll-overflow.
16554         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16555         cache if string sizes may cause integer overflow.
16556
16557         [BZ #14547]
16558         * string/strcoll_l.c (coll_seq): New members rule, idx,
16559         save_idx and back_us.
16560         (get_next_seq_nocache): New function.
16561         (do_compare_nocache): New function.
16562         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16563         when malloc fails.
16564
16565 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
16566
16567         [BZ #15754]
16568         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16569         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16570         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16571
16572         [BZ #15754]
16573         * elf/Makefile (tests): Add tst-ptrguard1.
16574         (tests-static): Add tst-ptrguard1-static.
16575         (tst-ptrguard1-ARGS): Define.
16576         (tst-ptrguard1-static-ARGS): Define.
16577         * elf/tst-ptrguard1.c: New file.
16578         * elf/tst-ptrguard1-static.c: New file.
16579         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16580         * sysdeps/i386/stackguard-macros.h: Likewise.
16581         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16582         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16583         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16584         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16585         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16586         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16587
16588 2013-09-23  Hector Marco  <hecmargi@upv.es>
16589             Ismael Ripoll  <iripoll@disca.upv.es>
16590             Carlos O'Donell  <carlos@redhat.com>
16591
16592         [BZ #15754]
16593         * sysdeps/generic/stackguard-macros.h: Define
16594         __pointer_chk_guard_local and POINTER_CHK_GUARD.
16595         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16596         Define __pointer_chk_guard_local.
16597         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16598         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16599
16600 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
16601
16602         [BZ #15859]
16603         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16604
16605 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
16606
16607         * include/string.h (__ffs): Declare as hidden.
16608         * string/ffs.c (__ffs): Define as hidden.
16609         * sysdeps/i386/ffs.c (__ffs): Likewise.
16610         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16611         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16612         * sysdeps/s390/ffs.c (__ffs): Likewise.
16613         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16614
16615 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
16616
16617         * NEWS: Mention malloc probes.
16618
16619         * malloc/arena.c (new_heap): New memory_heap_new probe.
16620         (grow_heap): New memory_heap_more probe.
16621         (shrink_heap): New memory_heap_less probe.
16622         (heap_trim): New memory_heap_free probe.
16623         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16624         (systrim): New memory_sbrk_less probe.
16625         * manual/probes.texi: Document them.
16626
16627         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16628         * manual/probes.texi: Document it.
16629
16630         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16631         (__libc_realloc): Add memory_realloc_retry probe.
16632         (__libc_memalign): Add memory_memalign_retry probe.
16633         (__libc_valloc): Add memory_valloc_retry probe.
16634         (__libc_pvalloc): Add memory_pvalloc_retry probe.
16635         (__libc_calloc): Add memory_calloc_retry probe.
16636         * manual/probes.texi: Document them.
16637
16638         * malloc/arena.c (get_free_list): Add probe
16639         memory_arena_reuse_free_list.
16640         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16641         and memory_arena_reuse.
16642         (arena_get2) [!PER_THREAD]: Likewise.
16643         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16644         memory_arena_reuse_realloc.
16645         * manual/probes.texi: Document them.
16646
16647         * malloc/malloc.c (__libc_free): Add
16648         memory_mallopt_free_dyn_thresholds probe.
16649         (__libc_mallopt): Add multiple memory_mallopt probes.
16650         * manual/probes.texi: Document them.
16651
16652         * malloc/malloc.c: Include stap-probe.h.
16653         (__libc_mallopt): Add memory_mallopt probe.
16654         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16655         * manual/probes.texi: New.
16656         * manual/Makefile (chapters): Add probes.
16657         * manual/threads.texi: Set next node.
16658
16659 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
16660
16661         [BZ #15963, #13985]
16662         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16663         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16664         Add `Chinese' to `nan' entry name.
16665
16666 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16667
16668         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16669         (POLYNOMIAL): Likewise.
16670         (TAYLOR_SINCOS): Likewise.
16671         (TAYLOR_SLOW): Likewise.
16672         (__sin): Use TAYLOR_SINCOS.
16673         (__cos): Likewise.
16674         (slow): Use TAYLOR_SLOW.
16675         (sloww): Likewise.
16676         (bsloww): Likewise.
16677         (csloww): Likewise.
16678
16679 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16680
16681         * stdlib/strtod_l.c: Fix buffer overrun.
16682
16683 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16684
16685         * benchtests/Makefile (bench): Add sincos.
16686         * benchtests/bench-sincos.c: New file.
16687
16688         * math/libm-test.inc (cos_test_data): New test inputs.
16689         (sin_test_data): Likewise.
16690
16691         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16692         macro.
16693         (__sin): Use it.
16694         (__cos): Likewise.
16695         (slow1): Likewise.
16696         (slow2): Likewise.
16697         (sloww1): Likewise.
16698         (sloww2): Likewise.
16699         (bsloww1): Likewise.
16700         (bsloww2): Likewise.
16701         (cslow2): Likewise.
16702         (csloww1): Likewise.
16703         (csloww2): Likewise.
16704
16705         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16706         function.
16707         (__sin): Use it.
16708         (__cos): Likewise.
16709
16710         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16711         gotos.
16712         (__cos): Likewise.
16713
16714 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
16715
16716         * config.h.in (HAVE_MIPS_NAN2008): New macro.
16717         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16718         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16719         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16720         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16721         * elf/cache.c (print_entry): Handle the new cache flags.
16722
16723 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
16724             Aldy Hernandez  <aldyh@redhat.com>
16725
16726         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16727         Change condition to [_SOFT_FLOAT].
16728         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16729         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16730         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16731         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16732         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16733         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16734         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16735         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16736         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16737         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16738         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16739         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16740         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16741         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16742         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16743         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16744         declaration.
16745
16746 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
16747
16748         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16749         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16750         (__longjmp): Use LOAD_GP to load saved GPRs.
16751         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16752         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16753         (__sigsetjmp): Use SAVE_GP to save GPRs.
16754
16755         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16756         Do not append -msoft-float.
16757         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16758
16759 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16760
16761         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16762
16763 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
16764
16765         [BZ #15966]
16766         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16767         (_FPU_GETCW): Use initial "__" on variable and field names but not
16768         on macro parameter name.
16769         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
16770         parentheses around reference to macro parameter.
16771
16772 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
16773
16774         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16775         prototype.
16776         (ctype_startup): Use uint32_t in cast and sizeof for
16777         ctype->charnames.
16778
16779 2013-09-11  Jia Liu  <proljc@gmail.com>
16780
16781         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16782         __daddr_t_defined.
16783         [__FreeBSD__]: Likewise.
16784
16785 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
16786
16787         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16788         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16789         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16790         (strchr): Remove __strchr_sse42 ifunc selection.
16791         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16792         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16793
16794 2013-09-11  Will Newton  <will.newton@linaro.org>
16795
16796         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16797         parameter to RES. Remove hardcoded 1000 value.
16798         * benchtests/bench-skeleton.c (main): Pass RES parameter
16799         to TIMING_INIT and multiply result by 1000.
16800
16801 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16802
16803         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16804
16805 2013-09-11  Andreas Schwab  <schwab@suse.de>
16806
16807         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16808         if not defined.
16809         (O_TMPFILE) [__USE_GNU]: Define.
16810         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16811         Define.
16812
16813 2013-09-11  Will Newton  <will.newton@linaro.org>
16814
16815         [BZ #15857]
16816         * malloc/malloc.c (__libc_memalign): Check the value of bytes
16817         does not overflow.
16818
16819 2013-09-11  Will Newton  <will.newton@linaro.org>
16820
16821         [BZ #15856]
16822         * malloc/malloc.c (__libc_valloc): Check the value of bytes
16823         does not overflow.
16824
16825 2013-09-11  Will Newton  <will.newton@linaro.org>
16826
16827         [BZ #15855]
16828         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16829         does not overflow.
16830
16831 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
16832
16833         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16834         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16835         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16836         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16837         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16838
16839 2013-09-10  Allan McRae  <allan@archlinux.org>
16840
16841         [BZ #15748]
16842         * manual/arith.texi (Parsing of Floats): Clarify
16843         cross-reference.
16844
16845         [BZ #15849]
16846         * manual/install.texi (Running make install): Mention
16847         --enable-pt-chown.
16848         * INSTALL: Regenerated.
16849
16850 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
16851
16852         * csu/init-first.c (_init): Remove the !SHARED condition around
16853         FPU control word initialization.
16854         * elf/dl-support.c (_dl_fpu_control): New variable.
16855         (_dl_aux_init) <AT_FPUCW>: Initialize it.
16856         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16857         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16858         * math/test-fpucw-static.c: New file.
16859         * math/test-fpucw-ieee.c: New file.
16860         * math/test-fpucw-ieee-static.c: New file.
16861         * math/Makefile (tests): Add `test-fpucw-ieee' and
16862         `$(tests-static)'.
16863         (tests-static): New variable.
16864         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16865         dependency to...
16866         [($(build-shared),yes)]
16867         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16868         ... this.
16869         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16870         New dependency.
16871
16872 2013-09-09  Allan McRae  <allan@archlinux.org>
16873
16874         [BZ #15939]
16875         * manual/string.texi (Collation Functions): Fix typo in
16876         strcoll example.
16877         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16878
16879         [BZ #15893]
16880         * stdlib/isomac.c (get_null_defines): Fix memory leak.
16881
16882         [BZ #15892]
16883         * libio/memstream.c (open_memstream): Fix memory leak.
16884         * libio/wmemstream.c (open_wmemstream): Likewise.
16885
16886         [BZ #15895]
16887         * nscd/netgroupcache.c: Fix nesting of ifdefs.
16888
16889 2013-09-09  Will Newton  <will.newton@linaro.org>
16890
16891         * malloc/Makefile: Add tst-realloc to tests.
16892         * malloc/tst-realloc.c: New file.
16893
16894 2013-09-09  Allan McRae  <allan@archlinux.org>
16895
16896         [BZ #15844]
16897         * COPYING: Update from GNU website to fix FSF address.
16898         * COPYING.LIB: Likewise.
16899
16900 2013-09-06  David S. Miller  <davem@davemloft.net>
16901
16902         * po/zh_TW.po: Update Chinese (traditional) translation from
16903         translation project.
16904
16905 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
16906             Joseph Myers  <joseph@codesourcery.com>
16907
16908         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16909         "localeinfo.h".
16910         (obstack_chunk_alloc): New macro.
16911         (obstack_chunk_free): Likewise.
16912         (record_offset): New function.
16913         (init_locale_data): Likewise.
16914         (align_locale_data): Likewise.
16915         (add_locale_empty): Likewise.
16916         (add_locale_raw_data): Likewise.
16917         (add_locale_raw_obstack): Likewise.
16918         (add_locale_string): Likewise.
16919         (add_locale_wstring): Likewise.
16920         (add_locale_uint32): Likewise.
16921         (add_locale_uint32_array): Likewise.
16922         (add_locale_char): Likewise.
16923         (start_locale_structure): Likewise.
16924         (end_locale_structure): Likewise.
16925         (start_locale_prelude): Likewise.
16926         (end_locale_prelude): Likewise.
16927         (write_locale_data): Take locale_file structure rather than an
16928         iovec.
16929         * locale/programs/locfile.h: Include "obstack.h".
16930         (struct locale_file): Change to store locale file contents instead
16931         of header.
16932         (init_locale_data): New prototype.
16933         (align_locale_data): Likewise.
16934         (add_locale_empty): Likewise.
16935         (add_locale_raw_data): Likewise.
16936         (add_locale_raw_obstack): Likewise.
16937         (add_locale_string): Likewise.
16938         (add_locale_wstring): Likewise.
16939         (add_locale_uint32): Likewise.
16940         (add_locale_uint32_array): Likewise.
16941         (add_locale_char): Likewise.
16942         (start_locale_structure): Likewise.
16943         (end_locale_structure): Likewise.
16944         (start_locale_prelude): Likewise.
16945         (end_locale_prelude): Likewise.
16946         (write_locale_data): Update prototype.
16947         * locale/programs/3level.h (struct TABLE): Remove result field.
16948         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16949         Use new locale_file interface.
16950         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16951         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16952         * locale/programs/ld-address.c (address_output): Use new
16953         locale_file interface.
16954         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16955         NO_ADD_LOCALE.
16956         (collate_finish): Don't call collseq_table_finalize.
16957         (collate_output): Use new locale_file interface.
16958         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16959         in file.
16960         (NO_FINALIZE): Change to NO_ADD_LOCALE.
16961         (TABLE): Move defines earlier in file.
16962         (ELEMENT): Likewise.
16963         (DEFAULT): Likewise.
16964         (wctrans_table_add): Move macro and inline function earlier in
16965         file.
16966         (struct wctype_table): Move type earlier in file.
16967         (add_locale_wctype_table): New static prototype.
16968         (struct locale_ctype_t): Use logical types instead of struct iovec
16969         pointers for members.
16970         (ctype_output): Use new locale_file interface.
16971         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
16972         new locale_file interface.
16973         (allocate_arrays): Update for use of new locale_file interface.
16974         * locale/programs/ld-identification.c (identification_output): Use
16975         new locale_file interface.
16976         * locale/programs/ld-measurement.c (measurement_output): Likewise.
16977         * locale/programs/ld-messages.c (messages_output): Likewise.
16978         * locale/programs/ld-monetary.c (monetary_output): Likewise.
16979         * locale/programs/ld-name.c (name_output): Likewise.
16980         * locale/programs/ld-numeric.c (numeric_output): Likewise.
16981         * locale/programs/ld-paper.c (paper_output): Likewise.
16982         * locale/programs/ld-telephone.c (telephone_output): Likewise.
16983         * locale/programs/ld-time.c (time_output): Likewise.
16984
16985 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16986
16987         * benchtests/Makefile: Add memrchr benchmark.
16988         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16989         benchmark as memrchr.
16990         * benchtests/bench-memrchr-ifunc.c: New file.
16991         * benchtests/bench-memrchr.c: New file.
16992
16993 2013-09-06   Will Newton  <will.newton@linaro.org>
16994
16995         * benchtests/Makefile (string-bench): Add memcpy.
16996
16997 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
16998             Cong Wang  <amwang@redhat.com>
16999
17000         [BZ #15850]
17001         * sysdeps/unix/sysv/linux/bits/in.h
17002         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17003         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17004         before __USE_KERNEL_IPV6_DEFS uses.
17005         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17006         IPPROTO_BEETPH.
17007         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17008         sockaddr_in6, or ipv6_mreq.
17009
17010 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17011
17012         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17013         memory access for final bytes in some large inputs.
17014         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17015
17016 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17017
17018         * string/test-memrchr.c: New file.
17019         * string/test-memrchr-ifunc.c: New file.
17020         * string/Makefile: Add new memrchr testcase.
17021
17022 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
17023
17024         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17025         fanotify_init returns EPERM.
17026
17027 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17028
17029         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17030         errors.
17031         (top level): Treat second token from macro or constant entries for
17032         allowed headers as allowed.
17033         * include/complex.h: Condition internal declarations on
17034         [!_ISOMAC].
17035         * include/fenv.h: Condition include of <stdbool.h> and internal
17036         declarations on [!_ISOMAC].
17037
17038 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
17039
17040         [BZ #15923]
17041         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17042
17043 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17044
17045         * configure.in (--enable-versioning): Remove configure option.
17046         (libc_cv_asm_symver_directive): Remove configure test.
17047         (libc_cv_ld_version_script_option): Likewise.
17048         (VERSIONING): Remove variable and AC_SUBST.
17049         (DO_VERSIONING): Remove AC_DEFINE.
17050         * configure: Regenerated.
17051         * config.h.in (DO_VERSIONING): Remove macro.
17052         * Makerules [$(versioning) = yes]: Change conditionals to
17053         [$(build-shared) = yes].
17054         * config.make.in (versioning): Remove variable.
17055         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17056         [$(build-shared) = yes].
17057         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17058         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17059         * elf/Makefile [$(versioning) = yes]: Change conditionals to
17060         [$(build-shared) = yes].
17061         * extra-lib.mk [$(versioning) = yes]: Likewise.
17062         * hurd/Makefile [$(versioning) = yes]: Likewise.
17063         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17064         [SHARED].
17065         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17066         [SHARED].
17067         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17068         [SHARED && !NO_HIDDEN].
17069         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17070         [SHARED].
17071         [SHARED && DO_VERSIONING]: Likewise..
17072         * libio/Makefile [$(versioning) = yes]: Change conditionals to
17073         [$(build-shared) = yes].
17074         * manual/install.texi (--disable-versioning): Remove
17075         documentation.
17076         * INSTALL: Regenerated.
17077         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17078         to [SHARED].
17079         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17080         [$(build-shared) = yes].
17081         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17082         * sysdeps/i386/i686/multiarch/strstr-c.c
17083         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17084         [SHARED && !NO_HIDDEN].
17085         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17086         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17087         * sysdeps/powerpc/powerpc32/dl-machine.c
17088         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17089         * sysdeps/powerpc/powerpc32/sysdep.h
17090         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17091         to [SHARED && PIC && !NO_HIDDEN].
17092         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17093         conditional to [SHARED].
17094
17095 2013-09-04   Will Newton  <will.newton@linaro.org>
17096
17097         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17098         * benchtests/bench-string.h: Include bench-timing.h instead
17099         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17100         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17101         call to HP_TIMING_DIFF_INIT.
17102         * benchtests/bench-memccpy.c: Use bench-timing.h macros
17103         instead of hp-timing.h macros.
17104         * benchtests/bench-memchr.c: Likewise.
17105         * benchtests/bench-memcmp.c: Likewise.
17106         * benchtests/bench-memcpy.c: Likewise.
17107         * benchtests/bench-memmem.c: Likewise.
17108         * benchtests/bench-memmove.c: Likewise.
17109         * benchtests/bench-memset.c: Likewise.
17110         * benchtests/bench-rawmemchr.c: Likewise.
17111         * benchtests/bench-strcasecmp.c: Likewise.
17112         * benchtests/bench-strcasestr.c: Likewise.
17113         * benchtests/bench-strcat.c: Likewise.
17114         * benchtests/bench-strchr.c: Likewise.
17115         * benchtests/bench-strcmp.c: Likewise.
17116         * benchtests/bench-strcpy.c: Likewise.
17117         * benchtests/bench-strcpy_chk.c: Likewise.
17118         * benchtests/bench-strlen.c: Likewise.
17119         * benchtests/bench-strncasecmp.c: Likewise.
17120         * benchtests/bench-strncat.c: Likewise.
17121         * benchtests/bench-strncmp.c: Likewise.
17122         * benchtests/bench-strncpy.c: Likewise.
17123         * benchtests/bench-strnlen.c: Likewise.
17124         * benchtests/bench-strpbrk.c: Likewise.
17125         * benchtests/bench-strrchr.c: Likewise.
17126         * benchtests/bench-strspn.c: Likewise.
17127         * benchtests/bench-strstr.c: Likewise.
17128
17129 2013-09-04  Will Newton  <will.newton@linaro.org>
17130
17131         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17132
17133 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
17134
17135         [BZ #15427]
17136         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17137         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17138         * math/libm-test.inc (lgamma_test_data): Add more tests.
17139         * sysdeps/i386/fpu/libm-test-ulps: Update.
17140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17141
17142 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
17143
17144         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17145         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17146         Add ifunc.
17147         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17148         Add strcmp-sse2-unaligned
17149         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17150
17151 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17152
17153         * Versions.def (libc): Add GLIBC_2.19.
17154
17155 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17156
17157         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17158         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17159
17160 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
17161
17162         [BZ #14155]
17163         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17164         intermediate calculations in recurrence.
17165         (__ieee754_ynf): Likewise.
17166         * math/libm-test.inc (jn_test_data): Do not allow spurious
17167         underflow exception.  Add more tests.
17168         (yn_test_data): Add more tests.
17169         * sysdeps/i386/fpu/libm-test-ulps: Update.
17170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17171
17172 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
17173
17174         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17175
17176 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17177
17178         * csu/init-first.c: Fix then/than typos.
17179         * locale/programs/ld-collate.c: Likewise.
17180         * locale/programs/linereader.h: Likewise.
17181         * manual/charset.texi: Likewise.
17182         * manual/filesys.texi: Likewise.
17183         * manual/stdio.texi: Likewise.
17184         * manual/string.texi: Likewise.
17185         * stdlib/fmtmsg.c: Likewise.
17186         * sysdeps/i386/stpncpy.S: Likewise.
17187         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17188         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17189         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17190         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17191
17192 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17193
17194         * elf/dl-open.c: Fix typos.
17195         * iconvdata/gbbig5.c: Likewise.
17196         * iconvdata/iso-2022-jp.c: Likewise.
17197         * iconv/gconv_int.h: Likewise.
17198         * iconv/loop.c: Likewise.
17199         * nis/rpcsvc/nis.h: Likewise.
17200         * resolv/ns_name.c: Likewise.
17201         * stdio-common/vfscanf.c: Likewise.
17202         * streams/stropts.h: Likewise.
17203         * sunrpc/rpc_thread.c: Likewise.
17204         * sysdeps/i386/strpbrk.S: Likewise.
17205         * sysdeps/ieee754/k_standard.c: Likewise.
17206         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17207         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17208         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17209         * sysdeps/mach/hurd/profil.c: Likewise.
17210         * sysdeps/s390/dl-procinfo.h: Likewise.
17211         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17212         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17213         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17214         * sysdeps/x86_64/dl-trampoline.S: Likewise.
17215         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17216
17217 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
17218
17219         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17220         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17221
17222 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
17223
17224         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17225         aix specific files.
17226         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17227         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17228         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17229         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17230         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17231         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17232         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17233         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17234
17235 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17236             Roland McGrath  <roland@hack.frob.com>
17237
17238         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17239         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17240
17241 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17242
17243         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17244         __executable_start symbol instead of _start.
17245
17246 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17247
17248         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17249         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17250         Move macros to...
17251         * sysdeps/gnu/ldsodefs.h: ... this new file.
17252
17253         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17254         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17255         instead of ELFOSABI_LINUX.
17256
17257         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17258         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17259         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17260         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17261         Likewise.
17262         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17263         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17264         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17265         Likewise.
17266         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17267         (ibm_extended_long_double): Add ieee_nan member.
17268         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17269         (do_test): New function.
17270
17271         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17272         TEST_TRUNC.
17273         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17274         functions, renamed from truncdfsf_test, trunctfsf_test,
17275         trunctfdf_test.
17276         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17277         functions.
17278         (do_test): Run all these.
17279
17280 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
17281
17282         * argp/argp-help.c: Fix typos.
17283         * argp/argp-parse.c: Likewise.
17284         * debug/backtracesyms.c: Likewise.
17285         * elf/elf.h: Likewise.
17286         * malloc/malloc.c: Likewise.
17287         * nis/nis_print.c: Likewise.
17288         * resolv/res_comp.c: Likewise.
17289         * stdlib/stdlib.h: Likewise.
17290         * sunrpc/clnt_tcp.c: Likewise.
17291         * sunrpc/clnt_udp.c: Likewise.
17292         * sunrpc/clnt_unix.c: Likewise.
17293         * sysdeps/unix/bsd/ptsname.c: Likewise.
17294         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17295         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17297         Likewise.
17298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17299         Likewise.
17300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17301         Likewise.
17302         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17303
17304 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17305
17306         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17307         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17308
17309 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
17310
17311         [BZ #15897]
17312         * dlfcn/Makefile (tests): Add bug-dl-leaf.
17313         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17314         ($(objpfx)bug-dl-leaf): New rule.
17315         ($(objpfx)bug-dl-leaf.so): Likewise.
17316         ($(objpfx)bug-dl-leaf.out): Likewise.
17317         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17318         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17319         * dlfcn/bug-dl-leaf.c: New test.
17320         * dlfcn/bug-dl-leaf-lib.c: Likewise.
17321         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17322         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17323         (dlclose): Likewise.
17324         (dlmopen): Likewise.
17325
17326 2013-08-27  Roland McGrath  <roland@hack.frob.com>
17327
17328         * include/netdb.h [!_ISOMAC]:
17329         Don't include <tls.h>.
17330         (h_errno, __libc_h_errno): Move declaration and macros out of
17331         [_LIBC_REENTRANT].
17332
17333         * include/resolv.h [_RESOLV_H_]:
17334         Don't include <tls.h>.
17335         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17336         * resolv/res_libc.c: Don't include <tls.h>.
17337         (_res): Use __attribute__ ((nocommon)) in place of
17338         __attribute__ ((section (".bss"))).
17339
17340         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17341         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17342
17343         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17344
17345         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17346         only under [SIOCGIFCONF && SIOCGIFNETMASK].
17347
17348         * resolv/res_mkquery.c: Include <sys/time.h>.
17349
17350         * inet/ifreq.c: Moved to ...
17351         * sysdeps/unix/ifreq.c: ... here.
17352         * inet/ifreq.c: New file, true stub version.
17353
17354         * socket/sa_len.c: New file.
17355         * socket/Makefile (aux): Add it.
17356         * sysdeps/unix/sysv/linux/Makefile
17357         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17358         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17359         and #include <socket/sa_len.c>.
17360         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17361         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17362
17363         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17364         * bits/socket.h: ... here.
17365
17366         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17367         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17368         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17369
17370 2013-08-27  Andreas Schwab  <schwab@suse.de>
17371
17372         [BZ #15736]
17373         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17374         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17375         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17376         * string/test-strcasecmp.c (test_main): Run tests in several
17377         locales.
17378         * string/test-strncasecmp.c (test_main): Likewise.
17379
17380         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17381         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17382         to __strcasecmp_nonascii and __strncasecmp_nonascii.
17383         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17384         (__strncasecmp_ssse3) [PIC]: Likewise.
17385
17386 2013-08-26  Roland McGrath  <roland@hack.frob.com>
17387
17388         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17389
17390         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17391         instead of explicitly declaring xdecrypt.
17392         * nis/nss_nis/nis-publickey.c: Likewise.
17393
17394 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17395
17396         [BZ #15890]
17397         * nscd/aicache.c: Include res_hconf.h.
17398         (addhstaiX): Initialize res_hconf.
17399
17400 2013-08-26  Andreas Schwab  <schwab@suse.de>
17401
17402         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17403         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17404
17405 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17406
17407         * nscd/aicache.c (addhstaiX): Fix indentation.
17408
17409 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
17410
17411         * configure.ac: Quote $build_pt_chown test.
17412         * configure: Regenerated.
17413
17414 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
17415
17416         [BZ #15532]
17417         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17418         * math/s_cexpf.c (__cexpf): Likewise.
17419         * math/s_cexpl.c (__cexpl): Likewise.
17420         * math/libm-test.inc (cexp_test_data): Correct expected return
17421         value for NaN + i0.  Add another test.
17422
17423 2013-08-22  David S. Miller  <davem@davemloft.net>
17424
17425         * po/ca.po: Update Catalan translation from translation project.
17426         * po/uk.po: Add Ukrainian translations from translation project.
17427
17428 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
17429
17430         [BZ #15797]
17431         * math/s_fdim.c (__fdim): Check for infinite arguments if result
17432         is infinite, not alongside NaN test.
17433         * math/s_fdimf.c (__fdimf): Likewise.
17434         * math/s_fdiml.c (__fdiml): Likewise.
17435         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
17436         errno is unchanged.
17437
17438 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
17439
17440         * argp/argp-help.c: Fix typos.
17441         * crypt/speeds.c: Likewise.
17442         * csu/check_fds.c: Likewise.
17443         * elf/dl-load.c: Likewise.
17444         * elf/dl-open.c: Likewise.
17445         * elf/reldep3.c: Likewise.
17446         * elf/reldep.c: Likewise.
17447         * elf/sprof.c: Likewise.
17448         * iconv/iconv_charmap.c: Likewise.
17449         * iconv/skeleton.c: Likewise.
17450         * iconv/strtab.c: Likewise.
17451         * io/lockf64.c: Likewise.
17452         * libio/libioP.h: Likewise.
17453         * resolv/gai_notify.c: Likewise.
17454         * resolv/ns_name.c: Likewise.
17455         * resolv/ns_samedomain.c: Likewise.
17456         * resolv/res_send.c: Likewise.
17457         * stdlib/random.c: Likewise.
17458         * sunrpc/rpc/xdr.h: Likewise.
17459         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17460         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17461         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17462         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17463         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17464         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17465         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17466         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17467         * sysdeps/mach/hurd/check_fds.c: Likewise.
17468         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17469         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17470         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17471         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17472         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17473         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17474         * sysdeps/pthread/aio_notify.c: Likewise.
17475         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17476         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17477         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17478         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17479         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17480
17481 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17482
17483         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17484         version if bit_Slow_SSE4_2 is set.
17485         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17486         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17487
17488 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17489
17490         [BZ #15867]
17491         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17492         trampoline stack frame information.
17493         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17494         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17495         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17496         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17497         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17498         * sysdeps/unix/sysv/linux/powerpc/init-first.c
17499         (_libc_vdso_platform_setup): Initialize the signal trampolines.
17500         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17501         sa_flags value.
17502         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17503         interrupting a syscall and set with option SA_SIGINFO.
17504
17505 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17506
17507         [BZ #15531]
17508         * math/s_cproj.c (__cproj): Only return an infinity if one part of
17509         argument is infinite.
17510         * math/s_cprojf.c (__cprojf): Likewise.
17511         * math/s_cprojl.c (__cprojl): Likewise.
17512         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17513         * math/libm-test.inc (cproj_test_data): Add more tests.
17514
17515         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17516
17517         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17518         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17519         size.  Use __ffs to determine corresponding shift.
17520
17521 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17522             Roland McGrath  <roland@hack.frob.com>
17523
17524         * Makefile (INSTALL): Remove trailing blank lines from output of
17525         makeinfo.
17526
17527 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17528
17529         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17530         Align 32 bit compat elf_greg to 8 bytes.
17531
17532 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
17533
17534         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17535
17536 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17537
17538         * string/strcoll_l.c (coll_seq): New structure.
17539         (get_next_seq_cached): New function.
17540         (get_next_seq): New function.
17541         (do_compare): New function.
17542         (STRCOLL): Use GNU style definition.  Simplify implementation
17543         by using get_next_seq, get_next_seq_cached and do_compare.
17544
17545 2013-08-16  Florian Weimer  <fweimer@redhat.com>
17546
17547         [BZ #14699]
17548         CVE-2013-4237
17549         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17550         member.
17551         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17552         member.
17553         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17554         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17555         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
17556         conditional.
17557         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17558         GETDENTS_64BIT_ALIGNED.
17559         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17560         * manual/filesys.texi (Reading/Closing Directory): Document
17561         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
17562         strongly.
17563         * manual/conf.texi (Limits for Files): Add portability note to
17564         NAME_MAX, PATH_MAX.
17565         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17566
17567 2013-08-13  Andreas Schwab  <schwab@suse.de>
17568
17569         [BZ #15749]
17570         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17571         of fabs.
17572         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17573         LDBL_MAX_EXP >= 16384]: Add tests for it.
17574
17575 2013-08-12  David S. Miller  <davem@davemloft.net>
17576
17577         * version.h (RELEASE): Set to "development".
17578         (VERSION): Set to "2.18.90".
17579         * NEWS: Add 2.19 section.
17580
17581 2013-08-03  David S. Miller  <davem@davemloft.net>
17582
17583         * po/ko.po: Update Korean translation from translation project.
17584
17585 2013-08-01  David S. Miller  <davem@davemloft.net>
17586
17587         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
17588         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17589         Bilka.
17590
17591 2013-07-30  David S. Miller  <davem@davemloft.net>
17592
17593         * po/fr.po: Update French translation from translation project.
17594
17595 2013-07-28  David S. Miller  <davem@davemloft.net>
17596
17597         * po/cs.po: Update Czech translation from translation project.
17598
17599         * po/sv.po: Update Swedish translation from translation project.
17600
17601 2013-07-27  David S. Miller  <davem@davemloft.net>
17602
17603         * po/eo.po: Update Esperanto translation from translation project.
17604
17605         * po/vi.po: Update Vietnamese translation from translation project.
17606
17607         * po/de.po: Update German translation from translation project.
17608
17609 2013-07-26  David S. Miller  <davem@davemloft.net>
17610
17611         * po/bg.po: Update Bulgarian translation from translation project.
17612
17613         * po/nl.po: Update Dutch translation from translation project.
17614         * po/pl.po: Update Polish translation from translation project.
17615         * po/ru.po: Update Russian translation from translation project.
17616
17617 2013-07-24  David S. Miller  <davem@davemloft.net>
17618
17619         * po/libc.pot: Update.
17620
17621 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17622
17623         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17624         variable page size.
17625         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17626         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17627         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17628
17629 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17630
17631         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17632
17633 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17634             Andreas Schwab  <schwab@suse.de>
17635             Roland McGrath  <roland@hack.frob.com>
17636             Joseph Myers  <joseph@codesourcery.com>
17637             Carlos O'Donell  <carlos@redhat.com>
17638
17639         [BZ #15755]
17640         * config.h.in: Define HAVE_PT_CHOWN.
17641         * config.make.in (build-pt-chown): New variable.
17642         * configure.in (--enable-pt_chown): New configure option.
17643         * configure: Regenerate.
17644         * login/Makefile: Include Makeconfig.  Build pt_chown only if
17645         build-pt-chown is enabled.
17646         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17647         pt_chown to fix pty ownership.
17648         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17649         CLOSE_ALL_FDS.
17650         * manual/install.texi (Configuring and compiling): Mention
17651         --enable-pt_chown. Add @findex for grantpt.
17652         * INSTALL: Regenerate.
17653
17654 2013-07-20  David S. Miller  <davem@davemloft.net>
17655
17656         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17657         difference between 32-bit and 64-bit.
17658
17659 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
17660
17661         [BZ #15711]
17662         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17663         Avoid system header dependency with -ffreestanding.
17664         ($(objpfx)bits/syscall%d): Likewise.
17665
17666 2013-07-13  David S. Miller  <davem@davemloft.net>
17667
17668         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17669         underflows from atanl/atan2l due to bug 15319.
17670         (casinh_test_data): Likewise.
17671
17672 2013-07-07  David S. Miller  <davem@davemloft.net>
17673
17674         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17675
17676 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
17677
17678         * sysdeps/i386/fpu/libm-test-ulps: Update.
17679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17680
17681 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17682
17683         * configure.in (--enable-lock-elision): Fix message text.
17684         * INSTALL: Regenerate.
17685         * configure: Regenerate.
17686
17687 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17688
17689         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17690
17691 2013-07-03  Andreas Jaeger  <aj@suse.de>
17692
17693         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17694         define.
17695         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17696         (ptrace_peeksiginfo_args): Add.
17697         (__ptrace_peeksiginfo_flags): Add.
17698         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17699         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17700         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17701
17702 2013-07-03  Allan McRae  <allan@archlinux.org>
17703
17704         * sysdeps/i386/fpu/libm-test-ulps: Update.
17705
17706 2013-07-02  David S. Miller  <davem@davemloft.net>
17707
17708         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17709
17710 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
17711
17712         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17713
17714 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
17715
17716         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17718
17719 2013-07-02  Andi Kleen <ak@linux.intel.com>
17720
17721         * config.h.in (ENABLE_LOCK_ELISION): Add.
17722         * configure.in (--enable-lock-elision): Add option.
17723         * manual/install.texi: Document --enable lock elision.
17724         * configure: Regenerate
17725         * INSTALL: Regenerate.
17726
17727 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
17728
17729         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17730         SSE4.2 strcasecmp for libc.a.
17731         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17732
17733 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
17734
17735         [BZ #13304]
17736         * soft-fp/op-common.h (_FP_FMA): New macro.
17737         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17738         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
17739         (_FP_MUL_MEAT_1_imm): ... here.
17740         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
17741         (_FP_MUL_MEAT_1_wide): ... here.
17742         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
17743         (_FP_MUL_MEAT_1_hard): ... here.
17744         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17745         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
17746         (_FP_MUL_MEAT_2_wide): ... here.
17747         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
17748         (_FP_MUL_MEAT_2_wide_3mul): ... here.
17749         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
17750         (_FP_MUL_MEAT_2_gmp): ... here.
17751         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17752         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
17753         (_FP_MUL_MEAT_4_wide): ... here.
17754         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
17755         (_FP_MUL_MEAT_4_gmp): ... here.
17756         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17757         (_FP_WFRACBITS_DW_S): Likewise.
17758         (_FP_WFRACXBITS_DW_S): Likewise.
17759         (_FP_HIGHBIT_DW_S): Likewise.
17760         (FP_FMA_S): Likewise.
17761         (_FP_FRAC_HIGH_DW_S): Likewise.
17762         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17763         (_FP_WFRACBITS_DW_D): Likewise.
17764         (_FP_WFRACXBITS_DW_D): Likewise.
17765         (_FP_HIGHBIT_DW_D): Likewise.
17766         (FP_FMA_D): Likewise.
17767         (_FP_FRAC_HIGH_DW_D): Likewise.
17768         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17769         (_FP_WFRACBITS_DW_E): Likewise.
17770         (_FP_WFRACXBITS_DW_E): Likewise.
17771         (_FP_HIGHBIT_DW_E): Likewise.
17772         (FP_FMA_E): Likewise.
17773         (_FP_FRAC_HIGH_DW_E): Likewise.
17774         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17775         (_FP_WFRACBITS_DW_Q): Likewise.
17776         (_FP_WFRACXBITS_DW_Q): Likewise.
17777         (_FP_HIGHBIT_DW_Q): Likewise.
17778         (FP_FMA_Q): Likewise.
17779         (_FP_FRAC_HIGH_DW_Q): Likewise.
17780         * soft-fp/fmasf4.c: New file.
17781         * soft-fp/fmadf4.c: Likewise.
17782         * soft-fp/fmatf4.c: Likewise.
17783
17784 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17785
17786         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17787         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17788         Silvermont.
17789         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17790         macro.
17791         (index_Slow_SSE4_2): Likewise.
17792         (index_Prefer_PMINUB_for_stringop): Likewise.
17793         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17794         bit_Slow_SSE4_2 is set.
17795         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17796         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17797
17798 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17799
17800         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17801         rtld_global._dl_hwcap2.
17802         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17803         POWER8.
17804         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17805         POWER8 feature descriptions defined in _dl_hwcap2.
17806         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17807         string handling for POWER8 feature bits.
17808         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17809         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17810         _dl_powerpc_cap_flags.
17811         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17812         * sysdeps/powerpc/rtld-global-offsets.sym
17813         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17814         _dl_hwcap2 in the rtld_global_ro structure.
17815
17816 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17817
17818         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17819         hardware capabilities in support of AT_HWCAP2.
17820         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17821         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17822         GLRO(dl_hwcap2).
17823         (_dl_show_auxv): Add support for calling _dl_procinfo to display
17824         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
17825         explicitly the unknown a_type display mechanism is used.
17826         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17827         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17828         struct member.
17829         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17830         to macro prototype for AT_HWCAP2 support.
17831         * sysdeps/i386/dl-procinfo.h: Likewise.
17832         * sysdeps/s390/dl-procinfo.h: Likewise.
17833         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17834         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
17835         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
17836         return -1 for unknown a_type display fallback.
17837         * sysdeps/sparc/dl-procinfo.h: Likewise.
17838         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17839         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17840
17841 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
17842
17843         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17844         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17845
17846 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
17847
17848         [BZ #12492]
17849         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17850         mprotect making __stack_prot writable.
17851
17852 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
17853             Joseph Myers  <joseph@codesourcery.com>
17854
17855         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17856         as being properly aligned.
17857
17858 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
17859
17860         * dlfcn/modstatic5.c: New file.
17861         * dlfcn/tststatic5.c: New file.
17862         * dlfcn/Makefile (tests): Add tststatic5.
17863         (tests-static): Likewise.
17864         (modules-names): Add modstatic5.
17865         (tststatic5-ENV): New variable.
17866         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17867
17868         [BZ #15022]
17869         * elf/dl-support.c (_dl_main_map): New variable.
17870         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17871         (_dl_nns, _dl_load_adds): Set to 1.
17872         (_dl_initial_searchlist): Refer to _dl_main_map.
17873         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17874         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17875         call to _dl_get_origin.
17876         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17877         around call_map.
17878         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17879         * dlfcn/modstatic3.c: New file.
17880         * dlfcn/tststatic3.c: New file.
17881         * dlfcn/tststatic4.c: New file.
17882         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17883         (tests-static): Likewise.
17884         (modules-names): Add modstatic3.
17885         (tststatic3-ENV, tststatic4-ENV): New variables.
17886         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17887         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17888
17889 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
17890
17891         * configure.in (CC): Require GCC version 4.4 or later.
17892         * configure: Regenerated.
17893         * manual/install.texi (Tools for Compilation): Update GCC version
17894         requirement.
17895         * INSTALL: Regenerated.
17896
17897 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17898
17899         [BZ #15674]
17900         * string/test-memcmp.c (check2): New.
17901         (main): Call check2.
17902
17903         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17904
17905 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
17906
17907         [BZ #15022]
17908         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17909         over to...
17910         (dl_open_worker) [!SHARED]: ... here.
17911
17912 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17913
17914         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17915
17916 2013-06-25  Richard Henderson  <rth@redhat.com>
17917
17918         * locale/programs/locarchive.c: Include <libc-internal.h>
17919
17920 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
17921
17922         * manual/texinfo.tex: Update to version 2013-06-21.17, with
17923         trailing whitespace removed.
17924
17925 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
17926
17927         [BZ #10283]
17928         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17929         * locale/programs/locarchive.c: Include libc-mmap.h.
17930         (prepare_address_space): Take two new outputs (the mmap base and len).
17931         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
17932         values.
17933         (create_archive): Declare new mmap base and len values for
17934         prepare_address_space, and store the result in ah.
17935         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17936         (enlarge_archive): If ah->mmap_base is not NULL, use that and
17937         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17938         Declare new mmap base and len values for
17939         prepare_address_space, and store the result in new_ah.
17940         (open_archive): Declare new mmap base and len values for
17941         prepare_address_space, and store the result in ah.
17942         (close_archive): If ah->mmap_base is not NULL, use that and
17943         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17944         * sysdeps/generic/libc-mmap.h: New file.
17945
17946 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
17947
17948         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17949         (ALIGN_UP): Likewise.
17950         (PTR_ALIGN_DOWN): Likewise.
17951         (PTR_ALIGN_UP): Likewise.
17952
17953 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17954
17955         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17956         entry mapped to PPC_PLATFORM_POWER8.
17957         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17958         POWER8.
17959         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17960         (_dl_string_platform): Add case for exporting platform position for
17961         POWER8.
17962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17963         search path to sysdeps/powerpc/powerpc32/power8 directory.
17964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17965         search path to sysdeps/powerpc/powerpc64/power8 directory.
17966         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17967         power7 directories.
17968         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17969         power7 directories.
17970
17971 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17972
17973         * INSTALL: Regenerate.
17974
17975         * nscd/connections.c (nscd_init): Fix comment.
17976
17977 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
17978
17979         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17980
17981         [BZ #15667]
17982         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17983         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17984
17985 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
17986
17987         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17988         DL_DST_REQ_STATIC.
17989         (DL_DST_REQ_STATIC): Remove macro.
17990
17991 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
17992
17993         [BZ #7006]
17994         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17995         with a shift of 0 bits.
17996
17997 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
17998
17999         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18000         $(tststatic-ENV).
18001
18002 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18003
18004         [BZ #15655]
18005         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18006
18007 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18008
18009         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18010         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18011         accepts -fno-tree-loop-distribute-patterns.
18012         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18013         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18014         recursive call.
18015         * string/memset.c (memset): Likewise.
18016         * string/test-memmove.c (simple_memmove): Disable loop transformation
18017         to library calls.
18018         * string/test-memset.c (simple_memset): Likewise.
18019         * benchtests/bench-memmove.c (simple_memmove): Likewise.
18020         * benchtests/bench-memset.c (simple_memset): Likewise.
18021         * configure: Regenerated.
18022
18023 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
18024
18025         * math/test-misc.c (main): Ignore fesetround failure when failures
18026         of subsequent rounding tests would be ignored.
18027
18028         [BZ #15654]
18029         * math/fedisblxcpt.c (fedisableexcept): Return 0.
18030         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18031         * math/fegetenv.c (__fegetenv): Return 0.
18032         * math/fegetexcept.c (fegetexcept): Return 0.
18033         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18034         FE_TONEAREST.
18035         * math/feholdexcpt.c (feholdexcept): Return 0.
18036         * math/fesetenv.c (__fesetenv): Return 0.
18037         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18038         argument FE_TONEAREST.
18039         * math/feupdateenv.c (__feupdateenv): Return 0.
18040         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18041
18042 2013-06-18  Roland McGrath  <roland@hack.frob.com>
18043
18044         * elf/rtld-Rules (rtld-compile-command.S): New variable.
18045         (rtld-compile-command.s, rtld-compile-command.c): New variables.
18046         ($(objpfx)rtld-%.os rules): Use them.
18047
18048 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18049
18050         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18051         fields.
18052
18053 2013-06-17  Roland McGrath  <roland@hack.frob.com>
18054
18055         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18056         length of target pattern, then descending length of dependency pattern.
18057         * configure.in (AWK): Require gawk 3.1.2 or newer.
18058         * manual/install.texi (Tools for Compilation): Say that we do.
18059         * configure: Regenerated.
18060
18061         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18062         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18063         * scripts/sysd-rules.awk: ... this new script.
18064         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18065         than a glob-style pattern.
18066
18067 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
18068
18069         * math/test-misc.c (main): Do not treat incorrectly rounded
18070         conversions as failure unless ROUNDING_TESTS passes.
18071
18072 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
18073
18074         [BZ #15631]
18075         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18076         restore exception state around main square root computation, then
18077         check for inexactness explicitly.
18078
18079         * math/libm-test.inc (fma_test_data): Add another test.
18080
18081 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18082
18083         * manual/threads.texi (Non-POSIX Extensions): New document
18084         node.  Document pthread_getattr_default_np and
18085         pthread_setattr_default_np.
18086
18087         * Versions.def (libpthread): Add GLIBC_2.18.
18088         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18090         Likewise.
18091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18092         Likewise.
18093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18094         Likewise.
18095         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18096         Likewise.
18097         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18098         Likewise.
18099         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18100         Likewise.
18101         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18102         Likewise.
18103         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18104         Likewise.
18105         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18106         Likewise.
18107
18108 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18109
18110         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18111         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18112
18113 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18114             H.J. Lu  <hjl.tools@gmail.com>
18115
18116         [BZ #15627]
18117         * sysdeps/x86_64/rtld-memset.c: Remove file.
18118         * sysdeps/x86_64/rtld-memset.S: New file.
18119
18120 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
18121
18122         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18123         (test_in_one_mode): Take arguments for whether the rounding mode
18124         is supported for each floating-point type.
18125         (do_test): Pass new arguments to test_in_one_mode using
18126         ROUNDING_TESTS.
18127
18128 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18129
18130         * posix/tst-waitid.c (do_test): Distinguish different instances of
18131         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
18132         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18133         before entering the kernel for waitpid.
18134
18135 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18136
18137         * NEWS: Fix note on clock function precision.  Text by Roland
18138         McGrath.
18139
18140 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18141
18142         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18143         it into place only when and if the sanity check passes.
18144
18145 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
18146
18147         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18148         output for whether conversion result is exact.  Take argument
18149         indicating whether type is IBM long double.
18150         (round_for_all): Change need_exact field to ibm_ld.
18151         * stdlib/tst-strtod-round.c (struct exactness): New type.
18152         (struct test): Change bool ld_ok field to struct exactness exact.
18153         (TEST): Update all definitions for change to field.
18154         (tests): Regenerate array contents.
18155         (test_in_one_mode): Take pointer to new field instead of old ld_ok
18156         field value.  Check for IBM long double here.
18157         (do_test): Update calls to test_in_one_mode.
18158
18159 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18160
18161         [BZ #12515]
18162         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18163         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18164
18165 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18166
18167         [BZ #15605]
18168         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18169         generated by the compiler on loop optimizations.
18170         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18171         general definitions.
18172
18173 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
18174
18175         * math/bug-nextafter.c: Include <math-tests.h>.
18176         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18177         the relevant type.
18178         * math/bug-nexttoward.c: Include <math-tests.h>.
18179         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18180         the relevant type.
18181         * math/test-misc.c: Include <math-tests.h>.
18182         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18183         the relevant type.
18184
18185 2013-06-12  Andreas Jaeger  <aj@suse.de>
18186
18187         * po/ia.po: Update Interlingua translation from translation
18188         project.
18189
18190 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18191
18192         * include/fenv.h: Include stdbool.h.
18193         (struct rm_ctx): New structure.
18194         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18195         Define macro.
18196         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18197         (SET_RESTORE_ROUNDF): Likewise.
18198         (SET_RESTORE_ROUNDL): Likewise.
18199         (SET_RESTORE_ROUND_NOEX): Likewise.
18200         (SET_RESTORE_ROUND_NOEXF): Likewise.
18201         (SET_RESTORE_ROUND_NOEXL): Likewise.
18202         (SET_RESTORE_ROUND_53BIT): Likewise.
18203         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18204         (libc_feresetround_noexf_ctx): Likewise.
18205         (libc_feresetround_noexl_ctx): Likewise.
18206         (libc_feholdsetround_53bit_ctx): Likewise.
18207         (libc_feresetround_53bit_ctx): Likewise.
18208         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18209         (libc_feholdexcept_setround_sse_ctx): New function.
18210         (libc_fesetenv_sse_ctx): Likewise.
18211         (libc_feupdateenv_sse_ctx): Likewise.
18212         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18213         (libc_feholdexcept_setround_387_ctx): Likewise.
18214         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18215         (libc_feholdsetround_387_prec_ctx): Likewise.
18216         (libc_feholdsetround_387_ctx): Likewise.
18217         (libc_feholdsetround_387_53bit_ctx): Likewise.
18218         (libc_feholdsetround_sse_ctx): Likewise.
18219         (libc_feresetround_sse_ctx): Likewise.
18220         (libc_feresetround_387_ctx): Likewise.
18221         (libc_feupdateenv_387_ctx): Likewise.
18222         (libc_feholdexcept_setroundf_ctx): Define macro.
18223         (libc_fesetenvf_ctx): Likewise.
18224         (libc_feupdateenvf_ctx): Likewise.
18225         (libc_feholdsetroundf_ctx): Likewise.
18226         (libc_feresetroundf_ctx): Likewise.
18227         (libc_feholdexcept_setround_ctx): Likewise.
18228         (libc_fesetenv_ctx): Likewise.
18229         (libc_feupdateenv_ctx): Likewise.
18230         (libc_feholdsetround_ctx): Likewise.
18231         (libc_feresetround_ctx): Likewise.
18232         (libc_feholdexcept_setroundl_ctx): Likewise.
18233         (libc_feupdateenvl_ctx): Likewise.
18234         (libc_feholdsetroundl_ctx): Likewise.
18235         (libc_feresetroundl_ctx): Likewise.
18236         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18237         (libc_feresetround_53bit_ctx): Likewise.
18238
18239 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18240
18241         * locale/iso-639.def: Convert to UTF-8.
18242
18243 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
18244
18245         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18246         (EXCEPTION_TESTS_double): Likewise.
18247         (EXCEPTION_TESTS_long_double): Likewise.
18248         (EXCEPTION_TESTS): Likewise.
18249         * math/libm-test.inc (test_exceptions): Only test exceptions if
18250         EXCEPTION_TESTS (FLOAT).
18251
18252 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18253
18254         * benchtests/Makefile (string-bench): Add strcpy_chk and
18255         stpcpy_chk.
18256         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18257         * benchtests/bench-stpcpy_chk.c: New file.
18258         * benchtests/bench-strcpy_chk-ifunc.c: New file.
18259         * benchtests/bench-strcpy_chk.c: New file.
18260         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18261         code.
18262         (do_test): Likewise.
18263
18264 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18265
18266         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18267         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18268         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18269         with tabs where appropriate.
18270         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18271         dl-procinfo.h.
18272         [PPC_PLATFORM_PPC440]: Likewise.
18273         [PPC_PLATFORM_PPC464]: Likewise.
18274         [PPC_PLATFORM_PPC476]: Likewise.
18275         (_dl_string_platform): Add support for detecting ppc405, ppc440,
18276         ppc464, and ppc476 platform strings merging from ports/
18277         dl-procinfo.h.
18278
18279 2013-06-11  Andreas Schwab  <schwab@suse.de>
18280
18281         [BZ #14991]
18282         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18283         (from_ucs4_idx): Regenerate.
18284         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18285         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18286         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18287         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18288         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18289         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18290         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18291         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18292         from FROM_LOOP and TO_LOOP specific macros.
18293         (BODY): Handle combining characters.
18294         * iconvdata/BIG5HKSCS.irreversible: Update.
18295         * iconvdata/BIG5HKSCS.precomposed: New file.
18296         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18297         characters.
18298         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18299
18300 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18301
18302         * include/sys/time.h: Fix indentation and add copyright header.
18303
18304         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18305         (do_test): Likewise.
18306         * string/test-memchr.c (do_one_test): Likewise.
18307         (do_test): Likewise.
18308         * string/test-memcmp.c (do_one_test): Likewise.
18309         (do_test): Likewise.
18310         * string/test-memcpy.c (do_one_test): Likewise.
18311         (do_test): Likewise.
18312         * string/test-memmem.c (do_one_test): Likewise.
18313         (do_test): Likewise.
18314         (do_random_tests): Likewise.
18315         * string/test-memmove.c (do_one_test): Likewise.
18316         (do_test): Likewise.
18317         * string/test-memset.c (do_one_test): Likewise.
18318         (do_test): Likewise.
18319         * string/test-rawmemchr.c (do_one_test): Likewise.
18320         (do_test): Likewise.
18321         * string/test-strcasecmp.c (do_one_test): Likewise.
18322         (do_test): Likewise.
18323         * string/test-strcasestr.c (do_one_test): Likewise.
18324         (do_test): Likewise.
18325         * string/test-strcat.c (do_one_test): Likewise.
18326         (do_test): Likewise.
18327         * string/test-strchr.c (do_one_test): Likewise.
18328         (do_test): Likewise.
18329         * string/test-strcmp.c (do_one_test): Likewise.
18330         (do_test): Likewise.
18331         * string/test-strcpy.c (do_one_test): Likewise.
18332         (do_test): Likewise.
18333         * string/test-string.h: Likewise.
18334         (test_init): Likewise.
18335         * string/test-strlen.c (do_one_test): Likewise.
18336         (do_test): Likewise.
18337         * string/test-strncasecmp.c (do_one_test): Likewise.
18338         (do_test): Likewise.
18339         * string/test-strncat.c (do_one_test): Likewise.
18340         (do_test): Likewise.
18341         * string/test-strncmp.c (do_one_test): Likewise.
18342         (do_test_limit): Likewise.
18343         (do_test): Likewise.
18344         * string/test-strncpy.c (do_one_test): Likewise.
18345         (do_test): Likewise.
18346         * string/test-strnlen.c (do_one_test): Likewise.
18347         (do_test): Likewise.
18348         * string/test-strpbrk.c (do_one_test): Likewise.
18349         (do_test): Likewise.
18350         * string/test-strrchr.c (do_one_test): Likewise.
18351         (do_test): Likewise.
18352         * string/test-strspn.c (do_one_test): Likewise.
18353         (do_test): Likewise.
18354         * string/test-strstr.c (do_one_test): Likewise.
18355         (do_test): Likewise.
18356
18357         * benchtests/Makefile (string-bench): Add string benchmarks.
18358         * benchtests/bench-bcopy-ifunc.c: New file.
18359         * benchtests/bench-bcopy.c: New file.
18360         * benchtests/bench-bzero-ifunc.c: New file.
18361         * benchtests/bench-bzero.c: New file.
18362         * benchtests/bench-memccpy-ifunc.c: New file.
18363         * benchtests/bench-memccpy.c: New file.
18364         * benchtests/bench-memchr-ifunc.c: New file.
18365         * benchtests/bench-memchr.c: New file.
18366         * benchtests/bench-memcmp-ifunc.c: New file.
18367         * benchtests/bench-memcmp.c: New file.
18368         * benchtests/bench-memmem-ifunc.c: New file.
18369         * benchtests/bench-memmem.c: New file.
18370         * benchtests/bench-memmove-ifunc.c: New file.
18371         * benchtests/bench-memmove.c: New file.
18372         * benchtests/bench-mempcpy-ifunc.c: New file.
18373         * benchtests/bench-mempcpy.c: New file.
18374         * benchtests/bench-memset-ifunc.c: New file.
18375         * benchtests/bench-memset.c: New file.
18376         * benchtests/bench-rawmemchr-ifunc.c: New file.
18377         * benchtests/bench-rawmemchr.c: New file.
18378         * benchtests/bench-stpcpy-ifunc.c: New file.
18379         * benchtests/bench-stpcpy.c: New file.
18380         * benchtests/bench-stpncpy-ifunc.c: New file.
18381         * benchtests/bench-stpncpy.c: New file.
18382         * benchtests/bench-strcasecmp-ifunc.c: New file.
18383         * benchtests/bench-strcasecmp.c: New file.
18384         * benchtests/bench-strcasestr-ifunc.c: New file.
18385         * benchtests/bench-strcasestr.c: New file.
18386         * benchtests/bench-strcat-ifunc.c: New file.
18387         * benchtests/bench-strcat.c: New file.
18388         * benchtests/bench-strchr-ifunc.c: New file.
18389         * benchtests/bench-strchr.c: New file.
18390         * benchtests/bench-strchrnul-ifunc.c: New file.
18391         * benchtests/bench-strchrnul.c: New file.
18392         * benchtests/bench-strcmp-ifunc.c: New file.
18393         * benchtests/bench-strcmp.c: New file.
18394         * benchtests/bench-strcpy-ifunc.c: New file.
18395         * benchtests/bench-strcpy.c: New file.
18396         * benchtests/bench-strcspn-ifunc.c: New file.
18397         * benchtests/bench-strcspn.c: New file.
18398         * benchtests/bench-strlen-ifunc.c: New file.
18399         * benchtests/bench-strlen.c: New file.
18400         * benchtests/bench-strncasecmp-ifunc.c: New file.
18401         * benchtests/bench-strncasecmp.c: New file.
18402         * benchtests/bench-strncat-ifunc.c: New file.
18403         * benchtests/bench-strncat.c: New file.
18404         * benchtests/bench-strncmp-ifunc.c: New file.
18405         * benchtests/bench-strncmp.c: New file.
18406         * benchtests/bench-strncpy-ifunc.c: New file.
18407         * benchtests/bench-strncpy.c: New file.
18408         * benchtests/bench-strnlen-ifunc.c: New file.
18409         * benchtests/bench-strnlen.c: New file.
18410         * benchtests/bench-strpbrk-ifunc.c: New file.
18411         * benchtests/bench-strpbrk.c: New file.
18412         * benchtests/bench-strrchr-ifunc.c: New file.
18413         * benchtests/bench-strrchr.c: New file.
18414         * benchtests/bench-strspn-ifunc.c: New file.
18415         * benchtests/bench-strspn.c: New file.
18416         * benchtests/bench-strstr-ifunc.c: New file.
18417         * benchtests/bench-strstr.c: New file.
18418
18419         * benchtests/Makefile: Disable parallel execution of targets.
18420         (string-bench): Add memcpy.
18421         (benchset): New variable to store a list of benchmark sets.
18422         (bench-func): Renamed from bench.
18423         (bench-set): New target.
18424         (bench): Depend on bench-func and bench-set.
18425         * benchtests/README: Add section on benchmark sets.
18426         * benchtests/bench-memcpy-ifunc.c: New file.
18427         * benchtests/bench-memcpy.c: New file.
18428         * benchtests/bench-string.h: New file.
18429
18430 2013-06-11  Andreas Schwab  <schwab@suse.de>
18431
18432         [BZ #15577]
18433         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18434         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18435         values in the triple.
18436         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18437         terminator in the group key.
18438
18439 2013-06-11  Andreas Jaeger  <aj@suse.de>
18440
18441         * po/zh_TW.po: Update Chinese (traditional) translation from
18442         translation project.
18443
18444 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18445
18446         * include/time.h (__clock_gettime): Add libc_hidden_proto.
18447         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18448         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
18449         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18450         (clock_getcpuclockid): Likewise.
18451         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18452         Add weak_alias and libc_hidden_def.
18453         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18454         * rt/clock_gettime.c (clock_gettime): Rename to
18455         __clock_gettime.  Add weak_alias and libc_hidden_def.
18456         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18457         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18458         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
18459         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18460         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18461         Likewise.
18462         * rt/clock_settime.c (clock_settime): Rename to
18463         __clock_settime.  Add weak_alias and libc_hidden_def.
18464         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18465
18466 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
18467
18468         * mach/err_boot.sub: Remove trailing whitespace.
18469         * mach/err_ipc.sub: Likewise.
18470         * mach/err_mach.sub: Likewise.
18471
18472         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18473         (ROUNDING_TESTS_double): Likewise.
18474         (ROUNDING_TESTS_long_double): Likewise.
18475         (ROUNDING_TESTS): Likewise.
18476         * math/libm-test.inc: Include <math-tests.h>.
18477         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18478         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18479         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18480         (IF_ROUND_INIT_FE_UPWARD): Likewise.
18481
18482 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18483
18484         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18485         of assigning.
18486
18487 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
18488
18489         * sysdeps/gnu/errlist.awk: Do not generate space at end of
18490         otherwise empty TRANS lines.
18491         * sysdeps/gnu/errlist.c: Regenerated.
18492
18493         * catgets/gencat.c (error_print): Use (void) in function
18494         definition.
18495         * crypt/crypt_util.c (__init_des): Likewise.
18496         * crypt/speeds.c (Stop): Likewise.
18497         (main): Likewise.
18498         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18499         * inet/ruserpass.c (token): Likewise.
18500         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18501         * intl/localealias.c (extend_alias_table): Likewise.
18502         * intl/plural-exp.c (init_germanic_plural): Likewise.
18503         * libio/fcloseall.c (__fcloseall): Likewise.
18504         * libio/genops.c (_IO_flush_all): Likewise.
18505         (_IO_flush_all_linebuffered): Likewise.
18506         (_IO_cleanup): Likewise.
18507         (_IO_iter_begin): Likewise.
18508         (_IO_iter_end): Likewise.
18509         (_IO_list_lock): Likewise.
18510         (_IO_list_unlock): Likewise.
18511         (_IO_list_resetlock): Likewise.
18512         * libio/getchar.c (getchar): Likewise.
18513         * libio/getchar_u.c (getchar_unlocked): Likewise.
18514         * libio/getwchar.c (getwchar): Likewise.
18515         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18516         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18517         * login/getpt.c (__getpt): Likewise.
18518         * login/tst-utmp.c (main): Likewise.
18519         * malloc/hooks.c (__malloc_check_init): Likewise.
18520         * malloc/malloc.c (__malloc_stats): Likewise.
18521         * malloc/mtrace.c (tr_break): Likewise.
18522         (mtrace): Likewise.
18523         (muntrace): Likewise.
18524         * misc/fstab.c (endfsent): Likewise.
18525         * misc/getclktck.c (__getclktck): Likewise.
18526         * misc/getdtsz.c (__getdtablesize): Likewise.
18527         * misc/gethostid.c (gethostid): Likewise.
18528         * misc/getpagesize.c (__getpagesize): Likewise.
18529         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18530         (__get_nprocs): Likewise.
18531         (__get_phys_pages): Likewise.
18532         (__get_avphys_pages): Likewise.
18533         * misc/getttyent.c (getttyent): Likewise.
18534         (setttyent): Likewise.
18535         (endttyent): Likewise.
18536         * misc/getusershell.c (getusershell): Likewise.
18537         (endusershell): Likewise.
18538         (setusershell): Likewise.
18539         (initshells): Likewise.
18540         * misc/hsearch.c (__hdestroy): Likewise.
18541         * misc/sync.c (sync): Likewise.
18542         * misc/syslog.c (closelog_internal): Likewise.
18543         (closelog): Likewise.
18544         * misc/ttyslot.c (ttyslot): Likewise.
18545         * misc/vhangup.c (vhangup): Likewise.
18546         * posix/fork.c (__fork): Likewise.
18547         * posix/getegid.c (__getegid): Likewise.
18548         * posix/geteuid.c (__geteuid): Likewise.
18549         * posix/getgid.c (__getgid): Likewise.
18550         * posix/getpid.c (__getpid): Likewise.
18551         * posix/getppid.c (__getppid): Likewise.
18552         * posix/getuid.c (__getuid): Likewise.
18553         * posix/pause.c (pause): Likewise.
18554         * posix/setpgrp.c (setpgrp): Likewise.
18555         * posix/setsid.c (__setsid): Likewise.
18556         * posix/test-vfork.c (noop): Likewise.
18557         * resolv/gethnamaddr.c (_endhtent): Likewise.
18558         (_gethtent): Likewise.
18559         (ht_endhostent): Likewise.
18560         (gethostent): Likewise.
18561         (dns_service): Likewise.
18562         * stdlib/drand48.c (drand48): Likewise.
18563         * stdlib/lrand48.c (lrand48): Likewise.
18564         * stdlib/mrand48.c (mrand48): Likewise.
18565         * stdlib/rand.c (rand): Likewise.
18566         * stdlib/random.c (__random): Likewise.
18567         * stdlib/setenv.c (clearenv): Likewise.
18568         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18569         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18570         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18571         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18572         (__get_nprocs): Likewise.
18573         (__get_phys_pages): Likewise.
18574         (__get_avphys_pages): Likewise.
18575         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18576         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18577         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18578         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18579         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18580         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18581         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18582         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18583         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18584         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18585         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18586         * sysdeps/mach/hurd/sync.c (sync): Likewise.
18587         * sysdeps/posix/clock.c (clock): Likewise.
18588         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18589         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18590         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18591         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18592         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18593         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18594         (__get_nprocs_conf): Likewise.
18595         (__get_phys_pages): Likewise.
18596         (__get_avphys_pages): Likewise.
18597         * time/clock.c (clock): Likewise.
18598         * time/tzset.c (__tzname_max): Likewise.
18599
18600 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
18601
18602         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18603         (__bswap_32): Do not use "register".
18604         * crypt/crypt.c (_ufc_doit_r): Likewise.
18605         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18606         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18607         * gmon/gmon.c (__monstartup): Likewise.
18608         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18609         * hurd/hurdmalloc.c (more_memory): Likewise.
18610         (malloc): Likewise.
18611         (free): Likewise.
18612         (realloc): Likewise.
18613         (malloc_fork_prepare): Likewise.
18614         (malloc_fork_parent): Likewise.
18615         (malloc_fork_child): Likewise.
18616         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18617         (_svcauth_des): Likewise.
18618         * inet/inet_lnaof.c (inet_lnaof): Likewise.
18619         * inet/inet_net.c (inet_network): Likewise.
18620         * inet/inet_netof.c (inet_netof): Likewise.
18621         * inet/rcmd.c (__validuser2_sa): Likewise.
18622         * io/fts.c (fts_open): Likewise.
18623         (fts_load): Likewise.
18624         (fts_close): Likewise.
18625         (fts_read): Likewise.
18626         (fts_children): Likewise.
18627         (fts_build): Likewise.
18628         (fts_stat): Likewise.
18629         (fts_sort): Likewise.
18630         (fts_alloc): Likewise.
18631         (fts_lfree): Likewise.
18632         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18633         (_IO_file_xsgetn): Likewise.
18634         (_IO_file_xsgetn_mmap): Likewise.
18635         * libio/iofopncook.c (_IO_cookie_read): Likewise.
18636         (_IO_cookie_write): Likewise.
18637         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18638         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18639         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18640         * malloc/obstack.c (_obstack_begin): Likewise.
18641         (_obstack_begin_1): Likewise.
18642         (_obstack_newchunk): Likewise.
18643         (_obstack_allocated_p): Likewise.
18644         (obstack_free): Likewise.
18645         (_obstack_memory_used): Likewise.
18646         * misc/getttyent.c (getttynam): Likewise.
18647         (getttyent): Likewise.
18648         (skip): Likewise.
18649         (value): Likewise.
18650         * misc/getusershell.c (initshells): Likewise.
18651         * misc/syslog.c (__vsyslog_chk): Likewise.
18652         * misc/ttyslot.c (ttyslot): Likewise.
18653         * nis/nis_hash.c (__nis_hash): Likewise.
18654         * posix/fnmatch_loop.c (FCT): Likewise.
18655         * posix/getconf.c (print_all): Likewise.
18656         (main): Likewise.
18657         * posix/getopt.c (exchange): Likewise.
18658         * posix/glob.c (globfree): Likewise.
18659         (prefix_array): Likewise.
18660         (__glob_pattern_type): Likewise.
18661         * resolv/arpa/nameser.h (NS_GET16): Likewise.
18662         (NS_GET32): Likewise.
18663         (NS_PUT16): Likewise.
18664         (NS_PUT32): Likewise.
18665         * resolv/gethnamaddr.c (getanswer): Likewise.
18666         (gethostbyname2): Likewise.
18667         (gethostbyaddr): Likewise.
18668         (_gethtent): Likewise.
18669         (_gethtbyname2): Likewise.
18670         (_gethtbyaddr): Likewise.
18671         * resolv/ns_print.c (dst_s_get_int16): Likewise.
18672         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18673         * resolv/res_init.c (__res_vinit): Likewise.
18674         (net_mask): Likewise.
18675         * resolv/res_mkquery.c (outchar): Likewise.
18676         (PRINT): Likewise.
18677         * stdio-common/printf_fp.c (outchar): Likewise.
18678         (PRINT): Likewise.
18679         * stdio-common/printf_fphex.c (outchar): Likewise.
18680         (PRINT): Likewise.
18681         * stdio-common/printf_size.c (outchar): Likewise.
18682         (PRINT): Likewise.
18683         * stdio-common/test_rdwr.c (main): Likewise.
18684         * stdio-common/tfformat.c (matches): Likewise.
18685         * stdio-common/vfprintf.c (outchar): Likewise.
18686         (printf_unknown): Likewise.
18687         (buffered_vfprintf): Likewise.
18688         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18689         * stdio-common/xbug.c (AppendToBuffer): Likewise.
18690         (ReadFile): Likewise.
18691         * stdlib/qsort.c (SWAP): Likewise.
18692         (_quicksort): Likewise.
18693         * stdlib/setenv.c (__add_to_environ): Likewise.
18694         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18695         * stdlib/strtol_l.c (__strtol_l): Likewise.
18696         * stdlib/tst-strtod.c (main): Likewise.
18697         * stdlib/tst-strtol.c (main): Likewise.
18698         * stdlib/tst-strtoll.c (main): Likewise.
18699         * string/bits/string2.h (__strcmp_cc): Likewise.
18700         (__strcmp_cg): Likewise.
18701         (__strcspn_c1): Likewise.
18702         (__strcspn_c2): Likewise.
18703         (__strcspn_c3): Likewise.
18704         (__strspn_c1): Likewise.
18705         (__strspn_c2): Likewise.
18706         (__strspn_c3): Likewise.
18707         (__strsep_1c): Likewise.
18708         (__strsep_2c): Likewise.
18709         (__strsep_3c): Likewise.
18710         * string/memccpy.c (__memccpy): Likewise.
18711         * string/stpcpy.c (__stpcpy): Likewise.
18712         * string/strcmp.c (strcmp): Likewise.
18713         * string/strrchr.c (strrchr): Likewise.
18714         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18715         Likewise.
18716         * sysdeps/mach/hurd/getcwd.c
18717         (_hurd_canonicalize_directory_name_internal): Likewise.
18718         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18719         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18720         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18721         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18722         Likewise, in both definitions.
18723         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18724         definitions.
18725         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18726         64] (__bswap_64): Likewise.
18727         * time/test_time.c (main): Likewise.
18728         * time/tzfile.c (__tzfile_read): Likewise.
18729         (__tzfile_compute): Likewise.
18730         * time/tzset.c (__tzset_parse_tz): Likewise.
18731         (tzset_internal): Likewise.
18732         (compute_change): Likewise.
18733         * wcsmbs/wcscat.c (__wcscat): Likewise.
18734         * wcsmbs/wcschr.c (wcschr): Likewise.
18735         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18736         * wcsmbs/wcscspn.c (wcscspn): Likewise.
18737         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18738         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18739         * wcsmbs/wcsspn.c (wcsspn): Likewise.
18740         * wcsmbs/wcsstr.c (wcsstr): Likewise.
18741         * wcsmbs/wmemchr.c (wmemchr): Likewise.
18742         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18743         * wcsmbs/wmemset.c (wmemset): Likewise.
18744
18745 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
18746
18747         * scripts/config.guess: Update to version 2013-05-16.
18748         * scripts/config.sub: Update to version 2013-04-24.
18749         * scripts/install-sh: Update to version 2011-11-20.07.
18750         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18751         * scripts/move-if-change: Update to version 2012-01-06 07:23.
18752
18753 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
18754
18755         * debug/fgetws_u_chk.c: Fix leading whitespaces.
18756         * elf/sln.c: Likewise.
18757         * hurd/hurd/ioctl.h: Likewise.
18758         * hurd/hurdmalloc.c: Likewise.
18759         * hurd/xattr.c: Likewise.
18760         * include/shlib-compat.h: Likewise.
18761         * inet/ruserpass.c: Likewise.
18762         * libio/iofgets_u.c: Likewise.
18763         * libio/iofgetws_u.c: Likewise.
18764         * locale/programs/ld-identification.c: Likewise.
18765         * locale/programs/ld-time.c: Likewise.
18766         * mach/msg-destroy.c: Likewise.
18767         * nss/nss_files/files-netgrp.c: Likewise.
18768         * resolv/res_data.c: Likewise.
18769         * soft-fp/op-1.h: Likewise.
18770         * soft-fp/op-2.h: Likewise.
18771         * soft-fp/op-4.h: Likewise.
18772         * soft-fp/op-common.h: Likewise.
18773         * stdio-common/printf_fphex.c: Likewise.
18774         * stdlib/strtod_l.c: Likewise.
18775         * sunrpc/rpc/clnt.h: Likewise.
18776         * sysdeps/generic/framestate.c: Likewise.
18777         * sysdeps/i386/bsd-_setjmp.S: Likewise.
18778         * sysdeps/i386/bsd-setjmp.S: Likewise.
18779         * sysdeps/i386/__longjmp.S: Likewise.
18780         * sysdeps/i386/setjmp.S: Likewise.
18781         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18782         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18783         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18784         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18785         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18786         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18787         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18788         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18789         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18790         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18791         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18792         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18793         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18794         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18795         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18796         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18797         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18798         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18799         * sysdeps/ieee754/support.c: Likewise.
18800         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18801         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18802         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18803         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18804         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18805         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18806         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18807         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18808         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18809         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18810         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18811         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18812         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18813         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18814         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18815         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18816         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18818
18819 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
18820
18821         * posix/transbug.c: Remove executable mode.
18822
18823 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
18824
18825         * crypt/speeds.c: Remove trailing whitespace.
18826         * dlfcn/default.c: Likewise.
18827         * elf/ifuncdep2.c: Likewise.
18828         * elf/ifuncmain1.c: Likewise.
18829         * elf/ifuncmain1vis.c: Likewise.
18830         * elf/testobj.h: Likewise.
18831         * elf/tst-stackguard1.c: Likewise.
18832         * gmon/sys/gmon.h: Likewise.
18833         * hurd/hurdmsg.c: Likewise.
18834         * hurd/new-fd.c: Likewise.
18835         * hurd/ports-get.c: Likewise.
18836         * iconvdata/ibm1008_420.c: Likewise.
18837         * inet/tst-getni1.c: Likewise.
18838         * inet/tst-getni2.c: Likewise.
18839         * libio/ioungetc.c: Likewise.
18840         * libio/wfiledoalloc.c: Likewise.
18841         * manual/libm-err-tab.pl: Likewise.
18842         * math/w_dremf.c: Likewise.
18843         * misc/ftruncate.c: Likewise.
18844         * posix/bug-glob2.c: Likewise.
18845         * posix/tst-pcre.c: Likewise.
18846         * posix/wait4.c: Likewise.
18847         * resolv/README: Likewise.
18848         * resolv/res_debug.h: Likewise.
18849         * resolv/tst-inet_ntop.c: Likewise.
18850         * setjmp/bug269-setjmp.c: Likewise.
18851         * soft-fp/extended.h: Likewise.
18852         * soft-fp/op-1.h: Likewise.
18853         * soft-fp/op-2.h: Likewise.
18854         * soft-fp/op-4.h: Likewise.
18855         * soft-fp/op-8.h: Likewise.
18856         * soft-fp/testit.c: Likewise.
18857         * stdio-common/bug16.c: Likewise.
18858         * stdlib/random.c: Likewise.
18859         * sunrpc/rpcsvc/rquota.x: Likewise.
18860         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18861         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18862         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18863         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18864         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18865         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18866         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18867         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18868         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18869         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18870         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18871         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18872         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18873         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18874         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18875         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18876         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18877         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18878         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18879         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18880         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18881         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18882         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18883         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18884         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18885         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18886         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18887         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18888         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18889         * sysdeps/ieee754/s_lib_version.c: Likewise.
18890         * sysdeps/mach/hurd/check_fds.c: Likewise.
18891         * sysdeps/mach/hurd/getsockname.c: Likewise.
18892         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18893         * sysdeps/mach/hurd/recvfrom.c: Likewise.
18894         * sysdeps/powerpc/bits/link.h: Likewise.
18895         * sysdeps/powerpc/dl-procinfo.c: Likewise.
18896         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18897         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18898         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18899         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18900         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18901         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18902         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18903         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18904         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18905         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18906         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18907         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18908         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18909         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18910         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18911         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18912         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18913         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18914         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18915         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18916         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18917         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18918         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18919         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18920         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18921         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18922         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18923         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18924         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18925         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18926         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18927         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18928         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18929         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18930         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18931         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18932         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18933         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18934         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18935         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18936         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18937         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18938         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18939         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18940         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18941         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18942         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18943         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18944         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18945         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18946         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18947         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18948         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18949         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18950         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18951         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18952         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18953         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18954         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18955         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18956         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18957         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18958         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18959         * sysdeps/powerpc/sysdep.h: Likewise.
18960         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18961         * sysdeps/s390/s390-64/sub_n.S: Likewise.
18962         * sysdeps/sh/dl-trampoline.S: Likewise.
18963         * sysdeps/sh/memset.S: Likewise.
18964         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18965         * sysdeps/sh/strlen.S: Likewise.
18966         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18967         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18968         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18969         * sysdeps/sparc/sparc32/rem.S: Likewise.
18970         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18971         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18972         * sysdeps/sparc/sparc32/strchr.S: Likewise.
18973         * sysdeps/sparc/sparc32/udiv.S: Likewise.
18974         * sysdeps/sparc/sparc32/urem.S: Likewise.
18975         * sysdeps/sparc/sparc64/add_n.S: Likewise.
18976         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18977         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18978         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18979         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18980         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18981         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18982         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18983         * sysdeps/unix/bsd/times.c: Likewise.
18984         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18985         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18989         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18990         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18991         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18992         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18993         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18994         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18995         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18996         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18997         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18998         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18999         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19000         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19001         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19002         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19003         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19004         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19005         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19006         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19007         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19008         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19009         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19010         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19011         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19012         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19013         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19014         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19015         * sysdeps/x86_64/strcspn.S: Likewise.
19016
19017 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19018
19019         * locale/C-translit.h: Revert #include <stdint.h> because this is a
19020         generated file.  Regenerate properly from gen-translit.pl.
19021         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
19022         locale/C-translit.h.
19023
19024 2013-06-05  Andreas Schwab  <schwab@suse.de>
19025
19026         [BZ #15100]
19027         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19028         week as 6 instead of -1.
19029         * time/tst-strptime.c (day_tests): Add test case.
19030
19031 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19032
19033         * sysdeps/generic/math_private.h
19034         (libc_feholdexcept_setround_53bit): Replace with
19035         libc_feholdsetround_53bit.
19036         (libc_feupdateenv_53bit): Replace with
19037         libc_feresetround_53bit.
19038         (SET_RESTORE_ROUND_53BIT): Adjust.
19039
19040 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19041
19042         * string/test-strchrnul.c: Add copyright header.
19043
19044         * posix/tst-getaddrinfo4.c: Increase test timeout.
19045
19046 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
19047
19048         [BZ #15536]
19049         * math/libm-test.inc (MAX_EXP): Remove
19050         (MIN_EXP): Define.
19051         (ulp): Use MIN_EXP - MANT_DIG.
19052         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19053
19054 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
19055
19056         * po/be.po: Revert last change.
19057         * po/zh_CN.po: Likewise.
19058         * po/header.pot: Likewise.
19059
19060 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
19061
19062         * Makefile ($(common-objpfx)linkobj/libc.so): Define
19063         link-libc-deps to empty as target-specific variable.
19064         * Makerules (link-libc-args): New variable.
19065         (libc-for-link): Likewise.
19066         (link-libc-deps): Likewise.
19067         (lib%.so): Depend on $(link-libc-deps).  Link with
19068         $(link-libc-args).
19069         (build-module): Link with $(link-libc-args).
19070         (build-module-asneeded): Likewise.
19071         (build-module-helper-objlist): Filter out $(link-libc-deps) from
19072         list of objects.
19073         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19074         target-specific variable.
19075         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19076         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19077         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19078         libc.
19079         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19080         libc and ld.so.
19081         ($(objpfx)libpcprofile.so): Likewise.
19082         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19083         libc_nonshared.a.
19084         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19085         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19086         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19087         $(link-libc-deps).
19088         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19089         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19090         * login/Makefile ($(objpfx)libutil.so): Likewise.
19091         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19092         * math/Makefile ($(objpfx)libm.so): Likewise.
19093         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19094         $(objpfx)libnsl.so): Define libc-for-link as target-specific
19095         variable instead of depending directly on libc.
19096         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19097         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19098         $(link-libc-deps).
19099         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19100         libc.
19101         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19102         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19103         ($(objpfx)libanl.so): Likewise.
19104         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19105         ld.so.
19106         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19107         $(link-libc-deps).
19108         * sysdeps/i386/fpu/Makefile: Remove file.
19109         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19110         ($(objpfx)libm.so): Remove dependency on ld.so.
19111
19112 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
19113
19114         [BZ # 15553]
19115         * nis/yp_xdr.c (XDRMAXNAME): Define.
19116         (XDRMAXRECORD): Define.
19117         (xdr_domainname): Use XDRMAXNAME.
19118         (xdr_mapname): Likewise.
19119         (xdr_peername): Likewise.
19120         (xdr_keydat): Use XDRMAXRECORD.
19121         (xdr_valdat): Likewise.
19122
19123 2013-05-30  Jeff Law  <law@redhat.com>
19124
19125         [BZ #14256]
19126         * manual/errno.texi (ESTALE): Update to account for more than
19127         just NFS file systems.
19128         * sysdeps/gnu/errlist.c: Regenerated.
19129
19130 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19131
19132         [BZ #15465]
19133         * elf/Makefile (tests): Add tst-null-argv.
19134         (modules-names):  Add tst-null-argv-lib.
19135         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19136         (tst-null-argv-ENV): Set environment for tst-null-argv.
19137         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19138         (RTLD_PROGNAME): New macro.
19139         * elf/tst-null-argv.c: New test case.
19140         * elf/tst-null-argv-lib.c: Library for test case.
19141         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19142         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19143         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19144         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19145         * elf/dl-init.c (call_init): Likewise.
19146         (_dl_init): Likewise.
19147         * elf/dl-load.c (print_search_path): Likewise.
19148         (_dl_map_object): Likewise.
19149         * elf/dl-lookup.c (do_lookup_x): Likewise.
19150         (add_dependency): Likewise.
19151         (_dl_lookup_symbol_x): Likewise.
19152         (_dl_debug_bindings): Likewise.
19153         * elf/dl-open.c (_dl_show_scope): Likewise.
19154         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19155         * elf/dl-version.c (match_symbol): Likewise.
19156         (_dl_check_map_versions): Likewise.
19157         * elf/rtld.c (dl_main): Likewise.
19158         (print_unresolved): Use RTLD_PROGNAME.
19159         (print_missing_version): Likewise.
19160         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19161         (elf_machine_rela): Likewise.
19162         * sysdeps/powerpc/powerpc32/dl-machine.c
19163         (__process_machine_rela): Likewise.
19164         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19165         Likewise.
19166         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19167         Likewise.
19168         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19169         Likewise.
19170         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19171         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19172         Likewise.
19173         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19174         Likewise.
19175         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19176
19177 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
19178
19179         * po/be.po: Add descriptive title.
19180         * po/zh_CN.po: Likewise.
19181         * po/header.pot: Likewise.
19182
19183 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
19184
19185         * locale/programs/locarchive.c (create_archive): Inlucde fname in
19186         error message.
19187         (enlarge_archive): Likewise.
19188
19189 2013-05-28  Ben North  <ben@redfrontdoor.org>
19190
19191         * manual/arith.texi (frexp): It is the magnitude of the return
19192         value which lies in [0.5, 1), not the return value itself.
19193
19194 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19195
19196         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19197
19198 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
19199
19200         * stdio-common/bug26.c (main): Correct fscanf template.
19201
19202         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19203         declare _dl_skip_args.
19204
19205         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19206         Don't declare.
19207
19208         * manual/platform.texi: Add missing @end deftypefun.
19209
19210 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19211
19212         [BZ #15529]
19213         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19214         bit of mantissa of 2^16382.
19215         * math/libm-test.inc (hypot_test_data): Add more tests.
19216
19217         * math/libm-test.inc: Add drem and pow10 to list of tested
19218         functions.
19219         (pow10_test): New function.
19220         (drem_test): Likewise.
19221         (drem_test_tonearest): Likewise.
19222         (drem_test_towardzero): Likewise.
19223         (drem_test_downward): Likewise.
19224         (drem_test_upward): Likewise.
19225         (main): Call the new functions.
19226
19227         * math/libm-test.inc (finite_test_data): Remove.
19228         (finite_test): Run tests from isfinite_test_data.
19229         (gamma_test_data): Remove.
19230         (gamma_test): Run tests from lgamma_test_data.
19231         * sysdeps/i386/fpu/libm-test-ulps: Update.
19232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19233
19234 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19235
19236         * manual/platform.texi: Add PowerPC PPR function set documentation.
19237         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19238         implementation.
19239
19240 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
19241
19242         * math/libm-test.inc (MAX_EXP): Define.
19243         (ULPDIFF): Define.
19244         (ulp): New function.
19245         (check_float_internal): Use ULPDIFF.
19246         (cpow_test): Disable failing test.
19247         (check_ulp): Test ulp() implemetnation.
19248         (main): Call check_ulp before starting tests.
19249
19250 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19251
19252         * math/gen-libm-test.pl (generate_testfile): Do not handle
19253         START_DATA and END_DATA.
19254         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19255         END_DATA.
19256         (acos_tonearest_test_data): Likewise.
19257         (acos_towardzero_test_data): Likewise.
19258         (acos_downward_test_data): Likewise.
19259         (acos_upward_test_data): Likewise.
19260         (acosh_test_data): Likewise.
19261         (asin_test_data): Likewise.
19262         (asin_tonearest_test_data): Likewise.
19263         (asin_towardzero_test_data): Likewise.
19264         (asin_downward_test_data): Likewise.
19265         (asin_upward_test_data): Likewise.
19266         (asinh_test_data): Likewise.
19267         (atan_test_data): Likewise.
19268         (atanh_test_data): Likewise.
19269         (atan2_test_data): Likewise.
19270         (cabs_test_data): Likewise.
19271         (cacos_test_data): Likewise.
19272         (cacosh_test_data): Likewise.
19273         (carg_test_data): Likewise.
19274         (casin_test_data): Likewise.
19275         (casinh_test_data): Likewise.
19276         (catan_test_data): Likewise.
19277         (catanh_test_data): Likewise.
19278         (cbrt_test_data): Likewise.
19279         (ccos_test_data): Likewise.
19280         (ccosh_test_data): Likewise.
19281         (ceil_test_data): Likewise.
19282         (cexp_test_data): Likewise.
19283         (cimag_test_data): Likewise.
19284         (clog_test_data): Likewise.
19285         (clog10_test_data): Likewise.
19286         (conj_test_data): Likewise.
19287         (copysign_test_data): Likewise.
19288         (cos_test_data): Likewise.
19289         (cos_tonearest_test_data): Likewise.
19290         (cos_towardzero_test_data): Likewise.
19291         (cos_downward_test_data): Likewise.
19292         (cos_upward_test_data): Likewise.
19293         (cosh_test_data): Likewise.
19294         (cosh_tonearest_test_data): Likewise.
19295         (cosh_towardzero_test_data): Likewise.
19296         (cosh_downward_test_data): Likewise.
19297         (cosh_upward_test_data): Likewise.
19298         (cpow_test_data): Likewise.
19299         (cproj_test_data): Likewise.
19300         (creal_test_data): Likewise.
19301         (csin_test_data): Likewise.
19302         (csinh_test_data): Likewise.
19303         (csqrt_test_data): Likewise.
19304         (ctan_test_data): Likewise.
19305         (ctan_tonearest_test_data): Likewise.
19306         (ctan_towardzero_test_data): Likewise.
19307         (ctan_downward_test_data): Likewise.
19308         (ctan_upward_test_data): Likewise.
19309         (ctanh_test_data): Likewise.
19310         (ctanh_tonearest_test_data): Likewise.
19311         (ctanh_towardzero_test_data): Likewise.
19312         (ctanh_downward_test_data): Likewise.
19313         (ctanh_upward_test_data): Likewise.
19314         (erf_test_data): Likewise.
19315         (erfc_test_data): Likewise.
19316         (exp_test_data): Likewise.
19317         (exp_tonearest_test_data): Likewise.
19318         (exp_towardzero_test_data): Likewise.
19319         (exp_downward_test_data): Likewise.
19320         (exp_upward_test_data): Likewise.
19321         (exp10_test_data): Likewise.
19322         (exp2_test_data): Likewise.
19323         (expm1_test_data): Likewise.
19324         (fabs_test_data): Likewise.
19325         (fdim_test_data): Likewise.
19326         (finite_test_data): Likewise.
19327         (floor_test_data): Likewise.
19328         (fma_test_data): Likewise.
19329         (fma_towardzero_test_data): Likewise.
19330         (fma_downward_test_data): Likewise.
19331         (fma_upward_test_data): Likewise.
19332         (fmax_test_data): Likewise.
19333         (fmin_test_data): Likewise.
19334         (fmod_test_data): Likewise.
19335         (fpclassify_test_data): Likewise.
19336         (frexp_test_data): Likewise.
19337         (gamma_test_data): Likewise.
19338         (hypot_test_data): Likewise.
19339         (ilogb_test_data): Likewise.
19340         (isfinite_test_data): Likewise.
19341         (isgreater_test_data): Likewise.
19342         (isgreaterequal_test_data): Likewise.
19343         (isinf_test_data): Likewise.
19344         (isless_test_data): Likewise.
19345         (islessequal_test_data): Likewise.
19346         (islessgreater_test_data): Likewise.
19347         (isnan_test_data): Likewise.
19348         (isnormal_test_data): Likewise.
19349         (issignaling_test_data): Likewise.
19350         (isunordered_test_data): Likewise.
19351         (j0_test_data): Likewise.
19352         (j1_test_data): Likewise.
19353         (jn_test_data): Likewise.
19354         (ldexp_test_data): Likewise.
19355         (lgamma_test_data): Likewise.
19356         (lrint_test_data): Likewise.
19357         (lrint_tonearest_test_data): Likewise.
19358         (lrint_towardzero_test_data): Likewise.
19359         (lrint_downward_test_data): Likewise.
19360         (lrint_upward_test_data): Likewise.
19361         (llrint_test_data): Likewise.
19362         (llrint_tonearest_test_data): Likewise.
19363         (llrint_towardzero_test_data): Likewise.
19364         (llrint_downward_test_data): Likewise.
19365         (llrint_upward_test_data): Likewise.
19366         (log_test_data): Likewise.
19367         (log10_test_data): Likewise.
19368         (log1p_test_data): Likewise.
19369         (log2_test_data): Likewise.
19370         (logb_test_data): Likewise.
19371         (logb_downward_test_data): Likewise.
19372         (lround_test_data): Likewise.
19373         (llround_test_data): Likewise.
19374         (modf_test_data): Likewise.
19375         (nearbyint_test_data): Likewise.
19376         (nextafter_test_data): Likewise.
19377         (nexttoward_test_data): Likewise.
19378         (pow_test_data): Likewise.
19379         (pow_tonearest_test_data): Likewise.
19380         (pow_towardzero_test_data): Likewise.
19381         (pow_downward_test_data): Likewise.
19382         (pow_upward_test_data): Likewise.
19383         (remainder_test_data): Likewise.
19384         (remainder_tonearest_test_data): Likewise.
19385         (remainder_towardzero_test_data): Likewise.
19386         (remainder_downward_test_data): Likewise.
19387         (remainder_upward_test_data): Likewise.
19388         (remquo_test_data): Likewise.
19389         (rint_test_data): Likewise.
19390         (rint_tonearest_test_data): Likewise.
19391         (rint_towardzero_test_data): Likewise.
19392         (rint_downward_test_data): Likewise.
19393         (rint_upward_test_data): Likewise.
19394         (round_test_data): Likewise.
19395         (scalb_test_data): Likewise.
19396         (scalbn_test_data): Likewise.
19397         (scalbln_test_data): Likewise.
19398         (signbit_test_data): Likewise.
19399         (sin_test_data): Likewise.
19400         (sin_tonearest_test_data): Likewise.
19401         (sin_towardzero_test_data): Likewise.
19402         (sin_downward_test_data): Likewise.
19403         (sin_upward_test_data): Likewise.
19404         (sincos_test_data): Likewise.
19405         (sinh_test_data): Likewise.
19406         (sinh_tonearest_test_data): Likewise.
19407         (sinh_towardzero_test_data): Likewise.
19408         (sinh_downward_test_data): Likewise.
19409         (sinh_upward_test_data): Likewise.
19410         (sqrt_test_data): Likewise.
19411         (tan_test_data): Likewise.
19412         (tan_tonearest_test_data): Likewise.
19413         (tan_towardzero_test_data): Likewise.
19414         (tan_downward_test_data): Likewise.
19415         (tan_upward_test_data): Likewise.
19416         (tanh_test_data): Likewise.
19417         (tgamma_test_data): Likewise.
19418         (trunc_test_data): Likewise.
19419         (y0_test_data): Likewise.
19420         (y1_test_data): Likewise.
19421         (yn_test_data): Likewise.
19422         (significand_test_data): Likewise.
19423
19424         * math/gen-libm-test.pl (@functions): Remove variable.
19425         (generate_testfile): Don't handle START and END lines.
19426         * math/libm-test.inc (START): New macro.
19427         (END): Likewise.
19428         (END_COMPLEX): Likewise.
19429         (acos_test): Use END macro without arguments.
19430         (acos_test_tonearest): Likewise.
19431         (acos_test_towardzero): Likewise.
19432         (acos_test_downward): Likewise.
19433         (acos_test_upward): Likewise.
19434         (acosh_test): Likewise.
19435         (asin_test): Likewise.
19436         (asin_test_tonearest): Likewise.
19437         (asin_test_towardzero): Likewise.
19438         (asin_test_downward): Likewise.
19439         (asin_test_upward): Likewise.
19440         (asinh_test): Likewise.
19441         (atan_test): Likewise.
19442         (atanh_test): Likewise.
19443         (atan2_test): Likewise.
19444         (cabs_test): Likewise.
19445         (cacos_test): Use END_COMPLEX macro without arguments.
19446         (cacosh_test): Likewise.
19447         (carg_test): Use END macro without arguments.
19448         (casin_test): Use END_COMPLEX macro without arguments.
19449         (casinh_test): Likewise.
19450         (catan_test): Likewise.
19451         (catanh_test): Likewise.
19452         (cbrt_test): Use END macro without arguments.
19453         (ccos_test): Use END_COMPLEX macro without arguments.
19454         (ccosh_test): Likewise.
19455         (ceil_test): Use END macro without arguments.
19456         (cexp_test): Use END_COMPLEX macro without arguments.
19457         (cimag_test): Use END macro without arguments.
19458         (clog_test): Use END_COMPLEX macro without arguments.
19459         (clog10_test): Likewise.
19460         (conj_test): Likewise.
19461         (copysign_test): Use END macro without arguments.
19462         (cos_test): Likewise.
19463         (cos_test_tonearest): Likewise.
19464         (cos_test_towardzero): Likewise.
19465         (cos_test_downward): Likewise.
19466         (cos_test_upward): Likewise.
19467         (cosh_test): Likewise.
19468         (cosh_test_tonearest): Likewise.
19469         (cosh_test_towardzero): Likewise.
19470         (cosh_test_downward): Likewise.
19471         (cosh_test_upward): Likewise.
19472         (cpow_test): Use END_COMPLEX macro without arguments.
19473         (cproj_test): Likewise.
19474         (creal_test): Use END macro without arguments.
19475         (csin_test): Use END_COMPLEX macro without arguments.
19476         (csinh_test): Likewise.
19477         (csqrt_test): Likewise.
19478         (ctan_test): Likewise.
19479         (ctan_test_tonearest): Likewise.
19480         (ctan_test_towardzero): Likewise.
19481         (ctan_test_downward): Likewise.
19482         (ctan_test_upward): Likewise.
19483         (ctanh_test): Likewise.
19484         (ctanh_test_tonearest): Likewise.
19485         (ctanh_test_towardzero): Likewise.
19486         (ctanh_test_downward): Likewise.
19487         (ctanh_test_upward): Likewise.
19488         (erf_test): Use END macro without arguments.
19489         (erfc_test): Likewise.
19490         (exp_test): Likewise.
19491         (exp_test_tonearest): Likewise.
19492         (exp_test_towardzero): Likewise.
19493         (exp_test_downward): Likewise.
19494         (exp_test_upward): Likewise.
19495         (exp10_test): Likewise.
19496         (exp2_test): Likewise.
19497         (expm1_test): Likewise.
19498         (fabs_test): Likewise.
19499         (fdim_test): Likewise.
19500         (finite_test): Likewise.
19501         (floor_test): Likewise.
19502         (fma_test): Likewise.
19503         (fma_test_towardzero): Likewise.
19504         (fma_test_downward): Likewise.
19505         (fma_test_upward): Likewise.
19506         (fmax_test): Likewise.
19507         (fmin_test): Likewise.
19508         (fmod_test): Likewise.
19509         (fpclassify_test): Likewise.
19510         (frexp_test): Likewise.
19511         (gamma_test): Likewise.
19512         (hypot_test): Likewise.
19513         (ilogb_test): Likewise.
19514         (isfinite_test): Likewise.
19515         (isgreater_test): Likewise.
19516         (isgreaterequal_test): Likewise.
19517         (isinf_test): Likewise.
19518         (isless_test): Likewise.
19519         (islessequal_test): Likewise.
19520         (islessgreater_test): Likewise.
19521         (isnan_test): Likewise.
19522         (isnormal_test): Likewise.
19523         (issignaling_test): Likewise.
19524         (isunordered_test): Likewise.
19525         (j0_test): Likewise.
19526         (j1_test): Likewise.
19527         (jn_test): Likewise.
19528         (ldexp_test): Likewise.
19529         (lgamma_test): Likewise.
19530         (lrint_test): Likewise.
19531         (lrint_test_tonearest): Likewise.
19532         (lrint_test_towardzero): Likewise.
19533         (lrint_test_downward): Likewise.
19534         (lrint_test_upward): Likewise.
19535         (llrint_test): Likewise.
19536         (llrint_test_tonearest): Likewise.
19537         (llrint_test_towardzero): Likewise.
19538         (llrint_test_downward): Likewise.
19539         (llrint_test_upward): Likewise.
19540         (log_test): Likewise.
19541         (log10_test): Likewise.
19542         (log1p_test): Likewise.
19543         (log2_test): Likewise.
19544         (logb_test): Likewise.
19545         (logb_test_downward): Likewise.
19546         (lround_test): Likewise.
19547         (llround_test): Likewise.
19548         (modf_test): Likewise.
19549         (nearbyint_test): Likewise.
19550         (nextafter_test): Likewise.
19551         (nexttoward_test): Likewise.
19552         (pow_test): Likewise.
19553         (pow_test_tonearest): Likewise.
19554         (pow_test_towardzero): Likewise.
19555         (pow_test_downward): Likewise.
19556         (pow_test_upward): Likewise.
19557         (remainder_test): Likewise.
19558         (remainder_test_tonearest): Likewise.
19559         (remainder_test_towardzero): Likewise.
19560         (remainder_test_downward): Likewise.
19561         (remainder_test_upward): Likewise.
19562         (remquo_test): Likewise.
19563         (rint_test): Likewise.
19564         (rint_test_tonearest): Likewise.
19565         (rint_test_towardzero): Likewise.
19566         (rint_test_downward): Likewise.
19567         (rint_test_upward): Likewise.
19568         (round_test): Likewise.
19569         (scalb_test): Likewise.
19570         (scalbn_test): Likewise.
19571         (scalbln_test): Likewise.
19572         (signbit_test): Likewise.
19573         (sin_test): Likewise.
19574         (sin_test_tonearest): Likewise.
19575         (sin_test_towardzero): Likewise.
19576         (sin_test_downward): Likewise.
19577         (sin_test_upward): Likewise.
19578         (sincos_test): Likewise.
19579         (sinh_test): Likewise.
19580         (sinh_test_tonearest): Likewise.
19581         (sinh_test_towardzero): Likewise.
19582         (sinh_test_downward): Likewise.
19583         (sinh_test_upward): Likewise.
19584         (sqrt_test): Likewise.
19585         (tan_test): Likewise.
19586         (tan_test_tonearest): Likewise.
19587         (tan_test_towardzero): Likewise.
19588         (tan_test_downward): Likewise.
19589         (tan_test_upward): Likewise.
19590         (tanh_test): Likewise.
19591         (tgamma_test): Likewise.
19592         (trunc_test): Likewise.
19593         (y0_test): Likewise.
19594         (y1_test): Likewise.
19595         (yn_test): Likewise.
19596         (significand_test): Likewise.
19597
19598 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
19599
19600         [BZ #15381]
19601         * libio/genops.c (_IO_no_init): Initialize wide struct info.
19602
19603 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
19604
19605         [BZ #14894]
19606         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19607         __ppc_mdoio and __ppc_mdoom.
19608         * manual/platform.texi: Document new functions __ppc_yield,
19609         __ppc_mdoio and __ppc_mdoom.
19610
19611 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
19612
19613         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19614         (main): Mention "tls" pseudo-hwcap is legacy.
19615         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19616
19617 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
19618
19619         * math/gen-libm-test.pl (parse_args): Output only string of
19620         arguments as text for test name, not full call or descriptions of
19621         tests for extra outputs.
19622         (generate_testfile): Do not pass function name to parse_args.
19623         Generate this_func variable from START.
19624         * math/libm-test.inc (struct test_f_f_data): Rename test_name
19625         field to arg_str.
19626         (struct test_ff_f_data): Likewise.
19627         (test_ff_f_data_nexttoward): Likewise.
19628         (struct test_fi_f_data): Likewise.
19629         (struct test_fl_f_data): Likewise.
19630         (struct test_if_f_data): Likewise.
19631         (struct test_fff_f_data): Likewise.
19632         (struct test_c_f_data): Likewise.
19633         (struct test_f_f1_data): Likewise.  Remove field extra_name.
19634         (struct test_fF_f1_data): Likewise.
19635         (struct test_ffI_f1_data): Likewise.
19636         (struct test_c_c_data): Rename test_name field to arg_str.
19637         (struct test_cc_c_data): Likewise.
19638         (struct test_f_i_data): Likewise.
19639         (struct test_ff_i_data): Likewise.
19640         (struct test_f_l_data): Likewise.
19641         (struct test_f_L_data): Likewise.
19642         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
19643         and extra2_name.
19644         (COMMON_TEST_SETUP): New macro.
19645         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19646         (COMMON_TEST_CLEANUP): Likewise.
19647         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19648         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
19649         macros.
19650         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19651         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
19652         macros.
19653         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19654         (RUN_TEST_fff_f): Take argument string.  Call new setup and
19655         cleanup macros.
19656         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19657         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
19658         macros.
19659         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19660         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
19661         macros.
19662         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19663         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
19664         cleanup macros.
19665         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19666         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
19667         cleanup macros.
19668         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19669         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
19670         cleanup macros.
19671         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19672         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
19673         macros.
19674         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19675         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
19676         macros.
19677         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19678         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
19679         macros.
19680         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19681         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
19682         cleanup macros.
19683         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19684         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
19685         cleanup macros.
19686         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19687         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
19688         macros.
19689         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19690         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
19691         cleanup macros.
19692         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19693         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
19694         macros.
19695         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19696         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
19697         macros.
19698         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19699         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
19700         cleanup macros.
19701         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19702
19703 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
19704
19705         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19706         to _sifields.sigfault.
19707         (si_addr_lsb): Define new macro.
19708         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19709         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19710         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19711
19712 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
19713
19714         [BZ #15441]
19715         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19716         returns -1.
19717         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19718         null return -1.
19719         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19720         loading the domain.
19721
19722 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
19723
19724         * math/gen-libm-test.pl (parse_args): Do not include expected
19725         result in test name.
19726         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19727         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19728         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19729         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19730         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19732
19733 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19734
19735         * benchtests/Makefile: Sort function entries.
19736
19737         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19738         tanh, asinh, acosh, atanh.
19739         * benchtests/acos-inputs: New file.
19740         * benchtests/acosh-inputs: New file.
19741         * benchtests/asin-inputs: New file.
19742         * benchtests/asinh-inputs: New file.
19743         * benchtests/atanh-inputs: New file.
19744         * benchtests/cosh-inputs: New file.
19745         * benchtests/log-inputs: New file.
19746         * benchtests/sinh-inputs: New file.
19747         * benchtests/tanh-inputs: New file.
19748
19749 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
19750
19751         [BZ #15339]
19752         * posix/tst-getaddrinfo4.c: New test.
19753         * posix/Makefile (tests): Add it.
19754
19755 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19756
19757         [BZ #15339]
19758         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19759         when no services were used.
19760         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19761         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19762
19763 2013-05-21  Andreas Schwab  <schwab@suse.de>
19764
19765         [BZ #15014]
19766         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19767         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19768         successful.
19769         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19770         redundant variable declarations and reallocation of buffer when
19771         parsing as IPv6 address.  Always set NSS status when called from
19772         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
19773         buffer too small.  Correct computation of needed size.
19774         * nss/Makefile (tests): Add test-digits-dots.
19775         * nss/test-digits-dots.c: New test.
19776
19777 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19778
19779         * benchtests/Makefile: Remove instructions for adding
19780         benchmark tests.
19781         * benchtests/README: New file to explain how to execute and
19782         enhance the benchmark tests.
19783
19784 2013-05-21  Andreas Schwab  <schwab@suse.de>
19785
19786         [BZ #15493]
19787         * setjmp/Makefile (tests): Add tst-sigsetjmp.
19788         * setjmp/tst-sigsetjmp.c: New test.
19789
19790 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
19791
19792         * sysdeps/x86_64/memset.S (memset): New implementation.
19793         (__bzero): Likewise.
19794         (__memset_tail): New function.
19795
19796 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
19797
19798         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19799         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19800         __memcpy_sse2_unaligned ifunc selection.
19801         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19802         Add memcpy-sse2-unaligned.S.
19803         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19804         Add: __memcpy_sse2_unaligned.
19805
19806 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
19807
19808         [BZ #15490]
19809         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19810         math_force_eval before restoring floating-point envrionment.
19811         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19812         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19813         Likewise.
19814         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19815         <math_private.h>.
19816         (__nearbyintl): Use math_force_eval before restoring
19817         floating-point environment.
19818         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19819
19820         * math/gen-libm-test.pl (special_functions): Remove.
19821         (parse_args): Don't handle TEST_extra.  Handle functions with no
19822         return value.
19823         * math/libm-test.inc (struct test_sincos_data): Replace with
19824         struct test_fFF_11_data.
19825         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19826         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19827         (sincos_test_data): Change element type to struct
19828         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
19829         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19830         RUN_TEST_LOOP_sincos.
19831         * math/README.libm-test: Don't mention special handling of
19832         individual functions.
19833         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19834         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19835         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19836         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19837         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19839
19840         * math/gen-libm-test.pl (get_variable): Remove function.
19841         (parse_args): Don't show pointer parameters to call in test
19842         names.  Use "extra output N" in test names for extra outputs
19843         rather than naming variables.
19844
19845 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
19846
19847         [BZ #15488]
19848         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19849         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19850         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19851         double tests.
19852         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19853         disable.
19854         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19855         check_long_double.
19856
19857         * math/gen-libm-test.pl (@tests): Remove variable.
19858         ($count): Likewise.
19859         (new_test): Remove function.
19860         (show_exceptions): New function.
19861         (special_functions): Use show_exceptions instead of new_test.
19862         (parse_args): Likewise.
19863         (generate_testfile): Pass only function name in generated call to
19864         print_max_error or print_complex_max_error.
19865         (get_ulps): Do not handle complex tests specially.
19866         (output_test): Rename to ...
19867         (get_all_ulps_for_test): ... this.  Return a string rather than
19868         printing to a file.  Require ulps to be present.
19869         (output_ulps): Generate arrays rather than #defines.
19870         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19871         (struct ulp_data): New type.
19872         (BUILD_COMPLEX_ULP): Remove macro.
19873         (compare_ulp_data): New function.
19874         (find_ulps): Likewise.
19875         (find_test_ulps): Likewise.
19876         (find_function_ulps): Likewise.
19877         (find_complex_function_ulps): Likewise.
19878         (print_max_error): Determine allowed ulps using
19879         find_function_ulps.
19880         (print_complex_max_error): Determine allowed ulps using
19881         find_complex_function_ulps.
19882         (check_float_internal): Determine max ulps using find_test_ulps.
19883         (check_float): Do not take max_ulp parameter.  Update call to
19884         check_float_internal.
19885         (check_complex): Likewise.
19886         (check_int): Do not take max_ulp parameter.
19887         (check_long): Likewise.
19888         (check_bool): Likewise.
19889         (check_longlong): Likewise.
19890         (struct test_f_f_data): Remove max_ulp field.
19891         (struct test_ff_f_data): Likewise.
19892         (struct test_ff_f_data_nexttoward): Likewise.
19893         (struct test_fi_f_data): Likewise.
19894         (struct test_fl_f_data): Likewise.
19895         (struct test_if_f_data): Likewise.
19896         (struct test_fff_f_data): Likewise.
19897         (struct test_c_f_data): Likewise.
19898         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19899         (struct test_fF_f1_data): Likewise.
19900         (struct test_ffI_f1_data): Likewise.
19901         (struct test_c_c_data): Remove max_ulp field.
19902         (struct test_cc_c_data): Likewise.
19903         (struct test_f_i_data): Likewise.
19904         (struct test_ff_i_data): Likewise.
19905         (struct test_f_l_data): Likewise.
19906         (struct test_f_L_data): Likewise.
19907         (struct test_sincos_data): Likewise.
19908         (RUN_TEST_f_f): Do not handle ulps.
19909         (RUN_TEST_LOOP_f_f): Likewise.
19910         (RUN_TEST_2_f): Likewise.
19911         (RUN_TEST_LOOP_2_f): Likewise.
19912         (RUN_TEST_fff_f): Likewise.
19913         (RUN_TEST_LOOP_fff_f): Likewise.
19914         (RUN_TEST_c_f): Likewise.
19915         (RUN_TEST_LOOP_c_f): Likewise.
19916         (RUN_TEST_f_f1): Likewise.
19917         (RUN_TEST_LOOP_f_f1): Likewise.
19918         (RUN_TEST_fF_f1): Likewise.
19919         (RUN_TEST_LOOP_fF_f1): Likewise.
19920         (RUN_TEST_fI_f1): Likewise.
19921         (RUN_TEST_LOOP_fI_f1): Likewise.
19922         (RUN_TEST_ffI_f1): Likewise.
19923         (RUN_TEST_LOOP_ffI_f1): Likewise.
19924         (RUN_TEST_c_c): Likewise.
19925         (RUN_TEST_LOOP_c_c): Likewise.
19926         (RUN_TEST_cc_c): Likewise.
19927         (RUN_TEST_LOOP_cc_c): Likewise.
19928         (RUN_TEST_f_i): Likewise.
19929         (RUN_TEST_LOOP_f_i): Likewise.
19930         (RUN_TEST_f_i_tg): Likewise.
19931         (RUN_TEST_LOOP_f_i_tg): Likewise.
19932         (RUN_TEST_ff_i_tg): Likewise.
19933         (RUN_TEST_LOOP_ff_i_tg): Likewise.
19934         (RUN_TEST_f_b): Likewise.
19935         (RUN_TEST_LOOP_f_b): Likewise.
19936         (RUN_TEST_f_b_tg): Likewise.
19937         (RUN_TEST_LOOP_f_b_tg): Likewise.
19938         (RUN_TEST_f_l): Likewise.
19939         (RUN_TEST_LOOP_f_l): Likewise.
19940         (RUN_TEST_f_L): Likewise.
19941         (RUN_TEST_LOOP_f_L): Likewise.
19942         (RUN_TEST_sincos): Likewise.
19943         (RUN_TEST_LOOP_sincos): Likewise.
19944
19945 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
19946
19947         [BZ #15480]
19948         [BZ #15485]
19949         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19950         main case of finite arguments, set rounding mode to FE_TONEAREST
19951         and discard exceptions.
19952         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19953         exceptions.
19954         (remainder_tonearest_test_data): New variable.
19955         (remainder_test_tonearest): New function.
19956         (remainder_towardzero_test_data): New variable.
19957         (remainder_test_towardzero): New function.
19958         (remainder_downward_test_data): New variable.
19959         (remainder_test_downward): New function.
19960         (remainder_upward_test_data): New variable.
19961         (remainder_test_upward): New function.
19962         (main): Call the new test functions.
19963
19964         * math/libm-test.inc (struct test_f_f1_data): Remove field
19965         extra_init.
19966         (struct test_fF_f1_data): Likewise.
19967         (struct test_ffI_f1_data): Likewise.
19968         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
19969         based on value of EXTRA_EXPECTED.
19970         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19971         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
19972         EXTRA_VAR based on value of EXTRA_EXPECTED.
19973         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19974         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
19975         EXTRA_VAR based on value of EXTRA_EXPECTED.
19976         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19977         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
19978         EXTRA_VAR based on value of EXTRA_EXPECTED.
19979         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19980         * math/gen-libm-test.pl (parse_args): Don't output initializers
19981         for extra output values.
19982
19983         * math/libm-test.inc (check_int): Expect result to be exactly
19984         equal to expected value and do not handle ulps.
19985         (check_long): Likewise.
19986         (check_longlong): Likewise.
19987
19988         * math/libm-test.inc (ceil_test_data): Test for "inexact"
19989         exceptions.
19990         (cimag_test_data): Likewise.
19991         (conj_test_data): Likewise.
19992         (copysign_test_data): Likewise.
19993         (cproj_test_data): Likewise.
19994         (creal_test_data): Likewise.
19995         (fabs_test_data): Likewise.
19996         (fdim_test_data): Likewise.
19997         (finite_test_data): Likewise.
19998         (floor_test_data): Likewise.
19999         (fmax_test_data): Likewise.
20000         (fmin_test_data): Likewise.
20001         (fmod_test_data): Likewise.
20002         (fpclassify_test_data): Likewise.
20003         (frexp_test_data): Likewise.
20004         (ilogb_test_data): Likewise.
20005         (isfinite_test_data): Likewise.
20006         (isgreater_test_data): Likewise.
20007         (isgreaterequal_test_data): Likewise.
20008         (isinf_test_data): Likewise.
20009         (isless_test_data): Likewise.
20010         (islessequal_test_data): Likewise.
20011         (islessgreater_test_data): Likewise.
20012         (isnan_test_data): Likewise.
20013         (isnormal_test_data): Likewise.
20014         (issignaling_test_data): Likewise.
20015         (isunordered_test_data): Likewise.
20016         (ldexp_test_data): Likewise.
20017         (lrint_test_data): Likewise.
20018         (lrint_test_data) [TEST_FLOAT]: Disable one test.
20019         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20020         (lrint_tonearest_test_data): Test for "inexact" exceptions.
20021         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20022         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20023         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20024         test input.
20025         (lrint_towardzero_test_data): Test for "inexact" exceptions.
20026         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20027         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20028         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20029         that test input.
20030         (lrint_downward_test_data): Test for "inexact" exceptions.
20031         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20032         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20033         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20034         test input.
20035         (lrint_upward_test_data): Test for "inexact" exceptions.
20036         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20037         test input.
20038         (llrint_test_data): Test for "inexact" exceptions.
20039         (llrint_test_data) [TEST_FLOAT]: Disable one test.
20040         (llrint_tonearest_test_data): Test for "inexact" exceptions.
20041         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20042         (llrint_towardzero_test_data): Test for "inexact" exceptions.
20043         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20044         (llrint_downward_test_data): Test for "inexact" exceptions.
20045         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20046         (llrint_upward_test_data): Test for "inexact" exceptions.
20047         (logb_test_data): Likewise.
20048         (logb_downward_test_data): Likewise.
20049         (nextafter_test_data): Likewise.
20050         (nexttoward_test_data): Likewise.
20051         (remainder_test_data): Likewise.
20052         (remquo_test_data): Likewise.
20053         (scalbn_test_data): Likewise.
20054         (scalbln_test_data): Likewise.
20055         (signbit_test_data): Likewise.
20056         (sqrt_test_data): Likewise.
20057         (significand_test_data): Likewise.
20058
20059 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20060
20061         [BZ #15424]
20062         * benchtests/bench-modf.c (struct args): Mark arg0 as
20063         volatile.
20064         * scripts/bench.pl: Mark members of struct args as volatile.
20065
20066 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20067
20068         [BZ # 15497]
20069         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20070         negative infinity on POWER6 or lower.
20071         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20072
20073 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
20074
20075         [BZ #15442]
20076         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20077         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20078         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20079         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20080         (_FP_SETQNAN): New macro.
20081         (_FP_SETQNAN_SEMIRAW): Likewise.
20082         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20083         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20084         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20085         (FP_EXTEND): Use _FP_FRAC_SNANP.
20086         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20087         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20088         into account.
20089         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20090         New macro.
20091         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20092         Likewise.
20093
20094 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20095
20096         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20097         with DIVIDE_BY_ZERO_EXCEPTION.
20098         (gamma_test_data): Likewise.
20099         (lgamma_test_data): Likewise.
20100         (log_test_data): Likewise.
20101         (log10_test_data): Likewise.
20102         (log2_test_data): Likewise.
20103         (tgamma_test_data): Likewise.
20104
20105         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20106         (acos_test_tonearest): Likewise.
20107         (acos_test_towardzero): Likewise.
20108         (acos_test_downward): Likewise.
20109         (acos_test_upward): Likewise.
20110         (acosh_test): Likewise.
20111         (asin_test): Likewise.
20112         (asin_test_tonearest): Likewise.
20113         (asin_test_towardzero): Likewise.
20114         (asin_test_downward): Likewise.
20115         (asin_test_upward): Likewise.
20116         (asinh_test): Likewise.
20117         (atan_test): Likewise.
20118         (atanh_test): Likewise.
20119         (atan2_test): Likewise.
20120         (cabs_test): Likewise.
20121         (cacos_test): Likewise.
20122         (cacosh_test): Likewise.
20123         (casin_test): Likewise.
20124         (casinh_test): Likewise.
20125         (catan_test): Likewise.
20126         (catanh_test): Likewise.
20127         (cbrt_test): Likewise.
20128         (ccos_test): Likewise.
20129         (ccosh_test): Likewise.
20130         (cexp_test): Likewise.
20131         (clog_test): Likewise.
20132         (clog10_test): Likewise.
20133         (cos_test): Likewise.
20134         (cos_test_tonearest): Likewise.
20135         (cos_test_towardzero): Likewise.
20136         (cos_test_downward): Likewise.
20137         (cos_test_upward): Likewise.
20138         (cosh_test): Likewise.
20139         (cosh_test_tonearest): Likewise.
20140         (cosh_test_towardzero): Likewise.
20141         (cosh_test_downward): Likewise.
20142         (cosh_test_upward): Likewise.
20143         (cpow_test): Likewise.
20144         (csin_test): Likewise.
20145         (csinh_test): Likewise.
20146         (csqrt_test): Likewise.
20147         (ctan_test): Likewise.
20148         (ctan_test_tonearest): Likewise.
20149         (ctan_test_towardzero): Likewise.
20150         (ctan_test_downward): Likewise.
20151         (ctan_test_upward): Likewise.
20152         (ctanh_test): Likewise.
20153         (ctanh_test_tonearest): Likewise.
20154         (ctanh_test_towardzero): Likewise.
20155         (ctanh_test_downward): Likewise.
20156         (ctanh_test_upward): Likewise.
20157         (erf_test): Likewise.
20158         (erfc_test): Likewise.
20159         (exp_test): Likewise.
20160         (exp_test_tonearest): Likewise.
20161         (exp_test_towardzero): Likewise.
20162         (exp_test_downward): Likewise.
20163         (exp_test_upward): Likewise.
20164         (exp10_test): Likewise.
20165         (exp2_test): Likewise.
20166         (expm1_test): Likewise.
20167         (fmod_test): Likewise.
20168         (gamma_test): Likewise.
20169         (hypot_test): Likewise.
20170         (j0_test): Likewise.
20171         (j1_test): Likewise.
20172         (jn_test): Likewise.
20173         (lgamma_test): Likewise.
20174         (log_test): Likewise.
20175         (log10_test): Likewise.
20176         (log1p_test): Likewise.
20177         (log2_test): Likewise.
20178         (logb_test_downward): Likewise.
20179         (pow_test): Likewise.
20180         (pow_test_tonearest): Likewise.
20181         (pow_test_towardzero): Likewise.
20182         (pow_test_downward): Likewise.
20183         (pow_test_upward): Likewise.
20184         (remainder_test): Likewise.
20185         (remquo_test): Likewise.
20186         (sin_test): Likewise.
20187         (sin_test_tonearest): Likewise.
20188         (sin_test_towardzero): Likewise.
20189         (sin_test_downward): Likewise.
20190         (sin_test_upward): Likewise.
20191         (sincos_test): Likewise.
20192         (sinh_test): Likewise.
20193         (sinh_test_tonearest): Likewise.
20194         (sinh_test_towardzero): Likewise.
20195         (sinh_test_downward): Likewise.
20196         (sinh_test_upward): Likewise.
20197         (sqrt_test): Likewise.
20198         (tan_test): Likewise.
20199         (tan_test_tonearest): Likewise.
20200         (tan_test_towardzero): Likewise.
20201         (tan_test_downward): Likewise.
20202         (tan_test_upward): Likewise.
20203         (tanh_test): Likewise.
20204         (tgamma_test): Likewise.
20205         (y0_test): Likewise.
20206         (y1_test): Likewise.
20207         (yn_test): Likewise.
20208
20209         * math/gen-libm-test.pl (adjust_arg): Remove function.
20210         (special_function): Remove argument $in_func.  Only handle
20211         generating output for tables of tests, not inside functions.
20212         (parse_args): Likewise.
20213         (generate_testfile): Remove variable $in_func.  Update call to
20214         parse_args.
20215         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20216         (MINUS_ZERO_INIT): Rename macro to minus_zero.
20217         (PLUS_INFTY_INIT): Rename macro to plus_infty.
20218         (MINUS_INFTY_INIT): Rename macro to minus_infty.
20219         (QNAN_VALUE_INIT): Rename macro to qnan_value.
20220         (MAX_VALUE_INIT): Rename macro to max_value.
20221         (MIN_VALUE_INIT): Rename macro to min_value.
20222         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20223         (plus_zero): Remove variable.
20224         (minus_zero): Likewise.
20225         (plus_infty): Likewise.
20226         (minus_infty): Likewise.
20227         (qnan_value): Likewise.
20228         (max_value): Likewise.
20229         (min_value): Likewise.
20230         (min_subnorm_value): Likewise.
20231
20232 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20233
20234         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20235         uint64_t or uint32_t usage.
20236         * crypt/sha256-block.c: Likewise.
20237         * crypt/sha256-crypt.c: Likewise.
20238         * crypt/sha256.c: Likewise.
20239         * crypt/sha512-block.c: Likewise.
20240         * crypt/sha512-crypt.c: Likewise.
20241         * crypt/sha512.c: Likewise.
20242         * debug/backtrace-tst.c: Likewise.
20243         * debug/pcprofiledump.c: Likewise.
20244         * elf/cache.c: Likewise.
20245         * elf/dl-cache.c: Likewise.
20246         * elf/dl-misc.c: Likewise.
20247         * elf/dl-profile.c: Likewise.
20248         * elf/dl-support.c: Likewise.
20249         * elf/ldconfig.c: Likewise.
20250         * elf/sprof.c: Likewise.
20251         * iconv/dummy-repertoire.c: Likewise.
20252         * iconv/iconv_charmap.c: Likewise.
20253         * iconv/skeleton.c: Likewise.
20254         * iconvdata/8bit-generic.c: Likewise.
20255         * iconvdata/cp737.h: Likewise.
20256         * iconvdata/cp775.h: Likewise.
20257         * iconvdata/ibm1008.h: Likewise.
20258         * iconvdata/ibm1025.h: Likewise.
20259         * iconvdata/ibm1046.h: Likewise.
20260         * iconvdata/ibm1097.h: Likewise.
20261         * iconvdata/ibm1112.h: Likewise.
20262         * iconvdata/ibm1122.h: Likewise.
20263         * iconvdata/ibm1123.h: Likewise.
20264         * iconvdata/ibm1124.h: Likewise.
20265         * iconvdata/ibm1129.h: Likewise.
20266         * iconvdata/ibm1130.h: Likewise.
20267         * iconvdata/ibm1132.h: Likewise.
20268         * iconvdata/ibm1133.h: Likewise.
20269         * iconvdata/ibm1137.h: Likewise.
20270         * iconvdata/ibm1140.h: Likewise.
20271         * iconvdata/ibm1141.h: Likewise.
20272         * iconvdata/ibm1142.h: Likewise.
20273         * iconvdata/ibm1143.h: Likewise.
20274         * iconvdata/ibm1144.h: Likewise.
20275         * iconvdata/ibm1145.h: Likewise.
20276         * iconvdata/ibm1146.h: Likewise.
20277         * iconvdata/ibm1147.h: Likewise.
20278         * iconvdata/ibm1148.h: Likewise.
20279         * iconvdata/ibm1149.h: Likewise.
20280         * iconvdata/ibm1153.h: Likewise.
20281         * iconvdata/ibm1154.h: Likewise.
20282         * iconvdata/ibm1155.h: Likewise.
20283         * iconvdata/ibm1156.h: Likewise.
20284         * iconvdata/ibm1157.h: Likewise.
20285         * iconvdata/ibm1158.h: Likewise.
20286         * iconvdata/ibm1160.h: Likewise.
20287         * iconvdata/ibm1161.h: Likewise.
20288         * iconvdata/ibm1162.h: Likewise.
20289         * iconvdata/ibm1163.h: Likewise.
20290         * iconvdata/ibm1164.h: Likewise.
20291         * iconvdata/ibm1166.h: Likewise.
20292         * iconvdata/ibm1167.h: Likewise.
20293         * iconvdata/ibm12712.h: Likewise.
20294         * iconvdata/ibm1390.h: Likewise.
20295         * iconvdata/ibm1399.h: Likewise.
20296         * iconvdata/ibm16804.h: Likewise.
20297         * iconvdata/ibm4517.h: Likewise.
20298         * iconvdata/ibm4899.h: Likewise.
20299         * iconvdata/ibm4909.h: Likewise.
20300         * iconvdata/ibm4971.h: Likewise.
20301         * iconvdata/ibm5347.h: Likewise.
20302         * iconvdata/ibm803.h: Likewise.
20303         * iconvdata/ibm856.h: Likewise.
20304         * iconvdata/ibm901.h: Likewise.
20305         * iconvdata/ibm902.h: Likewise.
20306         * iconvdata/ibm9030.h: Likewise.
20307         * iconvdata/ibm9066.h: Likewise.
20308         * iconvdata/ibm921.h: Likewise.
20309         * iconvdata/ibm922.h: Likewise.
20310         * iconvdata/ibm9448.h: Likewise.
20311         * iconvdata/isiri-3342.h: Likewise.
20312         * iconvdata/jis0201.h: Likewise.
20313         * include/link.h: Likewise.
20314         * include/netdb.h: Likewise.
20315         * inet/check_native.c: Likewise.
20316         * inet/check_pf.c: Likewise.
20317         * inet/getipv4sourcefilter.c: Likewise.
20318         * inet/getnameinfo.c: Likewise.
20319         * inet/getsourcefilter.c: Likewise.
20320         * inet/htonl.c: Likewise.
20321         * inet/setipv4sourcefilter.c: Likewise.
20322         * inet/setsourcefilter.c: Likewise.
20323         * inet/test-inet6_opt.c: Likewise.
20324         * inet/tst-network.c: Likewise.
20325         * locale/C-collate.c: Likewise.
20326         * locale/C-ctype.c: Likewise.
20327         * locale/C-time.c: Likewise.
20328         * locale/C-translit.h: Likewise.
20329         * locale/loadarchive.c: Likewise.
20330         * locale/programs/3level.h: Likewise.
20331         * locale/programs/charmap.c: Likewise.
20332         * locale/programs/charmap.h: Likewise.
20333         * locale/programs/ld-address.c: Likewise.
20334         * locale/programs/ld-collate.c: Likewise.
20335         * locale/programs/ld-ctype.c: Likewise.
20336         * locale/programs/ld-identification.c: Likewise.
20337         * locale/programs/ld-measurement.c: Likewise.
20338         * locale/programs/ld-messages.c: Likewise.
20339         * locale/programs/ld-monetary.c: Likewise.
20340         * locale/programs/ld-name.c: Likewise.
20341         * locale/programs/ld-numeric.c: Likewise.
20342         * locale/programs/ld-paper.c: Likewise.
20343         * locale/programs/ld-telephone.c: Likewise.
20344         * locale/programs/ld-time.c: Likewise.
20345         * locale/programs/linereader.c: Likewise.
20346         * locale/programs/locale.c: Likewise.
20347         * locale/programs/locarchive.c: Likewise.
20348         * locale/programs/locfile.h: Likewise.
20349         * locale/programs/repertoire.c: Likewise.
20350         * locale/programs/simple-hash.c: Likewise.
20351         * locale/programs/simple-hash.h: Likewise.
20352         * malloc/memusage.c: Likewise.
20353         * malloc/memusagestat.c: Likewise.
20354         * nis/nis_defaults.c: Likewise.
20355         * nis/nis_hash.c: Likewise.
20356         * nis/nis_print.c: Likewise.
20357         * nis/nis_xdr.c: Likewise.
20358         * nscd/connections.c: Likewise.
20359         * nscd/hstcache.c: Likewise.
20360         * nscd/nscd_gethst_r.c: Likewise.
20361         * nscd/nscd_getserv_r.c: Likewise.
20362         * nscd/nscd_helper.c: Likewise.
20363         * nscd/servicescache.c: Likewise.
20364         * nss/makedb.c: Likewise.
20365         * nss/nss_db/db-XXX.c: Likewise.
20366         * nss/nss_db/db-initgroups.c: Likewise.
20367         * nss/nss_db/db-netgrp.c: Likewise.
20368         * nss/nss_files/files-network.c: Likewise.
20369         * nss/nss_files/files-parse.c: Likewise.
20370         * posix/bug-regex5.c: Likewise.
20371         * posix/fnmatch_loop.c: Likewise.
20372         * posix/regcomp.c: Likewise.
20373         * posix/regexec.c: Likewise.
20374         * posix/tst-rfc3484-2.c: Likewise.
20375         * posix/tst-rfc3484-3.c: Likewise.
20376         * posix/tst-rfc3484.c: Likewise.
20377         * resolv/nss_dns/dns-canon.c: Likewise.
20378         * resolv/nss_dns/dns-network.c: Likewise.
20379         * resolv/res_init.c: Likewise.
20380         * resolv/res_mkquery.c: Likewise.
20381         * resolv/tst-aton.c: Likewise.
20382         * stdlib/cxa_atexit.c: Likewise.
20383         * stdlib/cxa_finalize.c: Likewise.
20384         * stdlib/gen-fpioconst.c: Likewise.
20385         * stdlib/strtol_l.c: Likewise.
20386         * string/tst-endian.c: Likewise.
20387         * sunrpc/auth_des.c: Likewise.
20388         * sunrpc/clnt_udp.c: Likewise.
20389         * sunrpc/rtime.c: Likewise.
20390         * sunrpc/svcauth_des.c: Likewise.
20391         * sunrpc/xdr.c: Likewise.
20392         * sunrpc/xdr_intXX_t.c: Likewise.
20393         * sunrpc/xdr_rec.c: Likewise.
20394         * sysdeps/generic/ldconfig.h: Likewise.
20395         * sysdeps/generic/ldsodefs.h: Likewise.
20396         * sysdeps/generic/memusage.h: Likewise.
20397         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20398         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20399         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20400         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20401         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20402         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20403         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20404         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20405         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20406         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20407         * sysdeps/posix/getaddrinfo.c: Likewise.
20408         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20409         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20410         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20411         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20412         * sysdeps/powerpc/test-gettimebase.c: Likewise.
20413         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20414         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20415         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20416         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20417         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20418         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20419         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20420         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20421         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20422         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20423         * sysdeps/x86_64/dl-tls.h: Likewise.
20424         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20425         * time/alt_digit.c: Likewise.
20426         * time/era.c: Likewise.
20427         * wcsmbs/tst-c16c32-1.c: Likewise.
20428
20429 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20430
20431         * math/libm-test.inc (struct test_sincos_data): New type.
20432         (RUN_TEST_LOOP_sincos): New macro.
20433         (sincos_test_data): New variable.
20434         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20435
20436 2013-05-16  Richard Henderson  <rth@redhat.com>
20437
20438         * math/atest-exp2.c (LIMB64): New macro.
20439         (CONSTSZ): New macro.
20440         (mp_exp1, mp_exp_m1, mp_log2): New variables.
20441         (hexdig): Move ...
20442         (print_mpn_fp): ... to function scope.
20443         (read_mpn_hex): Remove.
20444         (get_log2): Remove.
20445         (exp2_mpn): Use mp_log2.
20446         (main): Use mp_exp1.
20447
20448 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20449
20450         * math/libm-test.inc: Remove comment about not testing "inexact"
20451         exceptions.
20452         (INEXACT_EXCEPTION): New macro.
20453         (NO_INEXACT_EXCEPTION): Likewise.
20454         (INVALID_EXCEPTION_OK): Update value.
20455         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20456         (OVERFLOW_EXCEPTION_OK): Likewise.
20457         (UNDERFLOW_EXCEPTION_OK): Likewise.
20458         (IGNORE_ZERO_INF_SIGN): Likewise.
20459         (ERRNO_UNCHANGED): Likewise.
20460         (ERRNO_EDOM): Likewise.
20461         (ERRNO_ERANGE): Likewise.
20462         (test_exceptions): Handle testing "inexact" exceptions.
20463         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20464         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20465         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20466         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20467         INEXACT_EXCEPTION.
20468         (rint_towardzero_test_data): Likewise.
20469         (rint_downward_test_data): Likewise.
20470         (rint_upward_test_data): Likewise.
20471
20472         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20473         with OVERFLOW_EXCEPTION.
20474         (exp10_test_data): Likewise.
20475         (exp2_test_data): Likewise.
20476         (expm1_test_data): Likewise.
20477         (lgamma_test_data): Likewise.
20478         (pow_test_data): Likewise.
20479         (tgamma_test_data): Likewise.
20480         (yn_test_data): Remove duplicate test of overflow.
20481
20482         * math/libm-test.inc (struct test_cc_c_data): New type.
20483         (RUN_TEST_LOOP_cc_c): New macro.
20484         (cpow_test_data): New variable.
20485         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20486
20487         * math/libm-test.inc (struct test_f_L_data): New type.
20488         (RUN_TEST_LOOP_f_L): New macro.
20489         (llrint_test_data): New variable.
20490         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20491         (llrint_tonearest_test_data): New variable.
20492         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20493         (llrint_towardzero_test_data): New variable.
20494         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20495         (llrint_downward_test_data): New variable.
20496         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20497         (llrint_upward_test_data): New variable.
20498         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20499         (llround_test_data): New variable.
20500         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20501
20502 2013-05-13  Peter Collingbourne  <pcc@google.com>
20503
20504         * math/atest-exp2.c (get_log2): Remove const attribute.
20505
20506 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20507
20508         * math/libm-test.inc (struct test_f_l_data): New type.
20509         (RUN_TEST_LOOP_f_l): New macro.
20510         (lrint_test_data): New variable.
20511         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20512         (lrint_tonearest_test_data): New variable.
20513         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20514         (lrint_towardzero_test_data): New variable.
20515         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20516         (lrint_downward_test_data): New variable.
20517         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20518         (lrint_upward_test_data): New variable.
20519         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20520         (lround_test_data): New variable.
20521         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20522
20523 2013-05-15  Peter Collingbourne  <pcc@google.com>
20524
20525         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20526         (EXTRACT_WORDS64) Use where appropriate.
20527         (INSERT_WORDS64) Likewise.
20528
20529         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20530         constraints with x constraints.
20531         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20532
20533         * malloc/obstack.c (_obstack_compat): Add initializer.
20534
20535 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20536
20537         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20538         si_trapno and add si_addr_lsb to _sifields.sigfault.
20539         (si_trapno): Remove macro.
20540         (si_addr_lsb): Define new macro.
20541         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20542
20543 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20544
20545         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20546         instead of TEST_f_l.
20547         (llrint_test_tonearest): Likewise.
20548         (llrint_test_towardzero): Likewise.
20549         (llrint_test_downward): Likewise.
20550         (llrint_test_upward): Likewise.
20551         (llround_test): Likewise.
20552
20553         * math/libm-test.inc (struct test_f_i_data): Add comment.
20554         (RUN_TEST_LOOP_f_b): New macro.
20555         (RUN_TEST_LOOP_f_b_tg): Likewise.
20556         (finite_test_data): New variable.
20557         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20558         (isfinite_test_data): New variable.
20559         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20560         (isinf_test_data): New variable.
20561         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20562         (isnan_test_data): New variable.
20563         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20564         (isnormal_test_data): New variable.
20565         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20566         (issignaling_test_data): New variable.
20567         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20568         (signbit_test_data): New variable.
20569         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20570
20571         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20572         with INVALID_EXCEPTION.
20573         (acosh_test_data): Likewise.
20574         (asin_test_data): Likewise.
20575         (atanh_test_data): Likewise.
20576         (fmod_test_data): Likewise.
20577         (log_test_data): Likewise.
20578         (log10_test_data): Likewise.
20579         (log2_test_data): Likewise.
20580         (pow_test_data): Likewise.
20581         (sqrt_test_data): Likewise.
20582         (y0_test_data): Likewise.
20583         (y1_test_data): Likewise.
20584         (yn_test_data): Likewise.
20585
20586         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20587         function contents.
20588
20589         * math/libm-test.inc (struct test_ff_i_data): New type.
20590         (RUN_TEST_LOOP_ff_i_tg): New macro.
20591         (isgreater_test_data): New variable.
20592         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20593         (isgreaterequal_test_data): New variable.
20594         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20595         (isless_test_data): New variable.
20596         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20597         (islessequal_test_data): New variable.
20598         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20599         (islessgreater_test_data): New variable.
20600         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20601         (isunordered_test_data): New variable.
20602         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20603
20604 2013-05-14  David S. Miller  <davem@davemloft.net>
20605
20606         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20607
20608 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
20609
20610         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20611
20612         * math/libm-test.inc (struct test_fF_f1_data): Change type of
20613         extra_test to int.
20614         (struct test_f_i_data): Change type of max_ulp to int.
20615
20616         * math/libm-test.inc (test_ffI_f1_data): New type.
20617         (RUN_TEST_LOOP_ffI_f1): New macro.
20618         (remquo_test_data): New variable.
20619         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20620
20621         * setjmp/tst-setjmp-fp.c: New file.
20622         * setjmp/Makefile (tests): Add tst-setjmp-fp.
20623         (link-libm): New variable.
20624         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20625
20626         * math/libm-test.inc (struct test_f_i_data): New type.
20627         (RUN_TEST_LOOP_f_i): New macro.
20628         (RUN_TEST_LOOP_f_i_tg): Likewise.
20629         (fpclassify_test_data): New variable.
20630         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20631         (ilogb_test_data): New variable.
20632         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20633
20634         * math/libm-test.inc (scalbln_test): Correct function name in END
20635         call.
20636
20637         * math/libm-test.inc (struct test_f_f1_data): Add comment.
20638         (RUN_TEST_LOOP_fI_f1): New macro.
20639         (frexp_test_data): New variable.
20640         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20641
20642         * math/libm-test.inc (struct test_fF_f1_data): New type.
20643         (RUN_TEST_LOOP_fF_f1): New macro.
20644         (modf_test_data): New variable.
20645         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20646
20647         * math/libm-test.inc (struct test_f_f1_data): New type.
20648         (RUN_TEST_LOOP_f_f1): New macro.
20649         (gamma_test_data): New variable.
20650         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20651         (lgamma_test_data): New variable.
20652         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20653
20654 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
20655
20656         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20657         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20658         (main): Comment "tls" pseudo-hwcap.
20659
20660 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
20661
20662         * math/libm-test.inc (struct test_fl_f_data): New type.
20663         (RUN_TEST_LOOP_fl_f): New variable.
20664         (scalbln_test_data): New variable.
20665         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20666
20667         * math/libm-test.inc (struct test_fi_f_data): New type.
20668         (RUN_TEST_LOOP_fi_f): New macro.
20669         (ldexp_test_data): New variable.
20670         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20671         (scalbn_test_data): New variable.
20672         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20673
20674         * math/libm-test.inc (struct test_c_f_data): New type.
20675         (RUN_TEST_LOOP_c_f): New macro.
20676         (cabs_test_data): New variable.
20677         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20678         (carg_test_data): New variable.
20679         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20680         (cimag_test_data): New variable.
20681         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20682         (creal_test_data): New variable.
20683         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20684
20685         * math/libm-test.inc (struct test_if_f_data): New type.
20686         (RUN_TEST_LOOP_if_f): New macro.
20687         (jn_test_data): New variable.
20688         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20689         (yn_test_data): New variable.
20690         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20691
20692         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20693
20694 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20695
20696         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20697         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20698
20699 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20700
20701         * benchtests/Makefile (CPPFLAGS-nonlib): Add
20702         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20703         (bench-deps): Add bench-timing.h.
20704         * benchtests-bench-skeleton.c: Include bench-timing.h.
20705         (main): Use TIMING_* macros instead of clock_gettime.
20706         * benchtests/bench-timing.h: New file.
20707
20708         [BZ #14582]
20709         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20710         Renamed from _LIB_VERSION.
20711         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20712
20713 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
20714
20715         * math/libm-test.inc (struct test_fff_f_data): New type.
20716         (RUN_TEST_LOOP_fff_f): New macro.
20717         (fma_test_data): New variable.
20718         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20719         (fma_towardzero_test_data): New variable.
20720         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20721         (fma_downward_test_data): New variable.
20722         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20723         (fma_upward_test_data): New variable.
20724         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20725
20726         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20727         (struct test_c_c_data): New type.
20728         (RUN_TEST_LOOP_c_c): New macro.
20729         (cacos_test_data): New variable.
20730         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20731         (cacosh_test_data): New variable.
20732         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20733         (casin_test_data): New variable.
20734         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20735         (casinh_test_data): New variable.
20736         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20737         (catan_test_data): New variable.
20738         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20739         (catanh_test_data): New variable.
20740         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20741         (ccos_test_data): New variable.
20742         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20743         (ccosh_test_data): New variable.
20744         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20745         (cexp_test_data): New variable.
20746         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20747         (clog_test_data): New variable.
20748         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20749         (clog10_test_data): New variable.
20750         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20751         (conj_test_data): New variable.
20752         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20753         (cproj_test_data): New variable.
20754         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20755         (csin_test_data): New variable.
20756         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20757         (csinh_test_data): New variable.
20758         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20759         (csqrt_test_data): New variable.
20760         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20761         (ctan_test_data): New variable.
20762         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20763         (ctan_tonearest_test_data): New variable.
20764         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20765         (ctan_towardzero_test_data): New variable.
20766         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20767         (ctan_downward_test_data): New variable.
20768         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20769         (ctan_upward_test_data): New variable.
20770         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20771         (ctanh_test_data): New variable.
20772         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20773         (ctanh_tonearest_test_data): New variable.
20774         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20775         (ctanh_towardzero_test_data): New variable.
20776         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20777         (ctanh_downward_test_data): New variable.
20778         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20779         (ctanh_upward_test_data): New variable.
20780         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20781         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20782         of BUILD_COMPLEX.
20783
20784         * math/libm-test.inc (struct test_ff_f_data): New type.
20785         (struct test_ff_f_data_nexttoward): Likewise.
20786         (RUN_TEST_LOOP_2_f): New macro.
20787         (RUN_TEST_LOOP_ff_f): Likewise.
20788         (atan2_test_data): New variable.
20789         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20790         (copysign_test_data): New variable.
20791         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20792         (fdim_test_data): New variable.
20793         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20794         (fmax_test_data): New variable.
20795         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20796         (fmin_test_data): New variable.
20797         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20798         (fmod_test_data): New variable.
20799         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20800         (hypot_test_data): New variable.
20801         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20802         (nextafter_test_data): New variable.
20803         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20804         (nexttoward_test_data): New variable.
20805         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20806         (pow_test_data): New variable.
20807         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20808         (pow_tonearest_test_data): New variable.
20809         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20810         (pow_towardzero_test_data): New variable.
20811         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20812         (pow_downward_test_data): New variable.
20813         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20814         (pow_upward_test_data): New variable.
20815         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20816         (remainder_test_data): New variable.
20817         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20818         (scalb_test_data): New variable.
20819         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20820         * sysdeps/i386/fpu/libm-test-ulps: Update.
20821
20822 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
20823
20824         * math/libm-test.inc (fma_test): Use max_value instead of local
20825         variable fltmax.
20826         (nextafter_test): Likewise.
20827
20828         * math/libm-test.inc (acos_towardzero_test_data): New variable.
20829         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20830         (acos_downward_test_data): New variable.
20831         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20832         (acos_upward_test_data): New variable.
20833         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20834         (acosh_test_data): New variable.
20835         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20836         (asin_test_data): New variable.
20837         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20838         (asin_tonearest_test_data): New variable.
20839         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20840         (asin_towardzero_test_data): New variable.
20841         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20842         (asin_downward_test_data): New variable.
20843         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20844         (asin_upward_test_data): New variable.
20845         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20846         (asinh_test_data): New variable.
20847         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20848         (atan_test_data): New variable.
20849         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20850         (atanh_test_data): New variable.
20851         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20852         (cbrt_test_data): New variable.
20853         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20854         (ceil_test_data): New variable.
20855         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20856         (cos_test_data): New variable.
20857         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20858         (cos_tonearest_test_data): New variable.
20859         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20860         (cos_towardzero_test_data): New variable.
20861         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20862         (cos_downward_test_data): New variable.
20863         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20864         (cos_upward_test_data): New variable.
20865         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20866         (cosh_test_data): New variable.
20867         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20868         (cosh_tonearest_test_data): New variable.
20869         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20870         (cosh_towardzero_test_data): New variable.
20871         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20872         (cosh_downward_test_data): New variable.
20873         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20874         (cosh_upward_test_data): New variable.
20875         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20876         (erf_test_data): New variable.
20877         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20878         (erfc_test_data): New variable.
20879         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20880         (exp_test_data): New variable.
20881         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20882         (exp_tonearest_test_data): New variable.
20883         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20884         (exp_towardzero_test_data): New variable.
20885         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20886         (exp_downward_test_data): New variable.
20887         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20888         (exp_upward_test_data): New variable.
20889         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20890         (exp10_test_data): New variable.
20891         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20892         (exp2_test_data): New variable.
20893         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20894         (expm1_test_data): New variable.
20895         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20896         (fabs_test_data): New variable.
20897         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20898         (floor_test_data): New variable.
20899         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20900         (j0_test_data): New variable.
20901         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20902         (j1_test_data): New variable.
20903         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20904         (log_test_data): New variable.
20905         (log_test): Run tests with RUN_TEST_LOOP_f_f.
20906         (log10_test_data): New variable.
20907         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20908         (log1p_test_data): New variable.
20909         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20910         (log2_test_data): New variable.
20911         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20912         (logb_test_data): New variable.
20913         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20914         (logb_downward_test_data): New variable.
20915         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20916         (nearbyint_test_data): New variable.
20917         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20918         (rint_test_data): New variable.
20919         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20920         (rint_tonearest_test_data): New variable.
20921         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20922         (rint_towardzero_test_data): New variable.
20923         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20924         (rint_downward_test_data): New variable.
20925         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20926         (rint_upward_test_data): New variable.
20927         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20928         (round_test_data): New variable.
20929         (round_test): Run tests with RUN_TEST_LOOP_f_f.
20930         (sin_test_data): New variable.
20931         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20932         (sin_tonearest_test_data): New variable.
20933         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20934         (sin_towardzero_test_data): New variable.
20935         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20936         (sin_downward_test_data): New variable.
20937         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20938         (sin_upward_test_data): New variable.
20939         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20940         (sinh_test_data): New variable.
20941         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20942         (sinh_tonearest_test_data): New variable.
20943         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20944         (sinh_towardzero_test_data): New variable.
20945         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20946         (sinh_downward_test_data): New variable.
20947         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20948         (sinh_upward_test_data): New variable.
20949         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20950         (sqrt_test_data): New variable.
20951         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20952         (tan_test_data): New variable.
20953         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20954         (tan_tonearest_test_data): New variable.
20955         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20956         (tan_towardzero_test_data): New variable.
20957         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20958         (tan_downward_test_data): New variable.
20959         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20960         (tan_upward_test_data): New variable.
20961         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20962         (tanh_test_data): New variable.
20963         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20964         (tgamma_test_data): New variable.
20965         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20966         (trunc_test_data): New variable.
20967         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20968         (y0_test_data): New variable.
20969         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20970         (y1_test_data): New variable.
20971         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20972         (significand_test_data): New variable.
20973         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20974
20975 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
20976
20977         [BZ #12387]
20978         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20979
20980 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20981
20982         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20983
20984 2013-05-10  Andreas Jaeger  <aj@suse.de>
20985
20986         [BZ #15448]
20987         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20988         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20989
20990 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
20991
20992         * math/gen-libm-test.pl (adjust_arg): New function.
20993         (special_functions): Handle generating output in both functions
20994         and arrays.
20995         (parse_args): Likewise.
20996         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
20997         $in_func argument to parse_args.
20998         * math/libm-test.inc (struct test_f_f_data): New type.
20999         (IF_ROUND_INIT_): New macro.
21000         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21001         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21002         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21003         (IF_ROUND_INIT_FE_UPWARD): Likewise.
21004         (ROUND_RESTORE_): Likewise.
21005         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21006         (ROUND_RESTORE_FE_TONEAREST): Likewise.
21007         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21008         (ROUND_RESTORE_FE_UPWARD): Likewise.
21009         (RUN_TEST_LOOP_f_f): New macro.
21010         (acos_test_data): New variable.
21011         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21012         (acos_tonearest_test_data): New variable.
21013         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21014
21015 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21016
21017         * benchtests/bench-skeleton.c (startup): Fix coding style.
21018
21019 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21020
21021         [BZ #6809]
21022         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21023         negative infinity argument.
21024         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21025         negative infinity argument.
21026         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21027         negative infinity argument.
21028         * math/libm-test.inc (tgamma_test): Expect errno to be set for
21029         domain errors.
21030
21031 2013-05-10  Florian Weimer  <fweimer@redhat.com>
21032
21033         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21034         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21035         * iconv/iconv_prog.c (main): Likewise.
21036         * locale/programs/charmap-dir.c (charmap_readdir)
21037         (fopen_uncompressed): Likewise.
21038         * locale/programs/locfile.c (siblings_uncached)
21039         (write_locale_data): Use lstat64 instead of lstat.
21040         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21041         stat.
21042
21043 2013-05-10  Andreas Jaeger  <aj@suse.de>
21044
21045         [BZ #15395]
21046         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21047         localization.
21048         Include <locale.h>.
21049
21050 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
21051
21052         * elf/dl-close.c (_dl_close_worker): Add comments.
21053
21054 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
21055
21056         [BZ #15359]
21057         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21058         high part of pi/2.
21059         (__ieee754_rem_pio2l): Update comments.
21060
21061         [BZ #15429]
21062         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21063         high part of pi/2.
21064         (__ieee754_rem_pio2l): Update comments.
21065
21066         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21067         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21068
21069         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21070         M_PI_4l.
21071
21072         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21073         (M_PI_34_LOG10El): Likewise.
21074         (M_PI2_LOG10El): Likewise.
21075         (M_PI4_LOG10El): Likewise.
21076         (M_PI_LOG10El): Likewise.
21077
21078 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21079
21080         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21081
21082 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
21083
21084         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21085         (MINUS_ZERO_INIT): Likewise.
21086         (PLUS_INFTY_INIT): Likewise.
21087         (MINUS_INFTY_INIT): Likewise.
21088         (QNAN_VALUE_INIT): Likewise.
21089         (MAX_VALUE_INIT): Likewise.
21090         (MIN_VALUE_INIT): Likewise.
21091         (MIN_SUBNORM_VALUE_INIT): Likewise.
21092         (plus_zero): Initialize with PLUS_ZERO_INIT.
21093         (minus_zero): Initialize with MINUS_ZERO_INIT.
21094         (plus_infty): Initialize with PLUS_INFTY_INIT.
21095         (minus_infty): Initialize with MINUS_INFTY_INIT.
21096         (qnan_value): Initialize with QNAN_VALUE_INIT.
21097         (max_value): Initialize with MAX_VALUE_INIT.
21098         (min_value): Initialize with MIN_VALUE_INIT.
21099         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21100
21101         * math/libm-test.inc (RUN_TEST_if_f): New macro.
21102         (jn_test): Use TEST_if_f instead of TEST_ff_f.
21103         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21104         (yn_test): Use TEST_if_f instead of TEST_ff_f.
21105
21106         * math/libm-test.inc (RUN_TEST_f_f): New macro.
21107         (RUN_TEST_2_f): Likewise.
21108         (RUN_TEST_ff_f): Likewise.
21109         (RUN_TEST_fi_f): Likewise.
21110         (RUN_TEST_fl_f): Likewise.
21111         (RUN_TEST_fff_f): Likewise.
21112         (RUN_TEST_c_f): Likewise.
21113         (RUN_TEST_f_f1): Likewise.
21114         (RUN_TEST_fF_f1): Likewise.
21115         (RUN_TEST_fI_f1): Likewise.
21116         (RUN_TEST_ffI_f1): Likewise.
21117         (RUN_TEST_c_c): Likewise.
21118         (RUN_TEST_cc_c): Likewise.
21119         (RUN_TEST_f_i): Likewise.
21120         (RUN_TEST_f_i_tg): Likewise.
21121         (RUN_TEST_ff_i_tg): Likewise.
21122         (RUN_TEST_f_b): Likewise.
21123         (RUN_TEST_f_b_tg): Likewise.
21124         (RUN_TEST_f_l): Likewise.
21125         (RUN_TEST_f_L): Likewise.
21126         (RUN_TEST_sincos): Likewise.
21127         * math/gen-libm-test.pl (new_test): Take new argument to indicate
21128         whether to show exceptions.  Do not include ");\n" in return
21129         value.
21130         (special_functions): Output call to RUN_TEST_sincos instead of
21131         check_float calls.  Update calls to new_test.
21132         (parse_args): Output call to single RUN_TEST_* macro instead of
21133         check_* calls and other assignments.  Update calls to new_test.
21134
21135         [BZ #2546]
21136         [BZ #2560]
21137         [BZ #5159]
21138         [BZ #15426]
21139         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21140         input to result for tgamma overflow.
21141         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21142         (gamma_coeff): New variable.
21143         (NCOEFF): New macro.
21144         (gamma_positive): New function.
21145         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21146         underflow here.  Use gamma_positive instead of exp (lgamma) for
21147         other arguments.
21148         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21149         (gamma_coeff): New variable.
21150         (NCOEFF): New macro.
21151         (gammaf_positive): New function.
21152         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21153         underflow here.  Use gamma_positive instead of exp (lgamma) for
21154         other arguments.
21155         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21156         (gamma_coeff): New variable.
21157         (NCOEFF): New macro.
21158         (gammal_positive): New function.
21159         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21160         underflow here.  Use gamma_positive instead of exp (lgamma) for
21161         other arguments.
21162         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21163         (gamma_coeff): New variable.
21164         (NCOEFF): New macro.
21165         (gammal_positive): New function.
21166         (__ieee754_gammal_r): Handle positive infinity, overflow and
21167         underflow here.  Handle NaN the same as positive infinity.  Remove
21168         check x < 0xffffffff for negative integers.  Use gamma_positive
21169         instead of exp (lgamma) for other arguments.
21170         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21171         (gamma_coeff): New variable.
21172         (NCOEFF): New macro.
21173         (gammal_positive): New function.
21174         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21175         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21176         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21177         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21178         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21179         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21180         * sysdeps/generic/math_private.h (__gamma_productf): New
21181         prototype.
21182         (__gamma_product): Likewise.
21183         (__gamma_productl): Likewise.
21184         * math/Makefile (libm-calls): Add gamma_product.
21185         * math/libm-test.inc (tgamma_test): Add more tests.
21186         * sysdeps/i386/fpu/libm-test-ulps: Update.
21187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21188
21189 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
21190
21191         * benchtests/bench-skeleton.c (main): Preheat CPU.
21192
21193 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
21194
21195         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21196
21197 2013-05-07  Roland McGrath  <roland@hack.frob.com>
21198
21199         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21200         and _dl_skip_args_internal.
21201
21202 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
21203
21204         * manual/message.texi (Message Translation): Talk about users.
21205         Message to key mapping impacts design.
21206
21207 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21208
21209         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21210
21211         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21212
21213         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21214         * sysdeps/wordsize-64/glob64.c: ... here.
21215
21216         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21217         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21218         New macros.
21219
21220         * debug/getlogin_r_chk.c: Moved to ...
21221         * login/getlogin_r_chk.c: ... here.
21222         * debug/Makefile (routines): Move getlogin_r_chk to ...
21223         * login/Makefile (routines): ... here.
21224         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21225         * login/Versions (libc: GLIBC_2.4): ... here.
21226
21227         * io/poll.c (__poll): Renamed from poll.
21228         Add libc_hidden_def.
21229         (poll): Define as weak alias.
21230
21231         * debug/ptsname_r_chk.c: Moved to ...
21232         * login/ptsname_r_chk.c: ... here.
21233         * debug/Makefile (routines): Move ptsname_r_chk to ...
21234         * login/Makefile (routines): ... here.
21235         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21236         * login/Versions (libc: GLIBC_2.4): ... here.
21237
21238         * posix/getlogin.c: Moved to ...
21239         * login/getlogin.c: ... here.
21240         * posix/getlogin_r.c: Moved to ...
21241         * login/getlogin_r.c: ... here.
21242         * posix/getlogin_r.c: Moved to ...
21243         * login/getlogin_r.c: ... here.
21244         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21245         * login/Makefile (routines): ... here.
21246         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21247         * login/Versions (libc: GLIBC_2.0): ... here.
21248
21249         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21250         (setrlimit): Define as weak alias.
21251
21252         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21253         Call __ names for open, ftruncate, and close.
21254         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21255         (truncate): Define as weak alias.
21256
21257 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
21258
21259         * math/gen-libm-test.pl (parse_args): Initialize x before each
21260         test of frexp, modf and remquo.
21261
21262         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21263         test signgam value.
21264
21265 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21266
21267         [BZ #15418]
21268         [BZ #15419]
21269         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21270         internal tests.
21271         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21272
21273 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21274
21275         * elf/dl-writev.h: New file.
21276         * elf/dl-misc.c: Include it.
21277         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21278         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21279
21280 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
21281
21282         * math/libm-test.inc (noXFails): Remove variable.
21283         (noXPasses): Likewise.
21284         (BUILD_COMPLEX_INT): Remove macro.
21285         (print_screen): Remove xfail argument.
21286         (print_screen_max_error): Likewise.
21287         (update_stats): Likewise.
21288         (print_max_error): Likewise.  Update calls to other affected
21289         functions.
21290         (print_complex_max_error): Likewise.
21291         (test_single_exception): Update calls to print_screen.
21292         (test_single_errno): Likewise.
21293         (check_float_internal): Remove xfail argument.  Update calls to
21294         other affected functions.
21295         (check_float): Likewise.
21296         (check_complex): Likewise.
21297         (check_int): Likewise.
21298         (check_long): Likewise.
21299         (check_bool): Likewise.
21300         (check_longlong): Likewise.
21301         (main): Don't print noXFails and noXPasses.
21302         * math/gen-libm-test.pl (top level): Don't mention expected
21303         failure handling in comment.
21304         (new_test): Don't handle expected failures.
21305         (parse_args): Don't mention expected failure handling in comment.
21306         (generate_testfile): Don't handle expected failures.
21307         (parse_ulps): Likewise.
21308         (print_ulps_file): Likewise.
21309         (get_failure): Remove function.
21310         (output_test): Don't handle expected failures.
21311         * make/README.libm-test: Don't mention expected failure handling.
21312
21313         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
21314         (minus_zero): Likewise.
21315         (plus_infty): Likewise.
21316         (minus_infty): Likewise.
21317         (qnan_value): Likewise.
21318         (max_value): Likewise.
21319         (min_value): Likewise.
21320         (min_subnorm_value): Likewise.
21321         (initialize): Do not initialize those variables dynamically.
21322
21323 2013-05-03  Roland McGrath  <roland@hack.frob.com>
21324
21325         * io/open.c (__open_2): Moved to ...
21326         * io/open_2.c: ... this new file.
21327         * io/open64.c (__open64_2): Moved to ...
21328         * io/open64_2.c: ... this new file.
21329         * io/openat.c (__openat_2): Moved to ...
21330         * io/openat_2.c: ... this new file.
21331         * io/openat64.c (__openat64_2): Moved to ...
21332         * io/openat64_2.c: ... this new file.
21333         * io/Makefile (routines): Add them.
21334         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21335         * sysdeps/unix/sysv/linux/open_2.c: File removed.
21336         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21337         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21338         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21339         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21340         (__openat64): Add hidden_ver.
21341         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21342         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21343
21344         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21345         Separately conditionalize setting of GLRO(dl_sysinfo) so
21346         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21347         as well, but the actual setting is only under [NEED_DL_SYSINFO].
21348
21349 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21350
21351         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21352         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21353         definition.
21354         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21355         * sysdeps/unix/sysv/linux/powerpc/init-first.c
21356         (_libc_vdso_platform_setup): Add __vdso_time initialization.
21357         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21358         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21359
21360 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
21361
21362         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21363         test signgam value.
21364
21365         * math/libm-test.inc (hypot_test): Do not use
21366         IGNORE_ZERO_INF_SIGN.
21367
21368 2013-05-03  Andreas Jaeger  <aj@suse.de>
21369
21370         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21371         Linux 3.9.
21372         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21373         (PF_MAX): Adjust for VSOCK change.
21374
21375 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21376
21377         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21378
21379 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
21380
21381         [BZ #15264]
21382         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21383         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21384         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21385
21386 2013-05-02  David S. Miller  <davem@davemloft.net>
21387
21388         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21389
21390 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
21391
21392         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21393
21394 2013-05-01  Roland McGrath  <roland@hack.frob.com>
21395
21396         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21397
21398 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
21399
21400         [BZ #14952]
21401         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21402         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21403         Use __attribute__ ((__gnu_inline__)).
21404         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21405         Don't use __attribute__ ((__gnu_inline__)).
21406
21407 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
21408
21409         [BZ #15423]
21410         * math/s_catan.c (__catan): Handle small real or imaginary part of
21411         input specially to avoid spurious underflow.
21412         * math/s_catanf.c (__catanf): Likewise.
21413         * math/s_catanh.c (__catanh): Likewise.
21414         * math/s_catanhf.c (__catanhf): Likewise.
21415         * math/s_catanhl.c (__catanhl): Likewise.
21416         * math/s_catanl.c (__catanl): Likewise.
21417         * math/libm-test.inc (catan_test): Add more tests.
21418         (catanh_test): Likewise.
21419         * sysdeps/i386/fpu/libm-test-ulps: Update.
21420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21421
21422 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21423
21424         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21425
21426 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
21427
21428         [BZ #15416]
21429         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21430         accurately for denominator in atan2.
21431         * math/s_catanf.c (__catanf): Likewise.
21432         * math/s_catanh.c (__catanh): Likewise.
21433         * math/s_catanhf.c (__catanhf): Likewise.
21434         * math/s_catanhl.c (__catanhl): Likewise.
21435         * math/s_catanl.c (__catanl): Likewise.
21436         * math/libm-test.inc (catan_test): Add more tests.
21437         (catanh_test): Likewise.
21438         * sysdeps/i386/fpu/libm-test-ulps: Update.
21439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21440
21441 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21442
21443         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21444
21445         * benchtests/Makefile (bench): Remove slow benchmarks.
21446         * benchtests/atan-inputs: Add slow benchmark inputs.
21447         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21448         (BENCH_FUNC): Accept variant offset.
21449         (VARIANT): Define.
21450         * benchtests/bench-skeleton.c (main): Run benchmark for each
21451         variant.
21452         * benchtests/cos-inputs: Add slow benchmark inputs.
21453         * benchtests/exp-inputs: Likewise.
21454         * benchtests/pow-inputs: Likewise.
21455         * benchtests/sin-inputs: Likewise.
21456         * benchtests/slowatan-inputs: Remove.
21457         * benchtests/slowatan.c: Remove.
21458         * benchtests/slowcos-inputs: Remove.
21459         * benchtests/slowcos.c: Remove.
21460         * benchtests/slowexp-inputs: Remove.
21461         * benchtests/slowexp.c: Remove.
21462         * benchtests/slowpow-inputs: Remove.
21463         * benchtests/slowpow.c: Remove.
21464         * benchtests/slowsin-inputs: Remove.
21465         * benchtests/slowsin.c: Remove.
21466         * benchtests/slowtan-inputs: Remove.
21467         * benchtests/slowtan.c: Remove.
21468         * benchtests/tan-inputs: Add slow benchmark inputs.
21469         * scripts/bench.pl: Parse comments and directives.
21470
21471         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
21472         in CPPFLAGS.
21473         ($(objpfx)bench-%.c): Remove *-ITER.
21474         * benchtests/bench-modf.c: Remove definition of ITER.
21475         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21476         (main): Loop for DURATION seconds instead of fixed number of
21477         iterations.
21478         * scripts/bench.pl: Don't expect iterations in parameters.
21479
21480 2013-04-29  Roland McGrath  <roland@hack.frob.com>
21481
21482         * io/fchdir.c (__fchdir): Renamed from fchdir.
21483         (fchdir): Define as weak alias.
21484
21485 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21486
21487         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21488         (ERRNO_EDOM): Likewise.
21489         (ERRNO_ERANGE): Likewise.
21490         (noErrnoTests): New variable.
21491         (init_max_error): Set errno to 0.
21492         (test_single_errno): New function.
21493         (test_errno): Likewise.
21494         (check_float_internal): Call test_errno.  Set errno to 0.
21495         (check_complex): Refer to errno tests in comment.
21496         (check_int): Call test_errno.  Set errno to 0.
21497         (check_long): Likewise.
21498         (check_bool): Likewise.
21499         (check_longlong): Likewise.
21500         (cos_test): Use ERRNO_* flags for errno tests instead of
21501         check_int.
21502         (expm1_test): Likewise.
21503         (fmod_test): Likewise.
21504         (ilogb_test): Likewise.
21505         (lgamma_test): Likewise.
21506         (pow_test): Likewise.
21507         (remainder_test): Likewise.
21508         (sin_test): Likewise.
21509         (tan_test): Likewise.
21510         (yn_test): Likewise.
21511         (initialize): Set errno to 0.
21512         (main): Print number of errno tests.
21513         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21514
21515 2013-04-29  Andreas Jaeger  <aj@suse.de>
21516
21517         [BZ #15084]
21518         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21519         and RES_USEVC.
21520
21521         [BZ #15085]
21522         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21523         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21524         unimplemented.
21525
21526         [BZ #15380]
21527         * stdlib/random.c (__initstate): Return NULL if
21528         __initstate fails.
21529
21530         [BZ #15086]
21531         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21532         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21533         RES_SNGLKUPREOP.
21534
21535 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21536
21537         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21538
21539 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21540
21541         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21542         of individual tests.
21543         (casin_test): Likewise.
21544         (casinh_test): Likewise.
21545
21546 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
21547
21548         [BZ #15409]
21549         * math/s_catan.c (__catan): Handle arguments with large real or
21550         imaginary part separately without squaring.
21551         * math/s_catanf.c (__catanf): Likewise.
21552         * math/s_catanh.c (__catanh): Likewise.
21553         * math/s_catanhf.c (__catanhf): Likewise.
21554         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21555         and redefine.
21556         (__catanhl): Handle arguments with large real or imaginary part
21557         separately without squaring.
21558         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21559         and redefine.
21560         (__catanl): Handle arguments with large real or imaginary part
21561         separately without squaring.
21562         * math/libm-test.inc (catan_test): Add more tests.
21563         (catanh_test): Likewise.
21564         * sysdeps/i386/fpu/libm-test-ulps: Update.
21565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21566
21567 2013-04-27  Andreas Jaeger  <aj@suse.de>
21568
21569         [BZ #15007]
21570         * stdlib/stdlib.h: Update guards for qecvt.
21571         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21572         <stdlib.h>.
21573
21574 2013-04-27  Allan McRae  <allan@archlinux.org>
21575
21576         * sysdeps/i386/fpu/libm-test-ulps: Update.
21577
21578 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
21579
21580         [BZ #15406]
21581         * math/s_catan.c: Include <float.h>.
21582         (__catan): Ensure underflow exception occurs for underflowed
21583         result.
21584         * math/s_catanf.c: Include <float.h>.
21585         (__catanf): Ensure underflow exception occurs for underflowed
21586         result.
21587         * math/s_catanh.c: Include <float.h>.
21588         (__catanh): Ensure underflow exception occurs for underflowed
21589         result.
21590         * math/s_catanhf.c: Include <float.h>.
21591         (__catanhf): Ensure underflow exception occurs for underflowed
21592         result.
21593         * math/s_catanhl.c: Include <float.h>.
21594         (__catanhl): Ensure underflow exception occurs for underflowed
21595         result.
21596         * math/s_catanl.c: Include <float.h>.
21597         (__catanl): Ensure underflow exception occurs for underflowed
21598         result.
21599         * math/libm-test.inc (catan_test): Add more tests.
21600         (catanh_test): Likewise.
21601
21602         [BZ #15405]
21603         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21604         underflowed result.
21605         * math/s_ccoshf.c (__ccoshf): Likewise.
21606         * math/s_ccoshl.c (__ccoshl): Likewise.
21607         * math/s_csin.c (__csin): Likewise.
21608         * math/s_csinf.c (__csinf): Likewise.
21609         * math/s_csinh.c (__csinh): Likewise.
21610         * math/s_csinhf.c (__csinhf): Likewise.
21611         * math/s_csinhl.c (__csinhl): Likewise.
21612         * math/s_csinl.c (__csinl): Likewise.
21613         * math/libm-test.inc (ccos_test): Add more tests.
21614         (ccosh_test): Likewise.
21615         (csin_test): Likewise.
21616         (csinh_test): Likewise.
21617
21618 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21619
21620         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21621         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21622         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21623         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21624         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21625         powerpc/power5+/fpu folders.
21626         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21627
21628
21629 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
21630
21631         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21632
21633 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
21634
21635         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21636         additions to variable.
21637         [$(config-machine) = x86_64] (modules-names): Likewise.
21638         ($(objpfx)tst-audit3): Remove dependency.
21639         ($(objpfx)tst-audit3.out): Likewise.
21640         ($(objpfx)tst-audit4): Likewise.
21641         ($(objpfx)tst-audit4.out): Likewise.
21642         ($(objpfx)tst-audit5): Likewise.
21643         ($(objpfx)tst-audit5.out): Likewise.
21644         ($(objpfx)tst-audit6): Likewise.
21645         ($(objpfx)tst-audit6.out): Likewise.
21646         ($(objpfx)tst-audit7): Likewise.
21647         ($(objpfx)tst-audit7.out): Likewise.
21648         (tst-audit3-ENV): Remove variable.
21649         (tst-audit4-ENV): Likewise.
21650         (tst-audit5-ENV): Likewise.
21651         (tst-audit6-ENV): Likewise.
21652         (tst-audit7-ENV): Likewise.
21653         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21654         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21655         addition to variable.
21656         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21657         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21658         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21659         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21660         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21661         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21662         tst-audit3, tst-audit4 and tst-audit5.
21663         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21664         tst-audit6 and tst-audit7.
21665         [$(subdir) = elf] (modules-names): Add audit modules for those
21666         tests.
21667         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21668         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21669         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21670         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21671         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21672         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21673         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21674         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21675         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21676         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21677         [$(subdir) = elf] (tst-audit3-ENV): New variable.
21678         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21679         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21680         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21681         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21682         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21683         Likewise.
21684         [$(subdir) = elf && $(config-cflags-avx) = yes]
21685         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21686         [$(subdir) = elf && $(config-cflags-avx) = yes]
21687         (CFLAGS-tst-auditmod4a.c): Likewise.
21688         [$(subdir) = elf && $(config-cflags-avx) = yes]
21689         (CFLAGS-tst-auditmod4b.c): Likewise.
21690         [$(subdir) = elf && $(config-cflags-avx) = yes]
21691         (CFLAGS-tst-auditmod6b.c): Likewise.
21692         [$(subdir) = elf && $(config-cflags-avx) = yes]
21693         (CFLAGS-tst-auditmod6c.c): Likewise.
21694         [$(subdir) = elf && $(config-cflags-avx) = yes]
21695         (CFLAGS-tst-auditmod7b.c): Likewise.
21696         * elf/tst-audit3.c: Move to ...
21697         * sysdeps/x86_64/tst-audit3.c: ... here.
21698         * elf/tst-audit4.c: Move to ...
21699         * sysdeps/x86_64/tst-audit4.c: ... here.
21700         * elf/tst-audit5.c: Move to ...
21701         * sysdeps/x86_64/tst-audit5.c: ... here.
21702         * elf/tst-audit6.c: Move to ...
21703         * sysdeps/x86_64/tst-audit6.c: ... here.
21704         * elf/tst-audit7.c: Move to ...
21705         * sysdeps/x86_64/tst-audit7.c: ... here.
21706         * elf/tst-auditmod3a.c: Move to ...
21707         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21708         * elf/tst-auditmod3b.c: Move to ...
21709         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21710         * elf/tst-auditmod4a.c: Move to ...
21711         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21712         * elf/tst-auditmod4b.c: Move to ...
21713         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21714         * elf/tst-auditmod5a.c: Move to ...
21715         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21716         * elf/tst-auditmod5b.c: Move to ...
21717         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21718         * elf/tst-auditmod6a.c: Move to ...
21719         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21720         * elf/tst-auditmod6b.c: Move to ...
21721         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21722         * elf/tst-auditmod6c.c: Move to ...
21723         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21724         * elf/tst-auditmod7a.c: Move to ...
21725         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21726         * elf/tst-auditmod7b.c: Move to ...
21727         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21728
21729 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
21730
21731         [BZ #15366]
21732         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21733         define unconditionally.
21734         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21735         define unconditionally.
21736         (INT8_C, INT16_C, etc.): Likewise.
21737
21738 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
21739
21740         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21741         __ehdr_start with hidden visibility.
21742
21743         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21744
21745 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
21746
21747         * math/libm-test.inc (cos_test): Use accurate hex constants.
21748         (sincost_test): Likewise.
21749
21750 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
21751
21752         * math/libm-test.inc (catan_test): Add more tests.
21753         (catanh_test): Likewise.
21754
21755         * math/s_catanf.c (__catanf): Use suffixed floating-point
21756         constants.
21757         * math/s_catanhf.c (__catanhf): Likewise.
21758         * math/s_catanhl.c (__catanhl): Likewise.
21759         * math/s_catanl.c (__catanl): Likewise.
21760
21761         [BZ #15394]
21762         * math/s_catan.c (__catan): Calculate imaginary part of result
21763         with log1p not log unless computing log of number close to 0.
21764         * math/s_catanf.c (__catanf): Likewise.
21765         * math/s_catanl.c (__catanl): Likewise.
21766         * math/s_catanh.c (__catanh): Calculate real part of result with
21767         log1p not log unless computing log of number close to 0.
21768         * math/s_catanhf.c (__catanhf): Likewise.
21769         * math/s_catanhl.c (__catanhl): Likewise.
21770         * math/libm-test.inc (catan_test): Add more tests.
21771         (catanh_test): Likewise.
21772         * sysdeps/i386/fpu/libm-test-ulps: Update.
21773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21774
21775 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21776
21777         * benchtests/Makefile: Mention files in which fast and slow
21778         paths of math functions are implemented.
21779
21780 2013-04-23  Roland McGrath  <roland@hack.frob.com>
21781
21782         * sysdeps/posix/timespec_get.c: New file.
21783
21784 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21785
21786         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21787         POWER.
21788         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21789         for POWER.
21790         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21791         powerpc/power5/fpu folders.
21792         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21793         * benchtests/Makefile: Add modf testcase.
21794         * benchtests/bench-modf.c: New file: Benchmark test for mo
21795
21796 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21797
21798         [BZ #14888]
21799         * time/Makefile (tests): Add tst-strptime-whitespace.
21800         * time/strptime_l.c (get_number): Use ISSPACE.
21801         (__strptime_internal): Likewise.
21802         * time/tst-strptime-whitespace.c: New test case.
21803
21804 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
21805
21806         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21807         member.
21808         (_nss_files_init): Set it here.
21809
21810 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
21811
21812         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21813         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21814         unsigned.
21815
21816 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
21817
21818         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21819
21820 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21821
21822         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21823         size just once.
21824
21825 2013-04-21  David S. Miller  <davem@davemloft.net>
21826
21827         * po/ru.po: Update Russion translation from translation project.
21828
21829 2013-04-17  Adam Conrad  <adconrad@0c3.net>
21830
21831         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21832         and setfsgid.
21833
21834 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
21835
21836         * configure.in: Remove i386 configure warning. Remove i386 case.
21837         * configure: Regenerate.
21838         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21839         Add example to error message.
21840         * sysdeps/i386/configure: Regenerate.
21841
21842 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21843
21844         * benchtests/Makefile (bench): Add cos, tan, slowcos and
21845         slowtan.
21846         * benchtests/cos-inputs: New file.
21847         * benchtests/slowcos-inputs: New file.
21848         * benchtests/slowcos.c: New file.
21849         * benchtests/slowtan-inputs: New file.
21850         * benchtests/slowtan.c: New file.
21851         * benchtests/tan-inputs: New file.
21852
21853 2013-04-16  Roland McGrath  <roland@hack.frob.com>
21854
21855         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21856         considered kosher.
21857
21858 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21859
21860         * benchtests/Makefile: Include cppflags-iterator.mk to add
21861         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21862
21863         * Makefile.in (bench-clean): New target.
21864         * benchtests/Makefile (bench-clean): Likewise.
21865
21866 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
21867
21868         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21869
21870 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
21871
21872         * stdio-common/tstdiomisc.c: Fix coding-style violation.
21873
21874 2013-04-15  Andreas Schwab  <schwab@suse.de>
21875
21876         * nscd/grpcache.c (cache_addgr): Properly check for short write.
21877         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21878         * nscd/pwdcache.c (cache_addpw): Likewise.
21879         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
21880         more than recsize.
21881
21882 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21883
21884         * benchtests/Makefile (bench): Write all output to
21885         bench-out.tmp together.
21886
21887 2013-04-15  Andreas Schwab  <schwab@suse.de>
21888
21889         * nscd/nscd.c (main): Don't fork again after closing files.
21890
21891 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21892
21893         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21894
21895         * benchtests/Rules (bench-deps): Collect dependencies into a
21896         single variable.  Add Makefile to dependencies.
21897         ($(objpfx)bench-%.c): Depend on bench-deps.
21898
21899 2013-04-12  Roland McGrath  <roland@hack.frob.com>
21900             Xavier Roche  <roche+kml2@exalead.com>
21901
21902         [BZ #15361]
21903         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21904         just that it's a file descriptor.
21905         * manual/llio.texi (Synchronizing AIO Operations): Update description
21906         for EBADF error from aio_fsync.
21907
21908 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21909
21910         * Rules (bench): Move target definition...
21911         * benchtests/Makefile: ... here.
21912
21913 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
21914
21915         * math/libm-test.inc (cos_test): Fix PI/2 test.
21916         (sincos_test): Likewise.
21917         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21918         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21919
21920 2013-04-11  Andreas Schwab  <schwab@suse.de>
21921
21922         [BZ #13988]
21923         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21924         accept exponent character only when digits were seen.
21925         * stdio-common/Makefile (tests): Add bug26.
21926         * stdio-common/bug26.c: New file.
21927
21928         [BZ #14293]
21929         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21930         non-freeable.
21931
21932 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21933
21934         * Makeconfig (rtld-prefix): Define built linker prefix.
21935         * Rules (run-bench): Use it.
21936         * math/Makefile (run-regen-ulps): Likewise.
21937
21938         * Rules (bench): Remove eval.
21939
21940 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21941             Roland McGrath  <roland@hack.frob.com>
21942             Ondrej Bilka  <neleai@seznam.cz>
21943
21944         [BZ #15346]
21945         * time/getdate.c: Include ctype.h and alloca.h.
21946         (__getdate_r): Trim leading and trailing spaces of input.
21947         * time/tst-getdate.c (tests): Add tests with leading and
21948         trailing spaces.
21949
21950 2013-04-08  Roland McGrath  <roland@hack.frob.com>
21951
21952         [BZ #14280]
21953         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21954         when computing value.
21955
21956 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21957
21958         * math/README.libm-test (How can I generate "libm-test-ulps"?):
21959         Use testrun.sh to run libm tests.
21960
21961         [BZ #15309]
21962         * elf/dl-open.c (dl_open_worker): memset all of seen array.
21963
21964 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
21965
21966         [BZ #15264]
21967         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21968
21969 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21970
21971         * Makefile.in (regen-ulps): New target.
21972         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21973         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21974         [ifneq (no,$(PERL)] (regen-ulps): New target.
21975         [ifeq (no,$(PERL)] (regen-ulps): New target.
21976         * math/libm-test.inc (ulps_file_name): Define.
21977         (output_dir): New variable.
21978         (options): Add "output-dir" option.
21979         (parse_opt): Handle 'o' case.
21980         (main): If output_dir is non-NULL use it as a prefix
21981         otherwise use "".
21982         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21983
21984 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21985
21986         [BZ #10060, #10062]
21987         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21988         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21989         fail configure if __sync_val_compare_and_swap is not inlined.
21990         * sysdeps/i386/configure: Regenerate.
21991         * configure.in: Build for i686 when configured for i386.
21992         * configure: Regenerate.
21993         * README: Remove i386 reference.
21994
21995 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21996
21997         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21998         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21999
22000 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
22001
22002         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22003         (lmsnanval): New variables.
22004         (F): Add conversion tests.
22005         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22006         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22007
22008         * stdio-common/tstdiomisc.c (F): Properly collect individual
22009         tests' results.
22010
22011         [BZ #14686, #15336]
22012         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22013         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22014         Instead, use input NaN values or generate a qNaN by arithmetic
22015         operation.  Also fix bugs to comply with the standard.
22016         * math/libm-test.inc (remainder_test): Add more tests.
22017
22018         [BZ #15335, #15342]
22019         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22020         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22021         input NaN values or generate a qNaN by arithmetic operation.
22022
22023         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22024         unreachable code.
22025
22026         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22027         definitions.
22028
22029 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
22030
22031         [BZ #14478]
22032         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22033         underflowed result.
22034         * math/s_cexpf.c (__cexpf): Likewise.
22035         * math/s_cexpl.c (__cexpl): Likewise.
22036         * math/libm-test.inc (cexp_test): Add more tests.
22037
22038 2013-04-03  Andreas Schwab  <schwab@suse.de>
22039
22040         [BZ #15330]
22041         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22042         order arrays from heap if bigger than alloca cutoff.
22043
22044 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
22045
22046         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22047         (SNAN_TESTS_double): Refer to GCC PR56831.
22048         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22049         GCC PR56828.
22050
22051 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22052
22053         * Rules (bench): Move bench.out after the run is complete.
22054
22055         * Rules (bench): Echo currently running benchmark.
22056
22057         * benchtests/Makefile (bench): Add atan and slowatan.
22058         * benchtests/atan-inputs: New file.
22059         * benchtests/slowatan-inputs: New file.
22060         * benchtests/slowatan.c: New file.
22061
22062         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22063         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22064         its value.
22065
22066         [BZ #15305]
22067         * sysdeps/unix/sysv/linux/kernel-features.h
22068         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22069         __ASSUME_XFS_RESTRICTED_CHOWN.
22070         * sysdeps/unix/sysv/linux/pathconf.c
22071         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22072         Save and restore errno.
22073
22074 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
22075
22076         [BZ #15327]
22077         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22078         arguments using __kernel_casinh.
22079         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22080         arguments using __kernel_casinhf.
22081         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22082         arguments using __kernel_casinhl.
22083         * math/libm-test.inc (cacosh_test): Add more tests.
22084         * sysdeps/i386/fpu/libm-test-ulps: Update.
22085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22086
22087 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22088
22089         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22090         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22091
22092         * bench/Makefile (bench): Add sin and slowsin.
22093         * benchtests/sin-inputs: New file.
22094         * benchtests/slowsin-inputs: New file.
22095         * benchtests/slowsin.c: New file.
22096
22097         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22098         (bench): Add slowexp and slowpow.
22099         (exp-ITER): Increase iterations.
22100         (pow-ITER): Likewise.
22101         * benchtests/exp-inputs: Change input.
22102         * benchtests/pow-inputs: Likewise.
22103         * benchtests/slowexp-inputs: New file.
22104         * benchtests/slowexp.c: New file.
22105         * benchtests/slowpow-inputs: New file.
22106         * benchtests/slowpow.c: New file.
22107
22108 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22109
22110         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22111         instructions.
22112         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22113         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22114         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22115         * benchtests/Makefile: Add rint benchtest.
22116         * benchtests/rint-inputs: Input for rint benchtest.
22117
22118 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
22119
22120         * Versions.def (libm): Add GLIBC_2.18.
22121         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22122         hidden libm prototypes.
22123         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22124         * math/Makefile (libm-calls): Add s_issignaling.
22125         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22126         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
22127         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22128         declaration.
22129         * math/math.h [__USE_GNU] (issignaling): New macro.
22130         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22131         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22132         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22133         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22134         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22135         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22136         * manual/arith.texi (issignaling): New section.
22137         * manual/libm-err-tab.pl (@all_functions): Update comment.
22138         * math/gen-libm-test.pl (parse_args): Apply special handling for
22139         issignaling.
22140         * math/libm-test.inc (print_float, issignaling_test): New
22141         functions.
22142         (check_float_internal): Add issignaling checks.
22143         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22144         default definition.
22145         * sysdeps/powerpc/math-tests.h: New file.
22146         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22147         tests.
22148         * math/test-snan.c (TEST_FUNC): Likewise.
22149
22150 2013-03-30  David S. Miller  <davem@davemloft.net>
22151
22152         * po/de.po: Update from translation team.
22153
22154 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
22155
22156         [BZ #10357]
22157         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22158         imaginary part less than 1.0 and real part less than 0.5
22159         specially.
22160         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22161         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22162         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22163         (cacos_test): Add more tests.
22164         (casin_test): Likewise.
22165         (casinh_test): Likewise.
22166         * sysdeps/i386/fpu/libm-test-ulps: Update.
22167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22168
22169 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22170
22171         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22172         ONE with its value.
22173
22174         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22175         (__pow_mp): Replace ONE and MONE with their values.
22176         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22177         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22178         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22179         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22180         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22181         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22182
22183         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22184
22185         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22186         (__pow_mp): Replace ZERO and MZERO with their values.
22187         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22188         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22189         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22190         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22191         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22192         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22193         (__sqr): Likewise.
22194
22195         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22196
22197         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22198
22199 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22200
22201         * include/stdlib.h [!SHARED] (__call_tls_dtors):
22202         Declare with __attribute__ ((weak)).
22203         * stdlib/exit.c (__libc_atexit) [!SHARED]:
22204         Call __call_tls_dtors only if it's not NULL.
22205
22206 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22207
22208         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22209         didn't do it already, then set _dl_phdr and _dl_phnum based on the
22210         magic __ehdr_start linker symbol if it's defined.
22211         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22212         them up here if it was already done.
22213
22214         * elf/dl-support.c (_dl_phdr): Make pointer to const.
22215         (_dl_aux_init): Use const in cast when setting it.
22216         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22217         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22218         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22219
22220         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22221         Declare them here.
22222         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22223         * csu/libc-tls.c: Nor here.
22224         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22225
22226         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22227         (__libc_message): Never call vsyslog.
22228
22229 2013-03-28  Alan Modra  <amodra@gmail.com>
22230
22231         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22232         Define as empty.
22233         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22234         Likewise.
22235
22236 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22237
22238         [BZ #15214]
22239         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22240         underflow.
22241         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22242
22243 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22244
22245         [BZ #15304]
22246         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22247         Don't add gid passed as argument.
22248
22249         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22250
22251 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
22252
22253         [BZ #15307]
22254         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22255         imaginary part between 1.0 and 1.5 and real part less than 0.5
22256         specially.
22257         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22258         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22259         * math/libm-test.inc (cacos_test): Add more tests.
22260         (casin_test): Likewise.
22261         (casinh_test): Likewise.
22262         * sysdeps/i386/fpu/libm-test-ulps: Update.
22263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22264
22265 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22266
22267         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22268         constants.
22269         (norm): Likewise.
22270         (denorm): Likewise.
22271         (__dbl_mp): Likewise.
22272         (add_magnitudes): Likewise.
22273         (sub_magnitudes): Likewise.
22274         (__add): Likewise.
22275         (__sub): Likewise.
22276         (__mul): Likewise.
22277         (__sqr): Likewise.
22278         (__inv): Likewise.
22279         (__dvd): Likewise.
22280
22281         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22282         commented code.
22283         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22284         (__dubcos): Likewise.
22285         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22286         (__ieee754_acos): Likewise.
22287         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22288         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22289         (__exp1): Likewise.
22290         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22291         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22292         (log1): Likewise.
22293         (my_log2): Likewise.
22294         (checkint): Likewise.
22295         * sysdeps/ieee754/dbl-64/e_remainder.c
22296         (__ieee754_remainder): Likewise.
22297         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22298         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22299         (bsloww): Likewise.
22300         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22301
22302         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22303         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22304         MANTISSA_STORE_T to store computations on mantissa.  Use
22305         macros for rounding and division.
22306         (denorm): Likewise.
22307         (__dbl_mp): Likewise.
22308         (add_magnitudes): Likewise.
22309         (sub_magnitudes): Likewise.
22310         (__mul): Likewise.
22311         (__sqr): Likewise.
22312         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22313         powers of two in terms of TWOPOW macro.
22314         (mp_no): Make type of mantissa as MANTISSA_T.
22315         [!RADIXI]: Define RADIXI.
22316         [!TWO52]: Define TWO52.
22317         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22318
22319 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22320
22321         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22322         llroundl symbol when building for PPC32.
22323
22324 2013-03-24  Mark H Weaver  <mhw@netris.org>
22325
22326         * manual/arith.texi (Normalization Functions): Fix prototypes for
22327         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22328
22329 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22330
22331         [BZ #13889]
22332         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22333         high value to check if expl overflow.
22334         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22335         to check for underflow and overflow.
22336         * math/libm-test.inc: Add exp test.
22337
22338 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
22339
22340         [BZ #11120]
22341         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22342         with NOT_IN_libc.
22343
22344 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22345
22346         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22347         symbol.
22348
22349 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
22350
22351         * math/gen-libm-test.pl (parse_args, special_functions): Properly
22352         wrap blocks consisting of several statements.
22353
22354         * sysdeps/generic/math-tests.h: New file.
22355         * sysdeps/i386/fpu/math-tests.h: Likewise.
22356         * math/test-snan.c: Include it.
22357         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22358
22359 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22360
22361         [BZ #15285]
22362         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22363         (__ieee754_j0l): Do not improve calculations using cos of twice
22364         input for inputs above LDBL_MAX / 2.0L.
22365         (__ieee754_y0l): Likewise.
22366         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22367         (__ieee754_j1l): Do not improve calculations using cos of twice
22368         input for inputs above LDBL_MAX / 2.0L.
22369         (__ieee754_y1l): Likewise.
22370         * math/libm-test.inc (j0_test): Add another test.
22371         (j1_test): Likewise.
22372         (y0_test): Likewise.
22373         (y1_test): Likewise.
22374         * sysdeps/i386/fpu/libm-test-ulps: Update.
22375
22376 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22377
22378         * Rules ($(objpfx)bench-%.c): Include code from a C source
22379         file.
22380
22381 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22382
22383         [BZ #15287]
22384         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22385         imaginary part 1.0 and real part less than 0.5 specially.
22386         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22387         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22388         * math/libm-test.inc (cacos_test): Add more tests.
22389         (casin_test): Likewise.
22390         (casinh_test): Likewise.
22391         * sysdeps/i386/fpu/libm-test-ulps: Update.
22392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22393
22394 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22395
22396         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22397         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22398
22399 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
22400
22401         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22402         * config.make.in (config-cflags-sse4): Remove variable.
22403         (config-cflags-avx): Likewise.
22404         (config-cflags-sse2avx): Likewise.
22405         (config-cflags-novzeroupper): Likewise.
22406         (config-asflags-i686): Likewise.
22407         (have-mfma4): Likewise.
22408         (have-as-vis3): Likewise.
22409         (MIG): Likewise.
22410         * configure.in (MIG): Do not AC_SUBST.
22411         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22412         (libc_cv_cc_sse4): Do not AC_SUBST.
22413         (libc_cv_cc_avx): Likewise.
22414         (libc_cv_cc_sse2avx): Likewise.
22415         (libc_cv_cc_novzeroupper): Likewise.
22416         (libc_cv_cc_fma4): Likewise.
22417         (libc_cv_as_i686): Likewise.
22418         (libc_cv_sparc_as_vis3): Likewise.
22419         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22420         LIBC_CONFIG_VAR.
22421         (config-asflags-i686): Likewise.
22422         (config-cflags-avx): Likewise.
22423         (config-cflags-sse2avx): Likewise.
22424         (have-mfma4): Likewise.
22425         (config-cflags-novzeroupper): Likewise.
22426         * sysdeps/mach/configure.in (MIG): Likewise.
22427         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22428         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22429         LIBC_CONFIG_VAR.
22430         (config-cflags-avx): Likewise.
22431         (config-cflags-sse2avx): Likewise.
22432         (have-mfma4): Likewise.
22433         (config-cflags-novzeroupper): Likewise.
22434         * configure: Regenerated.
22435         * sysdeps/i386/configure: Likewise.
22436         * sysdeps/mach/configure: Likewise.
22437         * sysdeps/sparc/configure: Likewise.
22438         * sysdeps/x86_64/configure: Likewise.
22439
22440 2013-03-20  Roland McGrath  <roland@hack.frob.com>
22441
22442         [BZ #14812]
22443         * locale/programs/localedef.c (options): Put N_ translation marker
22444         on argument names, not just descriptions.
22445
22446 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22447
22448         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22449
22450 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
22451
22452         [BZ #14176]
22453         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22454
22455 2013-03-19  Roland McGrath  <roland@hack.frob.com>
22456
22457         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22458         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22459         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22460         [!BEFORE_ABORT] (before_abort): New function.
22461         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22462         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22463         (writev_for_fatal): New function.
22464         (WRITEV_FOR_FATAL): New macro; call that.
22465         (backtrace_and_maps): New function.
22466         (BEFORE_ABORT): New macro; call that.
22467         (struct str_list): Type removed.
22468         (__libc_message, __libc_fatal): Functions removed.
22469         Include <sysdeps/posix/libc_fatal.c> instead.
22470
22471 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
22472
22473         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22474         constants.
22475         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22476         double constants.
22477
22478 2013-03-19  Andreas Schwab  <schwab@suse.de>
22479
22480         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22481         * sysdeps/gnu/configure: Regenerate.
22482
22483         * configure.in: Substitute libc_cv_rtlddir.
22484         * configure: Regenerate.
22485         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22486         * Makeconfig (rtlddir, inst_rtlddir): New variables.
22487         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22488         * elf/Makefile (install-others, CFLAGS-interp.c)
22489         (ldso_install, common-ldd-rewrite): Likewise.
22490         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22491         $(inst_slibdir)/$(rtld-installed-name).
22492         * scripts/rellns-sh: Add -p option.
22493         * Makerules (make-shlib-link): Use rellns-sh to get relative name
22494         for source.
22495
22496 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22497
22498         * manual/nptl.texi: Renamed to ...
22499         * manual/threads.texi: ... this.
22500         * manual/Makefile (chapters): Update.
22501
22502 2013-03-18  Roland McGrath  <roland@hack.frob.com>
22503
22504         [BZ #14812]
22505         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22506         on argument names, not just descriptions.
22507         * malloc/memusagestat.c (options): Likewise.
22508         * nss/getent.c (options): Likewise.
22509
22510 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
22511
22512         [BZ #14812]
22513         * iconv/iconv_prog.c (options): Put N_ translation marker
22514         on argument names, not just descriptions.
22515         * iconv/iconvconfig.c (options): Likewise.
22516
22517 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
22518
22519         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22520         implementation which is faster on all x86_64 architectures.
22521         Tested on AMD, Intel Nehalem, SNB, IVB.
22522         * sysdeps/x86_64/strnlen.S: Likewise.
22523
22524         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22525         Remove all multiarch strlen and strnlen versions.
22526         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22527         Remove strlen and strnlen related parts.
22528
22529         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22530         Inline strlen part.
22531         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22532
22533         * sysdeps/x86_64/multiarch/strlen.S: Remove.
22534         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22535         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22536         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22537         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22538         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22539
22540 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
22541
22542         * manual/memory.texi (Malloc Tunable Parameters):
22543         Sort parameters alphabetically. Add comments for missing entries.
22544
22545 2013-03-17  David S. Miller  <davem@davemloft.net>
22546
22547         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22548
22549 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
22550
22551         [BZ #15283]
22552         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22553         for arguments at most half maximum finite value.
22554         * math/libm-test.inc (j0_test): Add more tests.
22555         (j1_test): Likewise.
22556         (y0_test): Likewise.
22557         (y1_test): Likewise.
22558         * sysdeps/i386/fpu/libm-test-ulps: Update.
22559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22560
22561         [BZ #14155]
22562         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22563         1 / x and functions P and Q for arguments above 0x1p256L.
22564         (__ieee754_y0l): Likewise.
22565         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22566         (__ieee754_y1l): Likewise.
22567         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22568         (j1_test): Likewise.
22569         (y0_test): Likewise.
22570         (y1_test): Likewise.
22571
22572 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
22573
22574         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22575         variable.
22576
22577 2013-03-15  Roland McGrath  <roland@hack.frob.com>
22578
22579         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22580         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22581         zero since it's initialized to EXEC_PAGESIZE.
22582
22583         * sysdeps/unix/sysv/linux/ldsodefs.h
22584         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22585         * sysdeps/generic/ldsodefs.h: ... here.
22586
22587 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
22588
22589         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22590
22591         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22592         math/test-snan.c.
22593         * math/test-snan.c: Renamed from
22594         sysdeps/powerpc/fpu/test-powerpc-snan.c.
22595         * math/Makefile (tests): Add test-snan.
22596         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22597         test-powerpc-snan.
22598
22599         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22600         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
22601         functions.
22602         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
22603         __builtin_nan family of functions.
22604         * math/libm-test.inc (initialize): Initialize qnan_value with
22605         __builtin_nan family of functions.
22606         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22607         Remove variables.
22608         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22609         Remove functions.
22610         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
22611         storage class.  Initialize qNaN_var and sNaN_var with
22612         __builtin_nan and __builtin_nans families of functions,
22613         respectively.
22614
22615         * math/libm-test.inc (acosh_test): Also test with qNaN input.
22616         (sqrt_test): Remove duplicate test with qNaN input.
22617         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22618         (round_test, signbit_test, significand_test): Note missing +/-Inf
22619         as well as qNaN tests.
22620
22621         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22622         qNaN_var.  Fix a few strings, too.
22623         * math/libm-test.inc (nan_value): Rename to qnan_value.
22624         * math/gen-libm-test.pl (%beautify): Adjust to that.
22625         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22626         * math/test-misc.c (main): Likewise.
22627         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22628         to __qnan_bytes, and __qnan_union, respectively.
22629         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22630         Likewise.
22631         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22632         and lqnanval, respectively.
22633         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22634         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22635         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22636         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22637
22638         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22639         * math/test-misc.c (main) [__x86_64__]: Enable test for long
22640         doubles.
22641
22642         * math/test-misc.c (main): Fix copy'n'pastos.
22643         * misc/tst-efgcvt.c (special): Likewise.
22644
22645         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22646         Remove declarations.
22647
22648 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22649
22650         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22651         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22652         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22653         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22654
22655 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22656
22657         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22658         macro to return vdso values correctly in IFUNC implementations.
22659         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22660         Optimization by using IFUNC.
22661
22662 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22663             Richard Henderson  <rth@redhat.com>
22664             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22665
22666         * Makefile.in (bench): New target.
22667         * NEWS: Mention the benchmark framework.
22668         * Rules (bench): Likewise.
22669         (binaries-bench): Generate binaries for functions to
22670         benchmark.
22671         * benchtests/Makefile: New makefile for benchmark tests.
22672         * benchtests/bench-skeleton.c: New skeleton file for benchmark
22673         programs.
22674         * benchtests/exp-inputs: New input file for EXP function.
22675         * benchtests/pow-inputs: New input file for POW function.
22676         * scripts/bench.pl: New script to generate source files for
22677         benchmark programs.
22678
22679 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22680
22681         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22682         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22683         computations on mantissa.  Use macros for rounding and
22684         division.
22685         (denorm): Likewise.
22686         (__dbl_mp): Likewise.
22687         (add_magnitudes): Likewise.
22688         (sub_magnitudes): Likewise.
22689         (__mul): Likewise.
22690         (__sqr): Likewise.
22691         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22692         powers of two in terms of TWOPOW macro.
22693         (mp_no): Make type of mantissa as MANTISSA_T.
22694         [!RADIXI]: Define RADIXI.
22695         [!TWO52]: Define TWO52.
22696         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22697
22698         * manual/nptl.texi (cindex): Modify threads to pthreads.
22699
22700 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
22701
22702         * sysdeps/x86_64/preconfigure: Regenerated.
22703
22704 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
22705
22706         [BZ #14155]
22707         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22708         0x1p28 and above.
22709         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22710         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22711         0x1p28 and above.
22712         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22713         * math/libm-test.inc (j0_test): Do not allow one spurious
22714         underflow exception.
22715         (y1_test): Likewise.
22716
22717 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22718
22719         * manual/Makefile (chapters): Add nptl.
22720         * manual/debug.texi (Debugging Support): Add link to Threads
22721         chapter.
22722         * manual/nptl.texi: New file.
22723
22724         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22725
22726 2013-03-14  Petr Baudis  <pasky@ucw.cz>
22727
22728         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22729         for non-NULL pointer before the memory validity test. Pointed
22730         out by Holger Brunck <holger.brunck@keymile.com>.
22731
22732 2013-03-13  Andreas Schwab  <schwab@suse.de>
22733
22734         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22735         instead of .os.
22736
22737 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
22738
22739         * timezone/zic.c: Update from tzcode 2013b.
22740
22741 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
22742
22743         * manual/install.texi (Configuring and compiling):
22744         Mention i686 and i586.
22745         * INSTALL: Regenerate.
22746
22747 2013-03-12  Roland McGrath  <roland@hack.frob.com>
22748
22749         * sysdeps/init_array/elf-init.c: New file.
22750         * csu/elf-init.c
22751         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22752         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22753
22754         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22755         __gmon_start__ as global, but as static with a .preinit_array pointer.
22756         * sysdeps/init_array/gmon-start.c: New file.  Use that.
22757         * sysdeps/init_array/crti.S: New file, empty except for comments.
22758         * sysdeps/init_array/crtn.S: Likewise.
22759
22760 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
22761
22762         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22763         definining bcopy.
22764         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22765         Remove Prefer_SSE_for_memop.
22766         * sysdeps/x86_64/multiarch/init-arch.h: Remove
22767         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22768         HAS_PREFER_SSE_FOR_MEMOP.
22769         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22770         memset-x86-64.
22771         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22772         Remove bzero, memset ifunc support.
22773         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22774         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22775         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22776         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22777
22778 2013-03-11  Andreas Schwab  <schwab@suse.de>
22779
22780         [BZ #15234]
22781         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22782         by SHLIB_COMPAT.
22783         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22784         (GLIBC_2.16): Remove pthread_atfork.
22785
22786 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22787
22788         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22789         (ptestcases.h): Likewise.
22790
22791 2013-03-08  Roland McGrath  <roland@hack.frob.com>
22792
22793         * Makeconfig ($(common-objpfx)config.status): Depend on
22794         sysdeps/*/preconfigure{,.in} too.
22795
22796 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
22797
22798         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22799         (__free_hook): Use void * instead of __malloc_ptr_t.
22800         (__malloc_hook): Likewise.
22801         (__realloc_hook): Likewise.
22802         (__memalign_hook): Likewise.
22803         (__after_morecore_hook): Likewise.
22804         * malloc/arena.c (save_malloc_hook): Likewise.
22805         (save_free_hook): Likewise.
22806         * malloc/hooks.c (malloc_hook_ini): Likewise.
22807         (realloc_hook_ini): Likewise.
22808         (memalign_hook_ini): Likewise.
22809         * malloc/malloc.c (malloc_hook_ini): Likewise.
22810         (realloc_hook_ini): Likewise.
22811         (memalign_hook_ini): Likewise.
22812         (__free_hook): Likewise.
22813         (__malloc_hook): Likewise.
22814         (__realloc_hook): Likewise.
22815         (__memalign_hook): Likewise.
22816         (__libc_malloc): Likewise.
22817         (__libc_free): Likewise.
22818         (__libc_realloc): Likewise.
22819         (__libc_memalign): Likewise.
22820         (__libc_valloc): Likewise.
22821         (__libc_pvalloc): Likewise.
22822         (__libc_calloc): Likewise.
22823         (__posix_memalign): Likewise.
22824         * malloc/morecore.c (__sbrk): Likewise.
22825         (__default_morecore): Likewise.
22826
22827         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22828
22829         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22830         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22831         __malloc_ptrdiff_t.
22832
22833         * malloc/malloc.h (__malloc_size_t): Remove macro.
22834         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22835         __malloc_size_t.
22836         (old_memalign_hook): Likewise.
22837         (old_realloc_hook): Likewise.
22838         (struct hdr): Likewise.
22839         (flood): Likewise.
22840         (mallochook): Likewise.
22841         (memalignhook): Likewise.
22842         (reallochook): Likewise.
22843         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22844         (tr_old_realloc_hook): Likewise.
22845         (tr_old_memalign_hook): Likewise.
22846         (tr_mallochook): Likewise.
22847         (tr_reallochook): Likewise.
22848         (tr_memalignhook): Likewise.
22849
22850 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22851
22852         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22853         default_ldbl_pack and using as default implementation.
22854         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22855         implementation.
22856         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22857         redundant definition.
22858         (ldbl_insert_mantissa): Likewise.
22859         (ldbl_canonicalize): Likewise.
22860         (ldbl_nearbyint): Likewise.
22861         (ldbl_pack): Rename to ldbl_pack_ppc.
22862         (ldbl_unpack): Rename to ldbl_unpack_ppc.
22863         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22864         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22865
22866 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22867
22868         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22869         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22870         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22871         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22872         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22873         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22874         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22875         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22876
22877 2013-03-07  Andreas Jaeger  <aj@suse.de>
22878
22879         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22880         bits/mman-linux.h.
22881
22882 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
22883
22884         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22885         Include mpa.h and declare __MPEXP.
22886         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22887         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22888         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22889         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22890         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22891         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22892         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22893
22894         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22895         (__slowpow): Use long double EXPL and LOGL functions to
22896         compute POW.
22897         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22898         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22899         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22900         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22901         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22902         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22903
22904         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22905         intermediate variable to calculate exponent.
22906         (__sqr): Likewise.
22907         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22908         Likewise.
22909         (__sqr): Likewise.
22910
22911         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22912         [!NO__SQR]: Define __sqr.
22913         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22914         and NO__SQR.  Remove all code except __mul and __sqr.  Include
22915         sysdeps/ieee754/dbl-64/mpa.c.
22916         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22917
22918         [BZ #12723]
22919         * posix/Makefile (tests): Add tst-pathconf.
22920         * posix/tst-pathconf.c: New test case.
22921         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22922         _PC_PIPE_BUF.
22923         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22924
22925 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
22926
22927         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22928
22929 2013-03-06  Andreas Jaeger  <aj@suse.de>
22930
22931         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22932         definition via __MAP_ANONYMOUS.
22933
22934         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22935         it's not part of Linux headers.
22936
22937         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22938         (MAP_HUGE_MASK): Define.
22939
22940         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22941         Define.
22942         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22943         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22944         Define.
22945         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22946         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22947         Define.
22948         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22949         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22950         Define.
22951         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22952
22953         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22954         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22955         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22956         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22957         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22958         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22959
22960         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22961         Handle f2fs.
22962
22963         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22964         Handle f2fs and efivarfs.
22965
22966         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22967         f2fs.
22968
22969         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22970         (EFIVARFS_MAGIC): Add.
22971         (F2FS_LINK_MAX): Add.
22972
22973 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22974
22975         * stdio-common/vfprintf.c: Replace __builtin_expect with
22976         __glibc_unlikely.
22977
22978 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
22979
22980         [BZ #13550]
22981         * sysdeps/generic/bp-sym.h: Remove file.
22982         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22983         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22984         <bp-sym.h> and <bp-asm.h>.
22985         (__longjmp): Don't use BP_SYM.
22986         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22987         and <bp-asm.h>.
22988         (memcpy): Don't use BP_SYM.
22989         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22990         <bp-sym.h> and <bp-asm.h>.
22991         (memcpy): Don't use BP_SYM.
22992         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22993         <bp-asm.h>.
22994         (memcpy): Don't use BP_SYM.
22995         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22996         <bp-asm.h>.
22997         (memset): Don't use BP_SYM.
22998         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22999         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23000         (__bzero): Don't use BP_SYM.
23001         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23002         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23003         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23004         <bp-sym.h> and <bp-asm.h>.
23005         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23006         pointers.
23007         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23008         <bp-sym.h> and <bp-asm.h>.
23009         (memcpy): Don't use BP_SYM.
23010         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23011         <bp-sym.h> and <bp-asm.h>.
23012         (memset): Don't use BP_SYM.
23013         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23014         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23015         (__bzero): Don't use BP_SYM.
23016         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23017         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23018         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23019         <bp-sym.h> and <bp-asm.h>.
23020         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23021         pointers.
23022         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23023         <bp-sym.h> and <bp-asm.h>.
23024         (memcpy): Don't use BP_SYM.
23025         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23026         <bp-sym.h> and <bp-asm.h>.
23027         (memset): Don't use BP_SYM.
23028         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23029         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23030         (__bzero): Don't use BP_SYM.
23031         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23032         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23033         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23034         <bp-sym.h> and <bp-asm.h>.
23035         (__memchr): Don't use BP_SYM.
23036         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23037         <bp-sym.h> and <bp-asm.h>.
23038         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23039         pointers.
23040         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23041         <bp-sym.h> and <bp-asm.h>.
23042         (memcpy): Don't use BP_SYM.
23043         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23044         <bp-sym.h> and <bp-asm.h>.
23045         (__mempcpy): Don't use BP_SYM.
23046         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23047         <bp-sym.h> and <bp-asm.h>.
23048         (__memrchr): Don't use BP_SYM.
23049         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23050         <bp-sym.h> and <bp-asm.h>.
23051         (memset): Don't use BP_SYM.
23052         (__bzero): Likewise.
23053         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23054         <bp-sym.h> and <bp-asm.h>.
23055         (__rawmemchr): Don't use BP_SYM.
23056         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23057         <bp-sym.h> and <bp-asm.h>.
23058         (__STRCMP): Don't use BP_SYM.
23059         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23060         <bp-sym.h> and <bp-asm.h>.
23061         (strchr): Don't use BP_SYM.
23062         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23063         <bp-sym.h> and <bp-asm.h>.
23064         (__strchrnul): Don't use BP_SYM.
23065         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23066         <bp-sym.h> and <bp-asm.h>.
23067         (strlen): Don't use BP_SYM.
23068         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23069         <bp-sym.h> and <bp-asm.h>.
23070         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23071         pointers.
23072         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23073         <bp-sym.h> and <bp-asm.h>.
23074         (__strnlen): Don't use BP_SYM.
23075         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23076         <bp-sym.h> and <bp-asm.h>.
23077         (__GI__setjmp): Don't use BP_SYM.
23078         (_setjmp): Likewise.
23079         (__sigsetjmp): Likewise.
23080         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23081         (L(start_addresses)): Don't use BP_SYM.
23082         (_start): Likewise.
23083         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23084         <bp-asm.h>.
23085         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23086         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23087         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23088         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23089         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23090         <bp-asm.h>.
23091         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23092         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
23093         about bounded pointers.
23094         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23095         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23096         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23097         <bp-asm.h>.
23098         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23099         about bounded pointers.  Remove GKM FIXME comments.
23100         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23101         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23102         <bp-asm.h>.
23103         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23104         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
23105         Remove GKM FIXME comments.
23106         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23107         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23108         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23109         <bp-asm.h>.
23110         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23111         about bounded pointers.  Remove GKM FIXME comment.
23112         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23113         and <bp-asm.h>.
23114         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23115         pointers.
23116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23117         <bp-sym.h> and <bp-asm.h>.
23118         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23120         <bp-sym.h> and <bp-asm.h>.
23121         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23122         comment.
23123
23124 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23125
23126         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23127         call free(NULL).
23128
23129 2013-03-05  David S. Miller  <davem@davemloft.net>
23130
23131         * po/es.po: Update from translation team.
23132
23133 2013-03-05  Andreas Jaeger  <aj@suse.de>
23134
23135         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23136         <bits/mman-linux.h>.
23137         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23138         is fine.
23139         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23140         <bits/mman-linux.h> to end of file.
23141         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23142         is fine.
23143         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23144         <bits/mman-linux.h> to end of file.
23145         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23146         is fine.
23147         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23148         <bits/mman-linux.h> to end of file.
23149
23150         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23151         (MCL_CURRENT, MCL_FUTURE): Define here.
23152
23153 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23154
23155         [BZ #15232]
23156         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23157         attribute_hidden.
23158         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23159
23160 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23161
23162         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23163         fourth parameter needed for rt_sigprocmask syscall.
23164         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23165         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23166         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23167         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23168         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23169         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23170
23171 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
23172
23173         [BZ #13550]
23174         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23175         comment about bounded pointers.
23176         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23177         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23178
23179 2013-03-04  Andreas Jaeger  <aj@suse.de>
23180
23181         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23182         common definitions.
23183
23184         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23185         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23186         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23187         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23188         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23189         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23190
23191 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23192
23193         [BZ #15055]
23194         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23195         __ieee754_sqrl instead of __sqrl.
23196
23197 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
23198
23199         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23200         * sysdeps/powerpc/fpu_control.h: ... here.
23201         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23202         * sysdeps/powerpc/bits/fenvinline.h: ... here.
23203         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23204         * sysdeps/powerpc/bits/mathinline.h: ... here.
23205
23206 2013-03-01  Roland McGrath  <roland@hack.frob.com>
23207
23208         * elf/dl-hwcaps.c (_dl_important_hwcaps):
23209         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23210         to just [NEED_DL_SYSINFO_DSO].
23211         * elf/dl-support.c: Likewise.
23212         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23213         * elf/rtld.c (dl_main): Likewise.
23214         * elf/setup-vdso.h (setup_vdso): Likewise.
23215         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23216         * sysdeps/unix/sysv/linux/dl-sysdep.c
23217         (_dl_discover_osversion): Likewise.
23218
23219 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
23220
23221         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23222         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23223
23224 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23225
23226         * NEWS: Mention libm performance improvements and non-x86 PI
23227         futex support.
23228
23229         * csu/libc-start.c (__pthread_initialize_minimal): Change
23230         function arguments.
23231         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23232
23233 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
23234
23235         [BZ #13550]
23236         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23237         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23238         <bp-sym.h> and <bp-asm.h>.
23239         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23240         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23241         and <bp-asm.h>.
23242         (memcpy): Don't use BP_SYM.
23243         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23244         <bp-asm.h>.
23245         (__mpn_add_n): Don't use BP_SYM.
23246         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23247         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23248         and <bp-asm.h>.
23249         (__mpn_addmul_1): Don't use BP_SYM.
23250         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23251         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23252         <bp-sym.h>.
23253         (_setjmp): Don't use BP_SYM.
23254         (__novmx_setjmp): Likewise.
23255         (__GI__setjmp): Likewise.
23256         (__vmx_setjmp): Likewise.
23257         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23258         <bp-sym.h>.
23259         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23260         (__bzero): Don't use BP_SYM.
23261         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23262         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23263         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23264         <bp-sym.h> and <bp-asm.h>.
23265         (memcpy): Don't use BP_SYM.
23266         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23267         <bp-sym.h> and <bp-asm.h>.
23268         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23269         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23270         <bp-sym.h> and <bp-asm.h>.
23271         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23272         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23273         <bp-asm.h>.
23274         (__mpn_lshift): Don't use BP_SYM.
23275         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23276         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23277         <bp-asm.h>.
23278         (memset): Don't use BP_SYM.
23279         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23280         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23281         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23282         <bp-asm.h>.
23283         (__mpn_mul_1): Don't use BP_SYM.
23284         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23285         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23286         <bp-sym.h> and <bp-asm.h>.
23287         (memcmp): Don't use BP_SYM.
23288         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23289         <bp-sym.h> and <bp-asm.h>.
23290         (memcpy): Don't use BP_SYM.
23291         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23292         <bp-sym.h> and <bp-asm.h>.
23293         (memset): Don't use BP_SYM.
23294         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23295         <bp-sym.h> and <bp-asm.h>.
23296         (strncmp): Don't use BP_SYM.
23297         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23298         <bp-sym.h> and <bp-asm.h>.
23299         (memcpy): Don't use BP_SYM.
23300         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23301         <bp-sym.h> and <bp-asm.h>.
23302         (memset): Don't use BP_SYM.
23303         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23304         <bp-sym.h> and <bp-asm.h>.
23305         (__memchr): Don't use BP_SYM.
23306         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23307         <bp-sym.h> and <bp-asm.h>.
23308         (memcmp): Don't use BP_SYM.
23309         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23310         <bp-sym.h> and <bp-asm.h>.
23311         (memcpy): Don't use BP_SYM.
23312         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23313         <bp-sym.h> and <bp-asm.h>.
23314         (__mempcpy): Don't use BP_SYM.
23315         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23316         <bp-sym.h> and <bp-asm.h>.
23317         (__memrchr): Don't use BP_SYM.
23318         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23319         <bp-sym.h> and <bp-asm.h>.
23320         (memset): Don't use BP_SYM.
23321         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23322         <bp-sym.h> and <bp-asm.h>.
23323         (__rawmemchr): Don't use BP_SYM.
23324         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23325         <bp-sym.h> and <bp-asm.h>.
23326         (__STRCMP): Don't use BP_SYM.
23327         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23328         <bp-sym.h> and <bp-asm.h>.
23329         (strchr): Don't use BP_SYM.
23330         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23331         <bp-sym.h> and <bp-asm.h>.
23332         (__strchrnul): Don't use BP_SYM.
23333         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23334         <bp-sym.h> and <bp-asm.h>.
23335         (strlen): Don't use BP_SYM.
23336         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23337         <bp-sym.h> and <bp-asm.h>.
23338         (strncmp): Don't use BP_SYM.
23339         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23340         <bp-sym.h> and <bp-asm.h>.
23341         (__strnlen): Don't use BP_SYM.
23342         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23343         <bp-asm.h>.
23344         (__mpn_rshift): Don't use BP_SYM.
23345         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23346         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23347         <bp-sym.h> and <bp-asm.h>.
23348         (__sigsetjmp): Don't use BP_SYM.
23349         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23350         (L(start_addresses)): Don't use BP_SYM.
23351         (_start): Likewise.
23352         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23353         <bp-asm.h>.
23354         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23355         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23356         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23357         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23358         <bp-asm.h>.
23359         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23360         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23361         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23362         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23363         <bp-asm.h>.
23364         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23365         comments.
23366         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23367         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23368         <bp-asm.h>.
23369         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
23370         FIXME comments.
23371         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23372         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23373         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23374         <bp-asm.h>.
23375         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23376         comment.
23377         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23378         and <bp-asm.h>.
23379         (strncmp): Don't use BP_SYM,
23380         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23381         <bp-asm.h>.
23382         (__mpn_sub_n): Don't use BP_SYM.
23383         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23384         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23385         and <bp-asm.h>.
23386         (__mpn_submul_1): Don't use BP_SYM.
23387         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23389         <bp-sym.h> and <bp-asm.h>.
23390         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23392         <bp-sym.h> and <bp-asm.h>.
23393         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23394         comment.
23395
23396 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23397
23398         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23399         Use ZK to minimize writes to Z.
23400         (sub_magnitudes): Simplify code a bit.
23401         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23402         Use ZK to minimize writes to Z.
23403         (sub_magnitudes): Simplify code a bit.
23404
23405 2013-02-27  Roland McGrath  <roland@hack.frob.com>
23406
23407         * csu/gmon-start.c: Add special exception to license text.
23408
23409 2013-02-27  Richard Henderson  <rth@redhat.com>
23410
23411         * scripts/config.guess: Update from config.git.
23412         * scripts/config.sub: Likewise.
23413
23414 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23415
23416         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23417
23418         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23419
23420         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23421
23422         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23423
23424         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23425
23426 2013-02-26  Roland McGrath  <roland@hack.frob.com>
23427
23428         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23429         [$(build-shared = yes].
23430
23431 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23432
23433         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23434         (__mul): Reduce iterations for calculating mantissa.
23435
23436         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23437         MPTWO.
23438         (__mpranred): Likewise.
23439
23440         [BZ #15160]
23441         * malloc/memusagestat.c (main): Draw graphs for heap and stack
23442         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23443
23444 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
23445
23446         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23447         Define __attribute__.
23448
23449 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23450
23451         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23452         unused.
23453         * posix/regex_internal.h (__attribute): Remove.
23454         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23455         (re_string_context_at): Likewise.
23456         (bitset_not): Use __attribute__ and mark function as possibly
23457         unused.
23458         (bitset_merge): Likewise.
23459         (bitset_mask): Likewise.
23460         (re_string_char_size_at): Likewise.
23461         (re_string_wchar_at): Likewise.
23462         (re_string_elem_size_at): Likewise.
23463
23464 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23465
23466         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23467         code.
23468         (cc32): Likewise.
23469
23470         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23471         (__acr): Likewise.
23472         (__cpy): Likewise.
23473         (norm): Likewise.
23474         (denorm): Likewise.
23475         (__dbl_mp): Likewise.
23476         (add_magnitudes): Likewise.
23477         (sub_magnitudes): Likewise.
23478         (__mul): Likewise.
23479         (__inv): Likewise.
23480
23481         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23482         style.
23483
23484         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23485         style.
23486
23487         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23488         code.
23489
23490         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23491         up changes with default code.
23492         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23493         Likewise.
23494
23495 2013-02-24  Allan McRae  <allan@archlinux.org>
23496
23497         * manual/socket.texi (The Internet Namespace): Order menu items
23498         to match that in the file.
23499
23500         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23501         node listing of the info page menu.
23502
23503 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
23504
23505         [BZ #13550]
23506         * sysdeps/i386/bp-asm.h: Remove file.
23507         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23508         (PARMS): Do not use macros from bp-asm.h.
23509         (S1): Likewise.
23510         (S2): Likewise.
23511         (SIZE): Likewise.
23512         (__mpn_add_n): Do not use BP_SYM
23513         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23514         "bp-asm.h".
23515         (PARMS): Do not use macros from bp-asm.h.
23516         (S1): Likewise.
23517         (SIZE): Likewise.
23518         (__mpn_addmul_1): Do not use BP_SYM
23519         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23520         "bp-asm.h".
23521         (PARMS): Do not use macros from bp-asm.h.
23522         (SIGMSK): Likewise.
23523         (_setjmp): Likewise.  Do not use BP_SYM.
23524         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23525         "bp-asm.h".
23526         (PARMS): Do not use macros from bp-asm.h.
23527         (SIGMSK): Likewise.
23528         (setjmp): Likewise.  Do not use BP_SYM.
23529         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23530         "bp-asm.h".
23531         (PARMS): Do not use macros from bp-asm.h.
23532         (__frexp): Do not use BP_SYM.
23533         (frexp): Likewise.
23534         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23535         "bp-asm.h".
23536         (PARMS): Do not use macros from bp-asm.h.
23537         (__frexpf): Do not use BP_SYM.
23538         (frexpf): Likewise.
23539         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23540         "bp-asm.h".
23541         (PARMS): Do not use macros from bp-asm.h.
23542         (__frexpl): Do not use BP_SYM.
23543         (frexpl): Likewise.
23544         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23545         "bp-asm.h".
23546         (PARMS): Do not use macros from bp-asm.h.
23547         (__remquo): Do not use BP_SYM.
23548         (remquo): Likewise.
23549         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23550         "bp-asm.h".
23551         (PARMS): Do not use macros from bp-asm.h.
23552         (__remquof): Do not use BP_SYM.
23553         (remquof): Likewise.
23554         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23555         "bp-asm.h".
23556         (PARMS): Do not use macros from bp-asm.h.
23557         (__remquol): Do not use BP_SYM.
23558         (remquol): Likewise.
23559         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23560         "bp-asm.h".
23561         (PARMS): Do not use macros from bp-asm.h.
23562         (DEST): Likewise.
23563         (SRC): Likewise.
23564         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
23565         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23566         "bp-asm.h".
23567         (PARMS): Do not use macros from bp-asm.h.
23568         (strlen): Do not use BP_SYM.
23569         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23570         "bp-asm.h".
23571         (PARMS): Do not use macros from bp-asm.h.
23572         (S1): Likewise.
23573         (S2): Likewise.
23574         (SIZE): Likewise.
23575         (__mpn_add_n): Do not use BP_SYM.
23576         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23577         "bp-asm.h".
23578         (PARMS): Do not use macros from bp-asm.h.
23579         (S1): Likewise.
23580         (SIZE): Likewise.
23581         (__mpn_addmul_1): Do not use BP_SYM.
23582         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23583         weak_alias.
23584         (bzero): Likewise.
23585         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23586         "bp-asm.h".
23587         (PARMS): Do not use macros from bp-asm.h.
23588         (S): Likewise.
23589         (SIZE): Likewise.
23590         (__mpn_lshift): Do not use BP_SYM.
23591         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23592         "bp-asm.h".
23593         (PARMS): Do not use macros from bp-asm.h.
23594         (DEST): Likewise.
23595         (SRC): Likewise.
23596         (LEN): Likewise.
23597         (memcpy): Likewise.  Do not use BP_SYM.
23598         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23599         libc_hidden_def and weak_alias.
23600         (mempcpy): Do not use BP_SYM in weak_alias.
23601         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23602         "bp-asm.h".
23603         (PARMS): Do not use macros from bp-asm.h.
23604         (DEST): Likewise.
23605         (LEN): Likewise.
23606         [!BZERO_P] (CHR): Likewise.
23607         (memset): Likewise.  Do not use BP_SYM.
23608         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23609         "bp-asm.h".
23610         (PARMS): Do not use macros from bp-asm.h.
23611         (S1): Likewise.
23612         (SIZE): Likewise.
23613         (__mpn_mul_1): Do not use BP_SYM.
23614         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23615         "bp-asm.h".
23616         (PARMS): Do not use macros from bp-asm.h.
23617         (S): Likewise.
23618         (SIZE): Likewise.
23619         (__mpn_rshift): Do not use BP_SYM.
23620         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23621         "bp-asm.h".
23622         (PARMS): Do not use macros from bp-asm.h.
23623         (STR): Likewise.
23624         (CHR): Likewise.
23625         (strchr): Likewise.  Do not use BP_SYM.
23626         (index): Do not use BP_SYM in weak_alias.
23627         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23628         "bp-asm.h".
23629         (PARMS): Do not use macros from bp-asm.h.
23630         (DEST): Likewise.
23631         (SRC): Likewise.
23632         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
23633         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23634         "bp-asm.h".
23635         (PARMS): Do not use macros from bp-asm.h.
23636         (strlen): Do not use BP_SYM.
23637         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23638         "bp-asm.h".
23639         (PARMS): Do not use macros from bp-asm.h.
23640         (S1): Likewise.
23641         (S2): Likewise.
23642         (SIZE): Likewise.
23643         (__mpn_sub_n): Do not use BP_SYM.
23644         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23645         "bp-asm.h".
23646         (PARMS): Do not use macros from bp-asm.h.
23647         (S1): Likewise.
23648         (SIZE): Likewise.
23649         (__mpn_submul_1): Do not use BP_SYM.
23650         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23651         "bp-asm.h".
23652         (PARMS): Do not use macros from bp-asm.h.
23653         (S1): Likewise.
23654         (S2): Likewise.
23655         (SIZE): Likewise.
23656         (__mpn_add_n): Do not use BP_SYM.
23657         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23658         weak_alias.
23659         (bzero): Likewise.
23660         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23661         "bp-asm.h".
23662         (PARMS): Do not use macros from bp-asm.h.
23663         (BLK2): Likewise.
23664         (LEN): Likewise.
23665         (memcmp): Do not use BP_SYM.
23666         (bcmp): Do not use BP_SYM in weak_alias.
23667         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23668         "bp-asm.h".
23669         (PARMS): Do not use macros from bp-asm.h.
23670         (DEST): Likewise.
23671         (SRC): Likewise.
23672         (LEN): Likewise.
23673         (memcpy): Likewise.  Do not use BP_SYM.
23674         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23675         "bp-asm.h".
23676         (PARMS): Do not use macros from bp-asm.h.
23677         (DEST): Likewise.
23678         (SRC): Likewise.
23679         (LEN): Likewise.
23680         (memmove): Likewise.  Do not use BP_SYM.
23681         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23682         "bp-asm.h".
23683         (PARMS): Do not use macros from bp-asm.h.
23684         (DEST): Likewise.
23685         (SRC): Likewise.
23686         (LEN): Likewise.
23687         (__mempcpy): Likewise.  Do not use BP_SYM.
23688         (mempcpy): Do not use BP_SYM in weak_alias.
23689         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23690         "bp-asm.h".
23691         (PARMS): Do not use macros from bp-asm.h.
23692         (DEST): Likewise.
23693         (LEN): Likewise.
23694         [!BZERO_P] (CHR): Likewise.
23695         (memset): Likewise.  Do not use BP_SYM.
23696         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23697         "bp-asm.h".
23698         (PARMS): Do not use macros from bp-asm.h.
23699         (STR2): Likewise.
23700         (strcmp): Do not use BP_SYM.
23701         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23702         "bp-asm.h".
23703         (PARMS): Do not use macros from bp-asm.h.
23704         (STR): Likewise.
23705         (DELIM): Likewise.
23706         [USE_AS_STRTOK_R] (SAVE): Likewise.
23707         (FUNCTION): Likewise.  Do not use BP_SYM.
23708         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23709         aliases.
23710         (strtok_r): Likewise.
23711         (__GI___strtok_r): Likewise.
23712         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23713         (PARMS): Do not use macros from bp-asm.h.
23714         (S): Likewise.
23715         (SIZE): Likewise.
23716         (__mpn_lshift): Do not use BP_SYM.
23717         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23718         (PARMS): Do not use macros from bp-asm.h.
23719         (STR): Likewise.
23720         (CHR): Likewise.
23721         (__memchr): Do not use BP_SYM.
23722         (memchr): Do not use BP_SYM in weak_alias.
23723         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23724         (PARMS): Do not use macros from bp-asm.h.
23725         (BLK2): Likewise.
23726         (LEN): Likewise.
23727         (memcmp): Do not use BP_SYM.
23728         (bcmp): Do not use BP_SYM in weak_alias.
23729         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23730         (PARMS): Do not use macros from bp-asm.h.
23731         (S1): Likewise.
23732         (SIZE): Likewise.
23733         (__mpn_mul_1): Do not use BP_SYM.
23734         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23735         "bp-asm.h".
23736         (PARMS): Do not use macros from bp-asm.h.
23737         (STR): Likewise.
23738         (CHR): Likewise.
23739         (__rawmemchr): Do not use BP_SYM.
23740         (rawmemchr): Do not use BP_SYM in weak_alias.
23741         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23742         (PARMS): Do not use macros from bp-asm.h.
23743         (S): Likewise.
23744         (SIZE): Likewise.
23745         (__mpn_rshift): Do not use BP_SYM.
23746         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23747         (PARMS): Do not use macros from bp-asm.h.
23748         (SIGMSK): Likewise.
23749         (__sigsetjmp): Likewise.  Do not use BP_SYM.
23750         * sysdeps/i386/start.S: Do not include "bp-sym.h".
23751         (_start): Do not use BP_SYM.
23752         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23753         (PARMS): Do not use macros from bp-asm.h.
23754         (DEST): Likewise.
23755         (SRC): Likewise.
23756         (__stpcpy): Likewise.  Do not use BP_SYM.
23757         (stpcpy): Do not use BP_SYM in weak_alias.
23758         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23759         "bp-asm.h".
23760         (PARMS): Do not use macros from bp-asm.h.
23761         (DEST): Likewise.
23762         (SRC): Likewise.
23763         (LEN): Likewise.
23764         (__stpncpy): Likewise.  Do not use BP_SYM.
23765         (stpncpy): Do not use BP_SYM in weak_alias.
23766         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23767         (PARMS): Do not use macros from bp-asm.h.
23768         (STR): Likewise.
23769         (CHR): Likewise.
23770         (strchr): Likewise.  Do not use BP_SYM.
23771         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23772         "bp-asm.h".
23773         (PARMS): Do not use macros from bp-asm.h.
23774         (STR): Likewise.
23775         (CHR): Likewise.
23776         (__strchrnul): Likewise.  Do not use BP_SYM.
23777         (strchrnul): Do not use BP_SYM in weak_alias.
23778         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23779         "bp-asm.h".
23780         (PARMS): Do not use macros from bp-asm.h.
23781         (STOP): Likewise.
23782         (strcspn): Do not use BP_SYM.
23783         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23784         "bp-asm.h".
23785         (PARMS): Do not use macros from bp-asm.h.
23786         (STR): Likewise.
23787         (STOP): Likewise.
23788         (strpbrk): Likewise.  Do not use BP_SYM.
23789         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23790         "bp-asm.h".
23791         (PARMS): Do not use macros from bp-asm.h.
23792         (STR): Likewise.
23793         (CHR): Likewise.
23794         (strrchr): Likewise.  Do not use BP_SYM.
23795         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23796         (PARMS): Do not use macros from bp-asm.h.
23797         (SKIP): Likewise.
23798         (strspn): Do not use BP_SYM.
23799         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23800         (PARMS): Do not use macros from bp-asm.h.
23801         (STR): Likewise.
23802         (DELIM): Likewise.
23803         (SAVE): Likewise.
23804         (FUNCTION): Likewise.  Do not use BP_SYM.
23805         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23806         aliases.
23807         (strtok_r): Likewise.
23808         (__GI___strtok_r): Likewise.
23809         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23810         (PARMS): Do not use macros from bp-asm.h.
23811         (S1): Likewise.
23812         (S2): Likewise.
23813         (SIZE): Likewise.
23814         (__mpn_sub_n): Do not use BP_SYM.
23815         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23816         "bp-asm.h".
23817         (PARMS): Do not use macros from bp-asm.h.
23818         (S1): Likewise.
23819         (SIZE): Likewise.
23820         (__mpn_submul_1): Do not use BP_SYM.
23821         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23822         <bp-sym.h>.
23823         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23824         and <bp-asm.h>.
23825         (PARMS): Do not use macros from bp-asm.h.
23826         (FLAGS): Likewise.
23827         (PTID): Likewise.
23828         (TLS): Likewise.
23829         (CTID): Likewise.
23830         (__clone): Do not use BP_SYM.
23831         (clone): Do not use BP_SYM in weak_alias.
23832         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23833         and <bp-asm.h>.
23834         (PARMS): Do not use macros from bp-asm.h.
23835         (LEN): Likewise.
23836         (__mmap64): Do not use BP_SYM.
23837         (mmap64): Do not use BP_SYM in weak_alias.
23838         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23839         <bp-sym.h> and <bp-asm.h>.
23840         (PARMS): Do not use macros from bp-asm.h.
23841         (__posix_fadvise64_l64): Do not use BP_SYM.
23842         * sysdeps/unix/sysv/linux/i386/semtimedop.S
23843         (PARMS): Do not use macros from bp-asm.h.
23844         (NSOPS): Likewise.
23845         (semtimedop): Do not use BP_SYM.
23846         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23847         and <bp-asm.h>.
23848
23849 2013-02-21  Allan McRae  <allan@archlinux.org>
23850
23851         * manual/message.texi (Charset conversion in gettext):
23852         Move @end statement to beginning of line.
23853
23854 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23855
23856         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23857         static.
23858         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23859         Likewise.
23860
23861         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23862         (denorm): Likewise.
23863         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23864         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23865
23866 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23867
23868         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23869         tail-call to the resolved function if pltexit isn't needed.
23870
23871 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23872
23873         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23874         or Y being zero as being unlikely.
23875         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23876         Likewise.
23877
23878 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
23879
23880         * manual/nss.texi (System Databases and Name Service Switch):
23881         Remove frobnicate @pxref.
23882
23883 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
23884
23885         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23886         __attribute__ ((unused)) to __attribute__ ((__unused__)).
23887
23888 2013-02-20  Petr Machata  <pmachata@redhat.com>
23889
23890         * elf/elf.h (R_ARM_TARGET1): New macro.
23891         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23892         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23893         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23894         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23895         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23896         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23897         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23898         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23899         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23900         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23901         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23902         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23903         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23904         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23905         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23906         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23907         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23908         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23909         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23910         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23911         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23912         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23913         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23914         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23915         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23916         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23917         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23918         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23919         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23920         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23921         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23922         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23923         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23924         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23925         (R_ARM_THM_GOT_BREL12): Likewise.
23926         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23927         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23928         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23929         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23930         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23931         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23932         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23933         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23934         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23935
23936 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
23937
23938         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23939         __attribute_used__ to __attribute__ ((unused)).
23940
23941 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23942
23943         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23944         powerpc mpa.c.
23945         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23946         comment formatting.
23947         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23948
23949 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
23950
23951         [BZ #13550]
23952         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23953         Remove macro.
23954         (ENTER): Remove both macro definitions.
23955         (LEAVE): Likewise.
23956         (CHECK_BOUNDS_LOW): Likewise.
23957         (CHECK_BOUNDS_HIGH): Likewise.
23958         (CHECK_BOUNDS_BOTH): Likewise.
23959         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23960         (RETURN_BOUNDED_POINTER): Likewise.
23961         (RETURN_NULL_BOUNDED_POINTER): Likewise.
23962         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23963         (POP_ERRNO_LOCATION_RETURN): Likewise.
23964         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23965         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23966         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23967         macros.
23968         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23969         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23970         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23971         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23972         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23973         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23974         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23975         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23976         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23977         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23978         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23979         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23980         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23981         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23982         removed macros.
23983         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23984         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23985         macros.
23986         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23987         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23988         * sysdeps/i386/i586/memset.S (memset): Likewise.
23989         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23990         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23991         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23992         macros.
23993         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23994         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23995         Change uses of L(2) to L(out).
23996         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23997         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23998         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23999         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24000         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24001         removed macros.
24002         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24003         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24004         macros.
24005         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24006         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24007         (RETURN): Do not use macro LEAVE.
24008         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24009         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24010         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24011         * sysdeps/i386/i686/memset.S (memset): Likewise.
24012         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24013         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24014         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24015         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24016         Likewise.
24017         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24018         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
24019         L(1_2) and L(1_3) into L(1).
24020         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24021         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24022         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24023         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24024         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24025         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24026         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24027         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24028         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24029         macros.
24030         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24031         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24032         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24033         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24034         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24035         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24036         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24037         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24038         * sysdeps/i386/strcspn.S (strcspn): Likewise.
24039         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24040         * sysdeps/i386/strrchr.S (strrchr): Likewise.
24041         * sysdeps/i386/strspn.S (strspn): Likewise.
24042         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24043         conditional code.
24044         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24045         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24046         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24047         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
24048         L(1_3) into L(1_1).
24049         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24050         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24051         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24052         macros.
24053         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24054
24055 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
24056
24057         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24058         macro.
24059
24060 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24061
24062         * math/atest-exp.c (exp_mpn): Remove ROUND.
24063         * math/atest-exp2.c (exp_mpn): Likewise.
24064         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24065
24066         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24067         * stdlib/tst-tls-atexit-lib.c: Likewise.
24068         * stdlib/tst-tls-atexit.c: Likewise.
24069
24070 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24071
24072         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24073         and __attribute_alloc_size__.
24074
24075 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24076
24077         * include/programs/xmalloc.h: Change __attribute_alloc_size to
24078         __attribute_alloc_size__.
24079         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24080         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24081
24082 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24083
24084         * include/programs/xmalloc.h: New file.
24085         * catgets/gencat.c: Include it.
24086         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24087         * elf/pldd.c: Likewise.
24088         * iconv/iconv_charmap.c: Likewise.
24089         * iconv/iconvconfig.c: Likewise.
24090         * iconv/strtab.c: Likewise.
24091         * locale/programs/locale.c: Likewise.
24092         * locale/programs/localedef.h: Likewise.
24093         * locale/programs/simple-hash.c: Likewise.
24094         * nscd/nscd.h: Likewise.
24095         * nss/makedb.c: Likewise.
24096         * sysdeps/generic/ldconfig.h: Likewise.
24097
24098 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24099
24100         * Versions.def: Add GLIBC_2.18.
24101         * include/link.h (struct link_map): New member l_tls_dtor_count.
24102         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24103         (__call_tls_dtors): Likewise.
24104         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24105         __cxa_thread_atexit_impl.
24106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24107         Likewise.
24108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24109         Likewise.
24110         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24111         Likewise.
24112         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24113         Likewise.
24114         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24115         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24116         Likewise.
24117         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24118         Likewise.
24119         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24120         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24121         Likewise.
24122         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24123         (tests): Add test case tst-tls-atexit.
24124         (modules-names): Add shared library for tst-tls-atexit.
24125         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24126         (GLIBC_PRIVATE): Add __call_tls_dtors.
24127         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24128         for libstdc++.
24129         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24130         * stdlib/tst-tls-atexit.c: New test case.
24131         * stdlib/tst-tls-atexit-lib.c: New test case.
24132
24133         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24134
24135         * elf/Versions (ld): Add _dl_find_dso_for_object.
24136         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24137         * elf/dl-open.c (_dl_find_dso_for_object): New function.
24138         (dl_open_worker): Use _dl_find_dso_for_object.
24139         * elf/dl-sym.c (do_sym): Likewise.
24140         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24141
24142 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24143
24144         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24145         Syntactic changes only.
24146         (_dl_runtime_profile): Do a tail-call to the resolved function.
24147
24148 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
24149
24150         [BZ #13550]
24151         * sysdeps/x86_64/bp-asm.h: Remove file.
24152         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24153         <bp-sym.h> and <bp-asm.h>.
24154         (__clone): Do not use BP_SYM.
24155         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24156         <bp-sym.h> and <bp-asm.h>.
24157         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24158         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24159         "bp-asm.h".
24160         (_setjmp): Do not use BP_SYM.
24161         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24162         "bp-asm.h".
24163         (setjmp): Do not use BP_SYM.
24164         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24165         libc_hidden_def.
24166         (mempcpy): Do not use BP_SYM in weak_alias.
24167         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24168         "bp-asm.h".
24169         (strchr): Do not use BP_SYM.
24170         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24171         "bp-asm.h".
24172         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24173         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24174         (_start): Do not use BP_SYM.
24175         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24176         "bp-asm.h".
24177         (strcat): Do not use BP_SYM.
24178         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24179         "bp-asm.h".
24180         (STRCMP): Do not use BP_SYM.
24181         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24182         "bp-asm.h".
24183         (STRCPY): Do not use BP_SYM.
24184         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24185         "bp-asm.h".
24186         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24187         "bp-asm.h".
24188         (FUNCTION): Do not use BP_SYM.
24189         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24190         weak_alias.
24191         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24192
24193 2013-02-17  Andreas Jaeger  <aj@suse.de>
24194
24195         * time/Versions: Sort entries.
24196         * string/Versions: Likewise.
24197         * resolv/Versions: Likewise.
24198         * posix/Versions: Likewise.
24199         * iconv/Versions: Likewise.
24200         * elf/Versions: Likewise.
24201         * wcsmbs/Versions: Likewise.
24202
24203 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24204
24205         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24206         loop termination condition.
24207
24208         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24209         variable to calculate EZ.
24210         (__sqr): Likewise.
24211
24212         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24213         the lower precision input.
24214
24215 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
24216
24217         [BZ #13550]
24218         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24219         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24220         (run-via-rtld-prefix): Do not handle %-bp tests.
24221         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24222         (all-object-suffixes): Remove .ob.
24223         (bppfx): Remove variable.
24224         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24225         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24226         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24227         [$(build-bounded) = yes] (libtype.ob): Likewise.
24228         * Makerules (elide-routines.ob): Remove variable.
24229         (do-tests-clean): Do not handle *-bp.out.
24230         (common-mostlyclean): Do not handle *-bp and *-bp.out.
24231         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24232         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24233         (tests): Do not include $(tests-bp.out).
24234         (xtests): Do not include $(xtests-bp.out).
24235         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24236         [$(build-bounded) = yes] ($(addprefix
24237         $(objpfx),$(binaries-bounded))): Remove rule.
24238         ($(objpfx)%-bp.out): Remove rule.
24239         * config.make.in (build-bounded): Remove variable.
24240         * crypt/Makefile [$(build-bounded) = yes]
24241         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24242         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24243         append to variable.
24244         [$(build-bounded) = yes] (install-lib): Likewise.
24245         [$(build-bounded) = yes] (generated): Likewise.
24246         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24247         Remove rule.
24248         * intl/Makefile [$(build-bounded) = yes]
24249         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24250         * math/Makefile [$(build-bounded) = yes]
24251         ($(tests:%=$(objpfx)%-bp): Likewise.
24252         * misc/Makefile [$(build-bounded) = yes]
24253         ($(objpfx)tst-tsearch-bp): Likewise.
24254         * nptl/Makeconfig (bounded-thread-library): Remove variable.
24255         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24256         Remove dependency.
24257         * string/Makefile (o-objects.ob): Remove variable.
24258         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24259         (CFLAGS-.ob): Remove variable.
24260         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24261         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24262         both definitions of variable.
24263         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24264         (ASFLAGS-.ob): Remove variable.
24265
24266 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
24267
24268         [BZ #13550]
24269         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24270         Remove __BOUNDED_POINTERS__ from condition.
24271         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24272         * string/bits/string2.h [!__NO_STRING_INLINES &&
24273         !__BOUNDED_POINTERS__]: Likewise.
24274         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24275         Likewise.
24276         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24277         Remove conditional code.
24278         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24279         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24280         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24281         condition.
24282
24283         [BZ #13550]
24284         * csu/libc-start.c: Do not include <bp-sym.h>.
24285         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24286         * elf/dl-open.c: Do not include <bp-sym.h>.
24287         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24288         * math/fegetenv.c: Do not include <bp-sym.h>.
24289         (fegetenv): Do not use BP_SYM in versioned symbols.
24290         * nptl/sysdeps/pthread/bits/libc-lockP.h
24291         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24292         <bp-sym.h>.
24293         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24294         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24295         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24296         (__pthread_mutex_destroy): Likewise.
24297         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24298         (__pthread_mutex_lock): Likewise.
24299         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24300         (__pthread_mutex_trylock): Likewise.
24301         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24302         (__pthread_mutex_unlock): Likewise.
24303         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24304         (__pthread_mutexattr_init): Likewise.
24305         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24306         (__pthread_mutexattr_destroy): Likewise.
24307         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24308         (__pthread_mutexattr_settype): Likewise.
24309         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24310         (__pthread_rwlock_init): Likewise.
24311         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24312         (__pthread_rwlock_destroy): Likewise.
24313         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24314         (__pthread_rwlock_rdlock): Likewise.
24315         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24316         (__pthread_rwlock_tryrdlock): Likewise.
24317         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24318         (__pthread_rwlock_wrlock): Likewise.
24319         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24320         (__pthread_rwlock_trywrlock): Likewise.
24321         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24322         (__pthread_rwlock_unlock): Likewise.
24323         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24324         (__pthread_key_create): Likewise.
24325         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24326         (__pthread_setspecific): Likewise.
24327         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24328         (__pthread_getspecific): Likewise.
24329         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24330         Likewise.
24331         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24332         (_pthread_cleanup_push_defer): Likewise.
24333         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24334         (_pthread_cleanup_pop_restore): Likewise.
24335         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24336         (pthread_setcancelstate): Likewise.
24337         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24338         <bp-sym.h>.
24339         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24340         (memchr): Do not use BP_SYM in weak_alias.
24341         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24342         (fegetenv): Do not use BP_SYM in versioned symbols.
24343         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24344         (fesetenv): Do not use BP_SYM in versioned symbols.
24345         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24346         (feupdateenv): Do not use BP_SYM in versioned symbols.
24347         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24348         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24349         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24350         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24351         (open64): Do not use BP_SYM in weak_alias.
24352         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24353         (fegetenv): Do not use BP_SYM in versioned symbols.
24354         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24355         (fesetenv): Do not use BP_SYM in versioned symbols.
24356         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24357         (feupdateenv): Do not use BP_SYM in versioned symbols.
24358         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24359         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24360         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24361         (feraiseexcept): Do not use BP_SYM in versioned symbols.
24362         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24363         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24364         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24365         <bp-sym.h>.
24366         (__libc_start_main): Do not use BP_SYM.
24367
24368 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24369
24370         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24371         redundant return line.
24372         (norm): Likewise.
24373         (denorm): Likewise.
24374         (dbl_mp): Likewise.
24375         (sub_magnitudes): Likewise.
24376         (__add): Likewise.
24377         (__sub): Likewise.
24378         (__mul): Likewise.
24379         (__inv): Likewise.
24380         (__dvd): Likewise.
24381         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24382         (norm): Likewise.
24383         (denorm): Likewise.
24384         (dbl_mp): Likewise.
24385         (sub_magnitudes): Likewise.
24386         (__add): Likewise.
24387         (__sub): Likewise.
24388         (__mul): Likewise.
24389         (__inv): Likewise.
24390         (__dvd): Likewise.
24391
24392         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24393         instead of __mul.
24394         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24395         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24396         (cc32): Likewise.
24397
24398         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24399         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24400         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24401         of __mul for squares.
24402         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24403         function
24404         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24405         Likewise.
24406         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24407         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24408
24409 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
24410
24411         [BZ #13550]
24412         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24413         code.
24414         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24415         prototype or function definition.  Rename ubp_* variables and
24416         parameters.  Remove argv definitions conditional on
24417         [__BOUNDED_POINTERS__].
24418         * debug/backtrace.c (__backtrace): Do not use __unbounded.
24419         * elf/dl-runtime.c (_dl_fixup): Likewise.
24420         * include/set-hooks.h (RUN_HOOK): Likewise.
24421         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24422         definition.
24423         * string/strcpy.c (strcpy): Do not use __unbounded.
24424         * sysdeps/generic/frame.h (struct layout): Likewise.
24425         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24426         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24427         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24428         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24429         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24430         (__backtrace): Likewise.
24431         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24432         use __ptrvalue.
24433         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24434         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24435         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24436         Likewise.
24437         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24438         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24439         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24440         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24441         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24442         Do not use __unbounded.
24443         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24444         Rename __unboundedrlimits parameter to rlimits in prototype.
24445         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24446         Do not use __unbounded.
24447         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24448         not use __ptrvalue.
24449         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24450         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24451         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24452         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24453         __ptrvalue or __unbounded.
24454         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24455         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24456         use __unbounded.
24457         (__new_msgctl): Do not use __ptrvalue.
24458         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24459         __unbounded.
24460         (__libc_msgrcv): Do not use __ptrvalue.
24461         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24462         startup_info): Do not use __unbounded.
24463         (__libc_start_main): Likewise.  Rename ubp_* variables and
24464         parameters.  Remove argv definitions conditional on
24465         [__BOUNDED_POINTERS__].
24466         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24467         __ptrvalue.
24468         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24469         use __unbounded.
24470         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24471         or __ptrvalue.
24472         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24473         use __unbounded.
24474         (__new_shmctl): Do not use __ptrvalue.
24475         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24476         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24477         Likewise.
24478         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24479         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24480         (__libc_sigaction): Likewise.
24481         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24482         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24483         Likewise.
24484         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24485
24486 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
24487
24488         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24489
24490         * string/mempcpy.c: Implement by calling memcpy.
24491
24492 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24493
24494         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24495
24496         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24497         evaluation.
24498
24499         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24500         values in the mantissa.
24501
24502         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24503         minimize writes to Z.
24504         (sub_magnitudes): Simplify code a bit.
24505
24506 2013-02-12  Roland McGrath  <roland@hack.frob.com>
24507
24508         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24509         from the message.  The linker prefixes all warnings with that already.
24510
24511 2013-02-12  Andreas Schwab  <schwab@suse.de>
24512
24513         [BZ #15078]
24514         * posix/regexec.c (extend_buffers): Add parameter min_len.
24515         (check_matching): Pass minimum needed length.
24516         (clean_state_log_if_needed): Likewise.
24517         (get_subexp): Likewise.
24518         * posix/Makefile (tests): Add bug-regex34.
24519         (bug-regex34-ENV): Define.
24520         * posix/bug-regex34.c: New file.
24521
24522         [BZ #11561]
24523         * posix/regcomp.c (parse_bracket_exp): When looking up collating
24524         elements compare against the byte sequence of it, not its name.
24525         * posix/Makefile (tests): Add bug-regex35.
24526         (bug-regex35-ENV): Define.
24527         * posix/bug-regex35.c: New file.
24528
24529 2013-02-11  Tom de Vries  <tom@codesourcery.com>
24530
24531         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
24532         comment.
24533         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24534         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24535         (CHECK_EOL): Add undef.
24536
24537 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
24538
24539         * bits/stdlib-bsearch.h: New file.
24540         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24541         * stdlib/stdlib.h: Likewise.
24542
24543 2013-02-11  Roland McGrath  <roland@hack.frob.com>
24544
24545         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24546         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24547         declaration.
24548         * manual/search.texi (Array Search Function): Add missing const in
24549         lfind prototype.
24550         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24551         declaration to use rlim_t.
24552         (Basic Scheduling Functions): Remove erroneous const from
24553         sched_getparam prototype.  Remove erroneous * from
24554         sched_get_priority_max and sched_get_priority_min prototypes.
24555         (Resource Usage): Fix summary @comment on vtimes to refer to
24556         sys/vtimes.h rather than vtimes.h.
24557         Add missing *s in vtimes prototype.
24558         (Limits on Resources): Fix ulimit prototype to return long int.
24559         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24560         prototypes to use long int rather than double.
24561         (BSD Random): Fix initstate and setstate to use char *, not void *.
24562         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24563         prototype to make second argument 'struct aiocb64 *const[]'.
24564         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24565         (Status of AIO Operations): Remove erroneous const in aio_return and
24566         aio_return64 prototypes.
24567         (Synchronizing I/O): Fix sync prototype to return void.
24568         * manual/startup.texi (Suboptions): Remove an erroneous const in
24569         getsubopt prototype.
24570         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24571         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24572         use size_t rather than int.
24573         (Scanning All Users): Likewise for getpwent_r.
24574         (Setting Groups): Add missing const to setgroups prototype.
24575         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24576         * manual/socket.texi (Host Names): Fix gethostbyaddr and
24577         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24578         'const void *' rather than 'const char *'.
24579         (Host Address Functions): Likewise for inet_ntop.
24580         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24581         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24582         ssize_t for return value.
24583         (Sending Data): Likewise for send, sendto, sendmsg.
24584         (Socket Option Functions): Add a missing const in setsockopt prototype.
24585         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24586         use wchar_t for the argument.
24587         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24588         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24589         take no arguments.
24590         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24591         double/float/long double for second argument.
24592         Fix return types of significand, significandf, significandl.
24593         * manual/filesys.texi (Setting Permissions): Use mode_t for second
24594         argument in fchmod prototype.
24595         (File Owner): Use uid_t and gid_t in fchown prototype.
24596         (File Times): Add const to utimes, futimes, and lutimes prototypes.
24597         (Making Special Files): Use mode_t and dev_t in mknod prototype.
24598         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24599         use 'const struct dirent **' as argument types to CMP function pointer
24600         argument.
24601         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24602         (File Times): Fix summary magic @comment for struct utimbuf and utime
24603         to refer to utime.h, not time.h.
24604         * manual/string.texi (Argz Functions): Add missing const in
24605         argz_extract and argz_next prototypes.
24606         (Finding Tokens in a String): Likewise for basename.
24607         (String/Array Comparison): Fix typo in wcscasecmp prototype.
24608         (Copying and Concatenation): Fix typo in wmemmove prototype.
24609         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24610         (Signal Stack): Remove erroneous const in sigstack prototype.
24611         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24612         prototype.
24613         (Simple Calendar Time): Likewise for stime.
24614         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24615         prototype.
24616         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24617         say sys/sysctl.h instead.
24618         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24619         and vsyslog prototypes.
24620
24621 2013-02-11  Tom de Vries  <tom@codesourcery.com>
24622
24623         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24624         Remove.
24625
24626 2013-02-11  Roland McGrath  <roland@hack.frob.com>
24627
24628         * misc/sys/mman.h: Fix typo in mremap comment.
24629
24630 2013-02-08  Roland McGrath  <roland@hack.frob.com>
24631
24632         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24633         the '\0' terminator.
24634
24635 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
24636
24637         [BZ #13550]
24638         * debug/segfault.c: Don't include <bp-checks.h>.
24639         * sysdeps/generic/bp-checks.h: Remove file.
24640         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24641         (__GETDENTS): Don't use CHECK_N.
24642         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24643         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24644         (__getgroups): Don't use CHECK_N.
24645         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24646         (setgroups): Don't use CHECK_N.
24647         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24648         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24649         (__libc_msgrcv): Don't use CHECK_N.
24650         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24651         (__libc_msgsnd): Don't use CHECK_N.
24652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24653         <bp-checks.h>.
24654         (__libc_pread): Don't use CHECK_N.
24655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24656         include <bp-checks.h>.
24657         (__libc_pread64): Don't use CHECK_N.
24658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24659         include <bp-checks.h>.
24660         (__libc_pwrite): Don't use CHECK_N.
24661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24662         include <bp-checks.h>.
24663         (__libc_pwrite64): Don't use CHECK_N.
24664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24665         <bp-checks.h>.
24666         (__libc_pread): Don't use CHECK_N.
24667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24668         include <bp-checks.h>.
24669         (__libc_pread64): Don't use CHECK_N.
24670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24671         include <bp-checks.h>.
24672         (__libc_pwrite): Don't use CHECK_N.
24673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24674         include <bp-checks.h>.
24675         (__libc_pwrite64): Don't use CHECK_N.
24676         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24677         (do_pread): Don't use CHECK_N.
24678         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24679         (do_pread64): Don't use CHECK_N.
24680         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24681         (do_pwrite): Don't use CHECK_N.
24682         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24683         (do_pwrite64): Don't use CHECK_N.
24684         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24685         (__libc_readv): Don't use CHECK_N.
24686         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24687         (semop): Don't use CHECK_N.
24688         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24689         <bp-checks.h>.
24690         (semtimedop): Don't use CHECK_N.
24691         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24692         (__libc_pread): Don't use CHECK_N.
24693         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24694         <bp-checks.h>.
24695         (__libc_pread64): Don't use CHECK_N.
24696         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24697         <bp-checks.h>.
24698         (__libc_pwrite): Don't use CHECK_N.
24699         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24700         <bp-checks.h>.
24701         (__libc_pwrite64): Don't use CHECK_N.
24702         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24703         <bp-checks.h>.
24704         (__libc_msgrcv): Don't use CHECK_N.
24705         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24706         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
24707         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24708         (__libc_writev): Don't use CHECK_N.
24709
24710 2013-02-08  Roland McGrath  <roland@hack.frob.com>
24711
24712         * string/strcpy.c: Removed unused variable.
24713
24714         * Makeconfig (+sysdep-includes): Define with := rather than =.
24715         Use an existing include/ subdir of each sysdeps dir before it.
24716
24717 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24718
24719         * nscd/connection.c (register_traced_file): Comment function.
24720         [HAVE_INOTIFY] (union __inev): Define.
24721         [HAVE_INOTIFY] (inotify_check_files): New function.
24722         [HAVE_INOTIFY] (clear_db_cache): Likewise.
24723         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24724         clear_db_cache.
24725         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24726
24727 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24728
24729         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24730         loaded if not already and that a failure is permanent.
24731
24732 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24733
24734         [BZ #15006]
24735         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24736         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24737
24738 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
24739
24740         [BZ #13550]
24741         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24742         (CHECK_1_NULL_OK): Likewise.
24743         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24744         (__fxstat): Do not use CHECK_1.
24745         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24746         <bp-checks.h>.
24747         (___fxstat64): Do not use CHECK_1.
24748         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24749         <bp-checks.h>.
24750         (__fxstatat): Do not use CHECK_1.
24751         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24752         <bp-checks.h>.
24753         (__fxstatat64): Do not use CHECK_1.
24754         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24755         <bp-checks.h>.
24756         (__fxstat): Do not use CHECK_1.
24757         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24758         <bp-checks.h>.
24759         (__fxstatat): Do not use CHECK_1.
24760         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24761         <bp-checks.h>.
24762         (__getresgid): Do not use CHECK_1.
24763         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24764         <bp-checks.h>.
24765         (__getresuid): Do not use CHECK_1.
24766         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24767         <bp-checks.h>.
24768         (__lxstat): Do not use CHECK_1.
24769         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24770         <bp-checks.h>.
24771         (__old_msgctl): Do not use CHECK_1.
24772         (__new_msgctl): Likewise.
24773         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24774         <bp-checks.h>.
24775         (__new_setrlimit): Do not use CHECK_1.
24776         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24777         <bp-checks.h>.
24778         (__old_shmctl): Do not use CHECK_1.
24779         (__new_shmctl): Likewise.
24780         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24781         <bp-checks.h>.
24782         (__xstat): Do not use CHECK_1.
24783         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24784         (__lxstat): Do not use CHECK_1.
24785         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24786         <bp-checks.h>.
24787         (___lxstat64): Do not use CHECK_1.
24788         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24789         (__old_msgctl): Do not use CHECK_1.
24790         (__new_msgctl): Likewise.
24791         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24792         <bp-checks.h>.
24793         (__gettimeofday): Do not use CHECK_1.
24794         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24795         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24796         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24797         <bp-checks.h>.
24798         (__gettimeofday): Do not use CHECK_1.
24799         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24800         (__old_shmctl): Do not use CHECK_1_NULL_OK.
24801         (__new_shmctl): Do not use CHECK_1.
24802         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24803         <bp-checks.h>.
24804         (do_sigtimedwait): Do not use CHECK_1.
24805         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24806         <bp-checks.h>.
24807         (do_sigwaitinfo): Do not use CHECK_1.
24808         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24809         <bp-checks.h>.
24810         (msgctl): Do not use CHECK_1.
24811         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24812         <bp-checks.h>.
24813         (shmctl): Do not use CHECK_1.
24814         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24815         (ustat): Do not use CHECK_1.
24816         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24817         <bp-checks.h>.
24818         (__fxstat): Do not use CHECK_1.
24819         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24820         <bp-checks.h>.
24821         (__fxstatat): Do not use CHECK_1.
24822         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24823         <bp-checks.h>.
24824         (__lxstat): Do not use CHECK_1.
24825         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24826         <bp-checks.h>.
24827         (__xstat): Do not use CHECK_1.
24828         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24829         (__xstat): Do not use CHECK_1.
24830         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24831         (___xstat64): Do not use CHECK_1.
24832
24833         [BZ #13550]
24834         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24835         definitions.
24836         (CHECK_BOUNDS_HIGH): Likewise.
24837         * string/strcpy.c: Do not include <bp-checks.h>.
24838         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24839
24840 2013-02-07  Roland McGrath  <roland@hack.frob.com>
24841
24842         * nscd/nscd-client.h (__nscd_drop_map_ref):
24843         Add __attribute__ ((unused)).
24844         * nis/nss-nisplus.h (niserr2nss): Likewise.
24845
24846         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24847         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24848
24849         * csu/libc-tls.c (init_static_tls, init_slotinfo):
24850         Remove inline keyword.
24851         * include/rounding-mode.h (round_away): Likewise.
24852         * libio/wfileops.c (adjust_wide_data): Likewise.
24853         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24854         (__m128i_strloadu_tolower): Likewise.
24855         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24856         (__m128i_strloadu_tolower): Likewise.
24857         * time/mktime.c (ydhms_diff): Likewise.
24858         * locale/elem-hash.h (elem_hash): Likewise.
24859         * locale/setlocale.c (setdata): Likewise.
24860         * posix/regex_internal.h (re_string_char_size_at): Likewise.
24861         (re_string_wchar_at): Likewise.
24862         (bitset_not, bitset_merge, bitset_mask): Likewise.
24863         [!(__GNUC__ > 3)] (inline): Remove macro.
24864         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24865         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24866         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24867         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24868         * string/memcmp.c (memcmp_bytes): Likewise.
24869         * locale/programs/locarchive.c (compute_hashval): Likewise.
24870         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24871         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24872         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24873         * nss/getent.c (print_rpc, print_protocols): Likewise.
24874         (print_passwd, print_group, print_aliases): Likewise.
24875         * nis/nss-nisplus.h (niserr2nss): Likewise.
24876         * nscd/connections.c (restart_p): Likewise.
24877         Change return type to bool.
24878
24879 2013-02-05  Roland McGrath  <roland@hack.frob.com>
24880
24881         * Makeconfig (all-Depend-files): Add existing
24882         $(sorted-subdirs:=/Depend) files.
24883         (all-subdirs): Remove nss.
24884         * sysdeps/unix/inet/Subdirs: Add it here instead.
24885         * hesiod/Depend: New file.
24886
24887         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24888         instead of calling alloca.
24889
24890         * io/lseek.c (__lseek): Rename to __libc_lseek.
24891         Define __lseek as an alias.
24892
24893         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24894
24895 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
24896
24897         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24898         else clause and remove check for non-standard endianness.
24899
24900 2013-02-04  David S. Miller  <davem@davemloft.net>
24901
24902         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24903
24904 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
24905
24906         [BZ #13550]
24907         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24908         (__ubp_memchr): Remove prototype.
24909         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24910         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24911         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24912         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24913         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24914         Remove alias.
24915         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24916         (__ubp_memchr): Likewise.
24917         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24918         (__ubp_memchr): Likewise.
24919         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24920         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24921         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24922         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24923         CHECK_STRING.
24924         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24925         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24926         (__getcwd): Do not use CHECK_STRING.
24927         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24928         <bp-checks.h>.
24929         (__real_chown): Do not use CHECK_STRING.
24930         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24931         <bp-checks.h>.
24932         (fchownat): Do not use CHECK_STRING.
24933         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24934         CHECK_STRING.
24935         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24936         <bp-checks.h>.
24937         (__lchown): Do not use CHECK_STRING.
24938         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24939         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24940         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24941         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24943         include <bp-checks.h>.
24944         (truncate64): Do not use CHECK_STRING.
24945         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24946         <bp-checks.h>.
24947         (__real_chown): Do not use CHECK_STRING.
24948         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24949         <bp-checks.h>.
24950         (__lchown): Do not use CHECK_STRING.
24951         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24952         <bp-checks.h>.
24953         (__chown): Do not use CHECK_STRING.
24954         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24955         <bp-checks.h>.
24956         (truncate64): Do not use CHECK_STRING.
24957         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24958         Likewise.
24959         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24960         (__xmknod): Do not use CHECK_STRING.
24961         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24962         <bp-checks.h>.
24963         (__xmknodat): Do not use CHECK_STRING.
24964         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24965         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24966
24967 2013-02-04  Andreas Schwab  <schwab@suse.de>
24968
24969         [BZ #14142]
24970         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24971         * include/netdb.h: Likewise for h_errno.
24972         * elf/tst-stackguard1.c: Include <tls.h>.
24973
24974 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
24975
24976         * elf/link.h (struct link_map): Extend the l_addr comment.
24977         * include/link.h (struct link_map): Likewise.
24978
24979 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
24980
24981         [BZ #13550]
24982         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24983         (BOUNDED_1): Remove macro.
24984         * debug/backtrace.c: Don't include <bp-checks.h>.
24985         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24986         (__backtrace): Likewise.
24987         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24988         <bp-checks.h>.
24989         (__backtrace): Don't use BOUNDED_1.
24990         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24991         <bp-checks.h>.
24992         (__backtrace): Don't use BOUNDED_1.
24993         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24994         (__backtrace): Don't use BOUNDED_1.
24995         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24996         (shmat): Don't use BOUNDED_N.
24997
24998 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
24999
25000         [BZ #13550]
25001         * sysdeps/generic/bp-start.h: Remove file.
25002         * csu/libc-start.c: Don't include <bp-start.h>.
25003         (LIBC_START_MAIN): Set up __environ directly instead of using
25004         INIT_ARGV_and_ENVIRON.
25005         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25006         <bp-start.h>.
25007
25008         [BZ #13550]
25009         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25010         definitions.
25011         (CHECK_FCNTL): Likewise.
25012         (CHECK_N_PAGES): Likewise.
25013
25014         [BZ #13550]
25015         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25016         definitions.
25017         (CHECK_SIGSET_NULL_OK): Likewise.
25018         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25019         <bp-checks.h>.
25020         (sigpending): Don't use CHECK_SIGSET.
25021         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25022         <bp-checks.h>.
25023         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25024         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25025         <bp-checks.h>.
25026         (do_sigsuspend): Don't use CHECK_SIGSET.
25027         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25028         use CHECK_SIGSET.
25029         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25030         (do_sigwait): Don't use CHECK_SIGSET.
25031         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25032         use CHECK_SIGSET.
25033         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25034         include <bp-checks.h>.
25035         (sigpending): Don't use CHECK_SIGSET.
25036         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25037         include <bp-checks.h>.
25038         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25039         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25040         <bp-checks.h>.
25041         (sigpending): Don't use CHECK_SIGSET.
25042         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25043         <bp-checks.h>.
25044         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25045
25046         [BZ #13550]
25047         * sysdeps/generic/bp-semctl.h: Remove file.
25048         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25049         <bp-checks.h> and <bp-semctl.h>.
25050         (__old_semctl): Don't use CHECK_SEMCTL.
25051         (__new_semctl): Likewise.
25052         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25053         and <bp-semctl.h>.
25054         (__old_semctl): Don't use CHECK_SEMCTL.
25055         (__new_semctl): Likewise.
25056         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25057         <bp-checks.h> and <bp-semctl.h>.
25058         (__old_semctl): Don't use CHECK_SEMCTL.
25059         (__new_semctl): Likewise.
25060         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25061         <bp-checks.h> and <bp-semctl.h>.
25062         (semctl): Don't use CHECK_SEMCTL.
25063
25064         [BZ #13550]
25065         * Makerules (elide-bp-thunks): Remove variable.
25066         (elide-routines.oS): Don't use $(elide-bp-thunks).
25067         (elide-routines.os): Likewise.
25068         (elide-routines.o): Likewise.
25069         (elide-routines.op): Likewise.
25070         (elide-routines.og): Likewise.
25071         (objects): Don't use $(bp-thunks).
25072         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25073         include.
25074         (common-generated): Do not add s-proto-bp.d.
25075         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25076         (int): Likewise.
25077         (typ): Likewise.
25078         Do not generate makefile rules for bounded-pointer thunks.
25079         * sysdeps/generic/bp-thunks.h: Remove file.
25080         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25081         * sysdeps/unix/s-proto-bp.S: Likewise.
25082
25083         [BZ #15062]
25084         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25085         parts of result separately when argument is not close to line from
25086         -i to i and one part of argument is small.
25087         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25088         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25089         * math/libm-test.inc (cacos_test): Add more tests.
25090         (casin_test): Likewise.
25091         (casinh_test): Likewise.
25092         * sysdeps/i386/fpu/libm-test-ulps: Update.
25093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25094
25095 2013-01-31  David S. Miller  <davem@davemloft.net>
25096
25097         * po/de.po: Update from translation team.
25098
25099 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
25100
25101         * time/tzfile.c: Include stdint.h for SIZE_MAX.
25102
25103 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
25104
25105         * configure.in (_AC_PROG_CC_C89): New definition.
25106         * configure: Regenerate.
25107
25108         * configure.in (AC_PROG_CPP): New definition.
25109         * configure: Regenerate.
25110
25111 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25112
25113         * debug/tst-backtrace.h: New file.
25114         * debug/tst-backtrace2.c: Include tst-backtrace.h.
25115         (ret): Remove variable.
25116         (x): Likewise.
25117         (FAIL): Remove macro.
25118         (NO_INLINE): Likewise.
25119         (fn1): Use match function instead of strstr.
25120         * debug/tst-backtrace3.c: Include tst-backtrace.h.
25121         (ret): Remove variable.
25122         (x): Likewise.
25123         (FAIL): Remove macro.
25124         (NO_INLINE): Likewise.
25125         (fn): Use match function instead of strstr.
25126         * debug/tst-backtrace4.c: Include tst-backtrace.h.
25127         (ret): Remove variable.
25128         (x): Likewise.
25129         (FAIL): Remove macro.
25130         (NO_INLINE): Likewise.
25131         (handle_signal): Use match function instead of strstr.
25132         * debug/tst-backtrace5.c: Include tst-backtrace.h.
25133         (ret): Remove variable.
25134         (x): Likewise.
25135         (FAIL): Remove macro.
25136         (NO_INLINE): Likewise.
25137         (handle_signal): Use match function instead of strstr.
25138
25139 2013-01-23  Roland McGrath  <roland@hack.frob.com>
25140
25141         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25142
25143 2013-01-23  David S. Miller  <davem@davemloft.net>
25144
25145         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25146         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25147         argument of CAS if possible.
25148         * sysdeps/sparc/sparc64/bits/atomic.h
25149         (__arch_compare_and_exchange_val_32_acq): Likewise.
25150         (__arch_compare_and_exchange_val_64_acq): Likewise.
25151
25152 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
25153
25154         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25155         * sysdeps/posix/ulimit.c: ... this.
25156         Include <limits.h>.
25157         * sysdeps/unix/bsd/ulimit.c: Remove file.
25158
25159 2013-01-23  Adam Conrad  <adconrad@0c3.net>
25160
25161         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25162         (LDFLAGS-tst-array5): Likewise.
25163
25164 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25165
25166         [BZ #15036]
25167         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25168         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25169         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25170         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25171
25172 2013-01-21  David S. Miller  <davem@davemloft.net>
25173
25174         * sysdeps/sparc/backtrace.c: New file.
25175         * sysdeps/sparc/sparc32/backtrace.h: New file.
25176         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25177         * sysdeps/sparc/sparc64/backtrace.h: New file.
25178         * sysdeps/sparc/sparc64/backtrace.c: Delete.
25179         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25180         -funwind-tables.
25181
25182 2013-01-21  Andreas Schwab  <schwab@suse.de>
25183
25184         [BZ #15020]
25185         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25186         closed its stdout.
25187
25188 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
25189
25190         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25191         "mpa2.h".
25192         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25193
25194 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
25195             Mark Mitchell  <mark@codesourcery.com>
25196             Tom de Vries  <tom@codesourcery.com>
25197             Paul Pluzhnikov  <ppluzhnikov@google.com>
25198
25199         * debug/tst-backtrace2.c: New file.
25200         * debug/tst-backtrace3.c: Likewise.
25201         * debug/tst-backtrace4.c: Likewise.
25202         * debug/tst-backtrace5.c: Likewise.
25203         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25204         (CFLAGS-tst-backtrace3.c): Likewise.
25205         (CFLAGS-tst-backtrace4.c): Likewise.
25206         (CFLAGS-tst-backtrace5.c): Likewise.
25207         (LDFLAGS-tst-backtrace2): Likewise.
25208         (LDFLAGS-tst-backtrace3): Likewise.
25209         (LDFLAGS-tst-backtrace4): Likewise.
25210         (LDFLAGS-tst-backtrace5): Likewise.
25211         (tests): Add new tests tst-backtrace2, tst-backtrace3,
25212         tst-backtrace4 and tst-backtrace5.
25213
25214 2013-01-18  Anton Blanchard  <anton@samba.org>
25215             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25216
25217         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25218         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25219         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25220         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25222         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25223         "+r" and remove output regs list as redundant.  Add explicit inline
25224         asm to specify register of return val to work around compiler codegen
25225         bug.  Remove (int) cast on return value.  Add return type parameter to
25226         use in macro so that this macro does not truncate return value for
25227         64-bit values.
25228         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25229         pass to INTERNAL_VSYSCALL_NCS.
25230         (INLINE_VSYSCALL): Add 'long int' as return type to
25231         INTERNAL_VSYSCALL_NCS macro invocation.
25232         (INTERNAL_VSYSCALL): Add 'long int' as return type to
25233         INTERNAL_VSYSCALL_NCS macro invocation.
25234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25235
25236 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25237
25238         [BZ #14496]
25239         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25240         Fix application of SIMD FP exception mask.
25241
25242         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25243         mp_no from a power of two.
25244         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25245         __mpexp_twomm1.  Use __pow_mp.
25246
25247         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25248         multiplication.
25249
25250 2013-01-17  David S. Miller  <davem@davemloft.net>
25251
25252         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25253
25254 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25255
25256         [BZ #15023]
25257         * include/complex.h: Condition contents on [!_COMPLEX_H].
25258         (__kernel_casinhf): New prototype.
25259         (__kernel_casinh): Likewise.
25260         (__kernel_casinhl): Likewise.
25261         * math/Makefile (libm_calls): Add k_casinh.
25262         * math/k_casinh.c: New file.
25263         * math/k_casinhf.c: Likewise.
25264         * math/k_casinhl.c: Likewise.
25265         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25266         finite nonzero arguments.
25267         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25268         finite nonzero arguments.
25269         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25270         finite nonzero arguments.
25271         * math/s_casinh.c: Do not include <float.h>.
25272         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25273         * math/s_casinhf.c: Do not include <float.h>.
25274         (__casinhf): Move code for finite nonzero arguments to
25275         k_casinhf.c.
25276         * math/s_casinhl.c: Do not include <float.h>.
25277         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25278         redefine.
25279         (__casinhl): Move code for finite nonzero arguments to
25280         k_casinhl.c.
25281         * math/libm-test.inc (cacos_test): Add more tests.
25282         * sysdeps/i386/fpu/libm-test-ulps: Update.
25283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25284
25285 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
25286
25287         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25288         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25289         [!HAVE_MREMAP]: Remove [defined linux] case.
25290         * malloc/arena.c: Do not include <malloc-sysdep.h>.
25291
25292 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25293
25294         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25295
25296 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
25297
25298         * elf/elf.h (R_386_SIZE32): New relocation.
25299         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25300         R_386_SIZE32.
25301         (elf_machine_rela): Likewise.
25302         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25303         R_X86_64_SIZE64 and R_X86_64_SIZE32.
25304
25305 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25306
25307         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25308         (FP_FAST_FMA): Do not define.
25309         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25310         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25311         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25312         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25313         !_SOFT_FLOAT]: Likewise.
25314         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25315         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25316         value.
25317         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25318         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25319         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25320         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25321         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25322         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25323         file.
25324
25325 2013-01-16  Andreas Schwab  <schwab@suse.de>
25326
25327         [BZ #14327]
25328         * include/stdlib.h (__mktemp): Add declaration.
25329         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25330         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25331
25332 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25333
25334         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25335         definitions.
25336         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25337         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25338         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25339         definitions here.
25340         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25341         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25342         definitions.
25343         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25344         and ONE.
25345         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25346         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25347         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25348         definitions.
25349         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25350         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25351         definitions.
25352         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25353
25354         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25355
25356 2013-01-15  David S. Miller  <davem@davemloft.net>
25357
25358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25359         trunc{,f} to libm-sysdep_routes.
25360         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25362         file.
25363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25365         file.
25366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25367         file.
25368         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25369         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25370         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25371         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25372         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25373         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25374         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25375         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25376
25377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25378         nearbyint{,f} to libm-sysdep_routes.
25379         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25381         New file.
25382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25383         file.
25384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25385         New file.
25386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25387         file.
25388         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25389         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25390         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25391         file.
25392         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25393         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25394         file.
25395         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25396         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25397         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25398
25399         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25400         libc_feholdexcept and libc_fesetenv.
25401
25402 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
25403
25404         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25405
25406 2013-01-14  David S. Miller  <davem@davemloft.net>
25407
25408         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25409         (SPARC_ASM_VIS2_IFUNC): Likewise.
25410         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25412         use of 'siam' instruction.
25413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25414         Likewise.
25415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25416         Likewise.
25417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25418         Likewise.
25419         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25420         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25421         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25422         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25424         file.
25425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25426         file.
25427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25428         file.
25429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25430         file.
25431         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25432         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25433         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25434         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25436         new VIS2 routines.
25437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25440         Likewise.
25441         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25442         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25443         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25444         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25446         routines to libm-sysdep_routines.
25447         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25448
25449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25450         fdim/fdimf to libm-sysdep_routines.
25451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25452         file.
25453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25455         file.
25456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25457         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25458         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25459         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25460         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25461         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25462         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25463
25464 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25465
25466         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25467         to optimize copies.
25468
25469         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25470         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25471         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25472
25473         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25474         local variable MPTWO.
25475         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25476         Likewise.
25477
25478 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25479
25480         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25481         GLOB_NOESCAPE.
25482
25483 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25484
25485         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25486
25487 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25488
25489         * manual/pattern.texi (glob_t): Document gl_flags.
25490         (glob64_t): Likewise.
25491
25492 2013-01-11  David S. Miller  <davem@davemloft.net>
25493
25494         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25495         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25496         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
25497         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25498         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25499         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25500         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25501         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25502         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25503         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25504         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25505         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25506         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25507
25508         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25509         sparc V9 rather than using V8 code.
25510         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25511         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25512
25513         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25514         Move to...
25515         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25516         Here.
25517
25518 2013-01-11  Roland McGrath  <roland@hack.frob.com>
25519
25520         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25521         not in the main loop.
25522         * configure: Regenerated.
25523
25524 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
25525
25526         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25527         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25528         to just #else.
25529         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
25530         [!__GLIBC_HAVE_LONG_LONG] case.
25531         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25532         condition to just #else.
25533         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25534         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25535         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25536         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25537         unconditional.
25538         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25539         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25540         #elif condition to just #else.
25541         * sysdeps/unix/sysv/linux/sys/sysmacros.h
25542         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25543         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25544         #elif condition to just #else.
25545
25546 2013-01-11  Steve Ellcey  <sellcey@mips.com>
25547
25548         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25549         (EF_MIPS_ARCH_64): Fix value.
25550         (EF_MIPS_ARCH_32R2): New.
25551         (EF_MIPS_ARCH_64R2): New.
25552
25553 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
25554
25555         * Makeconfig (+link-pie-before-libc): New.
25556         (+link-pie-after-libc): Likewise.
25557         (+link-pie-tests): Likewise.
25558         (+link-pie): Rewritten.
25559         (link-before-libc): Remove $(config-LDFLAGS).
25560         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25561         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25562         (config-LDFLAGS): Renamed to ...
25563         (rtld-LDFLAGS): This.
25564         (rtld-tests-LDFLAGS): New macro.
25565         (link-libc-rpath-link): Likewise.
25566         (link-libc-tests-rpath-link): Likewise.
25567         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25568         (link-libc): Prepand $(link-libc-rpath-link).
25569         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25570         (test-program-prefix): New macro.
25571         (test-via-rtld-prefix): Likewise.
25572         (test-program-cmd): Likewise.
25573         (host-test-program-cmd): Likewise.
25574         * Makefile ($(common-objpfx)testrun.sh): Replace
25575         $(run-program-prefix) with $(test-program-prefix).
25576         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25577         $(rtld-LDFLAGS).
25578         ($(common-objpfx)shlib.lds): Likewise.
25579         (build-module-helper): Likewise.
25580         ($(common-objpfx)format.lds): Likewise.
25581         * Rules (binaries-pie-tests): New.
25582         (binaries-pie-notests): Likewise.
25583         (binaries-pie): Rewritten.
25584         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25585         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25586         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25587         (make-test-out): Replace $(host-built-program-cmd) with
25588         $(host-test-program-cmd).
25589         * config.make.in (build-hardcoded-path-in-tests): New variable.
25590         * configure.in (--enable-hardcoded-path-in-tests): New configure
25591         option.
25592         (hardcoded_path_in_tests): New AC_SUBST.
25593         * configure: Regenerated.
25594         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25595         $(built-program-cmd) with $(test-program-cmd).
25596         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25597         (test_program_cmd): This.
25598         * elf/Makefile ($(objpfx)order.out): Run test with
25599         $(test-program-prefix).
25600         ($(objpfx)order2.out): Likewise.
25601         ($(objpfx)tst-initorder.out): Likewise.
25602         ($(objpfx)tst-initorder2.out): Likewise.
25603         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25604         $(test-program-cmd).
25605         ($(objpfx)tst-array1-static.out): Likewise.
25606         ($(objpfx)tst-array2.out): Likewise.
25607         ($(objpfx)tst-array3.out): Likewise.
25608         ($(objpfx)tst-array4.out): Likewise.
25609         ($(objpfx)tst-array5.out): Likewise.
25610         ($(objpfx)tst-array5-static.out): Likewise.
25611         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25612         $(test-program-cmd).
25613         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25614         $(run-program-prefix) with $(test-program-prefix).
25615         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25616         (test_program_prefix): This.
25617         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25618         $(run-program-prefix) with $(test-program-prefix).
25619         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25620         (test_program_prefix): This.
25621         * iconvdata/tst-tables.sh: Likewise.
25622         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25623         $(run-program-prefix) with $(test-program-prefix).
25624         ($(objpfx)tst-translit.out): Likewise.
25625         ($(objpfx)tst-gettext2.out): Likewise.
25626         ($(objpfx)tst-gettext4.out): Likewise.
25627         ($(objpfx)tst-gettext6.out): Likewise.
25628         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25629         (test_program_prefix): This.
25630         * intl/tst-gettext2.sh: Likewise.
25631         * intl/tst-gettext4.sh  Likewise.
25632         * intl/tst-gettext6.sh: Likewise.
25633         * intl/tst-translit.sh: Likewise.
25634         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25635         with $(test-program-cmd).
25636         * libio/Makefile ($(objpfx)test-freopen.out): Replace
25637         $(run-program-prefix) with $(test-program-prefix).
25638         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25639         (test_program_prefix): This.
25640         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25641         $(run-program-prefix) with $(test-program-prefix).
25642         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25643         (test_program_prefix): This.
25644         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25645         * posix/Makefile ($(objpfx)globtest.out): Replace
25646         $(run-via-rtld-prefix) and $(test-wrapper) with
25647         $(test-program-prefix) and $(test-via-rtld-prefix).
25648         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25649         $(test-program-prefix).
25650         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25651         $(host-test-program-cmd).
25652         (tst-spawn-ARGS): Likewise.
25653         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25654         $(test-program-prefix).
25655         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25656         (test_via_rtld_prefix): This.
25657         (test_wrapper): Renamed to ...
25658         (test_program_prefix): This.
25659         (run_program_prefix): Replaced by test_program_prefix.
25660         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25661         (test_program_prefix): This.
25662         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25663         with $(host-test-program-cmd).
25664         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25665         $(run-program-prefix) with $(test-program-prefix).
25666         ($(objpfx)tst-printf.out): Likewise.
25667         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25668         $(test-program-cmd).
25669         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25670         (test_program_prefix): This.
25671         * stdio-common/tst-unbputc.sh: Likewise.
25672         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25673         $(run-program-prefix) with $(test-program-prefix).
25674         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25675         (test_program_prefix): This.
25676         * string/Makefile ($(objpfx)tst-svc.out):  Replace
25677         $(built-program-cmd) with $(test-program-cmd).
25678
25679 2013-01-11  Andreas Jaeger  <aj@suse.de>
25680
25681         [BZ #15003]
25682         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25683         value. Sync with Linux 3.7.
25684
25685 2013-01-10  David S. Miller  <davem@davemloft.net>
25686
25687         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25688         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25689         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25690
25691 2013-01-10  Roland McGrath  <roland@hack.frob.com>
25692
25693         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25694         never set.
25695         * configure: Regenerated.
25696
25697 2013-01-10  David S. Miller  <davem@davemloft.net>
25698
25699         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25700         sparc V9 rather than using V8 code.
25701         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25702         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25703
25704 2013-01-10  Roland McGrath  <roland@hack.frob.com>
25705
25706         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25707         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25708         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25709         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25710         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25711         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25712         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25713         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25714         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25715         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25716         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25717         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25718         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25719         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25720         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25721         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25722         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25723         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25724         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25725         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25726         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25727         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25728         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25729         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25730         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25731         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25732         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25733
25734 2013-01-10  David S. Miller  <davem@davemloft.net>
25735
25736         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25737
25738 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
25739
25740         * posix/Makefile (tests-static): New variable.
25741         (tests): Add $(tests-static).
25742         (tst-exec-static-ARGS): New variable.
25743         (tst-spawn-static-ARGS): Likewise.
25744         * posix/tst-exec-static.c: New file.
25745         * posix/tst-spawn-static.c: Likewise.
25746         * posix/tst-exec.c: Support run directly.
25747         * posix/tst-spawn.c: Likewise.
25748
25749 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
25750
25751         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25752         long.
25753         * math/bits/mathcalls.h (llrint): Likewise.
25754         (llround): Likewise.
25755         * stdlib/stdlib.h (struct drand48_data): Likewise.
25756         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25757         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25758         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25759         Likewise.
25760         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25761         Likewise.
25762         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25763         (elf_greg_t): Likewise.
25764         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25765         (__jmp_buf): Likewise.
25766         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25767         definitions.
25768         (llrint): Likewise, for all definitions.
25769         (llrintl): Likewise.
25770
25771         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25772         Remove [__GNUC__] condition.
25773         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25774         condition to just [__USE_ISOC99].
25775         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25776
25777 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
25778
25779         [BZ #14200]
25780         * sysdeps/unix/sysv/linux/x86/bits/environments.h
25781         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25782         defined.
25783         (_POSIX_V6_ILP32_OFF32): Likewise.
25784         (_XBS5_ILP32_OFF32): Likewise.
25785         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25786         (__ILP32_OFFBIG_LDFLAGS): Likewise.
25787
25788 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25789
25790         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25791
25792         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25793         doubles __mpexp_twomm1.  Adjust usage.
25794         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25795         Remove.
25796
25797 2013-01-10  Andreas Schwab  <schwab@suse.de>
25798
25799         [BZ #14964]
25800         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25801         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25802
25803 2013-01-09  David S. Miller  <davem@davemloft.net>
25804
25805         [BZ #15003]
25806         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25807         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25808         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25809         (TCP_FASTOPEN): Define.
25810         (tcp_repair_opt): New structure.
25811         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25812         enum values.
25813         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25814         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25815         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25816         (tcp_cookie_transactions): New structure.
25817
25818 2013-01-09  Anton Blanchard  <anton@samba.org>
25819
25820         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25821         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25822         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25823         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25824
25825 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
25826
25827         * include/features.h (__USE_ANSI): Remove.
25828
25829 2013-01-09  Roland McGrath  <roland@hack.frob.com>
25830
25831         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25832
25833         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25834
25835 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
25836
25837         * sysdeps/s390/fpu/libm-test-ulps: Update.
25838
25839         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25840
25841         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25842         (__acr): Likewise.
25843         (__cpy): Likewise.
25844         (norm): Likewise.
25845         (denorm): Likewise.
25846         (__mp_dbl): Likewise.
25847         (__dbl_mp): Likewise.
25848         (add_magnitudes): Likewise.
25849         (sub_magnitudes): Likewise.
25850         (__add): Likewise.
25851         (__sub): Likewise.
25852         (__mul): Likewise.
25853         (__inv): Likewise.
25854         (__dvd): Likewise.
25855         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25856         (__acr): Likewise.
25857         (__cpy): Likewise.
25858         (norm): Likewise.
25859         (denorm): Likewise.
25860         (__mp_dbl): Likewise.
25861         (__dbl_mp): Likewise.
25862         (add_magnitudes): Likewise.
25863         (sub_magnitudes): Likewise.
25864         (__add): Likewise.
25865         (__sub): Likewise.
25866         (__mul): Likewise.
25867         (__inv): Likewise.
25868         (__dvd): Likewise.
25869         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25870         (__acr): Likewise.
25871         (__cpy): Likewise.
25872         (norm): Likewise.
25873         (denorm): Likewise.
25874         (__mp_dbl): Likewise.
25875         (__dbl_mp): Likewise.
25876         (add_magnitudes): Likewise.
25877         (sub_magnitudes): Likewise.
25878         (__add): Likewise.
25879         (__sub): Likewise.
25880         (__mul): Likewise.
25881         (__inv): Likewise.
25882         (__dvd): Likewise.
25883
25884 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
25885
25886         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25887         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25888         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25889         2 && __USE_EXTERN_INLINES]: Likewise.
25890
25891 2013-01-08  Andreas Jaeger  <aj@suse.de>
25892
25893         [BZ# 14985]
25894         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25895         Remove.
25896         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25897         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25898
25899 2013-01-07  Anton Blanchard  <anton@samba.org>
25900
25901         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25902         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25903         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25904         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25905         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25906         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25907         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25908         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25909         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25910         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25911         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25912         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25913         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25914         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25915         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25916         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25917         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25918         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25919         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25920         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25921         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25922         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25923         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25924         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25925         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25926         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25927         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25928         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25929         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25930         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25931         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25932         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25933         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25934         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25935         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25936         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25937         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25938         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25939         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25940         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25941         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25942         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25943         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25944
25945 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
25946
25947         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25948         (__MALLOC_PMT): Likewise.
25949         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25950         [__GNUC__], only on [_LIBC].
25951         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25952         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25953         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25954         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25955         forward declaration.
25956         (realloc_hook_ini): Likewise.
25957         (memalign_hook_ini): Likewise.
25958         (__libc_memalign): Do not use __MALLOC_PMT in variable
25959         declaration.
25960         (__libc_valloc): Likewise.
25961         (__libc_pvalloc): Likewise.
25962         (__libc_calloc): Likewise.
25963         (__posix_memalign): Likewise.
25964
25965         [BZ #14996]
25966         * math/s_casinh.c: Include <float.h>.
25967         (__casinh): Do not do computation with squaring and square root
25968         for large arguments.
25969         * math/s_casinhf.c: Include <float.h>.
25970         (__casinhf): Do not do computation with squaring and square root
25971         for large arguments.
25972         * math/s_casinhl.c: Include <float.h>.
25973         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25974         (__casinhl): Do not do computation with squaring and square root
25975         for large arguments.
25976         * math/libm-test.inc (casin_test): Add more tests.
25977         (casinh_test): Likewise.
25978         * sysdeps/i386/fpu/libm-test-ulps: Update.
25979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25980
25981 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
25982
25983         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25984         (__x86_64_raw_data_cache_size): Likewise.
25985         (__x86_64_data_cache_size_half): Likewise.
25986         (__x86_64_raw_data_cache_size_half): Likewise.
25987         (__x86_64_shared_cache_size): Likewise.
25988         (__x86_64_raw_shared_cache_size): Likewise.
25989         (__x86_64_shared_cache_size_half): Likewise.
25990         (__x86_64_raw_shared_cache_size_half): Likewise.
25991         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25992         to ...
25993         (__x86_data_cache_size): This.
25994         (__x86_64_raw_data_cache_size): Renamed to ...
25995         (__x86_raw_data_cache_size): This.
25996         (__x86_64_data_cache_size_half): Renamed to ...
25997         (__x86_data_cache_size_half): This.
25998         (__x86_64_raw_data_cache_size_half): Renamed to ...
25999         (__x86_raw_data_cache_size_half): This.
26000         (__x86_64_shared_cache_size): Renamed to ...
26001         (__x86_shared_cache_size): This.
26002         (__x86_64_raw_shared_cache_size): Renamed to ...
26003         (__x86_raw_shared_cache_size): This.
26004         (__x86_64_shared_cache_size_half): Renamed to ...
26005         (__x86_shared_cache_size_half): This.
26006         (__x86_64_raw_shared_cache_size_half): Renamed to ...
26007         (__x86_raw_shared_cache_size_half): This.
26008         * sysdeps/x86_64/memcpy.S: Updated.
26009         * sysdeps/x86_64/memset.S: Likewise.
26010         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26011         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26012         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26013
26014 2013-01-04  David S. Miller  <davem@davemloft.net>
26015
26016         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26017
26018 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
26019
26020         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26021         1 to avoid redefinition warning.
26022         (__USE_GNU): Don't define.
26023         (init_signaling_nan): Protoize.
26024
26025         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26026
26027 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26028
26029         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26030         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26031         (__cpymn): Likewise.
26032         (norm): Remove commented code.
26033         (denorm): Likewise.
26034         (__mp_dbl): Likewise.
26035         (__inv): Likewise.
26036         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26037         (__cpymn): Likewise.
26038         (norm): Remove commented code.
26039         (denorm): Likewise.
26040         (__mp_dbl): Likewise.
26041         (__inv): Likewise.
26042
26043         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26044         mp_no value for 1.0 and 2.0.
26045         (norm): Use RADIXI instead of radixi.d.
26046         (denorm): Likewise.
26047         (__mul): Use 0.0 instead of zero.d.
26048         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26049         mp_no value for 1.0 and 2.0.
26050         (norm): Use RADIXI instead of radixi.d.
26051         (denorm): Likewise.
26052         (__mul): Use 0.0 instead of zero.d.
26053
26054 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
26055
26056         [BZ #14994]
26057         * math/s_casinh.c (__casinh): Reduce finite argument to first
26058         quadrant then set signs of results at the end.
26059         * math/s_casinhf.c (__casinhf): Likewise.
26060         * math/s_casinhl.c (__casinhl): Likewise.
26061         * math/libm-test.inc (casin_test): Add more tests.
26062         (casinh_test): Likewise.
26063         * sysdeps/i386/fpu/libm-test-ulps: Update.
26064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26065
26066 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26067
26068         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26069
26070         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26071
26072         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26073         declarations.
26074         (denorm): Likewise.
26075         (__mp_dbl): Likewise.
26076         (__inv): Likewise.
26077
26078         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26079         and adjust the header comment.
26080
26081         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26082         variable name from declaration.
26083
26084 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
26085
26086         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26087         Initialize COMMON_CPUID_INDEX_7 element.
26088         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26089         (CPUID_RTM): Likewise.
26090         (HAS_RTM): Likewise.
26091         (COMMON_CPUID_INDEX_7): New enum.
26092
26093 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
26094
26095         [BZ #14981]
26096         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26097         size is zero, record memory as freed.
26098
26099 2013-01-03  Andreas Jaeger  <aj@suse.de>
26100
26101         * po/ia.po: Add new Interlingua translation.
26102
26103 2012-01-03  Allan McRae  <allan@archlinux.org>
26104
26105         * locale/programs/localedef.c: Fix description of '--posix' flag.
26106
26107 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
26108
26109         * NEWS: Update dates in second copyright notice.
26110         * README: Update copyright dates in example.
26111         * manual/libc.texinfo: Update copyright dates.
26112         * scripts/test-installation.pl: Update copyright date in --version
26113         output.
26114
26115         * hurd/ctty-input.c: Fix copyright notice formatting.
26116         * hurd/ctty-output.c: Likewise.
26117         * hurd/dtable.c: Likewise.
26118         * hurd/hurd-raise.c: Likewise.
26119         * hurd/hurdprio.c: Likewise.
26120         * hurd/msgportdemux.c: Likewise.
26121         * misc/sys/file.h: Likewise.
26122         * misc/sys/ioctl.h: Likewise.
26123         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26124         * sysdeps/mach/hurd/chdir.c: Likewise.
26125         * sysdeps/mach/hurd/fchdir.c: Likewise.
26126         * sysdeps/mach/hurd/rename.c: Likewise.
26127         * sysdeps/mach/hurd/rmdir.c: Likewise.
26128         * sysdeps/mach/hurd/seekdir.c: Likewise.
26129         * sysdeps/mach/hurd/setsid.c: Likewise.
26130         * sysdeps/posix/wait3.c: Likewise.
26131
26132         * All files with FSF copyright notices: Update copyright dates
26133         using scripts/update-copyrights.
26134         * intl/plural.c: Regenerated.
26135         * locale/programs/charmap-kw.h: Likewise.
26136         * locale/programs/locfile-kw.h: Likewise.
26137
26138 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26139
26140         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26141         four values.
26142
26143         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26144         calculation loop and add branch prediction.
26145
26146         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26147         check access beyond bounds of m1np.
26148
26149         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26150         MPTWO.
26151         (__inv): Remove local variable MPTWO to use the global
26152         constant.
26153         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26154         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26155         variable MPTWO.
26156         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26157         MP3HALFS static const.
26158
26159 2013-01-01  David S. Miller  <davem@davemloft.net>
26160
26161         * po/ca.po: Update from translation team.
26162
26163 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
26164
26165         * scripts/update-copyrights: New file.
26166         * Makeconfig: Reformat copyright notice.
26167         * ctype/ctype.h: Likewise.
26168         * debug/swprintf_chk.c: Likewise.
26169         * elf/dl-cache.c: Likewise.
26170         * elf/dl-debug.c: Likewise.
26171         * elf/dl-object.c: Likewise.
26172         * grp/initgroups.c: Likewise.
26173         * hurd/Makefile: Likewise.
26174         * hurd/hurd/signal.h: Likewise.
26175         * hurd/hurdfault.c: Likewise.
26176         * hurd/hurdioctl.c: Likewise.
26177         * hurd/hurdlookup.c: Likewise.
26178         * hurd/intr-msg.c: Likewise.
26179         * iconv/gconv_open.c: Likewise.
26180         * libio/swprintf.c: Likewise.
26181         * locale/lc-ctype.c: Likewise.
26182         * locale/nl_langinfo.c: Likewise.
26183         * mach/Machrules: Likewise.
26184         * mach/Makefile: Likewise.
26185         * malloc/obstack.h: Likewise.
26186         * manual/Makefile: Likewise.
26187         * manual/tsort.awk: Likewise.
26188         * misc/bits/stab.def: Likewise.
26189         * nis/nis_print_group_entry.c: Likewise.
26190         * nis/nis_table.c: Likewise.
26191         * nis/nss_compat/compat-pwd.c: Likewise.
26192         * nis/nss_compat/compat-spwd.c: Likewise.
26193         * po/Makefile: Likewise.
26194         * posix/fnmatch.c: Likewise.
26195         * posix/regex.h: Likewise.
26196         * resolv/Makefile: Likewise.
26197         * resolv/nss_dns/dns-network.c: Likewise.
26198         * resolv/res_hconf.c: Likewise.
26199         * scripts/gen-sorted.awk: Likewise.
26200         * soft-fp/soft-fp.h: Likewise.
26201         * stdio-common/printf.h: Likewise.
26202         * stdlib/monetary.h: Likewise.
26203         * stdlib/random.c: Likewise.
26204         * stdlib/random_r.c: Likewise.
26205         * sysdeps/generic/Makefile: Likewise.
26206         * sysdeps/gnu/Makefile: Likewise.
26207         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26208         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26209         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26210         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26211         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26212         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26213         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26214         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26215         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26216         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26217         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26218         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26219         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26220         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26221         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26222         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26223         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26224         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26225         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26226         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26227         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26228         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26229         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26230         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26231         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26232         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26233         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26234         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26235         * sysdeps/mach/hurd/errnos.awk: Likewise.
26236         * sysdeps/mach/hurd/fork.c: Likewise.
26237         * sysdeps/mach/hurd/getcwd.c: Likewise.
26238         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26239         * sysdeps/mach/hurd/mmap.c: Likewise.
26240         * sysdeps/mach/hurd/utimes.c: Likewise.
26241         * sysdeps/mach/hurd/xmknod.c: Likewise.
26242         * sysdeps/posix/profil.c: Likewise.
26243         * sysdeps/posix/readdir_r.c: Likewise.
26244         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26245         * sysdeps/powerpc/bits/setjmp.h: Likewise.
26246         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26247         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26248         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26249         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26250         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26251         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26252         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26253         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26254         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26255         * sysdeps/pthread/lio_listio.c: Likewise.
26256         * sysdeps/sparc/dl-procinfo.h: Likewise.
26257         * sysdeps/unix/i386/sysdep.S: Likewise.
26258         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26259         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26260         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26261         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26263         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26264         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26265         * sysdeps/unix/sysv/linux/speed.c: Likewise.
26266         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26267         * sysdeps/wordsize-32/divdi3.c: Likewise.
26268         * time/sys/time.h: Likewise.
26269         * wcsmbs/Makefile: Likewise.
26270
26271 2013-01-01  David S. Miller  <davem@davemloft.net>
26272
26273         * po/fr.po: Update from translation team.
26274
26275         * catgets/gencat.c: Update copyright year.
26276         * csu/version.c: Likewise.
26277         * debug/catchsegv.sh: Likewise.
26278         * debug/pcprofiledump.c: Likewise.
26279         * debug/xtrace.sh: Likewise.
26280         * elf/ldconfig.c: Likewise.
26281         * elf/ldd.bash.in: Likewise.
26282         * elf/pldd.c: Likewise.
26283         * elf/sotruss.ksh: Likewise.
26284         * elf/sprof.c: Likewise.
26285         * iconv/iconv_prog.c: Likewise.
26286         * iconv/iconvconfig.c: Likewise.
26287         * locale/programs/locale.c: Likewise.
26288         * locale/programs/localedef.c: Likewise.
26289         * login/programs/pt_chown.c: Likewise.
26290         * malloc/memusage.sh: Likewise.
26291         * malloc/memusagestat.c: Likewise.
26292         * malloc/mtrace.pl: Likewise.
26293         * nscd/nscd.c: Likewise.
26294         * nss/getent.c: Likewise.
26295         * nss/makedb.c: Likewise.
26296         * posix/getconf.c: Likewise.
26297
26298 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26299
26300         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26301         numbers.
26302
26303 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
26304
26305         * math/bits/mathcalls.h (modf): Use __nonnull.
26306
26307 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26308
26309         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26310         (split): Use macro CN instead of the bare value.
26311         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26312         could be used.
26313         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26314         instead of the bare value.
26315         (power1): Likewise.
26316
26317 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26318
26319         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26320         __ATAN_TWOM.
26321         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26322
26323         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26324         their values.
26325         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26326         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26327         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26328         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26329
26330 2012-12-28  Andreas Jaeger  <aj@suse.de>
26331
26332         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
26333         values are from Linux 3.7.
26334
26335         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26336         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
26337
26338 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26339
26340         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26341         TRUE case.
26342
26343         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26344         (norm): Likewise.
26345         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26346         variables with preprocessor constants.
26347         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26348         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26349         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26350
26351 2012-12-27  Bruno Haible  <bruno@clisp.org>
26352
26353         [BZ #14317]
26354         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26355         only if needed.
26356
26357 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26358
26359         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26360         and use variable directly.
26361         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26362
26363         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26364         MPONE.
26365         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26366         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26367         variable MPONE.
26368         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26369         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26370         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26371         include directive.  Remove local variable MPONE.
26372         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26373         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26374         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26375
26376 2012-12-25  David S. Miller  <davem@davemloft.net>
26377
26378         * version.h (RELEASE): Set to "development".
26379         (VERSION): Set to "2.17.90".
26380         * NEWS: Add 2.18 section.
26381
26382 2012-12-21  David S. Miller  <davem@davemloft.net>
26383
26384         * po/hr.po: Update from translation team.
26385
26386 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26387
26388         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26389
26390 2012-12-19  Steve Ellcey  <sellcey@mips.com>
26391
26392         * NEWS:  Mention new memcpy for MIPS.
26393
26394 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26395
26396         * manual/contrib.texi (Contributors): Spelling correction.
26397
26398 2012-12-15  David S. Miller  <davem@davemloft.net>
26399
26400         * po/ru.po: Update from translation team.
26401
26402 2012-12-13  David S. Miller  <davem@davemloft.net>
26403
26404         * NEWS: Mention IFUNC testsuite enhancements.
26405
26406         * po/pl.po: Update from translation team.
26407         * po/bg.po: Likewise.
26408
26409         * manual/contrib.texi (Contributors): Update entries for Hongjiu
26410         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
26411
26412 2012-12-11  David S. Miller  <davem@davemloft.net>
26413
26414         * po/sv.po: Update from translation team.
26415
26416         * po/vi.po: Update from translation team.
26417
26418         * po/cs.po: Update from translation team.
26419
26420         * po/de.po: Update from translation team.
26421         * po/eo.po: Likewise.
26422         * po/nl.po: Likewise.
26423
26424 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26425
26426         [BZ #14246]
26427         * manual/argp.texi (Argp Helper Functions): Move node to follow
26428         Argp Parsing State.
26429
26430         [BZ #14872]
26431         * manual/conf.texi (Limits on File System Capacity): Mention if
26432         terminating null is included in the max size.
26433
26434 2012-12-10  Andreas Jaeger  <aj@suse.de>
26435
26436         * po/cs.po: Update from translation team.
26437
26438 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26439
26440         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26441         void pointer and cast to uintptr_t.
26442         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26443         path.
26444         * sysdeps/s390/s390-64/memcpy.S: Likewise.
26445         * sysdeps/s390/s390-64/memset.S: Likewise.
26446
26447 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
26448
26449         [BZ #14833]
26450         * menual/message.texi (Message Translation): Fix typos.
26451         (Helper programs for gettext): Likewise.
26452
26453 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
26454
26455         [BZ #14898]
26456         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26457         Change to -1.
26458
26459 2012-12-07  David S. Miller  <davem@davemloft.net>
26460
26461         * po/libc.pot: Update.
26462
26463 2012-12-07  Richard Henderson  <rth@redhat.com>
26464
26465         [BZ #10114]
26466         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26467         normal/normal case to before the switch.
26468         (_FP_DIV): Likewise.
26469
26470 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
26471             Mike Frysinger  <vapier@gentoo.org>
26472
26473         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26474         check for __NR_fadvise64_64.
26475
26476 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
26477
26478         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26479         0, not just to plain "0" as a statement.
26480         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26481         with cw.
26482
26483 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
26484
26485         * NEWS: Use sourceware.org in Bugzilla URL.
26486
26487 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26488
26489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26490         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26491
26492         * stdio-common/tst-put-error.c (do_test): Add newline to the
26493         padded test to ensure flush.
26494
26495 2012-12-05  Jeff Law  <law@redhat.com>
26496
26497         * sunrpc/etc.rpc (fedfs_admin): Add entry.
26498
26499 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
26500
26501         * README: Don't refer to ports add-on as distributed separately.
26502         Mention AArch64 in list of systems supported in the ports add-on.
26503
26504         * LICENSES: Add more non-FSF copyright and license notices.
26505
26506         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26507         ((unused)).
26508
26509         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26510
26511         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26512         10000 as width of padded output.
26513
26514 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26515
26516         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26517
26518         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26519         variable LX with __attribute__ ((unused)).
26520         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26521         Likewise.
26522         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26523         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26524         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26525         with __attribute__ ((unused)).
26526
26527 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
26528
26529         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26530
26531 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26532
26533         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26534         (CFLAGS-nldbl-acos.c): New variable.
26535         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26536         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26537         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26538         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26539         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26540         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26541         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26542         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26543         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26544         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26545         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26546         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26547         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26548         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26549         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26550         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26551         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26552         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26553         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26554         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26555         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26556         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26557         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26558         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26559         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26560         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26561         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26562         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26563         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26564         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26565         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26566         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26567         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26568         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26569         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26570         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26571         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26572         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26573         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26574         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26575         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26576         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26577         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26578         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26579         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26580         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26581         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26582         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26583         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26584         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26585         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26586         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26587         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26588         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26589         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26590         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26591         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26592         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26593         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26594         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26595         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26596         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26597         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26598         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26599         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26600         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26601         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26602         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26603         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26604         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26605         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26606         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26607         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26608         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26609         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26610         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26611         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26612         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26613         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26614         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26615         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26616         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26617         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26618         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26619         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26620         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26621         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26622         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26623         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26624         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26625         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26626         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26627         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26628         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26629         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26630         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26631         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26632
26633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26634         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26635
26636         [BZ #14914]
26637         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26638         whole low double instead of just low 47 bits when splitting values
26639         into two parts.
26640
26641 2012-12-03  Allan McRae  <allan@archlinux.org>
26642
26643         * manual/stdio.texi (Predefined Printf Handlers): Remove
26644         @hsep and @vsep usage.
26645
26646 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
26647
26648         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26649         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26650
26651 2012-12-03  Jeff Law  <law@redhat.com>
26652
26653         * time/sys/time.h (settimeofday): Do not mark TV argument
26654         as __nonnull.
26655
26656 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
26657
26658         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26659         when currently writing and seek to current position when not.
26660         * libio/Makefile (tests): Remove bug-fclose1.
26661         * libio/bug-fclose1.c: Delete.
26662
26663 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
26664
26665         * manual/arith.texi (feenableexcept): Fix typo.
26666         (fedisableexcept): Likewise.
26667
26668 2012-11-30  Roland McGrath  <roland@hack.frob.com>
26669
26670         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26671         second, differently-typed declaration, rather than a cast.
26672
26673 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26674
26675         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26676         * include/rpc/svc.h: ... here.
26677
26678 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
26679
26680         [BZ #13013]
26681         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26682         depending n and resplen2 to catch cases where answer
26683         equals answerp2.
26684
26685 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
26686
26687         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26688         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26689
26690 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
26691
26692         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26693
26694 2012-11-29  Roland McGrath  <roland@hack.frob.com>
26695
26696         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26697
26698 2012-11-28  Jeff Law  <law@redhat.com>
26699
26700         [BZ #13761]
26701         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26702         dataset_temporary.  Track alloca usage into alloca_used.
26703         If dataset is large allocate and release it via malloc/free.
26704
26705 2012-06-04  Florian Weimer  <fweimer@redhat.com>
26706
26707         [BZ #14197]
26708         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26709
26710 2012-11-28  David S. Miller  <davem@davemloft.net>
26711
26712         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26713
26714 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
26715
26716         [BZ #14803]
26717         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26718         of pi/2 rounded to nearest to 64 bits.
26719         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26720         nearest to 64 bits.
26721         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26722         bits.
26723
26724 2012-11-28  Jeff Law <law@redhat.com>
26725             Martin Osvald <mosvald@redhat.com>
26726
26727         [BZ #14889]
26728         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26729         * sunrpc/svc.c: Include time.h.
26730         (__svc_accept_failed): New function.
26731         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26732         any reason other than EINTR, call __svc_accept_failed.
26733         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26734         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26735
26736 2012-11-28  Andreas Schwab  <schwab@suse.de>
26737
26738         * scripts/abilist.awk: Also handle indirect functions in .opd
26739         section.
26740
26741 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
26742
26743         [BZ #13881]
26744         * sysdeps/x86/fpu/powl_helper.c: New file.
26745         * sysdeps/x86/fpu/Makefile: Likewise.
26746         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26747         (p3): New object.
26748         (__ieee754_powl): Use __powl_helper for finite arguments except
26749         integer exponents below 8.
26750         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26751         (p3): New object.
26752         (__ieee754_powl): Use __powl_helper for finite arguments except
26753         integer exponents below 8.
26754         * math/libm-test.inc (pow_test): Add more tests and enable some
26755         previously disabled tests.
26756         * sysdeps/i386/fpu/libm-test-ulps: Update.
26757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26758
26759 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26760             Carlos O'Donell  <carlos_odonell@mentor.com>
26761
26762         * nss/makedb.c (is_prime): Assert that input is odd and greater
26763         than 4.  Note that fact in a comment too.
26764         (next_prime): Add 4 to input.
26765
26766 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26767
26768         [BZ #11741]
26769         * libio/Makefile (tests): Add test case tst-fwrite-error.
26770         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26771         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26772         * libio/tst-fwrite-error.c: New test case.
26773
26774 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
26775
26776         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26777         before casting to void *.
26778         * include/libc-internal.h (__pointer_type): New macro.
26779         (__integer_if_pointer_type_sub): Likewise.
26780         (__integer_if_pointer_type): Likewise.
26781         (cast_to_integer): Likewise.
26782         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26783         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26784         before casting to atomic64_t.
26785         (atomic_exchange_acq): Likewise.
26786         (__arch_exchange_and_add_body): Likewise.
26787         (__arch_add_body): Likewise.
26788         (atomic_add_negative): Likewise.
26789         (atomic_add_zero): Likewise.
26790
26791 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
26792
26793         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26794         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26795         (add_fdes): Likewise.
26796         (linear_search_fdes): Likewise.
26797         (binary_search_unencoded_fdes): Likewise.
26798
26799 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
26800
26801         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26802
26803 2012-11-24  Adam Conrad  <adconrad@0c3.net>
26804
26805         * configure.in: Autodetect C++ header directories.
26806         * configure: Regenerated.
26807
26808 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
26809
26810         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26811
26812 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
26813
26814         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26815
26816 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
26817
26818         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26819         LDBL_MANT_DIG == 106]: Disable some tests.
26820         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26821         Likewise.
26822         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26823         Likewise.
26824
26825         [BZ #14871]
26826         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26827         input for small inputs.  Return +/- pi/2 for large inputs.
26828         * math/libm-test.inc (atan_test): Add more tests.
26829
26830         * sysdeps/generic/unwind-dw2-fde-glibc.c
26831         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26832         __attribute__ ((unused)).
26833
26834         [BZ #14645]
26835         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26836         x * y if x and y are nonzero and z is zero.
26837
26838         [BZ #14811]
26839         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26840         nonzero exponents with absolute value below 0x1p-117 to +/-
26841         0x1p-117.
26842
26843         [BZ #14869]
26844         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26845         up arguments below 2**-450, not just those below 2**-500.
26846         * math/libm-test.inc (hypot_test): Add another test.
26847
26848         [BZ #14868]
26849         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26850         Return a+b for ratio over 2**120, not 2**60.
26851         * math/libm-test.inc (hypot_test): Add another test.
26852
26853         * math/libm-test.inc (clog_test): Use
26854         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26855         (clog10_test): Likewise.
26856
26857         [BZ #6778]
26858         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26859
26860 2012-11-22  Andreas Schwab  <schwab@suse.de>
26861
26862         * sysdeps/i386/fpu/libm-test-ulps: Update.
26863
26864 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
26865
26866         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26867         printf output with newline.
26868
26869 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
26870
26871         [BZ #14865]
26872         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26873         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26874         -z nodlopen, -z initfirst and -z execstack support.
26875         * configure: Regenerated.
26876
26877         * elf/elf.h (DF_1_NODIRECT): New macro.
26878         (DF_1_IGNMULDEF): Likewise.
26879         (DF_1_NOKSYMS): Likewise.
26880         (DF_1_NOHDR): Likewise.
26881         (DF_1_EDITED): Likewise.
26882         (DF_1_NORELOC): Likewise.
26883         (DF_1_SYMINTPOSE): Likewise.
26884         (DF_1_GLOBAUDIT): Likewise.
26885         (DF_1_SINGLETON): Likewise.
26886         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26887         DT_1_SUPPORTED_MASK bits.
26888         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26889
26890 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
26891
26892         * sysdeps/unix/make-syscalls.sh: Document prefixes.
26893
26894 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
26895
26896         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26897         macro.
26898
26899         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26900         (sendmmsg): Move declarations...
26901         * socket/sys/socket.h: ... here.
26902         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26903         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26904         include it from...
26905         * socket/recvmmsg.c: ... this new file.
26906         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26907         (sendmmsg): Rename to __sendmmsg, create weak alias and make
26908         definition of __sendmmsg hidden.
26909         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26910         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26911         Move ENOSYS stub into and include it from...
26912         * socket/sendmmsg.c: ... this new file.
26913         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26914         (sysdep_routines): Move recvmmsg and sendmmsg...
26915         * socket/Makefile (routines): ... here.
26916         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26917         (GLIBC_PRIVATE): Add __sendmmsg.
26918         * include/sys/socket.h (__sendmmsg): Add declarations.
26919         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26920         sendmmsg.
26921
26922 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
26923
26924         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26925         variable I1 with __attribute__ ((unused)).
26926         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26927
26928 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
26929
26930         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26931         DUMMY variables with __attribute__ ((unused)).
26932
26933         * bits/byteswap.h: Include <bits/types.h>.
26934         (__bswap_64): Use __uint64_t instead of unsigned long long int.
26935
26936 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
26937
26938         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26939         string_t.  Do not manually set errno.
26940         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26941         length with __strnlen.  Make sure to both set errno and return it on
26942         failure.
26943
26944 2012-11-19  David S. Miller  <davem@davemloft.net>
26945
26946         With help from Joseph Myers.
26947         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26948         very large arguments properly.
26949         * math/libm-test.inc (atan_test): New tests.
26950         (atan2_test): New tests.
26951         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26952         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26953
26954 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
26955
26956         [BZ #14856]
26957         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26958         Define to 3.
26959
26960         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26961         [POSIX] (EADDRNOTAVAIL): Likewise.
26962         [POSIX] (EAFNOSUPPORT): Likewise.
26963         [POSIX] (EALREADY): Likewise.
26964         [POSIX] (ECONNABORTED): Likewise.
26965         [POSIX] (ECONNREFUSED): Likewise.
26966         [POSIX] (ECONNRESET): Likewise.
26967         [POSIX] (EDESTADDRREQ): Likewise.
26968         [POSIX] (EDQUOT): Likewise.
26969         [POSIX] (EHOSTUNREACH): Likewise.
26970         [POSIX] (EIDRM): Likewise.
26971         [POSIX] (EISCONN): Likewise.
26972         [POSIX] (ELOOP): Likewise.
26973         [POSIX] (EMULTIHOP): Likewise.
26974         [POSIX] (ENETDOWN): Likewise.
26975         [POSIX] (ENETUNREACH): Likewise.
26976         [POSIX] (ENOBUFS): Likewise.
26977         [POSIX] (ENODATA): Likewise.
26978         [POSIX] (ENOLINK): Likewise.
26979         [POSIX] (ENOMSG): Likewise.
26980         [POSIX] (ENOPROTOOPT): Likewise.
26981         [POSIX] (ENOSR): Likewise.
26982         [POSIX] (ENOSTR): Likewise.
26983         [POSIX] (ENOTCONN): Likewise.
26984         [POSIX] (ENOTSOCK): Likewise.
26985         [POSIX] (EOPNOTSUPP): Likewise.
26986         [POSIX] (EOVERFLOW): Likewise.
26987         [POSIX] (EPROTO): Likewise.
26988         [POSIX] (EPROTONOSUPPORT): Likewise.
26989         [POSIX] (EPROTOTYPE): Likewise.
26990         [POSIX] (ESTALE): Likewise.
26991         [POSIX] (ETIME): Likewise.
26992         [POSIX] (ETXTBSY): Likewise.
26993         [POSIX] (EWOULDBLOCK): Likewise.
26994         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26995         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26996         [POSIX] (SEEK_CUR): Likewise.
26997         [POSIX] (SEEK_END): Likewise.
26998         [POSIX || UNIX98] (mode_t): Do not require.
26999         [POSIX] (off_t): Likewise.
27000         [POSIX] (pid_t): Likewise.
27001         [POSIX] (sys/stat.h): Do not allow header.
27002         [POSIX] (unistd.h): Likewise.
27003         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27004         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27005         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27006         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27007         require.
27008         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27009         sigevent): Specify elements.
27010         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27011         entry.
27012         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27013         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27014
27015         * conform/data/cpio.h-data [POSIX]: Disable whole file.
27016         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27017         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27018         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27019         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27020         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27021         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27022         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27023         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27024         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27025         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27026         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27027         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27028         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27029         Likewise.
27030         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27031         Likewise.
27032         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27033         Likewise.
27034         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27035         Likewise.
27036         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27037         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27038         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27039         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27040         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27041         Specify lower bound on value.
27042         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27043         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27044         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27045         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27046         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27047         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27048         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27049         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27050         value.
27051         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27052         as optional.
27053         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27054         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27055         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27056         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27057         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27058         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27059         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27060         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27061         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27062         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27063         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27064         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27065         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27066         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27067         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27068         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27069         entry.
27070         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27071         optional.
27072         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27073         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27074         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27075         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27076         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27077         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27078         Likewise.
27079         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27080         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27081         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27082         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27083         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
27084         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27085         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27086         as optional.
27087         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27088         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27089         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27090         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27091         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27092         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27093         specify as optional.
27094         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27095         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27096         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27097         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27098         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27099         [XPG3] (NL_LANGMAX): Likewise.
27100         [POSIX || XPG3] (NL_MSGMAX): Likewise.
27101         [POSIX || XPG3] (NL_NMAX): Likewise.
27102         [POSIX || XPG3] (NL_SETMAX): Likewise.
27103         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27104         [XPG3] (NZERO): Likewise.
27105         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27106         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27107         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27108         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27109         (REG_ERANGE): Expect.
27110         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27111         optional-constant.
27112         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27113         Use (void) in prototype.
27114         [POSIX] (*_t): Allow.
27115         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27116         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27117         (WRDE_BADVAL): Expect.
27118
27119         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27120         expect.
27121         [XPG3 || XPG4] (O_RSYNC): Likewise.
27122         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27123         Likewise.
27124         [XPG3 || XPG4] (pthread_sigmask): Likewise.
27125         [XPG3 || XPG4] (sigqueue): Likewise.
27126         [XPG3 || XPG4] (sigtimedwait): Likewise.
27127         [XPG3 || XPG4] (sigwaitinfo): Likewise.
27128         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27129         [XPG3 || XPG4] (vsnprintf): Likewise.
27130         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27131         Likewise.
27132         [XPG3 || XPG4] (blksize_t): Likewise.
27133         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27134         Likewise.
27135         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27136         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27137         [XPG3 || XPG4] (struct itimerspec): Likewise.
27138         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27139         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27140         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27141         [XPG3 || XPG4] (clockid_t): Likewise.
27142         [XPG3 || XPG4] (timer_t): Likewise.
27143         [XPG3 || XPG4] (clock_getres): Likewise.
27144         [XPG3 || XPG4] (clock_gettime): Likewise.
27145         [XPG3 || XPG4] (clock_settime): Likewise.
27146         [XPG3 || XPG4] (nanosleep): Likewise.
27147         [XPG3 || XPG4] (timer_create): Likewise.
27148         [XPG3 || XPG4] (timer_delete): Likewise.
27149         [XPG3 || XPG4] (timer_gettime): Likewise.
27150         [XPG3 || XPG4] (timer_getoverrun): Likewise.
27151         [XPG3 || XPG4] (timer_settime): Likewise.
27152         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27153         [XPG3 || XPG4] (getlogin_r): Likewise.
27154         [XPG3 || XPG4] (pread): Likewise.
27155         [XPG3 || XPG4] (pthread_atfork): Likewise.
27156         [XPG3 || XPG4] (pwrite): Likewise.
27157
27158         [BZ #14835]
27159         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27160         <bits/siginfo.h>.
27161
27162 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27163
27164         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27165         finalizing MALLSTREAM.
27166
27167         * sysdeps/mach/hurd/syncfs.c: New file.
27168
27169 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27170
27171         [BZ #14719]
27172         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27173         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27174         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27175         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27176         (_nss_dns_gethostbyname4_r): Likewise.
27177         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27178         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27179
27180 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
27181
27182         [BZ #13763]
27183         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27184
27185 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
27186
27187         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27188         * elf/cache.c (print_entry): Print ",AArch64" for
27189         FLAG_AARCH64_LIB64
27190
27191         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27192         * elf/cache.c (print_entry): Print ",hard-float" for
27193         FLAG_ARM_LIBHF.
27194
27195 2012-11-18  David S. Miller  <davem@davemloft.net>
27196
27197         With help from Joseph Myers.
27198         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27199         cutoff to 2**-13.
27200         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27201         cutoff to 2**-25.
27202         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27203         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27204         small.
27205         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27206         * math/libm-test.inc (y0_test): New tests.
27207         (y1_test): New tests.
27208         * sysdeps/i386/fpu/libm-test-ulps: Update.
27209         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27210         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27211
27212 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
27213
27214         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27215         64-bit targets.
27216         * configure: Regenerated.
27217
27218 2012-11-17  David S. Miller  <davem@davemloft.net>
27219
27220         [BZ #14811]
27221         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27222         nonzero exponents with absolute value below 0x1p-128 to +/-
27223         0x1p-128.
27224
27225 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
27226
27227         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27228
27229         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27230
27231         * posix/getconf-speclist.c: New file.
27232         * posix/posix-envs.def: Likewise.
27233         * posix/confstr.c (START_ENV_GROUP): New macro.
27234         (END_ENV_GROUP): Likewise.
27235         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27236         (KNOWN_PRESENT_ENV_STRING): Likewise.
27237         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27238         (UNKNOWN_ENVIRONMENT): Likewise.
27239         (confstr): Include posix-envs.def instead of handling
27240         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27241         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27242         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27243         (END_ENV_GROUP): Likewise.
27244         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27245         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27246         (UNKNOWN_ENVIRONMENT): Likewise.
27247         (__sysconf): Include posix-envs.def instead of handling associated
27248         cases directly here.
27249         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27250         preprocessing getconf-speclist.c rather than running getconf or
27251         generating empty file.
27252
27253 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
27254
27255         * scripts/check-local-headers.sh: Ignore 'mach' headers.
27256
27257 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
27258
27259         [BZ #14672]
27260         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27261
27262 2012-11-16  David S. Miller  <davem@davemloft.net>
27263
27264         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27265         smaller than LDBL_EPSILON/2.0L, just return xm1.
27266
27267 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
27268
27269         * elf/tst-array1.c (init): Set constructor priority to 1000.
27270         (fini): Set destructor priority to 1000.
27271         * elf/tst-array2dep.c: Likewise.
27272
27273 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27274
27275         [BZ #11741]
27276         * libio/fileops.c (_IO_new_file_write): Correctly return error.
27277         (_IO_new_file_xsputn): Also return EOF if none of the input
27278         data was written when overflow failed.
27279         * libio/iopadn.c (_IO_padn): Likewise.
27280         * libio/iowpadn.c (_IO_wpadn): Likewise.
27281         * stdio-common/tst-put-error.c: Add copyright notice.
27282         (do_test): Add case for printing padded string.
27283         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27284         _IO_padn returned error.
27285         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27286         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27287         return EOF.
27288
27289 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27290
27291         * libio/libioP.h: Add comment note that the references to C++
27292         bits are now obsolete.
27293
27294 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27295
27296         * math/libm-test.inc (check_complex): Use asprintf.
27297
27298 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
27299
27300         * debug/pcprofiledump.c (print_version): Update copyright year.
27301         * malloc/memusagestat.c (print_version): Likewise.
27302
27303 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
27304
27305         [BZ #14831]
27306         * elf/Makefile (tests): Add tst-audit8.
27307         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27308         ($(objpfx)tst-audit8.out): New target.
27309         (tst-audit8-ENV): New variable.
27310         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27311         audit if l_reloc_result is NULL.
27312         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27313         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27314         * elf/tst-audit8.c: New file.
27315
27316 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27317
27318         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27319         * misc/Makefile (CFLAGS-select.c): Define.
27320         * posix/Makefile (CFLAGS-pause.c): Define.
27321
27322 2012-11-13  David S. Miller  <davem@davemloft.net>
27323
27324         * crypt/Makefile: Move test targets after toplevel Rules
27325         inclusion.  Grab any necessary sysdep routines when linking.
27326         * crypt/md5.c (md5_process_block): Remove define, we will always
27327         name it __md5_process_block.
27328         (md5_finish_ctx): Update md5_process_block call.
27329         (md5_stream): Likewise.
27330         (md5_process_bytes): Likewise.
27331         (md5_process_block): Rename to __md5_process_block and move to ...
27332         * crypt/md5-block.c: ... here.
27333         * crypt/sha256.c (sha256_process_block): Move to ...
27334         * crypt/sha256-block.c: ... here.
27335         * crypt/sha512.c (sha512_process_block): Move to ...
27336         * crypt/sha512-block.c: ... here.
27337         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27338         path.
27339         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27340         * sysdeps/sparc/sparc64/multiarch/Makefile
27341         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27342         crypt subdir.
27343         (localedef-aux): Add md5 crypto assembler when in locale subdir.
27344         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27345         multiarch changes.
27346         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27347         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27348         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27349         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27350         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27351         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27352         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27353         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27354         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27355         file.
27356         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27357         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27358         file.
27359         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27360
27361 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
27362
27363         * timezone/tzselect.ksh: Update from tzcode git revision
27364         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27365         * timezone/zdump.c: Likewise.
27366         * timezone/zic.c: Likewise.
27367         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27368         in TZVERSION setting, not $(PKGVERSION).
27369         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
27370         REPORT_BUGS_TO settings.
27371
27372         [BZ #14838]
27373         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27374         macro.
27375
27376 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27377
27378         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27379         detection to immediately after _FP_ROUND().
27380         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27381         bits are 0.
27382
27383 2012-11-11  David S. Miller  <davem@davemloft.net>
27384
27385         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27386         inttypes.h
27387         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27388         __close rather than their public counterparts.
27389
27390 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
27391
27392         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27393         file.
27394         [UNIX98] (sem_timedwait): Do not expect.
27395         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27396         [XPG4 || UNIX98] (sockatmark): Do not expect.
27397         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27398         (clock_getcpuclockid): Do not expect.
27399         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27400         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27401         Do not expect.
27402         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27403         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27404         [UNIX98] (vwscanf): Likewise.
27405         [UNIX98] (vswscanf): Likewise.
27406
27407 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
27408
27409         * timezone/version.h: Remove file.
27410         * timezone/README: Do not refer to version.h.
27411         * timezone/Makefile ($(objpfx)zic.o): New dependency on
27412         $(objpfx)version.h.
27413         ($(objpfx)zdump.o): Likewise.
27414         ($(objpfx)version.h): New target.
27415
27416         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27417         2012i.
27418         * timezone/README: Don't mention modification to tzselect.ksh.
27419         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27420         work on unmodified tzselect.ksh.  Substitute version numbers in
27421         tzselect.ksh.
27422
27423         * Makefile (format-me): Remove.
27424         (INSTALL): Adjust indentation.  Use commands directly instead of
27425         using $(format-me).
27426
27427         * aclocal.m4 (ACX_PKGVERSION): New macro.
27428         (ACX_BUGURL): Likewise.
27429         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27430         (PKGVERSION): New AC_DEFINE_UNQUOTED.
27431         (REPORT_BUGS_TO): Likewise.
27432         * configure: Regenerated.
27433         * config.h.in (PKGVERSION): New macro.
27434         (REPORT_BUGS_TO): Likewise.
27435         * config.make.in (PKGVERSION): New variable.
27436         (PKGVERSION_TEXI): Likewise.
27437         (REPORT_BUGS_TO): Likewise.
27438         (REPORT_BUGS_TEXI): Likewise.
27439         * Makefile (format-me): Use -I$(common-objpfx)manual.
27440         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27441         ($(common-objpfx)manual/%): New target.
27442         (manual/%): Remove target.
27443         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27444         (print_version): Use PKGVERSION.
27445         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27446         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27447         and REPORT_BUGS_TO.
27448         ($(objpfx)xtrace): Likewise.
27449         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27450         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27451         (print_version): Use PKGVERSION.
27452         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27453         (do_version): Use PKGVERSION.
27454         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27455         REPORT_BUGS_TO.
27456         (common-ldd-rewrite): Likewise.
27457         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27458         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27459         (print_version): Use PKGVERSION.
27460         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27461         * elf/pldd.c (argp_program_bug_address): Remove variable.
27462         (more_help): New function.
27463         (argp): Use more_help.
27464         (print_version): Use PKGVERSION.
27465         * elf/sln.c (main): Use PKGVERSION.
27466         (usage): Use REPORT_BUGS_TO.
27467         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27468         (top level): Use PKGVERSION.
27469         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27470         (print_version): Use PKGVERSION.
27471         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27472         (print_version): Use PKGVERSION.
27473         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27474         (print_version): Use PKGVERSION.
27475         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27476         (print_version): Use PKGVERSION.
27477         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27478         (print_version): Use PKGVERSION.
27479         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27480         (print_version): Use PKGVERSION.
27481         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27482         and BUGURL.
27483         ($(objpfx)memusage): Likewise.
27484         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27485         (do_version): Use PKGVERSION.
27486         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27487         (print_version): Use PKGVERSION.
27488         * malloc/mtrace.pl ($PACKAGE): Remove variable.
27489         ($PKGVERSION): New variable.
27490         ($REPORT_BUGS_TO): Likewise.
27491         (usage): Use $REPORT_BUGS_TO.
27492         (top level): Use $PKGVERSION.
27493         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27494         ($(objpfx)pkgvers.texi): New rule.
27495         ($(objpfx)stamp-pkgvers): Likewise.
27496         * manual/install.texi: Include pkgvers.texi.
27497         (--with-pkgversion): Document new configure option.
27498         (--with-bugurl): Likewise.
27499         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27500         than necessarily for this particular distribution.  Use
27501         REPORT_BUGS_TO for where to report bugs.
27502         * INSTALL: Regenerated.
27503         * manual/libc.texinfo: Include pkgvers.texi.
27504         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27505         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27506         (print_version): Use PKGVERSION.
27507         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27508         (print_version): Use PKGVERSION.
27509         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27510         (print_version): Use PKGVERSION.
27511         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27512         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27513         macro.
27514         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27515         (print_version): Use PKGVERSION.
27516         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27517         (print_version): Use PKGVERSION.
27518         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27519         and PKGVERSION.
27520
27521         * timezone/checktab.awk: Update from tzcode 2012i.
27522         * timezone/ialloc.c: Likewise.
27523         * timezone/private.h: Likewise.
27524         * timezone/scheck.c: Likewise.
27525         * timezone/tzfile.h: Likewise.
27526         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27527         (TZVERSION): Hardcode tzcode version number.
27528         * timezone/zdump.c: Update from tzcode 2012i.
27529         * timezone/zic.c: Likewise.
27530         * timezone/version.h: New file.
27531         * timezone/README: Describe version.h.  Update upstream location.
27532
27533         [BZ #14824]
27534         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27535         (mktemp): Enable declaration.
27536         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27537         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27538         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27539         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27540         Likewise.
27541         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27542         Likewise.
27543         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27544         Likewise.
27545         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27546         Likewise.
27547         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27548         Likewise.
27549         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27550         Likewise.
27551
27552         [BZ #14821]
27553         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27554         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
27555         for copies of such integer values.
27556         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27557         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27558
27559 2012-11-09  Andreas Jaeger  <aj@suse.de>
27560
27561         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27562         definitions and declarations that are provided by
27563         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27564
27565 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27566
27567         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27568         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27569         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27570         definition.
27571
27572 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27573
27574         * elf/elf.h: Update comment before AArch64 relocations.
27575
27576 2012-11-07  David S. Miller  <davem@davemloft.net>
27577
27578         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27579         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27580         (__start_context): Declare.
27581         (__makecontext_ret): Delete.
27582         (__makecontext): Hook up __start_context instead of
27583         __makecontext_ret.
27584         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27585         (sysdep_routines): Add __start_context when in stdlib.
27586
27587 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27588
27589         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27590         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27591         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
27592         hardcoded "nm".
27593         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
27594         (READELF): New variable.  Use it instead of hardcoded "readelf".
27595
27596 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
27597
27598         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27599         * sysdeps/x86/Makefile: Here.
27600         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27601         * sysdeps/x86/tst-xmmymm.sh: This.
27602
27603 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27604
27605         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27606         expectations.
27607         [UNIX98] (pthread_barrier_t): Do not expect.
27608         [UNIX98] (pthread_barrierattr_t): Likewise.
27609         [UNIX98] (pthread_spinlock_t): Likewise.
27610         [UNIX98] (pthread_barrier_destroy): Likewise.
27611         [UNIX98] (pthread_barrier_init): Likewise.
27612         [UNIX98] (pthread_barrier_wait): Likewise.
27613         [UNIX98] (pthread_barrierattr_destroy): Likewise.
27614         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27615         [UNIX98] (pthread_barrierattr_init): Likewise.
27616         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27617         [UNIX98] (pthread_getcpuclockid): Likewise.
27618         [UNIX98] (pthread_mutex_timedlock): Likewise.
27619         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27620         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27621         [UNIX98] (pthread_sigmask): Likewise.
27622         [UNIX98] (pthread_spin_destroy): Likewise.
27623         [UNIX98] (pthread_spin_init): Likewise.
27624         [UNIX98] (pthread_spin_lock): Likewise.
27625         [UNIX98] (pthread_spin_trylock): Likewise.
27626         [UNIX98] (pthread_spin_unlock): Likewise.
27627         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27628         Do not expect.
27629         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27630         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27631         [XPG3 || XPG4] (pthread_cond_t): Likewise.
27632         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27633         [XPG3 || XPG4] (pthread_key_t): Likewise.
27634         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27635         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27636         [XPG3 || XPG4] (pthread_once_t): Likewise.
27637         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27638         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27639         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27640         [XPG3 || XPG4] (pthread_t): Likewise.
27641
27642         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27643         not expect.
27644         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27645
27646         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27647         Change function return type to int.
27648
27649         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27650         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27651         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27652         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27653         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27654         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27655         [!POSIX] (posix_madvise): Likewise.
27656         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27657         && !UNIX98].
27658         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27659         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27660         (mode_t): Likewise.
27661         (posix_mem_offset): Likewise.
27662         (posix_typed_mem_get_info): Likewise.
27663         (posix_typed_mem_open): Likewise.
27664
27665         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27666         Change condition to [XOPEN2K8].
27667
27668         * conform/conformtest.pl: Preprocess allow-header data with -x c
27669         instead of from stdin.
27670         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27671         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27672         [C99-based standards] (cerfc): Likewise.
27673         [C99-based standards] (cexp2): Likewise.
27674         [C99-based standards] (cexpm1): Likewise.
27675         [C99-based standards] (clog10): Likewise.
27676         [C99-based standards] (clog1p): Likewise.
27677         [C99-based standards] (clog2): Likewise.
27678         [C99-based standards] (clgamma): Likewise.
27679         [C99-based standards] (ctgamma): Likewise.
27680         [C99-based standards] (cerff): Likewise.
27681         [C99-based standards] (cerfcf): Likewise.
27682         [C99-based standards] (cexp2f): Likewise.
27683         [C99-based standards] (cexpm1f): Likewise.
27684         [C99-based standards] (clog10f): Likewise.
27685         [C99-based standards] (clog1pf): Likewise.
27686         [C99-based standards] (clog2f): Likewise.
27687         [C99-based standards] (clgammaf): Likewise.
27688         [C99-based standards] (ctgammaf): Likewise.
27689         [C99-based standards] (cerfl): Likewise.
27690         [C99-based standards] (cerfcl): Likewise.
27691         [C99-based standards] (cexp2l): Likewise.
27692         [C99-based standards] (cexpm1l): Likewise.
27693         [C99-based standards] (clog10l): Likewise.
27694         [C99-based standards] (clog1pl): Likewise.
27695         [C99-based standards] (clog2l): Likewise.
27696         [C99-based standards] (clgammal): Likewise.
27697         [C99-based standards] (ctgammal): Likewise.
27698         * conform/data/inttypes.h-data [C99-based standards]: Include
27699         stdint.h-data.  Remove all expectations for stdint.h contents.
27700         [C99-based standards] (PRI*): Do not allow.
27701         [C99-based standards] (SCN*): Likewise.
27702         [C99-based standards] (*_t): Likewise.
27703         [C99-based-standards] (PRId8): Expect macro.
27704         [C99-based-standards] (PRIi8): Likewise.
27705         [C99-based-standards] (PRIo8): Likewise.
27706         [C99-based-standards] (PRIu8): Likewise.
27707         [C99-based-standards] (PRIx8): Likewise.
27708         [C99-based-standards] (PRIX8): Likewise.
27709         [C99-based-standards] (SCNd8): Likewise.
27710         [C99-based-standards] (SCNi8): Likewise.
27711         [C99-based-standards] (SCNo8): Likewise.
27712         [C99-based-standards] (SCNu8): Likewise.
27713         [C99-based-standards] (SCNx8): Likewise.
27714         [C99-based-standards] (PRIdLEAST8): Likewise.
27715         [C99-based-standards] (PRIiLEAST8): Likewise.
27716         [C99-based-standards] (PRIoLEAST8): Likewise.
27717         [C99-based-standards] (PRIuLEAST8): Likewise.
27718         [C99-based-standards] (PRIxLEAST8): Likewise.
27719         [C99-based-standards] (PRIXLEAST8): Likewise.
27720         [C99-based-standards] (SCNdLEAST8): Likewise.
27721         [C99-based-standards] (SCNiLEAST8): Likewise.
27722         [C99-based-standards] (SCNoLEAST8): Likewise.
27723         [C99-based-standards] (SCNuLEAST8): Likewise.
27724         [C99-based-standards] (SCNxLEAST8): Likewise.
27725         [C99-based-standards] (PRIdFAST8): Likewise.
27726         [C99-based-standards] (PRIiFAST8): Likewise.
27727         [C99-based-standards] (PRIoFAST8): Likewise.
27728         [C99-based-standards] (PRIuFAST8): Likewise.
27729         [C99-based-standards] (PRIxFAST8): Likewise.
27730         [C99-based-standards] (PRIXFAST8): Likewise.
27731         [C99-based-standards] (SCNdFAST8): Likewise.
27732         [C99-based-standards] (SCNiFAST8): Likewise.
27733         [C99-based-standards] (SCNoFAST8): Likewise.
27734         [C99-based-standards] (SCNuFAST8): Likewise.
27735         [C99-based-standards] (SCNxFAST8): Likewise.
27736         [C99-based-standards] (PRId16): Likewise.
27737         [C99-based-standards] (PRIi16): Likewise.
27738         [C99-based-standards] (PRIo16): Likewise.
27739         [C99-based-standards] (PRIu16): Likewise.
27740         [C99-based-standards] (PRIx16): Likewise.
27741         [C99-based-standards] (PRIX16): Likewise.
27742         [C99-based-standards] (SCNd16): Likewise.
27743         [C99-based-standards] (SCNi16): Likewise.
27744         [C99-based-standards] (SCNo16): Likewise.
27745         [C99-based-standards] (SCNu16): Likewise.
27746         [C99-based-standards] (SCNx16): Likewise.
27747         [C99-based-standards] (PRIdLEAST16): Likewise.
27748         [C99-based-standards] (PRIiLEAST16): Likewise.
27749         [C99-based-standards] (PRIoLEAST16): Likewise.
27750         [C99-based-standards] (PRIuLEAST16): Likewise.
27751         [C99-based-standards] (PRIxLEAST16): Likewise.
27752         [C99-based-standards] (PRIXLEAST16): Likewise.
27753         [C99-based-standards] (SCNdLEAST16): Likewise.
27754         [C99-based-standards] (SCNiLEAST16): Likewise.
27755         [C99-based-standards] (SCNoLEAST16): Likewise.
27756         [C99-based-standards] (SCNuLEAST16): Likewise.
27757         [C99-based-standards] (SCNxLEAST16): Likewise.
27758         [C99-based-standards] (PRIdFAST16): Likewise.
27759         [C99-based-standards] (PRIiFAST16): Likewise.
27760         [C99-based-standards] (PRIoFAST16): Likewise.
27761         [C99-based-standards] (PRIuFAST16): Likewise.
27762         [C99-based-standards] (PRIxFAST16): Likewise.
27763         [C99-based-standards] (PRIXFAST16): Likewise.
27764         [C99-based-standards] (SCNdFAST16): Likewise.
27765         [C99-based-standards] (SCNiFAST16): Likewise.
27766         [C99-based-standards] (SCNoFAST16): Likewise.
27767         [C99-based-standards] (SCNuFAST16): Likewise.
27768         [C99-based-standards] (SCNxFAST16): Likewise.
27769         [C99-based-standards] (PRId32): Likewise.
27770         [C99-based-standards] (PRIi32): Likewise.
27771         [C99-based-standards] (PRIo32): Likewise.
27772         [C99-based-standards] (PRIu32): Likewise.
27773         [C99-based-standards] (PRIx32): Likewise.
27774         [C99-based-standards] (PRIX32): Likewise.
27775         [C99-based-standards] (SCNd32): Likewise.
27776         [C99-based-standards] (SCNi32): Likewise.
27777         [C99-based-standards] (SCNo32): Likewise.
27778         [C99-based-standards] (SCNu32): Likewise.
27779         [C99-based-standards] (SCNx32): Likewise.
27780         [C99-based-standards] (PRIdLEAST32): Likewise.
27781         [C99-based-standards] (PRIiLEAST32): Likewise.
27782         [C99-based-standards] (PRIoLEAST32): Likewise.
27783         [C99-based-standards] (PRIuLEAST32): Likewise.
27784         [C99-based-standards] (PRIxLEAST32): Likewise.
27785         [C99-based-standards] (PRIXLEAST32): Likewise.
27786         [C99-based-standards] (SCNdLEAST32): Likewise.
27787         [C99-based-standards] (SCNiLEAST32): Likewise.
27788         [C99-based-standards] (SCNoLEAST32): Likewise.
27789         [C99-based-standards] (SCNuLEAST32): Likewise.
27790         [C99-based-standards] (SCNxLEAST32): Likewise.
27791         [C99-based-standards] (PRIdFAST32): Likewise.
27792         [C99-based-standards] (PRIiFAST32): Likewise.
27793         [C99-based-standards] (PRIoFAST32): Likewise.
27794         [C99-based-standards] (PRIuFAST32): Likewise.
27795         [C99-based-standards] (PRIxFAST32): Likewise.
27796         [C99-based-standards] (PRIXFAST32): Likewise.
27797         [C99-based-standards] (SCNdFAST32): Likewise.
27798         [C99-based-standards] (SCNiFAST32): Likewise.
27799         [C99-based-standards] (SCNoFAST32): Likewise.
27800         [C99-based-standards] (SCNuFAST32): Likewise.
27801         [C99-based-standards] (SCNxFAST32): Likewise.
27802         [C99-based-standards] (PRId64): Likewise.
27803         [C99-based-standards] (PRIi64): Likewise.
27804         [C99-based-standards] (PRIo64): Likewise.
27805         [C99-based-standards] (PRIu64): Likewise.
27806         [C99-based-standards] (PRIx64): Likewise.
27807         [C99-based-standards] (PRIX64): Likewise.
27808         [C99-based-standards] (SCNd64): Likewise.
27809         [C99-based-standards] (SCNi64): Likewise.
27810         [C99-based-standards] (SCNo64): Likewise.
27811         [C99-based-standards] (SCNu64): Likewise.
27812         [C99-based-standards] (SCNx64): Likewise.
27813         [C99-based-standards] (PRIdLEAST64): Likewise.
27814         [C99-based-standards] (PRIiLEAST64): Likewise.
27815         [C99-based-standards] (PRIoLEAST64): Likewise.
27816         [C99-based-standards] (PRIuLEAST64): Likewise.
27817         [C99-based-standards] (PRIxLEAST64): Likewise.
27818         [C99-based-standards] (PRIXLEAST64): Likewise.
27819         [C99-based-standards] (SCNdLEAST64): Likewise.
27820         [C99-based-standards] (SCNiLEAST64): Likewise.
27821         [C99-based-standards] (SCNoLEAST64): Likewise.
27822         [C99-based-standards] (SCNuLEAST64): Likewise.
27823         [C99-based-standards] (SCNxLEAST64): Likewise.
27824         [C99-based-standards] (PRIdFAST64): Likewise.
27825         [C99-based-standards] (PRIiFAST64): Likewise.
27826         [C99-based-standards] (PRIoFAST64): Likewise.
27827         [C99-based-standards] (PRIuFAST64): Likewise.
27828         [C99-based-standards] (PRIxFAST64): Likewise.
27829         [C99-based-standards] (PRIXFAST64): Likewise.
27830         [C99-based-standards] (SCNdFAST64): Likewise.
27831         [C99-based-standards] (SCNiFAST64): Likewise.
27832         [C99-based-standards] (SCNoFAST64): Likewise.
27833         [C99-based-standards] (SCNuFAST64): Likewise.
27834         [C99-based-standards] (SCNxFAST64): Likewise.
27835         [C99-based-standards] (PRIdMAX): Likewise.
27836         [C99-based-standards] (PRIiMAX): Likewise.
27837         [C99-based-standards] (PRIoMAX): Likewise.
27838         [C99-based-standards] (PRIuMAX): Likewise.
27839         [C99-based-standards] (PRIxMAX): Likewise.
27840         [C99-based-standards] (PRIXMAX): Likewise.
27841         [C99-based-standards] (SCNdMAX): Likewise.
27842         [C99-based-standards] (SCNiMAX): Likewise.
27843         [C99-based-standards] (SCNoMAX): Likewise.
27844         [C99-based-standards] (SCNuMAX): Likewise.
27845         [C99-based-standards] (SCNxMAX): Likewise.
27846         [C99-based-standards] (PRIdPTR): Likewise.
27847         [C99-based-standards] (PRIiPTR): Likewise.
27848         [C99-based-standards] (PRIoPTR): Likewise.
27849         [C99-based-standards] (PRIuPTR): Likewise.
27850         [C99-based-standards] (PRIxPTR): Likewise.
27851         [C99-based-standards] (PRIXPTR): Likewise.
27852         [C99-based-standards] (SCNdPTR): Likewise.
27853         [C99-based-standards] (SCNiPTR): Likewise.
27854         [C99-based-standards] (SCNoPTR): Likewise.
27855         [C99-based-standards] (SCNuPTR): Likewise.
27856         [C99-based-standards] (SCNxPTR): Likewise.
27857         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27858         allow.
27859         * conform/data/stdint.h-data: Update comments to clarify
27860         requirements.
27861         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
27862         type.
27863         [C99-based standards] (INT8_MAX): Likewise.
27864         [C99-based standards] (INT16_MIN): Likewise.
27865         [C99-based standards] (INT16_MAX): Likewise.
27866         [C99-based standards] (INT32_MIN): Likewise.
27867         [C99-based standards] (INT32_MAX): Likewise.
27868         [C99-based standards] (INT64_MIN): Likewise.
27869         [C99-based standards] (INT64_MAX): Likewise.
27870         [C99-based standards] (UINT8_MAX): Likewise.
27871         [C99-based standards] (UINT16_MAX): Likewise.
27872         [C99-based standards] (UINT32_MAX): Likewise.
27873         [C99-based standards] (UINT64_MAX): Likewise.
27874         [C99-based standards] (INT_LEAST8_MIN): Likewise.
27875         [C99-based standards] (INT_LEAST8_MAX): Likewise.
27876         [C99-based standards] (INT_LEAST16_MIN): Likewise.
27877         [C99-based standards] (INT_LEAST16_MAX): Likewise.
27878         [C99-based standards] (INT_LEAST32_MIN): Likewise.
27879         [C99-based standards] (INT_LEAST32_MAX): Likewise.
27880         [C99-based standards] (INT_LEAST64_MIN): Likewise.
27881         [C99-based standards] (INT_LEAST64_MAX): Likewise.
27882         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27883         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27884         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27885         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27886         [C99-based standards] (INT_FAST8_MIN): Likewise.
27887         [C99-based standards] (INT_FAST8_MAX): Likewise.
27888         [C99-based standards] (INT_FAST16_MIN): Likewise.
27889         [C99-based standards] (INT_FAST16_MAX): Likewise.
27890         [C99-based standards] (INT_FAST32_MIN): Likewise.
27891         [C99-based standards] (INT_FAST32_MAX): Likewise.
27892         [C99-based standards] (INT_FAST64_MIN): Likewise.
27893         [C99-based standards] (INT_FAST64_MAX): Likewise.
27894         [C99-based standards] (UINT_FAST8_MAX): Likewise.
27895         [C99-based standards] (UINT_FAST16_MAX): Likewise.
27896         [C99-based standards] (UINT_FAST32_MAX): Likewise.
27897         [C99-based standards] (UINT_FAST64_MAX): Likewise.
27898         [C99-based standards] (INTPTR_MIN): Likewise.
27899         [C99-based standards] (INTPTR_MAX): Likewise.
27900         [C99-based standards] (UINTPTR_MAX): Likewise.
27901         [C99-based standards] (INTMAX_MIN): Likewise.
27902         [C99-based standards] (INTMAX_MAX): Likewise.
27903         [C99-based standards] (UINTMAX_MAX): Likewise.
27904         [C99-based standards] (PTRDIFF_MIN): Likewise.
27905         [C99-based standards] (PTRDIFF_MAX): Likewise.
27906         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27907         [C99-based standards] (SIZE_MAX): Likewise.
27908         [C99-based standards] (WCHAR_MAX): Likewise.
27909         [C99-based standards] (WINT_MAX): Likewise.
27910         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
27911         constraint on value.
27912         [C99-based standards] (WCHAR_MIN): Likewise.
27913         [C99-based standards] (WINT_MIN): Likewise.
27914         [C99-based standards] (*_t): Allow.
27915         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27916         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27917         Include math.h-data and complex.h-data.  Remove all expectations
27918         of math.h and complex.h contents.
27919         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27920         at end of line.
27921         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27922         (struct tm): Expect tag.
27923         [C99-based-standards] (wcstof): Expect function.
27924         [C99-based-standards] (wcstold): Likewise.
27925         [C99-based-standards] (wcstoll): Likewise.
27926         [C99-based-standards] (wcstoull): Likewise.
27927         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27928         macro-int-constant.  Specify type.
27929         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
27930         constraint on value.
27931         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27932         Specify type.
27933         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27934         Specify value.
27935         [ISO C standards]: Do not allow headers.
27936         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27937         wcs[abcdefghijklmnopqrstuvwxyz]*.
27938         [ISO C standards] (*_t): Do not allow.
27939         * conform/data/wctype.h-data [C99-based standards] (iswblank):
27940         Expect function.
27941         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27942         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27943         Specify type.
27944         [ISO C standards]: Do not allow headers.
27945         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27946         is[abcdefghijklmnopqrstuvwxyz]*.
27947         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27948         to[abcdefghijklmnopqrstuvwxyz]*.
27949         [ISO C standards] (*_t): Do not allow.
27950         * conform/data/stdalign.h-data: New file.
27951         * conform/data/stdbool.h-data: Likewise.
27952         * conform/data/stdnoreturn.h-data: Likewise.
27953
27954 2012-11-07  Roland McGrath  <roland@hack.frob.com>
27955
27956         [BZ #14815]
27957         * manual/filesys.texi (Directory Entries): Typo fix.
27958         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27959
27960 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27961
27962         * elf/elf.h (EM_AARCH64): New macro.
27963         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27964         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27965         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27966         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27967         (R_AARCH64_TLSDESC): Likewise.
27968         (NT_ARM_TLS): Likewise.
27969         (NT_ARM_HW_BREAK): Likewise.
27970         (NT_ARM_HW_WATCH): Likewise.
27971
27972 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27973
27974         [BZ #14811]
27975         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27976         (__ieee754_powl): Saturate nonzero exponents with absolute value
27977         below 0x1p-79 to +/- 0x1p-79.
27978         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27979         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27980         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27981         nonzero exponents with absolute value below 0x1p-32 to +/-
27982         0x1p-32.
27983         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27984         (__ieee754_powl): Saturate nonzero exponents with absolute value
27985         below 0x1p-79 to +/- 0x1p-79.
27986         * math/libm-test.inc (pow_test): Add more tests.
27987
27988 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27989
27990         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27991         _dl_s390_cap_flags with kernel. Increase string length.
27992         (_dl_s390_platforms): Add z196 and zEC12.
27993
27994 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27995
27996         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27997         Change XOPEN21K to XOPEN2K.
27998
27999 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
28000
28001         * string/memmove.c: Use memcpy when possible.
28002
28003 2012-11-06  Andreas Jaeger  <aj@suse.de>
28004
28005         * po/eo.po: Update from translation team.
28006
28007 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
28008
28009         [BZ #14793]
28010         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28011         exponent and small x and y exponents, scale x or y up.  Increase
28012         by 2 the exponent used in scaling up.
28013         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28014         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28015         * math/libm-test.inc (fma_test): Add more tests.
28016         (fma_test_towardzero): Likewise.
28017         (fma_test_downward): Likewise.
28018         (fma_test_upward): Likewise.
28019
28020 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
28021
28022         [BZ #14805]
28023         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28024         fenv_t *.
28025
28026         [BZ #14801]
28027         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28028         namespace for names of struct fields.
28029         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28030         fenv_t fields.
28031         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28032         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28033
28034 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28035
28036         [BZ #3665]
28037         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28038
28039 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28040
28041         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28042         PTR_DEMANGLE.
28043
28044         [BZ #5246]
28045         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28046         PTR_DEMANGLE.
28047
28048 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
28049
28050         [BZ #14797]
28051         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28052         definitely overflow as x * y not x * y + z.
28053         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28054         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28055         * math/libm-test.inc (fma_test): Add more tests.
28056         (fma_test_towardzero): Likewise.
28057         (fma_test_downward): Likewise.
28058         (fma_test_upward): Likewise.
28059
28060 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28061
28062         [BZ #157]
28063
28064         * include/stub-tag.h: Remove file.
28065         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28066         '#include' of it.
28067         * manual/maint.texi (Porting): Don't reference it.
28068         * Makerules ($(objpfx)stubs): Likewise.
28069         * dirent/closedir.c: Don't include <stub-tag.h>.
28070         * dirent/dirfd.c: Likewise.
28071         * dirent/fdopendir.c: Likewise.
28072         * dirent/getdents.c: Likewise.
28073         * dirent/getdents64.c: Likewise.
28074         * dirent/opendir.c: Likewise.
28075         * dirent/readdir.c: Likewise.
28076         * dirent/readdir64.c: Likewise.
28077         * dirent/readdir64_r.c: Likewise.
28078         * dirent/readdir_r.c: Likewise.
28079         * dirent/rewinddir.c: Likewise.
28080         * dirent/seekdir.c: Likewise.
28081         * dirent/telldir.c: Likewise.
28082         * gmon/profil.c: Likewise.
28083         * grp/setgroups.c: Likewise.
28084         * inet/if_index.c: Likewise.
28085         * io/access.c: Likewise.
28086         * io/chdir.c: Likewise.
28087         * io/chmod.c: Likewise.
28088         * io/chown.c: Likewise.
28089         * io/close.c: Likewise.
28090         * io/dup.c: Likewise.
28091         * io/dup2.c: Likewise.
28092         * io/dup3.c: Likewise.
28093         * io/euidaccess.c: Likewise.
28094         * io/faccessat.c: Likewise.
28095         * io/fchdir.c: Likewise.
28096         * io/fchmod.c: Likewise.
28097         * io/fchmodat.c: Likewise.
28098         * io/fchown.c: Likewise.
28099         * io/fchownat.c: Likewise.
28100         * io/fcntl.c: Likewise.
28101         * io/flock.c: Likewise.
28102         * io/fstatfs.c: Likewise.
28103         * io/fstatfs64.c: Likewise.
28104         * io/fstatvfs.c: Likewise.
28105         * io/fstatvfs64.c: Likewise.
28106         * io/futimens.c: Likewise.
28107         * io/fxstat.c: Likewise.
28108         * io/fxstat64.c: Likewise.
28109         * io/fxstatat.c: Likewise.
28110         * io/fxstatat64.c: Likewise.
28111         * io/getcwd.c: Likewise.
28112         * io/isatty.c: Likewise.
28113         * io/lchmod.c: Likewise.
28114         * io/lchown.c: Likewise.
28115         * io/link.c: Likewise.
28116         * io/linkat.c: Likewise.
28117         * io/lseek.c: Likewise.
28118         * io/lseek64.c: Likewise.
28119         * io/lxstat64.c: Likewise.
28120         * io/mkdir.c: Likewise.
28121         * io/mkdirat.c: Likewise.
28122         * io/mkfifo.c: Likewise.
28123         * io/mkfifoat.c: Likewise.
28124         * io/open.c: Likewise.
28125         * io/open64.c: Likewise.
28126         * io/openat.c: Likewise.
28127         * io/openat64.c: Likewise.
28128         * io/pipe.c: Likewise.
28129         * io/pipe2.c: Likewise.
28130         * io/poll.c: Likewise.
28131         * io/posix_fadvise.c: Likewise.
28132         * io/posix_fadvise64.c: Likewise.
28133         * io/posix_fallocate.c: Likewise.
28134         * io/posix_fallocate64.c: Likewise.
28135         * io/read.c: Likewise.
28136         * io/readlink.c: Likewise.
28137         * io/readlinkat.c: Likewise.
28138         * io/rmdir.c: Likewise.
28139         * io/sendfile.c: Likewise.
28140         * io/sendfile64.c: Likewise.
28141         * io/statfs.c: Likewise.
28142         * io/statfs64.c: Likewise.
28143         * io/statvfs.c: Likewise.
28144         * io/statvfs64.c: Likewise.
28145         * io/symlink.c: Likewise.
28146         * io/symlinkat.c: Likewise.
28147         * io/ttyname.c: Likewise.
28148         * io/ttyname_r.c: Likewise.
28149         * io/umask.c: Likewise.
28150         * io/unlink.c: Likewise.
28151         * io/unlinkat.c: Likewise.
28152         * io/utime.c: Likewise.
28153         * io/utimensat.c: Likewise.
28154         * io/write.c: Likewise.
28155         * io/xmknod.c: Likewise.
28156         * io/xmknodat.c: Likewise.
28157         * io/xstat.c: Likewise.
28158         * io/xstat64.c: Likewise.
28159         * login/getpt.c: Likewise.
28160         * login/grantpt.c: Likewise.
28161         * login/unlockpt.c: Likewise.
28162         * math/e_acoshl.c: Likewise.
28163         * math/e_acosl.c: Likewise.
28164         * math/e_asinl.c: Likewise.
28165         * math/e_atan2l.c: Likewise.
28166         * math/e_atanhl.c: Likewise.
28167         * math/e_coshl.c: Likewise.
28168         * math/e_expl.c: Likewise.
28169         * math/e_fmodl.c: Likewise.
28170         * math/e_gammal_r.c: Likewise.
28171         * math/e_hypotl.c: Likewise.
28172         * math/e_j0l.c: Likewise.
28173         * math/e_j1l.c: Likewise.
28174         * math/e_jnl.c: Likewise.
28175         * math/e_lgammal_r.c: Likewise.
28176         * math/e_log10l.c: Likewise.
28177         * math/e_log2l.c: Likewise.
28178         * math/e_logl.c: Likewise.
28179         * math/e_powl.c: Likewise.
28180         * math/e_rem_pio2l.c: Likewise.
28181         * math/e_sinhl.c: Likewise.
28182         * math/e_sqrtl.c: Likewise.
28183         * math/fclrexcpt.c: Likewise.
28184         * math/fedisblxcpt.c: Likewise.
28185         * math/feenablxcpt.c: Likewise.
28186         * math/fegetenv.c: Likewise.
28187         * math/fegetexcept.c: Likewise.
28188         * math/fegetround.c: Likewise.
28189         * math/feholdexcpt.c: Likewise.
28190         * math/fesetenv.c: Likewise.
28191         * math/fesetround.c: Likewise.
28192         * math/feupdateenv.c: Likewise.
28193         * math/fgetexcptflg.c: Likewise.
28194         * math/fraiseexcpt.c: Likewise.
28195         * math/fsetexcptflg.c: Likewise.
28196         * math/ftestexcept.c: Likewise.
28197         * math/k_cosl.c: Likewise.
28198         * math/k_rem_pio2l.c: Likewise.
28199         * math/k_sinl.c: Likewise.
28200         * math/k_tanl.c: Likewise.
28201         * math/s_asinhl.c: Likewise.
28202         * math/s_atanl.c: Likewise.
28203         * math/s_cbrtl.c: Likewise.
28204         * math/s_erfl.c: Likewise.
28205         * math/s_expm1l.c: Likewise.
28206         * math/s_log1pl.c: Likewise.
28207         * math/s_tanhl.c: Likewise.
28208         * misc/acct.c: Likewise.
28209         * misc/brk.c: Likewise.
28210         * misc/chflags.c: Likewise.
28211         * misc/chroot.c: Likewise.
28212         * misc/fchflags.c: Likewise.
28213         * misc/fgetxattr.c: Likewise.
28214         * misc/flistxattr.c: Likewise.
28215         * misc/fremovexattr.c: Likewise.
28216         * misc/fsetxattr.c: Likewise.
28217         * misc/fsync.c: Likewise.
28218         * misc/ftruncate.c: Likewise.
28219         * misc/futimes.c: Likewise.
28220         * misc/futimesat.c: Likewise.
28221         * misc/getdomain.c: Likewise.
28222         * misc/getdtsz.c: Likewise.
28223         * misc/gethostid.c: Likewise.
28224         * misc/gethostname.c: Likewise.
28225         * misc/getloadavg.c: Likewise.
28226         * misc/getpagesize.c: Likewise.
28227         * misc/getsysstats.c: Likewise.
28228         * misc/getxattr.c: Likewise.
28229         * misc/gtty.c: Likewise.
28230         * misc/ioctl.c: Likewise.
28231         * misc/lgetxattr.c: Likewise.
28232         * misc/listxattr.c: Likewise.
28233         * misc/llistxattr.c: Likewise.
28234         * misc/lremovexattr.c: Likewise.
28235         * misc/lsetxattr.c: Likewise.
28236         * misc/lutimes.c: Likewise.
28237         * misc/madvise.c: Likewise.
28238         * misc/mincore.c: Likewise.
28239         * misc/mlock.c: Likewise.
28240         * misc/mlockall.c: Likewise.
28241         * misc/mmap.c: Likewise.
28242         * misc/mprotect.c: Likewise.
28243         * misc/msync.c: Likewise.
28244         * misc/munlock.c: Likewise.
28245         * misc/munlockall.c: Likewise.
28246         * misc/munmap.c: Likewise.
28247         * misc/preadv.c: Likewise.
28248         * misc/preadv64.c: Likewise.
28249         * misc/ptrace.c: Likewise.
28250         * misc/pwritev.c: Likewise.
28251         * misc/pwritev64.c: Likewise.
28252         * misc/readv.c: Likewise.
28253         * misc/reboot.c: Likewise.
28254         * misc/remap_file_pages.c: Likewise.
28255         * misc/removexattr.c: Likewise.
28256         * misc/revoke.c: Likewise.
28257         * misc/select.c: Likewise.
28258         * misc/setdomain.c: Likewise.
28259         * misc/setegid.c: Likewise.
28260         * misc/seteuid.c: Likewise.
28261         * misc/sethostid.c: Likewise.
28262         * misc/sethostname.c: Likewise.
28263         * misc/setregid.c: Likewise.
28264         * misc/setreuid.c: Likewise.
28265         * misc/setxattr.c: Likewise.
28266         * misc/sstk.c: Likewise.
28267         * misc/stty.c: Likewise.
28268         * misc/swapoff.c: Likewise.
28269         * misc/swapon.c: Likewise.
28270         * misc/sync.c: Likewise.
28271         * misc/syncfs.c: Likewise.
28272         * misc/syscall.c: Likewise.
28273         * misc/truncate.c: Likewise.
28274         * misc/ualarm.c: Likewise.
28275         * misc/usleep.c: Likewise.
28276         * misc/ustat.c: Likewise.
28277         * misc/utimes.c: Likewise.
28278         * misc/vhangup.c: Likewise.
28279         * misc/writev.c: Likewise.
28280         * posix/_exit.c: Likewise.
28281         * posix/alarm.c: Likewise.
28282         * posix/execve.c: Likewise.
28283         * posix/fexecve.c: Likewise.
28284         * posix/fork.c: Likewise.
28285         * posix/fpathconf.c: Likewise.
28286         * posix/getaddrinfo.c: Likewise.
28287         * posix/getegid.c: Likewise.
28288         * posix/geteuid.c: Likewise.
28289         * posix/getgid.c: Likewise.
28290         * posix/getgroups.c: Likewise.
28291         * posix/getlogin.c: Likewise.
28292         * posix/getlogin_r.c: Likewise.
28293         * posix/getpgid.c: Likewise.
28294         * posix/getpid.c: Likewise.
28295         * posix/getppid.c: Likewise.
28296         * posix/getresgid.c: Likewise.
28297         * posix/getresuid.c: Likewise.
28298         * posix/getsid.c: Likewise.
28299         * posix/getuid.c: Likewise.
28300         * posix/glob64.c: Likewise.
28301         * posix/nanosleep.c: Likewise.
28302         * posix/pathconf.c: Likewise.
28303         * posix/pause.c: Likewise.
28304         * posix/posix_madvise.c: Likewise.
28305         * posix/pread.c: Likewise.
28306         * posix/pread64.c: Likewise.
28307         * posix/pwrite.c: Likewise.
28308         * posix/pwrite64.c: Likewise.
28309         * posix/sched_getaffinity.c: Likewise.
28310         * posix/sched_getp.c: Likewise.
28311         * posix/sched_gets.c: Likewise.
28312         * posix/sched_primax.c: Likewise.
28313         * posix/sched_primin.c: Likewise.
28314         * posix/sched_rr_gi.c: Likewise.
28315         * posix/sched_setaffinity.c: Likewise.
28316         * posix/sched_setp.c: Likewise.
28317         * posix/sched_sets.c: Likewise.
28318         * posix/sched_yield.c: Likewise.
28319         * posix/setgid.c: Likewise.
28320         * posix/setlogin.c: Likewise.
28321         * posix/setpgid.c: Likewise.
28322         * posix/setresgid.c: Likewise.
28323         * posix/setresuid.c: Likewise.
28324         * posix/setsid.c: Likewise.
28325         * posix/setuid.c: Likewise.
28326         * posix/sleep.c: Likewise.
28327         * posix/spawni.c: Likewise.
28328         * posix/sysconf.c: Likewise.
28329         * posix/times.c: Likewise.
28330         * posix/wait.c: Likewise.
28331         * posix/wait3.c: Likewise.
28332         * posix/wait4.c: Likewise.
28333         * posix/waitpid.c: Likewise.
28334         * resolv/gai_sigqueue.c: Likewise.
28335         * resource/getpriority.c: Likewise.
28336         * resource/getrlimit.c: Likewise.
28337         * resource/getrusage.c: Likewise.
28338         * resource/nice.c: Likewise.
28339         * resource/setpriority.c: Likewise.
28340         * resource/setrlimit.c: Likewise.
28341         * resource/ulimit.c: Likewise.
28342         * rt/aio_cancel.c: Likewise.
28343         * rt/aio_fsync.c: Likewise.
28344         * rt/aio_read.c: Likewise.
28345         * rt/aio_sigqueue.c: Likewise.
28346         * rt/aio_suspend.c: Likewise.
28347         * rt/aio_write.c: Likewise.
28348         * rt/clock_getres.c: Likewise.
28349         * rt/clock_gettime.c: Likewise.
28350         * rt/clock_nanosleep.c: Likewise.
28351         * rt/clock_settime.c: Likewise.
28352         * rt/lio_listio.c: Likewise.
28353         * rt/mq_close.c: Likewise.
28354         * rt/mq_getattr.c: Likewise.
28355         * rt/mq_notify.c: Likewise.
28356         * rt/mq_open.c: Likewise.
28357         * rt/mq_receive.c: Likewise.
28358         * rt/mq_send.c: Likewise.
28359         * rt/mq_setattr.c: Likewise.
28360         * rt/mq_timedreceive.c: Likewise.
28361         * rt/mq_timedsend.c: Likewise.
28362         * rt/mq_unlink.c: Likewise.
28363         * rt/shm_open.c: Likewise.
28364         * rt/shm_unlink.c: Likewise.
28365         * rt/timer_create.c: Likewise.
28366         * rt/timer_delete.c: Likewise.
28367         * rt/timer_getoverr.c: Likewise.
28368         * rt/timer_gettime.c: Likewise.
28369         * rt/timer_settime.c: Likewise.
28370         * setjmp/__longjmp.c: Likewise.
28371         * setjmp/setjmp.c: Likewise.
28372         * signal/kill.c: Likewise.
28373         * signal/killpg.c: Likewise.
28374         * signal/raise.c: Likewise.
28375         * signal/sigaction.c: Likewise.
28376         * signal/sigaltstack.c: Likewise.
28377         * signal/sigblock.c: Likewise.
28378         * signal/sigignore.c: Likewise.
28379         * signal/sigintr.c: Likewise.
28380         * signal/signal.c: Likewise.
28381         * signal/sigpause.c: Likewise.
28382         * signal/sigpending.c: Likewise.
28383         * signal/sigqueue.c: Likewise.
28384         * signal/sigreturn.c: Likewise.
28385         * signal/sigset.c: Likewise.
28386         * signal/sigsetmask.c: Likewise.
28387         * signal/sigstack.c: Likewise.
28388         * signal/sigsuspend.c: Likewise.
28389         * signal/sigtimedwait.c: Likewise.
28390         * signal/sigvec.c: Likewise.
28391         * signal/sigwait.c: Likewise.
28392         * signal/sigwaitinfo.c: Likewise.
28393         * signal/sysv_signal.c: Likewise.
28394         * socket/accept.c: Likewise.
28395         * socket/accept4.c: Likewise.
28396         * socket/bind.c: Likewise.
28397         * socket/connect.c: Likewise.
28398         * socket/getpeername.c: Likewise.
28399         * socket/getsockname.c: Likewise.
28400         * socket/getsockopt.c: Likewise.
28401         * socket/isfdtype.c: Likewise.
28402         * socket/listen.c: Likewise.
28403         * socket/recv.c: Likewise.
28404         * socket/recvfrom.c: Likewise.
28405         * socket/recvmsg.c: Likewise.
28406         * socket/send.c: Likewise.
28407         * socket/sendmsg.c: Likewise.
28408         * socket/sendto.c: Likewise.
28409         * socket/setsockopt.c: Likewise.
28410         * socket/shutdown.c: Likewise.
28411         * socket/sockatmark.c: Likewise.
28412         * socket/socket.c: Likewise.
28413         * socket/socketpair.c: Likewise.
28414         * stdio-common/ctermid.c: Likewise.
28415         * stdio-common/cuserid.c: Likewise.
28416         * stdio-common/remove.c: Likewise.
28417         * stdio-common/rename.c: Likewise.
28418         * stdio-common/renameat.c: Likewise.
28419         * stdio-common/tempname.c: Likewise.
28420         * stdlib/getcontext.c: Likewise.
28421         * stdlib/makecontext.c: Likewise.
28422         * stdlib/setcontext.c: Likewise.
28423         * stdlib/swapcontext.c: Likewise.
28424         * stdlib/system.c: Likewise.
28425         * streams/fattach.c: Likewise.
28426         * streams/fdetach.c: Likewise.
28427         * streams/getmsg.c: Likewise.
28428         * streams/getpmsg.c: Likewise.
28429         * streams/putmsg.c: Likewise.
28430         * streams/putpmsg.c: Likewise.
28431         * sysdeps/unix/bsd/getpt.c: Likewise.
28432         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28433         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28434         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28436         Likewise.
28437         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28438         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28439         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28440         * sysvipc/msgctl.c: Likewise.
28441         * sysvipc/msgget.c: Likewise.
28442         * sysvipc/msgrcv.c: Likewise.
28443         * sysvipc/msgsnd.c: Likewise.
28444         * sysvipc/semctl.c: Likewise.
28445         * sysvipc/semget.c: Likewise.
28446         * sysvipc/semop.c: Likewise.
28447         * sysvipc/semtimedop.c: Likewise.
28448         * sysvipc/shmat.c: Likewise.
28449         * sysvipc/shmctl.c: Likewise.
28450         * sysvipc/shmdt.c: Likewise.
28451         * sysvipc/shmget.c: Likewise.
28452         * termios/tcdrain.c: Likewise.
28453         * termios/tcflow.c: Likewise.
28454         * termios/tcflush.c: Likewise.
28455         * termios/tcgetattr.c: Likewise.
28456         * termios/tcgetpgrp.c: Likewise.
28457         * termios/tcsendbrk.c: Likewise.
28458         * termios/tcsetattr.c: Likewise.
28459         * termios/tcsetpgrp.c: Likewise.
28460         * time/adjtime.c: Likewise.
28461         * time/clock.c: Likewise.
28462         * time/getitimer.c: Likewise.
28463         * time/gettimeofday.c: Likewise.
28464         * time/setitimer.c: Likewise.
28465         * time/settimeofday.c: Likewise.
28466         * time/stime.c: Likewise.
28467         * time/time.c: Likewise.
28468
28469 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
28470
28471         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28472         /usr/old/bin.
28473
28474         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28475         instead of spaces.
28476         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28477
28478 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
28479
28480         [BZ #14796]
28481         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28482         FE_TONEAREST before applying Dekker multiplication and Knuth
28483         addition.  Clear inexact exceptions and check for exact zero
28484         results afterwards.
28485         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28486         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28487         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28488         * math/libm-test.inc (fma_test): Add more tests.
28489         (fma_test_towardzero): Likewise.
28490         (fma_test_downward): Likewise.
28491         (fma_test_upward): Likewise.
28492         * sysdeps/generic/math_private.h (default_libc_fesetround): New
28493         function.
28494         (libc_fesetround): New macro.
28495         (libc_fesetroundf): Likewise.
28496         (libc_fesetroundl): Likewise.
28497         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28498         function.
28499         (libc_fesetround_387): Likewise.
28500         (libc_fesetroundf): New macro.
28501         (libc_fesetround): Likewise.
28502         (libc_fesetroundl): Likewise.
28503         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28504         function.
28505         (libc_fesetroundf): New macro.
28506         (libc_fesetround): Likewise.
28507         (libc_fesetroundl): Likewise.
28508         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28509         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28510         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28511         libm_hidden_ver.
28512         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28513         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28514         libm_hidden_def.
28515         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28516         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28517         libm_hidden_ver.
28518         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28519         libm_hidden_def.
28520
28521         [BZ #3439]
28522         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28523         integer constant usable in #if and use that to give value to enum
28524         constant.
28525         (FE_DIVBYZERO): Likewise.
28526         (FE_UNDERFLOW): Likewise.
28527         (FE_OVERFLOW): Likewise.
28528         (FE_INVALID): Likewise.
28529         (FE_INVALID_SNAN): Likewise.
28530         (FE_INVALID_ISI): Likewise.
28531         (FE_INVALID_IDI): Likewise.
28532         (FE_INVALID_ZDZ): Likewise.
28533         (FE_INVALID_IMZ): Likewise.
28534         (FE_INVALID_COMPARE): Likewise.
28535         (FE_INVALID_SOFTWARE): Likewise.
28536         (FE_INVALID_SQRT): Likewise.
28537         (FE_INVALID_INTEGER_CONVERSION): Likewise.
28538         (FE_TONEAREST): Likewise.
28539         (FE_TOWARDZERO): Likewise.
28540         (FE_UPWARD): Likewise.
28541         (FE_DOWNWARD): Likewise.
28542         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28543         (FE_DIVBYZERO): Likewise.
28544         (FE_OVERFLOW): Likewise.
28545         (FE_UNDERFLOW): Likewise.
28546         (FE_INEXACT): Likewise.
28547         (FE_TONEAREST): Likewise.
28548         (FE_DOWNWARD): Likewise.
28549         (FE_UPWARD): Likewise.
28550         (FE_TOWARDZERO): Likewise.
28551         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28552         (FE_UNDERFLOW): Likewise.
28553         (FE_OVERFLOW): Likewise.
28554         (FE_DIVBYZERO): Likewise.
28555         (FE_INVALID): Likewise.
28556         (FE_TONEAREST): Likewise.
28557         (FE_TOWARDZERO): Likewise.
28558         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28559         (FE_OVERFLOW): Likewise.
28560         (FE_UNDERFLOW): Likewise.
28561         (FE_DIVBYZERO): Likewise.
28562         (FE_INEXACT): Likewise.
28563         (FE_TONEAREST): Likewise.
28564         (FE_TOWARDZERO): Likewise.
28565         (FE_UPWARD): Likewise.
28566         (FE_DOWNWARD): Likewise.
28567         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28568         (FE_DIVBYZERO): Likewise.
28569         (FE_OVERFLOW): Likewise.
28570         (FE_UNDERFLOW): Likewise.
28571         (FE_INEXACT): Likewise.
28572         (FE_TONEAREST): Likewise.
28573         (FE_DOWNWARD): Likewise.
28574         (FE_UPWARD): Likewise.
28575         (FE_TOWARDZERO): Likewise.
28576
28577 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
28578
28579         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28580
28581 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
28582
28583         * scripts/cross-test-ssh.sh (command): Use newlines to separate
28584         commands.  Quote $PWD.
28585         (blacklist_exports): Don't use remove_newlines.  Replace "declare
28586         -x" by "export".
28587         (remove_newlines): Remove.
28588
28589 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
28590
28591         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28592         * stdlib/stdlib.h (atof): Moved to ...
28593         * include/bits/stdlib-float.h: Here.  New file.
28594         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28595         * stdlib/bits/stdlib-float.h: New file.
28596         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28597         -mno-sse -mno-mmx.
28598         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28599         <xmmintrin.h>.
28600
28601 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
28602
28603         * conform/conformtest.pl (@headers): Add fenv.h.
28604         * conform/data/fenv.h-data: New file.
28605         * include/fenv.h [_ISOMAC]: Disable all contents of file except
28606         include of <math/fenv.h>.
28607
28608         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28609         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28610         && !UNIX98].  Enables tests for XOPEN2K8.
28611         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28612         POSIX2008]: Likewise.
28613
28614         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28615         (struct rusage): Do not expect type or its members.
28616
28617         [BZ #3439]
28618         * math/math.h (FP_NAN): Define macro to integer constant usable in
28619         #if and use that to give value to enum constant.
28620         (FP_INFINITE): Likewise.
28621         (FP_ZERO): Likewise.
28622         (FP_SUBNORMAL): Likewise.
28623         (FP_NORMAL): Likewise.
28624
28625 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
28626
28627         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28628         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28629         arguments.
28630
28631 2012-11-02  Roland McGrath  <roland@hack.frob.com>
28632
28633         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28634         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28635         autoconf-time if not.
28636         * configure.in: Remove AC_PREREQ.
28637
28638 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28639
28640         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28641         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28642         of the internal implementation.
28643
28644 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
28645
28646         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28647         except include of <misc/sys/syslog.h>.
28648
28649 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28650
28651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28652         function returns with a NULL context exit with zero.
28653
28654 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28655
28656         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28657
28658 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
28659
28660         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28661         (run_program_cmd): This.
28662         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28663         (tst_langinfo): New variable.  Use it.
28664
28665 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
28666
28667         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28668         floating point opcodes.
28669
28670 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28671
28672         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28673         variable.
28674
28675         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28676
28677         * sysdeps/mach/hurd/powerpc: Remove directory.
28678         * sysdeps/mach/powerpc: Likewise.
28679
28680 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28681
28682         * scripts/check-local-headers.sh: Ignore c++ headers.
28683
28684 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28685
28686         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28687         __libc_cleanup_region_start argument.
28688
28689 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
28690
28691         [BZ #14784]
28692         [BZ #14785]
28693         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28694         x * y using scaling, not as x * y + z.
28695         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28696         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28697         * math/libm-test.inc (fma_test): Add more tests.
28698         (fma_test_towardzero): Likewise.
28699         (fma_test_downward): Likewise.
28700         (fma_test_upward): Likewise.
28701
28702 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28703
28704         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28705
28706 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
28707
28708         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28709         New variable.
28710
28711 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
28712
28713         * rt/tst-shm.c (worker): Correct checking for mmap failure.
28714
28715 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
28716
28717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28718         Fix sort order.
28719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28720         Likewise.
28721
28722 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28723
28724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28725         Fix the order of the list for glibc 2.17.
28726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28727         Likewise.
28728
28729 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
28730
28731         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28732
28733 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
28734
28735         [BZ #14610]
28736         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28737         for low part of x being zero before using __atanl (y).
28738         * math/libm-test.inc (atan2_test): Add another test.
28739
28740         * manual/install.texi (Configuring and compiling): Document
28741         general use of test-wrapper and test-wrapper-env.
28742         * INSTALL: Regenerated.
28743
28744         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28745         (__fma): Do not extract and scale down low bits on after-rounding
28746         systems when result rounded to normal precision would have normal
28747         exponent.
28748         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28749         (__fmal): Do not extract and scale down low bits on after-rounding
28750         systems when result rounded to normal precision would have normal
28751         exponent.
28752         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28753         (__fmal): Do not extract and scale down low bits on after-rounding
28754         systems when result rounded to normal precision would have normal
28755         exponent.
28756         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28757         macro.
28758         (fma_test): Add more tests.
28759         (fma_test_towardzero): Likewise.
28760         (fma_test_downward): Likewise.
28761         (fma_test_upward): Likewise.
28762
28763 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
28764
28765         * sysdeps/i386/tininess.h: Renamed to ...
28766         * sysdeps/x86/tininess.h: This.
28767         * sysdeps/x86_64/tininess.h: Removed.
28768
28769 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
28770
28771         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28772         input.  Use $(build-program-cmd).
28773         ($(objpfx)tst-array1-static.out): Likewise.
28774         ($(objpfx)tst-array2.out): Likewise.
28775         ($(objpfx)tst-array3.out): Likewise.
28776         ($(objpfx)tst-array4.out): Likewise.
28777         ($(objpfx)tst-array5.out): Likewise.
28778         ($(objpfx)tst-array5-static.out): Likewise.
28779
28780 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
28781
28782         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28783         if defined.
28784
28785         * nss/nsswitch.h (nss_interface_function): Provide new
28786         macro for use with NSS functions.
28787         * grp/initgroups.c: Use new macro.
28788         * nss/getXXbyYY.c: Likewise.
28789         * nss/getXXbyYY_r.c: Likewise.
28790         * nss/getXXent.c: Likewise.
28791         * nss/getXXent_r.c: Likewise.
28792         * sysdeps/posix/getaddrinfo.c: Likewise.
28793
28794 2012-10-30  Andreas Jaeger  <aj@suse.de>
28795
28796         * po/ru.po: Update Russion translation from translation project.
28797
28798 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
28799
28800         [BZ #14152]
28801         [BZ #14783]
28802         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28803         result and shift together with sticky bit instead of replicating
28804         round-to-nearest rounding.
28805         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28806         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28807         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
28808         missing underflow exceptions.
28809         (fma_test_towardzero): Add more tests.
28810         (fma_test_downward): Likewise.
28811         (fma_test_upward): Likewise.
28812
28813         [BZ #14047]
28814         * sysdeps/generic/tininess.h: New file.
28815         * sysdeps/i386/tininess.h: Likewise.
28816         * sysdeps/sh/tininess.h: Likewise.
28817         * sysdeps/x86_64/tininess.h: Likewise.
28818         * stdlib/tst-strtod-underflow.c: Likewise.
28819         * stdlib/tst-tininess.c: Likewise.
28820         * stdlib/strtod_l.c: Include <tininess.h>.
28821         (round_and_return): Do not set errno for exact underflow cases.
28822         Force an underflow exception when setting errno for underflow.
28823         Determine underflow based on rounding to normal precision if
28824         TININESS_AFTER_ROUNDING.
28825         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28826         ERANGE for exact underflow cases.
28827         * stdlib/Makefile (tests): Add tst-tininess and
28828         tst-strtod-underflow.
28829         ($(objpfx)tst-tininess): Use $(link-libm).
28830         ($(objpfx)tst-strtod-underflow): Likewise.
28831
28832 2012-10-30  Andreas Jaeger  <aj@suse.de>
28833
28834         [BZ#14767]
28835         * elf/Makefile (tests): Remove conditional for have-initfini-array
28836         since this is now always required and the variable does not exist
28837         anymore.
28838         (tests-static): Likewise.
28839         (modules-names): Likewise.
28840
28841         * po/eo.po: Add Esperanto translation from translation project.
28842
28843         * elf/tst-array1.c (fini_array): Make writeable so that it can be
28844         merged with constructor/destructor.
28845         (init_array): Likewise.
28846         * elf/tst-array2dep.c (fini_array): Likewise.
28847         (init_array): Likewise.
28848
28849 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
28850
28851         * manual/message.texi: Delete @cartouche tags.
28852
28853 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
28854
28855         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28856         EOPNOTSUPP.
28857         * sysdeps/mach/hurd/fsync.c: Likewise.
28858
28859         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28860         [_POSIX_REALTIME_SIGNALS]: Change condition to
28861         [_POSIX_REALTIME_SIGNALS > 0].
28862
28863 2012-10-27  Andreas Jaeger  <aj@suse.de>
28864
28865         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28866         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28867         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28868         [__WORDSIZE != 64]: Likewise.
28869
28870 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
28871
28872         *  iconvdata/tst-table.sh: Remove ${SHELL}.
28873         *  iconvdata/tst-tables.sh: Likewise.
28874
28875 2012-10-25  David S. Miller  <davem@davemloft.net>
28876
28877         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28878         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28879         of strtoull.
28880
28881         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28882         ifunc-impl-list.c
28883         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28884         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28885         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28886         file.
28887
28888 2012-10-25  Roland McGrath  <roland@hack.frob.com>
28889
28890         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28891         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28892         __getdirentries.
28893
28894 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
28895             Jim Blandy  <jimb@codesourcery.com>
28896
28897         * scripts/cross-test-ssh.sh: New file.
28898         * manual/install.texi (Configuring and compiling): Document use of
28899         cross-test-ssh.sh.
28900         * INSTALL: Regenerated.
28901
28902 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
28903
28904         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28905         EOPNOTSUPP.
28906
28907 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
28908
28909         * Makeconfig (run-program-prefix): Fix comment.
28910
28911 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
28912             Jim Blandy  <jimb@codesourcery.com>
28913
28914         * Makeconfig (test-wrapper): New variable,
28915         (test-wrapper-env): Likewise.
28916         [$(cross-compiling) = yes && $(test-wrapper) != ""]
28917         (run-built-tests): Define to yes.
28918         (run-program-prefix): Use $(test-wrapper).
28919         (built-program-cmd): Likewise.
28920         * Rules (make-test-out): Use $(test-wrapper-env) and
28921         $(host-built-program-cmd).
28922         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28923         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28924         tst-pathopt.sh.
28925         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28926         $(test-wrapper-env) to tst-rtld-load-self.sh.
28927         ($(objpfx)order2.out): Use $(test-wrapper).
28928         ($(objpfx)tst-initorder.out): Likewise.
28929         ($(objpfx)tst-initorder2.out): Likewise.
28930         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28931         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28932         (test_wrapper_env): New variable.  Use it to run ld.so.
28933         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28934         Use it to run ld.so.
28935         (test_wrapper_env): Likewise.
28936         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28937         $(test-wrapper) to run-iconv-test.sh.
28938         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28939         (ICONV): Use $test_wrapper.
28940         * posix/Makefile ($(objpfx)globtest.out): Pass
28941         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28942         globtest.sh, not $(run-program-prefix).
28943         * posix/globtest.sh (run_via_rtld_prefix): New variable.
28944         (test_wrapper): Likewise.
28945         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
28946         set together with run_via_rtld_prefix.
28947         (run_program_prefix): Define in terms of test_wrapper and
28948         run_via_rtld_prefix.
28949
28950 2012-10-24  Roland McGrath  <roland@hack.frob.com>
28951
28952         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28953         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28954         Targets removed.
28955
28956         [BZ #14743]
28957         * include/time.h: Remove librt_hidden_proto (clock_gettime).
28958         Declare __clock_getres, __clock_gettime, __clock_settime,
28959         __clock_nanosleep, and __clock_getcpuclockid.
28960         * rt/clock_gettime.c: Define __clock_gettime as an alias.
28961         Remove librt_hidden_def (clock_gettime).
28962         * sysdeps/unix/clock_gettime.c: Likewise.
28963         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28964         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28965         * rt/clock_getres.c: Define __clock_getres as an alias.
28966         * sysdeps/posix/clock_getres.c: Likewise.
28967         * rt/clock_settime.c: Define __clock_settime as an alias.
28968         * sysdeps/unix/clock_settime.c: Likewise.
28969         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28970         * sysdeps/unix/clock_nanosleep.c: Likewise.
28971         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28972         * rt/clock-compat.c: New file.
28973         * rt/Makefile (librt-routines): Add clock-compat and move
28974         $(clock-routines) to ...
28975         (routines): ... here, new variable.
28976         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28977         Don't add get_clockfreq here.
28978         * rt/Versions (libc: GLIBC_2.17): New version set.
28979         Add clock_* symbols here.
28980         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
28981         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28982         (GLIBC_2.17): Add clock_* symbols.
28983         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28984         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28985         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28987         Likewise.
28988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28989         Likewise.
28990         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28991         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28992         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28993         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28994         * NEWS: Mention the move.
28995
28996         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28997         Use __open, __read, __close rather than their public counterparts.
28998         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28999         (__get_clockfreq_via_cpuinfo): Likewise.
29000         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29001         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29002
29003         * config.h.in (HAVE_IFUNC): New #undef.
29004         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29005         was successful.
29006         * configure: Regenerated.
29007
29008 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29009
29010         * configure.in: Move READELF check to start of file.
29011         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29012         libc_cv_asm_gnu_indirect_function in the process.
29013         * configure: Regenerated.
29014
29015 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29016
29017         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29018         send the output to /dev/null.
29019         (libc_cv_cc_with_libunwind): Likewise.
29020         (libc_cv_as_noexecstack): Likewise.
29021         * configure: Regenerate.
29022
29023 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29024
29025         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29026
29027         * posix/globtest.sh (TMPDIR): Do not set.
29028         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29029         (testout): Likewise.
29030
29031 2012-10-24  Andreas Jaeger  <aj@suse.de>
29032
29033         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29034         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29035         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29036         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29037         posix_fadvise64, posix_fallocate64.
29038
29039         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29040         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29041         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29042         Likewise.
29043         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29044         Likewise.
29045         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29046
29047         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29048         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29049         <bits/fcntl-linux.h>.
29050         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29051
29052         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29053         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29054         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29055         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29056         [__WORDSIZE != 64]: Likewise.
29057
29058 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29059
29060         * Makeconfig (run-built-tests): New variable.
29061         * Rules [$(cross-compiling) = yes]: Change condition to
29062         [$(run-built-tests) = no].
29063         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29064         to [$(run-built-tests) = yes].
29065         * elf/Makefile [$(cross-compiling) = no]: Likewise
29066         * grp/Makefile [$(cross-compiling) = no]: Likewise.
29067         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29068         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29069         * intl/Makefile [$(cross-compiling) = no]: Likewise.
29070         * io/Makefile [$(cross-compiling) = no]: Likewise.
29071         * libio/Makefile [$(cross-compiling) = no]: Likewise.
29072         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29073         * misc/Makefile [$(cross-compiling) = no]: Likewise.
29074         * posix/Makefile [$(cross-compiling) = no]: Likewise.
29075         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29076         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29077         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29078         * string/Makefile [$(cross-compiling) = no]: Likewise.
29079
29080         * posix/Makefile ($(objpfx)globtest.out): Pass
29081         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29082         $(rtld-installed-name).
29083         * posix/globtest.sh (elf_objpfx): Remove variable.
29084         (rtld_installed_name): Likewise.
29085         (library_path): Likewise.
29086         (run_program_prefix): New variable.  Use for running globtest
29087         binary.
29088
29089 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
29090             Joseph Myers  <joseph@codesourcery.com>
29091
29092         * Makeconfig (host-built-program-cmd): New variable.
29093         * elf/Makefile (tst-stackguard1-ARGS): Use
29094         $(host-built-program-cmd).
29095         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29096         (tst-spawn-ARGS): Likewise.
29097         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29098
29099 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29100             Jim Blandy  <jimb@codesourcery.com>
29101
29102         * Makeconfig (run-via-rtld-prefix): New variable.
29103         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29104         (built-program-cmd): Likewise.
29105
29106 2012-10-22  Andreas Jaeger  <aj@suse.de>
29107
29108         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29109         __O_RSYNC if it exists, otherwise to O_SYNC.
29110
29111 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
29112             Joseph Myers  <joseph@codesourcery.com>
29113
29114         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29115         /dev/null.
29116         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29117         from /dev/null
29118         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29119         /dev/null.
29120
29121 2012-10-22  Andreas Jaeger  <aj@suse.de>
29122
29123         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29124         Define always.
29125         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29126
29127         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29128         bits/fcntl-linux.h.
29129
29130         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29131         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29132
29133         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29134         to __O_LARGEFILE.
29135         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29136         to __O_LARGEFILE.
29137
29138 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
29139             Joseph Myers  <joseph@codesourcery.com>
29140
29141         * config.make.in (NM): New variable.
29142
29143 2012-10-21  Andreas Jaeger  <aj@suse.de>
29144
29145         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29146         definitions and declarations that are provided by
29147         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29148
29149 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29150
29151         [BZ #14683]
29152         * elf/Makefile (tests-static): Add tst-leaks1-static.
29153         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29154         ($(objpfx)tst-leaks1-static): New rule.
29155         ($(objpfx)tst-leaks1-static-mem): Likewise.
29156         (tst-leaks1-static-ENV): New macro.
29157         * elf/dl-open.c (dl_open_worker): Check the main application
29158         only if SHARED is defined.
29159         * elf/tst-leaks1-static.c: New file.
29160
29161 2012-10-20  Andreas Jaeger  <aj@suse.de>
29162
29163         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29164         generic values for Linux.
29165         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29166         and declarations that are provided by <bits/fcntl-linux.h> and
29167         include <bits/fcntl-linux.h>.
29168         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29169         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29170
29171 2012-10-20  Roland McGrath  <roland@hack.frob.com>
29172
29173         * io/fcntl.h: Move include of <bits/types.h> to the top and
29174         include it unconditionally.
29175
29176 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29177
29178         * wcsmbs/Makefile (tests-ifunc): New variable.
29179         (tests): Add $(tests-ifunc).
29180         * wcsmbs/test-wcschr-ifunc.c: New file.
29181         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29182         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29183         * wcsmbs/test-wcslen-ifunc.c: Likewise.
29184         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29185         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29186
29187         * string/Makefile (tests-ifunc): New variable.
29188         (tests): Add $(tests-ifunc).
29189         * string/test-memccpy.c (TEST_NAME): New macro.
29190         * string/test-memchr.c (TEST_NAME): Likewise.
29191         * string/test-memcmp.c (TEST_NAME): Likewise.
29192         * string/test-memcpy.c (TEST_NAME): Likewise.
29193         * string/test-memmem.c (TEST_NAME): Likewise.
29194         * string/test-memmove.c (TEST_NAME): Likewise.
29195         * string/test-memset.c (TEST_NAME): Likewise.
29196         * string/test-rawmemchr.c (TEST_NAME): Likewise.
29197         * string/test-stpcpy.c (TEST_NAME): Likewise.
29198         * string/test-stpncpy.c (TEST_NAME): Likewise.
29199         * string/test-strcasecmp.c (TEST_NAME): Likewise.
29200         * string/test-strcasestr.c (TEST_NAME): Likewise.
29201         * string/test-strcat.c (TEST_NAME): Likewise.
29202         * string/test-strchr.c (TEST_NAME): Likewise.
29203         * string/test-strcmp.c(TEST_NAME): Likewise.
29204         * string/test-strcpy.c (TEST_NAME): Likewise.
29205         * string/test-strcspn.c (TEST_NAME): Likewise.
29206         * string/test-strlen.c (TEST_NAME): Likewise.
29207         * string/test-strncasecmp.c (TEST_NAME): Likewise.
29208         * string/test-strncmp.c (TEST_NAME): Likewise.
29209         * string/test-strncpy.c (TEST_NAME): Likewise.
29210         * string/test-strnlen.c (TEST_NAME): Likewise.
29211         * string/test-strpbrk.c (TEST_NAME): Likewise.
29212         * string/test-strrchr.c (TEST_NAME): Likewise.
29213         * string/test-strspn.c (TEST_NAME): Likewise.
29214         * string/test-strstr.c (TEST_NAME): Likewise.
29215         * string/test-bcopy-ifunc.c: New file.
29216         * string/test-bzero-ifunc.c: Likewise.
29217         * string/test-memccpy-ifunc.c: Likewise.
29218         * string/test-memchr-ifunc.c: Likewise.
29219         * string/test-memcmp-ifunc.c: Likewise.
29220         * string/test-memcpy-ifunc.c: Likewise.
29221         * string/test-memmem-ifunc.c: Likewise.
29222         * string/test-memmove-ifunc.c: Likewise.
29223         * string/test-mempcpy-ifunc.c: Likewise.
29224         * string/test-memset-ifunc.c: Likewise.
29225         * string/test-rawmemchr-ifunc.c: Likewise.
29226         * string/test-stpcpy-ifunc.c: Likewise.
29227         * string/test-stpncpy-ifunc.c: Likewise.
29228         * string/test-strcasecmp-ifunc.c: Likewise.
29229         * string/test-strcasestr-ifunc.c: Likewise.
29230         * string/test-strcat-ifunc.c: Likewise.
29231         * string/test-strchr-ifunc.c: Likewise.
29232         * string/test-strchrnul-ifunc.c: Likewise.
29233         * string/test-strcmp-ifunc.c: Likewise.
29234         * string/test-strcpy-ifunc.c: Likewise.
29235         * string/test-strcspn-ifunc.c: Likewise.
29236         * string/test-strlen-ifunc.c: Likewise.
29237         * string/test-strncasecmp-ifunc.c: Likewise.
29238         * string/test-strncat-ifunc.c: Likewise.
29239         * string/test-strncmp-ifunc.c: Likewise.
29240         * string/test-strncpy-ifunc.c: Likewise.
29241         * string/test-strnlen-ifunc.c: Likewise.
29242         * string/test-strpbrk-ifunc.c: Likewise.
29243         * string/test-strrchr-ifunc.c: Likewise.
29244         * string/test-strspn-ifunc.c: Likewise.
29245         * string/test-strstr-ifunc.c: Likewise.
29246
29247         * debug/Makefile (tests-ifunc): New variable.
29248         (tests): Add $(tests-ifunc).
29249         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29250         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29251         * debug/test-stpcpy_chk-ifunc.c: New file.
29252         * debug/test-strcpy_chk-ifunc.c: Likewise.
29253
29254 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29255
29256         [BZ #13601]
29257         * elf/dl-load.c (open_verify): Retry read if the entire ELF
29258         header is not read in.
29259
29260 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
29261
29262         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
29263         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
29264         directly.  Pass built executable to script as
29265         $(built-program-cmd).
29266         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
29267         $testprogram without using LD_LIBRARY_PATH and $ldso.
29268
29269         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29270         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29271         $(rtld-installed-name).
29272         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29273         (rtld_installed_name): Likewise.
29274         (library_path): Likewise.
29275         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
29276         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29277         $(run-program-prefix) to tst-tables.sh.
29278         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
29279         it to run tst-table-from and tst-table-to.
29280         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29281         Pass it to tst-table.sh.
29282         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29283         $(run-program-prefix) to tst-gettext.sh.
29284         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29285         tst-translit.sh.
29286         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29287         tst-gettext2.sh.
29288         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
29289         to run tst-gettext.
29290         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
29291         to run tst-gettext2.
29292         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
29293         to run tst-translit.
29294         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29295         $(run-program-prefix) to tst-mtrace.sh.
29296         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
29297         to run tst-mtrace.
29298         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29299         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29300         $(rtld-installed-name).
29301         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29302         (rtld_installed_name): Likewise.
29303         (run_program_prefix): New variable.  Use it to run wordexp-test.
29304
29305         * Makeconfig (ARCH): Remove all definitions.
29306         (machine): Likewise.
29307         [ARCH]: Remove conditional code.
29308         [!objdir]: Give error.
29309         [!objdir] (objpfx): Remove.
29310         [!objdir] (common-objpfx): Likewise.
29311         [!objdir] (common-objdir): Likewise.
29312         * configure.in (config_makefile): Remove.  Hardcode Makefile in
29313         AC_CONFIG_FILES call.
29314         * configure: Regenerated.
29315
29316         [BZ #13888]
29317         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29318         or TMPDIR.
29319         (testout): Likewise.
29320
29321         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29322         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29323         $(rtld-installed-name).
29324         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29325         (rtld_installed_name): Likwise.
29326         (runit): Remove function.
29327         (run_getconf): New variable,  Use it for running getconf binary.
29328
29329 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
29330
29331         [BZ #14716]
29332         * string/test-memmem.c (check_result): New function.
29333         (do_one_test): Use it.
29334         (check1): New function.
29335         (test_main): Use it.
29336
29337 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
29338
29339         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29340
29341 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
29342
29343         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29344         (_G_LSEEK64): Likewise.
29345         (_G_MMAP64): Likewise.
29346         (_G_FSTAT64): Likewise.
29347         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29348         (_G_LSEEK64): Likewise.
29349         (_G_MMAP64): Likewise.
29350         (_G_FSTAT64): Likewise.
29351         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29352         unconditional.  Call __mmap64 directly.
29353         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29354         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
29355         __lseek64 directly.
29356         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29357         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
29358         __mmap64 directly.
29359         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29360         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29361         __lseek64 directly.
29362         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29363         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29364         __lseek64 directly.
29365         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29366         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
29367         __lseek64 directly.
29368         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29369         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
29370         __fxstat64 directly.
29371         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29372         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29373         unconditional.
29374         (freopen64) [!_G_OPEN64]: Remove conditional code.
29375         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29376         unconditional.
29377         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29378         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29379         unconditional.
29380         (ftello64) [!_G_LSEEK64]: Remove conditional code.
29381         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29382         unconditional.
29383         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29384         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29385         unconditional.
29386         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29387         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29388         unconditional.
29389         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29390         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29391         unconditional.
29392         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29393         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29394         unconditional.
29395         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29396
29397 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29398
29399         [BZ #12140]
29400         * manual/memory.texi (Malloc Tunable Parameters): Add note
29401         about free list pointers overwriting some perturb bytes.
29402         Wording suggested by Roland McGrath.
29403
29404 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
29405
29406         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29407         (lgamma_test): Likewise.
29408         (tgamma_test): Likewise.
29409
29410 2012-10-16  Florian Weimer  <fweimer@redhat.com>
29411
29412         [BZ #14700]
29413         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29414         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29415
29416 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
29417
29418         * NEWS: Mention BZ #14716.
29419         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29420         when removing AVAILABLE1_USES_J macro.
29421
29422 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
29423
29424         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29425         (__bswap_64): __uint64_t for unsigned 64-bit int.
29426
29427 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
29428
29429         * include/string.h (memmem): Declare libc hidden alias.
29430         * string/memmem.c (memmem): Define libc hidden alias.
29431         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29432         __read, __close instead of open, read, close.
29433
29434 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
29435
29436         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29437         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29438         global and hidden.
29439         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29440         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29441         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29442         Likewise.
29443         (__rawmemchr_sse2): Likewise.
29444         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29445         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29446         (__strchr_sse2): Likewise.
29447         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29448         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29449         (__strcasecmp_sse2): Likewise.
29450         (__strncasecmp_sse2): Likewise.
29451         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29452         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29453         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29454         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29455         (__strrchr_sse2): Likewise.
29456         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29457         ifunc-impl-list.c.
29458         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29459         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29460         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29461         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29462         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29463         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29464         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29465         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29466         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29467         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29468         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29469         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29470         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29471         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29472         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29473         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29474         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29475         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29476         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29477         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29478         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29479         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29480         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29481         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29482         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29483         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29484         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29485         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29486         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29487         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29488
29489         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29490         global and hidden.
29491         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29492         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29493         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29494         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29495         Likewise.
29496         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29497         Likewise.
29498         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29499         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29500         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29501         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29502         ifunc-impl-list.c.
29503         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29504         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29505         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29506         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29507         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29508         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29509         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29510         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29511         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29512         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29513         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29514         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29515         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29516         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29517         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29518         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29519         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29520         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29521         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29522         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29523         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29524         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29525         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29526         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29527         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29528         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29529         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29530         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29531         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29532         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29533         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29534         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29535         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29536         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29537         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29538         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29539         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29540         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29541         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29542         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29543         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29544
29545         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29546         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29547         * include/ifunc-impl-list.h: New file.
29548         * misc/ifunc-impl-list.c: Likewise.
29549         * misc/Makefile (routines): Add ifunc-impl-list.
29550         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29551         * string/test-string.h: Include <ifunc-impl-list.h>.
29552         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29553         TEST_NAME]: New variables.
29554         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29555         are defined.
29556         (test_init): Call __libc_ifunc_impl_list to initialize
29557         func_list if TEST_IFUNC and TEST_NAME are defined.
29558
29559         * string/Makefile (strop-tests): Add bcopy and bzero.
29560         * string/test-bcopy.c: New file.
29561         * string/test-bzero.c: Likewise.
29562         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29563         defined.
29564         * string/test-memset.c: Support bzero test if TEST_BZERO is
29565         defined.
29566         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29567         __libc_memmove.
29568         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29569         __libc_memset.
29570         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29571         of memset.
29572
29573 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
29574
29575         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29576         * configure: Regenerated.
29577
29578         * Makeconfig (+link-static-before-libc): Don't include
29579         $(link-static-libc).
29580
29581         * libio/libio.h (_IO_pos_t): Remove.
29582
29583 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29584
29585         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
29586         McGrath.
29587
29588 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29589
29590         * crypt/crypt-entry.c: Include fips-private.h.
29591         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29592         * crypt/md5c-test.c (main): Tolerate disabled MD5.
29593         * sysdeps/unix/sysv/linux/fips-private.h: New file.
29594         * sysdeps/generic/fips-private.h: New file, dummy fallback.
29595
29596 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29597
29598         * crypt/crypt-private.h: Include stdbool.h.
29599         (_ufc_setup_salt_r): Return bool.
29600         * crypt/crypt-entry.c: Include errno.h.
29601         (__crypt_r): Return NULL with EINVAL for bad salt.
29602         * crypt/crypt_util.c (bad_for_salt): New.
29603         (_ufc_setup_salt_r): Check that salt is long enough and within
29604         the specified alphabet.
29605         * crypt/badsalttest.c: New file.
29606         * crypt/Makefile (tests): Add it.
29607         ($(objpfx)badsalttest): New.
29608
29609 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
29610
29611         * NEWS: Add entry for BZ #14602.
29612
29613 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
29614
29615         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29616         type-generic.
29617         * math/libm-test.inc: Update comment listing what functions and
29618         macros are tested.
29619         (isgreater_test): New function.
29620         (isgreaterequal_test): Likewise.
29621         (isless_test): Likewise.
29622         (islessequal_test): Likewise.
29623         (islessgreater_test): Likewise.
29624         (isunordered_test): Likewise.
29625         (main): Call the new functions.
29626
29627 2012-10-09  Roland McGrath  <roland@hack.frob.com>
29628
29629         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29630         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29631         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29632         * sysdeps/i386/configure: Regenerated.
29633         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29634         * sysdeps/mach/configure: Regenerated.
29635         * sysdeps/mach/hurd/configure: Regenerated.
29636         * sysdeps/powerpc/configure: Regenerated.
29637         * sysdeps/powerpc/powerpc32/configure: Regenerated.
29638         * sysdeps/powerpc/powerpc64/configure: Regenerated.
29639         * sysdeps/s390/s390-32/configure: Regenerated.
29640         * sysdeps/s390/s390-64/configure: Regenerated.
29641         * sysdeps/sh/configure: Regenerated.
29642         * sysdeps/sparc/configure: Regenerated.
29643         * sysdeps/unix/sysv/linux/configure: Regenerated.
29644         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29645         * sysdeps/x86_64/configure: Regenerated.
29646
29647         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29648         defined.  Don't check if MAP is NULL.
29649
29650 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
29651
29652         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29653         (_G_stat64): Likewise.
29654         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29655         (_G_stat64): Likewise.
29656         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29657         instead of struct _G_stat64.
29658         * libio/fileops.c (mmap_remap_check): Likewise.
29659         (decide_maybe_mmap): Likewise.
29660         (_IO_new_file_seekoff): Likewise.
29661         (_IO_file_stat): Likewise.
29662         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29663         _G_off64_t.
29664         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29665         instead of struct _G_stat64.
29666         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29667
29668 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
29669
29670         [BZ #14602]
29671         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29672         Replace with ...
29673         (CHECK_EOL): New macro.
29674         (two_way_short_needle): Check beginning of haystack for EOL.  Use
29675         CHECK_EOL.
29676         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29677         Replace with CHECK_EOL.
29678         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29679         Replace with CHECK_EOL.
29680
29681 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
29682
29683         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29684         type-generic.
29685         * math/libm-test.inc: Update comment listing what functions and
29686         macros are tested.
29687         (finite_test): New function.
29688         (isinf_test): Likewise.
29689         (isnan_test): Likewise.
29690         (fpclassify_test): Test subnormal input.
29691         (isfinite_test): Likewise.
29692         (isnormal_test): Likewise.
29693         (main): Call the new functions.
29694
29695 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
29696
29697         [BZ #14660]
29698         * Makerules (%.dynsym): Force C locale when running
29699         $(OBJDUMP) --dynamic-syms.
29700
29701 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
29702
29703         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29704         <stdint.h>.
29705
29706 2012-10-06  David S. Miller  <davem@davemloft.net>
29707
29708         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29709         upper 32-bits of the length value in %o2 since we use branch-on-register
29710         tests which consider the entire 64-bit register.
29711
29712 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
29713
29714         * string/test-strstr.c (check2): Add a test for page boundary.
29715
29716 2012-10-05  David S. Miller  <davem@davemloft.net>
29717
29718         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29719         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29720         file.
29721         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29722         sysdep_routines.
29723         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29724         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29725         and bzero when HWCAP_SPARC_CRYPTO is present.
29726
29727 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
29728
29729         [BZ #14602]
29730         * string/test-strstr.c (check2): New function.
29731         (test_main): Call check2.
29732
29733         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29734         and bug-strchr1.
29735         * string/bug-strcasestr1.c (do_test): Moved to ...
29736         * string/test-strcasestr.c (check1): Here.  New function.
29737         (do_one_test): Break out result checking code into ...
29738         (check_result): This.  New function.
29739         (do_one_test): Call check_result.
29740         (test_main): Call check1.
29741         * string/bug-strchr1.c (do_test): Moved to ...
29742         * string/test-strchr.c (check1): Here.  New function.
29743         (do_one_test): Break out result checking code into ...
29744         (check_result): This.  New function.
29745         (do_one_test): Call check_result.
29746         (test_main): Call check1.
29747         * string/bug-strstr1.c (main): Moved to ...
29748         * string/test-strstr.c (check1): Here.  New function.
29749         (do_one_test): Break out result checking code into ...
29750         (check_result): This.  New function.
29751         (do_one_test): Call check_result.
29752         (test_main): Call check1.
29753         * string/bug-strcasestr1.c: Removed.
29754         * string/bug-strchr1.c: Likewise.
29755         * string/bug-strstr1.c: Likewise.
29756
29757         * elf/Makefile (dl-routines): Add hwcaps.
29758         * elf/dl-support.c (_dl_important_hwcaps): Removed.
29759         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29760         (_dl_important_hwcaps): Moved to ...
29761         * elf/dl-hwcaps.c: Here.  New file.
29762         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29763
29764         [BZ #14557]
29765         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29766         if IS_IN_rtld isn't defined.
29767
29768         * elf/dl-support.c (_dl_sysinfo_map): New.
29769         Include "get-dynamic-info.h" and "setup-vdso.h".
29770         (_dl_non_dynamic_init): Call setup_vdso.
29771         * elf/dynamic-link.h: Don't include <assert.h>.
29772         (elf_get_dynamic_info): Moved to ...
29773         * elf/get-dynamic-info.h: Here.  New file.
29774         * elf/dynamic-link.h: Include "get-dynamic-info.h".
29775         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29776         * elf/setup-vdso.h: Here.  New file.
29777         * elf/rtld.c: Include "setup-vdso.h".
29778         (dl_main): Call setup_vdso.
29779
29780 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
29781
29782         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29783         creal in comment listing functions tested.  List finite, isinf,
29784         isnan, isless, islessequal, isgreater, isgreaterequal,
29785         islessgreater, isunordered, lgamma_r and pow10 as functions and
29786         macros not tested.  Mention which functions not tested are aliases
29787         for other functions.  Fix typo.  Note that signs of NaNs are not
29788         tested.
29789
29790         * scripts/config.guess: Update from config.git.
29791         * scripts/config.sub: Likewise.
29792
29793 2012-10-04  Roland McGrath  <roland@hack.frob.com>
29794
29795         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29796         * misc/madvise.c (madvise): Renamed to __madvise.
29797         Make madvise a weak alias.
29798         * include/sys/mman.h: Declare __madvise.
29799         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29800         * sysdeps/unix/syscalls.list
29801         (madvise): Make __madvise the strong name, and madvise a weak alias.
29802         * sysdeps/unix/sysv/linux/syscalls.list
29803         (madvise, mmap): Remove redundant entries.
29804         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29805         * malloc/malloc.c (mtrim): Likewise.
29806         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29807
29808 2012-10-03  Roland McGrath  <roland@hack.frob.com>
29809
29810         * sysdeps/mach/hurd/dl-cache.c: File removed.
29811         * config.h.in (USE_LDCONFIG): New #undef.
29812         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29813         * configure: Regenerated.
29814         * elf/Makefile (dl-routines): Add dl-cache only under
29815         [$(use-ldconfig) = yes].
29816         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29817         cache on [USE_LDCONFIG].
29818         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29819         [USE_LDCONFIG].
29820         * elf/rtld.c (dl_main): Likewise.
29821
29822 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
29823
29824         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29825         _SC_LEVEL4_CACHE_LINESIZE.
29826
29827 2012-10-03  Roland McGrath  <roland@hack.frob.com>
29828
29829         * sysdeps/unix/bsd/confstr.h: File removed.
29830
29831 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
29832
29833         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29834         sys/sdt-config.h.
29835
29836 2012-10-02  Roland McGrath  <roland@hack.frob.com>
29837
29838         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29839         Make 'mapoff' field ElfW(Off) rather than off_t.
29840
29841 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
29842
29843         * nscd/Makefile: Remove nscd-cflags and all its users.
29844         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29845         (CFLAGS-nonlib): Add compiler flags for nscd modules.
29846
29847         [BZ #10631]
29848         * malloc.c (malloc_printerr): Clarify error message.
29849
29850 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
29851
29852         [BZ #14648]
29853         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29854         Set bit_FMA_Usable if FMA is supported.
29855         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29856         macro.
29857         (bit_FMA4_Usable): Updated.
29858         (index_FMA_Usable): New macro.
29859         (CPUID_FMA): Likewise
29860         (HAS_FMA): Defined with bit_FMA_Usable.
29861
29862 2012-10-01  Roland McGrath  <roland@hack.frob.com>
29863
29864         * bits/types.h (__swblk_t): Type removed.
29865         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29866         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29867         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29868         (__SWBLK_T_TYPE): Likewise.
29869         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29870         (__SWBLK_T_TYPE): Likewise.
29871         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29872         (__SWBLK_T_TYPE): Likewise.
29873         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29874         (__SWBLK_T_TYPE): Likewise.
29875
29876 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
29877             Honza Horak <hhorak@redhat.com>
29878
29879         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29880         (xdr_mapname): Use YPMAXMAP as maxsize.
29881         (xdr_peername): Use YPMAXPEER as maxsize.
29882         (xdr_keydat): Use YPAXRECORD as maxsize.
29883         (xdr_valdat): Use YPMAXRECORD as maxsize.
29884
29885 2012-10-01  Roland McGrath  <roland@hack.frob.com>
29886
29887         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29888
29889         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29890         * csu/init-first.c: ... here.
29891         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29892         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29893         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29894         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29895         * sysdeps/i386/init-first.c: File removed.
29896         * sysdeps/sh/init-first.c: File removed.
29897
29898 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
29899
29900         [BZ #14645]
29901         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29902         if x * y might underflow to zero and z is zero.
29903         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29904         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29905         * math/libm-test.inc (min_subnorm_value): New variable.
29906         (fma_test): Add more tests.
29907         (fma_test_towardzero): Likewise.
29908         (fma_test_downward): Likewise
29909         (fma_test_upward): Likewise.
29910         (initialize): Set min_subnorm_value.
29911
29912 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
29913
29914         [BZ #14638]
29915         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29916         0 + 0.
29917         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29918         mode for addition resulting in exact zero.
29919         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29920         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29921         exact 0 + 0.
29922         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29923         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29924         * math/libm-test.inc (fma_test): Add more tests.
29925         (fma_test_towardzero): New function.
29926         (fma_test_downward): Likewise.
29927         (fma_test_upward): Likewise.
29928         (main): Call the new functions.
29929
29930 2012-09-28  David S. Miller  <davem@davemloft.net>
29931
29932         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29933
29934 2012-09-28  Roland McGrath  <roland@hack.frob.com>
29935
29936         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29937         instead of SIGALRM.
29938
29939         * sysdeps/gnu/_G_config.h: Moved to ...
29940         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29941         * sysdeps/mach/hurd/_G_config.h: Moved to ...
29942         * sysdeps/generic/_G_config.h: ... here.
29943
29944         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
29945
29946         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29947
29948         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29949         Conditionalize target on [libnss_test1.so-version].
29950
29951         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29952
29953         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29954         (elfobjdir): Move out of conditionals.
29955
29956         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29957         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29958         (__nss_lookup_function): Conditionalize label remove_from_tree on
29959         [!DO_STATIC_NSS || SHARED], matching its only use.
29960
29961 2012-09-28  David S. Miller  <davem@davemloft.net>
29962
29963         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29964         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29965         file.
29966         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29967         sysdep_routines.
29968         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29969         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29970         when HWCAP_SPARC_CRYPTO is present.
29971
29972 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
29973
29974         * io/tst-mknodat.c: Create a FIFO instead of a socket.
29975
29976 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
29977
29978         [BZ #6530]
29979         * stdio-common/vfprintf.c (process_string_arg): Revert
29980         2000-07-22 change.
29981
29982 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
29983
29984         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29985         for testcase.
29986         * stdio-common/tst-sprintf.c: Include <locale.h>
29987         (main): Test sprintf's handling of incomplete multibyte
29988         characters.
29989
29990 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
29991
29992         * elf/dl-runtime.c (VERSYMIDX): Removed.
29993         * elf/dl-version.c (VERSYMIDX): Likewise.
29994         * elf/do-rel.h (VERSYMIDX): Likewise.
29995         (VALIDX): Likewise.
29996         * elf/dynamic-link.h (VERSYMIDX): Likewise.
29997         * elf/rtld.c (VALIDX): Likewise.
29998         (ADDRIDX): Likewise.
29999         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30000         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30001         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30002         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30003         (VALIDX): Likewise.
30004         (ADDRIDX): Likewise.
30005
30006 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30007
30008         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30009
30010 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
30011
30012         [BZ #11438]
30013         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30014         to global scope.
30015         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30016         addresses are in the same scope as 192.0.2/24.
30017         * posix/gai.conf: Document new scope table defaults.
30018
30019 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30020
30021         [BZ #5298]
30022         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30023         for ftell.  Compute offsets from write pointers instead.
30024         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30025
30026 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30027
30028         [BZ #14543]
30029         * libio/Makefile (tests): New test case tst-fseek.
30030         * libio/tst-fseek.c: New test case to verify that fseek/ftell
30031         combination works in wide mode.
30032         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30033         state when the external buffer state changes.
30034
30035 2012-09-27  David S. Miller  <davem@davemloft.net>
30036
30037         [BZ #14376]
30038         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30039         pass reloc->r_addend in as the 'high' argument to
30040         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30041
30042         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30043
30044 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30045
30046         * rt/tst-aio2.c: Include <pthread.h>.
30047         * rt/tst-aio3.c: Likewise.
30048
30049 2012-09-27  Steve Ellcey  <sellcey@mips.com>
30050
30051         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30052
30053 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
30054
30055         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30056         contents on [SHARED].
30057
30058 2012-09-26  Marek Polacek  <polacek@redhat.com>
30059
30060         [BZ #14530]
30061         [BZ #13741]
30062         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30063         for C++ and GCC <4.3 as well as for non GCC compilers.
30064
30065 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
30066
30067         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30068
30069 2012-09-25  Roland McGrath  <roland@hack.frob.com>
30070
30071         * Makefile.in (all, install): Declare with .PHONY.
30072         Reported by Michael Hope <michael.hope@linaro.org>.
30073
30074 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30075
30076         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30077         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30078         system header.
30079         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30080         Likewise.
30081         (sydep_routines): Add the new and the internal functions.
30082         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30083         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30085         (GLIBC_2.17): Add the new function.
30086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30087         (GLIBC_2.17): Likewise.
30088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30089         (GLIBC_2.17): Likewise.
30090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30091         (GLIBC_2.17): Likewise.
30092         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30093
30094 2012-09-25  Alan Modra  <amodra@gmail.com>
30095
30096         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30097         Add release barrier before setting once_control to say
30098         initialisation is done.  Add hints on lwarx.  Use macro in
30099         place of isync.
30100         (clear_once_control): Add release barrier.
30101
30102 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30103
30104         [BZ #13629]
30105         * math/s_clog.c (__clog): Handle more values close to |z| = 1
30106         specially.
30107         * math/s_clog10.c (__clog10): Likewise.
30108         * math/s_clog10f.c (__clog10f): Likewise.
30109         * math/s_clog10l.c (__clog10l): Likewise.
30110         * math/s_clogf.c (__clogf): Likewise.
30111         * math/s_clogl.c (__clogl): Likewise.
30112         * math/Makefile (libm-calls): Add x2y2m1.
30113         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30114         (__x2y2m1): Likewise.
30115         (__x2y2m1l): Likewise.
30116         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30117         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30118         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30119         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30120         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30121         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30122         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30123         * sysdeps/i386/fpu/libm-test-ulps: Update.
30124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30125
30126         [BZ #14621]
30127         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30128         int as type of variable DEPTH.
30129         (glob): Use size_t instead of int as type of variables NEWCOUNT
30130         and OLD_PATHC.
30131
30132 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30133
30134         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30135         Add s_sincosf-sse2.
30136         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30137         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30138         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30139         macros for using routine as __sincosf_ia32.
30140         Use macro for function declaration and weak_alias.
30141         * sysdeps/i386/fpu/libm-test-ulps: Update.
30142
30143         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30144         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30145
30146         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30147         subnormal argument.
30148         * math/s_cexpf.c (__cexpf): Likewise.
30149         * math/s_csinf.c (__csinf): Likewise.
30150         * math/s_csinhf.c (__csinhf): Likewise.
30151         * math/s_ctanf.c (__ctanf): Likewise.
30152         * math/s_ctanhf.c (__ctanhf): Likewise.
30153         * math/s_ccosh.c (__ccoshf): Likewise.
30154         * math/s_cexp.c (__cexpl): Likewise.
30155         * math/s_csin.c (__csin): Likewise.
30156         * math/s_csinh.c (__csinh): Likewise.
30157         * math/s_ctan.c (__ctan): Likewise.
30158         * math/s_ctanh.c (ctanh): Likewise.
30159         * math/s_ccoshl.c (__ccoshl): Likewise.
30160         * math/s_cexpl.c (__cexpl): Likewise.
30161         * math/s_csinl.c (__csinl): Likewise.
30162         * math/s_csinhl.c (__csinhl): Likewise.
30163         * math/s_ctanl.c (__ctanl): Likewise.
30164         * math/s_ctanhl.c (__ctanhl): Likewise.
30165
30166 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30167
30168         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30169         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30170         (_IO_off_t): Define to __off_t, not _G_off_t.
30171         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30172         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30173         (_IO_wint_t): Define to wint_t, not _G_wint_t.
30174         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30175         type of __dummy and __dummy2 fields.
30176         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30177         (_G_ssize_t): Likewise.
30178         (_G_off_t): Likewise.
30179         (_G_pid_t): Likewise.
30180         (_G_uid_t): Likewise.
30181         (_G_wchar_t): Likewise.
30182         (_G_wint_t): Likewise.
30183         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30184         (_G_ssize_t): Likewise.
30185         (_G_off_t): Likewise.
30186         (_G_pid_t): Likewise.
30187         (_G_uid_t): Likewise.
30188         (_G_wchar_t): Likewise.
30189         (_G_wint_t): Likewise.
30190         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30191         (_G_ssize_t): Likewise.
30192         (_G_off_t): Likewise.
30193         (_G_pid_t): Likewise.
30194         (_G_uid_t): Likewise.
30195         (_G_wchar_t): Likewise.
30196         (_G_wint_t): Likewise.
30197
30198 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30199
30200         * malloc/arena.c: Include malloc-sysdep.h.
30201         (shrink_heap): Use check_may_shrink_heap to decide if madvise
30202         is sufficient to shrink the heap or an unmap is needed.
30203         * sysdeps/generic/malloc-sysdep.h: New file.  Define
30204         new function check_may_shrink_heap.
30205         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
30206         new function check_may_shrink_heap.
30207
30208 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30209
30210         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30211         comments.
30212
30213 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
30214
30215         * catgets/test-gencat.sh: Add "set -e".
30216         * elf/tst-pathopt.sh: Likewise.
30217         * grp/tst_fgetgrent.sh: Likewise.
30218         * iconvdata/run-iconv-test.sh: Likewise.
30219         * intl/tst-gettext.sh: Likewise.
30220         * intl/tst-gettext2.sh: Likewise.
30221         * intl/tst-gettext4.sh: Likewise.
30222         * intl/tst-gettext6.sh: Likewise.
30223         * intl/tst-translit.sh: Likewise.
30224         * io/ftwtest-sh: Likewise.
30225         * libio/test-freopen.sh: Likewise.
30226         * malloc/tst-mtrace.sh: Likewise.
30227         * posix/globtest.sh: Likewise.
30228         * posix/tst-getconf.sh: Likewise.
30229         * posix/wordexp-tst.sh: Likewise.
30230         * stdio-common/tst-printf.sh: Likewise.
30231         * stdio-common/tst-unbputc.sh: Likewise.
30232         * stdlib/tst-fmtmsg.sh: Likewise.
30233         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30234         * catgets/Makefile: Do not specify -e option when running
30235         testsuite shell scripts.
30236         * elf/Makefile: Likewise.
30237         * grp/Makefile: Likewise.
30238         * iconvdata/Makefile: Likewise.
30239         * intl/Makefile: Likewise.
30240         * io/Makefile: Likewise.
30241         * libio/Makefile: Likewise.
30242         * malloc/Makefile: Likewise.
30243         * posix/Makefile: Likewise.
30244         * stdio-common/Makefile: Likewise.
30245         * stdlib/Makefile: Likewise.
30246         * sysdeps/x86_64/Makefile: Likewise.
30247
30248         * io/ftwtest-sh: Add copyright header.
30249         * posix/globtest.sh: Likewise.
30250         * posix/tst-getconf.sh: Likewise.
30251         * posix/wordexp-tst.sh: Likewise.
30252         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30253
30254 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
30255
30256         [BZ #13679]
30257         * Makeconfig (+link): Defined as $(+link-static) if
30258         $(build-shared) isn't yes.
30259         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30260         isn't yes.
30261         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30262
30263         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30264
30265         [BZ #14562]
30266         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30267         new chunk size with MALLOC_ALIGN_MASK.
30268
30269 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
30270
30271         [BZ #5044]
30272         * stdio-common/printf_fphex.c: Include <stdbool.h> and
30273         <rounding-mode.h>.
30274         (__printf_fphex): Determine rounding using get_rounding_mode and
30275         round_away.
30276         * stdio-common/tst-printf-round.c (struct hex_test): New
30277         structure.
30278         (hex_tests): New variable.
30279         (test_hex_in_one_mode): New function.
30280         (do_test): Also run tests for hex float output.
30281
30282 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
30283
30284         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30285         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30286         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30287         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30288         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30289         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30290         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30291         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30292
30293 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
30294
30295         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30296         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30297         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30298         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30299
30300 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
30301
30302         [BZ #14579]
30303         * elf/rtld.c (dl_main): Limit the check for self loading to normal
30304         mode only.
30305         * elf/tst-rtld-load-self.sh: New test.
30306         * elf/Makefile: Run it.
30307
30308 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
30309
30310         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30311         (tst-writev-ENV): Remove.
30312         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30313
30314 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
30315
30316         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30317
30318 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
30319
30320         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30321         unconditional.
30322         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30323         Likewise.
30324         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30325         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30326         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30327         Likewise.
30328
30329 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
30330
30331         [BZ #14587]
30332         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30333         * config.make.in (have-cpp-asm-debuginfo): Removed.
30334         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30335         * configure: Regenerated.
30336
30337 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
30338
30339         [BZ #5044]
30340         * stdio-common/printf_fp.c: Include <stdbool.h> and
30341         <rounding-mode.h>.
30342         (___printf_fp): Determine rounding using get_rounding_mode and
30343         round_away.
30344         * stdio-common/tst-printf-round.c: New file.
30345         * stdio-common/Makefile (tests): Add tst-printf-round.
30346         (link-libm): New variable.
30347         ($(objpfx)tst-printf-round): Depend in $(link-libm).
30348
30349 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
30350
30351         [BZ #14576]
30352         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30353         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30354         Likewise.
30355         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30356         Likewise.
30357
30358 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
30359
30360         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30361         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30362         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30363         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30364
30365 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
30366
30367         [BZ #14518]
30368         * include/rounding-mode.h: New file.
30369         * sysdeps/generic/get-rounding-mode.h: Likewise.
30370         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30371         * stdlib/strtod_l.c: Include <rounding-mode.h>.
30372         (MAX_VALUE): New macro.
30373         (MIN_VALUE): Likewise.
30374         (overflow_value): New function.
30375         (underflow_value): Likewise.
30376         (round_and_return): Use overflow_value and underflow_value to
30377         determine return values in overflow and underflow cases.  Use
30378         round_away to determine rounding depending on rounding mode.
30379         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30380         determine return values in overflow and underflow cases.
30381         * stdlib/tst-strtod-round.c: Include <fenv.h>.
30382         (struct test_results): New structure.
30383         (struct test): Use struct test_results to store expected results
30384         for all rounding modes.
30385         (TEST): Include expected results for all rounding modes.
30386         (test_in_one_mode): New function.
30387         (do_test): Use test_in_one_mode to compute and check results.
30388         Check results for all rounding modes.
30389         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30390         $(link-libm).
30391
30392 2012-12-09  Allan McRae  <allan@archlinux.org>
30393
30394         * sysdeps/i386/fpu/libm-test-ulps: Update
30395
30396 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
30397
30398         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30399         (_G_int32_t): Likewise.
30400         (_G_uint16_t): Likewise.
30401         (_G_uint32_t): Likewise.
30402         (_G_HAVE_BOOL): Likewise.
30403         (_G_HAVE_ATEXIT): Likewise.
30404         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30405         (_G_HAVE_IO_FILE_OPEN): Likewise.
30406         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30407         (_G_int32_t): Likewise.
30408         (_G_uint16_t): Likewise.
30409         (_G_uint32_t): Likewise.
30410         (_G_HAVE_BOOL): Likewise.
30411         (_G_HAVE_ATEXIT): Likewise.
30412         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30413         (_G_HAVE_IO_FILE_OPEN): Likewise.
30414         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30415         (_G_int32_t): Likewise.
30416         (_G_uint16_t): Likewise.
30417         (_G_uint32_t): Likewise.
30418         (_G_HAVE_BOOL): Likewise.
30419         (_G_HAVE_ATEXIT): Likewise.
30420         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30421         (_G_HAVE_IO_FILE_OPEN): Likewise.
30422
30423 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
30424
30425         * csu/libc-tls.c: Update copyright years.
30426
30427 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
30428
30429         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30430         [!_G_USING_THUNKS]: Remove conditional code.
30431         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30432         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30433
30434         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30435         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30436         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30437         (_G_VTABLE_LABEL_PREFIX): Likewise.
30438         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30439         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30440         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30441         (_G_VTABLE_LABEL_PREFIX): Likewise.
30442         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30443         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30444         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30445         (_G_VTABLE_LABEL_PREFIX): Likewise.
30446         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30447
30448 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
30449
30450         * libio/Makefile: Include ../Makeconfig before tests.
30451         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30452         only if $(build-shared) is yes.
30453
30454         * iconv/gconv_db.c: Update copyright years.
30455
30456 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30457
30458         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30459         unwind info if defined PIC. Fix special cases description.
30460         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30461
30462         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30463         DP_HI_MASK entry.
30464         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30465
30466 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
30467
30468         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30469
30470         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30471         is NULL.
30472
30473         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30474         (LDLIBS-tst-chk4): This.
30475         (LDFLAGS-tst-chk5): Renamed to ...
30476         (LDLIBS-tst-chk5): This.
30477         (LDFLAGS-tst-chk6): Renamed to ...
30478         (LDLIBS-tst-chk6): This.
30479         (LDFLAGS-tst-lfschk4): Renamed to ...
30480         (LDLIBS-tst-lfschk4): This.
30481         (LDFLAGS-tst-lfschk5): Renamed to ...
30482         (LDLIBS-tst-lfschk5): This.
30483         (LDFLAGS-tst-lfschk6): Renamed to ...
30484         (LDLIBS-tst-lfschk6): This.
30485
30486         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30487         on $(common-objpfx)soversions.mk.
30488
30489 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
30490
30491         [BZ #10014]
30492         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30493         example host name.
30494
30495 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30496
30497         * malloc/arena.c (arena_get_retry): New function that gets
30498         another arena for the caller to try its request on.
30499         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30500         current arena cannot fulfill the request.
30501         (__libc_memalign): Likewise.
30502         (__libc_memalign): Likewise.
30503         (__libc_pvalloc): Likewise.
30504         (__libc_calloc): Likewise.
30505
30506 2012-09-05  John Tobey  <john.tobey@gmail.com>
30507
30508         [BZ #13542]
30509         * manual/arith.texi (Operations on Complex): Fix description
30510         of carg branch cut.
30511
30512 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30513
30514         [BZ #10014]
30515         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30516         host name.
30517
30518         [BZ #10038]
30519         * manual/memory.texi (Memory): Make order of menu items match
30520         order of sections.
30521
30522 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30523
30524         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30525         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
30526         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30527
30528 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30529
30530         * csu/libc-tls.c (static_dtv): Renamed to ...
30531         (_dl_static_dtv): This.  Make it global.
30532         (_dl_initial_dtv): Removed.
30533         (__libc_setup_tls): Updated.
30534         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30535         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30536         DL_INITIAL_DTV.
30537
30538 2012-09-06  Petr Machata  <pmachata@redhat.com>
30539
30540         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30541         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30542         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30543         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30544
30545 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30546
30547         [BZ #14545]
30548         * csu/libc-tls.c (_dl_initial_dtv): New variable.
30549         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30550         freeing dtv[-1].
30551
30552 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30553
30554         [BZ #14544]
30555         * Makeconfig (link-static-before-libc): Replace $(+prector)
30556         with $(+prectorT).
30557         (link-static-after-libc): Replace $(+postctor) with
30558         $(+postctorT).
30559         (link-bounded): Replace $(+prector)/$(+postctor) with
30560         $(+prectorT)/$(+postctorT).
30561         (+prectorT): New macro.
30562         (+postctorT): Likewise.
30563
30564 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30565
30566         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30567         (round_str): Handle values above the maximum for IBM long double
30568         as inexact.
30569         * stdlib/tst-strtod-round.c (tests): Regenerated.
30570
30571 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30572
30573         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30574         assembler flag.
30575         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30576         zarch_nohighgprs around the zarch optimized routines.
30577         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30578         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30579         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30580         for zarch.
30581
30582 2012-09-05  David S. Miller  <davem@davemloft.net>
30583
30584         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30585
30586         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30587         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30588         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30589         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30590         entries.
30591
30592 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30593
30594         * malloc/arena.c: Fold copyright years.
30595         * malloc/mcheck.c, malloc/memusage.c: Likewise.
30596
30597 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30598
30599         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30600
30601 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30602
30603         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
30604
30605 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30606
30607         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30608         change internal state upon failure.
30609
30610 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30611
30612         * malloc/mcheck.c (mcheck_check_all): Fix typo.
30613         * malloc/memusage.c (mmap): Likewise.
30614         (mmap64, mremap): Likewise.  Adjust name in comment.
30615
30616 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30617
30618         * libio/fileops.c: Fix typos in comments.
30619         * libio/oldfileops.c: Likewise.
30620         * libio/wfileops.c: Likewise.
30621
30622 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30623
30624         [BZ #1349]
30625         * malloc/Makefile (tests): Add tst-malloc-usable test case.
30626         (tst-malloc-usable-ENV): Set environment for test case.
30627         * malloc/hooks.c (malloc_check_get_size): New function to get
30628         requested size.
30629         * malloc/malloc.c (musable): Use malloc_check_get_size.
30630         * malloc/tst-malloc-usable.c: New test case.
30631
30632 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30633
30634         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30635
30636 2012-09-05  Allan McRae  <allan@archlinux.org>
30637
30638         [BZ #13966]
30639         * configure.in (CXX_SYSINCLUDES): Use compiler output to
30640         determine header location.
30641         * configure: Regenerated.
30642
30643 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30644
30645         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30646         float format.
30647         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30648         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30649         format.
30650         (test): Regenerate.
30651
30652 2012-09-04  David S. Miller  <davem@davemloft.net>
30653
30654         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30655         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30656         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30657
30658 2012-09-04  Florian Weimer  <fweimer@redhat.com>
30659
30660         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30661         failures.
30662
30663         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30664
30665 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
30666
30667         [BZ #9914]
30668         * libio/iogetdelim.c: Include <limits.h>.
30669         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30670         + len + 1 would overflow.
30671
30672 2012-09-03  Andreas Jaeger  <aj@suse.de>
30673
30674         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30675         * sysdeps/i386/fpu/libm-test-ulps: Update.
30676
30677 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30678
30679         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30680         Add s_sinf-sse2, s_conf-sse2.
30681
30682         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30683         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30684         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30685         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30686
30687         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30688         for using routine as __sinf_ia32.
30689         Use macro for function declaration and weak_alias.
30690         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30691         for using routine as __cosf_ia32.
30692         Use macro for function declaration and weak_alias.
30693
30694         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30695         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30696
30697         * sysdeps/x86_64/fpu/s_sinf.S: New file.
30698         * sysdeps/x86_64/fpu/s_cosf.S: New file.
30699         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30700
30701         * math/libm-test.inc (cos_test): Add more test cases.
30702         (sin_test): Likewise.
30703         (sincos_test): Likewise.
30704
30705 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30706
30707         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30708         (IFUNC_RESOLVE): Make pointers to the specialized implementations
30709         hidden.
30710         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30711
30712 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
30713
30714         [BZ #14538]
30715         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30716         first element of the GOT.
30717         (elf_machine_load_address): Return the difference between
30718         the runtime address of _DYNAMIC and elf_machine_dynamic ().
30719
30720 2012-09-01  Allan McRae  <allan@archlinux.org>
30721
30722         [BZ #13412]
30723         * configure.in (AWK): Require gawk version 3.0 or later.
30724         * configure: Regenerated.
30725
30726 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
30727
30728         * sysdeps/unix/sysv/linux/kernel-features.h
30729         (__ASSUME_POSIX_CPU_TIMERS): Remove.
30730         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30731         [__NR_clock_getres]: Make code unconditional.
30732         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30733         (clock_getcpuclockid): Remove code left unreachable by removal of
30734         conditionals.
30735         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30736         code unconditional.
30737         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30738         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30739         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30740         Make code unconditional.
30741         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30742         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30743         * sysdeps/unix/sysv/linux/clock_settime.c
30744         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30745         conditional code.
30746         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30747         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30748
30749 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
30750
30751         [BZ #14476]
30752         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30753         scripts/test-installation.pl.
30754
30755         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30756         and $ld_so_version if it is set.
30757
30758 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30759
30760         [BZ #14516]
30761         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30762         failure if reading from procfs failed.
30763         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30764
30765 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
30766
30767         * sysdeps/unix/sysv/linux/kernel-features.h
30768         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30769         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30770         Remove conditional code.
30771         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30772         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30773         Remove conditional code.
30774         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30775         * sysdeps/unix/sysv/linux/i386/fxstat.c
30776         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30777         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30778         * sysdeps/unix/sysv/linux/i386/fxstatat.c
30779         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30780         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30781         * sysdeps/unix/sysv/linux/i386/lxstat.c
30782         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30783         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30784         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30785         Remove conditional code.
30786         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30787         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30788         Remove conditional code.
30789         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30790         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30791         <kernel-features.h>.
30792         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30793         Remove.
30794         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30795         Remove conditional code.
30796         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30797         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30798         Remove conditional.
30799
30800 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
30801
30802         [BZ #5400]
30803         * NEWS: Add fixed bug number.
30804
30805 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
30806
30807         [BZ #14519]
30808         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30809         underflowing exponent in case of negative sign.
30810         * stdlib/tst-strtod-round-data: Add more tests.
30811         * stdlib/tst-strtod-round.c (tests): Regenerated.
30812
30813         [BZ #3479]
30814         * stdlib/strtod_l.c (NDIG): Remove.
30815         (HEXNDIG): Likewise.
30816         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30817         smallest representable value.
30818         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30819         lie within an exact representation of 1/2 ulp of the result.
30820         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30821         unconditionally.
30822         (TENS_P9_IDX): Define unconditionally.
30823         (TENS_P9_SIZE): Likewise.
30824         (TENS_P10_IDX): Likewise.
30825         (TENS_P10_SIZE): Likewise.
30826         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30827         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30828         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30829         entries for 10^2^13 and 10^2^14.
30830         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30831         (TENS_P13_IDX): Define.
30832         (TENS_P13_SIZE): Likewise.
30833         (TENS_P14_IDX): Likewise.
30834         (TENS_P14_SIZE): Likewise.
30835         (_fpioconst_pow10): Change array size to
30836         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
30837         unconditional.
30838         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30839         1024]: Add entries for 10^2^13 and 10^2^14.
30840         [LAST_POW10 > _LAST_POW10]: Remove #error.
30841         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30842         (_fpioconst_pow10): Change array size to
30843         FPIOCONST_POW10_ARRAY_SIZE.
30844         * stdlib/gen-fpioconst.c: New file.
30845         * stdlib/gen-tst-strtod-round.c: Likewise.
30846         * stdlib/tst-strtod-round-data: Likewise.
30847         * stdlib/tst-strtod-round.c: Likewise.
30848         * stdlib/Makefile (tests): Add tst-strtod-round.
30849
30850         [BZ #14459]
30851         * stdlib/strtod_l.c: Include <stdint.h>.
30852         (NDEBUG): Do not define.
30853         (round_and_return): Change EXPONENT parameter to type intmax_t.
30854         Rearrange calculations to avoid internal overflow possibilities.
30855         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30856         Rearrange calculations to avoid internal overflow possibilities.
30857         Assert that number fits inside MPNSIZE limbs.
30858         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30859         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
30860         calculations and add assertions to avoid internal overflow
30861         possibilities.  Add casts to avoid signed/unsigned operations.
30862         * stdlib/tst-strtod-overflow.c: New file.
30863         * stdlib/Makefile (tests): Add tst-strtod-overflow.
30864
30865 2012-08-25  Marek Polacek  <polacek@redhat.com>
30866
30867         * time/time.h: Fix some typos in comments.
30868
30869 2012-08-23  Roland McGrath  <roland@hack.frob.com>
30870
30871         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30872         * posix/tst-rfc3484-2.c: Likewise.
30873         * posix/tst-rfc3484-3.c: Likewise.
30874
30875 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
30876
30877         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30878         (EF_ARM_ABI_FLOAT_HARD): Likewise.
30879
30880 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
30881
30882         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30883         #include of fxstatat64.c.
30884
30885 2012-08-22  Roland McGrath  <roland@hack.frob.com>
30886
30887         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30888         * shadow/getspent_r.c: Likewise.
30889         * shadow/getspnam.c: Likewise.
30890         * shadow/getspnam_r.c: Likewise.
30891         * gshadow/getsgent.c: Likewise.
30892         * gshadow/getsgent_r.c: Likewise.
30893         * gshadow/getsgnam.c: Likewise.
30894         * gshadow/getsgnam_r.c: Likewise.
30895         * inet/getnetbyad.c: Likewise.
30896         * inet/getnetbyad_r.c: Likewise.
30897         * inet/getnetbynm.c: Likewise.
30898         * inet/getnetbynm_r.c: Likewise.
30899         * inet/getnetent.c: Likewise.
30900         * inet/getnetent_r.c: Likewise.
30901         * inet/getproto.c: Likewise.
30902         * inet/getproto_r.c: Likewise.
30903         * inet/getprtent.c: Likewise.
30904         * inet/getprtent_r.c: Likewise.
30905         * inet/getprtname.c: Likewise.
30906         * inet/getprtname_r.c: Likewise.
30907         * inet/getrpcbyname.c: Likewise.
30908         * inet/getrpcbyname_r.c: Likewise.
30909         * inet/getrpcbynumber.c: Likewise.
30910         * inet/getrpcbynumber_r.c: Likewise.
30911         * inet/getrpcent.c: Likewise.
30912         * inet/getrpcent_r.c: Likewise.
30913         * inet/getaliasent.c: Likewise.
30914         * inet/getaliasent_r.c: Likewise.
30915         * inet/getaliasname.c: Likewise.
30916         * inet/getaliasname_r.c: Likewise.
30917         * nscd/getgrgid_r.c: Likewise.
30918         * nscd/getgrnam_r.c: Likewise.
30919         * nscd/gethstbyad_r.c: Likewise.
30920         * nscd/gethstbynm3_r.c: Likewise.
30921         * nscd/getpwnam_r.c: Likewise.
30922         * nscd/getpwuid_r.c: Likewise.
30923         * nscd/getsrvbynm_r.c: Likewise.
30924         * nscd/getsrvbypt_r.c: Likewise.
30925         * nscd/gai.c: Likewise.
30926
30927         * configure.in (build_nscd): New substituted variable, set
30928         by --disable-build-nscd and defaults to $use_nscd.
30929         * configure: Regenerated.
30930         * config.make.in (build-nscd): New substituted variable.
30931         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30932         Change conditional to require [$(build-nscd) = yes] as well.
30933         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30934
30935         [BZ# 13696]
30936         * configure.in (use_nscd): New substituted variable, set by
30937         --disable-nscd.  If enabled, define USE_NSCD.
30938         * configure: Regenerated.
30939         * config.h.in: Add USE_NSCD.
30940         * config.make.in (use-nscd): New substituted variable.
30941         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30942         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30943         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30944         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30945         (CFLAGS-getgrnam_r.c): Likewise.
30946         (CFLAGS-initgroups.c): Likewise.
30947         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30948         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30949         Variables removed.
30950         * inet/getnetgrent_r.c
30951         (nscd_setnetgrent): New function, broken out of ...
30952         (setnetgrent): ... here.  Call it.
30953         (innetgr): Conditionalize nscd bits on [USE_NSCD].
30954         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30955         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30956         * nscd/Makefile (routines, aux): Move definitions after include of
30957         Makeconfig.  Conditionalize on [$(use-nscd) != no].
30958         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30959         Conditionalize on [USE_NSCD].
30960         (is_nscd, nscd_init_cb): Likewise.
30961         (nss_load_library): Conditionalize init callback on [USE_NSCD].
30962         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30963         * nss/nss_db/db-init.c: Likewise.
30964         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30965         [USE_NSCD].
30966         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30967         (make_request): Use it.
30968         (cache_valid_p): New function.
30969         (__check_pf): Use it.
30970         * NEWS: Add item for --disable-nscd.
30971
30972 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
30973
30974         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30975         to support sed >= 4.2.1-20-ga9bf076.
30976         * configure: Regenerated.
30977
30978 2012-08-22  Roland McGrath  <roland@hack.frob.com>
30979
30980         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30981         Conditionalize whole body on [IREL].
30982
30983 2012-08-22  Jeff Law <law@redhat.com>
30984
30985         [BZ #14505]
30986         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30987         if the family is PF_UNSPEC.
30988
30989 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
30990
30991         * Makerules (lib-version): Rename from V.
30992         (install-lib-nosubdir): Change V to lib-version.
30993
30994 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
30995
30996         [BZ #14252]
30997         * powerpc32/power6/wcschr.c: New file.
30998         * powerpc32/power6/wcscpy.c: New file.
30999         * powerpc32/power6/wcsrchr.c: New file.
31000         * powerpc64/power6/wcschr.c: New file.
31001         * powerpc64/power6/wcscpy.c: New file.
31002         * powerpc64/power6/wcsrchr.c: New file.
31003
31004 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31005
31006         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31007         (two_way_short_needle): Use it.
31008         * string/strstr.c (AVAILABLE1_USES_J): Define.
31009         * string/strcasestr.c: Likewise.
31010
31011         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31012         array references.
31013         * string/strcasestr.c (TOLOWER): Make side-effect safe.
31014
31015         [BZ #11607]
31016         * NEWS: Add an entry.
31017         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31018         define their defaults.
31019         (two_way_short_needle): Detect end-of-string on-the-fly.
31020         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31021         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31022         * string/bug-strcasestr1.c: New test.
31023         * string/Makefile: Run it.
31024
31025 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31026
31027         [BZ #11607]
31028         * string/str-two-way.h (two_way_short_needle): Optimize matching of
31029         the first character.
31030
31031 2012-08-21  Roland McGrath  <roland@hack.frob.com>
31032
31033         * csu/elf-init.c (__libc_csu_irel): Function removed.
31034         * csu/libc-start.c (apply_irel): New function.
31035         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31036
31037 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
31038
31039         * sysdeps/unix/sysv/linux/kernel-features.h
31040         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31041         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31042         <kernel-features.h>.
31043         [__NR_fadvise64_64]: Make code unconditional.
31044         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31045         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31046         !__NR_fadvise64_64)]: Likewise.
31047         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31048         !__NR_fadvise64_64))]: Likewise.
31049         [__NR_fadvise64]: Make code unconditional.
31050         [!__NR_fadvise64]: Remove conditional code.
31051         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31052         <kernel-features.h>.
31053         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31054         unconditional.
31055         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31056         conditional code.
31057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31058         not include <kernel-features.h>.
31059         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31060         unconditional.
31061         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31062         conditional code.
31063         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31064         include <kernel-features.h>.
31065         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31066         unconditional.
31067         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31068         conditional code.
31069
31070 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31071
31072         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31073         slight instruction rearrangements per scrollpipe analysis.
31074         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31075
31076 2012-08-20  Roland McGrath  <roland@hack.frob.com>
31077
31078         * manual/syslog.texi (syslog; vsyslog, closelog):
31079         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31080         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31081
31082         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31083         DSOCAPS to match condition on defining it.
31084
31085 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
31086
31087         * sysdeps/unix/sysv/linux/kernel-features.h
31088         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31090         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31091         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31093         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31094         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31096         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31097         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31098
31099         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31100         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31101
31102         * sysdeps/unix/sysv/linux/kernel-features.h
31103         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31104         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31105         unconditional.
31106         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31107         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31108         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31109         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31110         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31111         Make code unconditional.
31112         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31113         (__mmap64) [!__NR_mmap2]: Likewise.
31114         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31115         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31116         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31117         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31118         [__NR_mmap2]: Make code unconditional.
31119         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31120         (__mmap64) [!__NR_mmap2]: Likewise.
31121
31122 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31123
31124         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31125
31126 2012-08-18  Andreas Jaeger  <aj@suse.de>
31127
31128         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31129
31130 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31131
31132         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31133         * include/unistd.h (__have_sock_cloexec): Likewise.
31134         (__have_pipe2): Likewise.
31135         (__have_dup3): Likewise.
31136
31137 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31138
31139         [BZ #9685]
31140         * include/unistd.h (__have_pipe2): Change define into an extern int.
31141         (__have_dup3): Likewise.
31142         * socket/have_sock_cloexec.c: Include fcntl.h.
31143         (__have_pipe2): New variable.
31144         (__have_dup3): Likewise.
31145
31146 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
31147
31148         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31149
31150 2012-08-17  Marek Polacek  <polacek@redhat.com>
31151
31152         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31153         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31154
31155 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31156
31157         * configure.in: Add AC_SUBST for sysheaders.
31158         * configure: Regenerated.
31159         * config.make.in (sysheaders): New substituted variable.
31160
31161         * sysdeps/unix/mkfifo.c: Moved ...
31162         * sysdeps/posix/mkfifo.c: ... here.
31163         * sysdeps/unix/mkfifoat.c: Moved ...
31164         * sysdeps/posix/mkfifoat.c: ... here.
31165
31166         * sysdeps/unix/utime.c: Moved ...
31167         * sysdeps/posix/utime.c: ... here.
31168
31169         * sysdeps/unix/time.c: Moved ...
31170         * sysdeps/posix/time.c: ... here.
31171         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31172         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31173
31174         * sysdeps/unix/nice.c: Moved ...
31175         * sysdeps/posix/nice.c: ... here.
31176
31177         * sysdeps/unix/alarm.c: Moved ...
31178         * sysdeps/posix/alarm.c: ... here.
31179
31180         * intl/Makefile ($(codeset_mo)): Depend on the input file.
31181
31182 2012-08-17  Jeff Law <law@redhat.com>
31183
31184         * intl/Makefile (codeset_mo): New variable.
31185         ($(codeset_mo)): New target.
31186         (tst-codeset.out): Depend on that.  Remove explicit rule.
31187         (tst-gettext3.out, tst-gettext5.out): Likewise.
31188         (LOCPATH-ENV, tst-codeset-ENV): New variables.
31189         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31190         * intl/tst-codeset.sh: Remove.
31191         * intl/tst-gettext3.sh: Likewise.
31192         * intl/tst-gettext5.sh: Likewise.
31193
31194 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31195
31196         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
31197         * sysdeps/unix/syscalls.list: ... here.
31198
31199         * sysdeps/posix/getaddrinfo.c
31200         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31201         (gaiconf_init, gaiconf_reload): Use them.
31202         [!_STATBUF_ST_NSEC]
31203         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31204         Define using time_t rather than struct timespec.
31205
31206         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31207         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31208         Macros removed.
31209         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31210         [!NO_THREADS].
31211         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31212         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31213         Likewise.
31214
31215         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31216         __libc_cleanup_push argument.
31217
31218         * bits/param.h: New file.
31219         * misc/sys/param.h: New file.
31220         * include/sys/param.h: New file.
31221         * misc/Makefile (headers): Add bits/param.h.
31222         * sysdeps/generic/sys/param.h: File removed.
31223         * sysdeps/unix/sysv/linux/bits/param.h: New file.
31224         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31225         * sysdeps/mach/hurd/bits/param.h: New file.
31226         * sysdeps/mach/hurd/sys/param.h: File removed.
31227
31228         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31229         last change.
31230
31231         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31232         [_IO_MTSAFE_IO].
31233         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31234         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31235         New macros.
31236
31237         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31238         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31239         rather than -D_IO_MTSAFE_IO conditionally.
31240         * stdio-common/Makefile (CPPFLAGS): Likewise.
31241         * wcsmbs/Makefile (CPPFLAGS): Likewise.
31242         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31243         Use $(libio-mtsafe).
31244         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31245         of -D_IO_MTSAFE_IO.
31246         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31247         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31248         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31249         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31250         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31251         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31252         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31253         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31254         (CFLAGS-fread_u_chk.c): Likewise.
31255         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31256         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31257         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31258         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31259         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31260         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31261         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31262         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31263         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31264
31265         * libio/Makefile: Test [$(libc-reentrant) = yes]
31266         instead of [$(filter %REENTRANT, $(defines)) nonempty].
31267
31268         * Makeconfig
31269         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31270         * sysdeps/pthread/configure: File removed.
31271         * sysdeps/pthread/Makeconfig: New file.
31272         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31273         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31274
31275 2012-08-16  Gary Benson  <gbenson@redhat.com>
31276
31277         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31278         unmapping the first object in a namespace.
31279
31280 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31281
31282         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31283         (__internal_setnetgrent): ... this.  Add internal_function to
31284         definition.  Add libc_hidden_def.
31285         (setnetgrent): Update caller.
31286         (internal_endnetgrent): Renamed to ...
31287         (__internal_endnetgrent): ... this.  Add internal_function to
31288         definition.  Add libc_hidden_def.
31289         (endnetgrent): Update caller.
31290         (internal_getnetgrent_r): Renamed to ...
31291         (__internal_getnetgrent_r): ... this.  Add internal_function to
31292         definition.  Add libc_hidden_def.
31293         (__getnetgrent_r): Update caller.
31294         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
31295
31296 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31297
31298         * stdlib/longlong.h: Update from GCC.
31299
31300 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31301
31302         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31303         on _QL, which is set by umul_ppmm but never used.
31304         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31305         variables, which are set by GMP macros but never used.
31306         * stdio-common/_itowa.c (_itowa): Likewise.
31307         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31308         * stdlib/mod_1.c (mpn_mod_1): Likewise.
31309
31310 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
31311
31312         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31313         struct La_sh_regs is not constant.
31314         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31315         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31316         and struct La_sparc64_regs are not constant.
31317
31318 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31319
31320         * sysdeps/unix/sysv/linux/kernel-features.h
31321         (__ASSUME_POSIX_TIMERS): Remove.
31322         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31323         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31324         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31325         Make code unconditional.
31326         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31327         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31328         Make code unconditional.
31329         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31330         * sysdeps/unix/sysv/linux/clock_nanosleep.c
31331         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31332         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31333         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31334         Make code unconditional.
31335         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31336         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31337         (__libc_missing_posix_timers): Remove.
31338
31339 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31340
31341         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31342         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31343
31344         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31345
31346         * elf/dl-sym.c: Include <stdlib.h>.
31347
31348         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31349         constants, which avoids warnings in 32-bit builds.
31350
31351         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31352         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31353
31354         * misc/lseek.c: File moved to ...
31355         * io/lseek.c: ... here.
31356
31357         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31358
31359         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31360         shifting LEN more than 31 bits at once.
31361
31362 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31363
31364         [BZ #14195]
31365         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31366         segmentation fault for a case of two empty input strings.
31367         * string/test-strncasecmp.c (check1): Renamed to...
31368         (bz12205): ...this.
31369         (bz14195): Add new testcase for two empty input strings and N > 0.
31370         (test_main): Call new testcase, adapt for renamed function.
31371
31372 2012-08-15  Andreas Jaeger  <aj@suse.de>
31373
31374         [BZ #14090]
31375         * crypt/md5test2.c: New test, based on test supplied by Serge
31376         Belyshev <belyshev@depni.sinp.msu.ru>.
31377         * crypt/Makefile (xtests): Add md5test-giant..
31378         * crypt/Makefile ($(objpfx)md5test-giant): Add.
31379
31380 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
31381
31382         [BZ #14090]
31383         * crypt/md5.c (md5_process_block): Don't assume the buffer
31384         length is less than 2**32.
31385         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31386         length is less than 2**64.
31387
31388 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31389
31390         * string/str-two-way.h: Include <sys/param.h>.
31391         (MAX): Macro removed.
31392
31393         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31394         Move #define and #undef of memmove to just before and after
31395         including <string.h>.
31396
31397         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31398         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31399         and after including <string.h>.  Move declarations of
31400         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31401         to before #include "string/memmove.c".
31402
31403         * include/dirent.h: Declare __getdirentries.
31404
31405         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31406         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31407
31408 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
31409
31410         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31411         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31412         * sysdeps/i386/configure: Regenerated.
31413         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31414         STABS_CURRENT_FILE, and STABS_FUN.
31415         (END): Remove call to STABS_FUN_END.
31416         (STABS_CURRENT_FILE1): Delete.
31417         (STABS_CURRENT_FILE): Likewise.
31418         (STABS_FUN): Likewise.
31419         (STABS_FUN_END): Likewise.
31420         (STABS_FUN2): Likewise.
31421         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31422         * sysdeps/x86_64/configure: Regenerated.
31423
31424 2012-08-14  Roland McGrath  <roland@hack.frob.com>
31425
31426         * elf/dl-open.c: Include <atomic.h>.
31427         * elf/dl-lookup.c: Likewise.
31428
31429 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
31430
31431         * sysdeps/unix/sysv/linux/kernel-features.h
31432         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31433         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31434         unconditionally.
31435         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31436         unconditionally.
31437         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31438         condition on __ASSUME_CLONE_THREAD_FLAGS.
31439
31440 2012-08-14  Andreas Jaeger  <aj@suse.de>
31441
31442         * sysdeps/i386/fpu/libm-test-ulps: Update.
31443
31444 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
31445
31446         * include/atomic.h (atomic_exchange_and_add): Split into ...
31447         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31448         New atomic macros.
31449
31450 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
31451
31452         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31453
31454 2012-08-13  Jeff Law <law@redhat.com>
31455
31456         * manual/stdio.texi (snprintf): Clarify handling of the trailing
31457         null byte in the output string.
31458
31459 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
31460
31461         * sysdeps/unix/sysv/linux/kernel-features.h
31462         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31463         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31464         (__ASSUME_ARG_MAX_STACK_BASED): Define.
31465         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31466         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31467         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
31468         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31469
31470 2012-08-09  Jeff Law <law@redhat.com>
31471
31472         [BZ #13939]
31473         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31474         When avoid_arena is set, don't retry in the that arena.  Pick the
31475         next one, whatever it might be.
31476         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31477         (arena_lock): Pass in new parameter to arena_get2.
31478         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31479         arena_get2.
31480         (__libc_malloc): Unify retrying after main arena failure with
31481         __libc_memalign version.
31482         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31483
31484 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
31485
31486         [BZ #14166]
31487         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31488         to __redirect_strstr.
31489         (__strstr_sse42): Use typeof __redirect_strstr.
31490         (__strstr_ia32): Likewise.
31491         (__libc_strstr): New prototype.
31492         (strstr): Renamed to ...
31493         (__libc_strstr): This.
31494         (strstr): New strong alias of __libc_strstr.
31495         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31496         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31497         __redirect_time.
31498         Include <time.h>.
31499         (__libc_time): New prototype.
31500         (time_ifunc): Replace time with __libc_time.
31501         (time): New strong alias and hidden definition of __libc_time.
31502         (__GI_time): Remove strong alias.
31503         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31504         Include <stddef.h>.
31505         (memmove): Redefined to __redirect_memmove.
31506         (__memmove_sse2): Use typeof __redirect_memmove.
31507         (__memmove_ssse3): Likewise.
31508         (__memmove_ssse3_back): Likewise.
31509         (__libc_memmove): New prototype.
31510         (memmove): Renamed to ...
31511         (__libc_memmove): This.
31512         (memmove): New strong alias of __libc_memmove.
31513
31514 2012-08-08  Mark Salter  <msalter@redhat.com>
31515
31516         * elf/elf.h
31517         (R_MN10300_TLS_GD): Define.
31518         (R_MN10300_TLS_LD): Likewise.
31519         (R_MN10300_TLS_LDO): Likewise.
31520         (R_MN10300_TLS_GOTIE): Likewise.
31521         (R_MN10300_TLS_IE): Likewise.
31522         (R_MN10300_TLS_LE): Likewise.
31523         (R_MN10300_TLS_DTPMOD): Likewise.
31524         (R_MN10300_TLS_DTPOFF): Likewise.
31525         (R_MN10300_TLS_TPOFF): Likewise.
31526         (R_MN10300_SYM_DIFF): Likewise.
31527         (R_MN10300_ALIGN): Likewise.
31528         (R_MN10300_NUM): Update.
31529
31530 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
31531
31532         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31533         Remove.
31534
31535 2012-08-08  Roland McGrath  <roland@hack.frob.com>
31536
31537         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31538
31539         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31540         sysdeps/unix -> sysdeps/posix move.
31541         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31542
31543 2012-08-07      Allan McRae     <allan@archlinux.org>
31544
31545         [BZ #14303]
31546         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31547         (SUNOS_CPP): Likewise.
31548         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31549         not found.
31550         (open_input): Call CPP using execvp.
31551
31552 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
31553
31554         * sysdeps/unix/sysv/linux/kernel-features.h
31555         (__ASSUME_PROT_GROWSUPDOWN): Remove.
31556         (__ASSUME_NO_CLONE_DETACHED): Likewise.
31557         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31558         (__ASSUME_WAITID_SYSCALL): Likewise.
31559         * sysdeps/unix/sysv/linux/dl-execstack.c
31560         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31561         code unconditional.
31562         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31563         conditional code.
31564         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31565         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31566         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31567         code.
31568         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31569         unconditional.
31570         [__ASSUME_WAITID_SYSCALL]: Likewise.
31571         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31572
31573 2012-08-07  Roland McGrath  <roland@hack.frob.com>
31574
31575         * sysdeps/unix/closedir.c: Renamed to ...
31576         * sysdeps/posix/closedir.c: ... here.
31577         * sysdeps/unix/dirfd.c: Renamed to ...
31578         * sysdeps/posix/dirfd.c: ... here.
31579         * sysdeps/unix/dirstream.h: Renamed to ...
31580         * sysdeps/posix/dirstream.h: ... here.
31581         * sysdeps/unix/fdopendir.c: Renamed to ...
31582         * sysdeps/posix/fdopendir.c: ... here.
31583         * sysdeps/unix/opendir.c: Renamed to ...
31584         * sysdeps/posix/opendir.c: ... here.
31585         * sysdeps/unix/readdir.c: Renamed to ...
31586         * sysdeps/posix/readdir.c: ... here.
31587         * sysdeps/unix/readdir_r.c: Renamed to ...
31588         * sysdeps/posix/readdir_r.c: ... here.
31589         * sysdeps/unix/rewinddir.c: Renamed to ...
31590         * sysdeps/posix/rewinddir.c: ... here.
31591         * sysdeps/unix/seekdir.c: Renamed to ...
31592         * sysdeps/posix/seekdir.c: ... here.
31593         * sysdeps/unix/telldir.c: Renamed to ...
31594         * sysdeps/posix/telldir.c: ... here.
31595         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31596         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31597         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31598         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31599
31600         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31601         * bits/fcntl.h: ... here.
31602
31603         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31604         not 0.
31605         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31606         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31607         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31608         (struct flock): Move l_start, l_len to the beginning.
31609         Use __pid_t for l_pid.
31610         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31611         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31612         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31613         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31614         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31615         [__USE_LARGEFILE64] (struct flock64): New type.
31616         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31617
31618         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31619         * bits/dirent.h: ... here.
31620
31621         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31622         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31623
31624 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
31625
31626         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31627         Change from 2.6.0 to 2.6.16.
31628         * sysdeps/unix/sysv/linux/configure: Regenerated.
31629         * sysdeps/unix/sysv/linux/kernel-features.h
31630         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31631         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31632         version.
31633         (__ASSUME_UTIMES): Likewise.
31634         (__ASSUME_CLONE_STOPPED): Remove.
31635         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31636         architectures, not kernel version.
31637         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31638         (__ASSUME_NO_CLONE_DETACHED): Likewise.
31639         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31640         (__ASSUME_WAITID_SYSCALL): Likewise.
31641         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31642         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31643         * README: State 2.6.16 as minimum Linux kernel version.  Do not
31644         refer to older versions.
31645
31646 2012-08-06  Roland McGrath  <roland@hack.frob.com>
31647
31648         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31649         Define alphasort64 as an alias.
31650         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31651         Define versionsort64 as an alias.
31652         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31653         Define scandir64 as an alias.
31654         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31655         Define scandirat64 as an alias.
31656         * dirent/alphasort64.c (alphasort64):
31657         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31658         * dirent/versionsort64.c: Likewise.
31659         * dirent/scandir64.c: Likewise.
31660         * dirent/scandirat64.c: Likewise.
31661         * sysdeps/wordsize-64/alphasort.c: File removed.
31662         * sysdeps/wordsize-64/alphasort64.c: File removed.
31663         * sysdeps/wordsize-64/scandir.c: File removed.
31664         * sysdeps/wordsize-64/scandir64.c: File removed.
31665         * sysdeps/wordsize-64/scandirat.c: File removed.
31666         * sysdeps/wordsize-64/scandirat64.c: File removed.
31667         * sysdeps/wordsize-64/versionsort.c: File removed.
31668         * sysdeps/wordsize-64/versionsort64.c: File removed.
31669         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31670         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31671         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31672         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31673         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31674         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31675         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31676         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31677
31678         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31679         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31680         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31681         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31682         [defined __arch64__ || defined __sparcv9]
31683         (__INO_T_MATCHES_INO64_T): New macro.
31684         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31685         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31686         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31687         * sysdeps/unix/sysv/linux/bits/dirent.h
31688         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31689         (_DIRENT_MATCHES_DIRENT64): New macro.
31690
31691         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31692         Define lockf64 as an alias.
31693         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31694         Define fseeko64 as an alias.
31695         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31696         Define ftello64 as an alias.
31697         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31698         Define _IO_fgetpos64 and fgetpos64 as aliases.
31699         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31700         Define _IO_fsetpos64 and fsetpos64 as aliases.
31701         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31702         Conditionalize body on this.
31703         * libio/fseeko64.c: Likewise.
31704         * libio/ftello64.c: Likewise.
31705         * libio/iofgetpos64.c: Likewise.
31706         * libio/iofsetpos64.c: Likewise.
31707         * sysdeps/wordsize-64/lockf.c: File removed.
31708         * sysdeps/wordsize-64/lockf64.c: File removed.
31709         * sysdeps/wordsize-64/fseeko.c: File removed.
31710         * sysdeps/wordsize-64/fseeko64.c: File removed.
31711         * sysdeps/wordsize-64/ftello.c: File removed.
31712         * sysdeps/wordsize-64/ftello64.c: File removed.
31713         * sysdeps/wordsize-64/iofgetpos.c: File removed.
31714         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31715         * sysdeps/wordsize-64/iofsetpos.c: File removed.
31716         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31717         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31718         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31719         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31720         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31721         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31722         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31723         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31724         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31725         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31726         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31727
31728         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31729         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31730         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31731         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31732         [defined __arch64__ || defined __sparcv9]
31733         (__OFF_T_MATCHES_OFF64_T): New macro.
31734         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31735         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31736         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31737         (__OFF_T_MATCHES_OFF64_T): New macro.
31738
31739 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
31740
31741         * stdlib/secure-getenv.c (__secure_getenv): Replace
31742         GLIBC_2_16 with GLIBC_2_17.
31743
31744 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
31745
31746         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31747         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31748
31749 2012-08-03  David S. Miller  <davem@davemloft.net>
31750
31751         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31752
31753 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
31754
31755         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31756         Remove.
31757         (__ASSUME_CORRECT_SI_PID): Likewise.
31758         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31759         (__ASSUME_TMPFS_NAME): Likewise.
31760         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31761         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31762         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31763         (HAVE_AUX_SECURE): Make definition unconditional.
31764         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31765         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31766
31767 2012-08-03  Roland McGrath  <roland@hack.frob.com>
31768
31769         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31770         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31771         * sysdeps/mach/hurd/eloop-threshold.h: New file.
31772         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31773         __eloop_threshold instead of SYMLOOP_MAX.
31774
31775         * sysdeps/generic/eloop-threshold.h: New file.
31776         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31777         of MAXSYMLINKS.
31778         * elf/chroot_canon.c (chroot_canon): Likewise.
31779
31780 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
31781
31782         [BZ #13717]
31783         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31784         Change to 2.6.0 everywhere.
31785         * sysdeps/unix/sysv/linux/configure: Regenerated.
31786         * sysdeps/unix/sysv/linux/kernel-features.h
31787         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31788         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31789         kernel versions.
31790         (__ASSUME_POSIX_TIMERS): Define unconditionally.
31791         (__ASSUME_FUTEX_REQUEUE): Remove.
31792         (__ASSUME_STATFS64): Define unconditionally.
31793         (__ASSUME_AT_SECURE): Likewise.
31794         (__ASSUME_CORRECT_SI_PID): Likewise.
31795         (__ASSUME_TGKILL): Define without depending on kernel version for
31796         i386.
31797         (__ASSUME_UTIMES): Likewise.
31798         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31799         kernel version.
31800         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31801         (__ASSUME_TMPFS_NAME): Likewise.
31802         * README: Update reference to Linux kernel versions.
31803
31804 2012-08-02  Marek Polacek  <polacek@redhat.com>
31805
31806         [BZ# 14150]
31807         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
31808         libc_cv_asm_type_prefix with %.
31809         * configure: Regenerated.
31810         * include/libc-symbols.h: Remove comment about
31811         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31812         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31813         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31814         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31815         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31816         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31817         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31818         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31819         * elf/tst-unique2mod1.c: Likewise.
31820         * elf/tst-unique1mod2.c: Likewise.
31821         * elf/tst-unique1mod1.c: Likewise.
31822         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31823         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31824         Replace ASM_TYPE_DIRECTIVE with .type.
31825         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31826         * sysdeps/i386/sysdep.h: Likewise.
31827         * sysdeps/x86_64/sysdep.h: Likewise.
31828         * sysdeps/sh/sysdep.h: Likewise.
31829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31830         Do not define ASM_TYPE_DIRECTIVE.
31831         * sysdeps/powerpc/sysdep.h: Likewise.
31832         * sysdeps/powerpc/powerpc32/sysdep.h:
31833         Replace ASM_TYPE_DIRECTIVE with .type.
31834         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31835         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31836         * sysdeps/i386/fpu/e_powf.S: Likewise.
31837         * sysdeps/i386/fpu/e_expl.S: Likewise.
31838         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31839         * sysdeps/i386/fpu/e_acosh.S: Likewise.
31840         * sysdeps/i386/fpu/e_pow.S: Likewise.
31841         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31842         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31843         * sysdeps/i386/fpu/s_expm1.S: Likewise.
31844         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31845         * sysdeps/i386/fpu/e_log2.S: Likewise.
31846         * sysdeps/i386/fpu/e_log2l.S: Likewise.
31847         * sysdeps/i386/fpu/e_scalb.S: Likewise.
31848         * sysdeps/i386/fpu/e_powl.S: Likewise.
31849         * sysdeps/i386/fpu/e_log10f.S: Likewise.
31850         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31851         * sysdeps/i386/fpu/e_logl.S: Likewise.
31852         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31853         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31854         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31855         * sysdeps/i386/fpu/e_log2f.S: Likewise.
31856         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31857         * sysdeps/i386/fpu/e_log.S: Likewise.
31858         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31859         * sysdeps/i386/fpu/e_logf.S: Likewise.
31860         * sysdeps/i386/fpu/e_log10l.S: Likewise.
31861         * sysdeps/i386/fpu/e_atanh.S: Likewise.
31862         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31863         * sysdeps/i386/fpu/e_log10.S: Likewise.
31864         * sysdeps/i386/fpu/s_frexp.S: Likewise.
31865         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31866         * sysdeps/i386/fpu/s_asinh.S: Likewise.
31867         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31868         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31869         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31870         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31871         * sysdeps/i386/i686/strtok.S: Likewise.
31872         * sysdeps/i386/i386-mcount.S: Likewise.
31873         * sysdeps/i386/strtok.S: Likewise.
31874         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31875         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31876         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31877         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31878         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31879         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31880         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31881         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31882         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31883         * sysdeps/x86_64/_mcount.S: Likewise.
31884         * sysdeps/x86_64/strtok.S: Likewise.
31885         * sysdeps/sh/_mcount.S: Likewise.
31886
31887 2012-08-01  Roland McGrath  <roland@hack.frob.com>
31888
31889         * libio/iofopen.c: Include <fcntl.h>.
31890         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31891         (_IO_fopen64, fopen64): Define as aliases.
31892         * libio/iofopen64.c: Include <fcntl.h>.
31893         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31894         Conditionalize body on this.
31895         * sysdeps/wordsize-64/iofopen.c: File removed.
31896         * sysdeps/wordsize-64/iofopen64.c: File removed.
31897
31898 2012-08-01  Marek Polacek  <polacek@redhat.com>
31899
31900         * libc/Makeconfig: Use elf in place of binfmt-subdir.
31901         Use dlfcn directly instead of a variable.
31902         (binfmt-subdir): Do not define.
31903         (dlfcn): Likewise.
31904
31905 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
31906
31907         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31908         Remove all definitions.
31909         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31910         <kernel-features.h>.
31911         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31912         (miss_F_GETOWN_EX): Remove all definitions.
31913         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31914         macro definition.
31915         [!__ASSUME_FCNTL64]: Remove conditional code.
31916         [__ASSUME_FCNTL64]: Make code unconditional.
31917         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31918         <kernel-features.h>.
31919         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31920         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31921         (lockf64) [__NR_fcntl64]: Make code unconditional.
31922         (lockf64) [__ASSUME_FCNTL64]: Likewise.
31923
31924         * sysdeps/unix/sysv/linux/kernel-features.h
31925         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31926         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31927         Make code unconditional.
31928         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31929         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31931         [__NR_vfork]: Make code unconditional.
31932         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31933         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31935         [__NR_vfork]: Make code unconditional.
31936         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31937         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31938
31939 2012-08-01  Roland McGrath  <roland@hack.frob.com>
31940
31941         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31942         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31943
31944         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31945         Define mkstemp64 as an alias.
31946         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31947         Define mkstemps64 as an alias.
31948         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31949         Define mkostemp64 as an alias.
31950         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31951         Define mkostemps64 as an alias.
31952         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31953         Conditionalize body on this.
31954         * misc/mkostemp64.c: Likewise.
31955         * misc/mkostemps64.c: Likewise.
31956         * misc/mkstemps64.c: Likewise.
31957         * sysdeps/wordsize-64/mkstemp64.c: File removed.
31958         * sysdeps/wordsize-64/mkostemp64.c: File removed.
31959         * sysdeps/wordsize-64/mkostemp.c: File removed.
31960         * sysdeps/wordsize-64/mkstemp.c: File removed.
31961         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31962         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31963         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31964         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31965
31966         [BZ #14138]
31967         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31968         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31969         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31970         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31971
31972         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31973         compat_symbol macros from <shlib-compat.h> rather than the underlying
31974         default_symbol_version and symbol_version macros, so that DEFAULT
31975         lines in shlib-versions are respected.
31976         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31977
31978 2012-08-01  Florian Weimer  <fweimer@redhat.com>
31979
31980         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31981         Declare with warn_unused_result.
31982         (setgid, setregid, setegid, setresgid): Likewise.
31983         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31984         Likewise.
31985         * WUR-REPORT: Remove set*id functions.
31986
31987 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
31988
31989         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31990
31991 2012-07-31  Roland McGrath  <roland@hack.frob.com>
31992
31993         [BZ #10191]
31994         * include/sys/socket.h (__libc_accept, __libc_accept4):
31995         Add attribute_hidden.
31996         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31997
31998         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31999         use of PTR_MANGLE.
32000         * inet/getnetgrent_r.c (setup): Likewise.
32001
32002         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32003
32004 2012-07-31  David S. Miller  <davem@davemloft.net>
32005
32006         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32007
32008 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
32009
32010         [BZ #13629]
32011         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32012         value between 1.0 and 2.0 and smaller part has absolute value less
32013         than 1.0.
32014         * math/s_clog10.c (__clog10): Likewise.
32015         * math/s_clog10f.c (__clog10f): Likewise.
32016         * math/s_clog10l.c (__clog10l): Likewise.
32017         * math/s_clogf.c (__clogf): Likewise.
32018         * math/s_clogl.c (__clogl): Likewise.
32019         * math/libm-test.inc (clog_test): Add more tests.
32020         (clog10_test): Likewise.
32021         * sysdeps/i386/fpu/libm-test-ulps: Update.
32022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32023
32024 2012-07-31  Florian Weimer  <fweimer@redhat.com>
32025
32026         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32027         Exit with zero in case no suitable GID is found, and write a
32028         message to standard error.
32029
32030 2012-07-30  Roland McGrath  <roland@hack.frob.com>
32031
32032         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32033         rather than to 1.
32034         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32035         (MAXPATHLEN): Removed.
32036         (NOGROUP, NODEV): New macros.
32037         (setbit, clrbit, isset, isclr): New macros.
32038         (howmany, roundup, powerof2): New macros.
32039         (DEV_BSIZE): New macro.
32040
32041         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32042         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32043
32044         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32045         definition on [!__NO_LONG_DOUBLE_MATH].
32046
32047         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32048         PTR_MANGLE and PTR_DEMANGLE.
32049
32050         * socket/accept4.c (accept4): Rename to __libc_accept4.
32051         Define accept4 as a weak alias.
32052
32053         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32054         on [_DIRENT_HAVE_D_TYPE].
32055         * io/ftw.c (ftw_dir): Likewise.
32056
32057         * io/xmknod.c (__xmknod): Don't check PATH for being null.
32058
32059         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32060
32061         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32062         Use the BSD numbers rather than the arbitrary ones we had.
32063         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32064         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32065         (SIGXCPU, SIGXFSZ): New macros.
32066         (_NSIG): Now 32.
32067
32068         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32069         initializer on [_LIBC_REENTRANT].
32070
32071         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32072         definitions inside [_POSIX_MAPPED_FILES].
32073
32074         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32075
32076         * dirent/opendir.c: Include <fcntl.h>.
32077
32078         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32079         (__libc_getspecific): Likewise.
32080         (__libc_key_create): Likewise.
32081
32082         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32083         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32084         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32085         (tmpfile64): Define as alias.
32086         * sysdeps/wordsize-64/tmpfile.c: File removed.
32087         * sysdeps/wordsize-64/tmpfile64.c: File removed.
32088         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32089         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32090
32091         * stdio-common/vfscanf.c: Include <stdbool.h>.
32092         * nss/makedb.c: Likewise.
32093         * stdio-common/_i18n_number.h: Likewise.
32094         * argp/argp-help.c: Likewise.
32095         * posix/wordexp.c: Likewise.
32096         * sysdeps/posix/spawni.c: Likewise.
32097         * nss/nss_files/files-initgroups.c: Likewise.
32098         * stdio-common/reg-modifier.c: Include <stdlib.h>.
32099         * nss/nss_files/files-initgroups.c: Likewise.
32100         * nss/nss_db/db-netgrp.c: Likewise.
32101         * nss/nss_db/db-initgroups.c: Likewise.
32102         * io/fchmodat.c: Include <sys/stat.h>.
32103
32104         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32105         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32106
32107         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32108         [HAVE_MMAP].
32109
32110         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32111         Add multiple inclusion protection.
32112
32113 2012-07-27  David S. Miller  <davem@davemloft.net>
32114
32115         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32116
32117 2012-07-27  Gary Benson  <gbenson@redhat.com>
32118
32119         [BZ #14298]
32120         * elf/rtld.c: Include <stap-probe.h>.
32121         (dl_main): Added static probes "init_start" and "init_complete".
32122         * elf/dl-load.c: Include <stap-probe.h>.
32123         (lose): Take new parameter "nsid".
32124         Added static probe "map_failed".
32125         (_dl_map_object_from_fd): Pass namespace id to lose.
32126         Added static probe "map_start".
32127         (open_verify): Pass namespace id to lose.
32128         * elf/dl-open.c: Include <stap-probe.h>.
32129         (dl_open_worker) Added static probes "map_complete", "reloc_start"
32130         and "reloc_complete".
32131         * elf/dl-close.c: Include <stap-probe.h>.
32132         (_dl_close_worker): Added static probes "unmap_start" and
32133         "unmap_complete".
32134         * elf/rtld-debugger-interface.txt: New file documenting the above.
32135
32136 2012-07-26  Roland McGrath  <roland@hack.frob.com>
32137
32138         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32139         rather than a string variable.
32140         * sunrpc/rpc_main.c (h_output): Likewise.
32141         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32142
32143 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
32144
32145         * inet/check_native.c: New file.
32146
32147 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
32148
32149         [BZ #13629]
32150         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32151         if larger part has absolute value 1.0.
32152         * math/s_clog10.c (__clog10): Likewise.
32153         * math/s_clog10f.c (__clog10f): Likewise.
32154         * math/s_clog10l.c (__clog10l): Likewise.
32155         * math/s_clogf.c (__clogf): Likewise.
32156         * math/s_clogl.c (__clogl): Likewise.
32157         * math/libm-test.inc (clog_test): Add more tests.
32158         (clog10_test): Likewise.
32159         * sysdeps/i386/fpu/libm-test-ulps: Update.
32160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32161
32162         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32163         (pltexit): Likewise.
32164         (La_regs): Likewise.
32165         (La_retval): Likewise.
32166         (int_retval): Likewise.
32167         Update #error for removed macros to refer only to definitions in
32168         tst-audit.h.
32169         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32170         macro.
32171         (pltexit): Likewise.
32172         (La_regs): Likewise.
32173         (La_retval): Likewise.
32174         (int_retval): Likewise.
32175         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32176         macro.
32177         (pltexit): Likewise.
32178         (La_regs): Likewise.
32179         (La_retval): Likewise.
32180         (int_retval): Likewise.
32181         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32182         macro.
32183         (pltexit): Likewise.
32184         (La_regs): Likewise.
32185         (La_retval): Likewise.
32186         (int_retval): Likewise.
32187         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32188         macro.
32189         (pltexit): Likewise.
32190         (La_regs): Likewise.
32191         (La_retval): Likewise.
32192         (int_retval): Likewise.
32193         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32194         macro.
32195         (pltexit): Likewise.
32196         (La_regs): Likewise.
32197         (La_retval): Likewise.
32198         (int_retval): Likewise.
32199         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32200         macro.
32201         (pltexit): Likewise.
32202         (La_regs): Likewise.
32203         (La_retval): Likewise.
32204         (int_retval): Likewise.
32205         * sysdeps/generic/tst-audit.h: Update comment to refer only to
32206         macro definitions in tst-audit.h.
32207         * sysdeps/i386/tst-audit.h: New file.
32208         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32209         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32210         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32211         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32212         * sysdeps/sh/tst-audit.h: Likewise.
32213         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32214         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32215         * sysdeps/x86_64/tst-audit.h: Likewise.
32216
32217 2012-07-26  Andreas Jaeger  <aj@suse.de>
32218
32219         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32220         ptrace.
32221
32222         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32223         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32224         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32225         PTRACE_O_MASK.
32226         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32227         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32228         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32229
32230         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32231         value.
32232
32233         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32234         _sigsys.
32235         (si_call_addr, si_syscall, si_arch): Define new macro.
32236         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32237         _sigsys.
32238         (si_call_addr, si_syscall, si_arch): Define new marcro.
32239         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32240         _sigsys.
32241         (si_call_addr, si_syscall, si_arch): Define new macro.
32242         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32243         _sigsys.
32244         (si_call_addr, si_syscall, si_arch): Define new macro.
32245
32246 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32247
32248         [BZ #13717]
32249         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32250         Change to 2.4.21 where previously 2.4.1.
32251         * sysdeps/unix/sysv/linux/configure: Regenerated.
32252         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32253         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32254         Linux kernel version.
32255         (__ASSUME_STD_AUXV): Remove.
32256         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32257         kernel version.
32258         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32259         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32260         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32261         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32262         (__ASSUME_NETLINK_SUPPORT): Likewise.
32263         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32264         (__no_netlink_support): Remove conditional definition.
32265         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32266         Remove.
32267         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32268         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32269         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32270         (if_nameindex_ioctl): Remove.
32271         (if_nameindex_netlink): Do not handle __no_netlink_support.
32272         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32273         code.
32274         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32275         Remove conditional code.
32276         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32277         code.
32278         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32279         unconditional.
32280         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32281         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32282         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32283         Remove.
32284         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32285         [!__ASSUME_STD_AUXV]: Remove conditional code.
32286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32287         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32288         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32290         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32291         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32292         code.
32293         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32295         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32296         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32297         conditional code.
32298         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32300         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32301         code.
32302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32303         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32304         conditional code.
32305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32306         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32307         code unconditional.
32308         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32309         conditional code.
32310         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32311         unconditional.
32312         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32313         conditional code.
32314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32315         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32316         unconditional.
32317         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32318         conditional code.
32319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32320         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32321         code unconditional.
32322         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32323         conditional code.
32324         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32325         unconditional.
32326         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32327         conditional code.
32328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32329         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32330         code unconditional.
32331         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32332         conditional code.
32333         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32334         unconditional.
32335         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32336         conditional code.
32337
32338 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
32339
32340         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32341         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32342         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32343         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32344         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32345         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32346         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32347         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32348         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32349         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32350         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32351         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32352         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32353         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32354         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32355         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32356         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32357         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32358         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32359         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32360         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32361         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32362         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32363
32364 2012-07-25  Florian Weimer  <fweimer@redhat.com>
32365
32366         * Versions.def: Add GLIBC_2.17.
32367         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32368         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32369         Introduce __libc_secure_getenv.
32370         * stdlib/Versions (2.17): Add secure_getenv
32371         (GLIBC_PRIVATE): Add __libc_secure_getenv.
32372         * stdlib/secure-getenv.c: Rename __secure_getenv to
32373         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
32374         symbol __secure_getenv for GLIBC_2.0.
32375         * stdlib/tst-secure-getenv.c: New.
32376         * stdlib/Makefile (tests): Add testcase.
32377         * manual/startup.texi (Environment Access): Document
32378         secure_getenv.
32379         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32380         __libc_secure_getenv.
32381         * inet/ruserpass.c (ruserpass): Likewise.
32382         * malloc/mtrace.c (mtrace): Likewise.
32383         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32384         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32385         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32386         * sysdeps/posix/tempname.c: Likewise.  Evaluate
32387         HAVE_SECURE_GETENV.
32388         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32389         __secure_getenv to __libc_secure_getenv.
32390         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32392         Likewise.
32393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32394         Likewise.
32395         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32396         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32397         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32398         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32399         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32400         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32401         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32402
32403 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32404
32405         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32406         (struct La_i86_retval): Likewise.
32407         (struct La_x86_64_regs): Likewise.
32408         (struct La_x86_64_retval): Likewise.
32409         (struct La_x32_regs): Likewise.
32410         (struct La_x32_retval): Likewise.
32411         (struct La_ppc32_regs): Likewise.
32412         (struct La_ppc32_retval): Likewise.
32413         (struct La_ppc64_regs): Likewise.
32414         (struct La_ppc64_retval): Likewise.
32415         (struct La_sh_regs): Likewise.
32416         (struct La_sh_retval): Likewise.
32417         (struct La_s390_32_regs): Likewise.
32418         (struct La_s390_32_retval): Likewise.
32419         (struct La_s390_64_regs): Likewise.
32420         (struct La_s390_64_retval): Likewise.
32421         (struct La_sparc32_regs): Likewise.
32422         (struct La_sparc32_retval): Likewise.
32423         (struct La_sparc64_regs): Likewise.
32424         (struct La_sparc64_retval): Likewise.
32425         (struct audit_ifaces): Remove architecture-specific pltenter and
32426         pltexit members.
32427         * sysdeps/i386/ldsodefs.h: New file.
32428         * sysdeps/powerpc/ldsodefs.h: Likewise.
32429         * sysdeps/s390/ldsodefs.h: Likewise.
32430         * sysdeps/sh/ldsodefs.h: Likewise.
32431         * sysdeps/sparc/ldsodefs.h: Likewise.
32432         * sysdeps/x86_64/ldsodefs.h: Likewise.
32433
32434 2012-07-25  Marek Polacek  <polacek@redhat.com>
32435
32436         [BZ #6808]
32437         * math/libm-test.inc (yn_test): Add another test.
32438         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32439         to ERANGE when the result is +-Inf.
32440         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32441         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32442         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32443         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32444
32445 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
32446
32447         * conform/data/time.h-data (NULL): Use macro-constant.  Require
32448         equal to 0.
32449         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
32450         clock_t.
32451         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
32452
32453 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
32454
32455         * configure.in <sysdeps resolving>: Correct printing
32456         Implies_before.
32457         * configure: Regenerate.
32458
32459 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
32460
32461         * math/w_ilogb.c: Include <limits.h>.
32462         * math/w_ilogbl.c: Likewise.
32463
32464 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32465
32466         * manual/lang.texi (__va_copy): Document primarily as ISO C99
32467         va_copy.  Document allowing for unavailable va_copy only as
32468         pre-C99 compatibility.
32469         * manual/string.texi (Copying and Concatenation): Use va_copy
32470         instead of __va_copy in concat example.
32471
32472 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
32473
32474         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32475         (__sendto): Use create_address_port.  Initialize APORT and deallocate
32476         it if not null.
32477
32478         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32479         with O_NOLINK passed to __file_name_lookup.
32480
32481         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32482         with O_NOLINK passed to __file_name_lookup.
32483
32484         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32485         negative N or less than NGIDS.
32486
32487         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32488         type to string_t.  Set ERANGE as errno and return it if NAME is not big
32489         enough.  Use memcpy instead of strncpy.
32490
32491 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32492
32493         * elf/Makefile (check-data): Remove.
32494         (localplt.data): New vpath directive.
32495         ($(objpfx)check-localplt.out): Use localplt.data from vpath
32496         instead of $(check-data).
32497         * scripts/data/localplt-generic.data: Move to ...
32498         * sysdeps/generic/localplt.data: ... here.
32499         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32500         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32501         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32503         ... here.
32504         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32506         ... here.
32507         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32508         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32509         ... here.
32510         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32511         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32512         ... here.
32513         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32514         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32515         ... here.
32516         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32517         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32518         ... here.
32519
32520 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32521
32522         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32523         PPC32 and PPC64 files.
32524         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32525         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32526
32527 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32528
32529         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32530         __makecontext_ret to ...
32531         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32532         ... here and call exit if uc_link is NULL.  New file.
32533         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32534         __makecontext_ret.S.
32535         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32536         __makecontext_ret to ...
32537         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32538         ... here and call exit if uc_link is NULL.  New file.
32539         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32540         __makecontext_ret.S.
32541
32542 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32543
32544         * elf/elf.h (R_390_IRELATIVE): New definition.
32545         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32546         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
32547         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32548         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32549         (elf_machine_lazy_rel): Likewise.
32550         * sysdeps/s390/dl-irel.h: New file.
32551         * sysdeps/s390/s390-64/memcpy.S: New asm code.
32552         * sysdeps/s390/s390-64/memset.S: New asm code.
32553         * sysdeps/s390/s390-64/memcmp.S: New asm code.
32554         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32555         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32556         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32557         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32558         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32559         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32560         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32561         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32562         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32563         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32564         * sysdeps/s390/s390-32/memcpy.S: New asm code.
32565         * sysdeps/s390/s390-32/memset.S: New asm code.
32566         * sysdeps/s390/s390-32/memcmp.S: New asm code.
32567
32568 2012-07-17  Marek Polacek  <polacek@redhat.com>
32569
32570         [BZ #14349]
32571         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32572         * sysdeps/s390/s390-64/configure.in: Likewise.
32573         * sysdeps/sparc/configure.in: Likewise.
32574         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32575         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32576         * sysdeps/i386/configure.in: Likewise.
32577         * sysdeps/x86_64/configure.in: Likewise.
32578         * sysdeps/sh/configure.in: Likewise.
32579         * sysdeps/s390/s390-32/configure: Regenerated.
32580         * sysdeps/s390/s390-64/configure: Likewise.
32581         * sysdeps/x86_64/configure: Likewise.
32582         * sysdeps/sh/configure: Likewise.
32583         * sysdeps/powerpc/powerpc64/configure: Likewise.
32584         * sysdeps/powerpc/powerpc32/configure: Likewise.
32585         * sysdeps/sparc/configure: Likwise.
32586         * sysdeps/i386/configure: Likewise.
32587
32588         * elf/dl-open.c: Comment fixes.
32589
32590 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
32591
32592         * Makefile [CXX] (check-data): Remove.
32593         [CXX] (c++-types.data): New vpath directive.
32594         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32595         vpath.  Do not allow for C++ type data being missing.
32596         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32597         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32598         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32599         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32600         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32601         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32602         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32604         ... here.
32605         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32607         ... here.
32608         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32609         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32610         ... here.
32611         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32612         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32613         ... here.
32614         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32615         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32616         ... here.
32617         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32618         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32619         ... here.
32620         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32621         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32622         ... here.
32623         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32624         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32625
32626         * elf/tls-macros.h (TLS_LE): Move architecture-specific
32627         definitions to architecture-specific files.
32628         (TLS_IE): Likewise.
32629         (TLS_LD): Likewise.
32630         (TLS_GD): Likewise.
32631         * sysdeps/i386/tls-macros.h: New file.
32632         * sysdeps/powerpc/tls-macros.h: Likewise.
32633         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32634         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32635         * sysdeps/sh/tls-macros.h: Likewise.
32636         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32637         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32638         * sysdeps/x86_64/tls-macros.h: Likewise.
32639
32640 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
32641
32642         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32643         zero value for regular exit case.
32644
32645         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32646         (__start_context): Preserve zero value for regular exit case.
32647
32648 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
32649             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32650
32651         * manual/setjmp.texi (setcontext): Clarify normal process
32652         termination when uc_link is the null pointer.
32653         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32654         exit call.
32655
32656 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
32657
32658         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32659         preprocessor.  Test for each exception mask separately.
32660
32661 2012-07-16  Andreas Jaeger  <aj@suse.de>
32662
32663         * po/ru.po: Update from translation team.
32664
32665 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
32666
32667         * conform/data/string.h-data (NULL): Use macro-constant.  Require
32668         equal to 0.
32669         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32670         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32671         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32672         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32673         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32674
32675 2012-07-13  Andreas Jaeger  <aj@suse.de>
32676
32677         * po/fr.po: Update from translation team.
32678
32679 2012-07-12  Marek Polacek  <polacek@redhat.com>
32680
32681         [BZ #14173]
32682         * math/libm-test.inc (yn_test): Add test for BZ #14173.
32683         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32684         loop condition.
32685
32686 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
32687
32688         [BZ #13717]
32689         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32690         Change to 2.4.1 where previously 2.4.0.
32691         * sysdeps/unix/sysv/linux/configure: Regenerated.
32692         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32693         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32694         version.
32695         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32696         (__ASSUME_AT_CLKTCK): Remove.
32697         (__ASSUME_AT_PAGESIZE): Likewise.
32698         (__ASSUME_AT_XID): Likewise.
32699         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32700         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32701         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32702         unconditionally.
32703         (HAVE_AUX_PAGESIZE): Likewise.
32704         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32705         [__ASSUME_AT_CLKTCK]: Make code unconditional.
32706         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32707
32708 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
32709
32710         [BZ #14307]
32711         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32712         the temporary buffer used to invoke __gethostbyname2_r,
32713         __gethostbyaddr_r and gethostbyname4_r to make room for struct
32714         host_data / struct gaih_addrtuple.
32715         * resolv/nss_dns/dns-host.c (global scope): Move definition of
32716         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32717         header file nss/nsswitch.h.
32718         * nss/nsswitch.h (global scope): Add definition of implementation
32719         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32720         resolv/nss_dns/dns-host.c).
32721
32722 2012-07-11  Andreas Jaeger  <aj@suse.de>
32723
32724         * po/fr.po: Update from translation team.
32725
32726         * po/sv.po: Update from translation team
32727         * po/fr.po: Another update from translation team.
32728
32729 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32730
32731         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32732         for subnormals or multiply small sinh result by itself.
32733         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32734         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32735
32736 2012-07-11  David S. Miller  <davem@davemloft.net>
32737
32738         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32739
32740 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
32741
32742         [BZ #14347]
32743         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32744         (INTERNAL_MARK): Shift it here.
32745
32746 2012-07-10  Marek Polacek  <polacek@redhat.com>
32747
32748         [BZ #14151]
32749         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
32750         libc_cv_asm_global_directive with .globl.
32751         * configure: Regenerated.
32752         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32753         with .globl.
32754         * sysdeps/i386/configure: Regenerated.
32755         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32756         with .globl.
32757         * sysdeps/x86_64/configure: Regenerated.
32758         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32759         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32760         * elf/tst-unique2mod2.c: Likewise.
32761         * elf/tst-unique2mod1.c: Likewise.
32762         * elf/tst-unique1mod2.c: Likewise.
32763         * elf/tst-unique1mod1.c: Likewise.
32764         * sysdeps/s390/s390-32/sysdep.h: Likewise.
32765         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32766         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32767         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32768         * sysdeps/mach/sysdep.h: Likewise.
32769         * sysdeps/i386/sysdep.h: Likewise.
32770         * sysdeps/i386/i386-mcount.S: Likewise.
32771         * sysdeps/x86_64/_mcount.S: Likewise.
32772         * sysdeps/x86_64/sysdep.h: Likewise.
32773         * sysdeps/sh/_mcount.S: Likewise.
32774         * sysdeps/sh/sysdep.h: Likewise.
32775         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32776         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32777         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32778         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32779         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32780         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32781         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32782         * locale/localeinfo.h: Likewise.
32783         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32784         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32785
32786 2012-07-09  Roland McGrath  <roland@hack.frob.com>
32787
32788         [BZ #14336]
32789         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32790         system".
32791         * manual/message.texi (The Uniforum approach): Likewise.
32792         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32793         (glibc iconv Implementation): Likewise.
32794
32795 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
32796
32797         [BZ #14337]
32798         * math/s_clog.c (__clog): Avoid scaling a value down where that
32799         could result in underflow.
32800         * math/s_clog10.c (__clog10): Likewise.
32801         * math/s_clog10f.c (__clog10f): Likewise.
32802         * math/s_clog10l.c (__clog10l): Likewise.
32803         * math/s_clogf.c (__clogf): Likewise.
32804         * math/s_clogl.c (__clogl): Likewise.
32805         * math/libm-test.inc (clog_test): Add more tests.
32806         (clog10_test): Likewise.
32807         * sysdeps/i386/fpu/libm-test-ulps: Update.
32808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32809
32810 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
32811
32812         [BZ #14283]
32813         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32814         by 7 not 8 to examine high bit of fractional part.
32815
32816         [BZ #14042]
32817         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32818         for call to __mcount_internal.
32819         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32820         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32821         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32822
32823 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
32824
32825         [BZ #14154]
32826         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32827         approximation for values within 0x1p-13f of an odd multiple of
32828         pi/4.
32829         * math/libm-test.inc (tan_test): Do not allow spurious underflow
32830         exception.  Add more tests.
32831         * sysdeps/i386/fpu/libm-test-ulps: Update.
32832
32833         [BZ #6778]
32834         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32835         inputs and return -1 for them.  Do not check for +Inf in case not
32836         reachable for +Inf.
32837         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32838         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32839         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32840         and return -1 for them.  Do not check for +Inf in case not
32841         reachable for +Inf.
32842         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32843         define.
32844         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32845         and return -1 for them.  Do not check for +Inf in case not
32846         reachable for +Inf.
32847         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
32848         spurious underflow.
32849         * sysdeps/i386/fpu/libm-test-ulps: Update.
32850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32851
32852 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
32853
32854         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32855
32856 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
32857
32858         [BZ #14157]
32859         [BZ #14331]
32860         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32861         could result in spurious underflow.  Scale down values above
32862         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32863         * math/s_csqrtf.c (__csqrtf): Likewise.
32864         * math/s_csqrtl.c (__csqrtl): Likewise.
32865         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
32866         spurious underflow.
32867         * sysdeps/i386/fpu/libm-test-ulps: Update.
32868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32869
32870 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
32871
32872         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32873         xopen-msg.sed.
32874         * catgets/xopen-msg.awk: New file.
32875         * catgets/xopen-msg.sed: Removed.
32876
32877         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32878         po2text.sed.
32879         * intl/po2test.awk: New file.
32880         * intl/po2test.sed: Removed.
32881
32882 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
32883
32884         [BZ #14328]
32885         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32886         or multiply small sinh result by itself.
32887         * math/s_ctanf.c (__ctanf): Likewise.
32888         * math/s_ctanh.c (__ctanh): Likewise.
32889         * math/s_ctanhf.c (__ctanhf): Likewise.
32890         * math/s_ctanhl.c (__ctanhl): Likewise.
32891         * math/s_ctanl.c (__ctanl): Likewise.
32892         * math/libm-test.inc (ctan_test_tonearest): New function.
32893         (ctan_test_towardzero): Likewise.
32894         (ctan_test_downward): Likewise.
32895         (ctan_test_upward): Likewise.
32896         (ctanh_test_tonearest): Likewise.
32897         (ctanh_test_towardzero): Likewise.
32898         (ctanh_test_downward): Likewise.
32899         (ctanh_test_upward): Likewise.
32900         (main): Call these new functions.
32901         * sysdeps/i386/fpu/libm-test-ulps: Update.
32902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32903
32904 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
32905
32906         * .gitignore: Delete /ports entry.
32907
32908 2012-07-03  Andreas Jaeger  <aj@suse.de>
32909
32910         * po/bg.po: Update from translation team.
32911         * po/cs.po: Likewise.
32912         * po/de.po: Likewise.
32913         * po/hr.po: Likewise.
32914         * po/nl.pl: Likewise.
32915         * po/pl.po: Likewise.
32916         * po/vi.po: Likewise.
32917
32918 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
32919
32920         * Makeconfig [!+link] (+link-before-libc): New variable.
32921         [!+link] (+link-after-libc): Likewise.
32922         [!+link] (+link-tests): Likewise.
32923         [!+link] (+link): Define in terms of $(+link-before-libc) and
32924         $(+link-after-libc).
32925         [!+link-static] (+link-static-before-libc): New variable.
32926         [!+link-static] (+link-static-after-libc): Likewise.
32927         [!+link-static] (+link-static-tests): Likewise.
32928         [!+link-static] (+link-static): Define in terms of
32929         $(+link-static-before-libc) and $(+link-static-after-libc).
32930         [build-shared] (link-libc-before-gnulib): New variable.
32931         [build-shared] (link-libc-tests): Likewise.
32932         [build-shared] (link-libc): Define in terms of
32933         $(link-libc-before-gnulib).
32934         [!build-shared] (link-libc-tests): New variable.
32935         (link-libc-static-tests): New variable.
32936         [!gnulib] (gnulib-arch): New variable.
32937         [!gnulib] (gnulib-tests): Likewise.
32938         [!gnulib] (static-gnulib-arch): Likewise.
32939         [!gnulib] (static-gnulib-tests): Likewise.
32940         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
32941         Define with "=" instead of ":=".
32942         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
32943         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
32944         * Rules (binaries-all-notests): New variable.
32945         (binaries-all-tests): Likewise.
32946         (binaries-static-notests): Likewise.
32947         (binaries-static-tests): Likewise.
32948         (binaries-all): Define using $(binaries-all-notests) and
32949         $(binaries-all-tests).
32950         (binaries-static): Define using $(binaries-static-notests) and
32951         $(binaries-static-tests).
32952         (binaries-shared-tests): New variable.
32953         (binaries-shared-notests): Likewise.
32954         (binaries-shared): Remove variable.
32955         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32956         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32957         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32958         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32959         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32960         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32961         * elf/Makefile (sln-modules): New variable.
32962         (extra-objs): Add $(sln-modules:=.o).
32963         (ldconfig-modules): Add static-stubs.
32964         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32965         * elf/static-stubs.c: New file.
32966
32967         [BZ #14283]
32968         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32969         by 7 not 8 to examine high bit of fractional part.  Use volatile
32970         variables when splitting into final array of floats if
32971         __FLT_EVAL_METHOD__ != 0.
32972         * math/libm-test.inc (cos_test): Add another test.
32973         (sin_test): Likewise.
32974         * sysdeps/i386/fpu/libm-test-ulps: Update.
32975
32976         [BZ #14273]
32977         * math/libm-test.inc (cosh_test): Add more tests.
32978
32979         * version.h (RELEASE): Set to "development".
32980         (VERSION): Set to "2.16.90".
32981
32982 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
32983
32984         * NEWS: Update copyright. Remove last-updated date.
32985         Mention math library bug fixes and timezone data changes.
32986         * README: Mention GNU/Hurd, x32, and HPPA support status.
32987
32988 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
32989
32990         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32991
32992 2012-06-27  Andreas Jaeger  <aj@suse.de>
32993
32994         * manual/contrib.texi (Contributors): Add Samuel Thibault.
32995
32996 2012-06-25  Andreas Jaeger  <aj@suse.de>
32997
32998         * sysdeps/s390/fpu/libm-test-ulps: Update.
32999
33000 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
33001             Thomas Schwinge  <thomas@codesourcery.com>
33002
33003         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33004         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33005         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33006         fanotify_mark.
33007
33008 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
33009
33010         * sysdeps/mach/start.c: Remove file.
33011         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33012         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33013         * sysdeps/sh/init-first.c: Likewise.
33014
33015         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33016         registers for frame unwinding purposes, add CFI directives.
33017         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33018         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33019         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33020         Likewise.
33021
33022         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33023         __fortify_fail returning.
33024         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33025
33026         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33027         sysdeps/sh/____longjmp_chk.S.
33028         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33029         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33030         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33031         (gen-as-const-headers): Append sigaltstack-offsets.sym.
33032
33033         * sysdeps/sh/abort-instr.h: New file.
33034         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33035         process in case exit returns.
33036
33037         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33038         initialize the GOT register before use.
33039
33040         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33041         calculation of ARGC > 4.
33042
33043         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33044         meaningful names to some local labels.
33045
33046 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33047             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33048
33049         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33050         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33051         (__arch_compare_and_exchange_val_16_acq): Likewise.
33052         (__arch_compare_and_exchange_val_32_acq): Likewise.
33053         (atomic_exchange_and_add): Fix gUSA sequence.
33054         (atomic_add): Likewise.
33055         (atomic_add_negative): Likewise.
33056         (atomic_add_zero): Likewise.
33057         (atomic_bit_test_set): Likewise.
33058
33059 2012-06-22  Andreas Schwab  <schwab@redhat.com>
33060
33061         [BZ #13579]
33062         * include/link.h (struct link_map): Add l_free_initfini.
33063         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33064         l_initfini.
33065         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33066         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33067         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33068         set.
33069
33070 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
33071
33072         * configure.in: Use AC_LANG_SOURCE.
33073         * configure: Regenerate.
33074
33075 2012-06-22  Roland McGrath  <roland@hack.frob.com>
33076
33077         * configure.in (libc_cv_localstatedir): New substituted variable.
33078         * configure: Regenerated.
33079         * config.make.in (localstatedir): New variable, substituted from
33080         libc_cv_localstatedir.
33081         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33082         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33083         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33084         * sysdeps/gnu/configure: Regenerated.
33085
33086 2012-06-21  Jeff Law  <law@redhat.com>
33087
33088         [BZ #14277]
33089         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33090         free.  Simplify list management for _LIBC case.
33091
33092 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
33093
33094         [BZ #14273]
33095         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33096         Clear sign bit of 64-bit integer value before comparing against
33097         overflow value.
33098
33099         * sysdeps/mach/configure: Regenerated.
33100
33101 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
33102
33103         [BZ #14278]
33104         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33105
33106 2012-06-21  Jeff Law  <law@redhat.com>
33107
33108         [BZ #13882]
33109         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
33110         uint16_t for elements in the "seen" array to avoid char overflows.
33111         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33112         * elf/dl-open.c (dl_open_worker): Likewise.
33113
33114 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
33115
33116         * scripts/list-sources.sh: Scan PORTS for translations.
33117         * po/libc.pot: Regenerated.
33118
33119 2012-06-21  Andreas Jaeger  <aj@suse.de>
33120
33121         [BZ #12194]
33122         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33123         warning.
33124         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33125         * bits/byteswap-16.h (__bswap_16): Likewise.
33126         * bits/byteswap.h (__bswap_constant_16): Likewise.
33127
33128 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
33129
33130         [BZ #14117]
33131         * sysdeps/i386/fpu_control.h: Removed.
33132         * sysdeps/x86_64/fpu_control.h: Moved to ...
33133         * sysdeps/x86/fpu_control.h: Here.
33134
33135         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33136         (_FPU_SETCW): Likewise.
33137
33138 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
33139
33140         [BZ #14117]
33141         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33142         * sysdeps/x86/fpu/bits/mathinline.h: This.
33143         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33144
33145         [BZ #14050]
33146         [BZ #14117]
33147         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33148         functions if __x86_64__ is defined.
33149
33150 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
33151
33152         * string/endian.h: Add !__ASSEMBLER__ condition for including
33153         conversion interfaces.
33154
33155 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
33156
33157         [BZ #14241]
33158         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33159         of ABS(x) in calculating zero to negative powers other than odd
33160         integers.
33161         * math/libm-test.inc (pow_test): Add more tests.
33162
33163 2012-06-15  Andreas Jaeger  <aj@suse.de>
33164
33165         * manual/contrib.texi (Contributors): Update entry of Liubov
33166         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33167         Machado Filho.
33168
33169 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
33170
33171         * string/string.h: Add __wur to GNU version of strerror_r.
33172
33173 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
33174
33175         [BZ #14229]
33176         * string/Makefile (tests): Add tst-strtok_r.
33177         * string/tst-strtok_r.c: New file.
33178         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33179         RAX_LP/RDX_LP on SAVE_PTR.
33180
33181 2012-06-14  Roland McGrath  <roland@hack.frob.com>
33182
33183         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33184
33185 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
33186
33187         * libm_test.inc (csqrt_test): Allow more spurious underflow
33188         exceptions.
33189         (j0_test): Likewise.
33190         (j1_test): Likewise.
33191         (y0_test): Likewise.
33192         (y1_test): Likewise.
33193
33194 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
33195
33196         * po/Makefile (libc.pot): Use UTF-8 charset.
33197
33198 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
33199
33200         [BZ #14210]
33201         Suppress sign-conversion warning from FD_SET.
33202         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33203         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33204         not unsigned long int.
33205         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33206
33207 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
33208
33209         [BZ #14050]
33210         [BZ #14117]
33211         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33212         __extern_always_inline instead of __extern_inline.
33213         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33214         (__signbit): Likewise.
33215         (__signbitl): Support C++ namespace.
33216         (lrintf): New inline function.
33217         (lrint): Likewise.
33218         (llrintf): Likewise.
33219         (llrint): Likewise.
33220         (fmaxf): Likewise.
33221         (fmax): Likewise.
33222         (fminf): Likewise.
33223         (fmin): Likewise.
33224         (rint): Likewise.
33225         (rintf): Likewise.
33226         (ceil): Likewise.
33227         (ceilf): Likewise.
33228         (floor): Likewise.
33229         (floorf): Likewise.
33230         (nearbyint): Likewise.
33231         (nearbyintf): Likewise.
33232
33233 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
33234
33235         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33236         non-default versions.
33237
33238 2012-06-11  Roland McGrath  <roland@hack.frob.com>
33239
33240         [BZ #14218]
33241         * manual/argp.texi (Argp): Reword argp_parse description slightly.
33242
33243 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
33244
33245         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33246         (FE_UPWARD, FE_DOWNWARD): Don't define.
33247         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33248         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33249
33250         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33251         reading it.
33252         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33253         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33254
33255 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33256
33257         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33258         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33259         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33260         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33261
33262 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
33263
33264         [BZ #14117]
33265         * sysdeps/i386/fpu/bits/fenv.h: Removed.
33266         * sysdeps/i386/fpu/Implies: New file.
33267         * sysdeps/x86_64/fpu/Implies: Likewise.
33268         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33269         * sysdeps/x86/fpu/bits/fenv.h: This.
33270
33271         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33272         __SSE_MATH__.
33273
33274 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33275
33276         [BZ #14134]
33277         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33278         character 0xffff that matches the last element of the
33279         conversion table.
33280
33281 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33282
33283         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33284         fmodl commit.
33285
33286 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33287
33288         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33289         values higher than 25.6283.
33290
33291 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33292
33293         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33294         subnormal exponent extraction and add some __builtin_expect.
33295         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33296         Fix for subnormal mantissa calculation.
33297
33298 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
33299
33300         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33301         cpu2 is -1 and errno is not ENOSYS.
33302
33303 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
33304
33305         [BZ #14117]
33306         * sysdeps/i386/i486/bits/string.h: Renamed to ...
33307         * sysdeps/x86/bits/string.h: This.
33308         * sysdeps/x86_64/bits/string.h: Removed.
33309
33310         * sysdeps/i386/i486/bits/string.h: Define inline functions only
33311         if not compiling for x86-64, but compiling for >= i486.
33312
33313         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33314         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33315
33316         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33317         New macro from Linux kernel 3.4.0.
33318         (FP_XSTATE_MAGIC2): Likewise.
33319         (FP_XSTATE_MAGIC2_SIZE): Likewise.
33320         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33321         (struct _fpx_sw_bytes): New struct.
33322         (struct _xsave_hdr): Likewise.
33323         (struct _ymmh_state): Likewise.
33324         (struct _xstate): Likewise.
33325
33326         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33327         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33328         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33329         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33330         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33331         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33332
33333         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33334         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33335         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33336         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33337         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33338         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33339
33340 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33341
33342         [BZ #13743]
33343         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33344         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33345         (sysdep_headers): Include sys/platform/ppc.h.
33346         * sysdeps/powerpc/test-gettimebase.c: Test for
33347         __ppc_get_timebase() to catch future ISA opcode/insn changes.
33348         * manual/Makefile (appendices): Include platform.texi.
33349         * manual/contrib.texi (Contributors): Update @node pointers.
33350         * manual/maint.texi (Maintenance): Likewise.
33351         (Platform): New node.
33352         * manual/platform.texi: New file.  Document the new features.
33353
33354 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33355             Jakub Jelinek  <jakub@redhat.com>
33356
33357         [BZ #14188]
33358         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33359         where __builtin_expect is unavailable.
33360
33361 2012-06-03  David S. Miller  <davem@davemloft.net>
33362
33363         * stdlib/longlong.h: Updated from GCC.
33364
33365 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
33366
33367         [BZ #14042]
33368         * sysdeps/powerpc/powerpc32/mcount.c: New file.
33369         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33370         __mcount_internal.
33371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33372         (GLIBC_2.16): Likewise.
33373
33374 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33375
33376         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33377
33378 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33379
33380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33381         (default-abi): New variable.
33382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33383         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33384         variable.
33385         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33386         Likewise.
33387         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33388         Likewise.
33389         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33390         Likewise.
33391
33392         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33393         definition.  Document in comment.
33394
33395 2012-06-01  David S. Miller  <davem@davemloft.net>
33396
33397         * stdlib/longlong.h: Updated from GCC.
33398
33399 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33400
33401         [BZ #14117]
33402         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33403         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33404         sys/debugreg.h sys/io.h here.
33405         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33406         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33407         sys/io.h.
33408         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33409         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33410         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33411         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33412         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33413         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33414
33415         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33416         Define only if __x86_64__ is defined.
33417
33418 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33419
33420         [BZ #14048]
33421         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33422         Use int64_t for variable i.
33423         * math/libm-test.inc (fmod_test): Add more tests.
33424
33425         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33426         z computation is not scheduled after fetestexcept.
33427         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33428         Use math_force_eval instead of asm to ensure calculation scheduled
33429         before exception test.
33430         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33431         Ensure a1 + u.d computation is not scheduled after fetestexcept.
33432
33433 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
33434
33435         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33436         computation is not scheduled after fetestexcept.
33437
33438 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33439
33440         [BZ #14117]
33441         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33442         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33443
33444 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33445
33446         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33447         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33448
33449 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33450
33451         [BZ #14117]
33452         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33453         <bits/wordsize.h>.
33454         (__WCHAR_MIN): Support __WORDSIZE == 64.
33455         (__WCHAR_MAX): Likewise.
33456
33457         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33458         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33459
33460         [BZ #14183]
33461         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33462         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33463
33464         [BZ #14117]
33465         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33466         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33467
33468         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33469         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33470
33471         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33472         Defined to 1 if __x86_64__ isn't defined.
33473         (_STAT_VER_LINUX_OLD): New.
33474         (st_atime): Remove duplicate.
33475         (st_mtime): Likewise.
33476         (st_ctime): Likewise.
33477
33478 2012-05-31  David S. Miller  <davem@davemloft.net>
33479
33480         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33481         entries.
33482
33483 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
33484
33485         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33486         gen-libm-test.pl.
33487
33488         [BZ #14132]
33489         * elf/dl-reloc.c: Include <_itoa.h>.
33490         (_dl_reloc_bad_type): Remove use of INTUSE.
33491         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33492         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33493         * stdio-common/psiginfo.c (psiginfo): Likewise.
33494         * stdio-common/psignal.c (psignal): Likewise.
33495         * string/strsignal.c (strsignal): Likewise.
33496         * include/signal.h (_sys_siglist): Declare hidden proto.
33497         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
33498         INTVARDEF with libc_hidden_data_def.
33499         * stdio-common/itoa-udigits.c: Likewise.
33500         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33501         (_itoa_lower_digits_internal): Remove declaration.
33502         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33503         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33504         (_sys_sigabbrev_internal): Remove aliases.
33505         (_sys_siglist): Define hidden alias.
33506
33507 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
33508
33509         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33510         bits/sysctl.h.
33511
33512 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33513
33514         [BZ #14117]
33515         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33516         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33517
33518         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33519         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33520         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33521         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33522         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33523         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33524
33525         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33526         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33527         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33528
33529         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33530         with __addr.
33531         (insw): Likewise.
33532         (insl): Likewise.
33533         (outsb): Likewise.
33534         (outsw): Likewise.
33535         (outsl): Likewise.
33536
33537         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33538         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33539         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33540
33541         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33542         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33543         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33544         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33545         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33546         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33547
33548         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33549         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33550
33551         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33552         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33553
33554         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33555         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33556         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33557
33558         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33559         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33560         to ...
33561         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33562
33563         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33564         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33565         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33566
33567         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33568         for x86-64.
33569         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33570
33571 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
33572
33573         * math/math.h (M_El): Use two more decimal places.
33574         (M_LOG2El): Likewise.
33575         (M_LOG10El): Likewise.
33576         (M_LN2l): Likewise.
33577         (M_LN10l): Likewise.
33578         (M_PIl): Likewise.
33579         (M_PI_2l): Likewise.
33580         (M_PI_4l): Likewise.
33581         (M_1_PIl): Likewise.
33582         (M_2_PIl): Likewise.
33583         (M_2_SQRTPIl): Likewise.
33584         (M_SQRT2l): Likewise.
33585         (M_SQRT1_2l): Likewise.
33586
33587 2012-05-31  David S. Miller  <davem@davemloft.net>
33588
33589         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33590         values between float registers.
33591         * sysdeps/sparc/sparc64/memset.S: Likewise.
33592         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33593
33594 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
33595
33596         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33597         -D_FORTIFY_SOURCE=1.
33598         (CPPFLAGS-tst-longjmp_chk.c): Define.
33599         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33600         (CPPFLAGS-tst-longjmp_chk2.c): Define.
33601         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33602         CFLAGS-tst-wchar-h.c.
33603
33604 2012-05-31  Marek Polacek  <polacek@redhat.com>
33605
33606         [BZ #14132]
33607         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33608         __endmntent_internal): Remove declaration.
33609         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33610         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33611         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33612
33613 2012-05-30  David S. Miller  <davem@davemloft.net>
33614
33615         * sysdeps/sparc/sparc32/soft-fp/q_util.c
33616         (___Q_simulate_exceptions): Use real FP ops rather than writing
33617         into the %fsr.
33618         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33619         Likewise.
33620
33621 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33622
33623         [BZ #14117]
33624         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33625         * sysdeps/x86/bits/xtitypes.h: This.
33626
33627         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33628         * sysdeps/x86/bits/wordsize.h: This.
33629
33630         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33631         * sysdeps/x86/bits/huge_vall.h: This.
33632
33633         * sysdeps/i386/bits/select.h: Removed.
33634         * sysdeps/x86_64/bits/select.h: Renamed to ...
33635         * sysdeps/x86/bits/select.h: This.
33636
33637         * sysdeps/i386/bits/setjmp.h: Removed.
33638         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33639         * sysdeps/x86/bits/setjmp.h: This.
33640
33641         * sysdeps/i386/bits/mathdef.h: Removed.
33642         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33643         * sysdeps/x86/bits/mathdef.h: This.
33644
33645 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
33646
33647         [BZ #14132]
33648         * include/sys/socket.h (__connect_internal)
33649         (__libc_sa_len_internal): Remove declaration.
33650         (__connect, __libc_sa_len): Declare hidden_proto.
33651         (SA_LEN): Remove use of INTUSE.
33652         * socket/connect.c: Add libc_hidden_def.
33653         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33654         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33655         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33656         alias.
33657         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33658         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33659         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33660         of adding _internal alias.
33661
33662 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33663
33664         [BZ #14117]
33665         * sysdeps/i386/bits/link.h: Removed.
33666         * sysdeps/i386/bits/linkmap.h: Likewise.
33667         * sysdeps/x86_64/bits/link.h: Renamed to ...
33668         * sysdeps/x86/bits/link.h: This.
33669         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33670         * sysdeps/x86/bits/linkmap.h: This.
33671
33672         * sysdeps/i386/bits/endian.h: Removed.
33673         * sysdeps/x86_64/bits/endian.h: Renamed to ...
33674         * sysdeps/x86/bits/endian.h: This.
33675
33676         * sysdeps/i386/bits/byteswap.h: Removed.
33677         * sysdeps/i386/bits/byteswap-16.h: Likewise.
33678         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33679         * sysdeps/x86/bits/byteswap.h: This.
33680         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33681         * sysdeps/x86/bits/byteswap-16.h: This.
33682         * sysdeps/i386/Implies: Add x86.
33683         * sysdeps/x86_64/Implies: Likewise.
33684
33685 2012-05-30  David S. Miller  <davem@davemloft.net>
33686
33687         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33688         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33689         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33690         (FP_TRAPPING_EXCEPTIONS): Define.
33691         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33692         (FP_TRAPPING_EXCEPTIONS): Define.
33693         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33694         subnormals only when inexact has been signalled or underflow
33695         exceptions are enabled.
33696         (_FP_PACK_CANONICAL): Likewise.
33697
33698 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33699
33700         [BZ #14183]
33701         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33702         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33703
33704 2012-05-30  Richard Henderson  <rth@twiddle.net>
33705
33706         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33707         with #ifndef NOT_IN_libc.
33708
33709         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
33710         marked to avoid plt entry.
33711
33712 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33713
33714         [BZ #14112]
33715         * Makeconfig (default-abi): New macro.
33716         (abi-includes): Likewise.
33717         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
33718         $(abi-$(default-abi)-lib-soname) for soname if defined.
33719         ($(common-objpfx)gnu/lib-names.stmp): Generate from
33720         abi-variants.
33721         * Makefile (installed-stubs): Likewise.
33722         * include/stubs-biarch.h: Removed.
33723         * scripts/lib-names.awk: Only handle one library at a time.
33724         * scripts/soversions.awk: Remove WORDSIZE support.
33725         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33726         entries.
33727         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33728         Removed.
33729         (syscall-list-default-condition): Likewise.
33730         (syscall-list-default-condition): Likewise.
33731         (syscall-list-includes): Likewise.
33732         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33733         syscall-list-* with abi-*.  Handle undefined abi-variants.
33734         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33735         * sysdeps/unix/sysv/linux/i386/Implies: New file.
33736         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33737         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33738         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33739         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33740         Removed.
33741         (syscall-list-32-options): Likewise.
33742         (syscall-list-32-condition): Likewise.
33743         (syscall-list-64-options): Likewise.
33744         (syscall-list-64-condition): Likewise.
33745         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33746         macro.
33747         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33748         Renamed to ...
33749         (abi-*): This.
33750         (abi-64-ld-soname): New macro.
33751         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33752         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33753         Renamed to ...
33754         (abi-*): This.
33755         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33756         * sysdeps/x86_64/x32/shlib-versions: Likewise.
33757
33758 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
33759
33760         * sysdeps/unix/sysv/linux/kernel-features.h
33761         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33762         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33763         include <kernel-features.h>.
33764         [!__NR_ftruncate64]: Remove conditional code.
33765         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33766         [__NR_ftruncate64]: Make code unconditional.
33767         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33768         * sysdeps/unix/sysv/linux/truncate64.c: Do not
33769         include <kernel-features.h>.
33770         [!__NR_ftruncate64]: Remove conditional code.
33771         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33772         [__NR_ftruncate64]: Make code unconditional.
33773         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33775         include <kernel-features.h>.
33776         [!__NR_ftruncate64]: Remove conditional code.
33777         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33778         [__NR_ftruncate64]: Make code unconditional.
33779         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33781         include <kernel-features.h>.
33782         [!__NR_ftruncate64]: Remove conditional code.
33783         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33784         [__NR_ftruncate64]: Make code unconditional.
33785         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33786
33787         * configure.in (libc_cv_fpie): Weaken to a compile test using
33788         LIBC_TRY_CC_OPTION.
33789         * configure: Regenerated.
33790
33791 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33792
33793         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33794         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33795         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33796         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33797         Refreshed.
33798         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33799         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33800         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33801         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33802         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33803         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33804         Refreshed.
33805
33806 2012-05-27  David S. Miller  <davem@davemloft.net>
33807
33808         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33809         (___Q_zero): New.
33810         (__Q_simulate_exceptions): Return void.  Change to simulate
33811         exceptions by writing into the %fsr.
33812         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33813         (__Qp_handle_exceptions): Likewise.
33814         (numbers): Delete.
33815         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33816         __Qp_handle_exceptions.
33817         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33818         __Qp_handle_exceptions.
33819         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33820         as unused and give dummy FP_RND_NEAREST initializer.
33821         (FP_INHIBIT_RESULTS): Define.
33822         (___Q_simulate_exceptions): Update declaration.
33823         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33824         formatting.
33825         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33826         as unused and give dummy FP_RND_NEAREST initializer.
33827         (__Qp_handle_exceptions): Update declaration.
33828         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33829         formatting.
33830
33831 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
33832
33833         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33834         the temporary FPU control word.
33835         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33836         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33837         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33838         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33839         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33840         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33841         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33842         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33843         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33844         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33845         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33846
33847 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33848
33849         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33850         fields.
33851
33852 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
33853
33854         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33855         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33856         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33857         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33858         Likewise.
33859         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33860         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33861         Likewise.
33862
33863 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
33864
33865         * po/h.po: Update from translation team.
33866
33867 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
33868
33869         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33870
33871         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33872         handling of denormals.
33873         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33874         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33875         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33876         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33877         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33878         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33879         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33880         Likewise.
33881
33882 2012-05-26  Marek Polacek  <polacek@redhat.com>
33883
33884         [BZ #14152]
33885         * math/libm-test.inc (fma_test): Don't always expect underflow
33886         exception.
33887
33888 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33889
33890         [BZ #12416]
33891         * elf/tst-execstack.c: Include stackinfo.h.
33892         (do_test): Adjust test case to ensure that pthread_getattr_np
33893         behaviour remains the same after marking stack executable.
33894
33895 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
33896
33897         * sysdeps/unix/sysv/linux/kernel-features.h
33898         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33899         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33900         kernel-features.h.
33901         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33902         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33903         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33904         kernel-features.h.
33905         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33906         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33907
33908 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
33909
33910         * configure.in: Define the default includes to being none.
33911         * configure: Regenerated.
33912
33913 2012-05-25  Roland McGrath  <roland@hack.frob.com>
33914
33915         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33916         * sysdeps/x86_64/setjmp.S: Likewise.
33917         * sysdeps/i386/bsd-setjmp.S: Likewise.
33918         * sysdeps/i386/bsd-_setjmp.S: Likewise.
33919         * sysdeps/i386/setjmp.S: Likewise.
33920         * sysdeps/i386/__longjmp.S: Likewise.
33921         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33922         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33923
33924         * include/stap-probe.h: New file.
33925         * configure.in: Handle --enable-systemtap.
33926         * configure: Regenerated.
33927         * config.h.in (USE_STAP_PROBE): New #undef.
33928         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33929         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33930         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33931
33932 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
33933
33934         [BZ #13717]
33935         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33936         to 2.4.0 where earlier.
33937         * sysdeps/unix/sysv/linux/configure: Regenerated.
33938         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33939         <kernel-features.h>.
33940         [__ASSUME_32BITUIDS]: Make code unconditional.
33941         [!__ASSUME_32BITUIDS]: Remove conditional code.
33942         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33943         <kernel-features.h>.
33944         [__ASSUME_32BITUIDS]: Make code unconditional.
33945         [!__ASSUME_32BITUIDS]: Remove conditional code.
33946         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33947         [__ASSUME_32BITUIDS]: Make code unconditional.
33948         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33949         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33950         <kernel-features.h>.
33951         [__ASSUME_32BITUIDS]: Make code unconditional.
33952         [!__ASSUME_32BITUIDS]: Remove conditional code.
33953         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33954         <kernel-features.h>.
33955         [__ASSUME_32BITUIDS]: Make code unconditional.
33956         [!__ASSUME_32BITUIDS]: Remove conditional code.
33957         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33958         <kernel-features.h>.
33959         [__ASSUME_32BITUIDS]: Make code unconditional.
33960         [!__ASSUME_32BITUIDS]: Remove conditional code.
33961         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33962         <kernel-features.h>.
33963         [__ASSUME_32BITUIDS]: Make code unconditional.
33964         [!__ASSUME_32BITUIDS]: Remove conditional code.
33965         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33966         <kernel-features.h>.
33967         [__ASSUME_32BITUIDS]: Make code unconditional.
33968         [!__ASSUME_32BITUIDS]: Remove conditional code.
33969         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33970         <kernel-features.h>.
33971         [__ASSUME_32BITUIDS]: Make code unconditional.
33972         [!__ASSUME_32BITUIDS]: Remove conditional code.
33973         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33974         <kernel-features.h>.
33975         [__ASSUME_32BITUIDS]: Make code unconditional.
33976         [!__ASSUME_32BITUIDS]: Remove conditional code.
33977         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33978         <kernel-features.h>.
33979         [__ASSUME_32BITUIDS]: Make code unconditional.
33980         [!__ASSUME_32BITUIDS]: Remove conditional code.
33981         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33982         <kernel-features.h>.
33983         [__ASSUME_32BITUIDS]: Make code unconditional.
33984         [!__ASSUME_32BITUIDS]: Remove conditional code.
33985         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33986         <kernel-features.h>.
33987         [__ASSUME_32BITUIDS]: Make code unconditional.
33988         [!__ASSUME_32BITUIDS]: Remove conditional code.
33989         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33990         <kernel-features.h>.
33991         [__NR_setresgid] (__setresgid): Do not declare.
33992         [__ASSUME_32BITUIDS]: Make code unconditional.
33993         [!__ASSUME_32BITUIDS]: Remove conditional code.
33994         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33995         <kernel-features.h>.
33996         [__NR_setresuid] (__setresuid): Do not declare.
33997         [__ASSUME_32BITUIDS]: Make code unconditional.
33998         [!__ASSUME_32BITUIDS]: Remove conditional code.
33999         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34000         <kernel-features.h>.
34001         [__ASSUME_32BITUIDS]: Make code unconditional.
34002         [!__ASSUME_32BITUIDS]: Remove conditional code.
34003         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34004         <kernel-features.h>.
34005         [__ASSUME_32BITUIDS]: Make code unconditional.
34006         [!__ASSUME_32BITUIDS]: Remove conditional code.
34007         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34008         <kernel-features.h>.
34009         [__ASSUME_32BITUIDS]: Make code unconditional.
34010         [!__ASSUME_32BITUIDS]: Remove conditional code.
34011         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34012         <kernel-features.h>.
34013         [__ASSUME_32BITUIDS]: Make code unconditional.
34014         [!__ASSUME_32BITUIDS]: Remove conditional code.
34015         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34016         <kernel-features.h>.
34017         [__ASSUME_32BITUIDS]: Make code unconditional.
34018         [!__ASSUME_32BITUIDS]: Remove conditional code.
34019         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34020         <kernel-features.h>.
34021         [__ASSUME_32BITUIDS]: Make code unconditional.
34022         [!__ASSUME_32BITUIDS]: Remove conditional code.
34023         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34024         <kernel-features.h>.
34025         [__ASSUME_32BITUIDS]: Make code unconditional.
34026         [!__ASSUME_32BITUIDS]: Remove conditional code.
34027         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34028         <kernel-features.h>.
34029         [__ASSUME_32BITUIDS]: Make code unconditional.
34030         [!__ASSUME_32BITUIDS]: Remove conditional code.
34031         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34032         <kernel-features.h>.
34033         [__ASSUME_32BITUIDS]: Make code unconditional.
34034         [!__ASSUME_32BITUIDS]: Remove conditional code.
34035         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34036         <kernel-features.h>.
34037         [__ASSUME_32BITUIDS]: Make code unconditional.
34038         [!__ASSUME_32BITUIDS]: Remove conditional code.
34039         * sysdeps/unix/sysv/linux/kernel-features.h
34040         (__ASSUME_SETRESUID_SYSCALL): Remove.
34041         (__ASSUME_SETRESGID_SYSCALL): Likewise.
34042         (__ASSUME_32BITUIDS): Likewise.
34043         (__ASSUME_LDT_WORKS): Likewise.
34044         (__ASSUME_O_DIRECTORY): Likewise.
34045         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34046         architecture but not kernel version.
34047         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34048         (__ASSUME_MMAP2_SYSCALL): Likewise.
34049         (__ASSUME_STAT64_SYSCALL): Likewise.
34050         (__ASSUME_IPC64): Likewise.
34051         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34052         <kernel-features.h>.
34053         [__ASSUME_32BITUIDS]: Make code unconditional.
34054         [!__ASSUME_32BITUIDS]: Remove conditional code.
34055         * sysdeps/unix/sysv/linux/opendir.c: Do not include
34056         <kernel-features.h>.
34057         [__ASSUME_O_DIRECTORY]: Make code unconditional.
34058         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34059         132096]: Remove conditional code.
34060         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34061         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34062         <kernel-features.h>.
34063         [__ASSUME_32BITUIDS]: Make code unconditional.
34064         [!__ASSUME_32BITUIDS]: Remove conditional code.
34065         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34066         <kernel-features.h>.
34067         [__ASSUME_32BITUIDS]: Make code unconditional.
34068         [!__ASSUME_32BITUIDS]: Remove conditional code.
34069         * sysdeps/unix/sysv/linux/setegid.c: Do not include
34070         <kernel-features.h>.
34071         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34072         unconditional.
34073         (__setresgid): Do not declare.
34074         [__ASSUME_32BITUIDS]: Make code unconditional.
34075         [!__ASSUME_32BITUIDS]: Remove conditional code.
34076         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34077         <kernel-features.h>.
34078         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34079         unconditional.
34080         (__setresuid): Do not declare.
34081         [__ASSUME_32BITUIDS]: Make code unconditional.
34082         [!__ASSUME_32BITUIDS]: Remove conditional code.
34083         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34084         <kernel-features.h>.
34085         [__ASSUME_32BITUIDS]: Make code unconditional.
34086         [!__ASSUME_32BITUIDS]: Remove conditional code.
34087         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34088         <kernel-features.h>.
34089         [__ASSUME_32BITUIDS]: Make code unconditional.
34090         [!__ASSUME_32BITUIDS]: Remove conditional code.
34091
34092 2012-05-25  Richard Henderson  <rth@twiddle.net>
34093
34094         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34095         dl_hwcap to ifunc resolver.
34096         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34097         elf_ifunc_invoke.
34098         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34099         dl_hwcap to ifunc resolver.
34100         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34101
34102 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34103
34104         [BZ #14153]
34105         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34106         for |x| <= 2**-26, not 2**-57.
34107         * math/libm-test.inc (acos_test): Do not allow spurious underflow
34108         exception.
34109
34110 2012-05-24  Jeff Law  <law@redhat.com>
34111
34112         * stdio-common/Makefile (tests): Add bug25.
34113         * stdio-common/bug25.c: New test.
34114
34115 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34116
34117         [BZ #13576]
34118         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34119         multiple of MALLOC_ALIGNMENT in size.
34120         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34121
34122 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34123
34124         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34125         Require >= 256.
34126         (FILENAME_MAX): Use macro-int-constant.
34127         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
34128         (_IOFBF): Use macro-int-constant.
34129         (_IOLBF): Likewise.
34130         (_IONBF): Likewise.
34131         (SEEK_CUR): Likewise.
34132         (SEEK_END): Likewise.
34133         (SEEK_SET): Likewise.
34134         (TMP_MAX): Likewise.
34135         (EOF): Use macro-int-constant.  Require < 0.
34136         (NULL): Use macro-constant.  Require == 0.
34137         (stdin): Require type to be FILE *.
34138         (stdout): Likewise.
34139         (stderr): Likewise.
34140         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34141         macro-int-constant.
34142         (EXIT_SUCCESS): Likewise.
34143         (NULL): Use macro-constant.  Require == 0.
34144         (RAND_MAX): Use macro-int-constant.
34145         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34146         [C99-based standards] (strtof): Require function.
34147         [C99-based standards] (strtold): Likewise.
34148         [C99-based standards] (strtoll): Likewise.
34149         [C99-based standards] (strtoull): Likewise.
34150         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34151         [ISO || ISO99 || ISO11] (limits.h): Likewise.
34152         [ISO || ISO99 || ISO11] (math.h): Likewise.
34153         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34154         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34155         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34156
34157 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
34158
34159         [BZ #14132]
34160         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34161         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34162         * intl/dgettext.c (DCGETTEXT): Likewise.
34163         * intl/gettext.c (DCGETTEXT): Likewise.
34164         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34165         * posix/regex_internal.h (gettext): Likewise.
34166         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34167         Remove declaration.
34168         * include/argz.h (__argz_count_internal)
34169         (__argz_stringify_internal): Remove declaration.
34170         (__argz_count, __argz_stringify): Declare hidden proto.
34171         * intl/dcgettext.c: Remove use of INTDEF.
34172         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34173         * string/argz-stringify.c: Likewise.
34174         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34175         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34176         Declare hidden proto.
34177         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34178         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34179         Declare hidden proto.
34180         * include/stdio.h (__asprintf_internal): Don't declare.
34181         (__asprintf): Don't define as macro.  Declare hidden proto.
34182         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34183         (__fsetlocking): Declare hidden proto.
34184         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34185         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34186         hidden proto.
34187         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34188         (_IO_setlinebuf): Remove use of INTUSE.
34189         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34190         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34191         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34192         Remove declaration.
34193         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34194         (_IO_do_flush): Remove use of INTUSE.
34195         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34196         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34197         (_IO_adjust_column, _IO_least_wmarker)
34198         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34199         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34200         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34201         (_IO_default_doallocate, _IO_wdefault_doallocate)
34202         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34203         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34204         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34205         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34206         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34207         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34208         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34209         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34210         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34211         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34212         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34213         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34214         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34215         proto.
34216         (_IO_flush_all_internal, _IO_adjust_column_internal)
34217         (_IO_default_uflow_internal, _IO_default_finish_internal)
34218         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34219         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34220         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34221         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34222         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34223         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34224         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34225         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34226         (_IO_file_close_internal, _IO_file_close_it_internal)
34227         (_IO_file_underflow_internal, _IO_file_overflow_internal)
34228         (_IO_file_init_internal, _IO_file_attach_internal)
34229         (_IO_file_fopen_internal, _IO_file_read_internal)
34230         (_IO_file_sync_internal, _IO_file_seek_internal)
34231         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34232         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34233         (_IO_str_underflow_internal, _IO_str_overflow_internal)
34234         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34235         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34236         (_IO_list_all_internal, _IO_link_in_internal)
34237         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34238         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34239         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34240         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34241         (_IO_do_write_internal, _IO_padn_internal)
34242         (_IO_getline_info_internal, _IO_getline_internal)
34243         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34244         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34245         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34246         (_IO_vfscanf_internal, _IO_vfprintf_internal)
34247         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34248         (_IO_init_internal, _IO_un_link_internal): Don't declare.
34249         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34250         with libc_hidden_ver, remove use of INTUSE.
34251         * libio/genops.c: Likewise.
34252         * libio/freopen.c: Likewise.
34253         * libio/freopen64.c: Likewise.
34254         * libio/iofclose.c: Likewise.
34255         * libio/iofdopen.c: Likewise.
34256         * libio/iofflush.c: Likewise.
34257         * libio/iofflush_u.c: Likewise.
34258         * libio/iofgets.c: Likewise.
34259         * libio/iofgets_u.c: Likewise.
34260         * libio/iofopen.c: Likewise.
34261         * libio/iofopncook.c: Likewise.
34262         * libio/iofread.c: Likewise.
34263         * libio/iofread_u.c: Likewise.
34264         * libio/ioftell.c: Likewise.
34265         * libio/iofwrite.c: Likewise.
34266         * libio/iogetline.c: Likewise.
34267         * libio/iogets.c: Likewise.
34268         * libio/iogetwline.c: Likewise.
34269         * libio/iopadn.c: Likewise.
34270         * libio/iopopen.c: Likewise.
34271         * libio/ioseekoff.c: Likewise.
34272         * libio/ioseekpos.c: Likewise.
34273         * libio/iosetbuffer.c: Likewise.
34274         * libio/iosetvbuf.c: Likewise.
34275         * libio/ioungetc.c: Likewise.
34276         * libio/ioungetwc.c: Likewise.
34277         * libio/iovdprintf.c: Likewise.
34278         * libio/iovsprintf.c: Likewise.
34279         * libio/iovsscanf.c: Likewise.
34280         * libio/memstream.c: Likewise.
34281         * libio/obprintf.c: Likewise.
34282         * libio/oldfileops.c: Likewise.
34283         * libio/oldiofclose.c: Likewise.
34284         * libio/oldiofdopen.c: Likewise.
34285         * libio/oldiofopen.c: Likewise.
34286         * libio/oldiopopen.c: Likewise.
34287         * libio/oldstdfiles.c: Likewise.
34288         * libio/putc.c: Likewise.
34289         * libio/setbuf.c: Likewise.
34290         * libio/setlinebuf.c: Likewise.
34291         * libio/stdfiles.c: Likewise.
34292         * libio/strops.c: Likewise.
34293         * libio/vasprintf.c: Likewise.
34294         * libio/vscanf.c: Likewise.
34295         * libio/vsnprintf.c: Likewise.
34296         * libio/vswprintf.c: Likewise.
34297         * libio/wfiledoalloc.c: Likewise.
34298         * libio/wfileops.c: Likewise.
34299         * libio/wgenops.c: Likewise.
34300         * libio/wmemstream.c: Likewise.
34301         * libio/wstrops.c: Likewise.
34302         * libio/__fpurge.c: Likewise.
34303         * libio/__fsetlocking.c: Likewise.
34304         * assert/assert.c: Likewise.
34305         * debug/fgets_chk.c: Likewise.
34306         * debug/fgets_u_chk.c: Likewise.
34307         * debug/fread_chk.c: Likewise.
34308         * debug/fread_u_chk.c: Likewise.
34309         * debug/gets_chk.c: Likewise.
34310         * debug/obprintf_chk.c: Likewise.
34311         * debug/vasprintf_chk.c: Likewise.
34312         * debug/vdprintf_chk.c: Likewise.
34313         * debug/vsnprintf_chk.c: Likewise.
34314         * debug/vsprintf_chk.c: Likewise.
34315         * malloc/mtrace.c: Likewise.
34316         * misc/error.c: Likewise.
34317         * misc/syslog.c: Likewise.
34318         * stdio-common/asprintf.c: Likewise.
34319         * stdio-common/fxprintf.c: Likewise.
34320         * stdio-common/getw.c: Likewise.
34321         * stdio-common/isoc99_fscanf.c: Likewise.
34322         * stdio-common/isoc99_scanf.c: Likewise.
34323         * stdio-common/isoc99_vfscanf.c: Likewise.
34324         * stdio-common/isoc99_vscanf.c: Likewise.
34325         * stdio-common/isoc99_vsscanf.c: Likewise.
34326         * stdio-common/printf-prs.c: Likewise.
34327         * stdio-common/printf_fp.c: Likewise.
34328         * stdio-common/printf_fphex.c: Likewise.
34329         * stdio-common/printf_size.c: Likewise.
34330         * stdio-common/putw.c: Likewise.
34331         * stdio-common/scanf.c: Likewise.
34332         * stdio-common/sprintf.c: Likewise.
34333         * stdio-common/tmpfile.c: Likewise.
34334         * stdio-common/vfprintf.c: Likewise.
34335         * stdio-common/vfscanf.c: Likewise.
34336         * stdlib/strfmon_l.c: Likewise.
34337         * sunrpc/openchild.c: Likewise.
34338         * sunrpc/xdr_stdio.c: Likewise.
34339         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34340         * sysdeps/mach/hurd/tmpfile.c: Likewise.
34341
34342 2012-05-24  Roland McGrath  <roland@hack.frob.com>
34343
34344         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34345
34346         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34347         in the third column, to generate for the shared library an IFUNC
34348         that uses _dl_vdso_vsym.
34349         * Makerules (COMPILE.c, compile-stdin.c): New variables.
34350         * Makeconfig (object-suffixes-noshared): New variable.
34351
34352         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34353         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34354         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34355         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34356
34357         [BZ #14132]
34358         * include/sys/time.h (__gettimeofday): Remove macro.
34359         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34360         * time/gettimeofday.c (__gettimeofday): Remove #undef.
34361         Remove INTDEF.
34362         (__gettimeofday): Add libc_hidden_def.
34363         (gettimeofday): Add libc_hidden_weak.
34364         * sysdeps/mach/gettimeofday.c: Likewise.
34365         * sysdeps/posix/gettimeofday.c: Likewise.
34366         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34367         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34368         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34369         (__gettimeofday_internal): Remove strong_alias.
34370         (__gettimeofday): Add libc_hidden_def.
34371         (gettimeofday): Add libc_hidden_weak.
34372         * sysdeps/unix/syscalls.list (gettimeofday):
34373         Remove __gettimeofday_internal alias.
34374
34375 2012-05-24  Daniel Jacobowitz  <drow@false.org>
34376             H.J. Lu  <hongjiu.lu@intel.com>
34377
34378         [BZ #12495]
34379         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34380         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34381         (largebin_index_32_big): New.
34382         (largebin_index): Use it for 16-byte alignment.
34383         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
34384         correction with front_misalign.
34385
34386 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34387
34388         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34389         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34390         Likewise.
34391         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34392         Likewise.
34393         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34394         Likewise.
34395         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34396         Likewise.
34397         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34398         Likewise.
34399         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34400         Likewise.
34401         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34402         Likewise.
34403         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34404         Likewise.
34405         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34406         Likewise.
34407         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34408         Likewise.
34409         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34410         Likewise.
34411         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34412         Likewise.
34413
34414         * scripts/data/c++-types-x32-linux-gnu.data: New file.
34415         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34416
34417 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34418
34419         [BZ #10846]
34420         [BZ #14036]
34421         * math/libm-test.inc (exp_test): Add test from bug 14036.
34422         (pow_test): Add test from bug 10846.
34423
34424         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34425         and other flags.
34426         (special_function): Do not include flags in test name.
34427         (parse_args): Likewise.
34428         * sysdeps/i386/fpu/libm-test-ulps: Update.
34429         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34430         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34431         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34433
34434         * math/gen-libm-test.pl (%beautify): Add entries for underflow
34435         exceptions.
34436         * math/libm-test.inc ("Philosophy"): Update comment about
34437         exception testing.
34438         (UNDERFLOW_EXCEPTION): New macro.
34439         (UNDERFLOW_EXCEPTION_OK): Likewise.
34440         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34441         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34442         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34443         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34444         (INVALID_EXCEPTION_OK): Update value.
34445         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34446         (OVERFLOW_EXCEPTION_OK): Likewise.
34447         (IGNORE_ZERO_INF_SIGN): Likewise.
34448         (test_exceptions): Handle underflow exceptions.
34449         (acos_test): Update for underflow exception expectations.
34450         (cexp_test): Likewise.
34451         (clog_test): Likewise.
34452         (clog10_test): Likewise.
34453         (csqrt_test): Likewise.
34454         (ctan_test): Likewise.
34455         (ctanh_test): Likewise.
34456         (exp_test): Likewise.
34457         (exp10_test): Likewise.
34458         (exp2_test): Likewise.
34459         (expm1_test): Likewise.
34460         (fma_test): Likewise.
34461         (j0_test): Likewise.
34462         (jn_test): Likewise.
34463         (nexttoward_test): Likewise.
34464         (pow_test): Likewise.
34465         (scalbn_test): Likewise.
34466         (scalbln_test): Likewise.
34467         (tan_test): Likewise.
34468         (y1_test): Likewise.
34469         * sysdeps/i386/fpu/libm-test-ulps: Update.
34470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34471
34472 2012-05-23  David S. Miller  <davem@davemloft.net>
34473
34474         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34475         (__libc_sigaction): Remove unused local variables.
34476
34477 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34478
34479         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34480
34481 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
34482
34483         mktime: avoid signed integer overflow
34484         * time/mktime.c (__mktime_internal): Do not mishandle the case
34485         where diff == INT_MIN.
34486
34487         mktime: simplify computation of average
34488         * time/mktime.c (ranged_convert): Use new time_t_avg function
34489         instead of rolling our own (probably-slower) code.
34490
34491         mktime: do not assume signed right shift propagates sign bit
34492         * time/mktime.c (isdst_differ): New static function.
34493         (__mktime_internal): No need to normalize tm_isdst now.
34494         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34495         tm_isdst values.
34496
34497         mktime: merge another wrapv change from gnulib
34498         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34499         from some compilers.
34500
34501         mktime: remove incorrect attempt at unusual arithmetics
34502         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34503         The code didn't really work on such machines anyway.
34504         (TYPE_MINIMUM): Assume two's complement.
34505         (twos_complement_arithmetic): Verify that long_int and time_t
34506         are two's complement (or unsigned, in the latter case).
34507
34508         mktime: check signed shifts on long_int and time_t, too
34509         * time/mktime.c (SHR): Check that shifts work as desired
34510         on the types long_int and time_t too, as SHR is used on
34511         such types.
34512
34513         mktime: do not assume 'long' is wide enough
34514         * time/mktime.c (verify): Move decl up.
34515         (long_int): New type.
34516         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34517         to remove assumption in the code that 'long' is wide enough to
34518         store year values.  This assumption is not true on x32 and on
34519         some non-glibc platforms.
34520
34521         mktime: merge wrapv change from gnulib
34522         * time/mktime.c (WRAPV): New macro.
34523         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34524         (guess_time_tm, __mktime_internal): Do not assume that signed
34525         integer overflow wraps around; modern compilers generate code
34526         where this assumption is no longer valid.
34527
34528 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34529
34530         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34531         Replace "jmp L(pseudo_end)" with "ret".
34532         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34533         Likewise.
34534
34535 2012-05-23  Andreas Jaeger  <aj@suse.de>
34536
34537         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34538         * sysdeps/unix/sysv/linux/poll.c: Remove file.
34539
34540 2012-05-23  Andreas Jaeger  <aj@suse.de>
34541             Maximilian Attems  <max@stro.at>
34542
34543         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34544         New macros.
34545
34546 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34547
34548         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34549         code so that pseudo_end is just ret and the stack pointer is
34550         correct also for static library in error case.
34551
34552 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
34553
34554         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34555         move to syscalls.list.
34556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34560
34561         * manual/install.texi (Running make install): Do not mention Linux
34562         kernel version for which pt_chown is not needed.
34563         (Linux): Do not mention problems with nscd with 2.0 kernels.
34564         * INSTALL: Regenerated.
34565
34566 2012-05-23  Andreas Jaeger  <aj@suse.de>
34567
34568         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34569         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34570         macro.
34571         * sysdeps/unix/sysv/linux/s390/bits/mman.h
34572         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34573         * sysdeps/unix/sysv/linux/sh/bits/mman.h
34574         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34575         * sysdeps/unix/sysv/linux/i386/bits/mman.h
34576         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34577         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34578         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34579         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34580         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34581         * sysdeps/unix/sysv/linux/bits/in.h
34582         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34583
34584 2012-05-22  Roland McGrath  <roland@hack.frob.com>
34585
34586         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34587         (PREPARE_VERSION): Just use assert instead, it will be elided
34588         under [NDEBUG] anyway.
34589
34590 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34591
34592         * sysdeps/unix/sysv/linux/Makefile: Include
34593         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34594         (sysdep_routines): Remove sysctl.
34595         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34596         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34597         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34598         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34599         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34600
34601 2012-05-22  Andreas Jaeger  <aj@suse.de>
34602
34603         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34604         that pseudo_end is just ret and the stack pointer is correct also
34605         for static library in error case.
34606
34607 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
34608
34609         [BZ #14122]
34610         * nss/nsswitch.c (defconfig_entries): New variable.
34611         (__nss_database_lookup): Don't leak defconfig entries.
34612         (nss_parse_service_list): Don't leak on error paths.
34613         (free_database_entries): New function.
34614         (free_defconfig): New function.
34615         (free_mem): Move common code to free_database_entries.
34616
34617 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34618
34619         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34620         Add arch_prctl.
34621         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34622
34623         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34624         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34625         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34626         New macro.
34627         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34628         (INTERNAL_SYSCALL_TYPES): Likewise.
34629         (LOAD_ARGS_TYPES_[1-6]): Likewise.
34630         (LOAD_REGS_TYPES_[1-6]): Likewise.
34631         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34632         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34633
34634 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34635
34636         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34637         copysignl for GLIBC_2_0.
34638         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34639         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34640         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34641         logbl for GLIBC_2_0.
34642         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34643         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34644
34645 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34646
34647         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34648         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34649
34650         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34651         Use "neg %eax".
34652
34653         * time/mktime.c: Update copyright years.
34654
34655 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
34656
34657         mktime: merge comment-quoting-style change from gnulib
34658         * time/mktime.c: Quote 'like this' in comments.
34659         The GNU coding standards suggest that we no longer quote `like this',
34660         as "`" and "'" are typically rendered asymmetrically nowadays.
34661         The typical gnulib style is to quote 'like this' when quoting
34662         code, and "like this" when quoting English.
34663
34664         * time/mktime.c (compile-command): Add "-I.".
34665
34666         mktime: merge mktime-internal.h change from gnulib
34667         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34668
34669         mktime: merge time_r change from gnulib
34670         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34671
34672         mktime: merge DEBUG change from gnulib
34673         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34674         case system <time.h> has a #define.
34675
34676         mktime: merge <sys/types.h> change from gnulib
34677         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34678         since <time.t> is now guaranteed to define time_t.
34679
34680         mktime: merge HAVE_CONFIG_H change from gnulib
34681         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34682
34683 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34684
34685         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34686         Use "neg %eax".
34687
34688         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34689         __rlim_t cast.
34690         (struct rusage): Use anonymous union to pad each field to
34691         __syscall_slong_t.
34692
34693 2012-05-21  David S. Miller  <davem@davemloft.net>
34694
34695         * Makefules (o-iterator): Remove .s cases.
34696         (compile-command.s): Delete.
34697         (COMPILE.s): Delete.
34698         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34699
34700 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
34701
34702         * configure.in (libc_cv_predef_stack_protector): Only consider
34703         "foobar" and "__stack_chk_fail" lines in libc_undefs.
34704         * configure: Regenerated.
34705
34706 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34707
34708         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34709         New macro.  Use R*LP on int and pointer.
34710         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34711         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34712         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34713         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34714
34715         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34716         [__WORDSIZE_TIME64_COMPAT32] instead of
34717         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34718         (struct utmp): Likewise.
34719         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34720         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34721         Renamed to ...
34722         (__WORDSIZE_TIME64_COMPAT32): This.
34723         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34724         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34725         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34726         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34727         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34728         (__WORDSIZE_TIME64_COMPAT32): New macro.
34729
34730 2012-05-21  Andreas Jaeger  <aj@suse.de>
34731
34732         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34733         only if [SHARED]. Add prototype for __wcschr_ia32.
34734
34735 2012-05-21  Roland McGrath  <roland@hack.frob.com>
34736
34737         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34738         of %rbp unmolested in the jmp_buf while mangling the low bits.
34739         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34740         unmolested high bits of %rbp while demangling the low bits.
34741         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34742
34743 2012-05-21  Andreas Jaeger  <aj@suse.de>
34744
34745         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34746         * sunrpc/svc_simple.c: Use it for registerrpc.
34747         * sunrpc/xcrypt.c: Use it for passwd2des.
34748
34749         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34750
34751 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34752
34753         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34754         Don't define if [__SYSCALL_WORDSIZE != 32].
34755         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34756         New macro.
34757
34758 2012-05-21  Bruno Haible  <bruno@clisp.org>
34759             Andreas Jaeger  <aj@suse.de>
34760
34761         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34762         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34763         inptr and inend for must_buffer_ch.
34764         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34765         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34766         * stdio-common/Makefile (tests): Remove bug15.
34767         (bug15-ENV): Remove macro.
34768         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34769         anymore.
34770
34771 2012-05-19  Andreas Jaeger  <aj@suse.de>
34772             Roland McGrath  <roland@hack.frob.com>
34773
34774         * manual/contrib.texi: Completely rewritten. It contains now an
34775         alphabetical list of contributors and their contributions.
34776
34777 2012-05-21  Richard Henderson  <rth@twiddle.net>
34778
34779         * misc/getauxval.c (__getauxval): Use unsigned long int.
34780         * misc/sys/auxv.h: Include <sys/cdefs.h>.
34781         (getauxval): Use unsigned long int.
34782
34783 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34784
34785         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34786
34787 2012-05-21  Roland McGrath  <roland@hack.frob.com>
34788
34789         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34790         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34791         __alignof__ (long double).
34792
34793 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34794
34795         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34796
34797 2012-05-20  Richard Henderson  <rth@twiddle.net>
34798
34799         * misc/getauxval.c: New file.
34800         * misc/sys/auxv.h: New file.
34801         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34802         (routines): Add getauxval.
34803         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34804         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34805         * elf/dl-sysdep.c (_dl_auxv): Remove.
34806         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34807         * elf/dl-support.c (_dl_auxv): New variable.
34808         (_dl_aux_init): Initialize it.
34809         * manual/startup.texi (Auxiliary Vector): New node.
34810         * sysdeps/generic/bits/hwcap.h: New file.
34811         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34812         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
34813         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34814         * sysdeps/sparc/sysdep.h: ... here.  Include it.
34815         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34816         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34818         Update.
34819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34820         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34821         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34822         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34823         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34824         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34825         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34826         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34827
34828 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34829
34830         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34831
34832 2012-05-19  David S. Miller  <davem@davemloft.net>
34833
34834         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34835
34836 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
34837
34838         [BZ #14123]
34839         * math/s_ccosh.c: Include <float.h>
34840         (__ccosh): Avoid internal overflow calculating sinh and cosh
34841         values before multiplying by sin and cos values.
34842         * math/s_ccoshf.c: Likewise.
34843         * math/s_ccoshl.c: Likewise.
34844         * math/s_csin.c: Likewise.
34845         * math/s_csinf.c: Likewise.
34846         * math/s_csinl.c: Likewise.
34847         * math/s_csinh.c: Likewise.
34848         * math/s_csinhf.c: Likewise.
34849         * math/s_csinhl.c: Likewise.
34850         * math/libm-test.inc (ccos_test): Add more tests.
34851         (ccosh_test): Likewise.
34852         (csin_test): Likewise.
34853         (csinh_test): Likewise.
34854         * sysdeps/i386/fpu/libm-test-ulps: Update.
34855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34856
34857 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
34858
34859         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34860         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34861
34862         * sysdeps/x86_64/x32/_itoa.h: Add comment.
34863
34864 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
34865
34866         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34867         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34868         * sysdeps/powerpc/soft-fp/Versions: Likewise.
34869         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34870         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34871         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34872         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34873         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34874         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34875         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34876         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34877         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34878         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34879         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34880         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34881         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34882         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34883         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34884         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34885         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34886         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34887         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34888         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34889         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34890         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34891         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34892         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34893         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34894         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34895         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34896         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34897
34898 2012-05-18  Andreas Jaeger  <aj@suse.de>
34899
34900         * csu/.gitignore: Delete.
34901
34902 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34903
34904         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34905         (timex): Use __syscall_slong_t.
34906
34907 2012-05-18  Andreas Jaeger  <aj@suse.de>
34908             Carlos O'Donell  <carlos_odonell@mentor.com>
34909
34910         * manual/install.texi (Configuring and compiling): Update
34911         description about files modified in the source directory.
34912         * INSTALL: Regenerated.
34913
34914 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34915
34916         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34917         value.  Use "or" to set return value to -1.
34918         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34919         negate return value.
34920
34921 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34922
34923         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34924         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
34925         failure if the compiler has Graphite support disabled.
34926         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34927         Likewise.
34928         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34929         (CFLAGS-memmove.c): Likewise.
34930         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34931         Likewise.
34932
34933 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34934
34935         * sysdeps/x86_64/x32/_itoa.h: New file.
34936
34937         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34938         getdents system call only if kernel and user dirents have the
34939         same d_ino and d_off.
34940
34941         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34942         LLONG_MAX != LONG_MAX.
34943         (_itoa_word): Use _ITOA_WORD_TYPE on value.
34944         (_fitoa_word): Likewise.
34945
34946         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34947         years.
34948         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34949         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34950         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34951
34952         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34953         include <bits/wordsize.h>.  Check __x86_64__ instead of
34954         __WORDSIZE.
34955         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34956         if __x86_64__ is defined.  Use anonymous union on fpstate.
34957
34958         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34959         anonymous union.
34960
34961 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
34962
34963         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34964         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34965         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34966         Refer to _rtld_local_ro instead of _rtld_global_ro.
34967         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34968         Likewise.
34969         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34970         Likewise.
34971         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34972         Likewise.
34973         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34974         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34975         of _rtld_global, and rtld_progname instead of _dl_argv[0].
34976
34977         * sysdeps/powerpc/powerpc32/dl-machine.c
34978         (__elf_machine_runtime_setup) [PROF]: Don't reference
34979         _dl_prof_resolve.
34980
34981 2012-05-18  Andreas Jaeger  <aj@suse.de>
34982
34983         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34984         function only available for GCCs before 3.4 since GCC 3.4
34985         introduced a builtin.
34986         (lrint): Likewise.
34987         (llrintf): Likewise.
34988         (llrint): Likewise.
34989         (fmaxf): Likewise.
34990         (fmax): Likewise.
34991         (fminf): Likewise.
34992         (fmin): Likewise.
34993         (rint): Likewise.
34994         (rintf): Likewise.
34995         (nearbyint): Likewise.
34996         (nearbyintf): Likewise.
34997         (ceil): Likewise.
34998         (ceilf): Likewise.
34999         (floor): Likewise.
35000         (floorf): Likewise.
35001
35002 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35003
35004         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35005         on both fields and cast pointer to __syscall_ulong_t.
35006
35007         * bits/types.h (__fsword_t): New type.
35008         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35009         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35010         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35011         (__FSWORD_T_TYPE): Likewise.
35012         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35013         (__FSWORD_T_TYPE): Likewise.
35014         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35015         (__FSWORD_T_TYPE): Likewise.
35016         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35017         (__FSWORD_T_TYPE): Likewise.
35018         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35019         __SWORD_TYPE with __fsword_t.
35020         (statfs64): Likewise.
35021
35022 2012-05-17  David S. Miller  <davem@davemloft.net>
35023
35024         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35025
35026 2012-05-17  Andreas Jaeger  <aj@suse.de>
35027
35028         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35029         warning.
35030
35031 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35032
35033         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35034
35035 2012-05-17  Andreas Jaeger  <aj@suse.de>
35036
35037         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35038         when it is used.
35039
35040 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35041
35042         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35043
35044 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35045
35046         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35047         * sysdeps/x86_64/tst-mallocalign1.c: New file.
35048
35049 2012-05-17  Andreas Jaeger  <aj@suse.de>
35050             Carlos O'Donell  <carlos_odonell@mentor.com>
35051
35052         [BZ #14059]
35053         * sysdeps/x86_64/multiarch/init-arch.h
35054         (bit_YMM_Usable): Rename to...
35055         (bit_AVX_Usable): ... this.
35056         (bit_FMA4_Usable): New macro.
35057         (bit_XMM_state): New macro.
35058         (bit_YMM_state): New macro.
35059         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35060         [__ASSEMBLER__] (index_AVX_Usable): ... this.
35061         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35062         (CPUID_OSXSAVE): New macro.
35063         (CPUID_AVX): New macro.
35064         (CPUID_FMA4): New macro.
35065         (index_YMM_Usable): Rename to...
35066         (index_AVX_Usable): ... this.
35067         (HAS_AVX): Use HAS_ARCH_FEATURE.
35068         (HAS_FMA4): Likewise.
35069         (HAS_YMM_USABLE): Remove.
35070         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35071         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35072         are present.
35073         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35074         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35075         * sysdeps/x86_64/multiarch/Makefile: Likewise.
35076         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35077         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35078
35079 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35080
35081         * math/libm-test.c: Support platforms without multiple rounding modes.
35082         * math/bug-nextafter.c: Support platforms without FP exceptions.
35083         * math/bug-nexttoward.c: Likewise.
35084         * math/test-fenv.c: Likewise.
35085         * math/test-misc.c: Likewise.
35086         * stdlib/bug-getcontext.c: Likewise.
35087
35088 2012-05-17  Andreas Jaeger  <aj@suse.de>
35089
35090         * manual/examples/search.c (critter_cmp): Change signature to
35091         avoid warnings.
35092         * manual/string.texi (Collation Functions): Likewise.
35093
35094 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35095
35096         * bits/types.h: Fold copyright years.
35097         * bits/typesizes.h: Likewise.
35098         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35099         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35100         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35101         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35102         * time/time.h: Likewise.
35103
35104 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
35105
35106         [BZ #208]
35107         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35108         in instead of returning them.  Return void.
35109         (__libc_mallinfo): Accumulate over all arenas.
35110         (__malloc_stats): Adjust for change in int_mallinfo interface.
35111
35112 2012-05-16  Roland McGrath  <roland@hack.frob.com>
35113
35114         [BZ #10375]
35115         * configure.in (NM): Add AC_CHECK_TOOL for it.
35116         (libc_extra_cflags): New substituted variable.
35117         Check for -fstack-protector being used implicitly.
35118         * configure: Regenerated.
35119         * config.make.in (config-extra-cflags): New variable,
35120         gets @libc_extra_cflags@.
35121         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35122
35123         [BZ #10375]
35124         * configure.in: Check for _FORTIFY_SOURCE being predefined.
35125         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35126         * configure: Regenerated.
35127         * config.make.in (CPPUNDEFS): New substituted variable.
35128         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35129         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35130         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35131
35132 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35133
35134         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35135         (mq_attr): Use __syscall_slong_t.
35136
35137 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35138
35139         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35140         Check __x86_64__ instead of __WORDSIZE.
35141         (_STAT_VER_LINUX): Likewise.
35142         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
35143         __syscall_ulong_t and __syscall_slong_t.
35144         (stat64): Likewise.
35145
35146 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35147
35148         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35149
35150 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35151
35152         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35153
35154 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35155
35156         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35157         __syscall_ulong_t.
35158
35159         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35160         include <bits/wordsize.h>.  Check __x86_64__ instead of
35161         __WORDSIZE.
35162         (greg_t): Use "__extension__ long long int" if __x86_64__ is
35163         defined.
35164         (mcontext_t): Replace "unsigned long" with "unsigned long long".
35165
35166         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35167         include <bits/wordsize.h>.  Check __x86_64__ instead of
35168         __WORDSIZE.
35169         (user_regs_struct): Use "__extension__ unsigned long long"
35170         instead of "unsigned long" if __x86_64__ is defined.
35171         (user): Likewise.  Pad after pointer field if __ILP32__ is
35172         defined.
35173
35174 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
35175
35176         * configure.in (makeinfo): Require version 4.5 or later.  Allow
35177         versions 5 to 9.
35178         * configure: Regenerated.
35179         * manual/install.texi (texinfo): Increase version requirement to
35180         4.5 or later.
35181         * INSTALL: Regenerated.
35182
35183         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35184
35185 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35186
35187         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35188
35189         * sysdeps/x86_64/x32/ffs.c: New file.
35190
35191         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35192         __syscall_ulong_t.
35193         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35194         defined.  Use __syscall_ulong_t.
35195         (shminfo): Use __syscall_ulong_t.
35196         (shm_info): Likewise.
35197
35198         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35199         __syscall_ulong_t.
35200
35201         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35202         <bits/wordsize.h>.
35203         (msgqnum_t): Use __syscall_ulong_t.
35204         (msglen_t): Likewise.
35205         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
35206         __syscall_ulong_t.
35207
35208         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35209         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35210
35211         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35212
35213         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35214         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35215
35216         * sysvipc/sys/msg.h (msgbuf): Replace long int with
35217         __syscall_slong_t.
35218
35219         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35220         include <bits/wordsize.h>.  Check __x86_64__ instead of
35221         __WORDSIZE.
35222
35223         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35224         "unsigned long long int" if __x86_64__ is defined.
35225         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35226
35227         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35228         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35229         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35230
35231         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35232         <stdint.h>.
35233         (GET_PC): Cast to uintptr_t first.
35234         (GET_FRAME): Likewise.
35235         (GET_STACK): Likewise.
35236
35237         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35238         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35239         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35240         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35241         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35242         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35243         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35244         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35245         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35246         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35247         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35248         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35249         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35250         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35251         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35252         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35253         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35254         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35255         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35256         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35257         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35258         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35259         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35260         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35261         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35262         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35263         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35264         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35265         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35266
35267 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
35268
35269         * Makerules (+depfiles): Also collect depfiles from .oS in
35270         $(extra-objs).
35271         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35272         .oS, $(libnldbl-routines)).
35273
35274         * Makerules (native-compile-mkdep-flags): Define.
35275         * sunrpc/Makefile (extra-objs): Add $(addprefix
35276         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35277         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35278         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
35279         calling $(make-target-directory).
35280
35281 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35282
35283         * bits/types.h (__snseconds_t): Removed.
35284         * time/time.h (struct timespec): Replace __snseconds_t with
35285         __syscall_slong_t.
35286         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35287         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35288         Likewise.
35289         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35290         (__SNSECONDS_T_TYPE): Likewise.
35291         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35292         (__SNSECONDS_T_TYPE): Likewise.
35293         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35294         (__SNSECONDS_T_TYPE): Likewise.
35295
35296 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35297
35298         * sysdeps/mach/hurd/bits/typesizes.h
35299         (__SYSCALL_SLONG_TYPE): New macro.
35300         (__SYSCALL_ULONG_TYPE): Likewise.
35301
35302 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35303
35304         * bits/types.h (__syscall_slong_t): New type.
35305         (__syscall_ulong_t): Likewise.
35306
35307         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35308         (__SYSCALL_ULONG_TYPE): Likewise.
35309         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35310         (__SYSCALL_SLONG_TYPE): Likewise.
35311         (__SYSCALL_ULONG_TYPE): Likewise.
35312         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35313         (__SYSCALL_SLONG_TYPE): Likewise.
35314         (__SYSCALL_ULONG_TYPE): Likewise.
35315         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35316         (__SYSCALL_SLONG_TYPE): Likewise.
35317         (__SYSCALL_ULONG_TYPE): Likewise.
35318
35319 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35320
35321         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35322         Add sigaltstack-offsets.sym.
35323         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35324         <sigaltstack-offsets.h>.
35325         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
35326         longjmp_msg pointer.
35327         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
35328         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35329         signal stack.
35330         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35331
35332 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35333
35334         * elf/stackguard-macros.h: Remove file.
35335         * sysdeps/generic/stackguard-macros.h: New file.
35336         * sysdeps/i386/stackguard-macros.h: Likewise.
35337         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35338         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35339         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35340         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35341         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35342         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35343         * sysdeps/x86_64/stackguard-macros.h: Likewise.
35344         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35345         <elf/stackguard-macros.h>.
35346
35347         [BZ #14109]
35348         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35349         __aligned__ in attribute.
35350         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35351         (gregset_t): Likewise.
35352
35353 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35354
35355         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35356         * sysdeps/x86_64/64/Implies-after: Here.  New file.
35357         * sysdeps/x86_64/x32/Implies-after: New file.
35358
35359 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35360
35361         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35362         and access return value for _dl_profile_fixup.  Use R10_LP to
35363         load frame size.
35364
35365 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35366
35367         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35368
35369 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35370
35371         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35372         * sysdeps/x86_64/x32/sysdep.h: New file.
35373
35374 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35375
35376         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35377         * sysdeps/x86_64/setjmp.S: Likewise.
35378
35379 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35380
35381         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35382         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35383         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35384         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35385         remove unused global constant.
35386
35387 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
35388
35389         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35390         include of <not-cancel.h>.
35391
35392 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35393
35394         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35395
35396 2012-05-15  Jeff Law  <law@redhat.com>
35397             Andreas Jaeger  <aj@suse.de>
35398
35399         [BZ #13594]
35400         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35401         out from...
35402         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35403         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35404         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35405         code changing __hst_map_handle.map.
35406
35407 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35408
35409         * configure.in (sysnames): Look for Implies-before and Implies-after
35410         files.
35411         * configure: Regenerated.
35412
35413 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35414
35415         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35416         8-byte data alignment with LP_SIZE alignment.
35417
35418 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35419
35420         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35421         into R10_LP.
35422
35423 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35424
35425         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35426
35427 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35428
35429         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35430         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35431         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35432         Likewise.
35433         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35434
35435 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35436
35437         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35438         (stackinfo_sub_sp): Likewise.
35439
35440 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35441
35442         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35443         RAX_LP.
35444
35445 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35446
35447         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35448         into R*_LP.
35449
35450 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35451
35452         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35453         sizes into R*_LP.
35454
35455 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35456
35457         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35458
35459 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35460
35461         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35462         into R11_LP and load __x86_64_shared_cache_size_half into
35463         R8_LP.
35464
35465 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35466
35467         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35468         R8_LP.
35469
35470 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35471
35472         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35473         logb for POWER7.
35474         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35475         logbf for POWER7.
35476         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35477         logbl for POWER7.
35478         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35479         powerpc32/power7/fpu/s_logb.c via #include.
35480         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35481         powerpc32/power7/fpu/s_logbf.c via #include.
35482         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35483         powerpc32/power7/fpu/s_logbl.c via #include.
35484
35485 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35486
35487         * README.libm: Remove file.
35488
35489 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35490
35491         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35492         count for x32.  Use R*_LP and omit operand-size suffix.
35493
35494 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35495
35496         * shlib-versions: Move x86_64-.*-linux.* entries to ...
35497         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
35498         * sysdeps/x86_64/x32/shlib-versions: New file.
35499
35500 2012-05-14  Roland McGrath  <roland@hack.frob.com>
35501
35502         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35503         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35504         Use _dl_fatal_printf instead.
35505
35506 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
35507
35508         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35509         set if not set by the user.  Do not allow for being unset.
35510         * sysdeps/unix/sysv/linux/configure: Regenerated.
35511
35512 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35513
35514         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35515         the `q' suffix from lea and replace .quad with ASM_ADDR.
35516
35517 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35518
35519         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35520         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
35521         instead of $17.
35522         (PTR_DEMANGLE): Likewise.
35523
35524 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35525
35526         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35527         (LP_OP): Likewise.
35528         (ASM_ADDR): Likewise.
35529         (RAX_LP): Likewise.
35530         (RBP_LP): Likewise.
35531         (RBX_LP): Likewise.
35532         (RCX_LP): Likewise.
35533         (RDI_LP): Likewise.
35534         (RSI_LP): Likewise.
35535         (RSP_LP): Likewise.
35536         (R8_LP): Likewise.
35537         (R9_LP): Likewise.
35538         (R10_LP): Likewise.
35539         (R10_LP): Likewise.
35540         (R11_LP): Likewise.
35541         (R12_LP): Likewise.
35542         (R13_LP): Likewise.
35543         (R14_LP): Likewise.
35544         (R15_LP): Likewise.
35545
35546 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35547
35548         * sysdeps/x86_64/x32/dl-machine.h: New file.
35549
35550 2012-05-14  Andreas Jaeger  <aj@suse.de>
35551
35552         * manual/Makefile (subdir): Remove export of subdir.
35553         (all): Remove target.
35554         (.PHONY): Remove all from list.
35555         (mkinstalldirs): Remove.
35556         (.PHONY): Remove installdirs from list.
35557         ($(inst_infodir)/libc.info): Use make-target-directory.
35558         (installdirs): Remove.
35559         (subdir_%): Remove.
35560         (glibc-targets): Remove.
35561         (lib): Remove.
35562         (stubs): Remove.
35563         ($(objpfx)stubs ../po/manual.pot): Remove.
35564         ($(objpfx)stamp%): Remove.
35565         (make-target-directory): Remove.
35566         (subdir_install): Remove.
35567         (routines): Remove.
35568         (aux): Remove.
35569         (sources): Remove.
35570         (objects): Remove.
35571         (headers): Remove.
35572
35573         [BZ #13750]
35574         * manual/.gitignore: Remove, it's not needed anymore.
35575         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35576         all files in it.
35577         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35578         directory.
35579         (texis): Renamed to $(objpfx)texis.
35580         (texis-path): New, contains path to generated files.
35581         (chapters.%): Use texis-path for complete path, add extra argument
35582         libc-texinfo.sh.
35583         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35584         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35585         (summary,texi, stamp-summary): Use complete path of
35586         files. Generate files in build dir.
35587         (dir-add.texi): Build in build dir.
35588         (libm-err.texi,stamp-libm-err): Likewise.
35589         (version.texi, stamp-version): Likewise.
35590         (.%c.texi): Likewise.
35591         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35592         (mostlyclean): Remove target.
35593         (realclean): Remove target.
35594         (generated): Add new variable with contents from mostlyclean and
35595         realclean, remove entries duplicated in common-mostlyclean, add
35596         stamp-libm-err and stamp-version.
35597         (generated-dirs): Add libc directory.
35598         ($(inst_infodir)/libc.info): Install files from build dir.
35599
35600         * manual/install.texi (Configuring and compiling): Adjust since
35601         the info files are not part of the tar ball anymore.
35602
35603 2012-05-14  Andreas Jaeger  <aj@suse.de>
35604
35605         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35606         variable.
35607
35608 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
35609
35610         [BZ #13717]
35611         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35612         to 2.2.0 where earlier.
35613         * sysdeps/unix/sysv/linux/configure: Regenerated.
35614         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35615         Remove conditional code.
35616         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35617         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35618         Remove conditional code.
35619         [!__NR_lchown]: Likewise.
35620         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35621         [__NR_lchown]: Likewise.
35622         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35623         comment referencing __ASSUME_LCHOWN_SYSCALL.
35624         * sysdeps/unix/sysv/linux/i386/sigaction.c
35625         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35626         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35627         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35628         Remove conditional code.
35629         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35630         (__protocol_available): Remove #if 0 code.
35631         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35632         conditional code.
35633         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35634         * sysdeps/unix/sysv/linux/kernel-features.h
35635         (__ASSUME_GETCWD_SYSCALL): Don't define.
35636         (__ASSUME_REALTIME_SIGNALS): Likewise.
35637         (__ASSUME_PREAD_SYSCALL): Likewise.
35638         (__ASSUME_PWRITE_SYSCALL): Likewise.
35639         (__ASSUME_POLL_SYSCALL): Likewise.
35640         (__ASSUME_LCHOWN_SYSCALL): Likewise.
35641         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35642         non-SPARC.
35643         (__ASSUME_SIOCGIFNAME): Don't define.
35644         (__ASSUME_MSG_NOSIGNAL): Likewise.
35645         (__ASSUME_SENDFILE): Define unconditionally.
35646         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35647         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35648         conditional code.
35649         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35650         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35651         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35652         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35653         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35654         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35655         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35657         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35658         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35660         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35661         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35663         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35664         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35666         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35667         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35669         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35670         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35672         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35673         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35675         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35676         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35678         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35679         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35680         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35681         Remove conditional code.
35682         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35683         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35684         Remove conditional code.
35685         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35686         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35687         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35688         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35689         Remove conditional code.
35690         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35691         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35692         Remove conditional code.
35693         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35694         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35695         Remove conditional code.
35696         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35697         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35698         Remove conditional code.
35699         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35700         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35701         Remove conditional code.
35702         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35703         * sysdeps/unix/sysv/linux/sh/pwrite64.c
35704         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35705         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35706         * sysdeps/unix/sysv/linux/sigaction.c
35707         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35708         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35709         * sysdeps/unix/sysv/linux/sigpending.c
35710         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35711         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35712         * sysdeps/unix/sysv/linux/sigprocmask.c
35713         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35714         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35715         * sysdeps/unix/sysv/linux/sigsuspend.c
35716         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35717         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35718         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35719         (__libc_missing_rt_sigs): Remove.
35720         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35721         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35722         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35723         Remove conditional code.
35724         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35725         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35726         return 1.
35727         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35728         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35729         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35730         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35731
35732 2012-05-14  Andreas Jaeger  <aj@suse.de>
35733
35734         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35735         it's not used in glibc.
35736         (__coshm1): Likewise.
35737         (__acosh1p): Likewise.
35738         (__sgn): Likewise.
35739
35740         * manual/string.texi (Copying and Concatenation): Add missing
35741         variable in concat example.
35742         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35743
35744 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35745
35746         [BZ #14103]
35747         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35748         __builtin_clzl with __builtin_clzll.
35749
35750 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35751
35752         [BZ #14104]
35753         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35754         libc_freeres_ptr.
35755
35756 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35757
35758         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35759         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35760         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35761         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35762
35763 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
35764
35765         * NEWS: Update ia64 info.
35766
35767 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
35768
35769         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35770         used as bcopy.
35771
35772 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
35773
35774         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35775         * sysdeps/unix/syscalls.list (dup3): Likewise.
35776         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35777         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35778
35779 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
35780
35781         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35782         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35783
35784 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
35785
35786         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35787         thread pointer.
35788         (TLS_IE): Use mov/add instead of movq/addq to load thread
35789         pointer.
35790         (TLS_GD_PREFIX): New.
35791         (TLS_GD): Use it.
35792
35793 2012-05-11  David S. Miller  <davem@davemloft.net>
35794
35795         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35796         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35797         (_FPU_SETCW): Likewise.
35798
35799 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35800
35801         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35802         is 32-byte aligned.
35803
35804 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
35805
35806         [BZ #11837]
35807         * iconvdata/gb18030.c: Update tables.
35808         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
35809         characters specially.
35810         (BODY for TO_LOOP): Add encoding of missing ranges.
35811
35812 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
35813
35814         [BZ #13673]
35815         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35816         * sysdeps/mach/hurd/dup3.c: Likewise.
35817         * sysdeps/mach/hurd/readlinkat.c: Likewise.
35818         * sysdeps/powerpc/memmove.c:: Likewise.
35819
35820 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35821
35822         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35823         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35824
35825 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35826
35827         * elf/elf.h (R_X86_64_RELATIVE64): New.
35828         (R_X86_64_NUM): Updated.
35829         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35830         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
35831         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35832         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35833         tst-quad1pie tst-quad2pie
35834         (modules-names): Add tst-quadmod1 tst-quadmod2.
35835         ($(objpfx)tst-quad1): New dependency.
35836         ($(objpfx)tst-quad2): Likewise.
35837         ($(objpfx)tst-quad1pie): Likewise.
35838         ($(objpfx)tst-quad2pie): Likewise.
35839         * sysdeps/x86_64/tst-quad1.c: New file.
35840         * sysdeps/x86_64/tst-quad1pie.c: New file.
35841         * sysdeps/x86_64/tst-quad2.c: Likewise.
35842         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35843         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35844         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35845         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35846         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35847
35848 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35849
35850         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35851         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35852         * streams/stropts.h (t_scalar_t): Define type.
35853
35854         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35855         (_PATH_PRESERVE): Set to "/var/lib".
35856         (_PATH_RWHODIR): Set to "/var/spool/rwho".
35857
35858         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35859         instead of int.
35860
35861         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35862         if __dir_mkfile succeeded.
35863
35864         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35865         checking for _hurd_dtablesize.  Unlock it right after having
35866         finished _hurd_dtable allocation.
35867
35868 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35869
35870         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35871         * sysdeps/mach/hurd/configure: Regenerated.
35872         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35873         special-casing to...
35874         * sysdeps/gnu/configure.in: ... this new file.
35875         * sysdeps/unix/sysv/linux/configure: Regenerated.
35876         * sysdeps/gnu/configure: New generated file.
35877
35878         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35879         for Linux: use nsec instead of usec, as well as:
35880         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35881         members of type struct timespec.
35882         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35883         New macros.
35884         (struct stat64): Likewise.
35885         (_STATBUF_ST_NSEC): New macro.
35886         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35887
35888         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35889         __strtoul_internal rather than strtoul.
35890
35891 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35892
35893         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35894         and reject them.
35895
35896 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35897
35898         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35899         which preserves existing values.
35900         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35901
35902 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35903
35904         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35905         TIMEOUT values.  Return EINVAL for NFDS values either negative or
35906         greater than FD_SETSIZE.
35907
35908 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35909
35910         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35911         allocated, call __vm_protect to finish enabling the existing space, and
35912         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35913         allocate the remainder.
35914
35915 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35916
35917         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35918         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
35919
35920 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35921
35922         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35923         sysdeps/mach/hurd/readlink.c.
35924
35925         * posix/tst-sysconf.c (posix_options): Only use
35926         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35927         _POSIX_SYNCHRONIZED_IO when they are defined
35928         * sysdeps/mach/hurd/bits/posix_opt.h:
35929         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35930         (_XOPEN_REALTIME): Undefine macro.
35931         (_XOPEN_REALTIME_THREADS): Undefine macro.
35932         (_XOPEN_SHM): Undefine macro.
35933         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35934         macro to -1.
35935         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35936         macro to -1.
35937         (_POSIX_ASYNC_IO): Undefine macro.
35938         (_POSIX_PRIORITIZED_IO): Undefine macro.
35939         (_POSIX_SPIN_LOCKS): Define macro to -1.
35940
35941         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35942         SA_NODEFER, SA_RESETHAND.
35943         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35944         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35945         F_DUPFD_CLOEXEC.
35946
35947 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35948
35949         * elf/Makefile (pldd-modules): Define unconditionally.
35950
35951 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35952
35953         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35954
35955 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35956
35957         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35958         Return ENOENT when name is empty.
35959         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35960
35961 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35962
35963         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35964
35965         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35966
35967 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35968
35969         Fix mlock in all cases except non-readable pages.
35970         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35971         instead of VM_PROT_ALL as parameter to __vm_wire function.
35972
35973         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35974         (__mkdir): When path is `/', just fail with EEXIST.
35975         * sysdeps/mach/hurd/mkdirat.c: Likewise.
35976
35977 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35978
35979         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35980         <sys/uio.h> (for writev).
35981         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35982         and <sys/param.h> (for MIN).
35983
35984 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35985
35986         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35987         REQUESTED_TIME.  Properly set the remaining time and return EINTR
35988         if interrupted.
35989
35990 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35991
35992         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35993         Depend on against $(link-rpcuserlibs).
35994
35995 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35996
35997         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35998         (__libc_stack_end): Do not use attribute_relro.
35999         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36000         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36001         to libthread-provided value.
36002         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36003         attribute_relro.
36004
36005 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36006
36007         [BZ #3748]
36008         * bits/libc-lock.h (__libc_once_get): New macro.
36009         * sysdeps/mach/bits/libc-lock.h: Likewise.
36010         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36011         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36012         instead of using implementation details.
36013
36014         * libio/fileops.c: Unconditionally include <kernel-features.h>.
36015         * libio/freopen.c: Likewise.
36016         * libio/freopen64.c: Likewise.
36017         * misc/syslog.c: Likewise.
36018         * nscd/connections.c: Likewise.
36019         * nscd/netgroupcache.c: Likewise.
36020         * sysdeps/posix/getcwd.c: Likewise.
36021
36022 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36023
36024         * math/w_ilogbf.c: Add #include <limits.h>.
36025
36026 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36027
36028         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36029         path instead of returning without unlocking.
36030
36031         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36032         immediate-write ioctls.
36033         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36034
36035 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36036
36037         * sysdeps/mach/hurd/i386/init-first.c (init): Use
36038         __builtin_frame_address instead of making assumptions about the
36039         location of the return address relative to DATA.  Force early load of
36040         the return address.
36041         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36042         __builtin_frame_address.
36043
36044         dup3 for GNU Hurd.
36045         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36046         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
36047         implement dup3 and do some further code clean-ups.
36048         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36049         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36050
36051 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36052
36053         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36054
36055         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36056         HURD_CRITICAL_END around holding _hurd_dtable_lock.
36057         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36058         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36059         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36060         d->port.lock.
36061
36062         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36063         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
36064         when handler == SIG_ERR, not when handler != SIG_ERR.
36065
36066 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36067
36068         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36069         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36070         definitions.
36071
36072         accept4 for GNU Hurd.
36073         * include/sys/socket.h (__libc_accept4): New prototype.
36074         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
36075         to implement __libc_accept4.
36076         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36077         __libc_accept4.
36078         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36079
36080         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36081         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36082         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36083         signal-defines.sym.
36084
36085 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36086
36087         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36088
36089 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36090
36091         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36092         assertion on O_CLOEXEC flag.
36093         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36094         * hurd/intern-fd.c: Likewise.
36095         * hurd/port2fd.c: Likewise.
36096
36097 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36098
36099         [BZ #3906]
36100         * bits/in.h (IPV6_PKTINFO): Define new macro.
36101         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36102
36103 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36104
36105         [BZ #13954]
36106         [BZ #13955]
36107         [BZ #13956]
36108         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36109         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36110         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36111         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36112         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36113         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36114         * math/libm-test.inc (logb_test) : Additional logb tests.
36115
36116 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
36117             Andreas Jaeger  <aj@suse.de>
36118
36119         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36120         * configure: Regenerated.
36121         * config.h.in (LINK_OBSOLETE_RPC): New macro.
36122         * config.make.in (link-obsolete-rpc): New substituted variable.
36123         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36124         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36125         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36126         (shared-only-routines): Don't set it under [link-obsolete-rpc],
36127         so that libc.a contains the symbols.
36128         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36129         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36130         * sunrpc/auth_none.c: Likewise.
36131         * sunrpc/auth_unix.c: Likewise.
36132         * sunrpc/authdes_prot.c: Likewise.
36133         * sunrpc/authuxprot.c: Likewise.
36134         * sunrpc/clnt_gen.c: Likewise.
36135         * sunrpc/clnt_perr.c: Likewise.
36136         * sunrpc/clnt_raw.c: Likewise.
36137         * sunrpc/clnt_simp.c: Likewise.
36138         * sunrpc/clnt_tcp.c: Likewise.
36139         * sunrpc/clnt_udp.c: Likewise.
36140         * sunrpc/clnt_unix.c: Likewise.
36141         * sunrpc/des_crypt.c: Likewise.
36142         * sunrpc/des_soft.c: Likewise.
36143         * sunrpc/get_myaddr.c: Likewise.
36144         * sunrpc/key_call.c: Likewise.
36145         * sunrpc/key_prot.c: Likewise.
36146         * sunrpc/netname.c: Likewise.
36147         * sunrpc/pm_getmaps.c: Likewise.
36148         * sunrpc/pm_getport.c: Likewise.
36149         * sunrpc/pmap_clnt.c: Likewise.
36150         * sunrpc/pmap_prot.c: Likewise.
36151         * sunrpc/pmap_prot2.c: Likewise.
36152         * sunrpc/pmap_rmt.c: Likewise.
36153         * sunrpc/publickey.c: Likewise.
36154         * sunrpc/rpc_cmsg.c: Likewise.
36155         * sunrpc/rpc_common.c: Likewise.
36156         * sunrpc/rpc_dtable.c: Likewise.
36157         * sunrpc/rpc_prot.c: Likewise.
36158         * sunrpc/rpc_thread.c: Likewise.
36159         * sunrpc/rtime.c: Likewise.
36160         * sunrpc/svc.c: Likewise.
36161         * sunrpc/svc_auth.c: Likewise.
36162         * sunrpc/svc_raw.c: Likewise.
36163         * sunrpc/svc_run.c: Likewise.
36164         * sunrpc/svc_tcp.c: Likewise.
36165         * sunrpc/svc_udp.c: Likewise.
36166         * sunrpc/svc_unix.c: Likewise.
36167         * sunrpc/svcauth_des.c: Likewise.
36168         * sunrpc/xcrypt.c: Likewise.
36169         * sunrpc/xdr.c: Likewise.
36170         * sunrpc/xdr_array.c: Likewise.
36171         * sunrpc/xdr_float.c: Likewise.
36172         * sunrpc/xdr_intXX_t.c: Likewise.
36173         * sunrpc/xdr_mem.c: Likewise.
36174         * sunrpc/xdr_rec.c: Likewise.
36175         * sunrpc/xdr_ref.c: Likewise.
36176         * sunrpc/xdr_sizeof.c: Likewise.
36177         * sunrpc/xdr_stdio.c: Likewise.
36178
36179 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36180
36181         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36182         change.  Update copyright years.
36183
36184 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36185
36186         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36187
36188 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
36189             Joseph Myers  <joseph@codesourcery.com>
36190             Paul Pluzhnikov  <ppluzhnikov@google.com>
36191
36192         [BZ #14012]
36193         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36194         requiring rpcgen.
36195         [cross-compiling] (extra-libs): Likewise.
36196         [cross-compiling] (extra-libs-others): Likewise.
36197         [cross-compiling] (librpcsvc-routines): Likewise.
36198         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36199         [cross-compiling] (omit-deps): Likewise.
36200         (sunrpc-CPPFLAGS): New variable.
36201         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36202         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36203         (cross-rpcgen-objs): New variable.
36204         (extra-objs): Append $(cross-rpcgen-objs).
36205         ($(cross-rpcgen-objs)): New rule.
36206         ($(objpfx)cross-rpcgen): Likewise.
36207         (rpcgen-cmd): Define to use $(built-program-file).  Expand
36208         comment.
36209         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36210         ($(objpfx)x%.stmp): Likewise.
36211         * sunrpc/proto.h [IS_IN_build] (_): Define.
36212         [IS_IN_build] (_libc_intl_domainname): Likewise.
36213
36214 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36215
36216         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36217         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36218         and R_X86_64_TPOFF64.
36219
36220 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36221
36222         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36223         sysdeps/unix/sysv/syscalls.list.
36224         (stime): Likewise.
36225         (utime): Likewise.
36226         * sysdeps/unix/sysv/syscalls.list: Remove file.
36227
36228 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
36229
36230         [BZ #3440]
36231         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36232         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36233         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36234         (__LC_IDENTIFICATION): Make these macros useful in #if
36235         expressions, as required by C99.
36236
36237 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
36238
36239         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36240         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
36241         after this.
36242
36243 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
36244
36245         * stdlib/longlong.h: Updated from GCC.
36246
36247 2012-05-09  Andreas Jaeger  <aj@suse.de>
36248
36249         * nscd/nscd.c (run_modes): Make named enum, reorder so that
36250         default is first entry.
36251         (run_mode): Set type.
36252         (main): Remove informal message about syslog.
36253         (options): Fix typo.
36254
36255         [BZ #14053]
36256         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36257         to asm.
36258         (lrint): Likewise.
36259         (llrintf): Likewise.
36260         (llrint): Likewise.
36261         (rint): Likewise.
36262         (rintf): Likewise.
36263         (nearbyint): Likewise.
36264         (nearbyintf): Likewise.
36265
36266 2012-05-09  Andreas Jaeger  <aj@suse.de>
36267             Pedro Alves  <palves@redhat.com>
36268
36269         * nscd/nscd.c (run_mode): Use enum.
36270         (main): Cleanup coding style issue.
36271
36272 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
36273             Andreas Jaeger  <aj@suse.de>
36274
36275         * nscd/nscd.c (go_background): Replaced with...
36276         (run_mode): ... this.
36277         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36278         (options): Add -F --foreground.
36279         (main): Implement it.
36280         (parse_opt): Parse it.
36281
36282 2012-05-09  Andreas Jaeger  <aj@suse.de>
36283
36284         [BZ #14083]
36285         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36286         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36287         -Wconversion warning.
36288         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36289         Likewise.
36290
36291 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
36292
36293         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
36294         == 0.
36295         (LC_ALL): Use macro-int-constant.
36296         (LC_COLLATE): Likewise.
36297         (LC_CTYPE): Likewise.
36298         (LC_MESSAGES): Likewise.
36299         (LC_MONETARY): Likewise.
36300         (LC_NUMERIC): Likewise.
36301         (LC_TIME): Likewise.
36302         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36303         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36304         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36305         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36306         Specify type.
36307         [C99-based standards] (float_t): Expect type.
36308         [C99-based standards] (double_t): Expect type.
36309         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
36310         type.
36311         [C99-based standards] (HUGE_VALL): Likewise.
36312         [C99-based standards] (INFINITY): Likewise.
36313         [C99-based standards] (NAN): Likewise.
36314         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36315         [C99-based standards] (FP_NAN): Likewise.
36316         [C99-based standards] (FP_NORMAL): Likewise.
36317         [C99-based standards] (FP_SUBNORMAL): Likewise.
36318         [C99-based standards] (FP_ZERO): Likewise.
36319         [C99-based standards] (FP_FAST_FMA): Use
36320         optional-macro-int-constant.  Specify type.  Require == 1.
36321         [C99-based standards] (FP_FAST_FMAF): Likewise.
36322         [C99-based standards] (FP_FAST_FMAL): Likewise.
36323         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36324         [C99-based standards] (FP_ILOGBNAN): Likewise.
36325         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36326         Specify type.
36327         [C99-based standards] (MATH_ERREXCEPT): Likewise.
36328         [C99-based standards] (math_errhandling): Specify type.
36329         [ISO99 || ISO11] (signgam): Do not allow.
36330         [non-C99-based standards] (copysignf): Do not allow.
36331         [non-C99-based standards] (exp2f): Likewise.
36332         [non-C99-based standards] (log2f): Likewise.
36333         [non-C99-based standards] (modff): Allow.
36334         [non-C99-based standards] (erff): Do not allow.
36335         [non-C99-based standards] (erfcf): Likewise.
36336         [non-C99-based standards] (gammaf): Likewise.
36337         [non-C99-based standards] (hypotf): Likewise.
36338         [non-C99-based standards] (j0f): Likewise.
36339         [non-C99-based standards] (j1f): Likewise.
36340         [non-C99-based standards] (jnf): Likewise.
36341         [non-C99-based standards] (lgammaf): Likewise.
36342         [non-C99-based standards] (tgammaf): Likewise.
36343         [non-C99-based standards] (y0f): Likewise.
36344         [non-C99-based standards] (y1f): Likewise.
36345         [non-C99-based standards] (ynf): Likewise.
36346         [non-C99-based standards] (isnanf): Likewise.
36347         [non-C99-based standards] (acoshf): Likewise.
36348         [non-C99-based standards] (asinhf): Likewise.
36349         [non-C99-based standards] (atanhf): Likewise.
36350         [non-C99-based standards] (cbrtf): Likewise.
36351         [non-C99-based standards] (expm1f): Likewise.
36352         [non-C99-based standards] (ilogbf): Likewise.
36353         [non-C99-based standards] (log1pf): Likewise.
36354         [non-C99-based standards] (logbf): Likewise.
36355         [non-C99-based standards] (nextafterf): Likewise.
36356         [non-C99-based standards] (remainderf): Likewise.
36357         [non-C99-based standards] (rintf): Likewise.
36358         [non-C99-based standards] (scalbf): Likewise.
36359         [non-C99-based standards] (copysignl): Likewise.
36360         [non-C99-based standards] (exp2l): Likewise.
36361         [non-C99-based standards] (log2l): Likewise.
36362         [non-C99-based standards] (modfl): Allow.
36363         [non-C99-based standards] (erfl): Do not allow.
36364         [non-C99-based standards] (erfcl): Likewise.
36365         [non-C99-based standards] (gammal): Likewise.
36366         [non-C99-based standards] (hypotl): Likewise.
36367         [non-C99-based standards] (j0l): Likewise.
36368         [non-C99-based standards] (j1l): Likewise.
36369         [non-C99-based standards] (jnl): Likewise.
36370         [non-C99-based standards] (lgammal): Likewise.
36371         [non-C99-based standards] (tgammal): Likewise.
36372         [non-C99-based standards] (y0l): Likewise.
36373         [non-C99-based standards] (y1l): Likewise.
36374         [non-C99-based standards] (ynl): Likewise.
36375         [non-C99-based standards] (isnanl): Likewise.
36376         [non-C99-based standards] (acoshl): Likewise.
36377         [non-C99-based standards] (asinhl): Likewise.
36378         [non-C99-based standards] (atanhl): Likewise.
36379         [non-C99-based standards] (cbrtl): Likewise.
36380         [non-C99-based standards] (expm1l): Likewise.
36381         [non-C99-based standards] (ilogbl): Likewise.
36382         [non-C99-based standards] (log1pl): Likewise.
36383         [non-C99-based standards] (logbl): Likewise.
36384         [non-C99-based standards] (nextafterl): Likewise.
36385         [non-C99-based standards] (remainderl): Likewise.
36386         [non-C99-based standards] (rintl): Likewise.
36387         [non-C99-based standards] (scalbl): Likewise.
36388         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36389         [non-C99-based standards] (FP_*): Do not allow.
36390         [C99-based standards] (FP_*): Change to
36391         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36392         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36393         allow.
36394         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36395         (SIG_ERR): Likewise.
36396         [X/Open-based standards] (SIG_HOLD): Likewise.
36397         (SIG_IGN): Likewise.
36398         (SIGABRT): Use macro-int-constant.  Specify type.  Require
36399         positive value.
36400         (SIGFPE): Likewise.
36401         (SIGILL): Likewise.
36402         (SIGINT): Likewise.
36403         (SIGSEGV): Likewise.
36404         (SIGTER): Likewise.
36405         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36406         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36407         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36408         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36409         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36410         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36411         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36412         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36413         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36414         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36415         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36416         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36417         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36418         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36419         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36420         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36421         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36422         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36423         [X/Open-based standards] (SIGTRAP): Likewise.
36424         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36425         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36426         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36427         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36428         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36429         allow.
36430
36431 2012-05-08  Ian Wienand  <ianw@vmware.com>
36432
36433         [BZ #14080]
36434         * time/tzset.c (__tzset_parse_tz): Update default rules for
36435         daylight time changes in the Energy Policy Act of 2005.
36436
36437 2012-05-09  Andreas Jaeger  <aj@suse.de>
36438
36439         [BZ #13983]
36440         * elf/ldconfig.c (parse_conf): Change string to make clear that
36441         ldconfig only issued a warning if ld.so.conf does not exist.
36442
36443 2012-05-08  David S. Miller  <davem@davemloft.net>
36444
36445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36446         movxtod instead of popping the value on the stack.
36447
36448         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36449
36450 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
36451
36452         * config.h.in: Add HAVE_ARM_PCS_VFP.
36453
36454 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
36455
36456         [BZ #13979]
36457         * include/features.h: Warn if user requests __FORTIFY_SOURCE
36458         checking but the checks are disabled for any reason.
36459
36460 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
36461
36462         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36463         and ELF64_R_TYPE with ELFW(R_TYPE).
36464
36465 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
36466
36467         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36468         (ulimit): Likewise.
36469
36470         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36471         (settimeofday): Likewise.
36472
36473 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
36474
36475         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
36476         a struct th_u2 inside the union, and move tu_block/tu_code into
36477         a new th_u3 union of tu_block/tu_code inside of that.  Move
36478         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
36479         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
36480         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36481         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36482         (th_stuff): Change to th_u1.tu_stuff.
36483         (th_data): Define.
36484         (th_msg): Change to th_u1.th_u2.tu_data.
36485
36486 2012-05-07  David S. Miller  <davem@davemloft.net>
36487
36488         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36489
36490         [BZ #14074]
36491         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36492         (SETUP_PIC_REG): Use it.
36493         (SETUP_PIC_REG_LEAF): Use it.
36494
36495 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
36496
36497         [BZ #13885]
36498         [BZ #13923]
36499         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36500         USE_AS_EXPM1L.
36501         (EXPL_FINITE): Likewise.
36502         (FLDLOG): Likewise.
36503         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36504         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36505         e_expl.S.
36506         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36507         USE_AS_EXPM1L.
36508         (EXPL_FINITE): Likewise.
36509         (FLDLOG): Likewise.
36510         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36511         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36512         e_expl.S.
36513         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
36514         test of -max_value argument for long double.
36515         * sysdeps/i386/fpu/libm-test-ulps: Update.
36516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36517
36518 2012-05-06  David S. Miller  <davem@davemloft.net>
36519
36520         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36521         quad soft-float symbols whose references which are compiler
36522         generated.
36523         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36524
36525 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
36526
36527         [BZ #13884]
36528         [BZ #13914]
36529         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36530         USE_AS_EXP10L.
36531         (EXPL_FINITE): Likewise.
36532         (FLDLOG): Likewise.
36533         (c0): Likewise.
36534         (c1): Likewise.
36535         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36536         Adjust comments for base varying.
36537         (__expl_finite): Change alias to EXPL_FINITE.
36538         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36539         e_expl.S.
36540         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36541         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36542         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36543         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36544         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36545         USE_AS_EXP10L.
36546         (EXPL_FINITE): Likewise.
36547         (FLDLOG): Likewise.
36548         (c0): Likewise.
36549         (c1): Likewise.
36550         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36551         Adjust comments for base varying.
36552         (__expl_finite): Change alias to EXPL_FINITE.
36553         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
36554         tests for bugs.
36555         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36556
36557         [BZ #14064]
36558         * math/libm-test.inc (check_float_internal): Correct ulp
36559         calculation for subnormal expected results.
36560
36561 2012-05-06  Andreas Jaeger  <aj@suse.de>
36562
36563         * Makeconfig (+math-flags): New, set to -frounding-math.
36564         (+cflags): Add +math-flags so that all of glibc gets compiled with
36565         it.
36566
36567         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36568
36569 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
36570
36571         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36572         Disable one test.
36573
36574         [BZ #13787]
36575         [BZ #13922]
36576         [BZ #14036]
36577         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36578         (__ieee754_expl): Allow for and saturate large arguments.
36579         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36580         (u_threshold): Likewise.
36581         (__exp): Call __ieee754_exp before checking for overflow and
36582         underflow.
36583         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36584         (u_threshold): Likewise.
36585         (__expf): Call __ieee754_expf before checking for overflow and
36586         underflow.
36587         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36588         (u_threshold): Likewise.
36589         (__expl): Call __ieee754_expl before checking for overflow and
36590         underflow.
36591         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36592         (__ieee754_expl): Allow for and saturate large arguments.
36593         * math/libm-test.inc (exp_test): Add another test.  Do not allow
36594         missing overflow exception on overflow.
36595         (expm1_test): Do not allow missing overflow exception on overflow.
36596
36597         * sysdeps/i386/fpu/e_expl.c: Move to ...
36598         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
36599         rather than using inline asm.
36600         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36601         * sysdeps/x86_64/fpu/e_expl.S: Copy from
36602         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36603
36604         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36605         (nice): Likewise.
36606         (poll): Likewise.
36607         (signal): Likewise.
36608         (time): Likewise.
36609         (times): Likewise.
36610
36611 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36612
36613         * sysdeps/unix/syscalls.list (adjtime): Add entry from
36614         sysdeps/unix/common/syscalls.list.
36615         (fchmod): Likewise.
36616         (fchown): Likewise.
36617         (ftruncate): Likewise.
36618         (getrusage): Likewise.
36619         (gettimeofday): Likewise.
36620         (setpgid): Likewise.
36621         (setregid): Likewise.
36622         (setreuid): Likewise.
36623         (sigaction): Likewise.
36624         (truncate): Likewise.
36625         (vhangup): Likewise.
36626         * sysdeps/unix/common/syscalls.list: Remove file.
36627         * sysdeps/unix/bsd/Implies: Don't include unix/common.
36628         * sysdeps/unix/sysv/linux/Implies: Likewise.
36629
36630 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
36631
36632         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36633         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36634         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36635         Moved to ...
36636         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36637         Here.
36638         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36639         to ...
36640         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36641         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36642         to ...
36643         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36644         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36645         to ...
36646         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36647         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36648         to ...
36649         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36650         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36651         to ...
36652         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36653         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36654         to ...
36655         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36656         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36657         to ...
36658         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36659         Here.
36660         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36661         to ...
36662         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36663         Here.
36664         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36665         to ...
36666         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36667         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36668         Moved to ...
36669         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36670         Here.
36671         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36672         to ...
36673         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36674
36675 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36676
36677         * sysdeps/unix/common/bits/dirent.h: Remove file.
36678         * sysdeps/unix/common/bits/fcntl.h: Likewise.
36679
36680         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36681         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36682         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36683         * sysdeps/unix/bsd/isatty.c: Likewise.
36684         * sysdeps/unix/bsd/tcdrain.c: Likewise.
36685         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36686         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36687
36688 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36689
36690         [BZ #13563]
36691         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36692         long double comparison inaccuracies.
36693         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36694         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36695
36696 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
36697
36698         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36699         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36700
36701 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36702
36703         [BZ #14049]
36704         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36705         nonzero digits before rounding a hex value.
36706         * stdlib/tst-strtod.c (tests): Add another test.
36707
36708 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36709
36710         * sysdeps/s390/fpu/libm-test-ulps: Update.
36711
36712 2012-05-03  Andreas Jaeger  <aj@suse.de>
36713
36714         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36715         does not get optimized out.
36716         (malloc_opt_barrier): New.
36717
36718 2012-05-03  Andreas Jaeger  <aj@suse.de>
36719             Roland McGrath  <roland@hack.frob.com>
36720
36721         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36722         intermediate file deletion.
36723         (generated): Add .symlist files.
36724
36725 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
36726
36727         [BZ #13775]
36728         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36729         Redirect under this condition.
36730         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36731         [__USE_GNU] (__dprintf_chk): Not under this condition.
36732         [__USE_GNU] (__vdprintf_chk): Likewise.
36733         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36734         under this condition.
36735         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36736         [__USE_XOPEN2K8] (dprintf): Define under this condition.
36737         [__USE_XOPEN2K8] (vdprintf): Likewise.
36738         [__USE_GNU] (__dprintf_chk): Not under this condition.
36739         [__USE_GNU] (__vdprintf_chk): Likewise.
36740         [__USE_GNU] (dprintf): Likewise.
36741         [__USE_GNU] (vdprintf): Likewise.
36742
36743 2012-05-03  Roland McGrath  <roland@hack.frob.com>
36744
36745         * elf/Makefile (common-generated): Set this instead of generated for
36746         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
36747         $(all-built-dso)-derived lists.
36748
36749 2012-05-03  Andreas Jaeger  <aj@suse.de>
36750
36751         * sysdeps/i386/fpu/libm-test-ulps: Update.
36752
36753         * FAQ: Removed.
36754         * FAQ.in: Likewise.
36755         * scripts/gen-FAQ.pl: Likewise.
36756         * manual/install.texi (Installation): Point to online location of
36757         FAQ.
36758         * Makefile (files-for-dist): Remove FAQ.
36759         (FAQ): Remove.
36760
36761 2012-05-02  Allan McRae  <allan@archlinux.org>
36762
36763         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36764         (LDFLAGS-reldepmod5.so): Likewise.
36765         (LDFLAGS-reldep6mod1.so): Likewise.
36766         (LDFLAGS-reldep6mod4.so): Likewise.
36767         (LDFLAGS-reldep8mod3.so): Likewise.
36768         (LDFLAGS-unload4mod1.so): Likewise.
36769         (LDFLAGS-unload4mod2.so): Likewise.
36770         (LDFLAGS-tst-initorder): Likewise.
36771         (LDFLAGS-tst-initordera2.so): Likewise.
36772         (LDFLAGS-tst-initordera3.so): Likewise.
36773         (LDFLAGS-tst-initordera4.so): Likewise.
36774         (LDFLAGS-tst-initorderb2.so): Likewise.
36775         (LDFLAGS-noload): Likewise.
36776         (LDFLAGS-next): Likewise.
36777         (LDFLAGS-order2mod1.so): Likewise.
36778         (LDFLAGS-order2mod2.so): Likewise.
36779         (LDFLAGS-tst-initorder2): Likewise.
36780         (LDFLAGS-tst-initorder2a.so): Likewise.
36781         (LDFLAGS-tst-initorder2b.so): Likewise.
36782         (LDFLAGS-tst-initorder2c.so): Likewise.
36783         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36784
36785 2012-05-02  David S. Miller  <davem@davemloft.net>
36786
36787         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36788
36789 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
36790
36791         [BZ #14055]
36792         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36793
36794 2012-05-02  Andreas Jaeger  <aj@suse.de>
36795
36796         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36797         since we manipulate rounding mode.
36798         (CPPFLAGS-test-idouble.c): Likewise.
36799         (CPPFLAGS-test-ifloat.c): Likewise.
36800         (CFLAGS-test-ldouble.c): Likewise.
36801         (CFLAGS-test-double.c): Likewise.
36802         (CFLAGS-test-float.c): Likewise.
36803         (CFLAGS-test-misc.c): Likewise.
36804         (CFLAGS-test-test-fenv.c): Likewise.
36805
36806 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36807
36808         [BZ #2550]
36809         [BZ #2570]
36810         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36811         comparisons to determine direction to adjust input.
36812
36813 2012-05-01  Roland McGrath  <roland@hack.frob.com>
36814
36815         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36816         output to the target.
36817
36818         * scripts/localplt.awk: New file.
36819         * elf/Makefile ($(objpfx)check-localplt): Target removed.
36820         (check-localplt-CFLAGS): Variable removed.
36821         ($(all-built-dso:=.jmprel)): New static pattern rule.
36822         (generated): Add those targets.
36823         (localplt-built-dso): New variable.
36824         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36825
36826         * elf/check-localplt.c: File removed.
36827
36828         * scripts/check-execstack.awk: New file.
36829         * elf/Makefile ($(objpfx)check-execstack): Target removed.
36830         (check-execstack-CFLAGS): Variable removed.
36831         ($(objpfx)check-execstack.h): Target removed.
36832         ($(objpfx)execstack-default): New target.
36833         (generated): Add that instead of check-execstack.h.
36834         ($(all-built-dso:=.phdr)): New static pattern rule.
36835         (generated): Add those targets.
36836         * elf/check-execstack.c: File removed.
36837
36838         * scripts/check-textrel.awk: New file.
36839         * elf/Makefile ($(objpfx)check-textrel): Target removed.
36840         (check-textrel-CFLAGS): Variable removed.
36841         (all-built-dso): Use := to define.o
36842         ($(all-built-dso:=.dyn)): New static pattern rule.
36843         (generated): Add those targets.
36844         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36845         * config.make.in (READELF): New substituted variable.
36846         * elf/check-textrel.c: File removed.
36847
36848 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
36849
36850         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36851         allow.
36852         * conform/data/ctype.h-data [C99-based standards] (isblank):
36853         Expect function.
36854         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36855         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36856         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36857         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36858         Specify type.  Require positive value.
36859         (EILSEQ): Likewise.
36860         (ERANGE): Likewise.
36861         [ISO || POSIX] (EILSEQ): Do not expect.
36862         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36863         Specify type.  Require positive value.
36864         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36865         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36866         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36867         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36868         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36869         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36870         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36871         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36872         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36873         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36874         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36875         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36876         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36877         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36878         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36879         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36880         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36881         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36882         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36883         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36884         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36885         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36886         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36887         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36888         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36889         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36890         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36891         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36892         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36893         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36894         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36895         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36896         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36897         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36898         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36899         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36900         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36901         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36902         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36903         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36904         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36905         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36906         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36907         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36908         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36909         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36910         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36911         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36912         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36913         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36914         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36915         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36916         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36917         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36918         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36919         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36920         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36921         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36922         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36923         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36924         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36925         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36926         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36927         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36928         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36929         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36930         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36931         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36932         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36933         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36934         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36935         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36936         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36937         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36938         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36939         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36940         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36941         Require >= 2.
36942         (FLT_ROUNDS): Expect as macro, not constant.
36943         (FLT_MANT_DIG): Use macro-int-constant.
36944         (DBL_MANT_DIG): Likewise.
36945         (LDBL_MANT_DIG): Likewise.
36946         (FLT_DIG): Likewise.
36947         (DBL_DIG): Likewise.
36948         (LDBL_DIG): Likewise.
36949         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
36950         (DBL_MIN_EXP): Likewise.
36951         (LDBL_MIN_EXP): Likewise.
36952         (FLT_MAX_EXP): Use macro-int-constant.
36953         (DBL_MAX_EXP): Likewise.
36954         (LDBL_MAX_EXP): Likewise.
36955         (FLT_MAX_10_EXP): Likewise.
36956         (DBL_MAX_10_EXP): Likewise.
36957         (LDBL_MAX_10_EXP): Likewise.
36958         (FLT_MAX): Use macro-constant.
36959         (DBL_MAX): Likewise.
36960         (LDBL_MAX): Likewise.
36961         (FLT_EPSILON): Use macro-constant.  Give upper bound.
36962         (DBL_EPSILON): Likewise.
36963         (LDBL_EPSILON): Likewise.
36964         (FLT_MIN): Likewise.
36965         (DBL_MIN): Likewise.
36966         (LDBL_MIN): Likewise.
36967         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36968         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36969         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36970         [ISO11] (FLT_HAS_SUBNORM): Likewise.
36971         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36972         [ISO11] (DBL_DECIMAL_DIG): Likewise.
36973         [ISO11] (FLT_DECIMAL_DIG): Likewise.
36974         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36975         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36976         [ISO11] (FLT_TRUE_MIN): Likewise.
36977         [ISO11] (LDBL_TRUE_MIN): Likewise.
36978         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36979         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36980         (SCHAR_MIN): Use macro-int-constant.  Specify type.
36981         (SCHAR_MAX): Likewise.
36982         (UCHAR_MAX): Likewise.
36983         (CHAR_MIN): Likewise.
36984         (CHAR_MAX): Likewise.
36985         (MB_LEN_MAX): Use macro-int-constant.
36986         (SHRT_MIN): Use macro-int-constant.  Specify type.
36987         (SHRT_MAX): Likewise.
36988         (USHRT_MAX): Likewise.
36989         (INT_MAX): Likewise.
36990         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
36991         bound negative.
36992         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
36993         bound with "U".
36994         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
36995         bound with "L".
36996         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
36997         bound negative.  Suffix upper bound with "L".
36998         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
36999         bound with "UL".
37000         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37001         Specify type.
37002         [C99-based standards] (LLONG_MAX): Likewise.
37003         [C99-based standards] (ULLONG_MAX): Likewise.
37004         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
37005         == 0.
37006         [ISO11] (max_align_t): Require type.
37007         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37008
37009         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37010         from $CFLAGS, without defining away __attribute__ calls.
37011         (checknamespace): Use $CFLAGS_namespace.
37012
37013         * conform/conformtest.pl (@keywords): Only include C99 keywords
37014         for standards based on C99 or C11.
37015
37016         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37017         Disable tests.
37018         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37019         UNIX98]: Likewise.
37020
37021         * conform/conformtest.pl: Handle "macro-int-constant" and test for
37022         usability of symbols in #if.
37023
37024         * conform/conformtest.pl: If macro or constant types start
37025         "promoted:", expect the symbol to be of the following type
37026         promoted by the integer promotions.
37027
37028         * conform/conformtest.pl: Parse all "constant" and "macro" lines
37029         in one place.  Also handle "macro-constant".
37030
37031         * conform/conformtest.pl: Only accept expected macro values with
37032         "==".  Parse all "macro" lines in one place.
37033         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37034
37035         * conform/conformtest.pl: Handle braced types on "constant" lines
37036         instead of handling "typed-constant".
37037         * conform/data/signal.h-data: Use "constant" instead of
37038         "typed-constant".
37039
37040         * conform/conformtest.pl: Handle "optional-" at start of lines in
37041         one place rather than duplicating several cases.  Handle each
37042         format of "macro" line with initial "optional-".
37043
37044         * conform/conformtest.pl: Only accept expected constant or
37045         optional-constant values with "==".  Parse all "constant" lines in
37046         one place.  Parse all "optional-constant" lines in one place.
37047         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37048         * conform/data/fmtmsg.h-data: Likewise.
37049         * conform/data/netinet/in.h-data: Likewise.
37050         * conform/data/tar.h-data: Likewise.
37051         * conform/data/limits.h-data: Use "==" form on "constant" and
37052         "optional-constant" lines.
37053
37054         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37055         Use -std=c99 for XOPEN2K.
37056         (@knownproblems): Remove.
37057         (newtoken): Don't check %isknown.
37058
37059         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37060         Do not expect macro.
37061         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37062         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37063         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37064         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37065         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37066         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37067         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37068         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37069         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37070         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37071         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37072         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37073         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37074         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37075         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37076         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37077         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37078         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37079         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37080         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37081         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37082         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37083         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37084         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37085         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37086         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37087         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37088         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37089         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37090         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37091         [XPG3] (acosh): Likewise.
37092         [XPG3] (asinh): Likewise.
37093         [XPG3] (atanh): Likewise.
37094         [XPG3] (cbrt): Likewise.
37095         [XPG3] (expm1): Likewise.
37096         [XPG3] (ilogb): Likewise.
37097         [XPG3] (log1p): Likewise.
37098         [XPG3] (logb): Likewise.
37099         [XPG3] (nextafter): Likewise.
37100         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37101         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37102         [XPG3] (remainder): Likewise.
37103         [XPG3] (rint): Likewise.
37104         [XPG3 || XPG4 || UNIX98] (round): Likewise.
37105         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37106         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37107         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37108         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37109         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37110         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37111         [UNIX98 || XOPEN2K] (scalb): Expect.
37112         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37113         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37114         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37115         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37116         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37117         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37118         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37119         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37120         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37121         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37122         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37123         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37124         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37125         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37126         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37127         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37128         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37129         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37130         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37131         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37132         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37133         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37134         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37135         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37136         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37137         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37138         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37139         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37140         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37141         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37142         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37143         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37144         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37145         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37146         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37147         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37148         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37149         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37150         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37151         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37152         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37153         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37154         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37155         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37156         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37157         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37158         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37159         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37160         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37161         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37162         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37163         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37164         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37165         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37166         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37167         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37168         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37169         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37170         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37171         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37172         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37173         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37174         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37175         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37176         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37177         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37178         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37179         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37180         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37181         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37182         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37183         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37184         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37185         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37186         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37187         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37188         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37189         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37190         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37191         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37192         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37193         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37194         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37195         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37196         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37197         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37198         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37199         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37200         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37201         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37202         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37203         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37204         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37205         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37206         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37207         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37208         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37209         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37210         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37211         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37212         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37213         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37214         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37215         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37216         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37217         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37218         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37219         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37220         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37221         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37222         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37223         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37224         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37225         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37226         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37227         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37228         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37229         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37230         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37231         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37232         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37233         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37234         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37235         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37236         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37237         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37238         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37239         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37240         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37241         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37242         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37243         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37244         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37245         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37246         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37247         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37248         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37249
37250         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37251         _XOPEN_SOURCE_EXTENDED for XPG4.
37252
37253         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37254
37255         * Makeconfig (localtime): Remove variable.
37256         (inst_localtime-file): Likewise.
37257
37258 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37259
37260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37261         Update.
37262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37263         Update.
37264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37265         Update.
37266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37267         Update.
37268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37269         Update.
37270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37271         Update.
37272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37273         Update.
37274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37275         Update.
37276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37277         Update.
37278
37279 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37280
37281         [BZ #2550]
37282         [BZ #2570]
37283         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37284         comparisons to determine direction to adjust input.
37285         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37286         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37287         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37288         Likewise.
37289         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37290         Likewise.
37291         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37292         Likewise.
37293         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37294         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37295         Likewise.
37296         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37297         Likewise.
37298         * math/libm-test.inc (nexttoward_test): Add more tests.
37299
37300 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37301
37302         [BZ #14040]
37303         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37304         in version GLIBC_2.1, not GLIBC_2.0.
37305         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37306         Likewise.
37307
37308 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
37309
37310         [BZ #13942]
37311         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37312         (1 - x) * (1 + x).
37313         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37314         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37315         * math/libm-test.inc (acos_test): Add more tests.
37316         (asin_test): Likewise.
37317         * sysdeps/i386/fpu/libm-test-ulps: Update.
37318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37319
37320         [BZ #14034]
37321         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37322         of square root.
37323         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37324         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37325         * math/libm-test.inc (acos_test_tonearest): New function.
37326         (acos_test_towardzero): Likewise.
37327         (acos_test_downward): Likewise.
37328         (acos_test_upward): Likewise.
37329         (asin_test_tonearest): Likewise.
37330         (asin_test_towardzero): Likewise.
37331         (asin_test_downward): Likewise.
37332         (asin_test_upward): Likewise.
37333         (main): Call the new functions.
37334         * sysdeps/i386/fpu/libm-test-ulps: Update.
37335         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37336
37337         [BZ #13884]
37338         [BZ #13924]
37339         * math/e_exp10.c: Include <float.h>.
37340         (__ieee754_exp10): Handle underflow here rather than multiplying
37341         large negative argument by M_LN10.
37342         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37343         of __ieee754_expf.
37344         * math/e_exp10l.c: Include <float.h>.
37345         (__ieee754_exp10l): Handle underflow here rather than multiplying
37346         large negative argument by M_LN10l.
37347         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
37348         spurious overflow exception on underflow.
37349
37350 2012-04-29  Marek Polacek  <polacek@redhat.com>
37351
37352         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37353         (__fortify_function): New macro.
37354         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37355         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37356         __extern_always_inline.
37357         * libio/bits/stdio2.h: Likewise.
37358         * libio/bits/stdio.h: Likewise.
37359         * string/string.h: Likewise.
37360         * string/bits/string3.h: Likewise.
37361         * include/stdio.h: Likewise.
37362         * stdlib/bits/stdlib.h: Likewise.
37363         * stdlib/stdlib.h: Likewise.
37364         * rt/bits/mqueue2.h: Likewise.
37365         * rt/mqueue.h: Likewise.
37366         * posix/bits/unistd.h: Likewise.
37367         * posix/unistd.h: Likewise.
37368         * io/bits/poll2.h: Likewise.
37369         * io/bits/fcntl2.h: Likewise.
37370         * io/fcntl.h: Likewise.
37371         * io/sys/poll.h: Likewise.
37372         * misc/bits/syslog.h: Likewise.
37373         * misc/bits/syslog-ldbl.h: Likewise.
37374         * misc/sys/syslog.h: Likewise.
37375         * socket/bits/socket2.h: Likewise.
37376         * socket/sys/socket.h: Likewise.
37377         * debug/tst-chk1.c: Likewise.
37378         * wcsmbs/bits/wchar2.h: Likewise.
37379         * wcsmbs/bits/wchar-ldbl.h: Likewise.
37380         * wcsmbs/wchar.h: Likewise.
37381
37382 2012-04-29  Andreas Jaeger  <aj@suse.de>
37383
37384         * Makerules (tests): Remove enable-check-abi protection.
37385         (check-abi-warn): Remove.
37386         (check-abi-%): Remove check-abi-warn usage.
37387
37388         * configure.in: Remove check-abi configure option.
37389         * configure: Regenerated.
37390         * config.make.in (enable-check-abi): Remove.
37391
37392 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
37393
37394         [BZ #14033]
37395         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37396         double functions to double *_finite functions.
37397
37398         [BZ #13941]
37399         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37400         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37401         LDBL_MIN_EXP.
37402         * stdio-common/Makefile (tests): Add tst-sprintf3.
37403         * stdio-common/tst-sprintf3.c: New file.
37404
37405         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37406         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37407
37408 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
37409
37410         * conform/conformtest.pl: Remove duplicate typed-constant
37411         handling.
37412
37413 2012-04-28  David S. Miller  <davem@davemloft.net>
37414
37415         * Makerules (%.abilist): Add vpath on sysdep_dirs.
37416         (check-abi-%): Remove AWK script prerequisite and explicit
37417         abilist directory.
37418         (check-abi): Rewrite to just diff the symlist with the abilist.
37419         (config-tls, config-abi-config): Delete, no longer used.
37420         (update-abi-%): Remove AWK script and explicit abilist directory.
37421         (update-abi): Rewrite to simply compare and conditionally copy the
37422         symlist and the sysdep abilist file.  Remove update-abi-config
37423         checks.
37424         * abilist/ld.abilist: Remove.
37425         * abilist/libBrokenLocale.abilist: Remove.
37426         * abilist/libanl.abilist: Remove.
37427         * abilist/libcrypt.abilist: Remove.
37428         * abilist/libdl.abilist: Remove.
37429         * abilist/librt.abilist: Remove.
37430         * abilist/libthread_db.abilist: Remove.
37431         * abilist/libutil.abilist: Remove.
37432         * scripts/extract-abilist.awk: Remove.
37433         * scripts/merge-abilist.awk: Remove.
37434         * sysdeps/generic/libcidn.abilist: New file.
37435         * sysdeps/generic/libnss_compat.abilist: New file.
37436         * sysdeps/generic/libnss_db.abilist: New file.
37437         * sysdeps/generic/libnss_dns.abilist: New file.
37438         * sysdeps/generic/libnss_files.abilist: New file.
37439         * sysdeps/generic/libnss_hesiod.abilist: New file.
37440         * sysdeps/generic/libnss_nis.abilist: New file.
37441         * sysdeps/generic/libnss_nisplus.abilist: New file.
37442         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37443         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37444         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37445         file.
37446         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37447         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37448         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37449         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37450         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37451         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37452         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37453         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37454         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37455         file.
37456         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37457         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37458         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37459         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37460         file.
37461         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37462         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37463         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37464         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37465         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37466         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37467         file.
37468         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37469         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37470         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37471         file.
37472         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37473         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37474         New file.
37475         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37476         New file.
37477         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37478         New file.
37479         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37480         New file.
37481         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37482         New file.
37483         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37484         New file.
37485         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37486         New file.
37487         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37488         New file.
37489         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37490         New file.
37491         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37492         New file.
37493         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37494         New file.
37495         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37496         New file.
37497         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37498         New file.
37499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37500         file.
37501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37502         New file.
37503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37504         New file.
37505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37506         file.
37507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37508         New file.
37509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37510         New file.
37511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37512         file.
37513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37514         New file.
37515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37516         New file.
37517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37518         New file.
37519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37520         New file.
37521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37522         New file.
37523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37524         New file.
37525         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37526         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37527         file.
37528         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37529         New file.
37530         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37531         file.
37532         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37533         file.
37534         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37535         file.
37536         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37537         file.
37538         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37539         file.
37540         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37541         New file.
37542         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37543         file.
37544         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37545         file.
37546         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37547         New file.
37548         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37549         file.
37550         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37551         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37552         file.
37553         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37554         New file.
37555         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37556         file.
37557         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37558         file.
37559         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37560         file.
37561         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37562         file.
37563         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37564         file.
37565         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37566         New file.
37567         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37568         file.
37569         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37570         file.
37571         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37572         New file.
37573         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37574         file.
37575         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37576         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37577         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37578         file.
37579         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37580         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37581         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37582         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37583         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37584         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37585         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37586         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37587         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37588         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37589         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37590         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37591         file.
37592         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37593         New file.
37594         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37595         file.
37596         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37597         file.
37598         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37599         file.
37600         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37601         file.
37602         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37603         file.
37604         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37605         New file.
37606         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37607         New file.
37608         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37609         file.
37610         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37611         New file.
37612         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37613         file.
37614         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37615         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37616         file.
37617         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37618         New file.
37619         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37620         file.
37621         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37622         file.
37623         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37624         file.
37625         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37626         file.
37627         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37628         file.
37629         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37630         New file.
37631         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37632         New file.
37633         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37634         file.
37635         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37636         New file.
37637         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37638         file.
37639
37640 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
37641
37642         * conform/conformtest.pl: Fix typo in handling typed-constant from
37643         allow-header.
37644
37645 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
37646
37647         * README: Cut down references to pre-2.6 Linux kernels and
37648         Linuxthreads.  Update lists of configurations in libc and ports
37649         and sort alphabetically.  Say "or newer" with Linux kernel version
37650         requirements.
37651
37652         * config.h.in [IS_IN_build]: Allow compiling without optimization.
37653
37654 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37655
37656         [BZ #887]
37657         * math/libm-test.inc (logb_test_downward): New test to expose
37658         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37659         rounding mode.
37660
37661 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
37662
37663         [BZ #14027]
37664         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37665         to be done.
37666         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37667         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37668
37669 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
37670
37671         * sysdeps/unix/i386/brk.S: Remove file.
37672         * sysdeps/unix/i386/dl-brk.S: Likewise.
37673         * sysdeps/unix/i386/pipe.S: Likewise.
37674         * sysdeps/unix/i386/sigreturn.S: Likewise.
37675         * sysdeps/unix/i386/syscall.S: Likewise.
37676         * sysdeps/unix/i386/vfork.S: Likewise.
37677         * sysdeps/unix/i386/wait.S: Likewise.
37678
37679         * sysdeps/unix/common/tcsendbrk.c: Move to ...
37680         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37681
37682         * configure.in (arm*-none*): Do not allow without
37683         --enable-hacker-mode.
37684         (netbsd*): Remove case setting base_os.
37685         (386bsd*): Likewise.
37686         (freebsd*): Likewise.
37687         (bsdi*): Likewise.
37688         (osf*): Likewise.
37689         (sunos*): Likewise.
37690         (ultrix*): Likewise.
37691         (newsos*): Likewise.
37692         (dynix*): Likewise.
37693         (*bsd*): Likewise.
37694         (sysv*): Likewise.
37695         (isc*): Likewise.
37696         (esix*): Likewise.
37697         (sco*): Likewise.
37698         (minix*): Likewise.
37699         (irix4*): Likewise.
37700         (irix6*): Likewise.
37701         (solaris[2-9]*): Likewise.
37702         (none): Likewise.
37703         * configure: Regenerated.
37704
37705 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37706
37707         [BZ #11521]
37708         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37709         overflow or cancellation in calculating denominator.
37710         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37711         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37712         down expression to avoid unexpected rounding in newer GCCs.
37713         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37714
37715 2012-04-26  David S. Miller  <davem@davemloft.net>
37716
37717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37718         long-double compat symbols.
37719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37724         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37725         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37726         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37727         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37728         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37729         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37730         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37731         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37732
37733 2012-04-25  David S. Miller  <davem@davemloft.net>
37734
37735         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37736         HWCAP_* values only after the memory barriers have been defined.
37737         (atomic_full_barrier): Define.
37738         (atomic_read_barrier): Define.
37739         (atomic_write_barrier): Define.
37740
37741 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37742
37743         * shlib-versions: Add libgcc_s version information.
37744         * sysdeps/generic/libgcc_s.h: Remove.
37745         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37746         libgcc_s.h.
37747         * sysdeps/gnu/unwind-resume.c: Likewise.
37748         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37749
37750 2012-04-25  David S. Miller  <davem@davemloft.net>
37751
37752         * sysdeps/unix/sparc/brk.S: Delete.
37753         * sysdeps/unix/sparc/dl-brk.S: Delete.
37754         * sysdeps/unix/sparc/pipe.S: Delete.
37755         * sysdeps/unix/sparc/sysdep.S: Delete.
37756         * sysdeps/unix/sparc/sysdep.h: Delete.
37757         * sysdeps/unix/sparc/vfork.S: Delete.
37758         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37759         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37760         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37761         (ret_ERRVAL, r0, r1, MOVE): Define.
37762         (JUMPTARGET): Remove.
37763         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37764         sysdeps/unix/sparc/sysdep.h
37765         (ENTRY, END): Remove.
37766         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37767
37768 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
37769
37770         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37771         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37772         -DIS_IN_build.
37773
37774         * timezone/README: Update upstream location and email address for
37775         tzcode and tzdata.
37776         * timezone/zdump.c: Update from tzcode 2012b.
37777         * timezone/zic.c: Likewise.
37778
37779         * configure.in (libc_cv_as_needed): Remove test.
37780         * configure: Regenerated.
37781         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37782         conditional definition.
37783         [$(have-as-needed) != yes] (no-as-needed): Likewise.
37784         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37785         * config.make.in (have-as-needed): Remove variable.
37786
37787 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37788             Paul Pluzhnikov  <ppluzhnikov@google.com>
37789
37790         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37791         strings correctly.
37792
37793 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
37794
37795         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37796         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37797         * sysdeps/sh/strlen.S: Likewise.
37798
37799 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37800
37801         * sysdeps/unix/fork.S: Remove file.
37802         * sysdeps/unix/i386/fork.S: Likewise.
37803         * sysdeps/unix/sparc/fork.S: Likewise.
37804
37805         * sysdeps/unix/system.c: Remove file.
37806         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37807
37808         * sysdeps/unix/getegid.S: Remove file.
37809         * sysdeps/unix/geteuid.S: Likewise.
37810
37811 2012-04-24  Roland McGrath  <roland@hack.frob.com>
37812
37813         * scripts/check-localplt.awk: New file.
37814         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37815         of diff.
37816         * scripts/data/localplt-generic.data: Add a comment.
37817
37818         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37819         NODE when __dir_mkfile failed.
37820         * sysdeps/mach/hurd/symlinkat.c: Likewise.
37821         Reported by Ludovic Courtès <ludo@gnu.org>.
37822
37823 2012-04-24  Andreas Jaeger  <aj@suse.de>
37824
37825         * Makerules (common-clean): Also remove gen-as-const-headers
37826         files.
37827
37828 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37829
37830         * Makerules (native-compile): Do not change working directory for
37831         build.  Use $(OUTPUT_OPTION) in command.
37832         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37833
37834 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37835
37836         [BZ #13886]
37837         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37838         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37839         * math/libm-test.inc (floor_test): Add more tests.
37840         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37841
37842 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37843
37844         * sysdeps/unix/getdents.c: Remove file.
37845         * sysdeps/unix/sysv/getdents.c: Likewise.
37846         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37847
37848         * sysdeps/unix/syscalls.list (madvise): Add syscall from
37849         sysdeps/unix/mman/syscalls.list.
37850         (mmap): Likewise.
37851         (mprotect): Likewise.
37852         (msync): Likewise.
37853         (munmap): Likewise.
37854         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37855         * sysdeps/unix/mman/syscalls.list: Remove.
37856         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37857
37858         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37859         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37860         * configure: Regenerated.
37861         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37862         $(libgcc_s_suffix).
37863         * config.make.in (libgcc_s_suffix): Remove variable.
37864
37865 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
37866
37867         * sysdeps/unix/sysv/gethostname.c: Move to ...
37868         * sysdeps/posix/gethostname.c: ... here.
37869
37870         * sysdeps/unix/execve.S: Remove file.
37871
37872         * sysdeps/unix/_exit.S: Remove file.
37873
37874 2012-04-23  Andreas Jaeger  <aj@suse.de>
37875
37876         [BZ #13739]
37877         * manual/Makefile: Remove make dist support, there's no
37878         need for a stand-alone documentation tar ball.
37879         (TEXI2DVI): Define always, it's not in Makeconfig.
37880         (dist): Removed.
37881         (tar-it): Removed.
37882         (edition): Removed.
37883         (glibc-doc-$(edition).tar): Removed
37884         (%.Z): Removed.
37885         (%.gz): Removed.
37886         (%.uu): Removed.
37887         (ETAGS): Remove, it's in Makeconfig.
37888         (move-if-change): Remove, it's in Makeconfig.
37889
37890 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
37891
37892         [BZ #13970]
37893         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37894         (strtod, strtof, strtold, strtol, strtoul, strtoq)
37895         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37896         (strtod_l, strtof_l, strtold_l): Remove __wur.
37897         It is not necessarily an error to ignore strtol's return value.
37898         One can reliably look at the stored endptr to decide whether
37899         the number had valid syntax.
37900
37901 2012-04-21  Andreas Jaeger  <aj@suse.de>
37902
37903         [BZ #13739]
37904         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37905
37906 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
37907
37908         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37909         * sysdeps/unix/sysv/Versions: Remove file.
37910
37911 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
37912
37913         [BZ #13927]
37914         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37915
37916 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
37917
37918         [BZ #7064]
37919         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37920         version from __vm86.
37921
37922 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
37923
37924         * sysdeps/unix/common/lxstat.c: Remove file.
37925         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37926
37927         * sysdeps/unix/sysv/Makefile: Remove file.
37928
37929         * sysdeps/unix/sysv/direct.h: Remove file.
37930
37931         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37932         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37933         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37934         * sysdeps/unix/sysv/bits/signum.h: Likewise.
37935         * sysdeps/unix/sysv/bits/stat.h: Likewise.
37936         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37937         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37938
37939         * sysdeps/unix/sysv/setrlimit.c: Remove file.
37940
37941         * sysdeps/unix/xmknod.c: Remove file.
37942         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37943
37944         * sysdeps/unix/sysv/settimeofday.c: Remove file.
37945
37946         * sysdeps/unix/sysv/i386/time.S: Remove file.
37947
37948         * sysdeps/unix/fxstat.c: Remove file.
37949         * sysdeps/unix/xstat.c: Likewise.
37950         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37951
37952         * sysdeps/unix/sysv/sigaction.c: Remove file.
37953
37954         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37955         (sysdep_headers): Remove variable.
37956         [termio.h not in sysdep_headers] (generated): Likewise.
37957         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37958         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37959         * sysdeps/unix/sysv/tcdrain.c: Likewise.
37960         * sysdeps/unix/sysv/tcflow.c: Likewise.
37961         * sysdeps/unix/sysv/tcflush.c: Likewise.
37962         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37963         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37964         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37965         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37966         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37967
37968         * sysdeps/unix/siglist.c: Remove file.
37969
37970         * sysdeps/unix/getppid.S: Remove file.
37971
37972         * sysdeps/unix/mkdir.c: Remove file.
37973         * sysdeps/unix/rmdir.c: Likewise.
37974
37975 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
37976
37977         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37978         ERR_MAX value.
37979         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37980         errlist-compat value.
37981
37982 2012-04-18  David S. Miller  <davem@davemloft.net>
37983
37984         * sysdeps/generic/memcopy.h (reg_char): Delete.
37985         * debug/strcat_chk.c: Use char, not reg_char.
37986         * debug/strcpy_chk.c: Likewise.
37987         * debug/strncat_chk.c: Likewise.
37988         * debug/strncpy_chk.c: Likewise.
37989         * string/memchr.c: Likewise.
37990         * string/memrchr.c: Likewise.
37991         * string/rawmemchr.c: Likewise.
37992         * string/strcat.c: Likewise.
37993         * string/strchr.c: Likewise.
37994         * string/strchrnul.c: Likewise.
37995         * string/strcmp.c: Likewise.
37996         * string/strcpy.c: Likewise.
37997         * string/strncat.c: Likewise.
37998         * string/strncmp.c: Likewise.
37999         * string/strncpy.c: Likewise.
38000
38001 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38002
38003         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38004         __builtin_memcopy is called when src and dest ranges are known to not
38005         overlap.
38006
38007 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38008
38009         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38010         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38011         fwd_align_merge macro call.
38012         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38013         bwd_align_merge macro call.
38014         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38015
38016 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38017
38018         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38019         bwd_align_merge macros.
38020         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38021         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38022         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38023
38024 2012-04-18  David S. Miller  <davem@davemloft.net>
38025
38026         * sysdeps/sparc/sparc64/memcopy.h: Delete.
38027
38028 2012-04-18  Andreas Jaeger  <aj@suse.de>
38029
38030         [BZ# 6794]
38031         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38032         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38033         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38034
38035         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38036         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38037         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38038
38039         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38040         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38041         Adjust for changed ldbl-128 files.
38042
38043         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38044         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38045         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38046
38047 2012-04-17  David S. Miller  <davem@davemloft.net>
38048
38049         * sysdeps/sparc/sparc32/memcopy.h: Delete.
38050
38051 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
38052
38053         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38054         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38055         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38056         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38057         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38058         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38059
38060 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38061
38062         [BZ #6794]
38063         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38064         * math/libm-test.inc: Add ilogb errno and exception tests.
38065         * math/w_ilogb.c: New file: ilogb wrapper.
38066         * math/w_ilogbf.c: New file: ilogbf wrapper.
38067         * math/w_ilogbl.c: New file: ilogbl wrapper.
38068         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38069         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38070         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38071         exception being thrown with 0.0 as argument.
38072         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38073         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38074         exception being thrown with 0.0 as argument.
38075         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38076         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38077         exception being thrown with 0.0 as argument.
38078         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38079         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38080         exception being thrown with 0.0 as argument.
38081         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38082         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38083         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38084         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38085         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38086         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38087         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38088         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38089         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38090
38091 2012-04-17  Petr Baudis  <pasky@ucw.cz>
38092
38093         * include/sys/uio.h: Change __vector to __iovec to avoid clash
38094         with altivec.
38095
38096 2012-04-16  Marek Polacek  <polacek@redhat.com>
38097
38098         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38099
38100 2012-04-16  Marek Polacek  <polacek@redhat.com>
38101
38102         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38103         operands of fdivp instruction.
38104
38105 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38106
38107         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38108         * elf/tst-auditmod3b.c: Likewise.
38109         * elf/tst-auditmod4b.c: Likewise.
38110         * elf/tst-auditmod5b.c: Likewise.
38111         * elf/tst-auditmod6b.c: Likewise.
38112         * elf/tst-auditmod6c.c: Likewise.
38113         * elf/tst-auditmod7b.c: Likewise.
38114         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38115         * sysdeps/x86_64/preconfigure.in: Likewise.
38116         * sysdeps/x86_64/preconfigure: Regenerated.
38117
38118 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38119
38120         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38121         __ILP32__.
38122
38123 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
38124
38125         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38126         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38127
38128 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
38129
38130         [BZ #13973]
38131         * locale/iso-639.def: Fix gl language name. Spotted by
38132         Yaron Shahrabani.
38133
38134 2012-04-12  Roland McGrath  <roland@hack.frob.com>
38135
38136         [BZ #2074]
38137         * libio/libio.h (__io_write_fn): Update comment.
38138
38139 2012-04-12  Petr Baudis  <pasky@ucw.cz>
38140
38141         [BZ #2074]
38142         * stdio.texi (Hook Functions): The user provided writer function
38143         is not allowed to return -1.
38144
38145 2012-04-11  David S. Miller  <davem@davemloft.net>
38146
38147         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38148
38149 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
38150
38151         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38152         Add a leading slash to rtkaio.
38153
38154 2012-04-11  Jim Meyering  <meyering@redhat.com>
38155
38156         [BZ #11959]
38157         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38158         It is not necessarily an error to ignore fwrite's return
38159         value.  One can reliably use ferror to test for errors after
38160         the fact.
38161
38162 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38163
38164         * bits/types.h (__snseconds_t): New type.
38165         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38166
38167         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38168         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38169         (__SNSECONDS_T_TYPE): Likewise.
38170         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38171         (__SNSECONDS_T_TYPE): Likewise.
38172         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38173         (__SNSECONDS_T_TYPE): Likewise.
38174
38175 2012-04-10  Andreas Jaeger  <aj@suse.de>
38176
38177         [BZ #2636]
38178         * manual/time.texi (Processor Time): Return type of times is
38179         elapsed real time since an arbitrary point in the past.
38180         (CPU Time): Move CLK_TCK from here...
38181         (Processor Time): ...to here.  Correct description.
38182         * manual/conf.texi (Constants for Sysconf): Correct description of
38183         _SC_CLK_TCK.
38184
38185 2012-04-10  David S. Miller  <davem@davemloft.net>
38186
38187         [BZ #13967]
38188         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38189         where the is a gap between DT_REL(A) and DT_JMPREL.
38190
38191 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38192
38193         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38194         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38195         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38196
38197 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38198
38199         * elf/dl-support.c (_dl_inhibit_cache): New variable.
38200         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38201         (dl_main): Handle --inhibit-cache.
38202         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38203         _dl_inhibit_cache.
38204         * elf/dl-load.c (_dl_map_object): Use it.
38205         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38206
38207 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38208
38209         [BZ #13872]
38210         * sysdeps/i386/fpu/e_powl.S (p78): New object.
38211         (__ieee754_powl): Saturate large exponents rather than testing for
38212         overflow of y*log2(x).
38213         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38214         * math/libm-test.inc (pow_test): Do not permit spurious overflow
38215         exceptions.
38216
38217         [BZ #11521]
38218         * math/s_ctan.c: Include <float.h>.
38219         (__ctan): Avoid internal overflow or cancellation in calculating
38220         denominator.
38221         * math/s_ctanf.c: Likewise.
38222         * math/s_ctanl.c: Likewise.
38223         * math/s_ctanh.c: Likewise.
38224         * math/s_ctanhf.c: Likewise.
38225         * math/s_ctanhl.c: Likewise.
38226         * math/libm-test.inc (ctan_test): Add more tests.
38227         (ctanh_test): Likewise.
38228         * sysdeps/i386/fpu/libm-test-ulps: Update.
38229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38230
38231 2012-04-09  Andreas Jaeger  <aj@suse.de>
38232
38233         [BZ #6894]
38234         * manual/filesys.texi (Directory Entries): Mention that d_namlen
38235         is an optional BSD extension.
38236
38237         [BZ #10254]
38238         * manual/stdio.texi (Opening Streams): Document additional fopen
38239         parameters.
38240
38241 2012-04-09  Roland McGrath  <roland@hack.frob.com>
38242
38243         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38244         %eax without telling the compiler.
38245
38246 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
38247
38248         [BZ # 13963]
38249         * manual/install.texi: Use sourceware.org.
38250
38251 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38252
38253         [BZ #13873]
38254         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38255         (__ieee754_pow): Generate overflow and underflow using huge*huge
38256         and tiny*tiny rather than just returning constant infinity or zero
38257         for large exponents.
38258         * math/libm-test.inc (pow_test): Require overflow exceptions for
38259         applicable cases of large exponents.
38260
38261         [BZ #706]
38262         * sysdeps/i386/fpu/e_pow.S (p10): New object.
38263         (__ieee754_pow): Use iterative multiplication algorithm only for
38264         integer exponents with absolute value below 1024.  Check for odd
38265         integer exponents when using algorithm for real exponents.
38266         * math/libm-test.inc (pow_test): Add more tests.
38267         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38268
38269 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
38270
38271         [BZ #13705]
38272         * math/libm-test.inc (exp_test): Do not allow overflow exception
38273         on underflow test.
38274
38275 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
38276
38277         [BZ #13705]
38278         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38279         instead of __kernel_standard_f.
38280
38281 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
38282
38283         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38284         * sysdeps/x86_64/memset_chk.S: Likewise.
38285
38286 2012-04-08  Andreas Jaeger  <aj@suse.de>
38287
38288         [BZ #10153]
38289         * manual/startup.texi (Environment Access): Describe return value
38290         for putenv and setenv.
38291
38292         [BZ #6895]
38293         * manual/filesys.texi (Directory Entries): Add description for
38294         DT_LNK.
38295
38296         [BZ #6890]
38297         * manual/filesys.texi (Directory Entries): Clarify that it's file
38298         system not operating system in the description of DT_UNKNOWN.
38299
38300         [BZ #6578]
38301         * manual/syslog.texi (closelog): Fix reference, it's openlog.
38302
38303 2012-04-08  Stephen Compall  <s11@member.fsf.org>
38304
38305         [BZ #6649]
38306         * manual/llio.texi (Opening and Closing Files): Add cross
38307         reference to explain mode argument.
38308
38309 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
38310
38311         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38312         * sysdeps/x86_64/memset_chk.S: Likewise.
38313
38314 2012-04-07  David S. Miller  <davem@davemloft.net>
38315
38316         * elf/elf.h (R_SPARC_WDISP10): Define.
38317         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38318         R_SPARC_SIZE32.
38319         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38320         R_SPARC_SIZE64 and R_SPARC_H34.
38321
38322 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
38323
38324         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38325         conditions and remove no longer applicable assertion.
38326
38327 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38328
38329         * bits/byteswap.h: Include <features.h>.
38330         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38331         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38332
38333 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38334
38335         * bits/byteswap.h (__bswap_16): Removed.
38336         Include <bits/byteswap-16.h> to get __bswap_16.
38337         * sysdeps/i386/bits/byteswap.h: Likewise.
38338         * sysdeps/s390/bits/byteswap.h: Likewise.
38339         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38340         * bits/byteswap-16.h: New file.
38341         * sysdeps/i386/bits/byteswap-16.h: Likewise.
38342         * sysdeps/s390/bits/byteswap-16.h: Likewise.
38343         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38344         * string/Makefile (headers): Add bits/byteswap-16.h.
38345
38346 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
38347
38348         [BZ #13895]
38349         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38350         extra indirection.
38351         * nss/Makefile (tests-static, tests): Add tst-nss-static.
38352         * nss/tst-nss-static.c: New.
38353
38354 2012-04-06  Robert Millan  <rmh@gnu.org>
38355
38356         [BZ #6486]
38357         * manual/llio.texi (File Position Primitive): lseek
38358         refers to WHENCE when it really means OFFSET.
38359
38360 2012-04-06  Andreas Jaeger  <aj@suse.de>
38361
38362         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38363         strncmp declarations.
38364
38365         * abilist/libc.abilist: Add __poll and __ppoll.
38366
38367 2012-04-05  David S. Miller  <davem@davemloft.net>
38368
38369         * scripts/check-local-headers.sh: Accept a host triplet in the
38370         path matched by the exclude regexp.
38371
38372         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38373         definition.
38374         * sysdeps/powerpc/powerpc32/dl-machine.h
38375         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38376         * sysdeps/s390/s390-32/dl-machine.h
38377         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38378         * sysdeps/sparc/sparc32/dl-machine.h
38379         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38380         * sysdeps/sparc/sparc64/dl-machine.h
38381         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38382
38383         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38384         lazy binding.
38385         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38386         undefined symbol errors.
38387
38388         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38389         DT_NEEDED entries.
38390
38391 2012-04-05  Michael Matz  <matz@suse.de>
38392
38393         [BZ #13592]
38394         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38395
38396 2012-04-05  Andreas Jaeger  <aj@suse.de>
38397
38398         [BZ #13908]
38399         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38400         comment.
38401
38402 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38403
38404         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38405         which ROUND is no valid rounding mode.
38406
38407 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38408
38409         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38410         read again.
38411         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38412
38413 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38414
38415         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38416         an exception using FPU order intentionally.
38417
38418 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38419
38420         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38421         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38422         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38423         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38424
38425 2012-04-05  Simon Josefsson  <simon@josefsson.org>
38426
38427         [BZ #12340]
38428         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38429         EINVAL when BUFLEN is too smal.
38430
38431 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
38432
38433         [BZ #13553]
38434         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38435         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38436
38437 2012-04-03  Andreas Jaeger  <aj@suse.de>
38438
38439         [BZ #13938]
38440         * manual/setjmp.texi (System V contexts): Fix sentence.
38441
38442         [BZ #13926]
38443         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38444         New macro for this case.
38445         [!__GNUC__] (__bswap_64): New inline function for this case.
38446         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38447         * bits/byteswap.h: Likewise.
38448         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38449         ull, guard with __GLIBC_HAVE_LONG_LONG.
38450
38451         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38452         __GLIBC_HAVE_LONG_LONG.
38453
38454         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38455         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38456
38457 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38458
38459         [BZ #13691]
38460         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38461         inptr and inend, rather than using last_ch.
38462
38463 2012-04-02  David S. Miller  <davem@davemloft.net>
38464
38465         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38466         * stdio-common/printf-parse.h (read_int): Change return type to
38467         'int', return -1 on INT_MAX overflow.
38468         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38469         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
38470         overflows INT_MAX.  Check for overflow of in-format-string precision
38471         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
38472         SIZE_MAX not INT_MAX for integer overflow test.
38473         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38474         skip the construct in the format string but do not record anything.
38475         * stdio-common/bug22.c: Adjust to test both width/prevision
38476         INT_MAX overflow as well as total length INT_MAX overflow.  Check
38477         explicitly for proper errno values.
38478
38479 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
38480
38481         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38482         CHAR_MAX.
38483         * string/test-strcmp.c [! WIDE]: Likewise.
38484         * time/tst-mktime2.c: Likewise for INT_MAX.
38485         * string/test-string.h: #include <sys/param.h> for MIN.
38486
38487         * csu/init-first.c (__libc_init_first): Call __ctype_init.
38488         * sysdeps/i386/init-first.c (init): Likewise.
38489         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38490         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38491         * sysdeps/sh/init-first.c (init): Likewise.
38492
38493 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
38494
38495         * po/ru.po: Update from translation team.
38496         * po/vi.po: Likewise.
38497
38498 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38499
38500         * resolv/nss_dns/dns-host.c: Merge copyright years.
38501
38502 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38503
38504         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38505         Optimize memcpy with prefetch if
38506         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
38507         src, dst pointers have unequal 16 byte alignments.
38508
38509 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38510
38511         [BZ #13928]
38512         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38513         from a CNAME entry and return the minimum ttl for the query.
38514         (gaih_getanswer_slice): Likewise.
38515
38516 2012-03-30  Jeff Law  <law@redhat.com>
38517
38518         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38519         due to long keys.
38520         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38521         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38522
38523         * resolv/nss_dns/dns-host.c: Update copyright year.
38524
38525 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
38526
38527         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38528         requests to save a system call.  Fix check that all bytes are sent.
38529
38530         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38531         comments for sendmmsg.
38532
38533 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38534
38535         [BZ #13691]
38536         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38537         with only 1 character between 0x0041 and 0x01b0.
38538         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38539         * wcsmbs/tst-mbsnrtowcs.c: New file.
38540
38541 2012-03-29  David S. Miller  <davem@davemloft.net>
38542
38543         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38544         small copies by hand.
38545
38546 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38547
38548         [BZ #13761]
38549         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38550         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38551         group memberships.
38552
38553 2012-03-28  David S. Miller  <davem@davemloft.net>
38554
38555         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38556         that branches into memcpy.
38557         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38558         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38559         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38560         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38561         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38562         bits.
38563         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38564         implementation too.
38565         * sysdeps/sparc/mempcpy.S: New file.
38566
38567         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38568         the IFUNC routine in the libc case.
38569         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38570
38571         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38572         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38573         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38574         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38575         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38576         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38577         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38578         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38579
38580         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38581         loop to 256 bytes instead of 64 bytes and fix test signedness.
38582
38583         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38584         * sysdeps/sparc/sparc32/Makefile: rather than here...
38585         * sysdeps/sparc/sparc64/Makefile: and here.
38586
38587 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
38588
38589         * malloc/mallocbug.c: Avoid warnings about unused variables.
38590
38591 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38592
38593         [BZ #13760]
38594         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38595         in the right place. Discard and retry query if response is
38596         larger than input buffer size.
38597
38598 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
38599
38600         [BZ #369]
38601         [BZ #2678]
38602         [BZ #3866]
38603         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38604         x for large integer exponent.
38605         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38606         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
38607         sign of result as needed afterwards.
38608         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38609         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38610         result for underflowing pow the same as for overflow.
38611         (__kernel_standard_l): Handle powl overflow and underflow here
38612         rather than calling __kernel_standard.
38613         * math/libm-test.inc (pow_test): Add more tests.
38614
38615         [BZ #3868]
38616         [BZ #13879]
38617         [BZ #13910]
38618         [BZ #13911]
38619         [BZ #13912]
38620         [BZ #13913]
38621         [BZ #13915]
38622         [BZ #13916]
38623         [BZ #13917]
38624         [BZ #13918]
38625         [BZ #13919]
38626         [BZ #13920]
38627         [BZ #13921]
38628         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38629         * sysdeps/ieee754/k_standard.c: Include <float.h>.
38630         (__kernel_standard_l): New function.
38631         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38632         __kernel_standard.
38633         * math/w_acosl.c (__acosl): Likewise.
38634         * math/w_asinl.c (__asinl): Likewise.
38635         * math/w_atan2l.c (__atan2l): Likewise.
38636         * math/w_atanhl.c (__atanhl): Likewise.
38637         * math/w_coshl.c (__coshl): Likewise.
38638         * math/w_exp10l.c (__exp10l): Likewise.
38639         * math/w_exp2l.c (__exp2l): Likewise.
38640         * math/w_fmodl.c (__fmodl): Likewise.
38641         * math/w_hypotl.c (__hypotl): Likewise.
38642         * math/w_j0l.c (__j0l, __y0l): Likewise.
38643         * math/w_j1l.c (__j1l, __y1l): Likewise.
38644         * math/w_jnl.c (__jnl, __ynl): Likewise.
38645         * math/w_lgammal.c (__lgammal): Likewise.
38646         * math/w_log10l.c (__log10l): Likewise.
38647         * math/w_log2l.c (__log2l): Likewise.
38648         * math/w_logl.c (__logl): Likewise.
38649         * math/w_powl.c (__powl): Likewise.
38650         * math/w_remainderl.c (__remainderl): Likewise.
38651         * math/w_scalbl.c (sysv_scalbl): Likewise.
38652         * math/w_sinhl.c (__sinhl): Likewise.
38653         * math/w_sqrtl.c (__sqrtl): Likewise.
38654         * math/w_tgammal.c (__tgammal): Likewise.
38655         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38656         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38657         * math/libm-test.inc (acos_test): Add more tests.
38658         (acosh_test): Likewise.
38659         (asin_test): Likewise.
38660         (atanh_test): Likewise.
38661         (exp_test): Likewise.
38662         (exp10_test): Likewise.
38663         (exp2_test): Likewise.
38664         (expm1_test): Likewise.
38665         (lgamma_test): Likewise.
38666         (log_test): Likewise.
38667         (log10_test): Likewise.
38668         (log1p_test): Likewise.
38669         (log2_test): Likewise.
38670         (pow_test): Do not allow some spurious overflow exceptions.
38671         (sqrt_test): Add more tests.
38672         (tgamma_test): Likewise.
38673         (y0_test): Likewise.
38674         (y1_test): Likewise.
38675         (yn_test): Likewise.
38676
38677 2012-03-27  Anton Blanchard  <anton@samba.org>
38678
38679         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38680         MAP_HUGETLB.
38681         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38682         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38683         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38684
38685 2012-03-27  David S. Miller  <davem@davemloft.net>
38686
38687         * conform/Makefile: Run run-conformtest.sh using $(BASH).
38688
38689         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38690         have-as-vis3 check.
38691
38692 2012-03-27  Andreas Jaeger  <aj@suse.de>
38693
38694         * sysdeps/x86_64/elf/configure.in: Moved to ...
38695         * sysdeps/x86_64/configure.in: ... here.
38696         * sysdeps/x86_64/elf/start.S: Moved to ...
38697         * sysdeps/x86_64/start.S: ... here.
38698         * sysdeps/x86_64/elf/configure: Delete.
38699
38700         * sysdeps/x86_64/configure.in: Merge contents from
38701         sysdeps/i386/configure.in (without i686 check).
38702
38703         * sysdeps/i386/elf/Versions: Merge into ...
38704         * sysdeps/i386/Versions: ... this.
38705         * sysdeps/i386/elf/Versions: Delete file.
38706         * sysdeps/i386/elf/start.S: Moved to ...
38707         * sysdeps/i386/start.S: ...here.
38708         * sysdeps/i386/elf/configure.in: Merge into...
38709         * sysdeps/i386/configure.in: ...here.
38710         * sysdeps/i386/elf/configure.in: Delete file.
38711         * sysdeps/i386/elf/configure: Delete file.
38712
38713         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38714         * debug/backtracesyms.c: ... here.
38715         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38716         * debug/backtracesymsfd.c: ... here.
38717         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38718         * sysdeps/generic/ifunc-sel.h: ... here.
38719
38720         * sysdeps/unix/i386/start.c: Delete file.
38721         * sysdeps/unix/sparc/start.c: Delete file.
38722         * sysdeps/unix/start.c: Delete file.
38723
38724         * sysdeps/sh/elf/configure.in: Moved to ...
38725         * sysdeps/sh/configure.in: ... here.
38726         * sysdeps/sh/elf/start.S: Moved to ...
38727         * sysdeps/sh/start.S: ... here.
38728         * sysdeps/sh/elf/configure: Delete file.
38729
38730         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38731         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38732         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38733         * sysdeps/powerpc/powerpc64/entry.h: ... here.
38734         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38735         * sysdeps/powerpc/powerpc64/start.S: here.
38736         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38737         * sysdeps/powerpc/powerpc64/Makefile: ... this.
38738         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38739         * sysdeps/powerpc/powerpc64/configure.in: ... this.
38740         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38741
38742         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38743         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38744         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38745         * sysdeps/powerpc/powerpc32/start.S: ... here.
38746         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38747         * sysdeps/powerpc/powerpc32/configure.in: ... this.
38748         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38749
38750         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38751         * sysdeps/powerpc/ifunc-sel.h: ... here.
38752         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38753         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38754
38755         * sysdeps/sparc/elf/configure.in: Moved to ...
38756         * sysdeps/sparc/configure.in: ... here.
38757         * sysdeps/sparc/elf/configure: Delete file.
38758         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38759         * sysdeps/sparc/sparc32/start.S: ... here.
38760         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38761         * sysdeps/sparc/sparc64/start.S: ... here.
38762         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38763         * sysdeps/sparc/sparc32/Makefile: ... this.
38764         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38765         * sysdeps/sparc/sparc64/Makefile: ... this.
38766
38767         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38768         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38769         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38770         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38771         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38772         * sysdeps/s390/s390-32/setjmp.S: ... here.
38773         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38774         * sysdeps/s390/s390-32/configure.in: ... here.
38775         * sysdeps/s390/s390-32/elf/configure: Delete file.
38776         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38777         * sysdeps/s390/s390-32/start.S: ... here.
38778
38779         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38780         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38781         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38782         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38783         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38784         * sysdeps/s390/s390-64/setjmp.S: ... here.
38785         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38786         * sysdeps/s390/s390-64/configure.in: ... here
38787         * sysdeps/s390/s390-64/elf/configure: Delete file.
38788         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38789         * sysdeps/s390/s390-64/start.S: ... here.
38790         * sysdeps/s390/s390-64/elf/configure: Delete.
38791
38792         * configure.in: Remove support for elf directories in sysdeps.
38793
38794         * configure: Regenerated.
38795         * sysdeps/i386/configure: Regenerated.
38796         * sysdeps/powerpc/powerpc32/configure: Regenerated.
38797         * sysdeps/powerpc/powerpc64/configure: Regenerated.
38798         * sysdeps/s390/s390-32/configure: Regenerated.
38799         * sysdeps/s390/s390-64/configure: Regenerated.
38800         * sysdeps/sh/configure: Regenerated.
38801         * sysdeps/sparc/configure: Regenerated.
38802         * sysdeps/x86_64/configure: Regenerated.
38803
38804 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
38805
38806         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38807
38808         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38809         denormal result into account.
38810
38811 2012-03-25  Roland McGrath  <roland@hack.frob.com>
38812
38813         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38814         Reported by Allan McRae <allan@archlinux.org>.
38815
38816 2012-03-23  Jeff Law  <law@redhat.com>
38817
38818         * nss/getnssent.c (__nss_getent): Fix typo.
38819
38820 2012-03-23  David S. Miller  <davem@davemloft.net>
38821
38822         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38823
38824 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
38825
38826         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38827         to pad to uint64_t for each field.
38828         (dl_tls_index): Replace unsigned long with uint64_t.
38829
38830 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
38831         Paul Pluzhnikov  <ppluzhnikov@google.com>
38832
38833         [BZ #6528]
38834         * grp/Makefile (otherlibs): Don't set it.
38835         * inet/Makefile (otherlibs): Likewise.
38836         * login/Makefile (otherlibs): Likewise.
38837         * nscd/Makefile (otherlibs): Likewise.
38838         * posix/Makefile (otherlibs): Likewise.
38839         * pwd/Makefile (otherlibs): Likewise.
38840         * rt/Makefile (otherlibs): Likewise.
38841         * sunrpc/Makefile (otherlibs): Likewise.
38842         * nss/Makefile (otherlibs): Likewise.
38843         Add libnss_files to routines and static-only-routines.
38844         ($(objpfx)getent): Remove rule.
38845         * resolv/Makefile: Add libnss_dns and libresolv to routines and
38846         static-only-routines.
38847
38848 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
38849
38850         [BZ #13892]
38851         * math/s_cexp.c: Include <float.h>.
38852         (__cexp): Handle exp result overflowing not necessarily
38853         overflowing both real and imaginary parts of result.
38854         * math/s_cexpf.c: Likewise.
38855         * math/s_cexpl.c: Likewise.
38856         * math/libm-test.inc (cexp_test): Add more tests.
38857         * sysdeps/i386/fpu/libm-test-ulps: Update.
38858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38859
38860 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38861
38862         * include/link.h (ELFW): New macro.
38863         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38864         Replace ELF64_R_TYPE with ELFW(R_TYPE).
38865
38866 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38867
38868         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38869         with uint64_t.
38870
38871 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38872
38873         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38874         declaration.
38875         (struct La_x32_retval): Likewise.
38876
38877 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38878
38879         * sysdeps/x86_64/preconfigure.in: New file.
38880         * sysdeps/x86_64/preconfigure: New generated file.
38881
38882 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
38883
38884         [BZ #13824]
38885         * math/e_exp2l.c: Include <float.h>.
38886         (__ieee754_exp2l): Handle overflow and underflow cases
38887         separately.  Only pass fractional part of argument to
38888         __ieee754_expl.
38889         * math/libm-test.inc (exp2_test): Add more tests.
38890
38891         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38892         negating x to take absolute value.
38893         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38894         Likewise.
38895         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38896         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38897         Likewise.
38898         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38899         computing low part if x was negated.
38900         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38901
38902 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38903
38904         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38905         la_x32_gnu_pltexit.
38906         (pltexit): Cast int_retval to ptrdiff_t.
38907         * elf/tst-auditmod3b.c: Likewise.
38908         * elf/tst-auditmod4b.c: Likewise.
38909         * elf/tst-auditmod5b.c: Likewise.
38910         * elf/tst-auditmod6b.c: Likewise.
38911         * elf/tst-auditmod6c.c: Likewise.
38912         * elf/tst-auditmod7b.c: Likewise.
38913
38914         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38915         and x32_gnu_pltexit.
38916
38917         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38918         __ELF_NATIVE_CLASS.
38919         (La_x32_regs): New macro.
38920         (La_x32_retval): Likewise.
38921         (la_x32_gnu_pltenter): New function prototype.
38922         (la_x32_gnu_pltexit): Likewise.
38923
38924 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
38925
38926         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38927         exponent.
38928
38929         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38930
38931         * configure.in (libc_cv_cc_nofma): Check for option to disable
38932         generation of FMA instructions.
38933         * configure: Regenerate.
38934         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38935         * sysdeps/ieee754/dbl-64/Makefile: New file.
38936         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38937         Remove brandred-fma4.
38938         (CFLAGS-brandred-fma4.c): Remove.
38939         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38940         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38941         define.
38942         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38943         define.
38944
38945 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38946
38947         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38948         LLONG_MAX != LONG_MAX.
38949         (_itoa_word): Use _ITOA_WORD_TYPE on value.
38950         (_fitoa_word): Likewise.
38951         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38952         LLONG_MAX != LONG_MAX.
38953         * stdio-common/_itowa.h: Include <_itoa.h>.
38954         (_itowa_word): Use _ITOA_WORD_TYPE on value.
38955         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
38956         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
38957         only if not defined.
38958         (_ITOA_WORD_TYPE): Likewise.
38959         (_itoa_word): Use _ITOA_WORD_TYPE on value.
38960         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38961
38962 2012-03-21  David S. Miller  <davem@davemloft.net>
38963
38964         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38965
38966 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38967
38968         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38969         of x86_64 when setting libc_cv_slibdir, libdir and
38970         libc_cv_localedir.
38971         * sysdeps/unix/sysv/linux/configure: Regenerated.
38972
38973 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
38974
38975         * manual/lang.texi (Old Varargs): Remove section.
38976         (How Variadic): Update menu.
38977         (va_start): Do not mention varargs.h.
38978
38979 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
38980             Joseph Myers  <joseph@codesourcery.com>
38981
38982         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38983         link test.
38984         * configure: Regenerated.
38985
38986 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
38987
38988         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38989         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38990         conformtest.pl
38991
38992 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
38993
38994         * NOTES: Remove.
38995         * Makefile (files-for-dist): Remove NOTES.
38996         (NOTES): Remove rule.
38997         * README: Don't refer to NOTES.
38998         * manual/creature.texi: Don't include macros.texi.
38999         * manual/intro.texi (creature.texi): Remove comment referring to
39000         NOTES.
39001
39002         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39003         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39004         * configure: Regenerated.
39005         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39006         LIBC_TRY_CC_OPTION.
39007         (libc_cv_as_i686): Likewise.
39008         (libc_cv_cc_avx): Likewise.
39009         (libc_cv_cc_sse2avx): Likewise.
39010         (libc_cv_cc_fma4): Likewise.
39011         (libc_cv_cc_novzeroupper): Likewise.
39012         * sysdeps/i386/configure: Regenerated.
39013
39014         [BZ #13883]
39015         * sysdeps/i386/fpu/s_cexp.S: Remove.
39016         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39017         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39018         * math/libm-test.inc (cexp_test): Add more tests.
39019         * sysdeps/i386/fpu/libm-test-ulps: Update.
39020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39021
39022 2012-03-21  Allan McRae  <allan@archlinux.org>
39023
39024         * timezone/Makefile: Do not install iso3166.tab and zone.tab
39025
39026 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39027
39028         [BZ #13871]
39029         * math/w_exp2.c: Do not include <float.h>.
39030         (o_threshold, u_threshold): Remove.
39031         (__exp2): Calculate result before checking finiteness and calling
39032         __kernel_standard.
39033         * math/w_exp2f.c: Likewise.
39034         * math/w_exp2l.c: Likewise.
39035         * math/libm-test.inc (exp2_test): Require overflow exception for
39036         1e6 input.
39037
39038         [BZ #3866]
39039         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39040         range of signed 64-bit integers before using fistpll.  Remove
39041         checks for whether integers fit in mantissa bits.
39042         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39043         the range of signed 32-bit integers before using fistpl.  Remove
39044         checks for whether integers fit in mantissa bits.
39045         * sysdeps/i386/fpu/e_powl.S (p64): New object.
39046         (__ieee754_powl): Test for y outside the range of signed 64-bit
39047         integers before using fistpll.  Reduce 64-bit values to 63-bit
39048         ones as needed.
39049         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39050         divide-by-zero is raised for zero to large negative powers.
39051         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39052         (__ieee754_powl): Test for y outside the range of signed 64-bit
39053         integers before using fistpll.  Reduce 64-bit values to 63-bit
39054         ones as needed.
39055         * math/libm-test.inc (pow_test): Add more tests.
39056
39057 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39058
39059         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39060         <stdio-common/_itoa.h>.
39061         * debug/segfault.c: Likewise.
39062         * elf/dl-cache.c: Likewise.
39063         * elf/dl-minimal.c: Likewise.
39064         * elf/dl-misc.c: Likewise.
39065         * elf/dl-sysdep.c: Likewise.
39066         * elf/dl-version.c: Likewise.
39067         * elf/rtld.c: Likewise.
39068         * hurd/hurdsock.c: Likewise.
39069         * hurd/lookup-retry.c: Likewise.
39070         * malloc/malloc.c: Likewise.
39071         * malloc/mtrace.c: Likewise.
39072         * nscd/nscd_getgr_r.c: Likewise.
39073         * nscd/nscd_getpw_r.c: Likewise.
39074         * nscd/nscd_getserv_r.c: Likewise.
39075         * posix/getopt_init.c: Likewise.
39076         * posix/wordexp.c: Likewise.
39077         * stdio-common/_itoa.c: Likewise.
39078         * stdio-common/printf_fphex.c: Likewise.
39079         * stdio-common/vfprintf.c: Likewise.
39080         * string/_strerror.c: Likewise.
39081         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39082         * sysdeps/i386/i686/hp-timing.h: Likewise.
39083         * sysdeps/mach/_strerror.c: Likewise.
39084         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39085         * sysdeps/mach/hurd/sethostid.c: Likewise.
39086         * sysdeps/mach/hurd/xmknodat.c: Likewise.
39087         * sysdeps/mach/xpg-strerror.c: Likewise.
39088         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39089         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39090         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39091         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39092         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39093         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39094         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39095         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39096         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39097         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39098         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39099         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39100         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39101         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39102         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39103         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39104         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39105         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39106         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39107         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39108         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39109
39110         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39111
39112         * stdio-common/_itoa.h: Moved to ...
39113         * sysdeps/generic/_itoa.h: Here.
39114
39115         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39116
39117         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39118         instead of "_itoa.h" and "_itowa.h".
39119         * stdio-common/vfprintf.: Likewise.
39120
39121 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39122
39123         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39124         <bits/wordsize.h>.
39125         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39126         (__signbit): Likwise.
39127         (llrintf): Likwise.
39128         (llrint): Likwise.
39129
39130 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39131
39132         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39133         __WORDSIZE != 64.
39134
39135 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
39136
39137         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39138         OVERFLOW_EXCEPTION_OK.
39139         * math/libm-test.inc ("Philosophy"): Update comment about
39140         exception testing.
39141         (OVERFLOW_EXCEPTION): Define.
39142         (OVERFLOW_EXCEPTION_OK): Likewise.
39143         (INVALID_EXCEPTION_OK): Renumber.
39144         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39145         (IGNORE_ZERO_INF_SIGN): Likewise.
39146         (test_exceptions): Handle FE_OVERFLOW.
39147         (exp10_test): Expect overflow exceptions.
39148         (exp2_test): Likewise.
39149         (expm1_test): Likewise.
39150         (nextafter_test): Likewise.
39151         (pow_test): Likewise.
39152         (scalbn_test): Likewise.
39153         (scalbln_test): Likewise.
39154
39155 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39156
39157         * sysdeps/x86_64/bits/atomic.h
39158         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39159         64bit integer.
39160         (atomic_exchange_acq): Likewise.
39161         (__arch_exchange_and_add_body): Likewise.
39162         (__arch_add_body): Likewise.
39163         (atomic_add_negative): Likewise.
39164         (atomic_add_zero): Likewise.
39165
39166 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39167
39168         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39169         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39170
39171 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39172
39173         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39174         Check __x86_64__ instead of __WORDSIZE.
39175
39176 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39177
39178         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39179
39180 2012-03-19  David S. Miller  <davem@davemloft.net>
39181
39182         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39183
39184         * sysdeps/sparc/fpu/fenv_private.h: New file.
39185         * sysdeps/sparc/fpu/math_private.h: Use it.
39186         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39187         Remove.
39188         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39189         (libc_feholdexcept_setroundl): Remove.
39190         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39191         Remove.
39192         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39193         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39194
39195 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39196
39197         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39198         int64_t instead of long int.
39199         (INSERT_WORDS64): Likwise.
39200
39201 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39202
39203         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39204         _Unwind_GetCFA return to _Unwind_Ptr first.
39205
39206 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
39207
39208         [BZ #13629]
39209         * math/s_clog.c: Include <float.h>.
39210         (__clog): Scale large or subnormal inputs.
39211         * math/s_clogf.c: Likewise.
39212         * math/s_clogl.c: Likewise.
39213         * math/s_clog10.c: Include <float.h>.
39214         (M_LOG10_2): Define.
39215         (__clog10): Scale large or subnormal inputs.
39216         * math/s_clog10f.c: Likewise.
39217         * math/s_clog10l.c: Likewise.
39218         * math/libm-test.inc (clog_test): Add more tests.
39219         (clog10_test): Likewise.
39220         * sysdeps/i386/fpu/libm-test-ulps: Update.
39221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39222
39223         [BZ #11451]
39224         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39225         x and y.
39226         * math/libm-test.inc (atan2_test): Add another test.
39227
39228         * Makerules (common-objdir-compile): Remove.
39229         * sysdeps/unix/Makefile (config-generated): Do not add
39230         $(unix-generated) to variable.
39231         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39232         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39233         Remove rule.
39234         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39235         Likewise.
39236         [generic bits/local_lim.h] (before-compile): Do not append to
39237         variable.
39238         [generic bits/local_lim.h] (common-generated): Likewise.
39239         [generic sys/param.h] (before-compile): Do not append to variable.
39240         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39241         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39242         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39243         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39244         include.
39245         [generic sys/param.h] (sys/param.h-includes): Remove variable.
39246         [generic sys/param.h] (sys/param.h-includes): Remove rule.
39247         [generic sys/param.h] ($(addprefix
39248         $(common-objpfx),$(sys/param.h-includes))): Likewise.
39249         [generic sys/param.h] (common-generated): Do not append to
39250         variable.
39251         [generic sys/param.h] (sysdep_headers): Likewise.
39252         [generic bits/errno.h] (before-compile): Do not append to
39253         variable.
39254         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39255         rule.
39256         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39257         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39258         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39259         [generic bits/errno.h] (common-generated): Do not append to
39260         variable.
39261         [generic bits/ioctls.h] (before-compile): Do not append to
39262         variable.
39263         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39264         rule.
39265         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39266         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39267         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39268         rule.
39269         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39270         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39271         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39272         [generic bits/ioctls.h] (common-generated): Do not append to
39273         variable.
39274         [generic sys/syscall.h] (syscall.h): Remove variable.
39275         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39276         rule.
39277         [generic sys/syscall.h] (before-compile): Do not append to
39278         variable.
39279         [generic sys/syscall.h] (common-generated): Likewise.
39280         * sysdeps/unix/errnos-tmpl.c: Remove file.
39281         * sysdeps/unix/errnos.awk: Likewise.
39282         * sysdeps/unix/ioctls-tmpl.c: Likewise.
39283         * sysdeps/unix/ioctls.awk: Likewise.
39284         * sysdeps/unix/mk-local_lim.c: Likewise.
39285         * sysdeps/unix/snarf-ioctls: Likewise.
39286
39287 2012-03-19  Richard Henderson  <rth@twiddle.net>
39288
39289         * sysdeps/i386/fpu/fenv_private.h: New file.
39290         * sysdeps/i386/fpu/math_private.h: Use it.
39291         (math_opt_barrier, math_force_eval): Remove.
39292         (libc_feholdexcept_setround_53bit): Remove.
39293         (libc_feupdateenv_53bit): Remove.
39294         * sysdeps/x86_64/fpu/math_private.h: Likewise.
39295         (math_opt_barrier, math_force_eval): Remove.
39296         (libc_feholdexcept): Remove.
39297         (libc_feholdexcept_setround): Remove.
39298         (libc_fetestexcept, libc_fesetenv): Remove.
39299         (libc_feupdateenv_test): Remove.
39300         (libc_feupdateenv, libc_feholdsetround): Remove.
39301         (libc_feresetround): Remove.
39302
39303         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39304         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39305
39306         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39307         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39308         (libc_feupdateenv_testl): New.
39309         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39310         (libc_feupdateenv_testf): New.
39311         (libc_feupdateenv): Use libc_feupdateenv_test.
39312         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39313         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39314
39315         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39316         (libc_feholdsetroundf, libc_feholdsetroundl): New.
39317         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39318         (libc_feresetround_noex): New.
39319         (libc_feresetround_noexf): New.
39320         (libc_feresetround_noexl): New.
39321         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39322         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39323         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39324         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39325         SET_RESTORE_ROUND.
39326         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39327         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39328         (__cos): Likewise.
39329         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39330         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39331         SET_RESTORE_ROUND_NOEX.
39332         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39333         SET_RESTORE_ROUND_NOEXF.
39334         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39335         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39336         (libc_feholdsetroundf): New.
39337         (libc_feresetround, libc_feresetroundf): New.
39338
39339         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39340         (libc_feholdexcept_setround_53bit): Convert from macro to function.
39341         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
39342
39343         * sysdeps/generic/math_private.h: Include <fenv.h>.
39344         (default_libc_feholdexcept): New.
39345         (default_libc_feholdexcept_setround): New.
39346         (default_libc_fesetenv, default_libc_feupdateenv): New.
39347         (libc_feholdexcept): Only define if undefined.
39348         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39349         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39350         (libc_feholdexcept_setroundl): Likewise.
39351         (libc_feholdexcept_setround_53bit): Likewise.
39352         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39353         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39354         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39355         (libc_feupdateenv_53bit): Likewise.
39356         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39357         (libc_feholdexcept): Convert from macro to inline function.
39358         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39359         (libc_fesetenv, libc_feupdateenv): Likewise.
39360
39361         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39362         not previously defined.
39363         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39364         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39365         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39366         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39367         * sysdeps/ieee754/flt-32/math_private.h: New file.
39368         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39369         math_private.h below SET_FLOAT_WORD.
39370         (__isnan, __isinf_ns, __finite): Remove.
39371         (__isnanf, __isinf_nsf, __finitef): Remove.
39372
39373 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
39374
39375         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39376
39377 2012-03-17  David S. Miller  <davem@davemloft.net>
39378
39379         [BZ #6471]
39380         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39381         for 2.16.
39382
39383 2012-03-16  David S. Miller  <davem@davemloft.net>
39384
39385         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39386         warnings.
39387
39388         [BZ #6471]
39389         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39390         properly.
39391         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39392         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39393         sysdep_routines when subdir is sysvipc.
39394         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39395         __getshmlba helper.
39396
39397         * sysdeps/sparc/fpu/libm-test/ulps: Update.
39398
39399 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39400
39401         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39402         [__LP64__].
39403
39404 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39405
39406         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39407         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39408         (__lround): Renamed to ...
39409         (__llround): This.  Replace long int with long long int.
39410         Define lround functions as aliases of llround functions.
39411         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39412
39413 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39414
39415         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39416         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
39417         adresses to uintptr_t.  Replace "long int" and "unsigned long
39418         int" with "greg_t" on va_arg.
39419
39420 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39421
39422         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39423         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39424
39425         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39426         Move e_machine check before EI_CLASS check.  Handle x32
39427         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39428         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39429         SKIP_EM_IA_64 and include
39430         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39431
39432         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39433         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39434         (add_system_dir): New macro.
39435
39436         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39437         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39438
39439 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39440
39441         [BZ #2551]
39442         [BZ #2552]
39443         [BZ #2553]
39444         [BZ #2554]
39445         [BZ #2562]
39446         [BZ #2563]
39447         [BZ #2565]
39448         [BZ #2566]
39449         [BZ #2576]
39450         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39451         (y0): Likewise.
39452         * math/w_j0f.c (j0f): Likewise.
39453         (y0f): Likewise.
39454         * math/w_j0l.c (__j0l): Likewise.
39455         (__y0l): Likewise.
39456         * math/w_j1.c (j1): Likewise.
39457         (y1): Likewise.
39458         * math/w_j1f.c (j1f): Likewise.
39459         (y1f): Likewise.
39460         * math/w_j1l.c (__j1l): Likewise.
39461         (__y1l): Likewise.
39462         * math/w_jn.c (jn): Likewise.
39463         (yn): Likewise.
39464         * math/w_jnf.c (jnf): Likewise.
39465         (ynf): Likewise.
39466         * math/w_jnl.c (__jnl): Likewise.
39467         (__ynl): Likewise.
39468         * math/libm-test.inc (j0_test): Add more tests.
39469         (j1_test): Likewise.
39470         (jn_test): Likewise.  Add trailing semicolon to existing test.
39471         (y0_test): Likewise.
39472         (y1_test): Likewise.
39473         * sysdeps/i386/fpu/libm-test-ulps: Update.
39474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39475
39476         [BZ #13851]
39477         [BZ #13854]
39478         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39479         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39480         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39481         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39482         (__tanl): Set errno for infinite argument.
39483         * sysdeps/i386/fpu/mptan.c: Remove.
39484         * sysdeps/i386/fpu/s_tan.S: Likewise.
39485         * sysdeps/i386/fpu/s_tanl.S: Likewise.
39486         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39487         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39488         * math/libm-test.inc (tan_test): Add more tests and enable more
39489         tests for double and long double.
39490         * sysdeps/i386/fpu/libm-test-ulps: Update.
39491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39492
39493 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
39494
39495         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39496         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39497
39498 2012-03-16  Roland McGrath  <roland@hack.frob.com>
39499
39500         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39501         * configure.in: Use it for both main tree and add-ons.
39502         * configure: Regenerated.
39503
39504 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39505
39506         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39507
39508 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39509
39510         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39511         in comment.
39512
39513         [BZ #13851]
39514         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39515         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39516         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39517         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39518         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39519         infinite argument.
39520         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39521         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39522         != 0 for prec == 2.
39523         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39524         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39525         * sysdeps/i386/fpu/s_cosl.S: Likewise.
39526         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39527         * sysdeps/i386/fpu/s_sinl.S: Likewise.
39528         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39529         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39530         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39531         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39532         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39533         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39534         * math/libm-test.inc (cos_test): Add more tests and enable more
39535         tests for long double.
39536         (sin_test): Likewise.
39537         (sincos_test): Likewise.
39538         * sysdeps/i386/fpu/libm-test-ulps: Update.
39539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39540
39541 2012-03-16  David S. Miller  <davem@davemloft.net>
39542
39543         * sysdeps/sparc/fpu/math_private.h: New file.
39544
39545 2012-03-15  David S. Miller  <davem@davemloft.net>
39546
39547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39548         file.
39549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39551         file.
39552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39553         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39554         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39555         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39556         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39557         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39558         sysdep routines.
39559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39560
39561         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39562         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39563
39564         * sysdeps/sparc/sparc-ifunc.h: New file.
39565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39566         sparc-ifunc.h
39567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39569         Likewise.
39570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39571         Likewise.
39572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39576         Likewise.
39577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39582         Likewise.
39583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39584         Likewise.
39585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39589         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39590         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39591         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39592         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39593         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39594         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39595         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39596         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39597         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39598         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39599         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39600         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39601         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39602         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39603         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39604         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39605         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39606         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39607         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39608         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39609
39610 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
39611
39612         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39613         scaling.
39614         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39615
39616 2012-03-15  Andreas Jaeger  <aj@suse.de>
39617
39618         [BZ #13852]
39619         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39620         ieee754/flt-32 implementation for sin, cos and sincos.
39621         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39622         * sysdeps/i386/fpu/s_cosf.S: Likewise.
39623         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39624         * sysdeps/i386/fpu/s_sinf.S: Likewise.
39625         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39626         ieee754/flt-32 implementation for tan.
39627
39628         * math/libm-test.inc (cos_test): Enable some large input tests for
39629         float as well
39630         (sin_test): Likewise.
39631         (sincos_test): Likewise.
39632         (tan_test): Add tests for large input.
39633
39634         * sysdeps/i386/fpu/libm-test-ulps: Update.
39635
39636 2012-03-15  Andreas Jaeger  <aj@suse.de>
39637
39638         [BZ #13658]
39639         * math/libm-test.inc (cos_test): Add more test cases.
39640         (sin_test): Likewise.
39641         (sincos_test): Likewise.
39642
39643 2012-03-15  Andreas Jaeger  <aj@suse.de>
39644
39645         [BZ #13837]
39646         * math/libm-test.inc (cos_test): Add a test case for large input
39647         value.
39648         (sin_test): Likewise.
39649         (sincos_test): Likewise.
39650
39651 2012-03-15  Andreas Jaeger  <aj@suse.de>
39652             Joseph Myers  <joseph@codesourcery.com>
39653
39654         [BZ #13658]
39655         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39656         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39657         * sysdeps/i386/fpu/branred.c: Likewise.
39658         * sysdeps/i386/fpu/dosincos.c: Likewise.
39659         * sysdeps/i386/fpu/mpa.c: Likewise.
39660         * sysdeps/i386/fpu/s_cos.S: Likewise.
39661         * sysdeps/i386/fpu/s_sin.S: Likewise.
39662         * sysdeps/i386/fpu/s_sincos.S: Likewise.
39663         * sysdeps/i386/fpu/sincos32.c: Likewise.
39664
39665         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39666         Define.
39667         (libc_feupdateenv_53bit): Define.
39668         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39669         Define.
39670         (libc_feupdateenv_53bit): Define.
39671
39672         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39673         53 bit (without extend i386 double precision).
39674
39675         * math/libm-test.inc (sincos_test): Add tests for large input.
39676         (sin): Likewise.
39677         (cos): Likewise.
39678
39679         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39680
39681 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
39682
39683         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39684
39685 2012-03-15  David S. Miller  <davem@davemloft.net>
39686
39687         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39688         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39689         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39690         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39691         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39692         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39693         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39694         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39695         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39696         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39697         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39698         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39699         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39700         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39701         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39703         file.
39704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39706         file.
39707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39709         file.
39710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39712         file.
39713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39714         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39715         fmin/fmax sysdep routines.
39716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39717
39718 2012-03-14  David S. Miller  <davem@davemloft.net>
39719
39720         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39721         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39722         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39723         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39724         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39725         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39726         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39727         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39728         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39729         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39730         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39731         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39732         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39733         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39734         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39735         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39736         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39737         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39738         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39739         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39740         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39741         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39742         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39743         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39744         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39745         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39746         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39747         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39748         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39749         routines.
39750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39751         file.
39752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39754         file.
39755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39757         file.
39758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39760         file.
39761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39763         file.
39764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39766         file.
39767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39768         file.
39769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39770         file.
39771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39772         file.
39773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39774         New file.
39775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39776         file.
39777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39778         file.
39779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39781         file.
39782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39784         file.
39785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39787         file.
39788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39790         VIS3 routines.
39791
39792         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39793         New file.
39794
39795         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39796
39797         * sysdeps/sparc/configure.in: New file.
39798         * sysdeps/sparc/configure: Generate.
39799         * configure.in (libc_cv_sparc_as_vis3): Substitute.
39800         * configure: Regenerate.
39801         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39802         * config.make.in (have-as-vis3): New.
39803         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39804         available use -Av9d instead of -Av9a.
39805         * sysdeps/sparc/sparc64/Makefile: Likewise.
39806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39808         New file.
39809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39810         file.
39811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39812         New file.
39813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39814         file.
39815         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39816         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39817         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39818         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39819         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39820
39821         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39822         fzeros/fnegs to load 0x80000000 into a float register instead of
39823         using the stack.
39824         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39825
39826 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
39827
39828         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39829         bits/syscall.h.
39830         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39831         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39832         ($(inst_includedir)/bits/syscall.h): Remove rule.
39833         ($(objpfx)bits/syscall.d): Include instead of
39834         $(objpfx)syscall-list.d.
39835         (generated): Change syscall-list.h and syscall-list.d to
39836         bits/syscall.h and bits/syscall.d.
39837
39838 2012-03-14  Roland McGrath  <roland@hack.frob.com>
39839
39840         [BZ #13846]
39841         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39842
39843 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
39844
39845         [BZ #13841]
39846         * math/s_csqrt.c: Include <float.h>.
39847         (__csqrt): Scale large or subnormal inputs.
39848         * math/s_csqrtf.c: Likewise.
39849         * math/s_csqrtl.c: Likewise.
39850         * math/libm-test.inc (csqrt_test): Add more tests.
39851         * sysdeps/i386/fpu/libm-test-ulps: Update.
39852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39853
39854         [BZ #13840]
39855         * math/libm-test.inc (hypot_test): Add more tests.
39856
39857 2012-03-13  David S. Miller  <davem@davemloft.net>
39858
39859         [BZ #13840]
39860         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39861         double-precision for the calculation instead of scaling.
39862
39863 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
39864
39865         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39866         manipulate bits before adding and subtracting TWO52[sx].
39867         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39868         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39869         Likewise.
39870         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39871
39872 2012-03-13  David S. Miller  <davem@davemloft.net>
39873
39874         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39875         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39876         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39877         rtld-global-offsets.h
39878         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39879
39880         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39881         large parameters.
39882
39883         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39884
39885         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39886         'err' in the ifdef scope in which it is actually used.
39887
39888         * nss/nss_db/db-init.c: Include string.h
39889
39890 2012-03-12  David S. Miller  <davem@davemloft.net>
39891
39892         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39893         masking out of the most significant byte of random value used.
39894         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39895         Fix coding style in previous change.
39896
39897         * sysdeps/unix/sysv/linux/kernel-features.h
39898         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39899         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39900         expression.
39901         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39902         later.
39903
39904 2012-03-11  David S. Miller  <davem@davemloft.net>
39905
39906         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39907         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39908         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39909         for 'resultvar' otherwise things get truncated on 64-bit.
39910
39911         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39912         Fix masking out of the most significant byte of random value used.
39913
39914         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39915
39916 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
39917
39918         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39919
39920 2012-03-09  David S. Miller  <davem@davemloft.net>
39921
39922         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39923         variables with appropriate CPP guards.
39924         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39925         from the frame pointer, not the stack pointer.  Correct layout
39926         comments.  Fix test on resulting framesize and the management of
39927         the outregs buffer for pltexit.  Preserve floating point return
39928         values across _dl_call_pltexit call.
39929         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39930         framesize and the management of the outregs buffer for pltexit.
39931         Preserve floating point return values across _dl_call_pltexit
39932         call.
39933         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39934         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39935         (la_sparc64_gnu_pltexit): New functions.
39936         (print_exit): Fix format string for return register value.
39937
39938 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
39939
39940         * sunrpc/Makefile (others): Add rpcgen.
39941         ($(objpfx)rpcgen): Remove special build rule and dependency on
39942         libc.
39943         * sunrpc/rpcgen.c: New file.
39944
39945 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
39946
39947         [BZ #13673]
39948         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39949         * stdio-common/bug-vfprintf-nargs.c: Likewise.
39950         * sysdeps/i386/crti.S: Likewise.
39951         * sysdeps/i386/crtn.S: Likewise.
39952         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39953         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39954         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39955         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39956         * sysdeps/sh/crti.S: Likewise.
39957         * sysdeps/sh/crtn.S: Likewise.
39958         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39959
39960         [BZ #13673]
39961         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39962         with URL.
39963         * locale/programs/locfile-kw.gperf: Likewise.
39964         * locale/programs/charmap-kw.h: Regenerated.
39965         * locale/programs/locfile-kw.h: Likewise.
39966
39967         [BZ #13673]
39968         * intl/plural.y: Replace FSF snail mail address with URL.
39969         * intl/plural.c: Regenerated.
39970
39971 2012-03-09  Richard Henderson  <rth@twiddle.net>
39972
39973         * include/math_private.h: Remove file.
39974         * math/math_private.h: Move file ...
39975         * sysdeps/generic/math_private.h: ... here.
39976
39977         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39978         * sysdeps/powerpc/fpu/math_private.h: Likewise.
39979         * sysdeps/x86_64/fpu/math_private.h: Likewise.
39980
39981         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
39982         and <math_private.h>.
39983         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39984         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39985         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39986         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39987         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39988         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39989         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39990         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39991         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39992         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39993         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39994         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39995         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39996         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39997         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39998         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39999         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40000         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40001         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40002         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40003         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40004         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40005         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40006         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40007         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40008         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40009         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40010         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40011         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40012         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40013         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40014         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40015         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40016         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40017         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40018         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40019         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40020         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40021         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40022         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40023         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40024         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40025         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40026         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40027         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40028         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40029         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40030         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40031         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40032         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40033         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40034         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40035         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40036         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40037         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40038         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40039         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40040         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40041         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40042         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40043         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40044         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40045         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40046         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40047         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40048         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40049         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40050         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40051         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40052         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40053         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40054         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40055         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40056         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40057         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40058         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40059         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40060         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40061         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40062         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40063         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40064         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40065         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40066         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40067         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40068         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40069         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40070         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40071         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40072         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40073         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40074         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40075         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40076         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40077         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40078         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40079         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40080         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40081         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40082         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40083         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40084         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40085         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40086         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40087         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40088         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40089         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40090         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40091         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40092         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40093         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40094         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40095         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40096         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40097         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40098         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40099         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40100         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40101         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40102         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40103         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40104         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40105         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40106         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40107         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40108         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40109         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40110         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40111         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40112         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40113         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40114         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40115         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40116         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40117         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40118         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40119         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40120         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40121         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40122         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40123         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40124         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40125         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40126         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40127         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40128         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40129         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40130         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40131         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40132         * sysdeps/ieee754/k_standard.c: Likewise.
40133         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40134         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40135         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40136         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40137         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40138         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40139         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40140         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40141         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40142         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40143         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40144         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40145         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40146         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40147         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40148         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40149         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40150         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40151         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40152         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40153         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40154         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40155         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40156         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40157         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40158         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40159         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40160         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40161         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40162         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40163         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40164         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40165         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40166         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40167         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40168         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40169         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40170         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40171         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40172         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40173         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40174         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40175         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40176         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40177         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40178         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40179         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40180         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40181         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40182         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40183         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40184         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40185         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40186         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40187         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40188         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40189         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40190         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40191         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40192         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40193         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40194         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40195         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40196         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40197         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40198         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40199         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40200         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40201         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40202         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40203         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40204         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40205         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40206         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40207         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40208         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40209         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40210         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40211         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40212         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40213         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40214         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40215         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40216         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40217         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40218         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40219         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40220         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40221         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40222         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40223         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40224         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40225         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40226         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40227         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40228         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40229         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40230         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40231         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40232         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40233         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40234         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40235         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40236         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40237         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40238         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40239         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40240         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40241         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40242         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40243         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40244         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40245         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40246         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40247         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40248         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40249         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40250         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40251         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40252         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40253         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40254         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40255         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40256         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40257         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40258         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40259         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40260         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40261         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40262         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40263         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40264         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40265         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40266         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40267         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40268         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40269         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40270         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40271         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40272         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40273         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40274         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40275         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40276         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40277         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40278         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40279         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40280         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40281         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40282         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40283         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40284         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40285         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40286         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40287         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40288         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40289         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40290         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40291         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40292         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40293         * sysdeps/ieee754/s_lib_version.c: Likewise.
40294         * sysdeps/ieee754/s_matherr.c: Likewise.
40295         * sysdeps/ieee754/s_signgam.c: Likewise.
40296         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40297         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40298         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40299         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40300         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40301         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40302         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40303         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40304         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40305         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40306         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40307         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40308         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40309         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40310         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40311         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40312         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40313         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40314         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40315         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40316         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40317
40318 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40319
40320         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40321         * sunrpc/rpc_main.c: Likewise.
40322         * sunrpc/rpc_svcout.c: Likewise.
40323
40324 2012-03-09  David S. Miller  <davem@davemloft.net>
40325
40326         * include/math_private.h: New file.
40327
40328 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40329
40330         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40331         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40332         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40333         from <bits/socket_type.h>.
40334         (enum __socket_type): Don't define here.
40335         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40336         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40337         bits/socket_type.h.
40338
40339         [BZ #13566]
40340         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40341         checking __USE_GNU.
40342
40343         * Makerules ($(inst_includedir)/%.h): New rule.
40344         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40345         (install-others): Remove variable setting.
40346         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40347
40348 2012-03-08  Richard Henderson  <rth@twiddle.net>
40349
40350         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40351         from macro to inline function; merge with the
40352         !__LIBC_INTERNAL_MATH_INLINES version.
40353         (__ieee754_sqrtf): Likewise.
40354
40355         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40356         to inline function.
40357         (__rintf, __floor, __floorf): Likewise.
40358
40359         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40360         macro to inline function.
40361         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40362
40363         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40364         not <math/math_private.h>.
40365
40366 2012-03-08  David S. Miller  <davem@davemloft.net>
40367
40368         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40369         copyright year.
40370         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40371
40372 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
40373
40374         * resolv/gai_misc.c (handle_requests): Fix struct timespec
40375         normalization.
40376         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40377         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40378
40379 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
40380
40381         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
40382         be defined individually, they must be defined as a block.  Define
40383         S for printing a string instead of hidint the different by using a
40384         macro for adding the 'l'.
40385         * stdio-common/tst-fphex-wide.c: Adjust.
40386
40387 2012-03-07  Marek Polacek  <polacek@redhat.com>
40388
40389         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40390
40391 2012-03-08  Marek Polacek  <polacek@redhat.com>
40392
40393         [BZ #13806]
40394         * stdio-common/Makefile (tests): Add tst-fphex-wide.
40395         * stdio-common/tst-fphex.c: Define a few macros to make the
40396         test reusable.  Use them.
40397         * stdio-common/tst-fphex-wide.c: New file.
40398
40399 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
40400
40401         [BZ #6911]
40402         * manual/macros.texi (gnusystems): New macro.
40403         (nongnusystems): Likewise.
40404         (gnulinuxhurdsystems): Likewise.
40405         (gnuhurdsystems): Likewise..
40406         (gnulinuxsystems): Likewise.
40407         * manual/charset.texi: Use new macros or @theglibc{} to refer to
40408         variants of the GNU system, not "GNU system".
40409         * manual/conf.texi: Likewise.
40410         * manual/errno.texi: Likewise.  Update example of errno macro
40411         expansion.
40412         * manual/filesys.texi: Likewise.
40413         (getumask): Document as specific to GNU/Hurd.
40414         * manual/install.texi: Likewise.  Reword some references to
40415         GNU/Linux.
40416         * manual/intro.texi: Likewise.
40417         * manual/io.texi: Likewise.
40418         (File Name Portability): Detail which constraints are inapplicable
40419         to all GNU systems and which are only inapplicable to GNU/Hurd.
40420         * manual/job.texi: Likewise.
40421         * manual/llio.texi: Likewise.
40422         (O_NOCTTY): Document as present on GNU/Linux.
40423         * manual/maint.texi: Likewise.
40424         * manual/memory.texi: Likewise.
40425         * manual/pattern.texi: Likewise.
40426         * manual/pipe.texi: Likewise.
40427         * manual/process.texi: Likewise.
40428         * manual/resource.texi: Likewise.
40429         (RUSAGE_CHILDREN): Remove statement about specifying a particular
40430         child on GNU/Hurd.
40431         * manual/setjmp.texi: Likewise.
40432         * manual/signal.texi: Likewise.
40433         * manual/startup.texi: Likewise.
40434         * manual/stdio.texi: Likewise.
40435         * manual/terminal.texi: Likewise.
40436         (ONLCR): Document as POSIX.
40437         (OXTABS): Document availability on GNU/Linux as XTABS.
40438         (ONOEOT): Document availability separately from other bits.
40439         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40440         * manual/time.texi: Likewise.
40441         * manual/users.texi: Likewise.
40442         * INSTALL: Regenerated.
40443         * sysdeps/gnu/errlist.c: Regenerated.
40444
40445         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40446         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40447         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
40448         puts.
40449         * configure: Regenerated.
40450
40451 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
40452
40453         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40454         default includes instead of AC_HEADER_CHECK.
40455         * sysdeps/i386/configure: Regenerated.
40456
40457         [BZ #10716]
40458         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40459         * math/s_cacoshf.c (__cacoshf): Likewise.
40460         * math/s_cacoshl.c (__cacoshl): Likewise.
40461         * math/s_casinh.c (__casinh): Set signs of result from argument.
40462         * math/s_casinhf.c (__casinhf): Likewise.
40463         * math/s_casinhl.c (__casinhl): Likewise.
40464         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40465         (casinh_test): Add more tests.
40466         * sysdeps/i386/fpu/libm-test-ulps: Update.
40467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40468
40469 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
40470
40471         * po/zh_TW.po: Update from translation team.
40472
40473         * login/Makefile (distribute): Remove variable.
40474         * catgets/Makefile: Likewise.
40475         * mach/Makefile: Likewise.
40476         * malloc/Makefile: Likewise.
40477         * misc/Makefile: Likewise.
40478         * iconv/Makefile: Likewise.
40479         * nscd/Makefile: Likewise.
40480         * hurd/Makefile: Likewise.
40481         * manual/Makefile: Likewise.
40482         * locale/Makefile: Likewise.
40483         * intl/Makefile: Likewise.
40484         * conform/Makefile: Likewise.
40485         * nss/Makefile: Likewise.
40486         * time/Makefile: Likewise.
40487         * soft-fp/Makefile: Likewise.
40488         * dirent/Makefile: Likewise.
40489         * gmon/Makefile: Likewise.
40490         * po/Makefile: Likewise.
40491         * rt/Makefile: Likewise.
40492         * socket/Makefile: Likewise.
40493         * math/Makefile: Likewise.
40494         * signal/Makefile: Likewise.
40495         * debug/Makefile: Likewise.
40496         * elf/Makefile: Likewise.
40497         * timezone/Makefile: Likewise.
40498         * stdlib/Makefile: Likewise.
40499         * iconvdata/Makefile: Likewise.
40500         * sunrpc/Makefile: Likewise.
40501         * io/Makefile: Likewise.
40502         * argp/Makefile: Likewise.
40503         * inet/Makefile: Likewise.
40504         * hesiod/Makefile: Likewise.
40505         * grp/Makefile: Likewise.
40506         * csu/Makefile: Likewise.
40507         * wctype/Makefile: Likewise.
40508         * crypt/Makefile: Likewise.
40509         * libio/Makefile: Likewise.
40510         * string/Makefile: Likewise.
40511         * nis/Makefile: Likewise.
40512         * resolv/Makefile: Likewise.
40513         * stdio-common/Makefile: Likewise.
40514         * wcsmbs/Makefile: Likewise.
40515         * dlfcn/Makefile: Likewise.
40516         * posix/Makefile: Likewise.
40517
40518         [BZ #6959]
40519         * timezone/Makefile: Don't install timezone files, just the programs
40520         and scripts.
40521
40522 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
40523
40524         * nss/databases.def: Add missing gshadow entry.
40525
40526         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
40527
40528 2012-03-06  Marek Polacek  <polacek@redhat.com>
40529
40530         [BZ #13726]
40531         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40532         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40533         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40534         * stdio-common/tst-long-dbl-fphex.c: New file.
40535
40536 2012-03-06  David S. Miller  <davem@davemloft.net>
40537
40538         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40539         (set_obp_int): New function.
40540         (get_obp_int): New function.
40541         (__get_clockfreq_via_dev_openprom): Likewise.
40542         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40543         Avoid unused variable warnings on 'val' and use builtin_expect.
40544         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40545         __builtin_expect.
40546         (INLINE_CLONE_SYSCALL): Likewise.
40547
40548 2012-03-05  David S. Miller  <davem@davemloft.net>
40549
40550         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40551
40552 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
40553
40554         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40555
40556         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40557         only for |x| >= 40.
40558         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40559
40560 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
40561
40562         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40563         Replace gettimeofday with __vdso_gettimeofday.
40564
40565         * sysdeps/unix/sysv/linux/x86_64/init-first.c
40566         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40567         __vdso_clock_gettime and __vdso_getcpu.
40568
40569         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40570         time with __vdso_time.
40571
40572 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
40573
40574         * manual/lang.texi (size_t): Note types to which size_t may be
40575         equivalent with the GNU C Library, but do not describe when
40576         differences between them are significant.
40577
40578 2012-03-05  Andreas Jaeger  <aj@suse.de>
40579
40580         * sysdeps/i386/fpu/libm-test-ulps: Update.
40581
40582 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
40583
40584         [BZ #3976]
40585         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40586         (__ieee754_pow): Save and restore rounding mode and use
40587         round-to-nearest for main computations.
40588         * math/libm-test.inc (pow_test_tonearest): New function.
40589         (pow_test_towardzero): Likewise.
40590         (pow_test_downward): Likewise.
40591         (pow_test_upward): Likewise.
40592         (main): Call the new functions.
40593         * sysdeps/i386/fpu/libm-test-ulps: Update.
40594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40595
40596         [BZ #3976]
40597         * math/libm-test.inc (cosh_test_tonearest): New function.
40598         (cosh_test_towardzero): Likewise.
40599         (cosh_test_downward): Likewise.
40600         (cosh_test_upward): Likewise.
40601         (sinh_test_tonearest): Likewise.
40602         (sinh_test_towardzero): Likewise.
40603         (sinh_test_downward): Likewise.
40604         (sinh_test_upward): Likewise.
40605         (main): Call the new functions.
40606         * sysdeps/i386/fpu/libm-test-ulps: Update.
40607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40608
40609 2012-03-05  Tom de Vries  <tom@codesourcery.com>
40610
40611         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40612         default stack guard is set in last bytes.
40613         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40614
40615 2012-03-05  Kees Cook  <keescook@chromium.org>
40616
40617         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40618
40619         [BZ #13656]
40620         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40621         possibly allocate from heap instead of stack.
40622         * stdio-common/bug-vfprintf-nargs.c: New file.
40623         * stdio-common/Makefile (tests): Add nargs overflow test.
40624
40625 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
40626
40627         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40628
40629 2012-03-03  Marek Polacek  <polacek@redhat.com>
40630
40631         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40632         * math/math_private.h: Likewise.
40633         * stdlib/tst-strtod.c: Likewise.
40634         * sysdeps/i386/i486/bits/atomic.h: Likewise.
40635         * sysdeps/x86_64/bits/atomic.h: Likewise.
40636
40637 2012-03-02  David S. Miller  <davem@davemloft.net>
40638
40639         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40640         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40641         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40642         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40643         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40644         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40645         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40646         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40647
40648 2012-03-02  Roland McGrath  <roland@hack.frob.com>
40649
40650         [BZ #13792]
40651         * manual/examples/README: New file, says the example source files
40652         can be used under GPL>=2.
40653         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40654         line containing just "*/".
40655         * manual/examples/add.c: Add copyright header (GPL>=2).
40656         * manual/examples/argp-ex1.c: Likewise.
40657         * manual/examples/argp-ex2.c: Likewise.
40658         * manual/examples/argp-ex3.c: Likewise.
40659         * manual/examples/argp-ex4.c: Likewise.
40660         * manual/examples/atexit.c: Likewise.
40661         * manual/examples/db.c: Likewise.
40662         * manual/examples/dir.c: Likewise.
40663         * manual/examples/dir2.c: Likewise.
40664         * manual/examples/execinfo.c: Likewise.
40665         * manual/examples/filecli.c: Likewise.
40666         * manual/examples/filesrv.c: Likewise.
40667         * manual/examples/fmtmsgexpl.c: Likewise.
40668         * manual/examples/genpass.c: Likewise.
40669         * manual/examples/inetcli.c: Likewise.
40670         * manual/examples/inetsrv.c: Likewise.
40671         * manual/examples/isockad.c: Likewise.
40672         * manual/examples/longopt.c: Likewise.
40673         * manual/examples/memopen.c: Likewise.
40674         * manual/examples/memstrm.c: Likewise.
40675         * manual/examples/mkfsock.c: Likewise.
40676         * manual/examples/mkisock.c: Likewise.
40677         * manual/examples/mygetpass.c: Likewise.
40678         * manual/examples/pipe.c: Likewise.
40679         * manual/examples/popen.c: Likewise.
40680         * manual/examples/rprintf.c: Likewise.
40681         * manual/examples/search.c: Likewise.
40682         * manual/examples/select.c: Likewise.
40683         * manual/examples/setjmp.c: Likewise.
40684         * manual/examples/sigh1.c: Likewise.
40685         * manual/examples/sigusr.c: Likewise.
40686         * manual/examples/stpcpy.c: Likewise.
40687         * manual/examples/strdupa.c: Likewise.
40688         * manual/examples/strftim.c: Likewise.
40689         * manual/examples/strncat.c: Likewise.
40690         * manual/examples/subopt.c: Likewise.
40691         * manual/examples/swapcontext.c: Likewise.
40692         * manual/examples/termios.c: Likewise.
40693         * manual/examples/testopt.c: Likewise.
40694         * manual/examples/testpass.c: Likewise.
40695         * manual/examples/timeval_subtract.c: Likewise.
40696
40697         [BZ #13792]
40698         * manual/time.texi (Elapsed Time): Move timeval_subtract example
40699         function to ...
40700         * manual/timeval_subtract.c.texi: ... here, new file.
40701
40702 2012-03-02  David S. Miller  <davem@davemloft.net>
40703
40704         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40705
40706 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
40707
40708         [BZ #3976]
40709         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40710         (__sin): Save and restore rounding mode and use round-to-nearest
40711         for all computations.
40712         (__cos): Save and restore rounding mode and use round-to-nearest
40713         for all computations.
40714         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40715         <fenv.h>.
40716         (tan): Save and restore rounding mode and use round-to-nearest for
40717         all computations.
40718         * math/libm-test.inc (cos_test_tonearest): New function.
40719         (cos_test_towardzero): Likewise.
40720         (cos_test_downward): Likewise.
40721         (cos_test_upward): Likewise.
40722         (sin_test_tonearest): Likewise.
40723         (sin_test_towardzero): Likewise.
40724         (sin_test_downward): Likewise.
40725         (sin_test_upward): Likewise.
40726         (tan_test_tonearest): Likewise.
40727         (tan_test_towardzero): Likewise.
40728         (tan_test_downward): Likewise.
40729         (tan_test_upward): Likewise.
40730         (main): Call the new functions.
40731         * sysdeps/i386/fpu/libm-test-ulps: Update.
40732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40733
40734         [BZ #10135]
40735         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40736         small n, then large n, before computing and testing k+n.
40737         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40738         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40739         Likewise.
40740         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40741         Likewise.
40742         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40743         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40744         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40745         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40746         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40747         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40748         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40749         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40750         * math/libm-test.inc (scalbn_test): Add more tests.
40751         (scalbln_test): Likewise.
40752
40753         * manual/filesys.texi (mode_t): Describe constraints on size and
40754         signedness, not exact equivalence to a particular type.
40755         (ino_t): Likewise.
40756         (ino64_t): Likewise.
40757         (dev_t): Likewise.
40758         (nlink_t): Likewise.
40759         (blkcnt_t): Likewise.
40760         (blkcnt64_t): Likewise.
40761         * manual/llio.texi (off_t): Likewise.
40762
40763         [BZ #3976]
40764         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40765         (__ieee754_exp): Save and restore rounding mode and use
40766         round-to-nearest for all computations.
40767         * math/libm-test.inc (exp_test_tonearest): New function.
40768         (exp_test_towardzero): Likewise.
40769         (exp_test_downward): Likewise.
40770         (exp_test_upward): Likewise.
40771         (main): Call the new functions.
40772         * sysdeps/i386/fpu/libm-test-ulps: Update.
40773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40774
40775 2012-03-01  Chris Demetriou  <cgd@google.com>
40776
40777         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40778         have predictable order.
40779
40780 2012-03-01  David S. Miller  <davem@davemloft.net>
40781
40782         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40783
40784         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40785         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40786         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40787         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40788
40789         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40790         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40791         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40792         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40793         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40794         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40795         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40796         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40797         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40798
40799         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40800
40801         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40802         * sysdeps/sparc/fpu/libm-test-ulps: to here.
40803         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40804
40805         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40806         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40807         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40808         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40809         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40810         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40811         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40812         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40813         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40814         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40815         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40816         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40817         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40818         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40819         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40820         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40821         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40822         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40823         * sysdeps/sparc/elf/configure: Regenerated.
40824
40825 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
40826
40827         * configure.in (AS, LD): Require binutils 2.20 or later.
40828         * configure: Regenerated.
40829         * manual/install.texi (Tools for Compilation): Give binutils 2.20
40830         as required minimum version.
40831         * INSTALL: Regenerated.
40832
40833         [BZ #2541]
40834         [BZ #4108]
40835         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40836         before squaring exponent.
40837         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40838         bottom long double and 27 bits of top long double before squaring
40839         exponent.
40840         * math/libm-test.inc (erfc_test): Add more tests.
40841         * sysdeps/i386/fpu/libm-test-ulps: Update.
40842         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40844
40845 2012-03-01  Kai Tietz  <ktietz@redhat.com>
40846
40847         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40848         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40849         containing bit-fields.
40850         * soft-fp/extended.h (_FP_UNION_E): Likewise.
40851         * soft-fp/single.h (_FP_UNION_S): Likewise.
40852         * soft-fp/double.h (_FP_UNION_D): Likewise.
40853
40854 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
40855
40856         [BZ #13786]
40857         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40858         not include ../strcmp.S.
40859         [USE_AS_STRNCASECMP_L]: Likewise.
40860         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40861         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40862         * sysdeps/i386/i686/multiarch/strncase_l-c.c
40863         (__strncasecmp_l_ia32): Define as alias to
40864         __strncasecmp_l_nonascii.
40865
40866         [BZ #5794]
40867         * math/libm-test.inc (expm1_test): Add test for bug 5794.
40868         * sysdeps/i386/fpu/libm-test-ulps: Update.
40869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40870
40871         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40873
40874 2012-02-29  Jeff Law  <law@redhat.com>
40875
40876         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40877         out of bounds read.
40878
40879 2012-02-29  Marek Polacek  <polacek@redhat.com>
40880
40881         [BZ #13706]
40882         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40883         * elf/Makefile: Add rules to run tst-unused-dep.out.
40884
40885 2012-02-28  David S. Miller  <davem@davemloft.net>
40886
40887         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40888         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40889         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40890         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40891         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40892         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40893
40894 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
40895
40896         * math/libm-test.inc (llround_test): Move one test from
40897         lround_test.  Use TEST_f_L in moved test.
40898         (lround_test): Move misplaced test to llround_test.  Add testcase
40899         from bug 2561.
40900
40901 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
40902
40903         * sysdeps/x86_64/fpu/e_expf.S: New file.
40904         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40905
40906 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
40907
40908         [BZ #13637]
40909         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40910         of remain_len that may cause incomplete multi-byte character and
40911         false match.
40912         * posix/bug-regex33.c: New file.
40913         * posix/Makefile (tests): Add bug-regex33.
40914
40915 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
40916
40917         * manual/macros.texi: New file.
40918         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40919         * manual/libc.texinfo: Include macros.texi.
40920         * manual/creatute.texi: Likewise.
40921         * manual/install.texi: Likewise.
40922         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40923         @glibcadj{} in references to the GNU C Library.
40924         * manual/charset.texi: Likewise.
40925         * manual/conf.texi: Likewise.
40926         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
40927         when not using those macros.
40928         * manual/creature.texi: Likewise.
40929         * manual/crypt.texi: Likewise.
40930         * manual/errno.texi: Likewise.
40931         * manual/filesys.texi: Likewise.
40932         * manual/header.texi: Likewise.
40933         * manual/install.texi: Likewise.
40934         * manual/intro.texi: Likewise.
40935         * manual/io.texi: Likewise.
40936         * manual/job.texi: Likewise.
40937         * manual/lang.texi: Likewise.
40938         * manual/libc.texiinfo: Likewise.
40939         * manual/llio.texi: Likewise.
40940         * manual/locale.texi: Likewise.
40941         * manual/maint.texi: Likewise.
40942         * manual/math.texi: Likewise.
40943         * manual/memory.texi: Likewise.
40944         * manual/message.texi: Likewise.
40945         * manual/nss.texi: Likewise.
40946         * manual/pattern.texi: Likewise.
40947         * manual/process.texi: Likewise.
40948         * manual/resource.texi: Likewise.
40949         * manual/search.texi: Likewise.
40950         * manual/setjmp.texi: Likewise.
40951         * manual/signal.texi: Likewise.
40952         * manual/socket.texi: Likewise.
40953         * manual/startup.texi: Likewise.
40954         * manual/stdio.texi: Likewise.
40955         * manual/string.texi: Likewise.
40956         * manual/sysinfo.texi: Likewise.
40957         * manual/syslog.texi: Likewise.
40958         * manual/terminal.texi: Likewise.
40959         * manual/time.texi: Likewise.
40960         * manual/users.texi: Likewise.
40961         * INSTALL: Regenerated.
40962         * NOTES: Regenerated.
40963         * sysdeps/gnu/errlist.c: Regenerated.
40964
40965 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
40966
40967         * include/dirent.h: Include <dirstream.h> before
40968         <dirent/dirent.h>.
40969
40970 2012-02-28  David S. Miller  <davem@davemloft.net>
40971
40972         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40973         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40974         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40975         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40976
40977 2012-02-27  David S. Miller  <davem@davemloft.net>
40978
40979         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40980         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40981         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40982         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40983
40984         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40985         frame pointer instead of stack pointer relative arg slot.
40986         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40987         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40988         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40989
40990 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
40991
40992         [BZ #3992]
40993         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40994
40995 2012-02-27  David S. Miller  <davem@davemloft.net>
40996
40997         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40998         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40999         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41000         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41001         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41002         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41003         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41004         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41005
41006 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41007
41008         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41009         later.  Allow versions 5-9.
41010         * configure: Regenerated.
41011         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41012         required minimum version and 4.6 as recommended version.  Do not
41013         mention bugs in GCC 2.7 and 2.8.
41014         * INSTALL: Regenerated.
41015
41016 2012-02-27  David S. Miller  <davem@davemloft.net>
41017
41018         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41019         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41020         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41021         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41022         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41023         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41024         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41025         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41026
41027         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41028         manipulate bits before adding and subtracting TWO112[sx].
41029         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41030
41031 2012-02-27  Roland McGrath  <roland@hack.frob.com>
41032
41033         [BZ #13775]
41034         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41035         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41036         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41037         being in POSIX, because they are in 1003.1-2008.
41038
41039         * rt/tst-aio.c: Include <fcntl.h>.
41040         * rt/tst-aio7.c: Likewise.
41041         * rt/tst-aio64.c: Likewise.
41042
41043         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41044
41045 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41046
41047         * manual/install.texi (--with-headers): Describe headers as
41048         interface headers, not private headers.
41049         (Specific advice for GNU/Linux systems): Describe use of headers
41050         from "make headers_install", not private headers from older
41051         kernels.
41052         * INSTALL: Regenerated.
41053         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41054         Change to 2.6.19.
41055         * sysdeps/unix/sysv/linux/configure: Regenerated.
41056
41057         * manual/llio.texi (fclean): Remove documentation.
41058
41059         * manual/Makefile (libc-texi-generated): New variable.  Include
41060         version.texi.
41061         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41062         $(libc-texi-generated), not duplicated list of files.
41063         (version.texi, stamp-version): New rules.
41064         (realclean): Remove $(libc-texi-generated), not individual files
41065         from that list.  Do not remove dir-add.texinfo.
41066         * manual/libc.texinfo: Comment out uses of edition numbers and
41067         references to printed manual.  Remove last-updated dates.
41068         (EDITION): Comment out.
41069         (ISBN): Likewise.
41070         (VERSION, UPDATED): Remove.
41071         (version.texi): Include.
41072
41073 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
41074
41075         * sysdeps/posix/spawni.c: Include <signal.h>.
41076         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41077         * sysdeps/pthread/aio_fsync.c: Likewise.
41078
41079 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
41080
41081         * conform/Makefile (tests): Run only when not cross-compiling and
41082         when fast-check is not defined.
41083
41084         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41085         * conform/data/limits.h-data: Fixes for POSIX2008.
41086         * conform/run-conformtest.sh: Run all tests.
41087         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41088         headers.
41089         * include/bits/dlfcn.h: Likewise.
41090         * include/langinfo.h: Likewise.
41091         * include/monetary.h: Likewise.
41092         * include/sys/poll.h: Likewise.
41093
41094         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41095         for __USE_GNU.
41096         * posix/spawn.h: Define __need_sigset_t.
41097         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41098         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41099         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
41100         to get sigevent_t only.
41101         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41102         only for __USE_GNU.
41103         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41104         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41105         process_vm_writev only for __USE_GNU.
41106         * termios/termios.h: Declare tcgetsid also for POSIX2008.
41107
41108         * conform/Makefile: For now ignore errors from run-conformtest.
41109         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
41110         POSIX to avoid namespace pollution.  Don't prepend headers.
41111         * conform/data/aio.h-data: Fixes for POSIX testing.
41112         * conform/data/fcntl.h-data: Likewise.
41113         * conform/data/glob.h-data: Likewise.
41114         * conform/data/grp.h-data: Likewise.
41115         * conform/data/pthread.h-data: Likewise.
41116         * conform/data/pwd.h-data: Likewise.
41117         * conform/data/signal.h-data: Likewise.
41118         * conform/data/spawn.h-data: Likewise.
41119         * conform/data/stdio.h-data: Likewise.
41120         * conform/data/stdlib.h-data: Likewise.
41121         * conform/data/stropts.h-data: Likewise.
41122         * conform/data/sys/mman.h-data: Likewise.
41123         * conform/data/sys/stat.h-data: Likewise.
41124         * conform/data/sys/types.h-data: Likewise.
41125         * conform/data/sys/wait.h-data: Likewise.
41126         * conform/data/time.h-data: Likewise.
41127         * conform/data/unistd.h-data: Likewise.
41128         * conform/data/utime.h-data: Likewise.
41129
41130         * io/sys/stat.h: fchmod was always in POSIX.
41131         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41132         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41133         * rt/aio.h: Define __need_timespec before including <time.h>.
41134         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41135         struct.  Add forward declaration of pthread_attr_t and use it in
41136         sigevent.
41137         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41138         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41139         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41140         always remove CLK_TCK definition.
41141
41142 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
41143
41144         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41145
41146 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
41147
41148         * conform/run-conformtest.sh: New file.
41149         * conform/Makefile: Run run-conformtest for tests.
41150         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
41151         support.
41152
41153         * conform/data/uchar.h-data: New file.
41154         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41155         * conform/data/arpa/inet.h-data: Likewise.
41156         * conform/data/assert.h-data: Likewise.
41157         * conform/data/complex.h-data: Likewise.
41158         * conform/data/cpio.h-data: Likewise.
41159         * conform/data/ctype.h-data: Likewise.
41160         * conform/data/dirent.h-data: Likewise.
41161         * conform/data/dlfcn.h-data: Likewise.
41162         * conform/data/errno.h-data: Likewise.
41163         * conform/data/fcntl.h-data: Likewise.
41164         * conform/data/float.h-data: Likewise.
41165         * conform/data/fmtmsg.h-data: Likewise.
41166         * conform/data/fnmatch.h-data: Likewise.
41167         * conform/data/ftw.h-data: Likewise.
41168         * conform/data/glob.h-data: Likewise.
41169         * conform/data/grp.h-data: Likewise.
41170         * conform/data/iconv.h-data: Likewise.
41171         * conform/data/inttypes.h-data: Likewise.
41172         * conform/data/langinfo.h-data: Likewise.
41173         * conform/data/libgen.h-data: Likewise.
41174         * conform/data/limits.h-data: Likewise.
41175         * conform/data/locale.h-data: Likewise.
41176         * conform/data/math.h-data: Likewise.
41177         * conform/data/monetary.h-data: Likewise.
41178         * conform/data/mqueue.h-data: Likewise.
41179         * conform/data/ndbm.h-data: Likewise.
41180         * conform/data/net/if.h-data: Likewise.
41181         * conform/data/netdb.h-data: Likewise.
41182         * conform/data/netinet/in.h-data: Likewise.
41183         * conform/data/nl_types.h-data: Likewise.
41184         * conform/data/poll.h-data: Likewise.
41185         * conform/data/pthread.h-data: Likewise.
41186         * conform/data/pwd.h-data: Likewise.
41187         * conform/data/regex.h-data: Likewise.
41188         * conform/data/sched.h-data: Likewise.
41189         * conform/data/search.h-data: Likewise.
41190         * conform/data/semaphore.h-data: Likewise.
41191         * conform/data/setjmp.h-data: Likewise.
41192         * conform/data/signal.h-data: Likewise.
41193         * conform/data/spawn.h-data: Likewise.
41194         * conform/data/stdarg.h-data: Likewise.
41195         * conform/data/stdio.h-data: Likewise.
41196         * conform/data/stdlib.h-data: Likewise.
41197         * conform/data/string.h-data: Likewise.
41198         * conform/data/strings.h-data: Likewise.
41199         * conform/data/stropts.h-data: Likewise.
41200         * conform/data/sys/ipc.h-data: Likewise.
41201         * conform/data/sys/mman.h-data: Likewise.
41202         * conform/data/sys/msg.h-data: Likewise.
41203         * conform/data/sys/resource.h-data: Likewise.
41204         * conform/data/sys/select.h-data: Likewise.
41205         * conform/data/sys/sem.h-data: Likewise.
41206         * conform/data/sys/shm.h-data: Likewise.
41207         * conform/data/sys/socket.h-data: Likewise.
41208         * conform/data/sys/stat.h-data: Likewise.
41209         * conform/data/sys/statvfs.h-data: Likewise.
41210         * conform/data/sys/time.h-data: Likewise.
41211         * conform/data/sys/timeb.h-data: Likewise.
41212         * conform/data/sys/times.h-data: Likewise.
41213         * conform/data/sys/types.h-data: Likewise.
41214         * conform/data/sys/uio.h-data: Likewise.
41215         * conform/data/sys/un.h-data: Likewise.
41216         * conform/data/sys/utsname.h-data: Likewise.
41217         * conform/data/sys/wait.h-data: Likewise.
41218         * conform/data/syslog.h-data: Likewise.
41219         * conform/data/tar.h-data: Likewise.
41220         * conform/data/termios.h-data: Likewise.
41221         * conform/data/utime.h-data: Likewise.
41222         * conform/data/utmpx.h-data: Likewise.
41223         * conform/data/varargs.h-data: Likewise.
41224         * conform/data/wchar.h-data: Likewise.
41225         * conform/data/wctype.h-data: Likewise.
41226         * conform/data/wordexp.h-data: Likewise.
41227
41228         * include/stropts.h: New file.
41229         * include/uchar.h: New file.
41230         * include/aio.h: Changes to allow conformtest.pl to use the headers.
41231         * include/assert.h: Likewise.
41232         * include/ctype.h: Likewise.
41233         * include/dirent.h: Likewise.
41234         * include/dlfcn.h: Likewise.
41235         * include/fcntl.h: Likewise.
41236         * include/fnmatch.h: Likewise.
41237         * include/glob.h: Likewise.
41238         * include/grp.h: Likewise.
41239         * include/libio.h: Likewise.
41240         * include/locale.h: Likewise.
41241         * include/math.h: Likewise.
41242         * include/net/if.h: Likewise.
41243         * include/netdb.h: Likewise.
41244         * include/netinet/in.h: Likewise.
41245         * include/pthread.h: Likewise.
41246         * include/pwd.h: Likewise.
41247         * include/regex.h: Likewise.
41248         * include/sched.h: Likewise.
41249         * include/search.h: Likewise.
41250         * include/setjmp.h: Likewise.
41251         * include/signal.h: Likewise.
41252         * include/stdio.h: Likewise.
41253         * include/stdlib.h: Likewise.
41254         * include/string.h: Likewise.
41255         * include/sys/cdefs.h: Likewise.
41256         * include/sys/mman.h: Likewise.
41257         * include/sys/msg.h: Likewise.
41258         * include/sys/resource.h: Likewise.
41259         * include/sys/select.h: Likewise.
41260         * include/sys/socket.h: Likewise.
41261         * include/sys/stat.h: Likewise.
41262         * include/sys/statvfs.h: Likewise.
41263         * include/sys/time.h: Likewise.
41264         * include/sys/times.h: Likewise.
41265         * include/sys/uio.h: Likewise.
41266         * include/sys/utsname.h: Likewise.
41267         * include/sys/wait.h: Likewise.
41268         * include/termios.h: Likewise.
41269         * include/time.h: Likewise.
41270         * include/ulimit.h: Likewise.
41271         * include/unistd.h: Likewise.
41272         * include/utime.h: Likewise.
41273         * include/wchar.h: Likewise.
41274         * include/wctype.h: Likewise.
41275         * include/wordexp.h: Likewise.
41276
41277         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41278
41279         * time/time.h: TIME_UTC must be a macro.
41280         Make timespec_get available for ISO C11 only as well.
41281
41282 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
41283
41284         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41285         Reported by Peng Haitao <penght@cn.fujitsu.com>.
41286
41287 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41288
41289         * configure.in: Use -o not -a in test for unsupported multi-arch.
41290
41291 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41292
41293         * manual/texinfo.tex: Update to version 2012-01-19.16.
41294
41295 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41296
41297         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41298
41299 2012-02-24  Roland McGrath  <roland@hack.frob.com>
41300
41301         [BZ #13738]
41302         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41303         * manual/fdl-1.3.texi: New file.
41304         * manual/fdl-1.1.texi: File removed.
41305
41306         [BZ #13738]
41307         * manual/libc.texinfo (FDL_VERSION): New @set.
41308         Use it for mention of FDL in cover text.
41309         (Documentation License): Use it in @include file name.
41310
41311 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41312             Roland McGrath  <roland@hack.frob.com>
41313
41314         [BZ #5461]
41315         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41316         (not LONG_LONG_MAX and LONG_LONG_MIN.
41317         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41318         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
41319         name.
41320         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41321
41322 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41323
41324         [BZ #2547]
41325         [BZ #11365]
41326         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41327         manipulate bits before adding and subtracting TWO23[sx].
41328         * math/libm-test.inc (nearbyint_test): Add more tests.
41329
41330 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41331
41332         [BZ #2548]
41333         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41334         bits before adding and subtracting TWO23[sx].
41335         * math/libm-test.inc (rint_test): Add more tests.
41336         (rint_test_tonearest): Likewise.
41337         (rint_test_towardzero): Likewise.
41338         (rint_test_downward): Likewise.
41339         (rint_test_upward: Likewise.
41340
41341 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41342
41343         [BZ #10110]
41344         * include/stdc-predef.h: New file.  Extracted from features.h.
41345         * include/features.h: Include stdc-predef.h.
41346         * Makefile (headers): Add stdc-predef.h.
41347         * CONFORMANCE (Compiler limitations): Update.
41348
41349 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41350
41351         * manual/libc.texinfo (VERSION, UPDATED): Revert.
41352
41353 2012-02-21  David S. Miller  <davem@davemloft.net>
41354
41355         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41356         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41357
41358 2012-02-20  David S. Miller  <davem@davemloft.net>
41359
41360         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41361         using a normal save/restore sequence, rather than allocating a
41362         dummy stack frame just to store a frame pointer and restore.
41363         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41364
41365 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41366
41367         * manual/install.texi: Fix stray word in line-wrapped comment.
41368
41369 2012-02-20  David S. Miller  <davem@davemloft.net>
41370
41371         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41372         both binutils and gcc support GOTDATA.
41373
41374         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41375         "rd %pc" in the PIC register setup sequences.
41376
41377         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41378         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41379         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41380         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41381         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41382         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41383         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41384         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41385         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41386         (SYSCALL_ERROR_HANDLER): Likewise.
41387         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41388         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41389         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41390         (SYSCALL_ERROR_HANDLER): Likewise.
41391
41392         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41393         (HAVE_GCC_GOTDATA): New.
41394         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41395         relocation support in both binutils and gcc.
41396         * sysdeps/sparc/elf/configure: Regenerate.
41397
41398         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41399         * sysdeps/sparc/sparc32/elf/configure: Delete.
41400         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41401         * sysdeps/sparc/sparc64/elf/configure: Delete.
41402         * sysdeps/sparc/elf/configure.in: New file.
41403         * sysdeps/sparc/elf/configure: Generate.
41404
41405         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41406         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41407         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41408         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41409         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41410
41411 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41412
41413         * manual/install.texi: Do not mention specific glibc version
41414         numbers.
41415         * manual/libc.texinfo (VERSION, UPDATED): Update.
41416         (@copying): Use @copyright{} and range of years.
41417
41418 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41419
41420         [BZ #13695]
41421         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41422         [crti.S not in sysdirs] (generated): Do not append.
41423         [crti.S not in sysdirs] (omit-deps): Likewise.
41424         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41425         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41426         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41427         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41428         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41429         Likewise.
41430         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41431         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41432         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41433         * csu/defs.awk: Remove file.
41434         * sysdeps/generic/initfini.c: Likewise.
41435         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41436         variable.
41437         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41438         Likewise.
41439
41440 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41441
41442         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41443         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41444         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41445         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41446         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41447         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41448         <bits/epoll.h>.
41449         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41450         (__EPOLL_PACKED): Define to empty if not defined by
41451         <bits/epoll.h>.
41452         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41453         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41454         bits/epoll.h.
41455
41456 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41457
41458         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41459         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41460         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41461         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41462         <bits/timerfd.h>.
41463         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41464         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41465         bits/timerfd.h.
41466
41467 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41468
41469         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41470         in C locale.
41471         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41472         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41473         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41475
41476 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
41477
41478         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41479         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41480
41481 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
41482
41483         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41484         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41485         defined.
41486         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41487         Likewise.
41488         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41489         entry for 2.16.
41490
41491 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
41492
41493         * math/w_acos.c: Use non-signaling floating-point comparisons.
41494         * math/w_acosf.c: Likewise.
41495         * math/w_acosh.c: Likewise.
41496         * math/w_acoshf.c: Likewise.
41497         * math/w_acoshl.c: Likewise.
41498         * math/w_acosl.c: Likewise.
41499         * math/w_asin.c: Likewise.
41500         * math/w_asinf.c: Likewise.
41501         * math/w_asinl.c: Likewise.
41502         * math/w_atanh.c: Likewise.
41503         * math/w_atanhf.c: Likewise.
41504         * math/w_atanhl.c: Likewise.
41505         * math/w_exp2.c: Likewise.
41506         * math/w_exp2f.c: Likewise.
41507         * math/w_exp2l.c: Likewise.
41508         * math/w_j0.c: Likewise.
41509         * math/w_j0f.c: Likewise.
41510         * math/w_j0l.c: Likewise.
41511         * math/w_j1.c: Likewise.
41512         * math/w_j1f.c: Likewise.
41513         * math/w_j1l.c: Likewise.
41514         * math/w_jn.c: Likewise.
41515         * math/w_jnf.c: Likewise.
41516         * math/w_log.c: Likewise.
41517         * math/w_log10.c: Likewise.
41518         * math/w_log10f.c: Likewise.
41519         * math/w_log10l.c: Likewise.
41520         * math/w_log2.c: Likewise.
41521         * math/w_log2f.c: Likewise.
41522         * math/w_log2l.c: Likewise.
41523         * math/w_logf.c: Likewise.
41524         * math/w_logl.c: Likewise.
41525         * math/w_sqrt.c: Likewise.
41526         * math/w_sqrtf.c: Likewise.
41527         * math/w_sqrtl.c: Likewise.
41528         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41529         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41530         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41531         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41532         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41533
41534 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41535
41536         [BZ #9739]
41537         * manual/string.texi (strnlen): Use correct parameter name in
41538         equivalent expression.
41539
41540 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41541
41542         [BZ #11174]
41543         * manual/users.texi (seteuid): Consistently use neweuid for
41544         argument name.
41545
41546 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41547
41548         [BZ #13704]
41549         * manual/nss.texi (Services in the NSS configuration): Correct
41550         list of services in example configuration file.
41551
41552 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
41553
41554         [BZ #11322]
41555         * manual/arith.texi: Remove statements about negative zero
41556         behaving identically to zero.
41557
41558 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
41559
41560         [BZ #5993]
41561         * manual/install.texi: Do not document upgrading from libc5.
41562
41563 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
41564
41565         [BZ #4596]
41566         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41567
41568 2012-02-18  David S. Miller  <davem@davemloft.net>
41569
41570         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41571         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41572         %o7 across the call.
41573         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41574         instead.
41575         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41576         SETUP_PIC_REG_LEAF.
41577         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41578         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41579         * sysdeps/sparc/crtn.S: Likewise.
41580
41581 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
41582
41583         * aout/Makefile: Remove.
41584
41585 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
41586
41587         [BZ #13058]
41588         * manual/examples/argp-ex1.c (main): Format definition in GNU
41589         style.
41590         * manual/examples/argp-ex2.c (main): Likewise.
41591         * manual/examples/argp-ex3.c (main): Likewise.
41592         * manual/examples/argp-ex4.c (main): Likewise.
41593         * manual/examples/longopt.c (main): Use new-style prototype
41594         definition.
41595         * manual/examples/strncat.c (main): Specify return type and use
41596         (void) for arguments.
41597         * manual/examples/subopt.c (main): Use char **argv argument.
41598
41599 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41600
41601         [BZ #5077]
41602         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41603         rounding modes.
41604
41605 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
41606
41607         [BZ #6907]
41608         * manual/string.texi (strchr): Change when strchrnul is
41609         recommended.
41610
41611 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
41612
41613         [BZ #174]
41614         * manual/locale.texi (setlocale): Document LOCPATH.
41615
41616 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41617
41618         [BZ #10210]
41619         * manual/process.texi (execle): Move @dots{} before last argument.
41620
41621 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
41622
41623         [BZ #12047]
41624         * manual/charset.texi (Generic Charset Conversion): Fix typo
41625         (LC_TYPE -> LC_CTYPE).
41626
41627 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
41628
41629         [BZ #5805]
41630         * manual/arith.texi (scalbn): Use @var{} on parameter names.
41631         (scalbnf): Likewise.
41632         (scalbnl): Likewise.
41633         (scalbln): Likewise.
41634         (scalblnf): Likewise.
41635         (scalblnl): Likewise.
41636         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41637         (vwarnx): Likewise.
41638         (verr): Likewise.
41639         (verrx): Likewise.
41640         * manual/filesys.texi (telldir): Use braces around return type.
41641         * manual/llio.texi (mmap): Add space after comma.
41642         (mmap64): Likewise.
41643         * manual/math.texi (jn): Use @var{} on parameter names.
41644         (jnf): Likewise.
41645         (jnl): Likewise.
41646         (yn): Likewise.
41647         (ynf): Likewise.
41648         (ynl): Likewise.
41649         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41650         line.
41651         * manual/resource.texi (ulimit): Use @dots{} instead of literal
41652         "...".
41653         (sched_get_priority_min): Remove semicolon on @deftypefun line.
41654         (sched_get_priority_max): Likewise.
41655         * manual/signal.texi (sigvec): Add space after comma.
41656         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41657         names.
41658         (if_indextoname): Likewise.
41659         (if_freenameindex): Likewise.
41660         (sendto): Use ',' instead of '.' in prototype.
41661         * manual/startup.texi (syscall): Use @dots{} instead of literal
41662         "...".
41663         * manual/stdio.texi (__fpending): Separate initial words of
41664         paragraph from @deftypefun line.
41665         * manual/syslog.texi (syslog): Use @dots{} instead of literal
41666         "...".
41667         (vsyslog): Use @var{} on parameter names.
41668         * manual/terminal.texi (stty): Use @var{} on parameter names.
41669         * manual/users.texi (getutmp): Use @var{} on parameter names.
41670         (getutmpx): Likewise.
41671
41672 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41673
41674         [BZ #6884]
41675         * manual/stdio.texi (fopen): Fix typos in description of
41676         ",ccs=STRING".
41677
41678 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
41679
41680         [BZ #4026]
41681         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41682         get clock_id definition.
41683
41684 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
41685
41686         [BZ #4822]
41687         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41688         (madvise): Cast every argument to void on its own.
41689
41690 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41691
41692         [BZ #9902]
41693         * manual/startup.texi (Exit Status): Fix typo.
41694
41695 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41696
41697         [BZ #10140]
41698         * manual/examples/argp-ex1.c: Include <stdlib.h>.
41699         * manual/examples/argp-ex2.c: Likewise.
41700         * manual/examples/argp-ex3.c: Likewise.
41701
41702 2012-02-16  Richard Henderson  <rth@redhat.com>
41703
41704         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41705         * sysdeps/s390/s390-32/initfini.c: Remove.
41706         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41707         * sysdeps/s390/s390-64/initfini.c: Remove.
41708
41709 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41710
41711         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41712         compiler output for sysdeps/generic/initfini.c.
41713         * sysdeps/sh/elf/initfini.c: Remove file.
41714
41715 2012-02-16  David S. Miller  <davem@davemloft.net>
41716
41717         [BZ #11494]
41718         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41719
41720         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41721         * sysdeps/sparc/crti.S: New file.
41722         * sysdeps/sparc/crtn.S: New file.
41723         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41724         * sysdeps/sparc/sparc64/Makefile: Likewise.
41725
41726 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
41727
41728         [BZ #3335]
41729         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41730
41731 2012-02-15  Roland McGrath  <roland@hack.frob.com>
41732
41733         [BZ #4822]
41734         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41735
41736         * mach/devstream.c (cookie_io_functions_t): Macro removed.
41737         (write, read, close): Likewise.
41738         Patch by Aurelien Jarno <aurelien@aurel32.net>.
41739
41740 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
41741
41742         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41743         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41744         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41745         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41746         <bits/signalfd.h>.
41747         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41748         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41749         bits/signalfd.h.
41750
41751 2012-02-14  Marek Polacek  <polacek@redhat.com>
41752
41753         * sysdeps/x86_64/crti.S: New file.
41754         * sysdeps/x86_64/crtn.S: New file.
41755         * sysdeps/x86_64/elf/initfini.c: Remove file.
41756
41757 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
41758
41759         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41760         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41761         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41762         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41763         <bits/inotify.h>.
41764         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41765         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41766         bits/inotify.h.
41767
41768 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
41769
41770         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41771         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41772         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41773         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41774         <bits/eventfd.h>.
41775         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41776         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41777         bits/eventfd.h.
41778
41779 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
41780
41781         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41782         __feraiseexcept instead of feraiseexcept.
41783
41784         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41785         nanosleep invocations.
41786         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41787         strings, and add error checking for a nanosleep invocations.
41788
41789 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
41790
41791         Replace FSF snail mail address with URLs, as per GNU coding standards.
41792         Most of the snail mail addresses were wrong anyway, and omitting
41793         them makes the source code easier to maintain.  Almost all of the
41794         changes are to license notices and to locale LC_IDENTIFICATION
41795         addresses, except for this one:
41796         * manual/libc.texinfo: In "Published by", give the FSF's URL,
41797         not its snail mail address.
41798
41799 2012-02-09  Richard Henderson  <rth@twiddle.net>
41800
41801         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41802         of kernel-features.h.
41803
41804         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41805
41806 2012-02-08  Marek Polacek  <polacek@redhat.com>
41807
41808         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41809         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41810         * sysdeps/gnu/_G_config.h: Likewise.
41811         * sysdeps/generic/_G_config.h: Likewise.
41812
41813 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
41814
41815         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41816         tests.
41817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41818
41819         * sysdeps/powerpc/powerpc32/crti.S: New file.
41820         * sysdeps/powerpc/powerpc32/crtn.S: New file.
41821         * sysdeps/powerpc/powerpc64/crti.S: New file.
41822         * sysdeps/powerpc/powerpc64/crtn.S: New file.
41823
41824         * Makeconfig (have-initfini): Don't set.
41825         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41826         * configure.in (nopic_initfini): Don't substitute.
41827         * config.h.in (HAVE_INITFINI): Don't #undef.
41828         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41829         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41830
41831 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
41832
41833         Support crti.S and crtn.S provided directly by architectures.
41834         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41835         [crti.S in sysdirs] (omit-deps): Likewise.
41836         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41837         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41838         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41839         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41840         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41841         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41842         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41843         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41844         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41845         compiler output for sysdeps/generic/initfini.c.
41846         * sysdeps/i386/elf/Makefile: Remove file.
41847         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41848
41849 2012-02-07  Marek Polacek  <polacek@redhat.com>
41850
41851         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41852         * sysdeps/gnu/_G_config.h: Likewise.
41853         * sysdeps/mach/hurd/_G_config.h: Likewise.
41854
41855 2012-02-07  Marek Polacek  <polacek@redhat.com>
41856
41857         * math/Makefile (tests): Add tst-CMPLX2.
41858         * math/tst-CMPLX2.c: New file.
41859
41860 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
41861
41862         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41863
41864         * math/libm-test.inc (jn_test): Add missing L suffix.
41865
41866 2012-02-06  Marek Polacek  <polacek@redhat.com>
41867
41868         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41869         * sysdeps/i386/fpu/e_powf.S: Likewise.
41870         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41871         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41872         * sysdeps/i386/fpu/e_acosh.S: Likewise.
41873         * sysdeps/i386/fpu/e_pow.S: Likewise.
41874         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41875         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41876         * sysdeps/i386/fpu/s_expm1.S: Likewise.
41877         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41878         * sysdeps/i386/fpu/e_log2.S: Likewise.
41879         * sysdeps/i386/fpu/e_log2l.S: Likewise.
41880         * sysdeps/i386/fpu/e_scalb.S: Likewise.
41881         * sysdeps/i386/fpu/e_powl.S: Likewise.
41882         * sysdeps/i386/fpu/s_log1p.S: Likewise.
41883         * sysdeps/i386/fpu/e_log10f.S: Likewise.
41884         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41885         * sysdeps/i386/fpu/e_logl.S: Likewise.
41886         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41887         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41888         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41889         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41890         * sysdeps/i386/fpu/e_log2f.S: Likewise.
41891         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41892         * sysdeps/i386/fpu/e_log.S: Likewise.
41893         * sysdeps/i386/fpu/s_cexp.S: Likewise.
41894         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41895         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41896         * sysdeps/i386/fpu/e_logf.S: Likewise.
41897         * sysdeps/i386/fpu/e_log10l.S: Likewise.
41898         * sysdeps/i386/fpu/e_atanh.S: Likewise.
41899         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41900         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41901         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41902         * sysdeps/i386/fpu/e_log10.S: Likewise.
41903         * sysdeps/i386/fpu/s_frexp.S: Likewise.
41904         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41905         * sysdeps/i386/fpu/s_asinh.S: Likewise.
41906         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41907         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41908         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41909         * sysdeps/i386/asm-syntax.h: Likewise.
41910         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41911         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41912         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41913         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41914         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41915         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41916         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41917         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41918         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41919         * sysdeps/powerpc/sysdep.h: Likewise.
41920         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41921         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41922
41923 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
41924
41925         [BZ #411]
41926         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41927
41928 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
41929
41930         * sysdeps/i386/sysdep.h: Include <features.h>.
41931         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41932         version.
41933
41934 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
41935
41936         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41937         Define.
41938         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41939         LOAD_PIC_REG_STR.
41940
41941 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
41942
41943         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41944         (SETUP_PIC_REG): Use GET_PC_THUNK.
41945         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41946         macro.
41947
41948 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
41949
41950         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41951         for non-PIC compilation.
41952         (SETUP_PIC_REG): Add .p2align directive.
41953         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41954         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41955         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41956         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41957         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41958         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41959         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41960         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41961         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41962         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41963         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41964         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41965         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41966         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41967         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41968         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41969         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41970         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41971         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41972         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41973         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41974         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41975         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41976         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41977         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41978         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41979         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41980         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41981         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41982         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41983         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41984         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41985         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41986         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41987         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41988         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41989         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41990         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41991         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41992         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41993         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41994
41995 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
41996
41997         * math/tst-CMPLX.c: Include <stdio.h>.
41998
41999 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
42000
42001         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42002         float.
42003         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42004         * sysdeps/sparc/bits/mathdef.h: Likewise.
42005
42006 2012-01-31  Marek Polacek  <polacek@redhat.com>
42007
42008         * libio/libio.h: Don't define _PARAMS.
42009         * locale/programs/config.h: Don't define PARAMS.
42010         * stdlib/strtol_l.c: Likewise.
42011         (__strtol_l): Remove PARAMS from the prototype.
42012
42013 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
42014
42015         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
42016         names.  Just use the correct names.  Remove unnecessary wrapper
42017         functions.
42018         * malloc/arena.c: Likewise.
42019         * malloc/hooks.c: Likewise.
42020
42021         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42022         ARENA_TEST says not to.  Simplify test for creation of a new arena.
42023         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42024
42025 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
42026
42027         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42028         into tail calls.
42029         (update_get_addr): New function.
42030         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42031         GET_ADDR_MODULE parameter.
42032
42033 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42034
42035         * crypt/cert.c: Remove __STDC__ conditionals.
42036         * crypt/crypt-entry.c: Likewise.
42037         * crypt/crypt_util.c: Likewise.
42038         * libio/filedoalloc.c: Likewise.
42039         * libio/fileops.c: Likewise.
42040         * libio/genops.c: Likewise.
42041         * libio/iofclose.c: Likewise.
42042         * libio/iofdopen.c: Likewise.
42043         * libio/iofopen.c: Likewise.
42044         * libio/iofopen64.c: Likewise.
42045         * libio/iogetdelim.c: Likewise.
42046         * libio/iopopen.c: Likewise.
42047         * libio/obprintf.c: Likewise.
42048         * libio/oldfileops.c: Likewise.
42049         * libio/oldiofclose.c: Likewise.
42050         * libio/oldiofdopen.c: Likewise.
42051         * libio/oldiofopen.c: Likewise.
42052         * libio/oldiopopen.c: Likewise.
42053         * libio/wfiledoalloc.c: Likewise.
42054         * libio/wgenops.c: Likewise.
42055         * locale/programs/xmalloc.c: Likewise.
42056         * misc/syslog.c: Likewise.
42057         * stdio-common/xbug.c: Likewise.
42058         * string/memchr.c: Likewise.
42059         * string/memcmp.c: Likewise.
42060         * string/memrchr.c: Likewise.
42061         * string/rawmemchr.c: Likewise.
42062         * sysdeps/posix/getcwd.c: Likewise.
42063         * time/strftime_l.c: Likewise.
42064
42065 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42066
42067         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42068         * config.make.in (config-cflags-sse2avx): Define.
42069         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42070         Fix typo.
42071
42072 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
42073
42074         * scripts/config.guess: Update from upstream config git repository.
42075         * scripts/config.sub: Likewise.
42076
42077 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
42078
42079         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42080         (EM_NUM): Update.
42081         (R_TILEPRO_*, R_TILEGX_*): New macros.
42082
42083         * scripts/firstversions.awk: Fix bug in version range handling.
42084
42085         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42086
42087         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42088
42089         * include/sys/epoll.h: New file.
42090         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42091         libc_hidden_def.
42092
42093 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
42094
42095         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42096         Avoid unnecessary __WORDSIZE == 64 test.
42097         (fmaxf): Use VEX format if possible.
42098         (fmax): Likewise.
42099         (fminf): Likewise.
42100         (fmin): Likewise.
42101
42102         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42103         * math/math_private.h: Remove libc_fegetround* and
42104         libc_fesetround*.
42105         * sysdeps/i386/configure.in: Check for -msse2avx.
42106         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42107         also if SSE2AVX is defined.
42108         Remove libc_fegetround* and libc_fesetround*.
42109         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42110         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
42111         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42112         of HAS_YMM_USABLE.
42113         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42114         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42115         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42116         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42117         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42118
42119         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42120
42121 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42122
42123         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42124         size is not set.
42125         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42126
42127 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
42128
42129         [BZ #13618]
42130         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42131         relocation.
42132         * Makeconfig (libm): Define.
42133         * elf/Makefile: Add rules to build and run tst-relsort1.
42134         * elf/tst-relsort1.c: New file.
42135         * elf/tst-relsort1mod1.c: New file.
42136         * elf/tst-relsort1mod2.c: New file.
42137
42138 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
42139
42140         * math/s_ldexp.c: Remove __STDC__ conditionals.
42141         * math/s_ldexpf.c: Likewise.
42142         * math/s_ldexpl.c: Likewise.
42143         * math/s_nextafter.c: Likewise.
42144         * math/s_nexttowardf.c: Likewise.
42145         * math/s_significand.c: Likewise.
42146         * math/s_significandf.c: Likewise.
42147         * math/s_significandl.c: Likewise.
42148         * math/w_jnl.c: Likewise.
42149         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42150         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42151         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42152         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42153         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42154         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42155         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42156         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42157         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42158         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42159         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42160         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42161         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42162         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42163         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42164         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42165         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42166         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42167         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42168         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42169         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42170         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42171         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42172         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42173         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42174         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42175         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42176         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42177         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42178         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42179         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42180         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42181         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42182         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42183         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42184         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42185         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42186         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42187         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42188         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42189         * sysdeps/ieee754/k_standard.c: Likewise.
42190         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42191         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42192         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42193         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42194         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42195         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42196         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42197         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42198         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42199         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42200         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42201         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42202         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42203         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42204         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42205         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42206         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42207         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42208         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42209         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42210         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42211         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42212         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42213         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42214         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42215         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42216         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42217         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42218         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42219         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42220         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42221         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42222         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42223         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42224         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42225         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42226         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42227         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42228         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42229         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42230         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42231         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42232         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42233         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42234         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42235         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42236         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42237         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42238         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42239         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42240         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42241         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42242         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42243         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42244         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42245         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42246         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42247         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42248         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42249         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42250         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42251         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42252         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42253         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42254         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42255         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42256         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42257         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42258         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42259         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42260         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42261         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42262         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42263         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42264         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42265         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42266         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42267         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42268         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42269         * sysdeps/ieee754/s_matherr.c: Likewise.
42270         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42271         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42272         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42273         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42274
42275 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42276
42277         * crypt/md5.h: Remove __STDC__ conditionals.
42278         * libio/libioP.h: Likewise.
42279         * locale/programs/config.h: Likewise.
42280         * sysdeps/generic/sysdep.h: Likewise.
42281         * sysdeps/i386/asm-syntax.h: Likewise.
42282         * sysdeps/s390/asm-syntax.h: Likewise.
42283         * sysdeps/unix/sysdep.h: Likewise.
42284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42286
42287 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42288
42289         * libio/libio.h: Remove __STDC__ conditionals.
42290         * malloc/obstack.h: Likewise.
42291         * math/complex.h: Likewise.
42292         * math/math.h: Likewise.
42293         * sysdeps/generic/_G_config.h: Likewise.
42294         * sysdeps/gnu/_G_config.h: Likewise.
42295         * sysdeps/mach/hurd/_G_config.h: Likewise.
42296         * sysdeps/powerpc/bits/mathdef.h: Likewise.
42297         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42298         * sysdeps/sparc/bits/mathdef.h: Likewise.
42299
42300 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
42301
42302         [BZ #13583]
42303         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42304         Clean up HAS_* macros.
42305         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42306         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42307         possible.
42308         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42309         HAS_AVX.
42310         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42311         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42312         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42313         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42314         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42315
42316 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
42317
42318         * elf/tst-unique3.cc (gets): Remove declaration.
42319         * elf/tst-unique3lib.cc (gets): Likewise.
42320         * elf/tst-unique3lib2.cc (gets): Likewise.
42321         * elf/tst-unique4.cc (gets): Likewise.
42322
42323 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
42324
42325         * include/stdio.h: Add C++ protection.  Add gets declarations and
42326         definitions.
42327         * debug/tst-chk1.c: Don't declare gets here.
42328         * stdio-common/tst-gets.c: Likewise.
42329
42330 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42331
42332         * posix/glob: Remove directory.
42333
42334 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42335
42336         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42337
42338 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
42339
42340         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42341         of the non-standard EPFNOSUPPORT.
42342
42343 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42344
42345         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42346         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42347         ANYWHERE set to 1 only on KERN_NO_SPACE error.
42348
42349 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
42350
42351         * wcsmbs/uchar.h: Test __STDC_VERSION__.
42352
42353 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
42354
42355         * nscd/aicache.c (addhstaiX): Do not cache negative results of
42356         transient errors.
42357         * nscd/grpcache.c (cache_addgr): Likewise.
42358         * nscd/hstcache.c (cache_addhst): Likewise.
42359         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42360         * nscd/pwdcache.c (cache_addpw): Likewise.
42361         * nscd/servicescache.c (cache_addserv): Likewise.
42362
42363 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
42364
42365         * malloc/malloc.c: Various cleanups.
42366         * malloc/hooks.c: Likewise.
42367
42368         * stdlib/Makefile (tests): Add bug-fmtmsg1.
42369         * stdlib/bug-fmtmsg1.c: New file.
42370
42371         * stdlib/fmtmsg.c (init): Add missing unlock.
42372         Patch by Peng Haitao <penght@cn.fujitsu.com>.
42373
42374 2012-01-12  Marek Polacek  <polacek@redhat.com>
42375
42376         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42377         and _GNU_SOURCE.
42378
42379 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
42380
42381         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42382         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42383         macro to ensure uniqueness of label name.
42384         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42385         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42386
42387 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
42388
42389         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42390
42391         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42392         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42393         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42394         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42395
42396 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
42397
42398         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42399
42400         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42401         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42402         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42403
42404         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42405
42406         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42407         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42408         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42409         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42410
42411         * math/bits/math-finite.h: Add ldexp support.
42412
42413 2012-01-10  Marek Polacek  <polacek@redhat.com>
42414
42415         * locale/programs/localedef.h (show_archive_content): Add noreturn
42416         attribute.
42417
42418 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
42419
42420         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42421
42422 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42423
42424         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42425
42426         * io/Makefile (headers): Add bits/poll2.h.
42427
42428 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
42429
42430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42431         typo #include statement.
42432
42433 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42434
42435         * include/sys/cdefs.h: Define __attribute_alloc_size.
42436         * catgets/gencat.c: Add alloc_size attribute and apply consistently
42437         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42438         * elf/pldd.c: Likewise.
42439         * iconv/iconv_charmap.c: Likewise.
42440         * iconv/iconvconfig.c: Likewise.
42441         * iconv/strtab.c: Likewise.
42442         * locale/programs/locale.c: Likewise.
42443         * locale/programs/localedef.h: Likewise.
42444         * locale/programs/simple-hash.c: Likewise.
42445         * nscd/nscd.h: Likewise.
42446         * nss/makedb.c: Likewise.
42447         * sysdeps/generic/ldconfig.h: Likewise.
42448         * locale/programs/localedef.c: Remove xmalloc prototype.
42449         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42450
42451 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42452
42453         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42454         appropriate.
42455
42456 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42457
42458         * math/Makefile (tests): Add tst-CMPLX.
42459         * math/tst-CMPLX.c: New file.
42460
42461         * math/complex.h (CMPLXL): Fix typo.
42462
42463         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42464         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42465         GLIBC_2.16.
42466         * debug/tst-chk1.c: Add poll and ppoll tests.
42467         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42468         * include/sys/poll.h: Add hidden proto for ppoll.
42469         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42470         * sysdeps/mach/hurd/ppoll.c: Likewise.
42471         * io/ppoll.c: Likewise.
42472         * debug/poll_chk.c: New file.
42473         * debug/ppoll_chk.c: New file.
42474         * include/bits/poll2.h: New file.
42475         * io/bits/poll2.h: New file.
42476
42477         [BZ #1350]
42478         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42479
42480         * configure.in: static is always set to yes.  Remove.
42481         * config.make.in: Don't set build-static.
42482         * Makeconfig: Remove use of build-static.
42483         * dlfcn/Makefile: Likewise.
42484         * elf/Makefile: Likewise.
42485         * math/Makefile: Likewise.
42486         * misc/Makefile: Likewise.
42487         * nptl/Makefile: Likewise.
42488         * sysdeps/mach/hurd/Makefile: Likewise.
42489
42490         * configure.in: PWD_P is not used anymore.
42491         * config.make.in: Remove PWD_P entry.
42492
42493         * configure.in: Remove last remnants of RANLIB.
42494         No need to check for signed size_t anymore.
42495         Don't set libc_commonpagesize and libc_relro_required here for Alpha
42496         and IA-64.
42497         Remove __builtin_expect test because we require at least gcc 3.4.
42498         * aclocal.m4: Likewise.
42499
42500         * wcsmbs/mbrtoc16.c: Implement using towc function.
42501         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42502         * wcsmbs/wcsmbsload.c: Likewise.
42503         * iconv/gconv_simple.c: Likewise.
42504         * iconv/gconv_int.h: Likewise.
42505         * iconv/gconv_builtin.h: Likewise.
42506         * iconv/iconv_prog.c: Remove CHAR16 handling.
42507
42508         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42509
42510         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42511
42512         * configure.in: Remove --with-elf and --enable-bounded options.
42513         Dont set base_machine for ia64.  More non-ELF conditions removed.
42514         Remove testing and setting of leading underscore information.
42515         * config.make.in (build-bounded): Set to no.
42516         * config.h.in: Remove NO_UNDERSCORES entry.
42517         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
42518         them.
42519         * csu/start.c: Remove !NO_UNDERSCORE code.
42520         * locale/localeinfo.h: Likewise.
42521         * sysdeps/generic/machine-gmon.h: Likewise.
42522         * sysdeps/generic/sysdep.h: Likewise.
42523         * sysdeps/i386/sysdep.h: Likewise.
42524         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42525         * sysdeps/mach/sysdep.h: Likewise.
42526         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42527         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42528         * sysdeps/sh/sysdep.h: Likewise.
42529         * sysdeps/sparc/sparc32/alloca.S: Likewise.
42530         * sysdeps/unix/i386/sysdep.S: Likewise.
42531         * sysdeps/unix/sparc/start.c: Likewise.
42532         * sysdeps/unix/sparc/sysdep.S: Likewise.
42533         * sysdeps/unix/sparc/sysdep.h: Likewise.
42534         * sysdeps/unix/start.c: Likewise.
42535         * sysdeps/unix/x86_64/sysdep.S: Likewise.
42536         * sysdeps/x86_64/sysdep.h: Likewise.
42537
42538 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
42539
42540         [BZ #13553]
42541         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42542         for non-gcc.
42543         * argp/argp-fmtstream.h: Use const instead __const.
42544         * argp/argp.h: Likewise.
42545         * assert/assert.h: Likewise.
42546         * bits/fenv.h: Likewise.
42547         * bits/sched.h: Likewise.
42548         * bits/sigset.h: Likewise.
42549         * bits/sigthread.h: Likewise.
42550         * catgets/nl_types.h: Likewise.
42551         * conform/data/pthread.h-data: Likewise.
42552         * crypt/crypt-private.h: Likewise.
42553         * crypt/crypt.h: Likewise.
42554         * crypt/crypt_util.c: Likewise.
42555         * ctype/ctype.h: Likewise.
42556         * debug/execinfo.h: Likewise.
42557         * debug/mbsnrtowcs_chk.c: Likewise.
42558         * debug/mbsrtowcs_chk.c: Likewise.
42559         * debug/wcsnrtombs_chk.c: Likewise.
42560         * debug/wcsrtombs_chk.c: Likewise.
42561         * debug/wcstombs_chk.c: Likewise.
42562         * dirent/dirent.h: Likewise.
42563         * dlfcn/dlfcn.h: Likewise.
42564         * elf/neededtest4.c: Likewise.
42565         * grp/grp.h: Likewise.
42566         * gshadow/gshadow.h: Likewise.
42567         * iconv/gconv.h: Likewise.
42568         * iconv/gconv_int.h: Likewise.
42569         * iconv/gconv_simple.c: Likewise.
42570         * iconv/iconv.h: Likewise.
42571         * iconv/loop.c: Likewise.
42572         * iconv/skeleton.c: Likewise.
42573         * include/aio.h: Likewise.
42574         * include/aliases.h: Likewise.
42575         * include/argz.h: Likewise.
42576         * include/arpa/inet.h: Likewise.
42577         * include/assert.h: Likewise.
42578         * include/dirent.h: Likewise.
42579         * include/dlfcn.h: Likewise.
42580         * include/execinfo.h: Likewise.
42581         * include/fcntl.h: Likewise.
42582         * include/fenv.h: Likewise.
42583         * include/glob.h: Likewise.
42584         * include/grp.h: Likewise.
42585         * include/libintl.h: Likewise.
42586         * include/mntent.h: Likewise.
42587         * include/netdb.h: Likewise.
42588         * include/pwd.h: Likewise.
42589         * include/rpc/netdb.h: Likewise.
42590         * include/sched.h: Likewise.
42591         * include/search.h: Likewise.
42592         * include/shadow.h: Likewise.
42593         * include/signal.h: Likewise.
42594         * include/stdio.h: Likewise.
42595         * include/stdlib.h: Likewise.
42596         * include/string.h: Likewise.
42597         * include/sys/socket.h: Likewise.
42598         * include/sys/stat.h: Likewise.
42599         * include/sys/statfs.h: Likewise.
42600         * include/sys/statvfs.h: Likewise.
42601         * include/sys/syslog.h: Likewise.
42602         * include/sys/time.h: Likewise.
42603         * include/sys/uio.h: Likewise.
42604         * include/time.h: Likewise.
42605         * include/unistd.h: Likewise.
42606         * include/utmp.h: Likewise.
42607         * include/wchar.h: Likewise.
42608         * include/wctype.h: Likewise.
42609         * inet/aliases.h: Likewise.
42610         * inet/arpa/inet.h: Likewise.
42611         * inet/netinet/ether.h: Likewise.
42612         * inet/netinet/in.h: Likewise.
42613         * intl/libintl.h: Likewise.
42614         * io/bits/fcntl2.h: Likewise.
42615         * io/fcntl.h: Likewise.
42616         * io/ftw.h: Likewise.
42617         * io/sys/poll.h: Likewise.
42618         * io/sys/stat.h: Likewise.
42619         * io/sys/statfs.h: Likewise.
42620         * io/sys/statvfs.h: Likewise.
42621         * io/utime.h: Likewise.
42622         * libio/bits/stdio.h: Likewise.
42623         * libio/bits/stdio2.h: Likewise.
42624         * libio/libio.h: Likewise.
42625         * libio/libioP.h: Likewise.
42626         * libio/stdio.h: Likewise.
42627         * locale/lc-ctype.c: Likewise.
42628         * locale/locale.h: Likewise.
42629         * login/utmp.h: Likewise.
42630         * malloc/arena.c: Likewise.
42631         * malloc/malloc.c: Likewise.
42632         * malloc/malloc.h: Likewise.
42633         * malloc/mcheck.c: Likewise.
42634         * malloc/mtrace.c: Likewise.
42635         * math/bits/mathcalls.h: Likewise.
42636         * math/fenv.h: Likewise.
42637         * math/math_private.h: Likewise.
42638         * misc/bits/error.h: Likewise.
42639         * misc/bits/syslog.h: Likewise.
42640         * misc/err.h: Likewise.
42641         * misc/error.h: Likewise.
42642         * misc/fstab.h: Likewise.
42643         * misc/mntent.h: Likewise.
42644         * misc/regexp.h: Likewise.
42645         * misc/search.h: Likewise.
42646         * misc/sgtty.h: Likewise.
42647         * misc/sys/mman.h: Likewise.
42648         * misc/sys/syslog.h: Likewise.
42649         * misc/sys/uio.h: Likewise.
42650         * misc/sys/xattr.h: Likewise.
42651         * misc/ttyent.h: Likewise.
42652         * nis/rpcsvc/ypclnt.h: Likewise.
42653         * nss/nss.h: Likewise.
42654         * posix/bits/unistd.h: Likewise.
42655         * posix/fnmatch.h: Likewise.
42656         * posix/glob.h: Likewise.
42657         * posix/sched.h: Likewise.
42658         * posix/spawn.h: Likewise.
42659         * posix/sys/wait.h: Likewise.
42660         * posix/unistd.h: Likewise.
42661         * posix/wordexp.h: Likewise.
42662         * pwd/pwd.h: Likewise.
42663         * resolv/netdb.h: Likewise.
42664         * resource/sys/resource.h: Likewise.
42665         * rt/aio.h: Likewise.
42666         * rt/bits/mqueue2.h: Likewise.
42667         * rt/mqueue.h: Likewise.
42668         * shadow/shadow.h: Likewise.
42669         * signal/signal.h: Likewise.
42670         * socket/send.c: Likewise.
42671         * socket/sendto.c: Likewise.
42672         * socket/sys/socket.h: Likewise.
42673         * stdio-common/printf.h: Likewise.
42674         * stdlib/bits/stdlib.h: Likewise.
42675         * stdlib/fmtmsg.h: Likewise.
42676         * stdlib/monetary.h: Likewise.
42677         * stdlib/stdlib.h: Likewise.
42678         * stdlib/ucontext.h: Likewise.
42679         * streams/stropts.h: Likewise.
42680         * string/argz.h: Likewise.
42681         * string/bits/string2.h: Likewise.
42682         * string/string.h: Likewise.
42683         * string/strings.h: Likewise.
42684         * sunrpc/rpc/auth.h: Likewise.
42685         * sunrpc/rpc/auth_des.h: Likewise.
42686         * sunrpc/rpc/clnt.h: Likewise.
42687         * sunrpc/rpc/netdb.h: Likewise.
42688         * sunrpc/rpc/pmap_clnt.h: Likewise.
42689         * sunrpc/rpc/xdr.h: Likewise.
42690         * sysdeps/generic/inttypes.h: Likewise.
42691         * sysdeps/generic/net/if.h: Likewise.
42692         * sysdeps/generic/sys/swap.h: Likewise.
42693         * sysdeps/gnu/net/if.h: Likewise.
42694         * sysdeps/gnu/utmpx.h: Likewise.
42695         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42696         * sysdeps/i386/i486/bits/string.h: Likewise.
42697         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42698         * sysdeps/s390/bits/string.h: Likewise.
42699         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42700         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42701         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42702         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42703         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42704         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42705         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42706         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42707         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42708         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42709         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42710         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42711         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42712         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42713         * sysdeps/unix/sysv/linux/readv.c: Likewise.
42714         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42715         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42716         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42717         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42718         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42719         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42720         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42721         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42722         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42723         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42724         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42725         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42726         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42727         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42728         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42729         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42730         * sysvipc/sys/ipc.h: Likewise.
42731         * sysvipc/sys/msg.h: Likewise.
42732         * sysvipc/sys/sem.h: Likewise.
42733         * sysvipc/sys/shm.h: Likewise.
42734         * termios/termios.h: Likewise.
42735         * time/sys/time.h: Likewise.
42736         * time/time.h: Likewise.
42737         * wcsmbs/bits/wchar2.h: Likewise.
42738         * wcsmbs/uchar.h: Likewise.
42739         * wcsmbs/wchar.h: Likewise.
42740         * wctype/wctype.h: Likewise.
42741
42742         [BZ #13551]
42743         * Makeconfig: Remove all but ELF support including AIX support.
42744         * Makerules: Likewise.
42745         * config.h.in: Likewise.
42746         * config.make.in: Likewise.
42747         * configure: Likewise.
42748         * configure.in: Likewise.
42749         * csu/Makefile: Likewise.
42750         * csu/version.c: Likewise.
42751         * debug/Makefile: Likewise.
42752         * dlfcn/Makefile: Likewise.
42753         * elf/Makefile: Likewise.
42754         * extra-lib.mk: Likewise.
42755         * iconv/Makefile: Likewise.
42756         * include/libc-symbols.h: Likewise.
42757         * include/shlib-compat.h: Likewise.
42758         * resolv/Makefile: Likewise.
42759         * resolv/res_libc.c: Likewise.
42760         * rt/Makefile: Likewise.
42761         * sysdeps/i386/asm-syntax.h: Likewise.
42762         * sysdeps/i386/sysdep.h: Likewise.
42763         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42764         * sysdeps/mach/sysdep.h: Likewise.
42765         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42766         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42767         * sysdeps/s390/asm-syntax.h: Likewise.
42768         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42769         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42770         * sysdeps/sh/sysdep.h: Likewise.
42771         * sysdeps/unix/sparc/sysdep.h: Likewise.
42772         * sysdeps/wordsize-32/divdi3.c: Likewise.
42773         * sysdeps/x86_64/sysdep.h: Likewise.
42774
42775         * argp/Versions: Remove _argp_unlock_xxx.
42776
42777         [BZ #13559]
42778         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
42779         * abilist/libBrokenLocale.abilist: Likewise.
42780         * abilist/libanl.abilist: Likewise.
42781         * abilist/libc.abilist: Likewise.
42782         * abilist/libcrypt.abilist: Likewise.
42783         * abilist/libdl.abilist: Likewise.
42784         * abilist/libm.abilist: Likewise.
42785         * abilist/libnsl.abilist: Likewise.
42786         * abilist/libpthread.abilist: Likewise.
42787         * abilist/libresolv.abilist: Likewise.
42788         * abilist/librt.abilist: Likewise.
42789         * abilist/libthread_db.abilist: Likewise.
42790         * abilist/libutil.abilist: Likewise.
42791         * abilist/libnss_db.abilist: New file.
42792
42793         * scripts/abilist.awk: Add support for indirect functions.
42794
42795         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42796
42797         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42798
42799         * shlib-versions: Remove entries for ports architectures.
42800
42801         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
42802         files in ports.
42803         * elf/stackguard-macros.h: Remove support for IA-64.
42804         * elf/tst-auditmod1.c: Likewise.
42805         * sysdeps/generic/ldsodefs.h: Likewise.
42806
42807         * sysdeps/unix/sysv/linux/configure.in: Ports should define
42808         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42809         configure files.
42810
42811         [BZ #13552]
42812         * configure.in: Remove --enable-omitfp support.
42813         * FAQ.in: Adjust.
42814         * config.make.in: Likewise.
42815         * Makeconfig: Likewise.
42816         * manual/install.texi: Likewise.
42817
42818         In case anyone cares, the IA-64 architecture could move to ports.
42819         * sysdeps/ia64/*: Removed.
42820         * sysdeps/unix/sysv/linux/ia64/*: Removed.
42821         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42822
42823         [BZ #13555]
42824         * configure.in: Remove entries for unsupported architectures.
42825
42826         [BZ #13533]
42827         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42828         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
42829         routines.
42830         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42831         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42832         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
42833         fall back to using wcrtomb.
42834         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42835         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
42836         renaming.
42837         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42838         * wcsmbs/tst-c16c32-1.c: New file.
42839
42840         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42841         local variable.
42842
42843         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42844
42845         * elf/tst-unique3.cc: Add explicit declaration of gets.
42846         * elf/tst-unique3lib.cc: Likewise.
42847         * elf/tst-unique3lib2.cc: Likewise.
42848         * elf/tst-unique4.cc: Likewise.
42849
42850         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42851
42852 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
42853
42854         [BZ #13566]
42855         * assert/assert.h (static_assert): Don't define for C++.
42856         * libio/stdio.h (gets): Do declare for C++ <= C++11.
42857         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42858
42859 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
42860
42861         * iconv/loop.c (single loop): Fix assertion in storing of
42862         remaining bytes.
42863
42864         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42865
42866 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
42867
42868         * posix/getconf.c: Update copyright year.
42869         * nss/getent.c: Likewise.
42870         * nss/makedb.c: Likewise.
42871         * iconv/iconvconfig.c: Likewise.
42872         * iconv/iconv_prog.c: Likewise.
42873         * elf/ldconfig.c: Likewise.
42874         * elf/pldd.c: Likewise.
42875         * elf/sotruss.ksh: Likewise.
42876         * catgets/gencat.c: Likewise.
42877         * csu/version.c: Likewise.
42878         * elf/ldd.bash.in: Likewise.
42879         * elf/sprof.c (print_version): Likewise.
42880         * locale/programs/locale.c: Likewise.
42881         * locale/programs/localedef.c: Likewise.
42882         * login/programs/pt_chown.c: Likewise.
42883         * nscd/nscd.c (print_version): Likewise.
42884         * debug/xtrace.sh: Likewise.
42885         * malloc/memusage.sh: Likewise.
42886         * malloc/mtrace.pl: Likewise.
42887         * debug/catchsegv.sh: Likewise.
42888
42889 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
42890
42891         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42892         pure attribute.
42893
42894 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
42895
42896         [BZ #13533]
42897         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42898         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42899         transformations.
42900         * iconv/gconv_int.h: Likewise.
42901         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42902         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42903         from libc for GLIBC_2.16.
42904         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42905         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42906         * wcsmbs/uchar.h: Really define mbstate_t.
42907         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42908         * wcsmbs/c16rtomb.c: New file.
42909         * wcsmbs/mbrtoc16.c: New file.
42910         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42911         for C/POSIX locale.
42912         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42913         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42914
42915         * wcsmbs/wchar.h: Add missing __restrict.
42916
42917 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
42918
42919         [BZ #13532]
42920         * time/Makefile (routines): Add timespec_get.
42921         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42922         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
42923         timespec for ISO C11.
42924         * time/timespec_get.c: New file.
42925         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42926         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42927
42928         [BZ #13531]
42929         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42930         * stdlib/stdlib.h: Declare aligned_alloc.
42931         * Versions.def: Add GLIBC_2.16 for libc.
42932         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42933
42934         [BZ 13527]
42935         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42936         ISO C11.
42937
42938         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
42939         code.
42940
42941         [BZ #13528]
42942         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42943
42944         [BZ #13529]
42945         * assert/assert.h (static_assert): Define.
42946
42947         * version.h: Update for 2.16 development version.
42948
42949         [BZ #13526]
42950         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42951         _ISOC11_SOURCE.
42952
42953         * version.h (RELEASE): Bump for 2.15 release.
42954         * include/features.h (__GLIBC_MINOR__): Bump to 15.
42955
42956         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42957         Patch by Marek Polacek <mpolacek@redhat.com>.
42958
42959         * bits/byteswap.h: Protect long long constants with __extension__.
42960         * sysdeps/i386/bits/byteswap.h: Likewise.
42961         * sysdeps/ia64/bits/byteswap.h: Likewise.
42962         * sysdeps/s390/bits/byteswap.h: Likewise.
42963         * sysdeps/x86_64/bits/byteswap.h: Likewise.
42964
42965 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42966
42967         [BZ #13540]
42968         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42969         destination buffer.
42970         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42971
42972 2011-12-23  Marek Polacek  <polacek@redhat.com>
42973
42974         * elf/dl-addr.c (determine_info): Add inline keyword.
42975         * elf/tst-auditmod4b.c (check_avx): Likewise.
42976         * elf/tst-auditmod6b.c (check_avx): Likewise.
42977         * elf/tst-auditmod6c.c (check_avx): Likewise.
42978         * elf/tst-auditmod7b.c (check_avx): Likewise.
42979
42980 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
42981
42982         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42983         !__SSE_MATH__.
42984
42985 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42986
42987         [BZ #13540]
42988         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42989         processing for last bytes.
42990
42991 2011-08-06  Bruno Haible  <bruno@clisp.org>
42992
42993         [BZ #13061]
42994         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42995         U+0385, not to U+1FEE.
42996
42997         [BZ #13062]
42998         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42999         entry for U+00A5 U+0301.
43000
43001 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43002
43003         [BZ #13166]
43004         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43005         buffer for the output is too small.
43006
43007         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43008         optimization.
43009
43010         [BZ #13185]
43011         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43012         SSE flags if possible.
43013
43014 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43015
43016         [BZ #13540]
43017         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43018         processing for last bytes.
43019
43020 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
43021
43022         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43023         (syscall-list-default-options, syscall-list-default-condition)
43024         (syscall-list-includes): Define.
43025         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43026         list of ABIs and options and #if conditions for each ABI.  Do not
43027         handle common syscalls between ABIs specially.
43028         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43029         Remove.
43030         (syscall-list-variants, syscall-list-32bit-options)
43031         (syscall-list-32bit-condition, syscall-list-64bit-options)
43032         (syscall-list-64bit-condition): Define.
43033         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43034         (syscall-list-variants, syscall-list-32bit-options)
43035         (syscall-list-32bit-condition, syscall-list-64bit-options)
43036         (syscall-list-64bit-condition): Define.
43037         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43038         Remove.
43039         (syscall-list-variants, syscall-list-32bit-options)
43040         (syscall-list-32bit-condition, syscall-list-64bit-options)
43041         (syscall-list-64bit-condition): Define.
43042         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43043         Remove.
43044         (syscall-list-variants, syscall-list-32bit-options)
43045         (syscall-list-32bit-condition, syscall-list-64bit-options)
43046         (syscall-list-64bit-condition): Define.
43047
43048 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43049
43050         * locale/iso-639.def: Add brx entry.
43051
43052         [BZ #13328]
43053         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43054         Proposed by Mariusz_Cukr <marcukr@op.pl>.
43055
43056         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43057         __feraiseexcept_renamed.
43058
43059 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43060
43061         [BZ #13538]
43062         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43063         EPOLLET with unsigned values.
43064         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43065         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43066
43067         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43068         to large cancellation.
43069         * math/s_cacoshf.c: Likewise.
43070         * math/s_cacoshl.c: Likewise.
43071
43072 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
43073
43074         [BZ #13305]
43075         [BZ #12786]
43076         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43077         * math/s_cacoshf.c: Likewise.
43078         * math/s_cacoshl.c: Likewise.
43079
43080 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43081
43082         [BZ #13439]
43083         * iconv/gconv.h: Define __GCONV_SWAP.
43084         * iconvdata/unicode.c: The swap bit must be stored in __flags.
43085         * iconvdata/utf-16.c: Likewise.
43086         * iconvdata/utf-32.c: Likewise.
43087
43088 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
43089
43090         [BZ #13524]
43091         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43092         numerator after shifting it by one limb.
43093
43094 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
43095
43096         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43097         under [__USE_EXTERN_INLINES].
43098
43099 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43100
43101         [BZ #13446]
43102         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43103
43104 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43105
43106         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43107         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43108         optimized code.
43109         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43110         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43111         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43112         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43113         for strncasecmp/strncasecmp_l compilation.
43114         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43115         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43116
43117 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
43118
43119         [BZ #13484]
43120         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43121         of __asm__.
43122
43123 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43124
43125         [BZ #13506]
43126         * time/tzfile.c (__tzfile_read): Check values from file header.
43127
43128 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
43129
43130         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43131         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43132         * powerpc/powerpc32/dl-start.S: Likewise.
43133         * powerpc/powerpc32/elf/start.S: Likewise.
43134         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43135         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43136         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43137         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43138         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43139         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43140         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43141         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43142         * powerpc/powerpc32/fpu/s_round.S: Likewise.
43143         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43144         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43145         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43146         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43147         * powerpc/powerpc32/memset.S: Likewise.
43148         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43149         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43150         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43151         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43152         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43153         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43154         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43155         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43156         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43157         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43158         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43159         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43160         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43161
43162 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43163
43164         * math/libm-test.inc: Added more nearbyint tests.
43165         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43166         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43167         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43168         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43169
43170 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
43171
43172         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43173         FD_CLOEXEC.
43174
43175 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43176
43177         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43178         Add wcscpy-ssse3 wcscpy-c.
43179         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43180         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43181         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43182         * sysdeps/x86_64/wcschr.S: New file.
43183         * sysdeps/x86_64/wcsrchr.S: New file.
43184         * string/test-strcmp.c: Remove checking of wcscmp function for
43185         wrong alignments.
43186         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43187         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43188         wcsrchr-sse2 wcsrchr-c.
43189         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43190         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43191         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43192         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43193         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43194         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43195         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43196         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43197         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43198         * wcsmbc/wcschr.c (WCSCHR): New macro.
43199
43200 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43201
43202         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43203         * wcsmbs/test-wcsrchr.c: New file.
43204         * string/test-strrchr.c: Add wcsrchr support.
43205         (WIDE): New macro.
43206         * wcsmbs/test-wcscpy.c: New file.
43207         * string/test-strcpy.c: Add wcscpy support.
43208         (WIDE): New macro.
43209
43210 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
43211
43212         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43213         the inner loop.
43214
43215 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
43216
43217         [BZ #13472]
43218         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43219
43220 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
43221
43222         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43223         Minor optimizations.
43224
43225         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43226         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43227         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43228
43229 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
43230
43231         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43232         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43233         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43234         for gcc to avoid warnings.
43235         * inet/Makefile (tests): Add tst-checks.
43236         * inet/tst-checks.c: New file.
43237
43238         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43239         warning.
43240
43241         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43242         __wmemcmp_sse2.
43243
43244         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43245         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43246
43247         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43248
43249 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
43250
43251         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43252         problem.
43253
43254         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43255
43256 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
43257
43258         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43259         conditional on GCC version.
43260         (__arch_compare_and_exchange_val_8_acq)
43261         (__arch_compare_and_exchange_val_16_acq)
43262         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43263         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43264         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43265
43266 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
43267
43268         * sysdeps/sh/backtrace.c: New file.
43269
43270 2011-12-02  Andreas Schwab  <schwab@redhat.com>
43271
43272         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
43273         parenthesis.
43274
43275 2011-12-01  Andreas Schwab  <schwab@redhat.com>
43276
43277         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43278         falling back to utime.
43279
43280 2011-11-30  Andreas Schwab  <schwab@redhat.com>
43281
43282         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43283         expectations for float.
43284
43285 2011-11-29  Andreas Schwab  <schwab@redhat.com>
43286
43287         * locale/weight.h (findidx): Add parameter len.
43288         * locale/weightwc.h (findidx): Likewise.
43289         * posix/fnmatch_loop.c (FCT): Adjust caller.
43290         * posix/regcomp.c (build_equiv_class): Likewise.
43291         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43292         * posix/regexec.c (check_node_accept_bytes): Likewise.
43293         * string/strcoll_l.c (STRCOLL): Likewise.
43294         * string/strxfrm_l.c (STRXFRM): Likewise.
43295
43296 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
43297
43298         * Makefile.in: Remove CVSOPT handling.
43299         * configure.in: Remove use of AC_REVISION.
43300         * iconvdata/Makefile (distribute): No need to filter out CVS.
43301         * scripts/list-sources.sh: Remove CVS, subversion and monotone
43302         handling.
43303
43304 2011-11-16  Andreas Schwab  <schwab@redhat.com>
43305
43306         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43307         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43308         [USE_AS_STRNCASECMP_L]: Likewise.
43309         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43310         NO_TLS_DIRECT_SEG_REFS.
43311         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43312         Fix argument offsets for non-PIC.
43313         [USE_AS_STRNCASECMP_L]: Likewise.
43314         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43315         NO_TLS_DIRECT_SEG_REFS.
43316
43317 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43318
43319         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43320         O_CLOEXEC.
43321         * locale/loadlocale.c (_nl_load_locale): Likewise.
43322
43323 2011-11-15  Andreas Schwab  <schwab@redhat.com>
43324
43325         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43326         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43327         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43328         (SYSCALL_GETTIME): Set errno on error.
43329
43330         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43331         count references to noai6ai_cached.
43332
43333 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43334
43335         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43336
43337         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43338         FD_CLOEXEC for /proc/self/maps.
43339
43340         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43341         FD_CLOEXEC for /proc/meminfo.
43342
43343         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43344         gai.conf.
43345
43346         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
43347         FD_CLOEXEC for given file.
43348
43349         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43350
43351         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43352         FD_CLOEXEC for /etc/hosts.
43353         (_gethtent): Likewise.
43354
43355         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43356
43357         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43358         cancellation and set FD_CLOEXEC for /etc/netgroup.
43359
43360         * nss/nss_files/files-key.c (search): Don't allow cancellation when
43361         reading /etc/publickey.
43362
43363         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43364         allow cancellation when reading /etc/group.
43365
43366         * nss/nss_files/files-alias.c (internal_setent): Don't allow
43367         cancellation.
43368         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
43369
43370         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43371         when using data file.
43372
43373         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43374
43375         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43376         (write_nis_obj): Use "c" and "e" in fopen.
43377
43378         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43379
43380         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43381
43382         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43383
43384         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43385
43386         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43387         locale.alias.
43388
43389         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43390
43391         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43392
43393         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43394
43395         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43396         file parsing and set FD_CLOEXEC.
43397
43398 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43399
43400         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43401
43402 2011-11-14  Andreas Schwab  <schwab@redhat.com>
43403
43404         * malloc/arena.c (arena_get2): Don't call reused_arena when
43405         _int_new_arena failed.
43406
43407 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43408
43409         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43410         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43411         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43412         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43413         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43414         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43415         to compile strcasecmp and strncasecmp.
43416         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43417         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43418
43419         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43420
43421 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
43422
43423         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43424         locale-defines.sym to gen-as-const-headers.
43425         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43426         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43427         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43428         to compile strcasecmp and strncasecmp.
43429         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43430         strcasecmp_l and strncasecmp_l.
43431         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43432         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43433         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43434         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43435         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43436         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43437         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43438         * sysdeps/i386/i686/multiarch/strncase.S: New file.
43439         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43440         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43441         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43442
43443 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
43444
43445         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43446         result of SYSDEP_GETTIME_CPU to retval.
43447         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43448         parameter list to macro.  Remove trailing semicolon.  Adjust users.
43449
43450         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43451         variable.
43452
43453         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43454         mantissa words.
43455         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43456
43457         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43458         from unused variable.
43459
43460         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43461         DWARF definitions.
43462         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43463         for assembling.
43464
43465         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43466         over namespaces.
43467
43468         * sunrpc/rpc_prot.c (rejected): Fix case value.
43469
43470         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43471         unsigned long long int to avoid warnings in shift.
43472
43473         * posix/regex_internal.c (re_string_reconstruct): Actually use result
43474         of use of trans.
43475         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43476         variable tmp.
43477
43478         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43479         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43480         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43481
43482         * nis/nis_table.c (nis_list): Use variable of correct type for
43483         result of __follow_path call.
43484
43485 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43486
43487         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43488         of math functions ceil, trunc, floor, round, and sqrt, when
43489         avaliable on the platform.
43490         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43491         name clash.
43492         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43493         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43494         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43495
43496 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
43497
43498         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43499         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43500
43501 2011-11-11  Roland McGrath  <roland@hack.frob.com>
43502
43503         * include/unistd.h: Fix __readlink return type.
43504         Reported by Chris Metcalf <cmetcalf@tilera.com>.
43505
43506 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
43507
43508         * stdlib/ucontext.h: Undo last change for makecontext.
43509
43510 2011-11-11  Andreas Schwab  <schwab@redhat.com>
43511
43512         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43513
43514         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43515         * setjmp/setjmp.h: Mark functions as non-leaf.
43516         * setjmp/bits/setjmp2.h: Likewise.
43517         * stdlib/ucontext.h: Likewise.
43518
43519 2011-11-10  Andreas Schwab  <schwab@redhat.com>
43520
43521         * malloc/arena.c (_int_new_arena): Don't increment narenas.
43522         (reused_arena): Don't check arena limit.
43523         (arena_get2): Atomically check arena limit.
43524
43525 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
43526
43527         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43528         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43529
43530         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43531         instructions.
43532
43533 2011-11-07  Andreas Schwab  <schwab@redhat.com>
43534
43535         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43536         handler when locking.
43537
43538         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43539         Fix size of allocated buffer.
43540
43541 2011-11-04  Andreas Schwab  <schwab@redhat.com>
43542
43543         [BZ #10103]
43544         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43545         declarations for long double functions.
43546         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43547
43548         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43549
43550 2011-11-03  Andreas Schwab  <schwab@redhat.com>
43551
43552         * nscd/nscd.c (main): Don't start AVC thread until credentials are
43553         installed.
43554
43555         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43556         is disabled.
43557
43558 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43559
43560         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43561
43562 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43563
43564         * include/alloca.h (stackinfo_alloca_round): Define.
43565         (extend_alloca): Use it.
43566         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43567         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43568         here.
43569
43570         * scripts/check-local-headers.sh: Ignore libaudit.h.
43571
43572         * nscd/Makefile (extra-objs): Make recursively expanded.
43573
43574 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
43575
43576         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43577         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43578
43579         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43580         * posix/tst-rfc3484-2.c: Likewise.
43581         * posix/tst-rfc3484-3.c: Likewise.
43582
43583         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43584         process_vm_writev.
43585         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43586         process_vm_writev.
43587         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43588         process_vm_writev from libc using GLIBC_2.15 version.
43589
43590         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43591
43592 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
43593
43594         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43595         stack usage.
43596
43597 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
43598
43599         [BZ #13367]
43600         * nss/getent.c (initgroups_keys): Show error message in case no group
43601         names are given.
43602
43603         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43604         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43605         __bump_nl_timestamp.
43606         * nscd/connections (nscd_init): When host database is served open
43607         netlink socket and request notification about configuration changes.
43608         (main_loop_poll): Track netlink file descriptor and bump timestamp
43609         in case data becomes available.
43610         (main_loop_epoll): Likewise.
43611         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43612         (database_pers_head): Add extra_data fileds.
43613         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43614         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43615         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43616         Adjust caller.
43617         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43618         in6ai data, call __free_in6ai.
43619         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43620         Add -DHAVE_NETLINK.
43621         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
43622         interface information.  Reuse previous data if netlink timestamp
43623         is not changed.
43624         (__bump_nl_timestamp): New function.
43625         (__free_in6ai): New function.
43626
43627 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
43628
43629         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43630         close_not_cancel_no_status here.
43631         (__check_pf): Reorganize code a bit to not call close twice if OOM.
43632
43633 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
43634
43635         [BZ #13276]
43636         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43637         return value.
43638
43639         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43640         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43641         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43642
43643 2011-07-03  Andreas Jaeger  <aj@suse.de>
43644
43645         [BZ #10709]
43646         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43647         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43648         * math/libm-test.inc (sin_test): Add test case.
43649
43650 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
43651
43652         [BZ #13337]
43653         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43654         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43655
43656         * elf/chroot_canon.c (chroot_canon): Cleanups.
43657
43658         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43659
43660         [BZ #13335]
43661         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43662         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43663
43664         * string/test-strchr.c: Make usable for strchrnul testing.
43665         * string/test-strchrnul.c: New file.
43666         * string/Makefile (strop-tests): Add strchrnul.
43667
43668         * po/it.po: Update from translation team.
43669         * po/es.po: Likewise.
43670
43671 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
43672
43673         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43674         the three constants needed as parameters.  Drop the others.
43675         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43676         __m128i_strloadu_tolower.
43677         Create and initialize variable zero and use it in all the places
43678         where _mm_setzero_si128 was used.
43679
43680         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43681         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43682         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43683         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43684         anymore.
43685         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43686         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43687         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43688         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43689         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43690         __mpranred, __mptan.
43691         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43692         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43693         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43694         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43695         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43696         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43697         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43698         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43699         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43700
43701 2011-10-28  Andreas Schwab  <schwab@redhat.com>
43702
43703         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43704         redefine if SHARED.
43705         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43706
43707         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43708         wide char related routines to wcsmbs subdir.
43709
43710 2011-10-27  Andreas Schwab  <schwab@redhat.com>
43711
43712         [BZ #13344]
43713         * misc/sys/cdefs.h (__THROWNL): Define.
43714         * posix/unistd.h: Use __THREADNL instead of __THREAD
43715         for memory synchronization functions.
43716
43717 2011-10-26  Roland McGrath  <roland@hack.frob.com>
43718
43719         [BZ #13349]
43720         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43721         doesn't exist.
43722         * manual/stdio.texi (Obstack Streams): Node removed.
43723
43724 2011-10-26  Andreas Schwab  <schwab@redhat.com>
43725
43726         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43727         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43728         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43729
43730         * math/math_private.h (math_force_eval): Allow non-addressable
43731         arguments.
43732         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43733
43734 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43735
43736         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43737         file is not needed.
43738
43739         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43740         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43741         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43742         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43743         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43744         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43745         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43746         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43747         Add AVX variants.
43748         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43749         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43750         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43751         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43752         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43753         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43754         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43755         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43756         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43757         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43758         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43759         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43760         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43761         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43762         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43763         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43764         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43765         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43766         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43767
43768         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43769         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
43770
43771         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43772         place.  Use VEX encoding when compiling for AVX.
43773
43774 2011-10-25  Andreas Schwab  <schwab@redhat.com>
43775
43776         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43777         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43778
43779         * string/test-strchr.c (do_test): Don't generate NUL bytes.
43780
43781 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43782
43783         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43784         useless if() expression.
43785         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43786         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43787         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43788         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43789         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43790         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43791         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43792         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43793         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43794         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43795         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43796         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43797         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43798         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43799         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43800         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43801         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43802         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43803         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43804
43805         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43806
43807 2011-10-25  Andreas Schwab  <schwab@redhat.com>
43808
43809         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43810         condition.
43811         * elf/dl-fini.c (_dl_sort_fini): Likewise.
43812
43813 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43814
43815         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43816         .text section.  Avoid duplicate constants.
43817         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43818         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43819         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43820         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43821         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43822         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43823         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43824         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43825         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43826         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43827         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43828         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43829         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43830         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43831         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43832         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43833         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43834         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43835         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43836         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43837         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43838         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43839         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43840         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43841         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43842         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43843         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43844         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43845         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43846         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43847         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43848         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43849         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43850         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43851         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43852         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43853         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43854         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43855         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43856         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43857         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43858         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43859         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43860         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43861         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43862
43863 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
43864
43865         * sysdeps/x86_64/dla.h: Move to ...
43866         * sysdeps/x86_64/fpu/dla.h: ...here.
43867         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43868         situations.  Use __builtin_fma only for gcc 4.6 and up.
43869
43870         * config.make.in: Add have-mfma4 entry.
43871         * configure.in: Substitute libc_cv_cc_fma4.
43872         * math/Makefile (dbl-only-routines): Add sincostab.
43873         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43874         Use __sincostab not sincos.
43875         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43876         name is a macro.
43877         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43878         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43879         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43880         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
43881         using __copysign.
43882         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
43883         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
43884         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43885         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43886         and __inv.
43887         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43888         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43889         __copysign.
43890         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
43891         define aliases when function name is a macro.
43892         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43893         sysdeps/ieee754/dbl-64/sincos.tbl.
43894         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43895         fma4-enabled routines.
43896         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43897         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43898         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43899         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43900         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43901         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43902         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43903         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43904         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43905         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43906         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43907         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43908         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43909         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43910         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43911         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43912         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43913         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43914         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43915         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43916         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43917         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43918         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43919         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43920         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43921         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43922         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43923         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43924         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43925         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43926
43927         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43928         rename.
43929         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43930         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43931         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43932         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43933         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43934         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43935         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43936         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43937
43938 2011-10-24  Andreas Schwab  <schwab@redhat.com>
43939
43940         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43941
43942 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
43943
43944         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43945
43946         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43947         prediction.
43948         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43949
43950         * string/strnlen.c: Don't define STRNLEN, reverse logic.
43951         Remove unused variable magic_bits.
43952         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43953
43954         * string/strnlen.c: Define and use STRNLEN macro.
43955         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43956         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43957         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43958         * wcsmbs/wcslen.c: Define and use WCSLEN.
43959         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43960         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43961         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43962         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43963         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43964         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43965         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43966
43967 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43968
43969         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43970         strnlen-sse2-no-bsf.
43971         Rename strlen-no-bsf to strlen-sse2-no-bsf.
43972         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43973         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43974         Add strnlen support.
43975         (USE_AS_STRNLEN): New macro.
43976         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43977         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43978         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43979         * sysdeps/x86_64/wcslen.S: New file.
43980
43981 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
43982
43983         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43984         XMM-moves are used for copying on small sizes.
43985
43986 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43987
43988         * wcsmbs/Makefile (strop-tests): Add wcschr.
43989         * wcsmbs/test-wcschr.c: New file.
43990         * string/test-strchr.c: Update.
43991         Add wcschr support.
43992         (WIDE): New macro.
43993
43994 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43995
43996         * wcsmbs/Makefile (strop-tests): Add wcslen.
43997         * wcsmbs/test-wcslen.c: New file.
43998         * string/test-strlen.c: Update.
43999         Add wcslen support.
44000         (WIDE): New macro.
44001
44002 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44003
44004         * po/it.po: Update from translation team.
44005
44006 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44007
44008         * sysdeps/x86_64/wcscmp.S: Update.
44009         Fix wrong comparison semantics.
44010         wcscmp shall use signed comparison not unsigned.
44011         Don't use substraction to avoid overflow bug.
44012         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44013         * wcsmbc/wcscmp.c: Likewise.
44014         * string/test-strcmp.c: Likewise.
44015         Add new tests to check cases with negative values.
44016
44017 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44018
44019         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44020         * sysdeps/x86_64/dla.h: ...here.  New file.
44021         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44022         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44023         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44024         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44025         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44026         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44027         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44028         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44029         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44030
44031 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
44032
44033         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44034         __ynl_finite aliases.
44035
44036 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44037
44038         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44039
44040         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44041         define DLA_FMA.
44042         [DLA_FMA] (EMULV): Use DLA_FMA.
44043         [DLA_FMA] (MUL12): Use EMULV.
44044         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44045         that are not needed.
44046         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44047         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44048         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44049         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44050         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44051         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44052         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44053
44054 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
44055
44056         * math/s_nan.c: Undef __nan.
44057         * math/s_nanf.c: Undef __nanf.
44058         * math/s_nanl.c: Undef __nanl.
44059         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44060         "math_private.h".
44061
44062 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44063
44064         * math/s_catan.c: Add branch predictions.
44065         * math/s_catanf.c: Likewise.
44066         * math/s_catanh.c: Likewise.
44067         * math/s_catanhf.c: Likewise.
44068         * math/s_catanhl.c: Likewise.
44069         * math/s_catanl.c: Likewise.
44070         * math/s_cexp.c: Likewise.
44071         * math/s_cexpf.c: Likewise.
44072         * math/s_cexpl.c: Likewise.
44073         * math/s_clog.c: Likewise.
44074         * math/s_clog10.c: Likewise.
44075         * math/s_clog10f.c: Likewise.
44076         * math/s_clog10l.c: Likewise.
44077         * math/s_clogf.c: Likewise.
44078         * math/s_clogl.c: Likewise.
44079         * math/s_csqrt.c: Likewise.
44080         * math/s_csqrtf.c: Likewise.
44081         * math/s_csqrtl.c: Likewise.
44082         * math/s_ctanf.c: Likewise.
44083         * math/s_ctanh.c: Likewise.
44084         * math/s_ctanhf.c: Likewise.
44085         * math/s_ctanhl.c: Likewise.
44086         * math/s_ctanl.c: Likewise.
44087
44088         * math/math_private.h: Define __nan, __nanf, __nanl.
44089         * math/s_cacosh.c: Include <math_private.h>.
44090         * math/s_cacoshl.c: Likewise.
44091         * math/s_casinh.c: Likewise.
44092         * math/s_casinhf.c: Likewise.
44093         * math/s_casinhl.c: Likewise.
44094         * math/s_ccos.c: Rely entire on ccosh.
44095         * math/s_ccosf.c: Rely entire on ccoshf.
44096         * math/s_ccosl.c: Rely entirely on ccoshl.
44097         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
44098         Remove tests for FE_INVALID.
44099         * math/s_ccoshf.c: Likewise.
44100         * math/s_ccoshl.c: Likewise.
44101         * math/s_csin.c: Likewise.
44102         * math/s_csinf.c: Likewise.
44103         * math/s_csinh.c Likewise.
44104         * math/s_csinhf.c: Likewise.
44105         * math/s_csinhl.c: Likewise.
44106         * math/s_csinl.c: Likewise.
44107         * math/s_ctan.c: Likewise.
44108         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44109         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44110         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44111
44112 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
44113
44114         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44115         compilation problems.
44116
44117         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44118         __builtin_expect.
44119
44120 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
44121
44122         * sysdeps/i386/configure.in: Test for -mfma4 option.
44123         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44124         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44125         COMMON_CPUID_INDEX_80000001.
44126         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44127         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44128         use it if FMA3 is not supported.
44129         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44130
44131         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44132         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44133
44134 2011-10-20  Andreas Schwab  <schwab@redhat.com>
44135
44136         [BZ #12892]
44137         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44138         it would create a cycle with a link time dependency.
44139
44140 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
44141
44142         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44143         instruction.
44144         * string/Makefile (strop-tests): Add rawmemchr.
44145         * string/test-rawmemchr.c: New file.
44146
44147         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44148         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
44149         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
44150         when compiling str{,n}casecmp and when AVX is available.  Hook up
44151         new optimized code in initializers.
44152
44153 2011-10-19  Andreas Schwab  <schwab@redhat.com>
44154
44155         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44156         __feraiseexcept instead of feraiseexcept.
44157
44158 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
44159
44160         * math/math_private.h: Define defaults for libc_fetestexcept and
44161         libc_feupdateenv.
44162         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44163         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44164         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44165         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44166         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44167         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44168         libc_fetestexcept and libc_feupdateenv.
44169
44170         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44171         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44172         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44173         * sysdeps/x86_64/fpu/math_private.h: Define special version of
44174         libc_feholdexcept_setround.
44175
44176         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44177         Add s_nearbyint-c and s_nearbyintf-c.
44178         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44179         nearbyintf inlines.
44180         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44181         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44182         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44183         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44184
44185         * math/math_private.h: Define defaults for libc_fegetround,
44186         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44187         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44188         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44189         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44190         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44191         standard functions.
44192         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44193         Remove comments and hacks for old compiler versions.
44194         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44195         libc_fegetround, libc_fesetround, libc_feholdexcept, and
44196         libc_feholdexceptl.
44197
44198 2011-10-18  Andreas Schwab  <schwab@redhat.com>
44199
44200         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44201         (__feraiseexcept_renamed): Add __NTH.
44202         (feraiseexcept): Add __NTH.  Rename local variables to fix
44203         namespace violations.
44204
44205 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
44206
44207         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44208
44209         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44210
44211         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44212         recently added interfaces.
44213         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44214
44215         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44216         about macro parameter expansion.
44217
44218         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44219         __NO_MATH_INLINES is defined.  Cleanups.
44220
44221         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44222         and __floorf is target has SSE4.1.
44223         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44224         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44225         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44226         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44227
44228         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44229         name.
44230         (floorf): Likewise.
44231
44232         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44233
44234 2011-10-17  Andreas Schwab  <schwab@redhat.com>
44235
44236         * misc/sys/cdefs.h: Fix last change.
44237
44238         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44239         database lookup.
44240
44241 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
44242
44243         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44244
44245         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44246         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44247         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44248         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44249         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44250         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44251         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44252         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44253         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44254         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44255         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44256         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44257         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44258         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44259         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44260         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44261         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44262         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44263         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44264         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44265         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44266         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44267
44268         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44269         ceil, ceilf, floor, floorf.
44270
44271         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44272         Perform IRELATIVE relocations last.
44273
44274         * elf/do-rel.h: Add another parameter nrelative, replacing the
44275         local variable with the same name.  Change name of the function
44276         to end in Rel or Rela (uppercase).
44277         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44278         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
44279         elf_dynamic_do_##reloc function.
44280
44281 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44282
44283         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44284         is sufficient, at least on modern CPUs.
44285
44286         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44287
44288         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44289         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44290
44291         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44292         __expl_finite.
44293         * math/bits/math-finite.h: Add entries for exp.
44294         * math/e_expl.c: Add __*_finite alias.
44295         * sysdeps/i386/fpu/e_exp.S: Likewise.
44296         * sysdeps/i386/fpu/e_expf.S: Likewise.
44297         * sysdeps/i386/fpu/e_expl.c: Likewise.
44298         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44299         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44300         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44301         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44302         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44303         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44304         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44305
44306         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44307         is sufficient, at least on modern CPUs.
44308
44309         * ctype/ctype-info.c (__ctype_init): Define.
44310         * include/ctype.h (__ctype_init): Declare.
44311         (__ctype_b_loc): The variable is always initialized.
44312         (__ctype_toupper_loc): Likewise.
44313         (__ctype_tolower_loc): Likewise.
44314         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44315         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44316
44317 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
44318
44319         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44320
44321         * configure.in: Also look in $cxxmachine/include for C++ system
44322         headers.
44323
44324 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44325
44326         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44327         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44328         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44329         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
44330         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44331         (USE_AS_WMEMCMP): New macro.
44332         Fixing indents.
44333         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44334         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44335         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44336         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44337         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44338         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44339         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44340         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44341         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44342         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44343         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44344         (USE_AS_WMEMCMP): New macro.
44345         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44346         * sysdeps/string/test-memcmp.c: Update.
44347         Fix simple_wmemcmp.
44348         Add new tests.
44349         * wcsmbs/wmemcmp.c: Update.
44350         (WMEMCMP): New macro.
44351         Fix overflow bug.
44352
44353 2011-10-12  Andreas Jaeger  <aj@suse.de>
44354
44355         [BZ #13268]
44356         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44357
44358 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44359
44360         * libio/iofwide.c (do_length): Avoid warning.
44361
44362         * ctype/ctype.h (__isctype_f): Add missing __THROW.
44363
44364 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
44365
44366         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44367
44368         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44369         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44370         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44371         * sysdeps/i386/i686/fpu/e_log.S: New file.
44372         * sysdeps/i386/i686/fpu/e_logf.S: New file.
44373         * sysdeps/i386/i686/fpu/e_logl.S: New file.
44374
44375         * ctype/ctype.h: Add support for inlined isXXX functions when
44376         compiling C++ code.
44377
44378 2011-10-14  Andreas Schwab  <schwab@redhat.com>
44379
44380         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44381
44382         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44383
44384 2011-10-13  Roland McGrath  <roland@hack.frob.com>
44385
44386         [BZ #13291]
44387         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44388
44389 2011-10-13  Andreas Schwab  <schwab@redhat.com>
44390
44391         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44392         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44393         feraiseexcept.
44394
44395         * sysdeps/x86_64/memrchr.S: Check for zero size.
44396
44397         * string/stratcliff.c: Add memrchr tests.
44398
44399 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44400
44401         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44402         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44403         rawmemchr-sse2 rawmemchr-sse2-bsf.
44404         * sysdeps/i386/i686/multiarch/memchr.S: New file.
44405         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44406         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44407         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44408         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44409         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44410         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44411         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44412         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44413         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44414         * string/memrchr.c (MEMRCHR): New macro.
44415
44416 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
44417
44418         Add integration with gcc's -ffinite-math-only and optimize wrapper
44419         functions in libm.
44420         * Versions.def: Define GLIBC_2.15 version for libm.
44421         * math/Makefile (headers): Add bits/math-finite.h.
44422         * math/bits/math-finite.h: New file.
44423         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44424         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44425         * math/e_acoshl.c: Add __*_finite alias.
44426         * math/e_acosl.c: Likewise.
44427         * math/e_asinl.c: Likewise.
44428         * math/e_atan2l.c: Likewise.
44429         * math/e_atanhl.c: Likewise.
44430         * math/e_coshl.c: Likewise.
44431         * math/e_exp10.c: Likewise.
44432         * math/e_exp10f.c: Likewise.
44433         * math/e_exp10l.c: Likewise.
44434         * math/e_exp2l.c: Likewise.
44435         * math/e_fmodl.c: Likewise.
44436         * math/e_gammal_r.c: Likewise.
44437         * math/e_hypotl.c: Likewise.
44438         * math/e_j0l.c: Likewise.
44439         * math/e_j1l.c: Likewise.
44440         * math/e_jnl.c: Likewise.
44441         * math/e_lgammal_r.c: Likewise.
44442         * math/e_log10l.c: Likewise.
44443         * math/e_log2l.c: Likewise.
44444         * math/e_logl.c: Likewise.
44445         * math/e_powl.c: Likewise.
44446         * math/e_sinhl.c: Likewise.
44447         * math/e_sqrtl.c: Likewise.
44448         * math/e_scalb.c: Completely rewritten and optimized.
44449         * math/e_scalbf.c: Likewise.
44450         * math/e_scalbl.c: Likewise.
44451         * math/w_acos.c: Likewise.
44452         * math/w_acosf.c: Likewise.
44453         * math/w_acosl.c: Likewise.
44454         * math/w_acosh.c: Likewise.
44455         * math/w_acoshf.c: Likewise.
44456         * math/w_acoshl.c: Likewise.
44457         * math/w_asin.c: Likewise.
44458         * math/w_asinf.c: Likewise.
44459         * math/w_asinl.c: Likewise.
44460         * math/w_atan2.c: Likewise.
44461         * math/w_atan2f.c: Likewise.
44462         * math/w_atan2l.c: Likewise.
44463         * math/w_atanh.c: Likewise.
44464         * math/w_atanhf.c: Likewise.
44465         * math/w_atanhl.c: Likewise.
44466         * math/w_exp10.c: Likewise.
44467         * math/w_exp10f.c: Likewise.
44468         * math/w_exp10l.c: Likewise.
44469         * math/w_fmod.c: Likewise.
44470         * math/w_fmodf.c: Likewise.
44471         * math/w_fmodl.c: Likewise.
44472         * math/w_j0.c: Likewise.
44473         * math/w_j0f.c: Likewise.
44474         * math/w_j0l.c: Likewise.
44475         * math/w_j1.c: Likewise.
44476         * math/w_j1f.c: Likewise.
44477         * math/w_j1l.c: Likewise.
44478         * math/w_jn.c: Likewise.
44479         * math/w_jnf.c: Likewise.
44480         * math/w_log.c: Likewise.
44481         * math/w_logf.c: Likewise.
44482         * math/w_logl.c: Likewise.
44483         * math/w_log10.c: Likewise.
44484         * math/w_log10f.c: Likewise.
44485         * math/w_log10l.c: Likewise.
44486         * math/w_log2.c: Likewise.
44487         * math/w_log2f.c: Likewise.
44488         * math/w_log2l.c: Likewise.
44489         * math/w_pow.c: Likewise.
44490         * math/w_powf.c: Likewise.
44491         * math/w_powl.c: Likewise.
44492         * math/w_remainder.c: Likewise.
44493         * math/w_remainderf.c: Likewise.
44494         * math/w_remainderl.c: Likewise.
44495         * math/w_scalb.c: Likewise.
44496         * math/w_scalbf.c: Likewise.
44497         * math/w_scalbl.c: Likewise.
44498         * math/w_sqrt.c: Likewise.
44499         * math/w_sqrtf.c: Likewise.
44500         * math/w_sqrtl.c: Likewise.
44501         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44502         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
44503         used.
44504         * math/math_private.h: Declare __kernel_standard_f.
44505         * math/w_cosh.c: Remove cruft and optimize a bit.
44506         * math/w_coshf.c: Likewise.
44507         * math/w_coshl.c: Likewise.
44508         * math/w_exp2.c: Likewise.
44509         * math/w_exp2f.c: Likewise.
44510         * math/w_exp2l.c: Likewise.
44511         * math/w_hypot.c: Likewise.
44512         * math/w_hypotf.c: Likewise.
44513         * math/w_hypotl.c: Likewise.
44514         * math/w_lgamma.c: Likewise.
44515         * math/w_lgamma_r.c: Likewise.
44516         * math/w_lgammaf.c: Likewise.
44517         * math/w_lgammaf_r.c: Likewise.
44518         * math/w_lgammal.c: Likewise.
44519         * math/w_lgammal_r.c: Likewise.
44520         * math/w_sinh.c: Likewise.
44521         * math/w_sinhf.c: Likewise.
44522         * math/w_sinhl.c: Likewise.
44523         * math/w_tgamma.c: Likewise.
44524         * math/w_tgammaf.c: Likewise.
44525         * math/w_tgammal.c: Likewise.
44526         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44527         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44528         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44529         Minor optimizations.  Pretty printing.  Remove cruft.
44530         * sysdeps/i386/fpu/e_acosf.S: Likewise.
44531         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44532         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44533         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44534         * sysdeps/i386/fpu/e_acosl.c: Likewise.
44535         * sysdeps/i386/fpu/e_asin.S: Likewise.
44536         * sysdeps/i386/fpu/e_asinf.S: Likewise.
44537         * sysdeps/i386/fpu/e_atan2.S: Likewise.
44538         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44539         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44540         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44541         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44542         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44543         * sysdeps/i386/fpu/e_exp10.S: Likewise.
44544         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44545         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44546         * sysdeps/i386/fpu/e_exp2.S: Likewise.
44547         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44548         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44549         * sysdeps/i386/fpu/e_fmod.S: Likewise.
44550         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44551         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44552         * sysdeps/i386/fpu/e_hypot.S: Likewise.
44553         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44554         * sysdeps/i386/fpu/e_log.S: Likewise.
44555         * sysdeps/i386/fpu/e_log10.S: Likewise.
44556         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44557         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44558         * sysdeps/i386/fpu/e_log2.S: Likewise.
44559         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44560         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44561         * sysdeps/i386/fpu/e_logf.S: Likewise.
44562         * sysdeps/i386/fpu/e_logl.S: Likewise.
44563         * sysdeps/i386/fpu/e_pow.S: Likewise.
44564         * sysdeps/i386/fpu/e_powf.S: Likewise.
44565         * sysdeps/i386/fpu/e_powl.S: Likewise.
44566         * sysdeps/i386/fpu/e_remainder.S: Likewise.
44567         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44568         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44569         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44570         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44571         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44572         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44573         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44574         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44575         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44576         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44577         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44578         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44579         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44580         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44581         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44582         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44583         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44584         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44585         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44586         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44587         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44588         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44589         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44590         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44591         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44592         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44593         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44594         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44595         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44596         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44597         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44598         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44599         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44600         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44601         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44602         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44603         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44604         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44605         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44606         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44607         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44608         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44609         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44610         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44611         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44612         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44613         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44614         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44615         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44616         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44617         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44618         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44619         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44620         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44621         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44622         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44623         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44624         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44625         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44626         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44627         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44628         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44629         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44630         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44631         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44632         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44633         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44634         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44635         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44636         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44637         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44638         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44639         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44640         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44641         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44642         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44643         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44644         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44645         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44646         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44647         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44648         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44649         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44650         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44651         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44652         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44653         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44654         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44655         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44656         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44657         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44658         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44659         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44660         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44661         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44662         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44663         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44664         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44665         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44666         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44667         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44668         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44669         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44670         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44671         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44672         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44673         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44674         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44675         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44676         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44677         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44678         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44679         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44680         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44681         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44682         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44683         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44684         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44685         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
44686         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44687         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44688         (__isnanf): Likewise.
44689         (__isinf_ns): Likewise.
44690         (__isinf_nsf): Likewise.
44691         (__finite): Likewise.
44692         (__finitef): Likewise.
44693         (__ieee754_sqrt): Define as macro.
44694         (__ieee754_sqrtf): Define as macro.
44695         (__ieee754_sqrtl): Define as macro.
44696         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44697         inlined copy.
44698         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44699         __FINITE_MATH_ONLY__ consistent.
44700         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44701
44702 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
44703
44704         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44705         of rawmemchr.
44706
44707         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44708
44709 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
44710
44711         * po/ja.po: Update from translation team.
44712
44713 2011-10-08  Roland McGrath  <roland@hack.frob.com>
44714
44715         * locale/programs/locarchive.c (prepare_address_space): New function.
44716         (create_archive, enlarge_archive, open_archive): Use it.
44717
44718         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44719         inside [SHARED], where it is used.
44720
44721         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44722
44723         * nss/getent.c (netgroup_keys): Remove unused variable.
44724         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44725
44726 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
44727
44728         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44729         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44730         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44731         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44732         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44733         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44734         * math/Makefile (libm-calls): Add s_isinf_ns.
44735         * math/divtc3.c: Use __isinf_nsl instead of isinf.
44736         * math/multc3.c: Likewise.
44737         * math/s_casin.c: Likewise.
44738         * math/s_casinf.c: Likewise.
44739         * math/s_casinl.c: Likewise.
44740         * math/s_ccos.c: Likewise.
44741         * math/s_ccosf.c: Likewise.
44742         * math/s_ccosl.c: Likewise.
44743         * math/s_ctan.c: Likewise.
44744         * math/s_ctanf.c: Likewise.
44745         * math/s_ctanh.c: Likewise.
44746         * math/s_ctanhf.c: Likewise.
44747         * math/s_ctanhl.c: Likewise.
44748         * math/s_ctanl.c: Likewise.
44749         * math/w_fmod.c: Likewise.
44750         * math/w_fmodf.c: Likewise.
44751         * math/w_fmodl.c: Likewise.
44752         * math/w_remainder.c: Likewise.
44753         * math/w_remainderf.c: Likewise.
44754         * math/w_remainderl.c: Likewise.
44755         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44756         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44757         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44758         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44759         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44760         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44761         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44762         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44763
44764         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44765         of the number.
44766         * stdio-common/printf_fphex.c: Likewise.
44767         * stdio-common/printf_size.c: Likewise.
44768
44769         * math/e_exp10.c: Include math_private.h using <...> not "...".
44770         * math/e_exp10f.c: Likewise.
44771         * math/e_exp10l.c: Likewise.
44772         * math/e_exp2l.c: Likewise.
44773         * math/e_j0l.c: Likewise.
44774         * math/e_j1l.c: Likewise.
44775         * math/e_jnl.c: Likewise.
44776         * math/e_lgammal_r.c: Likewise.
44777         * math/e_rem_pio2l.c: Likewise.
44778         * math/e_scalb.c: Likewise.
44779         * math/e_scalbf.c: Likewise.
44780         * math/e_scalbl.c: Likewise.
44781         * math/k_cosl.c: Likewise.
44782         * math/k_sinl.c: Likewise.
44783         * math/k_tanl.c: Likewise.
44784         * math/s_cacoshf.c: Likewise.
44785         * math/s_catan.c: Likewise.
44786         * math/s_catanf.c: Likewise.
44787         * math/s_catanh.c: Likewise.
44788         * math/s_catanhf.c: Likewise.
44789         * math/s_catanhl.c: Likewise.
44790         * math/s_catanl.c: Likewise.
44791         * math/s_ccosh.c: Likewise.
44792         * math/s_ccoshf.c: Likewise.
44793         * math/s_ccoshl.c: Likewise.
44794         * math/s_cexp.c: Likewise.
44795         * math/s_cexpf.c: Likewise.
44796         * math/s_cexpl.c: Likewise.
44797         * math/s_clog.c: Likewise.
44798         * math/s_clog10.c: Likewise.
44799         * math/s_clog10f.c: Likewise.
44800         * math/s_clog10l.c: Likewise.
44801         * math/s_clogf.c: Likewise.
44802         * math/s_clogl.c: Likewise.
44803         * math/s_csin.c: Likewise.
44804         * math/s_csinf.c: Likewise.
44805         * math/s_csinh.c: Likewise.
44806         * math/s_csinhf.c: Likewise.
44807         * math/s_csinhl.c: Likewise.
44808         * math/s_csinl.c: Likewise.
44809         * math/s_csqrt.c: Likewise.
44810         * math/s_csqrtf.c: Likewise.
44811         * math/s_csqrtl.c: Likewise.
44812         * math/s_ctan.c: Likewise.
44813         * math/s_ctanf.c: Likewise.
44814         * math/s_ctanh.c: Likewise.
44815         * math/s_ctanhf.c: Likewise.
44816         * math/s_ctanhl.c: Likewise.
44817         * math/s_ctanl.c: Likewise.
44818         * math/s_ldexp.c: Likewise.
44819         * math/s_ldexpf.c: Likewise.
44820         * math/s_ldexpl.c: Likewise.
44821         * math/s_significand.c: Likewise.
44822         * math/s_significandf.c: Likewise.
44823         * math/s_significandl.c: Likewise.
44824         * math/w_acos.c: Likewise.
44825         * math/w_acosf.c: Likewise.
44826         * math/w_acosh.c: Likewise.
44827         * math/w_acoshf.c: Likewise.
44828         * math/w_acoshl.c: Likewise.
44829         * math/w_acosl.c: Likewise.
44830         * math/w_asin.c: Likewise.
44831         * math/w_asinf.c: Likewise.
44832         * math/w_asinl.c: Likewise.
44833         * math/w_atan2.c: Likewise.
44834         * math/w_atan2f.c: Likewise.
44835         * math/w_atan2l.c: Likewise.
44836         * math/w_atanh.c: Likewise.
44837         * math/w_atanhf.c: Likewise.
44838         * math/w_atanhl.c: Likewise.
44839         * math/w_cosh.c: Likewise.
44840         * math/w_coshf.c: Likewise.
44841         * math/w_coshl.c: Likewise.
44842         * math/w_dremf.c: Likewise.
44843         * math/w_exp10.c: Likewise.
44844         * math/w_exp10f.c: Likewise.
44845         * math/w_exp10l.c: Likewise.
44846         * math/w_exp2.c: Likewise.
44847         * math/w_exp2f.c: Likewise.
44848         * math/w_fmod.c: Likewise.
44849         * math/w_fmodf.c: Likewise.
44850         * math/w_fmodl.c: Likewise.
44851         * math/w_hypot.c: Likewise.
44852         * math/w_hypotf.c: Likewise.
44853         * math/w_hypotl.c: Likewise.
44854         * math/w_j0.c: Likewise.
44855         * math/w_j0f.c: Likewise.
44856         * math/w_j0l.c: Likewise.
44857         * math/w_j1.c: Likewise.
44858         * math/w_j1f.c: Likewise.
44859         * math/w_j1l.c: Likewise.
44860         * math/w_jn.c: Likewise.
44861         * math/w_jnf.c: Likewise.
44862         * math/w_jnl.c: Likewise.
44863         * math/w_lgamma.c: Likewise.
44864         * math/w_lgamma_r.c: Likewise.
44865         * math/w_lgammaf.c: Likewise.
44866         * math/w_lgammaf_r.c: Likewise.
44867         * math/w_lgammal.c: Likewise.
44868         * math/w_lgammal_r.c: Likewise.
44869         * math/w_log.c: Likewise.
44870         * math/w_log10.c: Likewise.
44871         * math/w_log10f.c: Likewise.
44872         * math/w_log10l.c: Likewise.
44873         * math/w_log2.c: Likewise.
44874         * math/w_log2f.c: Likewise.
44875         * math/w_log2l.c: Likewise.
44876         * math/w_logf.c: Likewise.
44877         * math/w_logl.c: Likewise.
44878         * math/w_pow.c: Likewise.
44879         * math/w_powf.c: Likewise.
44880         * math/w_powl.c: Likewise.
44881         * math/w_remainder.c: Likewise.
44882         * math/w_remainderf.c: Likewise.
44883         * math/w_remainderl.c: Likewise.
44884         * math/w_scalb.c: Likewise.
44885         * math/w_scalbf.c: Likewise.
44886         * math/w_scalbl.c: Likewise.
44887         * math/w_sinh.c: Likewise.
44888         * math/w_sinhf.c: Likewise.
44889         * math/w_sinhl.c: Likewise.
44890         * math/w_sqrt.c: Likewise.
44891         * math/w_sqrtf.c: Likewise.
44892         * math/w_sqrtl.c: Likewise.
44893         * math/w_tgamma.c: Likewise.
44894         * math/w_tgammaf.c: Likewise.
44895         * math/w_tgammal.c: Likewise.
44896
44897         * po/ja.po: Update from translation team.
44898
44899 2011-09-29  Andreas Jaeger  <aj@suse.de>
44900
44901         [BZ #13179]
44902         * sunrpc/netname.c (netname2host): Fix logic.
44903
44904         [BZ #6779]
44905         [BZ #6783]
44906         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44907         correctly.
44908         * math/w_remainder.c (__remainder): Likewise.
44909         * math/w_remainderf.c (__remainderf): Likewise.
44910         * math/libm-test.inc (remainder_test): Add test cases.
44911
44912 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44913
44914         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
44915         sdiv_qrnnd.
44916
44917 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
44918
44919         * string/test-memcmp.c: Avoid unncessary #defines.
44920         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44921
44922 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44923
44924         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44925         Use new sse2 version for core i3 - i7 as it's faster
44926         than sse42 version.
44927         (bit_Prefer_PMINUB_for_stringop): New.
44928         * sysdeps/x86_64/rawmemchr.S: Update.
44929         Replace with faster SSE2 version.
44930         * sysdeps/x86_64/memrchr.S: New file.
44931         * sysdeps/x86_64/memchr.S: Update.
44932         Replace with faster SSE2 version.
44933
44934 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
44935
44936         * elf/dl-load.c (lose): Add cast to avoid warning.
44937
44938 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
44939
44940         * po/ca.po: Update from translation team.
44941
44942         * inet/getnetgrent_r.c: Hook up nscd.
44943         * nscd/Makefile (routines): Add nscd_netgroup.
44944         (nscd-modules): Add netgroupcache.
44945         (CFLAGS-netgroupcache.c): Define.
44946         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44947         (cache_search): Add const to second parameter.
44948         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44949         INNETGR.
44950         (dbs): Add netgrdb entry.
44951         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44952         (verify_persistent_db): Handle netgrdb.
44953         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44954         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44955         GETFDNETGR.
44956         (netgroup_response_header): Define.
44957         (innetgroup_response_header): Define.
44958         (datahead): Add netgroup_response_header and innetgroup_response_header
44959         elements.
44960         * nscd/nscd.conf: Add entries for netgroup cache.
44961         * nscd/nscd.h (dbtype): Add netgrdb.
44962         (_PATH_NSCD_NETGROUP_DB): Define.
44963         (netgroup_iov_disabled): Declare.
44964         (xmalloc, xcalloc, xrealloc): Move declarations here.
44965         (cache_search): Adjust prototype.
44966         Add netgroup-related prototypes.
44967         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44968         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44969         (__nscd_innetgr): Declare.
44970         * nscd/selinux.c (perms): Use access_vector_t as element type and
44971         add netgroup-related initializers.
44972         * nscd/netgroupcache.c: New file.
44973         * nscd/nscd_netgroup.c: New file.
44974         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44975         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44976         For four parameters use innetgr.
44977         * nss/nss_files/files-init.c: Add definition and callback for netgr.
44978         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44979         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44980         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44981
44982         * nscd/connections.c (register_traced_file): Don't register file
44983         for disabled databases.
44984
44985 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
44986
44987         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44988
44989         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44990         from tree and freeing node.
44991
44992 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
44993
44994         * nss/nsswitch.c (__nss_database_lookup): Handle
44995         nss_parse_service_list out of memory case.
44996
44997 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
44998
44999         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45000         out of memory case.
45001
45002 2011-10-04  Andreas Schwab  <schwab@redhat.com>
45003
45004         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45005         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45006         pass it down.
45007         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45008         elf_machine_rela, elf_machine_lazy_rel.
45009         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45010         (ELF_DYNAMIC_DO_REL): Likewise.
45011         (ELF_DYNAMIC_DO_RELA): Likewise.
45012         (ELF_DYNAMIC_RELOCATE): Likewise.
45013         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45014         to ELF_DYNAMIC_DO_REL.
45015         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45016         (dl_main): In trace mode always set __RTLD_NOIFUNC.
45017         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45018         elf_machine_rela.
45019         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45020         skip_ifunc, don't call ifunc function if non-zero.
45021         (elf_machine_rela): Likewise.
45022         (elf_machine_lazy_rel): Likewise.
45023         (elf_machine_lazy_rela): Likewise.
45024         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45025         (elf_machine_lazy_rel): Likewise.
45026         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45027         Likewise.
45028         (elf_machine_lazy_rel): Likewise.
45029         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45030         Likewise.
45031         (elf_machine_lazy_rel): Likewise.
45032         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45033         (elf_machine_lazy_rel): Likewise.
45034         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45035         (elf_machine_lazy_rel): Likewise.
45036         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45037         (elf_machine_lazy_rel): Likewise.
45038         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45039         (elf_machine_lazy_rel): Likewise.
45040         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45041         (elf_machine_lazy_rel): Likewise.
45042         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45043         (elf_machine_lazy_rel): Likewise.
45044
45045 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
45046
45047         * nss/nss_files/files-init.c (_nss_files_init): Use static
45048         initialization for all the *_traced_file variables.
45049
45050 2011-09-28  Andreas Schwab  <schwab@redhat.com>
45051
45052         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45053
45054 2011-09-27  Roland McGrath  <roland@hack.frob.com>
45055
45056         [BZ #13226]
45057         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45058
45059 2011-09-27  Andreas Schwab  <schwab@redhat.com>
45060
45061         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45062         Reread the line before reparsing it.
45063
45064 2011-09-26  Andreas Schwab  <schwab@redhat.com>
45065
45066         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45067
45068 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
45069             Maxim Kuvyrkov  <maxim@codesourcery.com>
45070             Joseph Myers  <joseph@codesourcery.com>
45071
45072         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45073         if needed for __stack_chk_guard.
45074
45075 2011-09-19  Roland McGrath  <roland@hack.frob.com>
45076
45077         * sysdeps/posix/spawni.c (script_execute): Always define it.
45078         It will be optimized away if unused.
45079         (maybe_script_execute): New function.
45080         (__spawni): Call it.
45081
45082         * Makerules: Don't include tls.make.
45083         (config-tls): Always set to thread.
45084         * tls.make.c: File removed.
45085
45086 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
45087
45088         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45089         * config.make.in (CPPFLAGS-config): New substituted variable.
45090
45091 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45092
45093         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45094
45095         [BZ #13192]
45096         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45097         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45098
45099 2011-09-15  Roland McGrath  <roland@hack.frob.com>
45100
45101         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45102         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45103         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45104         (CALL_FAIL): Likewise.
45105         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45106         (CALL_FAIL): Macro removed.
45107         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45108
45109 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45110
45111         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45112         for __FINITE_MATH_ONLY__ == 1.
45113
45114 2011-09-15  Andreas Schwab  <schwab@redhat.com>
45115
45116         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45117         __ieee754_sqrt instead of sqrt.
45118         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45119         __ieee754_sqrtf instead of sqrtf.
45120         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45121         __floorf instead of floorf.
45122         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45123         __floorf, __truncf instead of floorf, truncf.
45124
45125 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
45126
45127         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45128
45129         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45130         __extern_always_inline.
45131         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45132         32-bit.
45133
45134 2011-09-14  Andreas Schwab  <schwab@redhat.com>
45135
45136         * elf/rtld.c (dl_main): Also relocate in dependency order when
45137         doing symbol dependency testing.
45138
45139 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
45140
45141         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45142         Always define `refsym'.
45143
45144 2011-09-13  Andreas Schwab  <schwab@redhat.com>
45145
45146         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45147         (__FD_ELT): Renamed from __FDELT.
45148         * misc/bits/select2.h (__FD_ELT): Likewise.
45149         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45150         __FD_MASK instead of __FDELT, __FDMASK.
45151         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45152         Likewise.
45153         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45154         Likewise.
45155
45156         * elf/Makefile (gen-ldd): Fix pattern.
45157
45158         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45159         (init_tls): Likewise.
45160
45161 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
45162
45163         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45164
45165 2011-09-12  Andreas Schwab  <schwab@redhat.com>
45166
45167         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45168         `struct cmsghdr *' instead of `void *'.
45169         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45170         Likewise.
45171
45172 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
45173
45174         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45175         if non-absolute.
45176         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45177         ldd_rewrite_script.
45178
45179 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
45180
45181         * configure.in: Remove --with-tls option.
45182         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45183         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45184         out in case it is missing.
45185         * sysdeps/ia64/elf/configure.in: Likewise.
45186         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45187         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45188         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45189         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45190         * sysdeps/sh/elf/configure.in: Likewise.
45191         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45192         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45193         * sysdeps/x86_64/elf/configure.in: Likewise.
45194         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45195         * sysdeps/mach/hurd/tls.h: Likewise.
45196
45197         [BZ #13067]
45198         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45199
45200         [BZ #13090]
45201         * configure.in: Fix use of AC_INIT.
45202
45203         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45204
45205 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
45206
45207         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45208         __set_errno.
45209         * malloc/hooks.c: Likewise.
45210
45211         [BZ #11929]
45212         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
45213         variables statically.
45214         (narenas): Initialize.
45215         (list_lock): Initialize.
45216         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
45217         initializtion of main_arena and list_lock.  Small cleanups.
45218         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45219         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
45220         Add initializers to main_arena and mp_.
45221         (malloc_state): Remove pagesize member.  Change all users to use
45222         GLRO(dl_pagesize).
45223
45224         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45225         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
45226         is always initialized.
45227
45228         * malloc/malloc.c: Removed unused configurations and dead code.
45229         * malloc/arena.c: Likewise.
45230         * malloc/hooks.c: Likewise.
45231         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45232
45233         * include/tls.h: Removed.  USE___THREAD must always be defined.
45234         * bits/libc-tsd.h: Don't handle !USE___THREAD.
45235         * elf/dl-libc.c: Likewise.
45236         * elf/dl-tsd.c: Likewise.
45237         * include/errno.h: Likewise.
45238         * include/netdb.h: Likewise.
45239         * include/resolv.h: Likewise.
45240         * inet/herrno-loc.c: Likewise.
45241         * inet/herrno.c: Likewise.
45242         * malloc/arena.c: Likewise.
45243         * malloc/hooks.c: Likewise.
45244         * malloc/malloc.c: Likewise.
45245         * resolv/res-state.c: Likewise.
45246         * resolv/res_libc.c: Likewise.
45247         * sysdeps/i386/dl-machine.h: Likewise.
45248         * sysdeps/ia64/dl-machine.h: Likewise.
45249         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45250         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45251         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45252         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45253         * sysdeps/sh/dl-machine.h: Likewise.
45254         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45255         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45256         * sysdeps/unix/i386/sysdep.S: Likewise.
45257         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45258         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45259         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45260         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45261         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45262         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45263         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45264         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45265         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45266         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45267         * sysdeps/unix/x86_64/sysdep.S: Likewise.
45268         * sysdeps/x86_64/dl-machine.h: Likewise.
45269         * tls.make.c: Likewise.
45270
45271         * configure.in: Remove --with-__thread option.  Make tests for
45272         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45273         tls_model attribute fail if no support is available.  Remove
45274         USE_IN_LIBIO.
45275         * Makeconfig: Adjust for dropped configure option.  All features are
45276         now mandatory.
45277         * Makerules: Likewise.
45278         * Versions.def: Likewise.
45279         * argp/argp-fmtstream.c: Likewise.
45280         * argp/argp-fmtstream.h: Likewise.
45281         * argp/argp-help.c: Likewise.
45282         * assert/assert.c: Likewise.
45283         * config.h.in: Likewise.
45284         * config.make.in: Likewise.
45285         * configure: Likewise.
45286         * configure.in: Likewise.
45287         * csu/Versions: Likewise.
45288         * csu/init.c: Likewise.
45289         * elf/tst-audit2.c: Likewise.
45290         * elf/tst-tls10.c: Likewise.
45291         * elf/tst-tls10.h: Likewise.
45292         * elf/tst-tls11.c: Likewise.
45293         * elf/tst-tls12.c: Likewise.
45294         * elf/tst-tls14.c: Likewise.
45295         * elf/tst-tlsmod11.c: Likewise.
45296         * elf/tst-tlsmod12.c: Likewise.
45297         * elf/tst-tlsmod13.c: Likewise.
45298         * elf/tst-tlsmod13a.c: Likewise.
45299         * elf/tst-tlsmod14a.c: Likewise.
45300         * elf/tst-tlsmod15b.c: Likewise.
45301         * elf/tst-tlsmod16a.c: Likewise.
45302         * elf/tst-tlsmod16b.c: Likewise.
45303         * elf/tst-tlsmod7.c: Likewise.
45304         * elf/tst-tlsmod8.c: Likewise.
45305         * elf/tst-tlsmod9.c: Likewise.
45306         * gmon/gmon.c: Likewise.
45307         * grp/fgetgrent_r.c: Likewise.
45308         * grp/putgrent.c: Likewise.
45309         * hurd/fopenport.c: Likewise.
45310         * include/libc-symbols.h: Likewise.
45311         * include/tls.h: Likewise.
45312         * intl/gettextP.h: Likewise.
45313         * intl/loadinfo.h: Likewise.
45314         * locale/global-locale.c: Likewise.
45315         * locale/localeinfo.h: Likewise.
45316         * mach/devstream.c: Likewise.
45317         * malloc/arena.c: Likewise.
45318         * malloc/set-freeres.c: Likewise.
45319         * misc/err.c: Likewise.
45320         * misc/getttyent.c: Likewise.
45321         * misc/mntent_r.c: Likewise.
45322         * posix/getopt.c: Likewise.
45323         * posix/wordexp.c: Likewise.
45324         * pwd/fgetpwent_r.c: Likewise.
45325         * resolv/Versions: Likewise.
45326         * resolv/res_hconf.c: Likewise.
45327         * shadow/fgetspent_r.c: Likewise.
45328         * shadow/putspent.c: Likewise.
45329         * stdio-common/printf_fphex.c: Likewise.
45330         * stdio-common/tmpfile.c: Likewise.
45331         * stdlib/abort.c: Likewise.
45332         * stdlib/fmtmsg.c: Likewise.
45333         * sunrpc/auth_unix.c: Likewise.
45334         * sunrpc/clnt_perr.c: Likewise.
45335         * sunrpc/clnt_tcp.c: Likewise.
45336         * sunrpc/clnt_udp.c: Likewise.
45337         * sunrpc/clnt_unix.c: Likewise.
45338         * sunrpc/openchild.c: Likewise.
45339         * sunrpc/svc_simple.c: Likewise.
45340         * sunrpc/svc_tcp.c: Likewise.
45341         * sunrpc/svc_udp.c: Likewise.
45342         * sunrpc/svc_unix.c: Likewise.
45343         * sunrpc/xdr.c: Likewise.
45344         * sunrpc/xdr_array.c: Likewise.
45345         * sunrpc/xdr_rec.c: Likewise.
45346         * sunrpc/xdr_ref.c: Likewise.
45347         * sunrpc/xdr_stdio.c: Likewise.
45348
45349 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45350
45351         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45352
45353 2011-07-03  Andreas Jaeger  <aj@suse.de>
45354
45355         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45356         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45357         regenerate with gen-libm-tests.pl.
45358
45359 2010-05-12  Petr Baudis  <pasky@suse.cz>
45360
45361         [BZ #11589]
45362         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45363         around j0() zero points by switching to j1().
45364         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45365         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45366         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45367         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45368
45369 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45370
45371         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45372         instead of 0.
45373         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45374         instead of 0.
45375         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45376         Patch in part by Pavel Roskin <proski@gnu.org>.
45377
45378         [BZ #13138]
45379         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45380         realloc.
45381         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
45382         Free memory block if necessary.
45383
45384         [BZ #12847]
45385         * libio/genops.c (INTDEF): For string streams the _lock pointer can
45386         be NULL.  Don't lock in this case.
45387
45388 2011-09-09  Roland McGrath  <roland@hack.frob.com>
45389
45390         * elf/elf.h (ELFOSABI_GNU): New macro.
45391         (ELFOSABI_LINUX): Define to that.
45392
45393 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
45394
45395         * string/strncat.c (strncat): Undef the symbol in case it has been
45396         defined in bits/string.h.
45397
45398 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45399
45400         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45401
45402         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45403         link map.
45404
45405 2011-08-17  Andreas Jaeger  <aj@suse.de>
45406
45407         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45408
45409 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
45410             Ian Lance Taylor  <iant@google.com>
45411
45412         * math/libm-test.inc (lround_test): New testcase.
45413         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45414
45415 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
45416
45417         * Makefile: Remove support for automatic cvs check-ins.
45418         * Makerules: Likewise.
45419         * config.make.in: Likewise.
45420         * configure.in: Likewise.
45421         * intl/Makefile: Likewise.
45422         * locale/Makefile: Likewise.
45423         * po/Makefile: Likewise.
45424         * posix/Makefile: Likewise.
45425         * sysdeps/gnu/Makefile: Likewise.
45426         * sysdeps/mach/hurd/Makefile: Likewise.
45427         * sysdeps/sparc/sparc32/Makefile: Likewise.
45428
45429         [BZ #13118]
45430         * posix/Makefile (bug-regex32-ENV): Define.
45431         Patch by John Stanley <jpsinthemix@verizon.net>.
45432
45433         * misc/Makefile (headers): Add bits/select2.h.
45434         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45435         * misc/bits/select2.h: New file.
45436         * include/bits/select2.h: New file.
45437         * debug/Makefile (routines): Add fdelt_chk.
45438         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45439         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45440         FD_ISSET.
45441         * debug/fdelt_chk.c: New file.
45442
45443         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
45444         * wcsmbs/test-wmemcmp.c: Likewise.
45445         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45446         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45447
45448 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45449
45450         * string/Makefile (strop-tests): Add memcmp.
45451         * string/test-wmemcmp.c: New file.
45452         * string/test-memcmp.c: Add wmemcmp support.
45453
45454 2011-09-08  Roland McGrath  <roland@hack.frob.com>
45455
45456         [BZ #13153]
45457         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45458         2011-07-19 change.
45459
45460         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45461         garbage value in a __mach_port_mod_refs call in the cases of the
45462         task-self and thread-self ports.
45463
45464 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45465
45466         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45467
45468 2011-09-08  Andreas Schwab  <schwab@redhat.com>
45469
45470         * elf/dl-load.c (lose): Check for non-null L.
45471
45472 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45473
45474         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45475
45476         * elf/dl-libc.c (dlerror_run): Pass back error code from
45477         dl_catch_error.
45478
45479         [BZ #13123]
45480         * elf/dl-load.c (lose): Free l_origin if it is valid.
45481
45482         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45483         names.
45484         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45485         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45486         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45487         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45488         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45489         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45490
45491 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45492
45493         * sysdeps/powerpc/fpu/e_hypot.c: New file.
45494         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45495         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45496         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45497         * sysdeps/powerpc/fpu/k_cosf.c: New file.
45498         * sysdeps/powerpc/fpu/k_sinf.c: New file.
45499         * sysdeps/powerpc/fpu/s_cosf.c: New file.
45500         * sysdeps/powerpc/fpu/s_sinf.c: New file.
45501         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45502         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45503
45504 2011-08-15  Alan Modra  <amodra@gmail.com>
45505
45506         [BZ #13092]
45507         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45508         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45509         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
45510         ppc_mcount to static-only-routines.
45511         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45512         __mcount_internal.
45513         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45514         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
45515
45516 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
45517
45518         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45519         for finite and infinity parameters.
45520
45521 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
45522
45523         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45524         and add nop instructions for throughput optimization.
45525         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45526
45527 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
45528
45529         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45530         aligned copy for power7 with vector-scalar instructions.
45531         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45532
45533 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
45534
45535         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45536         AVX check.
45537
45538 2011-09-07  Andreas Schwab  <schwab@redhat.com>
45539
45540         [BZ #13144]
45541         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45542         last change.
45543
45544 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45545
45546         * sysdeps/unix/sysv/linux/x86_64/init-first.c
45547         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45548         syscall wrapper around clock_gettime in __vdso_clock_gettime.
45549         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45550         clock_gettime.
45551
45552 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
45553
45554         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45555         Forgot to demangle the pointer.
45556
45557         * sysdeps/i386/sysdep.h: Define atom_text_section.
45558         * sysdeps/x86_64/sysdep.h: Likewise.
45559         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45560         section with atom_text_section.
45561         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45562         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45563         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45564         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45565         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45566
45567         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45568         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45569         already be defined.  Change to take two parameters and don't assign
45570         result to variable.  Adjust all users.
45571         Define INTERNAL_GETTIME if not already defined.
45572         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45573         call.
45574         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45575         HAVE_CLOCK_GETTIME_VSYSCALL.
45576         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45577
45578         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45579         gettimeofday vsyscall, just use time.
45580
45581 2011-09-06  Andreas Schwab  <schwab@redhat.com>
45582
45583         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45584         <errno.h>.
45585
45586 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
45587
45588         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45589         syscall on x86-64.
45590         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45591         syscall.
45592         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45593         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45594         syscall if possible.
45595
45596 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45597
45598         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45599         e_ident.  Don't pass to find_mapsXX.
45600         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45601
45602 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45603
45604         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45605         strchr-sse2-no-bsf strrchr-sse2-no-bsf
45606         * sysdeps/x86_64/multiarch/strchr.S: Update.
45607         Check bit_slow_BSF bit.
45608         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45609         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45610         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45611
45612 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45613
45614         [BZ #13134]
45615         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45616         before glibc 2.15.
45617         (tryshell): Define.
45618         (__spawni): Change last parameter to be flag.  Test
45619         SPAWN_XFLAGS_USE_PATH flag to use path or not.
45620         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45621         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45622         * posix/spawni.c: Likewise.
45623         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45624         * posix/spawnp.c: Likewise.  Change normal version to use
45625         SPAWN_XFLAGS_USE_PATH.
45626         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45627         SPAWN_XFLAGS_TRY_SHELL.
45628
45629         [BZ #13150]
45630         * posix/glob.h: Remove gcc 1.x support.
45631
45632         [BZ #13068]
45633         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45634
45635 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45636
45637         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45638         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45639         strrchr-sse2-bsf
45640         * sysdeps/i386/i686/multiarch/strchr.S: New file.
45641         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45642         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45643         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45644         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45645         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45646
45647 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45648
45649         * sysdeps/x86_64/wcscmp.S: New file.
45650
45651         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45652         wcscmp-c wcscmp-sse2
45653         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45654         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45655         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45656         * wcsmbs/wcscmp.c: Allow renaming.
45657
45658 2011-09-05  David S. Miller  <davem@davemloft.net>
45659
45660         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45661         stack slot, rather than the struct return pointer slot.
45662         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45663         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45664         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45665         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45666
45667 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45668
45669         * po/ja.po: Update from translation team.
45670
45671         [BZ #13144]
45672         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45673         kernel in 64-bit binaries.
45674
45675 2011-09-01  David S. Miller  <davem@davemloft.net>
45676
45677         * elf/elf.h (HWCAP_SPARC_*): Move to..
45678         * sysdeps/sparc/sysdep.h: this new file and add new values.
45679         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45680         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45681         _DL_HWCAP_COUNT to 24.
45682         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45683         entries.
45684         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45685         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45686         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45687         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45688         instead of magic constants.
45689         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45690
45691 2011-08-31  David S. Miller  <davem@davemloft.net>
45692
45693         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45694         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45695         Reimplement to do errno handling inline.
45696         (SYSCALL_ERROR_HANDLER): New macro.
45697         (__SYSCALL_STRING): Do not do errno handling in asm.
45698         (__CLONE_SYSCALL_STRING): Delete.
45699         (__INTERNAL_SYSCALL_STRING): Delete.
45700         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45701         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45702         (PSEUDO): Reimplement to do errno handling inline.
45703         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45704         (SYSCALL_ERROR_HANDLER): New macro.
45705         (__SYSCALL_STRING): Do not do errno handling in asm.
45706         (__CLONE_SYSCALL_STRING): Delete.
45707         (__INTERNAL_SYSCALL_STRING): Delete.
45708         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45709         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45710         i386.
45711         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45712         (inline_syscall*): Add 'err' argument.
45713         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45714         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45715         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45716         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45717
45718         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45719         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45720
45721 2011-08-30  Andreas Schwab  <schwab@redhat.com>
45722
45723         * elf/rtld.c (dl_main): Relocate objects in dependency order.
45724
45725 2011-08-29  Jiri Olsa <jolsa@redhat.com>
45726
45727         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45728         directive.
45729
45730 2011-08-24  David S. Miller  <davem@davemloft.net>
45731
45732         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45733
45734 2011-08-24  Andreas Schwab  <schwab@redhat.com>
45735
45736         * elf/Makefile: Add rules to build and run unload8 test.
45737         * elf/unload8.c: New file.
45738         * elf/unload8mod1.c: New file.
45739         * elf/unload8mod1x.c: New file.
45740         * elf/unload8mod2.c: New file.
45741         * elf/unload8mod3.c: New file.
45742
45743         * elf/dl-close.c (_dl_close_worker): Reset private search list if
45744         it wasn't used.
45745
45746 2011-08-23  David S. Miller  <davem@davemloft.net>
45747
45748         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45749         subtract stack bias.
45750         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45751         %sp not %fp in calculations.
45752         (_JMPBUF_UNWINDS_ADJ): Likewise.
45753
45754         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45755         (aio_suspend): Call it to force an exception region around the
45756         AIO_MISC_WAIT() invocation.
45757
45758 2011-08-23  Andreas Schwab  <schwab@redhat.com>
45759
45760         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45761         backslash.
45762
45763 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
45764
45765         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45766         protection macro.
45767         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45768         and <dl-machine.h>.
45769         (Elf64_FuncDesc): Remove.
45770
45771 2011-08-22  David S. Miller  <davem@davemloft.net>
45772
45773         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45774         sigaltstack check, add missing cfi directives.
45775         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45776         missing cfi directives, and sigaltstack handling.
45777
45778 2011-08-16  Andreas Schwab  <schwab@redhat.com>
45779
45780         [BZ #11724]
45781         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45782         object is seen twice.
45783         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45784
45785         * elf/Makefile (distribute): Add tst-initorder2.c.
45786         (tests): Add tst-initorder2.
45787         (modules-names): Add tst-initorder2a tst-initorder2b
45788         tst-initorder2c tst-initorder2d.  Add rules to build them.
45789         ($(objpfx)tst-initorder2.out): New rule.
45790         * elf/tst-initorder2.c: New file.
45791         * elf/tst-initorder2.exp: New file.
45792
45793 2011-08-22  Andreas Schwab  <schwab@redhat.com>
45794
45795         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45796
45797         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45798         dependencies back to end of function.
45799
45800         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45801         $(elfobjdir)/ld.so.
45802
45803 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
45804
45805         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45806         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45807         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45808         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45809         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45810         of __vdso_gettimeofday.
45811         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45812         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
45813         attribute_hidden.
45814         (_libc_vdso_platform_setup): Remove initialization of
45815         __vdso_gettimeofday and __vdso_time.
45816
45817 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
45818
45819         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45820         and fgetc_unlocked.
45821         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45822         getc_unlocked.
45823
45824         * elf/dl-open.c (add_to_global): Report additions to the global scope
45825         for LD_DEBUG=scopes.
45826         (dl_open_worker): Also print scope of newly loaded dependencies.
45827         (_dl_show_scope): Indicate if there is no scope.
45828
45829         [BZ #13114]
45830         * stdio-common/Makefile (tests): Add bug24.
45831         * stdio-common/bug24.c: New file.
45832
45833 2011-08-19  Andreas Jaeger  <aj@suse.de>
45834
45835         [BZ #13114]
45836         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45837         non-existant file when using close-on-exec mode.
45838
45839 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
45840
45841         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45842         the very first instruction.
45843
45844         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45845         the CFI state in the end.
45846         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45847         inclusion of dl-trampoline.h.
45848         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45849
45850 2011-08-19  Andreas Schwab  <schwab@redhat.com>
45851
45852         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45853         expectations for long double.
45854
45855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45856         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45857
45858 2011-08-14  David S. Miller  <davem@davemloft.net>
45859
45860         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45861         artificual limit depends upon the system page size.
45862
45863 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
45864
45865         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45866         * resolv/Makefile: Define CFLAGS-libresolv.
45867
45868 2011-08-17  Andreas Schwab  <schwab@redhat.com>
45869
45870         * nss/makedb.c (compute_tables): Make variables used in nested
45871         function static.
45872
45873 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
45874
45875         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45876         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45877         if buffer was too small.
45878
45879         * elf/pldd.c (main): Attach to all threads in the process.
45880         Rewrite /proc handling to use *at functions.
45881
45882 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
45883
45884         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45885         specifies first scope to show.
45886         (dl_open_worker): Update callers.  Move printing scope of new
45887         object to before the relocation.
45888         * elf/rtld.c (dl_main): Update _dl_show_scope call.
45889         * sysdeps/generic/ldsodefs.h: Update declaration.
45890
45891         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45892         string for the scope number.
45893
45894 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
45895
45896         * nscd/servicescache.c (cache_addserv): Make sure written is always
45897         initialized.
45898
45899 2011-08-14  Roland McGrath  <roland@hack.frob.com>
45900
45901         * sysdeps/i386/i486/bits/atomic.h
45902         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45903         statement expression, so as to suppress "set but not used" warning.
45904         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45905
45906         * string/strncat.c (STRNCAT): Use prototype definition.
45907
45908         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45909         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45910         -Iprograms here.
45911         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45912         (localedef-modules): Add localedef.
45913         (locale-modules): Add locale.
45914
45915         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45916         * elf/rtld.c (dl_main): Invert order of assignment in last change,
45917         to avoid a warning.
45918
45919 2011-08-14  David S. Miller  <davem@davemloft.net>
45920
45921         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45922         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45923
45924 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
45925
45926         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
45927         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45928         * elf/rtld.c (dl_main): Set l_name of vDSO.
45929         Call _dl_show_scope when DL_DEBUG_SCOPES.
45930         (process_dl_debug): Recognize scopes flag and also set it for all.
45931         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45932         Declare _dl_show_scope.
45933
45934         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45935         (do_dlopen): Pass caller_dlopen to dl_open.
45936         (__libc_dlopen_mode): Initialize caller_dlopen.
45937
45938         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45939         of libc.  Make tolower call locale-independent.  Optimize a bit by
45940         using isdigit instead of isalnum.
45941         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45942
45943 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
45944
45945         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45946         was a dependency or dynamically loaded.
45947
45948 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
45949
45950         * intl/l10nflist.c: Allow architecture-specific pop function.
45951         * sysdeps/x86_64/l10nflist.c: New file.
45952
45953         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45954         classification.
45955
45956 2011-08-10  Andreas Schwab  <schwab@redhat.com>
45957
45958         * include/dirent.h: Add libc_hidden_proto for scandirat and
45959         scandirat64.  Don't declare __scandirat64.
45960         * dirent/scandirat.c: Add libc_hidden_def.
45961         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45962         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45963
45964 2011-08-10  David S. Miller  <davem@davemloft.net>
45965
45966         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45967         enum.
45968         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45969         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45970         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45971
45972 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
45973
45974         * Versions.def [libc]: Add GLIBC_2.15.
45975         * dirent/Makefile (routines): Add scandirat and scandirat64.
45976         * dirent/Versions [libc]: Export scandirat and scandirat64 for
45977         GLIBC_2.15.
45978         * dirent/dirent.h: Declare scandirat and scandirat64.
45979         * dirent/scandirat.c: New file.
45980         * dirent/scandirat64.c: New file.
45981         * sysdeps/wordsize-64/scandirat.c: New file.
45982         * sysdeps/wordsize-64/scandirat64.c: New file.
45983         * dirent/opendir.c: Define opendirat.
45984         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
45985         using scandirat.
45986         * dirent/scandir64.c: Adjust for scandir.c change.
45987         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
45988         __scandirat64, and __scandir_cancel_handler.
45989         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
45990         additional parameter and use openat instead of open (outside of ld.so).
45991         Add new __opendir as wrapper around __opendirat.
45992         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45993         here without requiring old scandirat implementation.
45994
45995 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
45996
45997         * dirent/scandir.c (cancel_handler): Renamed to
45998         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
45999         defined.  Adjust users.
46000         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46001         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46002
46003 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
46004
46005         * string/test-string.h (IMPL): Use __STRING to expand name and then
46006         stringify it.
46007
46008         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
46009         of cleanups.
46010
46011 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46012
46013         * string/Makefile: Update.
46014         (strop-tests): Append strncat.
46015         * string/test-wcscmp.c: New file.
46016         New comprehensive test for wcscmp.
46017         * string/test-strcmp.c: Update.
46018         (WIDE): New define.
46019
46020 2011-07-22  Andreas Schwab  <schwab@redhat.com>
46021
46022         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46023         line.
46024
46025 2011-07-26  Andreas Schwab  <schwab@redhat.com>
46026
46027         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46028         encoding to ACE if AI_IDN.
46029
46030 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
46031
46032         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46033         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46034
46035 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46036
46037         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46038         Fix overflow bug in strncat.
46039         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46040
46041         * string/test-strncat.c: Update.
46042         Add new tests for checking overflow bugs.
46043
46044 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46045
46046         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46047         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46048         * sysdeps/i386/i686/multiarch/strcat.S: New file.
46049         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46050         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46051         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46052         * sysdeps/i386/i686/multiarch/strncat.S: New file.
46053         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46054         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46055
46056         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46057         (USE_AS_STRCAT): Define.
46058         Add strcat and strncat support.
46059         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46060
46061 2011-07-25  Andreas Schwab  <schwab@redhat.com>
46062
46063         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46064         __n bigger than INT_MAX+1.
46065         (__strncmp_g): Likewise.
46066
46067 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
46068
46069         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46070         * libio/stido.h: Likewise.
46071
46072         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46073         (AF_NFC): Define.
46074         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46075         (AF_NFC): Define.
46076
46077         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46078         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46079         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46080         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46081         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46082
46083         [BZ #13021]
46084         * scripts/test-installation.pl: Don't expect libnss_test1 to be
46085         installed.
46086
46087         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46088         typo.
46089         (_dl_x86_64_save_sse): Likewise.
46090
46091 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
46092
46093         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46094         OSXSAVE.
46095         (_dl_x86_64_save_sse): Likewise.
46096
46097         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46098
46099         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46100
46101 2011-07-21  Andreas Schwab  <schwab@redhat.com>
46102
46103         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46104         change.
46105         (_dl_x86_64_save_sse): Use correct AVX check.
46106
46107 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46108
46109         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46110         bug in strncpy/strncat.
46111         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46112
46113 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
46114
46115         * string/tester.c (test_strcat): Add tests for different alignments
46116         of source and destination.
46117         (test_strncat): Likewise.
46118
46119 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46120
46121         [BZ #12852]
46122         * posix/glob.c (glob): Check passed in values before using them in
46123         expressions to avoid some overflows.
46124         (glob_in_dir): Likewise.
46125
46126         [BZ #13007]
46127         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46128         check for AVX enablement so that we don't crash with old kernels and
46129         new hardware.
46130         * elf/tst-audit4.c: Add same checks here.
46131         * elf/tst-audit6.c: Likewise.
46132
46133         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46134
46135 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
46136
46137         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46138
46139 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46140
46141         * po/cs.po: Update from translation team.
46142         * po/bg.po: Likewise.
46143
46144 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
46145
46146         * misc/sys/cdefs.h: Add support for const attribute.
46147         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46148         to gnu_dev_{major,minor,makedev} functions.
46149
46150 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
46151
46152         * intl/dcigettext.c (get_output_charset): Add missing bracket.
46153
46154 2011-07-20  Andreas Schwab  <schwab@redhat.com>
46155
46156         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46157         strlen results.
46158
46159 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46160
46161         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46162         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46163         register in order to avoid conflicts with the soft frame pointer
46164         being held in r11 when necessary.
46165         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46166         (INTERNAL_VSYSCALL_NCS): Likewise.
46167
46168 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
46169
46170         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46171         * elf/dl-fini.c (_dl_fini): Adjust caller.
46172         * elf/dl-close.c (_dl_close_worker): Likewise.
46173         * sysdeps/generic/ldsodefs.h: Adjust declaration.
46174
46175 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46176
46177         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46178         "aux_cache->nlibs < 0".
46179
46180         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46181         in the reload-count case.
46182
46183 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46184
46185         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46186         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46187         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46188         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46189         * sysdeps/x86_64/multiarch/strcat.S: New file.
46190         * sysdeps/x86_64/multiarch/strncat.S: New file.
46191         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46192         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46193         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46194         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46195         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46196         (USE_AS_STRCAT): Define.
46197         Add strcat and strncat support.
46198         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46199         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46200         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46201         * string/strncat.c: Update.
46202         (USE_AS_STRNCAT): Define.
46203         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46204         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46205         and i7.
46206         * sysdeps/x86_64/multiarch/init-arch.h
46207         (bit_Prefer_PMINUB_for_stringop): New.
46208         (index_Prefer_PMINUB_for_stringop): Likewise.
46209         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46210         bit_Prefer_PMINUB_for_stringop.
46211
46212 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46213
46214         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46215         buffer64.
46216         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46217         of casting of buffer.
46218         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46219         buffer32 and buffer64.
46220         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46221         writes instead of casting of buffer.
46222         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46223         buffer32.
46224         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46225         casting of buffer.
46226
46227 2011-07-19  Andreas Schwab  <schwab@redhat.com>
46228
46229         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46230
46231 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46232
46233         * nscd/nscd.c (termination_handler): Don't do anything for a database
46234         if it has not yet been initialized.
46235
46236 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46237
46238         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46239
46240 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46241
46242         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46243
46244 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46245
46246         * po/nl.po: Update from translation team.
46247         * po/sv.po: Likewise.
46248
46249 2011-07-16  Roland McGrath  <roland@hack.frob.com>
46250
46251         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46252         now disallowed by GCC.
46253
46254         * configure.in (use-default-link): Default to yes if a test -shared
46255         link meets our qualifications.
46256         * configure: Regenerated.
46257
46258         * config.make.in (output-format): New variable.
46259         * configure.in: Check for ld --print-output-format support.
46260         * configure: Regenerated.
46261         * Makerules ($(common-objpfx)format.lds)
46262         [$(output-format) != unknown]: Just use $(output-format),
46263         instead of the linker-script munging.
46264
46265 2011-07-14  Roland McGrath  <roland@hack.frob.com>
46266
46267         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46268         of $(common-objpfx)shlib.lds.
46269         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46270
46271         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46272         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46273
46274         * configure.in (-z relro check): Adjust test code to add a large
46275         writable data section after it.
46276         * configure: Regenerated.
46277
46278 2011-07-11  Roland McGrath  <roland@hack.frob.com>
46279
46280         * configure.in (-z relro check): Fix test code to make the variable
46281         truly const.
46282         * configure: Regenerated.
46283
46284 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
46285
46286         * nscd/nscd.h (struct traced_file): Define.
46287         (struct database_dyn): Remove inotify_descr, reset_res, and filename
46288         elements.  Add traced_files.
46289         (inotify_fd): Declare.
46290         (register_traced_file): Declare.
46291         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46292         (inotify_fd): Export.
46293         (resolv_conf_descr): Remove.
46294         (nscd_init): Move inotify descriptor creation to main.
46295         Don't register files for notification here.
46296         (register_traced_file): New function.
46297         (invalidate_cache): Don't use reset_res to determine whether to call
46298         res_init, go through the list of registered files.
46299         (main_loop_poll): The inotify descriptors are now stored in the
46300         structures for the traced files.
46301         (main_loop_epoll): Likewise
46302         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
46303         to __nss_disable_nscd.
46304         * nscd/cache.c (prune_cache): There is no single inotify descriptor
46305         for a database anymore.  Check the records for all the registered
46306         files instead.
46307         * nss/Makefile (libnss_files-routines): Add files-init.
46308         (libnss_db-routines): Add db-init.
46309         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46310         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46311         * nss/nss_db/db-init.c: New file.
46312         * nss/nss_files/files-init.c: New file.
46313         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
46314         __nss_lookup_function.
46315         (__nss_lookup_function): Call nss_load_library.
46316         (nss_load_all_libraries): New function.
46317         (__nss_disable_nscd): Take parameter with callback function for files
46318         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
46319         used for the cached services.
46320         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46321         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46322         options for features to all the files in nscd.
46323
46324         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46325
46326 2011-07-10  Roland McGrath  <roland@hack.frob.com>
46327
46328         * csu/elf-init.c (__libc_csu_init): Comment typo.
46329
46330 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
46331
46332         * po/pl.po: Update from translation team.
46333         * po/ja.po: Likewise.
46334         * po/ru.po: Likewise.
46335         * po/ko.po: Likewise.
46336         * po/fr.po: Likewise.
46337
46338 2011-07-09  Roland McGrath  <roland@hack.frob.com>
46339
46340         * configure.in (.ctors/.dtors header and trailer check):
46341         Use an empirical test on a built program.
46342         * configure: Regenerated.
46343
46344         * configure.in (-z relro check): Use an empirical test on a built DSO.
46345         Detect, but do not require, on ia64.
46346         * configure: Regenerated.
46347
46348         * configure.in (READELF): Find it with AC_CHECK_TOOL.
46349         Update tests that use readelf to use $READELF instead.
46350         * configure: Regenerated.
46351
46352 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
46353
46354         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46355         if the result is not used.
46356
46357 2011-07-05  Andreas Jaeger  <aj@suse.de>
46358
46359         [BZ#9696]
46360         * stdlib/tst-strtod.c: Add testcase.
46361
46362 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
46363
46364         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46365         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46366         The latter has a higher limit.  Take additional parameter to pass to
46367         the new function.
46368         (__pathconf): Pass file to __statfs_link_max.
46369         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46370         __statfs_link_max.
46371         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46372         __statfs_link_max.
46373
46374         [BZ #12868]
46375         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46376         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46377         Handle Lustre.
46378         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46379         (__statfs_filesize_max): Likewise.
46380         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46381
46382 2011-07-05  Andreas Jaeger  <aj@suse.de>
46383
46384         * resolv/res_comp.c (dn_skipname): Remove unused variable.
46385
46386 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
46387
46388         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46389         `status' variable.
46390         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46391         Likewise.
46392
46393 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
46394
46395         * Makefile (strop-tests): Add strncat.
46396         * string/test-strncat.c: New file.
46397
46398 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
46399
46400         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46401
46402 2011-06-21  Andreas Jaeger  <aj@suse.de>
46403
46404         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46405         Copy rule from iconvdata/Makefile.
46406
46407 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46408
46409         [BZ #12922]
46410         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46411         but no long options are defined, just return 'W'.
46412
46413 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
46414
46415         [BZ #9696]
46416         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46417
46418 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46419
46420         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46421         netgroups to read.
46422         (innetgr): Likewise.
46423
46424 2011-07-05  Roland McGrath  <roland@hack.frob.com>
46425
46426         * config.make.in (install_root): Default to $(DESTDIR).
46427
46428 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
46429
46430         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46431
46432 2011-07-02  Roland McGrath  <roland@hack.frob.com>
46433
46434         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46435
46436         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46437         containing directory rather than embedding absolute directory names.
46438
46439         * scripts/check-local-headers.sh: Rewritten using awk.
46440         Match by word, not by line.  Print error messages for matches.
46441         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46442
46443         * Makerules [shlib-lds-flags empty]:
46444         ($(common-objpfx)libc_pic.opts): New target.
46445         ($(common-objpfx)libc_pic.os.clean): New target.
46446         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46447
46448         * config.make.in (OBJCOPY): New variable.
46449         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46450         * configure: Regenerated.
46451
46452         * config.make.in (use-default-link): New variable.
46453         * configure.in (use_default_link): Grok --with-default-link to set it.
46454         * configure: Regenerated.
46455         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46456         (shlib-lds, shlib-lds-flags): Define to empty.
46457
46458         * Makerules (shlib-lds): New variable.
46459         (shlib-lds-flags): New variable.
46460         (build-shlib, build-moduile, build-module-asneeded): Use it.
46461         ($(common-objpfx)libc.so): Use $(shlib-lds).
46462         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46463         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46464
46465         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46466         DT_FLAGS/DT_FLAGS_1 with zero flags.
46467
46468         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46469         linker script munging.
46470
46471 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
46472
46473         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46474         as 128-bit value.
46475         * crypt/sha512.c (sha512_process_block): Perform total addition using
46476         128-bit if possible.
46477         (__sha512_finish_ctx): Likewise.
46478         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46479         as 64-bit value.
46480         * crypt/sha256.c (SWAP64): Define.
46481         (sha256_process_block): Perform total addition using 64-bit if
46482         possible.
46483         (__sha256_finish_ctx): Likewise.
46484
46485 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
46486
46487         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
46488         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46489         * nscd/hstcache.c (cache_addhst): Likewise.
46490         * nscd/grpcache.c (cache_addgr): Likewise.
46491         * nscd/aicache.c (addhstaiX): Likewise
46492         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46493
46494 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
46495
46496         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46497         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46498         * nscd/hstcache.c (cache_addhst): Likewise.
46499         * nscd/grpcache.c (cache_addgr): Likewise.
46500         * nscd/aicache.c (addhstaiX): Likewise
46501
46502 2011-07-01  Andreas Schwab  <schwab@redhat.com>
46503
46504         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46505         domain only when needed.
46506
46507 2011-06-30  Andreas Schwab  <schwab@redhat.com>
46508
46509         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46510         is always restored.
46511
46512 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
46513
46514         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46515         are re-adding the entry.
46516         * nscd/servicescache.c (cache_addserv): Likewise.
46517
46518 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
46519
46520         * sysdeps/generic/dl-irel.h: fix protection against multiple
46521         inclusions.
46522         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46523
46524 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
46525
46526         [BZ #12935]
46527         * malloc/memusage.sh: Fix quoting in message.
46528         * debug/xtrace.sh: Likewise.
46529
46530         * configure.in: Remove support for --experimental-malloc option, make
46531         it the default.
46532         * config.make.in: Likewise.
46533         * malloc/Makefile: Likewise.
46534
46535 2011-06-27  Andreas Schwab  <schwab@redhat.com>
46536
46537         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46538         two-byte characters.
46539
46540 2011-06-27  Roland McGrath  <roland@hack.frob.com>
46541
46542         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46543         AC_CACHE_CHECK invocation.
46544         * configure: Regenerated.
46545
46546         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46547
46548 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
46549
46550         [BZ #12350]
46551         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
46552         bit from old_res_options.
46553
46554         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46555
46556         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46557         value type for setfct.
46558
46559 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
46560
46561         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46562         __gettimeofday instead of gettimeofday.
46563
46564 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
46565
46566         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46567
46568 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
46569
46570         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46571
46572         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46573         info.
46574
46575 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
46576
46577         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46578         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46579         strcpy-sse2-unaligned strncpy-sse2-unaligned
46580         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46581         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46582         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46583         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46584         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46585         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46586         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46587         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46588         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46589         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46590         (STRCPY): Support SSE2 and SSSE3 versions.
46591
46592 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
46593
46594         [BZ #12874]
46595         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46596         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46597         kernels which artificially limit size of requests.
46598
46599 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
46600
46601         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46602         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46603         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46604         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46605         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46606         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46607         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46608         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46609         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46610         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46611         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46612         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46613         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46614         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46615         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46616         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46617         Enable unaligned load optimization for Intel Core i3, i5 and i7
46618         processors.
46619         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46620         Define.
46621         (index_Fast_Unaligned_Load): Define.
46622         (HAS_FAST_UNALIGNED_LOAD): Define.
46623
46624 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
46625
46626         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46627
46628 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
46629
46630         [BZ #12907]
46631         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46632         until it is clear that the information is realy needed.
46633         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46634
46635 2011-06-22  Andreas Schwab  <schwab@redhat.com>
46636
46637         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46638
46639 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
46640
46641         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46642         /sys/devices/system/cpu/online if it is usable.
46643
46644         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46645         reading the information from the /proc filesystem to once a second.
46646
46647 2011-06-21  Andreas Jaeger  <aj@suse.de>
46648
46649         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46650         NULL after inclusion of kernel headers.
46651
46652 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
46653
46654         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46655         calls to internal_setent.
46656
46657         [BZ #12885]
46658         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46659         addresses using gethostbyname4_r ignore IPv4 addresses.
46660
46661         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46662         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
46663
46664         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46665
46666 2011-06-20  David S. Miller  <davem@davemloft.net>
46667
46668         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46669         inclusions.
46670         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46671
46672         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46673         (elf_irel): Use it.
46674         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46675         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46676         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46677         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46678         * sysdeps/x86_64/dl-irel.h: Likewise.
46679
46680         * elf/dl-runtime.c: Use elf_ifunc_invoke.
46681         * elf/dl-sym.c: Likewise.
46682
46683 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
46684
46685         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
46686         need to dereference resplen2.
46687
46688 2011-06-14  Andreas Schwab  <schwab@redhat.com>
46689
46690         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46691
46692 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
46693
46694         * Makeconfig: Define vardbdir and inst_vardbdir.
46695         * nss/Makefile: Add rules to install db-Makefile.
46696
46697         * nss/nss_db/db-XXX.c: Cleanup.
46698
46699         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46700         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46701         GLIBC_PRIVATE.
46702         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46703         * nss/makedb.c: Implement -g option to specify that value strings
46704         are generated and should not be added to table iterated over for
46705         get*ent calls.
46706         * nss/nss_db/db-initgroups.c: New file.
46707
46708         * nss/getent.c: Add support for initgroups lookups through getgrouplist
46709         interface.
46710
46711         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46712         (internal_getgrouplist): Adjust to name change.
46713         Update use_initgroups_entry if this is not the first call.
46714         * nss/databases.def: Add initgroups entry.
46715
46716         * nss/makedb.c (compute_tables): Check result of multiple hash table
46717         sizes to minimize maximum chain length.
46718
46719 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
46720
46721         * Versions.def: Add entry for libnss_db.
46722         * shlib-versions: Likewise.
46723         * nss/Makefile: Add rules to build libnss_db.
46724         * nss/Versions: Add libnss_db information.  Organize libnss_files
46725         entries better.
46726         * nss/db-Makefile: Add gshadow support.  Change rules for the new
46727         makedb progra.  Some minor improvements to generate smaller files.
46728         * nss/nss_db/nss_db.h: Move NSS database header data structures to
46729         here from...
46730         * nss/makedb.c: ...here.
46731         Improve database format to be smaller and require less memory at
46732         runtime.
46733         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
46734         db anymore.
46735         * nss/nss_db/db-netgrp.c: Likewise.
46736         * nss/nss_db/db-open.c: Likewise.
46737         * nss/nss_files/flies-XXX.x: Adjust comments.
46738         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46739         * nss/nss_files/files-grp.c: Likewise.
46740         * nss/nss_files/files-hosts.c: Likewise.
46741         * nss/nss_files/files-network.c: Likewise.
46742         * nss/nss_files/files-proto.c: Likewise.
46743         * nss/nss_files/files-pwd.c: Likewise.
46744         * nss/nss_files/files-rpc.c: Likewise.
46745         * nss/nss_files/files-service.c: Likewise.
46746         * nss/nss_files/files-sgrp.c: Likewise.
46747         * nss/nss_files/files-spwd.c: Likewise.
46748         * nss/nss_db/db-alias.c: Removed.
46749         * nss/nss_db/dummy-db.h: Removed.
46750
46751 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
46752
46753         * nss/makedb.c: Rewritten to not use database library.
46754         * nss/Makefile: Update to build new makedb program.
46755
46756 2011-06-14  Andreas Jaeger  <aj@suse.de>
46757
46758         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46759         memset declaration.
46760
46761 2011-06-10  Andreas Schwab  <schwab@redhat.com>
46762
46763         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46764         tmpbuf.
46765
46766 2011-06-10  Roland McGrath  <roland@hack.frob.com>
46767
46768         * Makerules (shlib.lds): Fail if the linker script comes out empty.
46769         * elf/Makefile ($(objpfx)ld.so): Likewise.
46770
46771         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46772         Don't list ld.so twice in dependencies.
46773
46774         * posix/bug-regex31.c: Include <stdlib.h>.
46775
46776         * nscd/hstcache.c (cache_addhst): Remove unused variable.
46777
46778         * nis/nss_compat/compat-spwd.c
46779         (getspent_next_nss_netgr): Remove unused variable.
46780         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46781
46782         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46783         nonmembers" output to use the right array.
46784
46785         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46786
46787         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46788
46789         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46790         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46791         * catgets/gencat.c (read_input_file): Likewise.
46792         * locale/programs/locarchive.c (enlarge_archive): Likewise.
46793
46794         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46795         variable definition inside #if's controlling its use.
46796
46797         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46798
46799         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46800
46801         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46802
46803         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46804         unreachable code.
46805
46806         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46807
46808         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46809         * configure: Regenerated.
46810
46811         * Makerules: Revert last change.
46812         * elf/Makefile: Likewise.
46813
46814 2011-06-09  Roland McGrath  <roland@hack.frob.com>
46815
46816         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46817         * elf/Makefile ($(objpfx)librtld.os): Likewise.
46818         (reloc-link): Likewise.
46819
46820 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
46821
46822         * elf/Makefile: Add rules to build pldd.
46823         * elf/pldd.c: New file.
46824         * elf/pldd-xx.c: New file.
46825
46826 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
46827
46828         * version.h: Update for 2.15 development version.
46829
46830 2011-06-07  David S. Miller  <davem@davemloft.net>
46831
46832         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46833         ifuncs.
46834         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46835         elf_machine_lazy_rel): Likewise.
46836         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46837         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46838         elf_machine_lazy_rel): Likewise.
46839         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46840         dl_hwcap via passed in argument.
46841         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46842         Likewise.
46843
46844 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46845
46846         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
46847
46848 2011-06-06  Roland McGrath  <roland@hack.frob.com>
46849
46850         [BZ #12849]
46851         * manual/fdl-1.1.texi: New file, verbatim from:
46852         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46853         * manual/lgpl-2.1.texi: New file, verbatim from:
46854         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46855         * manual/Makefile (licenses): New variable, list those new file names.
46856         (texis): Use it.
46857         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46858
46859         * manual/fdl.texi: File removed.
46860         * manual/lesser.texi: File removed.
46861         * manual/libc.texinfo (Copying, Documentation License):
46862         Use new @include file names, put @appendix directive before @include.
46863
46864 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
46865
46866         [BZ #12841]
46867         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46868         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46869         (mq_open): Add __NTH.
46870
46871 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
46872
46873         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46874         Assume Intel Core i3/i5/i7 processor if AVX is available.
46875
46876 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
46877
46878         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46879         typo.
46880
46881 2011-05-31  Andreas Schwab  <schwab@redhat.com>
46882
46883         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46884         memory.  Use alloca_account.  Fix memory leak when retrying.
46885
46886 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
46887
46888         * version.h (RELEASE): Bump for 2.14 release.
46889         * include/features.h (__GLIBC_MINOR__): Bump to 14.
46890
46891         * config.make.in (RANLIB): Remove entry.
46892
46893 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
46894
46895         * po/Makefile (po-sed-cmd): Add ksh to extensions.
46896         (libc.pot): Work around missing support for .ksh extension in xgettext.
46897
46898         [BZ #12684]
46899         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46900         if both request failed.
46901         (send_dg): In case of server errors clear resplen or *resplen2.
46902
46903         [BZ #12454]
46904         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46905         when there are multiple maps.
46906         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46907         (_dl_fini): Remove test here.
46908
46909         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46910
46911 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
46912
46913         [BZ #12350]
46914         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46915         bit from old_res_options.
46916         (gaih_inet): Likewise.
46917
46918         [BZ #11099]
46919         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
46920         as signed.
46921
46922         * resolv/res_init.c (res_setoptions): Make the code more compact.
46923
46924         [BZ #11558]
46925         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46926         set RES_USEVC.
46927
46928         [BZ #11634]
46929         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46930
46931         * malloc/malloc.h: Mark malloc hook variables as deprecated.
46932
46933         [BZ #11781]
46934         * malloc/malloc.h: Declare malloc hook variables as volatile.
46935
46936         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46937         in last patch.
46938
46939         [BZ #11799]
46940         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
46941         raise in the comment.
46942         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46943         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46944         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
46945
46946 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
46947
46948         [BZ #12811]
46949         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46950         grow the buffers more if it already has to be sufficient.
46951         (build_wcs_upper_buffer): Likewise.
46952         * posix/regexec.c (check_matching): Likewise.
46953         (clean_state_log_if_needed): Likewise.
46954         (extend_buffers): Don't enlarge buffers beyond size of the input
46955         buffer.
46956         Patches mostly by Emil Wojak <emil@wojak.eu>.
46957         * posix/bug-regex32.c: New file.
46958         * posix/Makefile (tests): Add bug-regex32.
46959
46960         * locale/findlocale.c (_nl_find_locale): Return right away if
46961         _nl_explode_name failed.
46962         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46963
46964         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46965
46966         * debug/xtrace.sh: Unify messages.
46967         * malloc/memusage.sh: Likewise.
46968
46969         [BZ #12813]
46970         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46971         time symbol from vDSO.  Substitute with vsyscall if not available.
46972         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46973         __vdso_time.
46974
46975         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46976         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46977         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46978         Add sendmmsg and internal_sendmmsg.
46979         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46980         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46981         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46982
46983         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46984         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46985         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46986
46987 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
46988
46989         [BZ #12813]
46990         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46991         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
46992         available.
46993         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46994         __vdso_getcpu.
46995
46996         [BZ #12814]
46997         * iconvdata/Makefile (tests): Add bug-iconv9.
46998         * iconvdata/bug-iconv9.c: New file.
46999
47000 2011-05-27  Andreas Schwab  <schwab@redhat.com>
47001
47002         [BZ #12814]
47003         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47004
47005 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
47006
47007         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47008         (struct user_regs_struct): Change intcs field back to cs.
47009
47010 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
47011
47012         * po/ja.po: Update from translation team.
47013
47014 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
47015
47016         [BZ #12795]
47017         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47018         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47019
47020 2011-05-20  Andreas Schwab  <schwab@redhat.com>
47021
47022         * stdlib/longlong.h: Update from GCC.
47023
47024 2011-05-23  Andreas Schwab  <schwab@redhat.com>
47025
47026         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47027         parameter name.
47028         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47029         Add parameter name.
47030         (__sysconf): Pass it down.
47031
47032 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
47033
47034         [BZ #12671]
47035         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47036         some situations.
47037         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47038         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47039         add in in __libc_use_alloca calls.  Adjust callers.
47040         (glob): Use malloc in some situations.
47041
47042         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47043         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47044         pltexit.
47045
47046 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
47047
47048         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47049         and CLOCK_BOOTTIME_ALARM.
47050
47051         [BZ #12782]
47052         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47053         is returned.
47054
47055         * string/_strerror.c (__strerror_r): Print negative errors as signed
47056         numbers.
47057
47058         [BZ #12777]
47059         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47060         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47061         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47062
47063         * configure.in: Fix typo in redirection and correct removal of test
47064         files in two cases.
47065
47066         [BZ #12788]
47067         * locale/setlocale.c (new_composite_name): Fix test to check for
47068         identical name of all categories.
47069
47070         [BZ #12792]
47071         * libio/filedoalloc.c (local_isatty): New function.
47072         (_IO_file_doallocate): Use local_isatty.
47073         * stdio-common/perror.c (perror): In case a new stream is used
47074         forward the stream error.
47075         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47076         error flag.
47077
47078 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
47079
47080         [BZ #11869]
47081         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47082         alloca.
47083         * include/alloca.h (extend_alloca_account): Define.
47084
47085         [BZ #11857]
47086         * posix/regex.h: Fix comments with documentation of user-accessible
47087         fields after compilation and describe correct free'ing of pattern
47088         after re_compile_pattern.
47089         Patch by Reuben Thomas <rrt@sc3d.org>.
47090
47091 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
47092
47093         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47094         and -mno-altivec to prevent the compiler from using Altivec and/or
47095         VSX instructions when the corresponding registers are not available.
47096
47097 2011-05-19  Andreas Schwab  <schwab@redhat.com>
47098
47099         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47100
47101 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
47102
47103         * libio/freopen.c (freopen): Use __dup2, not dup2.
47104         * libio/freopen64.c (freopen64): Likewise.
47105
47106 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47107
47108         [BZ #12775]
47109         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47110         * math/Makefile (tests): Add test-powl.
47111         (CFLAGS-test-powl.c): Define.
47112         * math/test-powl.c: New file.
47113
47114 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47115
47116         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47117
47118 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
47119
47120         [BZ #11837]
47121         * iconvdata/gb18030.c: Update to GB18020-2005.
47122
47123 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
47124
47125         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47126         RE_SYNTAX_POSIX_AWK): Update to match recent development.
47127         Patch by Aharon Robbins <arnold@skeeve.com>.
47128
47129         [BZ #11892]
47130         * stdlib/putenv.c (putenv): Don't always create copy of the variable
47131         on the stack.
47132
47133         [BZ #11895]
47134         * misc/pselect.c (__pselect): Handle timeout value errors hidden
47135         through underflows.
47136
47137         [BZ #12766]
47138         * misc/error.c (error_at_line): Ensure file_name and old_file_name
47139         point to strings before performing equality test for error_one_per_line
47140         mode.
47141
47142         [BZ #11697]
47143         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47144
47145         [BZ #11820]
47146         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47147         (struct user_fpregs_struct): Avoid __uint*_t types.
47148
47149         [BZ #6420]
47150         * malloc/mtrace.c (tr_where): Add additional parameter to point to
47151         symbol info.  Use it instead of calling _dl_addr locally.
47152         (lock_and_info): New function.
47153         (tr_freehook): Call lock_and_info and pass symbol info as additional
47154         parameter to tr_where.
47155         (tr_mallochook): Likewise.
47156         (tr_reallochook): Likewise.
47157         (tr_memalignhook): Likewise.
47158
47159         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
47160         used and couldn't be at all thread-safe.
47161
47162 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
47163
47164         * libio/freopen.c (freopen): Don't close old file descriptor
47165         before the new one is opened.  Instead dup the new file descriptor
47166         to the old one after the new stream is created.
47167         * libio/freopen64.c (freopen64): Likewise.
47168         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47169         * libio/fileops.c (_IO_new_file_close_it): Handle new
47170         _IO_FLAGS2_NOCLOSE flag.
47171         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47172         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47173         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47174         _IO_FLAGS2_NOCLOSE flag.
47175         * include/unistd.h: Add hidden_proto for dup3.
47176         Define __have_dup3.
47177         * io/dup3.c: Define hidden symbol.
47178         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47179
47180         [BZ #7101]
47181         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47182         when an incomplete long option is used.
47183         * posix/tst-getopt_long1.c: New file.
47184         * posix/Makefile (tests): Add tst-getopt_long1.
47185
47186         [BZ #10138]
47187         * scripts/config.guess: Update from autoconf-2.68.
47188         * scripts/config.sub: Likewise.
47189
47190         [BZ #10157]
47191         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47192         tests into ...
47193         (has_cpuclock): ...this.  New function.
47194         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47195         macro here based on has_cpuclock code.
47196
47197         [BZ #10149]
47198         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47199         First byte (not low byte) is now always NUL.
47200         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47201
47202         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47203         Use non-cancelable interfaces.
47204
47205         [BZ #9809]
47206         * locale/iso-639.def: Add entry for Sorani.
47207
47208         [BZ #11901]
47209         * include/stdlib.h: Move include protection to the right place.
47210         Define abort_msg_s.  Declare __abort_msg with it.
47211         * stdlib/abort.c (__abort_msg): Adjust type.
47212         * assert/assert.c (__assert_fail_base): New function.  Majority
47213         of code from __assert_fail.  Allocate memory for __abort_msg with
47214         mmap.
47215         (__assert_fail): Now call __assert_fail_base.
47216         * assert/assert-perr.c: Remove bulk of implementation.  Use
47217         __assert_fail_base.
47218         * include/assert.hL Declare __assert_fail_base.
47219         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47220         mmap.
47221         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47222
47223 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
47224
47225         [BZ #11952]
47226         [BZ #12453]
47227         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47228         until all modules are registered in the DTV.
47229         * elf/Makefile: Add rules to build and run tst-tls19.
47230         * elf/tst-tls19.c: New file.
47231         * elf/tst-tls19mod1.c: New file.
47232         * elf/tst-tls19mod2.c: New file.
47233         * elf/tst-tls19mod3.c: New file.
47234         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47235
47236         [BZ #12083]
47237         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47238         correctly.
47239
47240         [BZ #12601]
47241         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47242         two-byte sequence errors.
47243         * iconvdata/Makefile (tests): Add bug-iconv8.
47244         * iconvdata/bug-iconv8.c: New file.
47245
47246         [BZ #12626]
47247         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47248         buf2 definition.
47249
47250         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47251
47252         [BZ #12432]
47253         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47254         (dummy_getcfa): New function.
47255         (init): Get _Unwind_GetCFA address, use dummy if not found.
47256         (backtrace_helper): In recursion check, also check whether CFA changes.
47257         (__backtrace): Completely initialize arg.
47258
47259         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47260         storing incomplete byte sequence in state object.  Avoid testing for
47261         guaranteed too small input if we know there is enough data available.
47262
47263 2011-05-11  Andreas Schwab  <schwab@redhat.com>
47264
47265         * Makeconfig (+link-pie): Indent.
47266         * Rules (binaries-pie): Define if $(have-fpie) and
47267         $(build-shared).
47268         (binaries-shared): Also filter out $(binaries-pie).
47269         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47270         * nscd/Makefile (others-pie): Add nscd.
47271         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47272         ($(objpfx)nscd): Remove command override.
47273         * login/Makefile (others-pie): Add pt_chown.
47274         ($(objpfx)pt_chown): Remove command override.
47275         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47276         remove command overrides.
47277
47278 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
47279
47280         * libio/tst_putwc.c: Fix error messages.
47281
47282         [BZ #12724]
47283         * libio/fileops.c (_IO_new_file_close_it): Always flush when
47284         currently writing and seek to current position when not.
47285         * libio/Makefile (tests): Add bug-fclose1.
47286         * libio/bug-fclose1.c: New file.
47287
47288 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
47289
47290         [BZ #12511]
47291         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47292         don't set DF_1_NODELETE here.
47293         (do_lookup_x): When entering new entry test for copy relocation
47294         and if necessary set DF_1_NODELETE flag.
47295         * elf/tst-unique4.cc: New file.
47296         * elf/tst-unique4.h: New file.
47297         * elf/tst-unique4lib.cc: New file.
47298         * elf/Makefile: Add rules to build and run tst-unique4.
47299         Patch by Piotr Bury <pbury@goahead.com>.
47300
47301 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
47302
47303         [BZ #12052]
47304         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47305
47306         [BZ #12625]
47307         * misc/mntent_r.c (addmntent): Flush the stream after the output
47308
47309         [BZ #12393]
47310         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47311         (is_trusted_path_normalize): Skip initial colon.  Append slash
47312         to empty buffer.  Duplicate is_trusted_path code but allow
47313         constructed patch to be prefix.
47314         (is_dst): Allow $ORIGIN followed by /.
47315         (_dl_dst_substitute): Correct clearing of check_for_trusted.
47316         Correct testing of result of is_trusted_path_normalize
47317         (decompose_rpath): Fix warning.
47318
47319 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
47320
47321         [BZ #11257]
47322         * grp/initgroups.c (internal_getgrouplist): When we found the service
47323         list through the initgroups entry in nsswitch.conf do not always
47324         continue on a successful lookup.  Don't always use the
47325         __nss_group_database value if it is set.
47326         * nss/nsswitch.conf (initgroups): Change action for successful db
47327         lookup to continue for compatibility.
47328
47329 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
47330
47331         [BZ #11532]
47332         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47333         and CP774 modules.
47334         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47335         and CP774 modules.
47336         * iconvdata/tst-tables.sh: Likewise.
47337         * iconvdata/cp770.c: New file.
47338         * iconvdata/cp771.c: New file.
47339         * iconvdata/cp772.c: New file.
47340         * iconvdata/cp773.c: New file.
47341         * iconvdata/cp774.c: New file.
47342         * iconvdata/testdata/CP770: New file.
47343         * iconvdata/testdata/CP770..UTF8: New file.
47344         * iconvdata/testdata/CP771: New file.
47345         * iconvdata/testdata/CP771..UTF8: New file.
47346         * iconvdata/testdata/CP772: New file.
47347         * iconvdata/testdata/CP772..UTF8: New file.
47348         * iconvdata/testdata/CP773: New file.
47349         * iconvdata/testdata/CP773..UTF8: New file.
47350         * iconvdata/testdata/CP774: New file.
47351         * iconvdata/testdata/CP774..UTF8: New file.
47352
47353         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47354         END CHARMAP line.
47355         * iconvdata/gen-8bit-gap.sh: Likewise.
47356         * iconvdata/gen-8bit.sh: Likewise.
47357
47358         * locale/iso-639.def: Add ary entry.
47359
47360         [BZ #11258]
47361         * locale/C-translit.h.in: Add U20A1 transliteration.
47362
47363         [BZ #12178]
47364         * locale/iso-639.def: Add wae entry.
47365         Patch by Kevin Bortis <bortis@translate-wae.ch>.
47366
47367         [BZ #12545]
47368         * locale/programs/localedef.c (construct_output_path): Use ssize_t
47369         for n.
47370
47371         [BZ #12711]
47372         * locale/C-translit.h.in: Add entry for U20B9.
47373         Patch by pravin.d.s@gmail.com.
47374
47375 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
47376
47377         [BZ #12713]
47378         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47379         ENAMETOOLONG use generic getcwd.
47380         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
47381         in rtld.  Use *stat64.
47382         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47383         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47384         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47385         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47386         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47387         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47388         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47389         __fstatat64 macros.
47390         * include/dirent.h: Add libc_hidden_proto for rewinddir.
47391         * dirent/rewinddir.c: Add libc_hidden_def.
47392         * sysdeps/mach/hurd/rewinddir.c: Likewise.
47393         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
47394
47395         * include/dirent.h (__alloc_dir): Add flags parameter.
47396         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47397         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47398         __alloc_dir.
47399         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
47400         from fdopendir if O_CLOEXEC is already set.
47401
47402 2011-03-15  Alan Modra  <amodra@gmail.com>
47403
47404         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47405         l_tls_firstbyte_offset non-zero.  Save padding offset in
47406         l_tls_firstbyte_offset for later use.
47407         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47408         freeing static tls block.
47409
47410 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
47411
47412         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47413         where #ifdef was intended.  The intent is to prevent ARG_MAX from
47414         being defined by the kernel headers.
47415
47416 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
47417
47418         [BZ #12734]
47419         * resolv/resolv.h: Define RES_NOTLDQUERY.
47420         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47421         no-tld-query and set RES_NOTLDQUERY.
47422         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47423         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47424         modern BIND to search name as TLD unless forbidden.
47425
47426 2011-05-07  Petr Baudis  <pasky@suse.cz>
47427             Ulrich Drepper  <drepper@gmail.com>
47428
47429         [BZ #12393]
47430         * elf/dl-load.c (fillin_rpath): Move trusted path check...
47431         (is_trusted_path): ...to here.
47432         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47433         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47434         using is_trusted_path_normalize() in setuid scripts.
47435
47436 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
47437
47438         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47439         __BEGIN/__END_DECLS.
47440
47441 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
47442
47443         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47444         NSS_STATUS_NOTFOUND if no record was found.
47445
47446 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47447
47448         * sunrpc/Makefile (headers): Add rpc/netdb.h.
47449         (headers-not-in-tirpc): Remove rpc/netdb.h
47450         * resolv/netdb.h: Revert last change.
47451
47452 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47453
47454         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47455         circular dependency between libgcc.a and libc.a.
47456
47457 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47458
47459         * resolv/netdb.h: Don't include <rpc/netdb.h>.
47460         * nis/Makefile: Don't install rpcsvc/*.
47461         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47462         instead of <rpc/types.h>.
47463         (MAXHOSTNAMELEN): Define.
47464
47465 2011-05-03  Andreas Schwab  <schwab@redhat.com>
47466
47467         * elf/ldconfig.c (add_dir): Don't crash on empty path.
47468
47469 2011-04-28  Maciej Babinski  <mbabinski@google.com>
47470
47471         [BZ #12714]
47472         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47473         gethostbyname4_r when IPv6 results are possible.
47474
47475 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
47476
47477         [BZ #12723]
47478         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47479         _PC_PIPE_BUF handling.
47480
47481 2011-04-30  Bruno Haible  <bruno@clisp.org>
47482
47483         [BZ #12717]
47484         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47485         * resolv/netdb.h (getnameinfo): Change type of flags parameter
47486         to 'int'.
47487         * inet/getnameinfo.c (getnameinfo): Likewise.
47488
47489 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
47490
47491         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47492         to groups setting in database lookup.
47493         * nss/nsswitch.conf: Add initgroups entry.
47494
47495 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
47496
47497         [BZ #12685]
47498         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47499         mode string.
47500         Patch by Eric Blake <eblake@redhat.com>.
47501
47502 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
47503
47504         * sunrpc/Makefile (need-export-routines): Add svc_run.
47505         (routines): Remove svc_run.
47506         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47507         * sunrpc/clnt_perr.c (clnt_perrno): Export.
47508         * sunrpc/svc_run.c (svc_run): Likewise.
47509         * sunrpc/svc_udp.c (svcudp_create): Likewise.
47510
47511 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
47512
47513         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47514         problem in reallocation in last patch.
47515
47516 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
47517
47518         * sunrpc/Makefile: Move inclusion of Rules.
47519
47520 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47521
47522         * nss/nss_files/files-initgroups.c: New file.
47523         * nss/Makefile (libnss_files-routines): Add files-initgroups.
47524         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47525         _nss_files_initgroups_dyn.
47526
47527 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
47528
47529         * elf/elf.h (R_ARM_IRELATIVE): Define.
47530
47531 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47532
47533         * po/ru.po: Update from translation team.
47534
47535 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47536
47537         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47538         dependencies.
47539
47540 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
47541
47542         [BZ #12653]
47543         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47544         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47545         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47546         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47547         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47548
47549 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
47550
47551         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47552         differing bytes.
47553         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47554         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47555         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47556
47557 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47558
47559         [BZ #12420]
47560         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47561         storing it.
47562         * stdlib/bug-getcontext.c: New file.
47563         * stdlib/Makefile: Add rules to build and run bug-getcontext.
47564
47565 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47566
47567         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47568         instructions into .machine "z9-109".
47569         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47570         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47571
47572 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47573
47574         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47575         between environment variables and auxiliary vector.
47576
47577 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
47578
47579         * Makefile: Add rules to build linkobj/libc.so.
47580         * include/libc-symbols.h: Define libc_hidden_nolink.
47581         * include/rpc/auth.h: Mark functions which are to be hidden.
47582         * include/rpc/auth_des.h: Likewise.
47583         * include/rpc/auth_unix.h: Likewise.
47584         * include/rpc/clnt.h: Likewise.
47585         * include/rpc/des_crypt.h: Likewise.
47586         * include/rpc/key_prot.h: Likewise.
47587         * include/rpc/pmap_clnt.h: Likewise.
47588         * include/rpc/pmap_prot.h: Likewise.
47589         * include/rpc/pmap_rmt.h: Likewise.
47590         * include/rpc/rpc_msg.h: Likewise.
47591         * include/rpc/svc.h: Likewise.
47592         * include/rpc/svc_auth.h: Likewise.
47593         * include/rpc/xdr.h: Likewise.
47594         * nis/Makefile: Link all DSOs against linkobj/libc.so.
47595         * nss/Makefile: Likewise.
47596         * sunrpc/Makefile: Don't install headers.  Build library with normal
47597         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
47598         * sunrpc/auth_des.c: Hide exported symbols by default, export some
47599         for the compat linking library.  Remove use of INTDEF/INTUSE.
47600         * sunrpc/auth_none.c: Likewise.
47601         * sunrpc/auth_unix.c: Likewise.
47602         * sunrpc/authdes_prot.c: Likewise.
47603         * sunrpc/authuxprot.c: Likewise.
47604         * sunrpc/clnt_gen.c: Likewise.
47605         * sunrpc/clnt_perr.c: Likewise.
47606         * sunrpc/clnt_raw.c: Likewise.
47607         * sunrpc/clnt_simp.c: Likewise.
47608         * sunrpc/clnt_tcp.c: Likewise.
47609         * sunrpc/clnt_udp.c: Likewise.
47610         * sunrpc/clnt_unix.c: Likewise.
47611         * sunrpc/des_crypt.c: Likewise.
47612         * sunrpc/des_soft.c: Likewise.
47613         * sunrpc/get_myaddr.c: Likewise.
47614         * sunrpc/key_call.c: Likewise.
47615         * sunrpc/key_prot.c: Likewise.
47616         * sunrpc/netname.c: Likewise.
47617         * sunrpc/pm_getmaps.c: Likewise.
47618         * sunrpc/pm_getport.c: Likewise.
47619         * sunrpc/pmap_clnt.c: Likewise.
47620         * sunrpc/pmap_prot.c: Likewise.
47621         * sunrpc/pmap_prot2.c: Likewise.
47622         * sunrpc/pmap_rmt.c: Likewise.
47623         * sunrpc/publickey.c: Likewise.
47624         * sunrpc/rpc_cmsg.c: Likewise.
47625         * sunrpc/rpc_common.c: Likewise.
47626         * sunrpc/rpc_dtable.c: Likewise.
47627         * sunrpc/rpc_prot.c: Likewise.
47628         * sunrpc/rpc_thread.c: Likewise.
47629         * sunrpc/rtime.c: Likewise.
47630         * sunrpc/svc.c: Likewise.
47631         * sunrpc/svc_auth.c: Likewise.
47632         * sunrpc/svc_authux.c: Likewise.
47633         * sunrpc/svc_raw.c: Likewise.
47634         * sunrpc/svc_run.c: Likewise.
47635         * sunrpc/svc_simple.c: Likewise.
47636         * sunrpc/svc_tcp.c: Likewise.
47637         * sunrpc/svc_udp.c: Likewise.
47638         * sunrpc/svc_unix.c: Likewise.
47639         * sunrpc/svcauth_des.c: Likewise.
47640         * sunrpc/xcrypt.c: Likewise.
47641         * sunrpc/xdr.c: Likewise.
47642         * sunrpc/xdr_array.c: Likewise.
47643         * sunrpc/xdr_float.c: Likewise.
47644         * sunrpc/xdr_intXX_t.c: Likewise.
47645         * sunrpc/xdr_mem.c: Likewise.
47646         * sunrpc/xdr_rec.c: Likewise.
47647         * sunrpc/xdr_ref.c: Likewise.
47648         * sunrpc/xdr_sizeof.c: Likewise.
47649         * sunrpc/xdr_stdio.c: Likewise.
47650
47651 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
47652
47653         [BZ #12650]
47654         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47655         * sysdeps/ia64/dl-tls.h: Likewise.
47656         * sysdeps/powerpc/dl-tls.h: Likewise.
47657         * sysdeps/s390/dl-tls.h: Likewise.
47658         * sysdeps/sh/dl-tls.h: Likewise.
47659         * sysdeps/sparc/dl-tls.h: Likewise.
47660         * sysdeps/x86_64/dl-tls.h: Likewise.
47661         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47662
47663 2011-03-14  Andreas Schwab  <schwab@redhat.com>
47664
47665         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47666         rpath element also skip the following colon.
47667         (expand_dynamic_string_token): Add is_path parameter and pass
47668         down to DL_DST_REQUIRED and _dl_dst_substitute.
47669         (decompose_rpath): Call expand_dynamic_string_token with
47670         non-zero is_path.  Ignore empty rpaths.
47671         (_dl_map_object_from_fd): Call expand_dynamic_string_token
47672         with zero is_path.
47673
47674 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
47675
47676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47677         Make cancelable.
47678
47679 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
47680
47681         [BZ #12655]
47682         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47683         Patch by Filipe David Manana <fdmanana@apache.org>.
47684
47685 2011-04-07  Andreas Schwab  <schwab@redhat.com>
47686
47687         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47688         Maintain aligned stack.
47689         (CHECK_RSP): Remove unused macro.
47690
47691 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
47692
47693         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47694         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47695
47696 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
47697
47698         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47699
47700         * include/features.h: Mention __USE_XOPEN2K8 in comment.
47701
47702 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
47703
47704         [BZ #12518]
47705         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47706         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47707         * sysdeps/x86_64/memmove.c: New file.
47708         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47709         (memcpy): Renamed to ...
47710         (__new_memcpy): This.
47711         (memcpy): Provide GLIBC_2_14 memcpy.
47712         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47713         (memcpy): Provide GLIBC_2_2_5 memcpy.
47714
47715 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47716
47717         [BZ #12631]
47718         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47719
47720 2011-03-30  Andreas Schwab  <schwab@redhat.com>
47721
47722         * misc/syncfs.c: New file.
47723         * misc/Makefile (routines): Add syncfs.
47724         * posix/unistd.h: Declare syncfs.
47725         * sysdeps/unix/syscalls.list: Add syncfs.
47726
47727 2011-04-01  Andreas Schwab  <schwab@redhat.com>
47728
47729         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47730         open_by_handle_at.
47731         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47732         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47733         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47734         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47735         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47736         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47737         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47738
47739 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47740
47741         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47742         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47743         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47744         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47745         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47746         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47747         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47748
47749         * io/Makefile: Compile fallocate.c, fallocate64.c, and
47750         sync_file_range.c with -fexceptions.
47751         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47752         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47753         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47754         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47755         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47756         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47757         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47758         sync_file_range as cancellation point
47759         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
47760         now a wrapper around __call_sync_file_range with cancellation handling.
47761         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47762         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
47763         function name to __call_sync_file_range.
47764         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47765         Add call_sync_file_range.
47766
47767 2011-04-01  Andreas Schwab  <schwab@redhat.com>
47768
47769         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47770         bits/timex.h.
47771
47772 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47773
47774         * iconv/iconv.h: Fix typo in comment.
47775         * io/fcntl.h: Likewise.
47776         * libio/stdio.h: Likewise.
47777         * posix/spawn.h: Likewise.
47778         * posix/unistd.h: Likewise.
47779         * stdlib/stdlib.h: Likewise.
47780         * time/time.h: Likewise.
47781         * wcsmbs/wchar.h: Likewise.
47782
47783         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47784         open_by_handle): Add.
47785         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47786         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
47787         Augment a few comments.
47788         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47789         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47790         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47791         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47792         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47793         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47794         open_by_handle.
47795
47796         * io/fcntl.h (AT_EMPTY_PATH): Define.
47797
47798 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
47799
47800         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47801         * sysdeps/unix/sysv/linux/bits/time.h: New file.
47802         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47803         to...
47804         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
47805         * Versions.def: Add GLIBC_2.14.
47806         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47807         Export.
47808
47809 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
47810
47811         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47812         round counter.
47813         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47814
47815 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47816
47817         [BZ #12597]
47818         * string/test-strncmp.c (do_page_test): New function.
47819         (check2): Likewise.
47820         (test_main): Call check2.
47821         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47822
47823 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
47824
47825         [BZ #12587]
47826         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47827         Handle cache information in CPU leaf 4.
47828         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47829
47830 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
47831
47832         [BZ #12583]
47833         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47834         character representation.
47835         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47836
47837 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
47838
47839         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47840         END(__isnan) to END(__isnanf) to match function entry point/label
47841         EALIGN(__isnanf,...).
47842
47843 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
47844
47845         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47846
47847 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
47848
47849         [BZ #12510]
47850         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47851         copy from the symbol referenced in the relocation to initialize the
47852         used variable.
47853         Patch by Piotr Bury <pbury@goahead.com>.
47854         * elf/Makefile: Add rules to build and tst-unique3.
47855         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47856         * elf/tst-unique3.cc: New file.
47857         * elf/tst-unique3.h: New file.
47858         * elf/tst-unique3lib.cc: New file.
47859         * elf/tst-unique3lib2.cc: New file.
47860
47861         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47862
47863 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
47864
47865         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47866         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
47867         to _start.
47868
47869 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
47870
47871         * elf/dl-load.c (_dl_map_object): If we are looking for the first
47872         to-be-loaded object along a path to loader is ld.so.
47873
47874 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
47875             Ulrich Drepper  <drepper@gmail.com>
47876
47877         * sysdeps/x86_64/memset.S: After aligning destination, code
47878         branches to different locations depending on the value of
47879         misalignment, when multiarch is enabled. Fix this.
47880
47881 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
47882
47883         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47884         Set _x86_64_preferred_memory_instruction for AMD processsors.
47885         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47886         Set bit_Prefer_SSE_for_memop for AMD processors.
47887
47888 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
47889
47890         * libio/fmemopen.c (fmemopen): Optimize a bit.
47891
47892 2011-03-03  Andreas Schwab  <schwab@redhat.com>
47893
47894         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47895
47896 2011-03-03  Roland McGrath  <roland@redhat.com>
47897
47898         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47899
47900 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
47901
47902         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
47903         __bzero_ultra1 instead of __memset_ultra1.
47904
47905 2011-02-23  Andreas Schwab  <schwab@redhat.com>
47906             Ulrich Drepper  <drepper@gmail.com>
47907
47908         [BZ #12509]
47909         * include/link.h (struct link_map): Add l_orig_initfini.
47910         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47911         returning unsuccessfully.
47912         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47913         close of a file loaded at startup, restore the original l_initfini
47914         list.
47915         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47916         list, store the pointer.
47917         * elf/Makefile ($(objpfx)noload-mem): New rule.
47918         (noload-ENV): Define.
47919         (tests): Add $(objpfx)noload-mem.
47920         * elf/noload.c: Include <memcheck.h>.
47921         (main): Call mtrace.  Close all opened handles.
47922
47923 2011-02-17  Andreas Schwab  <schwab@redhat.com>
47924
47925         [BZ #12454]
47926         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47927         dependencies are missing.
47928
47929 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47930
47931         Fix __if_freereq crash: Unlike the generic version which uses free,
47932         Hurd needs munmap.
47933         * sysdeps/mach/hurd/ifreq.h: New file.
47934
47935 2011-01-27  Petr Baudis  <pasky@suse.cz>
47936             Ulrich Drepper  <drepper@gmail.com>
47937
47938         [BZ 12445]#
47939         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47940         to extend_alloca().
47941         * stdio-common/bug23.c: New file.
47942         * stdio-common/Makefile (tests): Add bug23.
47943
47944 2010-09-28  Andreas Schwab  <schwab@redhat.com>
47945             Ulrich Drepper  <drepper@gmail.com>
47946
47947         [BZ #12489]
47948         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47949         before performing relro protection.  At old place add assertion
47950         to make sure nothing changed.
47951
47952 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
47953             Glauber de Oliveira Costa  <glommer@gmail.com>
47954
47955         * elf/elf.h: Add new ARM TLS relocs.
47956
47957 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
47958
47959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47960         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47961         cast from r3.
47962         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
47963         'tests' variable.
47964         * sysdeps/wordsize-64/tst-writev.c: New file.
47965
47966 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
47967
47968         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47969         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47970         insns in _dl_start to prevent a TOC reference before relocs are
47971         resolved.
47972
47973 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
47974
47975         [BZ #12469]
47976         * Makeconfig: Remove RANLIB definition.
47977         * Makerules: Don't use RANLIB.
47978         * aclocal.m4: Remove ranlib test.
47979         * configure.in: No need to check for ranlib.
47980         * elf/rtld-Rules: Don't use RANLIB.
47981
47982 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47983
47984         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47985         protection macro.
47986         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47987         inclusion protection macro.
47988
47989         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47990         SIGRTMIN and SIGRTMAX and print information in that case only when
47991         SIGRTMIN is defined.
47992
47993 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
47994
47995         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47996         arginfo fn returning -1.
47997
47998         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47999         and thousands string is zero terminated.
48000
48001 2011-02-03  Andreas Schwab  <schwab@redhat.com>
48002
48003         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48004         sysdeps/unix/sysv/linux/bits/socket.h.
48005
48006 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48007
48008         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48009         (__CPU_COUNT): Remove old macros.
48010         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48011         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48012         (__CPU_ALLOC, __CPU_FREE): Add macros.
48013         (__sched_cpualloc, __sched_cpufree): Add declarations.
48014
48015 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
48016
48017         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48018         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48019         * nscd/aicache.c (addhstaiX): Return timeout of added value.
48020         (readdhstai): Return value of addhstaiX call.
48021         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48022         (addgrbyX): Return value returned by cache_addgr.
48023         (readdgrbyname): Return value returned by addgrbyX.
48024         (readdgrbygid): Likewise.
48025         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48026         (addpwbyX): Return value returned by cache_addpw.
48027         (readdpwbyname): Return value returned by addhstbyX.
48028         (readdpwbyuid): Likewise.
48029         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48030         (addservbyX): Return value returned by cache_addserv.
48031         (readdservbyname): Return value returned by addservbyX:
48032         (readdservbyport): Likewise.
48033         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48034         (addhstbyX): Return value returned by cache_addhst.
48035         (readdhstbyname): Return value returned by addhstbyX.
48036         (readdhstbyaddr): Likewise.
48037         (readdhstbynamev6): Likewise.
48038         (readdhstbyaddrv6): Likewise.
48039         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48040         (readdinitgroups): Return value returned by addinitgroupsX.
48041         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48042         (prune_cache): Keep track of timeout value of re-added entries.
48043         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48044         * nscd/nscd.h: Adjust prototypes of readd* functions.
48045
48046 2011-02-04  Roland McGrath  <roland@redhat.com>
48047
48048         * nis/nis_server.c (nis_servstate): Use the right name for 0.
48049         (nis_stats): Likewise.
48050         * nis/nis_modify.c (nis_modify): Likewise.
48051         * nis/nis_remove.c (nis_remove): Likewise.
48052         * nis/nis_add.c (nis_add): Likewise.
48053
48054         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48055
48056         * posix/fnmatch_loop.c: Add some consts.
48057
48058         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48059
48060 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
48061
48062         [BZ #12460]
48063         * config.make.in (config-cflags-novzeroupper): Define.
48064         * configure.in: Substitute libc_cv_cc_novzeroupper.
48065         * elf/Makefile (AVX-CFLAGS): Define.
48066         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48067         (CFLAGS-tst-auditmod4a.c): Likewise.
48068         (CFLAGS-tst-auditmod4b.c): Likewise.
48069         (CFLAGS-tst-auditmod6b.c): Likewise.
48070         (CFLAGS-tst-auditmod6c.c): Likewise.
48071         (CFLAGS-tst-auditmod7b.c): Likewise.
48072         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48073
48074 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
48075
48076         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48077         function to the callback.
48078         Patch partly by Jiri Olsa <jolsa@redhat.com>.
48079
48080 2011-02-02  Andreas Schwab  <schwab@redhat.com>
48081
48082         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48083         of errno.
48084
48085 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
48086
48087         [BZ #11724]
48088         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48089         of constructors.
48090         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48091         of destructors.
48092         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48093
48094         [BZ #11724]
48095         * elf/Makefile: Add rules to build and run new test.
48096         * elf/tst-initorder.c: New file.
48097         * elf/tst-initorder.exp: New file.
48098         * elf/tst-initordera1.c: New file.
48099         * elf/tst-initordera2.c: New file.
48100         * elf/tst-initordera3.c: New file.
48101         * elf/tst-initordera4.c: New file.
48102         * elf/tst-initorderb1.c: New file.
48103         * elf/tst-initorderb2.c: New file.
48104         * elf/tst-order-a1.c: New file.
48105         * elf/tst-order-a2.c: New file.
48106         * elf/tst-order-a3.c: New file.
48107         * elf/tst-order-a4.c: New file.
48108         * elf/tst-order-b1.c: New file.
48109         * elf/tst-order-b2.c: New file.
48110         * elf/tst-order-main.c: New file.
48111         New test case by George Gensure <werkt0@gmail.com>.
48112
48113 2010-10-01  Andreas Schwab  <schwab@redhat.com>
48114
48115         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48116         decoding ACE if AI_CANONIDN.
48117
48118 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
48119
48120         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48121
48122 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
48123
48124         * version.h (RELEASE): Bump for 2.13 release.
48125         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48126
48127         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48128
48129         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48130         MADV_NOHUGEPAGE.
48131         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48132         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48133         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48134         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48135         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48136         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48137
48138         * posix/getconf.c: Update copyright year.
48139         * catgets/gencat.c: Likewise.
48140         * csu/version.c: Likewise.
48141         * debug/catchsegv.sh: Likewise.
48142         * debug/xtrace.sh: Likewise.
48143         * elf/ldconfig.c: Likewise.
48144         * elf/ldd.bash.in: Likewise.
48145         * elf/sprof.c (print_version): Likewise.
48146         * iconv/iconv_prog.c: Likewise.
48147         * iconv/iconvconfig.c: Likewise.
48148         * locale/programs/locale.c: Likewise.
48149         * locale/programs/localedef.c: Likewise.
48150         * malloc/memusage.sh: Likewise.
48151         * malloc/mtrace.pl: Likewise.
48152         * nscd/nscd.c (print_version): Likewise.
48153         * nss/getent.c: Likewise.
48154
48155         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48156         PF_CAIF, and PF_ALG.
48157         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48158
48159 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
48160
48161         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48162         (modules-names): Use them.
48163         (ifunc-test-modules, ifunc-pie-tests): Define.
48164         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48165         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48166         (test-extras): Likewise.
48167         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48168         $(compile-command.c).
48169         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48170         (all-built-dso): Define.
48171         (check-textrel.out, check-execstack.out): Depend on it.
48172
48173         * configure.in: Don't override --enable-multi-arch.
48174
48175 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
48176
48177         [BZ #6812]
48178         * nscd/hstcache.c (tryagain): Define.
48179         (cache_addhst): Return tryagain not notfound for temporary errors.
48180         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48181         failed.
48182
48183 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
48184
48185         [BZ #10563]
48186         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48187         to make the syscall.
48188         * sysdeps/unix/sysv/linux/setgroups.c: New file.
48189
48190         [BZ #12378]
48191         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48192         and fall back to matching as normal character if the string ends before
48193         the matching ']' is found.  This is what POSIX requires.
48194         * posix/testfnm.c: Adjust test result.
48195         * posix/globtest.sh: Adjust test result.  Add new test.
48196         * posix/tst-fnmatch.input: Likewise.
48197         * posix/tst-fnmatch2.c: Add new test.
48198
48199 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
48200
48201         * elf/Makefile (check-execstack): Revert last change.  Depend on
48202         check-execstack.h.
48203         (check-execstack.h): New target.
48204         (generated): Add check-execstack.h.
48205         * elf/check-execstack.c: Include "check-execstack.h".
48206         (main): Revert last change.
48207         (handle_file): Return zero if GNU_STACK is absent and
48208         DEFAULT_STACK_PERMS doesn't include PF_X.
48209
48210 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
48211
48212         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48213         in child fails because the descriptor is already closed.
48214         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48215         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48216         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48217
48218         [BZ #12397]
48219         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48220         syscall.
48221
48222         [BZ #10484]
48223         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48224         temporary buffer used to handle multi lookups locally.
48225         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48226
48227 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48228
48229         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48230         loader is ld.so.
48231
48232 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
48233
48234         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48235         alignment for SSE2.
48236
48237 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48238
48239         [BZ #12394]
48240         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48241         characters.  When rounding increased number of integer digits recompute
48242         number of groups.
48243         * stdio-common/tst-grouping.c: New file.
48244         * stdio-common/Makefile: Add rules to build and run tst-grouping.
48245
48246 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
48247
48248         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48249         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
48250
48251         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48252         void.
48253         * bits/select.h: Likewise.
48254
48255 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
48256
48257         * po/ja.po: Update from translation team.
48258
48259 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
48260
48261         [BZ #11155]
48262         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48263         implementation just like for lxstat, fxstatat, et al.
48264
48265 2010-12-27  Jim Meyering  <meyering@redhat.com>
48266
48267         [BZ #12348]
48268         * posix/regexec.c (build_trtable): Return failure indication upon
48269         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
48270
48271 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
48272
48273         [BZ #12201]
48274         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48275         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48276         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48277         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48278
48279         [BZ #12207]
48280         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48281
48282         [BZ #12204]
48283         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48284         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48285
48286 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
48287
48288         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48289         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48290         script has SORT_BY_INIT_PRIORITY.
48291         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48292         NO_CTORS_DTORS_SECTIONS is defined.
48293         * elf/soinit.c: Likewise.
48294         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48295         NO_CTORS_DTORS_SECTIONS is defined.
48296         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48297         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48298         * sysdeps/sh/init-first.c: Likewise.
48299         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48300
48301 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
48302
48303         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48304         always use the slow path.
48305
48306 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
48307
48308         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48309         similar rule which adds the sysdep directories to the header search in
48310         order to pick up the correct platform stackinfo.h.
48311         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48312         perform test if it is, otherwise return successfully without testing.
48313         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48314         DEFAULT_STACK_PERMS define in stackinfo.h.
48315         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48316         defined in stackinfo.h.
48317         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48318         DEFAULT_STACK_PERMS defined in stackinfo.h.
48319         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48320         * sysdeps/ia64/stackinfo.h: Likewise.
48321         * sysdeps/s390/stackinfo.h: Likewise.
48322         * sysdeps/sh/stackinfo.h: Likewise.
48323         * sysdeps/sparc/stackinfo.h: Likewise.
48324         * sysdeps/x86_64/stackinfo.h: Likewise.
48325         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48326         PF_X for powerpc64.  Retain PF_X for powerpc32.
48327
48328 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
48329
48330         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48331         accurately.
48332         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48333         GETDENTS_64BIT_ALIGNED.
48334
48335 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
48336
48337         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48338
48339 2010-12-10  Andreas Schwab  <schwab@redhat.com>
48340
48341         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48342         _GNU_SOURCE.
48343
48344         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48345         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48346         Remove __restrict.
48347         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48348         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48349
48350 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
48351
48352         [BZ #11655]
48353         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48354         are initialized.
48355
48356 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
48357
48358         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48359
48360 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
48361
48362         * po/it.po: Update from translation team.
48363
48364 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
48365
48366         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48367         unused codes.
48368
48369 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
48370
48371         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48372
48373 2010-11-24  Andreas Schwab  <schwab@redhat.com>
48374
48375         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48376         specially.
48377         (gaih_getanswer_slice): Likewise.
48378
48379 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
48380
48381         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48382
48383 2010-05-31  Petr Baudis  <pasky@suse.cz>
48384
48385         [BZ #11149]
48386         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48387         silently even in the chroot mode.
48388
48389 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
48390
48391         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48392         last patch a bit.  Pretty printing
48393
48394 2010-05-31  Petr Baudis <pasky@suse.cz>
48395
48396         [BZ #10085]
48397         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48398         initialization of skip_initgroups_dyn.
48399
48400 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
48401
48402         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48403         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48404
48405 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
48406
48407         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48408
48409 2010-11-11  Andreas Schwab  <schwab@redhat.com>
48410
48411         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48412         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48413         (tst-fnmatch-ENV): Set MALLOC_TRACE.
48414         ($(objpfx)tst-fnmatch-mem): New rule.
48415         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48416         * posix/tst-fnmatch.c (main): Call mtrace.
48417
48418 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
48419
48420         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48421         Support Intel processor model 6 and model 0x2c.
48422
48423 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
48424
48425         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48426           signed comparison.
48427
48428 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
48429
48430         [BZ #12205]
48431         * string/test-strncasecmp.c (check_result): New function.
48432         (do_one_test): Use it.
48433         (check1): New function.
48434         (test_main): Use it.
48435         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48436         Support strcasecmp and strncasecmp.
48437
48438 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
48439
48440         [BZ #12194]
48441         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48442         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48443
48444 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
48445
48446         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48447         IFUNC support.
48448         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48449         memset-x86-64.
48450         * sysdeps/x86_64/multiarch/bzero.S: New file.
48451         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48452         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48453         * sysdeps/x86_64/multiarch/memset.S: New file.
48454         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48455         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48456         Set bit_Prefer_SSE_for_memop for Intel processors.
48457         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48458         Define.
48459         (index_Prefer_SSE_for_memop): Define.
48460         (HAS_PREFER_SSE_FOR_MEMOP): Define.
48461
48462 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
48463
48464         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48465         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48466
48467 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
48468
48469         [BZ #12191]
48470         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48471         (__x86_64_raw_data_cache_size_half): Likewise.
48472         (__x86_64_raw_shared_cache_size): Likewise.
48473         (__x86_64_raw_shared_cache_size_half): Likewise.
48474
48475         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48476         (__x86_64_raw_data_cache_size_half): Likewise.
48477         (__x86_64_raw_shared_cache_size): Likewise.
48478         (__x86_64_raw_shared_cache_size_half): Likewise.
48479         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48480         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48481         and __x86_64_raw_shared_cache_size_half.  Round
48482         __x86_64_data_cache_size_half, __x86_64_data_cache_size
48483         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48484         to multiple of 256 bytes.
48485
48486 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
48487
48488         [BZ #12167]
48489         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48490         of inacessible symlinks.  Verify result of symlink before returning it.
48491         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48492         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48493
48494 2010-10-28  Erich Ritz  <erichritz@gmail.com>
48495
48496         * math/math.h (isinf): Fix typo in comment.
48497
48498 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
48499
48500         * po/da.po: Update from translation team.
48501
48502 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
48503
48504         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48505         is added to the list.
48506
48507 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48508             Ulrich Drepper  <drepper@gmail.com>
48509
48510         * elf/dl-object.c (_dl_new_object): Don't append the new object to
48511         the global list here.  Move code to...
48512         (_dl_add_to_namespace_list): ...here.  New function.
48513         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48514         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48515         * elf/dl-load.c (lose): Don't remove the element from the list.
48516         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48517         (_dl_map_object): Likewise.
48518
48519 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
48520
48521         [BZ #12159]
48522         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48523         into all bytes of SSE register.
48524         Patch by Richard Li <richardpku@gmail.com>.
48525
48526 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
48527
48528         [BZ #12140]
48529         * malloc/malloc.c (_int_free): Fill correct number of bytes when
48530         perturbing.
48531
48532 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
48533
48534         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48535         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48536         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48537         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48539         submachine.
48540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48541
48542 2010-10-22  Andreas Schwab  <schwab@redhat.com>
48543
48544         * include/dlfcn.h (__RTLD_SECURE): Define.
48545         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
48546         mode & __RTLD_SECURE instead.
48547         (open_path): Rename preloaded parameter to secure.
48548         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48549         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48550         * elf/dl-deps.c (openaux): Likewise.
48551         * elf/rtld.c (struct map_args): Remove is_preloaded.
48552         (map_doit): Don't use it.
48553         (dl_main): Likewise.
48554         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48555         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48556
48557 2010-09-09  Andreas Schwab  <schwab@redhat.com>
48558
48559         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48560         (sysd-rules-targets): Remove duplicates.
48561         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48562         rtld-%.$o dependency.
48563
48564 2010-10-18  Andreas Schwab  <schwab@redhat.com>
48565
48566         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48567         _dl_map_object do it.
48568
48569 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
48570
48571         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48572         fast fma builtins, define the macros in the C99 standard.
48573         (FP_FAST_FMAF): Likewise.
48574         (FP_FAST_FMAL): Likewise.
48575         * sysdeps/x86_64/bits/mathdef.h: Likewise.
48576
48577         * bits/mathdef.h: Update copyright year.
48578         * sysdeps/powerpc/bits/mathdef.h: Likewise.
48579
48580 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
48581
48582         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48583         builtins, define the macros in the C99 standard.
48584         (FP_FAST_FMAF): Likewise.
48585         (FP_FAST_FMAL): Likewise.
48586         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48587         multiply/add.
48588         (FP_FAST_FMAF): Likewise.
48589
48590 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
48591
48592         [BZ #3268]
48593         * math/libm-test.inc (fma_test): Some new testcases.
48594         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48595         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48596         y and infinite z.  Do multiplication by C already in long double.
48597         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48598         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48599         y and infinite z.  Do bitwise or of inexact bit into u.d.
48600         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48601         * sysdeps/i386/fpu/s_fmaf.S: Removed.
48602         * sysdeps/i386/fpu/s_fma.S: Removed.
48603         * sysdeps/i386/fpu/s_fmal.S: Removed.
48604
48605 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
48606
48607         [BZ #3268]
48608         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48609         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48610         computation is not scheduled after fetestexcept.  Fix value
48611         of minimum denormal long double.
48612
48613 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
48614
48615         [BZ #3268]
48616         * math/libm-test.inc (fma_test): Add some more tests.
48617         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48618         correctly.
48619
48620 2010-10-15  Andreas Schwab  <schwab@redhat.com>
48621
48622         * scripts/data/localplt-s390-linux-gnu.data: New file.
48623         * scripts/data/localplt-s390x-linux-gnu.data: New file.
48624
48625 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
48626
48627         [BZ #3268]
48628         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48629         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48630         instead of dbl-64.
48631         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48632         inlines.
48633         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48634         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48635         if one of x and y is very large and the other is subnormal.
48636         * sysdeps/s390/fpu/s_fmaf.c: New file.
48637         * sysdeps/s390/fpu/s_fma.c: New file.
48638         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48639         * sysdeps/powerpc/fpu/s_fma.S: New file.
48640         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48641         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48642         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48643
48644 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
48645
48646         [BZ #3268]
48647         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48648         fma tests.
48649         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48650         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48651         * sysdeps/i386/i686/multiarch/s_fma.c: Include
48652         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48653         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48654         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48655         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48656
48657 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
48658
48659         [BZ #12078]
48660         * posix/regcomp.c (parse_branch): One more memory leak plugged.
48661         * posix/bug-regex31.input: Add test case.
48662
48663 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
48664
48665         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48666         * posix/bug-regex31.input: New file.
48667
48668         [BZ #12078]
48669         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48670         (parse_sub_exp): Fix last change, use postorder.
48671
48672         * posix/bug-regex31.c: New file.
48673         * posix/Makefile: Add rules to build and run bug-regex31.
48674
48675         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48676
48677         [BZ #12078]
48678         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48679
48680         [BZ #12108]
48681         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48682         to have entries in sys_siglist.
48683
48684         [BZ #12093]
48685         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48686         be NULL.
48687
48688 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
48689
48690         [BZ #3268]
48691         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48692         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48693         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48694         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48695         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48696         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48697         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48698         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48699         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48700         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48701         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48702         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48703         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48704         * math/ftestexcept.c (fetestexcept): Likewise.
48705         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48706         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48707         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48708         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48709         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48710         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48711         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48712
48713 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
48714
48715         [BZ #12107]
48716         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48717         newline.
48718
48719 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
48720
48721         * string/bug-strstr1.c: New file.
48722         * string/Makefile: Add rules to build and run bug-strstr1.
48723
48724 2010-10-05  Eric Blake  <eblake@redhat.com>
48725
48726         [BZ #12092]
48727         * string/str-two-way.h (two_way_long_needle): Always clear memory
48728         when skipping input due to the shift table.
48729
48730 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
48731
48732         [BZ #12005]
48733         * malloc/mcheck.c: Handle large requests.
48734
48735         [BZ #12077]
48736         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48737         for strncmp and strncasecmp.
48738         * string/stratcliff.c: Add tests for strcmp and strncmp.
48739         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48740
48741 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
48742
48743         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48744         __set_fpscr.
48745
48746 2010-09-30  Andreas Jaeger  <aj@suse.de>
48747
48748         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48749         (CGROUP_SUPER_MAGIC): Define.
48750         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48751         Handle btrfs and cgroup file systems.
48752         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48753         Likewise.
48754
48755 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
48756
48757         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48758         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48759
48760 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48761
48762         [BZ #12067]
48763         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48764         trying to locate the ELF header.
48765
48766 2010-09-27  Andreas Schwab  <schwab@redhat.com>
48767
48768         [BZ #11611]
48769         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48770         Mask out sign-bit copies when constructing f_fsid.
48771
48772 2010-09-24  Petr Baudis <pasky@suse.cz>
48773
48774         * debug/stack_chk_fail_local.c: Add missing licence exception.
48775         * debug/warning-nop.c: Likewise.
48776
48777 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
48778
48779         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48780         implementing getdents64 using getdents syscall, set d_type if
48781         __ASSUME_GETDENTS32_D_TYPE.
48782
48783 2010-09-16  Andreas Schwab  <schwab@redhat.com>
48784
48785         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48786         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48787
48788 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
48789
48790         [BZ #12037]
48791         * posix/unistd.h: Undo change of feature selection for ftruncate from
48792         2010-01-11.
48793
48794 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
48795
48796         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48797         detection.
48798
48799 2010-09-20  Andreas Schwab  <schwab@redhat.com>
48800
48801         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48802         fanotify_mark.
48803         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48804
48805 2010-09-14  Andreas Schwab  <schwab@redhat.com>
48806
48807         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48808         variables after CHECK_SP call.
48809         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48810
48811 2010-09-13  Andreas Schwab  <schwab@redhat.com>
48812             Ulrich Drepper  <drepper@redhat.com>
48813
48814         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48815         re-relocationg ld.so.
48816         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48817         _dl_init_paths call.
48818         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
48819         here anymore.
48820
48821 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
48822
48823         * resolv/res_init.c (__res_vinit): Count the default server we added.
48824
48825 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
48826             Ulrich Drepper  <drepper@redhat.com>
48827
48828         [BZ #11968]
48829         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48830         (____longjmp_chk): Use %ebx for saving value across system call.
48831         Add unwind info.
48832
48833 2010-09-06  Andreas Schwab  <schwab@redhat.com>
48834
48835         * manual/Makefile: Don't mix pattern rules with normal rules.
48836
48837 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
48838
48839         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48840         operation.
48841         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48842         * libio/iofopncook.c (_IO_cookie_init): Likewise.
48843         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48844         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48845         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48846         Likewise.
48847
48848 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
48849
48850         [BZ #11979]
48851         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48852         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48853
48854 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
48855
48856         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48857         * sysdeps/x86_64/addmul_1.S: Likewise.
48858         * sysdeps/x86_64/lshift.S: Likewise.
48859         * sysdeps/x86_64/mul_1.S: Likewise.
48860         * sysdeps/x86_64/rshift.S: Likewise.
48861         * sysdeps/x86_64/sub_n.S: Likewise.
48862         * sysdeps/x86_64/submul_1.S: Likewise.
48863
48864 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48865
48866         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48867         Define __sched_param instead of SCHED_* and sched_param when
48868         <bits/sched.h> is included with __need_schedparam defined.
48869         * bits/sched.h [__need_schedparam]
48870         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48871         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48872         (__defined_schedparam): Define to 1.
48873         (__sched_param): New structure, identical to sched_param.
48874         (__need_schedparam): Undefine.
48875
48876 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
48877
48878         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48879         (epoll_create1): Declare.
48880
48881         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48882
48883 2010-08-31  Andreas Schwab  <schwab@redhat.com>
48884
48885         [BZ #7066]
48886         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48887         shifting retval into place.
48888
48889 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
48890
48891         * nis/rpcsvc/nis.h: Update copyright notice.
48892         * nis/rpcsvc/nis.x: Likewise.
48893         * nis/rpcsvc/nis_callback.h: Likewise.
48894         * nis/rpcsvc/nis_callback.x: Likewise.
48895         * nis/rpcsvc/nis_object.x: Likewise.
48896         * nis/rpcsvc/nis_tags.h: Likewise.
48897         * nis/rpcsvc/yp.h: Likewise.
48898         * nis/rpcsvc/yp.x: Likewise.
48899         * nis/rpcsvc/ypupd.h: Likewise.
48900         * nis/yp_xdr.c: Likewise.
48901         * nis/ypupdate_xdr.c: Likewise.
48902
48903         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
48904         mainly the body of pmap_getport.  Add parameters to specify timeouts.
48905         (pmap_getport): Use __libc_rpc_getport.
48906         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48907         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48908         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48909
48910 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
48911
48912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48913         fanotify_mark.
48914
48915 2010-08-27  Roland McGrath  <roland@redhat.com>
48916
48917         * sysdeps/i386/i686/multiarch/Makefile
48918         (CFLAGS-varshift.c): New variable.
48919
48920 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
48921
48922         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48923         * sysdeps/i386/i686/multiarch/varshift.c: New file.
48924
48925         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48926
48927         * sysdeps/x86_64/strlen.S: Minimal code improvement.
48928
48929 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
48930
48931         * sysdeps/x86_64/strlen.S: Unroll the loop.
48932         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48933         strlen-sse2 strlen-sse2-bsf.
48934         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48935         __strlen_no_bsf if bit_Slow_BSF is set.
48936         (__strlen_sse42): Removed.
48937         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48938         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48939
48940 2010-08-25  Roland McGrath  <roland@redhat.com>
48941
48942         * sysdeps/x86_64/multiarch/varshift.S: File removed.
48943         * sysdeps/x86_64/multiarch/varshift.c: New file.
48944         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48945         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48946         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48947         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48948
48949 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
48950
48951         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48952         strlen-sse2 strlen-sse2-bsf.
48953         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48954         __strlen_sse2_bsf if bit_Slow_BSF is unset.
48955         (__strlen_sse2): Removed.
48956         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48957         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48958         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48959         bit_Slow_BSF for Atom.
48960         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48961         (index_Slow_BSF): Define.
48962         (HAS_SLOW_BSF): Define.
48963
48964 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
48965
48966         [BZ #10851]
48967         * resolv/res_init.c (__res_vinit): When no server address at all
48968         is given default to loopback.
48969
48970 2010-08-24  Roland McGrath  <roland@redhat.com>
48971
48972         * configure.in: Remove config-name.h generation.
48973         * configure: Regenerated.
48974         * config-name.in: File removed.
48975         * scripts/config-uname.sh: New file.
48976         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48977         ($(objdir)config-name.h): New target.
48978
48979         * sunrpc/rpc_parse.h: Avoid nested comment.
48980
48981 2010-08-24  Richard Henderson  <rth@redhat.com>
48982             Ulrich Drepper  <drepper@redhat.com>
48983             H.J. Lu  <hongjiu.lu@intel.com>
48984
48985         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48986         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48987         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48988         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
48989         _mm_alignr_epi8 with _mm_loadu_si128.
48990         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48991         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48992         (__m128i_shift_right): Removed.
48993         * sysdeps/i386/i686/multiarch/varshift.h: New file.
48994         * sysdeps/i386/i686/multiarch/varshift.S: New file.
48995         * sysdeps/x86_64/multiarch/varshift.h: New file.
48996         * sysdeps/x86_64/multiarch/varshift.S: New file.
48997
48998 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
48999
49000         * configure.in: Move assembler checks to before sysdep dir checking.
49001
49002 2010-08-20  Petr Baudis  <pasky@suse.cz>
49003
49004         * LICENSES: Sync the sunrpc license.
49005
49006 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
49007
49008         * sunrpc/auth_des.c: Update copyright notice once again.
49009         * sunrpc/auth_none.c: Likewise.
49010         * sunrpc/auth_unix.c: Likewise.
49011         * sunrpc/authdes_prot.c: Likewise.
49012         * sunrpc/authuxprot.c: Likewise.
49013         * sunrpc/bindrsvprt.c: Likewise.
49014         * sunrpc/clnt_gen.c: Likewise.
49015         * sunrpc/clnt_perr.c: Likewise.
49016         * sunrpc/clnt_raw.c: Likewise.
49017         * sunrpc/clnt_simp.c: Likewise.
49018         * sunrpc/clnt_tcp.c: Likewise.
49019         * sunrpc/clnt_udp.c: Likewise.
49020         * sunrpc/clnt_unix.c: Likewise.
49021         * sunrpc/des_crypt.c: Likewise.
49022         * sunrpc/des_soft.c: Likewise.
49023         * sunrpc/get_myaddr.c: Likewise.
49024         * sunrpc/getrpcport.c: Likewise.
49025         * sunrpc/key_call.c: Likewise.
49026         * sunrpc/key_prot.c: Likewise.
49027         * sunrpc/openchild.c: Likewise.
49028         * sunrpc/pm_getmaps.c: Likewise.
49029         * sunrpc/pm_getport.c: Likewise.
49030         * sunrpc/pmap_clnt.c: Likewise.
49031         * sunrpc/pmap_prot.c: Likewise.
49032         * sunrpc/pmap_prot2.c: Likewise.
49033         * sunrpc/pmap_rmt.c: Likewise.
49034         * sunrpc/rpc/auth.h: Likewise.
49035         * sunrpc/rpc/auth_unix.h: Likewise.
49036         * sunrpc/rpc/clnt.h: Likewise.
49037         * sunrpc/rpc/des_crypt.h: Likewise.
49038         * sunrpc/rpc/key_prot.h: Likewise.
49039         * sunrpc/rpc/netdb.h: Likewise.
49040         * sunrpc/rpc/pmap_clnt.h: Likewise.
49041         * sunrpc/rpc/pmap_prot.h: Likewise.
49042         * sunrpc/rpc/pmap_rmt.h: Likewise.
49043         * sunrpc/rpc/rpc.h: Likewise.
49044         * sunrpc/rpc/rpc_des.h: Likewise.
49045         * sunrpc/rpc/rpc_msg.h: Likewise.
49046         * sunrpc/rpc/svc.h: Likewise.
49047         * sunrpc/rpc/svc_auth.h: Likewise.
49048         * sunrpc/rpc/types.h: Likewise.
49049         * sunrpc/rpc/xdr.h: Likewise.
49050         * sunrpc/rpc_clntout.c: Likewise.
49051         * sunrpc/rpc_cmsg.c: Likewise.
49052         * sunrpc/rpc_common.c: Likewise.
49053         * sunrpc/rpc_cout.c: Likewise.
49054         * sunrpc/rpc_dtable.c: Likewise.
49055         * sunrpc/rpc_hout.c: Likewise.
49056         * sunrpc/rpc_main.c: Likewise.
49057         * sunrpc/rpc_parse.c: Likewise.
49058         * sunrpc/rpc_parse.h: Likewise.
49059         * sunrpc/rpc_prot.c: Likewise.
49060         * sunrpc/rpc_sample.c: Likewise.
49061         * sunrpc/rpc_scan.c: Likewise.
49062         * sunrpc/rpc_scan.h: Likewise.
49063         * sunrpc/rpc_svcout.c: Likewise.
49064         * sunrpc/rpc_tblout.c: Likewise.
49065         * sunrpc/rpc_util.c: Likewise.
49066         * sunrpc/rpc_util.h: Likewise.
49067         * sunrpc/rpcinfo.c: Likewise.
49068         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49069         * sunrpc/rpcsvc/key_prot.x: Likewise.
49070         * sunrpc/rpcsvc/klm_prot.x: Likewise.
49071         * sunrpc/rpcsvc/mount.x: Likewise.
49072         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49073         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49074         * sunrpc/rpcsvc/rex.x: Likewise.
49075         * sunrpc/rpcsvc/rstat.x: Likewise.
49076         * sunrpc/rpcsvc/rusers.x: Likewise.
49077         * sunrpc/rpcsvc/sm_inter.x: Likewise.
49078         * sunrpc/rpcsvc/spray.x: Likewise.
49079         * sunrpc/rpcsvc/yppasswd.x: Likewise.
49080         * sunrpc/rtime.c: Likewise.
49081         * sunrpc/svc.c: Likewise.
49082         * sunrpc/svc_auth.c: Likewise.
49083         * sunrpc/svc_authux.c: Likewise.
49084         * sunrpc/svc_raw.c: Likewise.
49085         * sunrpc/svc_run.c: Likewise.
49086         * sunrpc/svc_simple.c: Likewise.
49087         * sunrpc/svc_tcp.c: Likewise.
49088         * sunrpc/svc_udp.c: Likewise.
49089         * sunrpc/svc_unix.c: Likewise.
49090         * sunrpc/svcauth_des.c: Likewise.
49091         * sunrpc/xcrypt.c: Likewise.
49092         * sunrpc/xdr.c: Likewise.
49093         * sunrpc/xdr_array.c: Likewise.
49094         * sunrpc/xdr_float.c: Likewise.
49095         * sunrpc/xdr_mem.c: Likewise.
49096         * sunrpc/xdr_rec.c: Likewise.
49097         * sunrpc/xdr_ref.c: Likewise.
49098         * sunrpc/xdr_sizeof.c: Likewise.
49099         * sunrpc/xdr_stdio.c: Likewise.
49100
49101         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49102         handling.
49103
49104 2010-08-19  Andreas Schwab  <schwab@redhat.com>
49105
49106         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49107
49108 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
49109
49110         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49111         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49112         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49113         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49114         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49115         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49116         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49117         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49118         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49119         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49120         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49121         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49122         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49123         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49124
49125 2010-07-26  Anton Blanchard  <anton@samba.org>
49126
49127         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49128         * malloc/arena.c (heap_trim): Likewise.
49129
49130 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
49131
49132         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49133         here.  Not...
49134         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49135         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49136
49137 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
49138
49139         * sysdeps/i386/elf/Makefile: New file.
49140
49141 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49142
49143         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49144         from fanotify_init.
49145         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49146         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49147
49148 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
49149
49150         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49151         of strncasecmp_l.
49152         * sysdeps/multiarch/strcmp.S: Likewise.
49153
49154 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
49155
49156         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49157         strncase_l-nonascii.
49158         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49159         Add strncase_l-ssse3.
49160         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49161         * sysdeps/x86_64/strcmp.S: Likewise.
49162         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49163         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49164         * sysdeps/x86_64/strncase.S: New file.
49165         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49166         * sysdeps/x86_64/strncase_l.S: New file.
49167         * string/Makefile (strop-tests): Add strncasecmp.
49168         * string/test-strncasecmp.c: New file.
49169
49170         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49171         warning.
49172
49173         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49174         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49175
49176 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49177
49178         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49179
49180 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
49181
49182         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49183         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49184         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49185
49186 2010-05-01  Alan Modra  <amodra@gmail.com>
49187
49188         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49189         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49190         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49191         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49192         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49193         tidying.  Don't tail-call __sigjmp_save for static lib.
49194         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49195         save location.
49196         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49197         (CALL_MCOUNT): Add eh info, and nop after bl.
49198         (TAIL_CALL_SYSCALL_ERROR): New macro.
49199         (PSEUDO_RET): Use it.
49200         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49201         Correct save location of integer regs and cr.
49202         (_dl_profile_resolve): Correct cr save location.  Delete nops
49203         after bl when SHARED.  Reduce cfi size a little by better
49204         placement of cfi directives.
49205         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49206         make a stack frame.  Instead use parm save area as a temp.
49207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49208         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
49209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49210         Don't make a stack frame for parent, use parm save area.
49211         Increase child stack frame to 112 bytes.  Don't save unused reg,
49212         and adjust reg usage.  Set up cfi on error recovery and
49213         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49215         (__makecontext): Add dummy nop after jump to exit.
49216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49217         Use correct parm save area and cr save, reduce stack frame.
49218         Correct cfi for possible PSEUDO_RET frame setup.
49219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49220         Branch to local label emitted by PSEUDO_RET rather than
49221         __syscall_error.
49222
49223 2010-08-12  Andreas Schwab  <schwab@redhat.com>
49224
49225         [BZ #11904]
49226         * locale/programs/locale.c (print_assignment): New function.
49227         (show_locale_vars): Use it.
49228
49229 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
49230
49231         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49232         field.
49233         (struct statfs64): Likewise.
49234         (_STATFS_F_FLAGS): Define.
49235         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49236         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49237         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49238         (ST_VALID): Define locally.
49239         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49240         __statvfs_getflags, use the provided value.
49241         * sysdeps/unix/sysv/linux/kernel-features.h: Define
49242         __ASSUME_STATFS_F_FLAGS.
49243
49244         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49245
49246         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49247         Add sys/fanotify.h.
49248         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49249         fanotify_mask for GLIBC_2.13.
49250         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49251         fanotify_init and fanotify_mark.
49252         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49253         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49254
49255         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49256         Add prlimit.
49257         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49258         prlimit64 for GLIBC_2.13.
49259         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49260         prlimit64.
49261         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49262         syscall.
49263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49264         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49265         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49266         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49267         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
49268         add prlimit alias.
49269         * sysdeps/unix/sysv/linux/prlimit.c: New file.
49270
49271         [BZ #11903]
49272         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49273         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49274
49275         * nss/Makefile: Add rules to build and run tst-nss-test1.
49276         * shlib-versions: Add entry for libnss_test1.
49277         * nss/nss_test1.c: New file.
49278         * nss/tst-nss-test1.c: New file.
49279
49280         * nss/nsswitch.c (__nss_database_custom): Define new variable.
49281         (__nss_configure_lookup): Set appropriate entry in
49282         __nss_configure_lookup to true.
49283         * nss/nsswitch.h: Define enum with indeces of databases in
49284         databases and __nss_database_custom arrays.  Declare
49285         __nss_database_custom.
49286         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49287         to avoid using nscd when custom rules are installed.
49288         * nss/getXXbyYY_r.c: Likewise.
49289         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49290
49291         * nss/nss_files/files-parse.c: Whitespace fixes.
49292
49293 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
49294
49295         [BZ #11883]
49296         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49297         * posix/fnmatch_loop.c: Likewise.
49298
49299 2010-07-17  Andi Kleen  <ak@linux.intel.com>
49300
49301         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49302         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49303         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49304         * Versions.def [GLIBC_2.13]: Add.
49305
49306 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
49307
49308         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49309         Also fail if tpwd after pwuid call is NULL.
49310
49311 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49312
49313         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49314         when converting to ms.
49315
49316 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49317
49318         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49319         EOPNOTSUPP errors with ENOTTY.
49320         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49321         EOPNOTSUPP errors with ENOTTY.
49322
49323 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
49324
49325         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49326         Add strcasecmp_l-ssse3.
49327         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49328         strcasecmp.
49329         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49330         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49331         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49332
49333 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
49334
49335         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49336
49337         * string/Makefile (strop-tests): Add strcasecmp.
49338         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49339         strcasecmp_l-nonascii.
49340         (gen-as-const-headers): Add locale-defines.sym.
49341         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49342         * sysdeps/x86_64/strcasecmp.S: New file.
49343         * sysdeps/x86_64/strcasecmp_l.S: New file.
49344         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49345         * sysdeps/x86_64/locale-defines.sym: New file.
49346         * string/test-strcasecmp.c: New file.
49347
49348         * string/test-strcasestr.c: Test both ends of the range of characters.
49349         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49350
49351 2010-07-29  Roland McGrath  <roland@redhat.com>
49352
49353         [BZ #11856]
49354         * manual/locale.texi (Yes-or-No Questions): Fix example code.
49355
49356 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
49357
49358         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49359         for ld.so.
49360
49361 2010-07-27  Andreas Schwab  <schwab@redhat.com>
49362
49363         * manual/memory.texi (Malloc Tunable Parameters): Document
49364         M_PERTURB.
49365
49366 2010-07-26  Roland McGrath  <roland@redhat.com>
49367
49368         [BZ #11840]
49369         * configure.in (-fgnu89-inline check): Set and substitute
49370         gnu89_inline, not libc_cv_gnu89_inline.
49371         * configure: Regenerated.
49372         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49373
49374 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
49375
49376         * string/test-strnlen.c: New file.
49377         * string/Makefile (strop-tests): Add strnlen.
49378         * string/tester.c (test_strnlen): Add a few more test cases.
49379         * string/tst-strlen.c: Better error reporting.
49380
49381         * sysdeps/x86_64/strnlen.S: New file.
49382
49383 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
49384
49385         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49386         lower-latency instructions.
49387
49388 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
49389
49390         * string/test-strcasestr.c: New file.
49391         * string/test-strstr.c: New file.
49392         * string/Makefile (strop-tests): Add strstr and strcasestr.
49393         * string/str-two-way.h: Don't undefine MAX.
49394         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49395
49396 2010-07-21  Andreas Schwab  <schwab@redhat.com>
49397
49398         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49399         strcasestr-nonascii.
49400         (CFLAGS-strcasestr-nonascii.c): Define.
49401         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49402         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49403         Remove unused attribute.
49404
49405 2010-07-20  Roland McGrath  <roland@redhat.com>
49406
49407         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49408         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
49409         ld.so.cache was broken.  With it, there is no way to disable dsocaps
49410         like LD_HWCAP_MASK can disable hwcaps.
49411
49412 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
49413
49414         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49415
49416 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
49417
49418         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49419         call in strcasestr.
49420         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49421         __strcasestr_sse42_nonascii.
49422         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49423         strcasestr-nonascii.c.
49424         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49425
49426 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
49427
49428         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49429         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49430         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49431         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49432
49433 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
49434
49435         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49436         fcntl.
49437
49438 2010-07-06  Andreas Schwab  <schwab@redhat.com>
49439
49440         [BZ #11577]
49441         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49442         dl_signal_cerror.
49443
49444 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
49445
49446         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49447         _PC_PIPE_BUF using F_GETPIPE_SZ.
49448
49449 2010-07-05  Roland McGrath  <roland@redhat.com>
49450
49451         * manual/arith.texi (Rounding Functions): Fix rint description
49452         implicit in round description.
49453
49454 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
49455
49456         * elf/Makefile: Fix linking for a few tests to make recent linker
49457         happy.
49458
49459 2010-06-30  Andreas Schwab  <schwab@redhat.com>
49460
49461         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49462         $(common-objpfx)libc_nonshared.a.
49463
49464 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
49465
49466         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49467         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49468         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49469         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49470         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49471         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49472         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49473         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49488         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49489         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49490         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49491         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49492         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49493         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49494         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49495         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49496         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49497         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49498         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49499         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49514
49515 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
49516
49517         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49518         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
49519         * string/memmove.c (memmove): Renamed to ...
49520         (MEMMOVE): ...this.  Default to memmove.
49521         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49522         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49523         (END_CHK): Define.
49524         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49525         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49526         mempcpy-ssse3-back memmove-ssse3-back.
49527         * sysdeps/x86_64/multiarch/bcopy.S: New file .
49528         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49529         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49530         * sysdeps/x86_64/multiarch/memcpy.S: New file.
49531         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49532         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49533         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49534         * sysdeps/x86_64/multiarch/memmove.c: New file.
49535         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49536         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49537         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49538         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49539         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49540         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49541         Define.
49542         (index_Fast_Copy_Backward): Define.
49543         (HAS_ARCH_FEATURE): Define.
49544         (HAS_FAST_REP_STRING): Define.
49545         (HAS_FAST_COPY_BACKWARD): Define.
49546
49547 2010-06-21  Andreas Schwab  <schwab@redhat.com>
49548
49549         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49550         Restore proper fallback handling.
49551
49552 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
49553
49554         [BZ #11701]
49555         * posix/group_member.c (__group_member): Correct checking loop.
49556
49557         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49558         OOM in getpwuid_r correctly.  Return error number when the caller
49559         should return, otherwise -1.
49560         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49561         call returning > 0 value.
49562         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49563
49564 2010-06-07  Andreas Schwab  <schwab@redhat.com>
49565
49566         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49567         libc_nonshared.a from targets in modules-names.
49568
49569 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
49570
49571         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49572         requires it.
49573
49574 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
49575
49576         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49577         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49578         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49579         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49580
49581 2010-06-02  Andreas Schwab  <schwab@redhat.com>
49582
49583         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49584
49585 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
49586
49587         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49588         and F_GETPIPE_SZ.
49589         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49590         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49591         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49592         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49593         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49594         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49595
49596 2010-06-14  Roland McGrath  <roland@redhat.com>
49597
49598         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49599
49600 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
49601
49602         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49603         __REDIRECT followed by __THROW.
49604         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49605         * posix/getopt.h (getopt): Likewise.
49606
49607 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
49608
49609         * hurd/lookup-at.c (__file_name_lookup_at): Accept
49610         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
49611         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49612         in AT_FLAGS.
49613         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49614         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49615
49616 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
49617
49618         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49619
49620 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
49621
49622         [BZ #11640]
49623         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49624         Properly check family and model.
49625
49626 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
49627
49628         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49629
49630 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
49631
49632         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49633
49634 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
49635
49636         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49637         symbol reference.
49638
49639 2010-05-19  Andreas Schwab  <schwab@redhat.com>
49640
49641         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49642         symbol reference.
49643
49644 2010-05-21  Andreas Schwab  <schwab@redhat.com>
49645
49646         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49647         and internal_recvmmsg.
49648         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49649         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49650         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49651         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49652
49653         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49654         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49655         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49656
49657 2010-05-20  Andreas Schwab  <schwab@redhat.com>
49658
49659         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49660
49661 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
49662
49663         POWER7 optimizations.
49664         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49665         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49666
49667 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
49668
49669         * version.h: Update for 2.13 development version.
49670
49671 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
49672
49673         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49674         exceptions.  Return 0.
49675
49676 2010-05-07  Roland McGrath  <roland@redhat.com>
49677
49678         * elf/ldconfig.c (main): Add a const.
49679
49680 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
49681
49682         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49683         (args_options): Add no-idn option.
49684         (ahosts_keys_int): Add idn_flags to ai_flags.
49685         (parse_option): Handle 'i' option to clear idn_flags.
49686
49687         * malloc/malloc.c (_int_free): Possible race in the most recently
49688         added check.  Only act on the data if no current modification
49689         happened.
49690
49691 See ChangeLog.17 for earlier changes.