Regenerate libc.po
[platform/upstream/glibc.git] / ChangeLog
1 2014-08-09  Allan McRae  <allan@archlinux.org>
2
3         * Regenerate libc.po.
4
5 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
6
7         * intl/tst-gettext2.sh: Check every lang file for creation.
8
9 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
10
11         * sysdeps/aarch64/fpu/math_private.h
12         (libc_feholdsetround_noex_aarch64_ctx): New function.
13
14 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
15
16         * sysdeps/arm/armv6/strcpy.S (strcpy):
17         Fix performance issue in misaligned cases.
18
19 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20
21         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
22         Move definition from termios.h.
23         (struct termio): Likewise.
24         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
25         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
26         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
27         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
28         Likewise.
29         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
30         Move definition to ioctl-types.h
31         (struct termio): Likewise.
32         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
34         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
35         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
36         Likewise.
37
38 2014-08-05  Richard Henderson  <rth@redhat.com>
39
40         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
41         exceptions.
42         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
43         Add fraiseexcpt.
44         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
45         Use __feraiseexcept.
46         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
47         Protect libm symbols with IS_IN_libm.
48
49         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
50
51 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
52
53         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
54
55 2014-08-04  Will Newton  <will.newton@linaro.org>
56
57         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
58         file.
59
60 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
61
62         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
63         variants for each function.
64
65 2014-08-04  Roland McGrath  <roland@hack.frob.com>
66
67         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
68         appended ...
69         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
70         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
71         appended ...
72         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
73         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
74         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
75         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
76         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
77         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
78         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
79         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
80         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
81         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
82         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
83         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
84         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
85         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
86         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
87         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
88         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
89         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
90         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
91         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
92         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
93         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
94         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
95         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
96         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
97         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
98         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
99         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
100         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
101         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
102         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
103         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
104         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
105         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
106         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
107         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
108         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
109         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
110         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
111         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
112         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
113         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
114         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
115         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
116         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
117         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
118         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
119         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
120         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
121         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
122         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
123         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
124         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
125         Update #include.
126         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
127         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
128
129 2014-08-04  Roland McGrath  <roland@hack.frob.com>
130
131         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
132         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
133         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
134         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
135         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
136         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
137
138 2014-08-04  Roland McGrath  <roland@hack.frob.com>
139
140         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
141         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
142         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
143         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
144
145 2014-08-04  Roland McGrath  <roland@hack.frob.com>
146
147         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
148         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
149         (__libc_vfork): Define function under this name.
150         (__vfork): Define as an alias.
151         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
152         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
153
154 2014-08-04  Roland McGrath  <roland@hack.frob.com>
155
156         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
157         that was previously under [RESET_PID].
158         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
159
160 2014-08-04  Andreas Schwab  <schwab@suse.de>
161
162         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
163
164 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
165
166         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
167         (main): Likewise.
168
169 2014-08-01  Roland McGrath  <roland@hack.frob.com>
170
171         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
172
173 2014-08-01  Richard Henderon  <rth@redhat.com>
174
175         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
176         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
177         typo in exact zero test.
178         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
179         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
180         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
181
182 2014-08-01  Roland McGrath  <roland@hack.frob.com>
183
184         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
185         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
186         * sysdeps/arm/sysdep.h: ... here.
187         [!__ASSEMBLER__]: Include <stdint.h>.
188
189 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
190
191         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
192         (HAVE_WCTYPE_H): Likewise.
193         (HAVE_ISWCTYPE): Likewise.
194         (ENABLE_NLS): Likewise.
195         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
196         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
197
198         * posix/regex_internal.c: Check if DEBUG is defined and is
199         set.
200
201         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
202         (HAVE_MBSRTOWCS): Likewise.
203         * posix/fnmatch.c: Include string.h unconditionally.
204
205 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
206
207         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
208         reversal.
209
210 2014-07-31  Roland McGrath  <roland@hack.frob.com>
211
212         * sysdeps/generic/safe-fatal.h: New file.
213         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
214         * nptl/forward.c: Include it.
215         (__pthread_unwind): Use __safe_fatal as default action, rather
216         than a bogus use of INTERNAL_SYSCALL that could never work.
217
218         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
219         * configure.ac (libc_cv_builtin_trap): New test.
220         * configure: Regenerated.
221         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
222         (ABORT_INSTRUCTION): Define using __builtin_trap.
223
224         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
225         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
226         * sysdeps/nptl/nptl-signals.h: New file.
227         * nptl/pthreadP.h: Include <nptl-signals.h>.
228
229 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
230
231         * sysdeps/s390/s390-64/utf16-utf32-z9.c
232         (ONE_DIRECTION): Define.
233         * sysdeps/s390/s390-64/utf8-utf16-z9.c
234         (ONE_DIRECTION): Define.
235         * sysdeps/s390/s390-64/utf8-utf32-z9.c
236         (ONE_DIRECTION): Define.
237
238 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
239
240         * sysdeps/s390/Makefile: Delete file.
241         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
242         * sysdeps/s390/__longjmp.c: Delete file.
243         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
244         Remove fields __flags and __reserved.
245         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
246         and add versioning.
247         * sysdeps/s390/rtld-__longjmp.c: Delete file.
248         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
249         * sysdeps/s390/rtld-setjmp.S: Likewise.
250         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
251         * sysdeps/s390/s390-32/__longjmp.c: ... here.
252         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
253         * sysdeps/s390/s390-32/setjmp.S: ... here.
254         Add versioning.
255         (__sigsetjmp): Remove setting __flags field.
256         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
257         * sysdeps/s390/s390-64/__longjmp.c: ... here.
258         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
259         * sysdeps/s390/s390-64/setjmp.S: ... here.
260         Add versioning.
261         (__sigsetjmp): Remove setting __flags field.
262         * sysdeps/s390/setjmp.S: Delete file.
263         * sysdeps/s390/sigjmp.c: Likewise.
264         * sysdeps/s390/v1-longjmp.c: Likewise.
265         * sysdeps/s390/v1-setjmp.h: Likewise.
266         * sysdeps/s390/v1-sigjmp.c: Likewise.
267         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
268         Remove v1-longjmp_chk.
269         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
270         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
271         Include debug/longjmp_chk.c and add versioning.
272         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
273         Include nptl/pt-longjmp.c and add versioning.
274         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
275         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
276         Include __longjmp.c.
277         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
278         Move to ...
279         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
280         (__getcontext): Remove setting __flags field.
281         Add versioning.
282         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
283         Don't restore upper high grps.
284         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
285         Likewise.
286         (__swapcontext): Remove setting uc_flags field.
287         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
288         Delete file.
289         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
290         Include __longjmp.c.
291         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
292         Move to ...
293         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
294         (__getcontext): Remove setting __flags field.
295         Add versioning.
296         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
297         (__swapcontext): Remove setting uc_flags field.
298         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
299         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
300         Remove fields uc_high_gprs and __reserved.
301         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
302         New file with reverted content.
303         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
304         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
305         Regenerated.
306         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
307         Regenerated.
308
309 2014-07-31  Andreas Schwab  <schwab@suse.de>
310
311         * config.h.in (HAVE_IFUNC): Define to 0.
312         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
313         definedness.
314
315 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
316
317         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
318         memmove-avx-unaligned, memcpy-avx-unaligned and
319         mempcpy-avx-unaligned.
320         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
321         Add tests for AVX memcpy functions.
322         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
323         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
324         memcpy_chk.
325         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
326         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
327         memmove_chk.
328         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
329         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
330         mempcpy_chk.
331         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
332         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
333         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
334
335 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
336
337         [BZ #17213]
338         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
339         powerpc64le.
340
341 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
342
343         [BZ #16839]
344         * manual/llio.texi: Add section about open file description locks.
345         * manual/examples/ofdlocks.c: Example of open file description
346         lock usage.
347         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
348         F_OFD_SETLK, and F_OFD_SETLKW.
349
350 2014-07-23  Allan McRae  <allan@archlinux.org>
351
352         * po/es.po: Update Spanish translation from translation project.
353
354 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
355
356         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
357
358 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
359
360         [BZ #17078]
361         * sysdeps/arm/dl-machine.h (elf_machine_rela)
362         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
363         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
364
365 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
366
367         [BZ #17088]
368         * math/fesetenv.c (__fesetenv)
369         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
370         * math/feupdateenv.c (__feupdateenv)
371         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
372
373         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
374         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
375         (__ASSUME_SOCKETCALL): Do not define.
376
377         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
378         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
379         (__ASSUME_SOCKETCALL): Do not define.
380         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
381         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
382         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
383         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
384         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
385         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
386         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
387         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
388
389         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
390         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
391         (__ASSUME_SOCKETCALL): Do not define.
392         (__ASSUME_IPC64): Define unconditionally.
393         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
394         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
395         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
396         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
397         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
398         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
399         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
400         Likewise.
401
402         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
403         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
404         (__ASSUME_SOCKETCALL): Do not define.
405         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
406         (__ASSUME_FUTEX_LOCK_PI): Likewise.
407         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
408         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
409         (__ASSUME_REQUEUE_PI): Define unconditionally.
410         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
411         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
412         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
413         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
414         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
415         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
416
417         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
418         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
419         (__ASSUME_SOCKETCALL): Do not define.
420         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
421         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
422         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
423         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
424         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
425         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
426
427         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
428         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
429         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
430         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
431         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
432         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
433         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
434         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
435         (__ASSUME_GETCPU_SYSCALL): Likewise.
436
437         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
438         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
439         cases for individual architectures.
440         * sysdeps/gnu/configure: Regenerated.
441         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
442         LIBC_SLIBDIR_RTLDDIR.
443         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
444         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
445         LIBC_SLIBDIR_RTLDDIR.
446         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
448         LIBC_SLIBDIR_RTLDDIR.
449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
450         Regenerated.
451         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
452         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
453         file.
454         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
455         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
456         file.
457         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
458         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
459         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
460         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
461
462         * sysdeps/aarch64/shlib-versions: Move to ...
463         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
464         * sysdeps/alpha/shlib-versions: Move to ...
465         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
466         * sysdeps/arm/shlib-versions: Move to ...
467         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
468         * sysdeps/hppa/shlib-versions: Move all contents except for
469         libgcc_s entry to ...
470         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
471         entry from ...
472         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
473         * sysdeps/ia64/shlib-versions: Move to ...
474         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
475         entry from ...
476         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
477         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
478         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
479         * sysdeps/microblaze/shlib-versions: Move to ...
480         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
481         * sysdeps/mips/shlib-versions: Move to ...
482         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
483         entry from ...
484         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
485         * sysdeps/tile/shlib-versions: Move to ...
486         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
487         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
488         from ...
489         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
490         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
491         entry from ...
492         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
493
494 2014-07-17  Will Newton  <will.newton@linaro.org>
495
496         * sysdeps/arm/bits/atomic.h
497         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
498         (__arch_compare_and_exchange_bool_16_int): Likewise.
499         (__arch_compare_and_exchange_bool_64_int): Likewise.
500
501         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
502         into an #else block.
503
504 2014-07-16  Roland McGrath  <roland@hack.frob.com>
505
506         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
507         just Linux configurations.  Test empirically that the compiler sets
508         __ARM_EABI__, rather than using the tuple to decide.
509         * sysdeps/arm/preconfigure: Regenerated.
510         * sysdeps/unix/sysv/linux/arm/configure: File removed.
511         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
512         contents appended ...
513         * sysdeps/arm/configure.ac: ... here.
514         * sysdeps/arm/configure: Regenerated.
515
516 2014-07-15  Roland McGrath  <roland@hack.frob.com>
517
518         * nptl/pthread_kill.c: New file.
519         * nptl/pthread_sigmask.c: New file.
520         * nptl/pthread_sigqueue.c: New file.
521
522         * sysdeps/nptl/lowlevellock.h: New file.
523         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
524         * sysdeps/nptl/lowlevellock-futex.h: New file.
525
526         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
527         Remove dead declarations.
528
529 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
530
531         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
532         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
533         config-cflags-avx2.
534         * sysdeps/x86_64/configure.ac: Likewise.
535         * sysdeps/i386/configure: Regenerated.
536         * sysdeps/x86_64/configure: Likewise.
537         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
538         memset-avx2 only if config-cflags-avx2 is yes.
539         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
540         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
541         defined.
542         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
543         only if HAVE_AVX2_SUPPORT is defined.
544         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
545
546 2014-07-14  Alan Modra  <amodra@gmail.com>
547
548         [BZ #17153]
549         * elf/elf.h (DT_PPC64_NUM): Correct value.
550         * NEWS: Add to fixed bug list.
551
552 2014-07-13  Jim Meyering  <meyering@fb.com>
553
554         [BZ 17150]
555         regex: don't deref NULL upon heap allocation failure
556         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
557         failure in one more place.
558         To trigger the segfault, configure grep -with-included-regex,
559         build it, and run these commands:
560         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
561
562 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
563
564         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
565
566 2014-07-11  Richard Henderson  <rth@redhat.com>
567
568         * sysdeps/aarch64/libm-test-ulps: Update.
569
570 2014-07-10  Florian Weimer  <fweimer@redhat.com>
571
572         [BZ #17135]
573         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
574         * nptl/allocatestack.c (__nptl_setxid_error): New function.
575         (__nptl_setxid): Initialize error member.  Call
576         __nptl_setxid_error.
577         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
578         * nptl/descr.h (struct xid_command): Add error member.
579         * nptl/tst-setuid3.c: New file.
580         * nptl/Makefile (tests): Add it.
581
582 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
583
584         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
585         New define.
586         (__lll_trylock): Use __lll_base_trylock.
587         (__lll_cond_trylock): Likewise.
588
589 2014-07-10  Roland McGrath  <roland@hack.frob.com>
590
591         * nptl/pthread_create.c (start_thread): Use atomic_or and
592         lll_futex_wake directly rather than lll_robust_dead.
593         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
594         (lll_robust_dead): Macro removed.
595         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
596         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
597         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
598         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
599         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
600         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
601         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
602         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
603         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
604         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
605         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
606         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
607         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
608         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
609         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
610
611         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
612         Use atomic_compare_and_exchange_val_acq directly rather than
613         lll_robust_trylock.
614         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
615         (__lll_robust_trylock, lll_robust_trylock): Removed.
616         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
617         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
618         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
619         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
620         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
621         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
622         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
623         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
624         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
625         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
626         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
627         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
628         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
629         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
630
631 2014-07-02  Florian Weimer  <fweimer@redhat.com>
632
633         * manual/locale.texi (Locale Names): New section documenting
634         locale name syntax.  Adjust menu and node chaining accordingly.
635         (Choosing Locale): Reference Locale Names, Locale Categories.
636         Mention setting LC_ALL=C.  Reflect that name syntax is now
637         documented.
638         (Locale Categories): New section title.  Reference Locale Names.
639         LC_ALL is an environment variable, but not a category.
640         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
641         description, now in Locale Name.  Reference that section.  Locale
642         name syntax is now documented.
643
644 2014-07-02  Florian Weimer  <fweimer@redhat.com>
645
646         [BZ #17137]
647         * locale/findlocale.c (name_present, valid_locale_name): New
648         functions.
649         (_nl_find_locale): Use the loc_name variable to store name
650         candidates.  Call name_present and valid_locale_name to check and
651         validate locale names.  Return an error if the locale is invalid.
652
653 2014-07-02  Florian Weimer  <fweimer@redhat.com>
654
655         * locale/setlocale.c (setlocale): Use strdup for allocating
656         composite name copy.
657
658 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
659
660         Sync up with gnulib.
661         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
662         [!_LIBC && ENABLE_NLS]: Include gettext.h.
663         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
664         and _GL_ARG_NONNULL.
665         [USE_UNLOCKED_IO]: Include unlocked-io.h.
666         [!_LIBC]: Include code for Windows and Cygwin.
667         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
668         Include prototype for int strerror_r.
669         [!_LIBC] (is_open): New function.
670         (flush_stdout): New function.
671         (print_errno_message): Use it.
672         (error): Likewise.
673         (error_at_line): Likewise.
674         (error_tail) Add function attribute macros.  Use
675         __builtin_expect.
676
677         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
678
679         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
680
681         * io/ftw.c: Include sys/param.h unconditionally.
682
683         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
684
685         [BZ #17125]
686         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
687         libc_freeres_ptr.
688         (freecache): New function to free CACHE on exit.
689
690         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
691         initialization.
692
693 2014-07-09  David S. Miller  <davem@davemloft.net>
694
695         * sysdeps/sparc/fpu/libm-test-ulps: Update.
696
697         * sysdeps/sparc/nptl/internaltypes.h: Delete.
698         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
699         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
700         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
701         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
702         * sysdeps/sparc/nptl/sem_init.c: Likewise.
703         * sysdeps/sparc/nptl/sem_post.c: Likewise.
704         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
705         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
706         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
707         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
708         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
709         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
710
711 2014-07-09  Andreas Schwab  <schwab@suse.de>
712
713         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
714         output.
715         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
716         (do_test): Likewise.
717
718         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
719
720 2014-07-09  Will Newton  <will.newton@linaro.org>
721
722         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
723         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
724         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
725         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
726         * sysdeps/hppa/start.S (_start): Likewise.
727
728 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
729
730         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
731
732         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
733         defined.
734
735 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
736
737         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
738         after checking that it is non-NULL.
739
740         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
741
742 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
743
744         * sysdeps/powerpc/memmove.c: Remove file.
745         * sysdeps/powerpc/powerpc32/power4/memcopy.h
746         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
747         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
748         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
749         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
750         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
751         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
752         string memmove instead of removed powerpc one.
753
754         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
755         [weak_alias]: Fix compiler warning due trailing data.
756         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
757         [weak_alias]: Likewise.
758         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
759         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
760
761         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
762         (__libc_ifunc_impl_list): Add memmove functions.
763
764 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
765
766         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
767         Remove code.
768         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
769         Likewise
770         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
771         Likewise
772         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
773         Likewise
774         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
775         Likewise
776         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
777         Likewise
778         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
779         Likewise
780         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
781         Likewise
782         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
783         Likewise
784         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
785         Likewise
786         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
787         Likewise
788         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
789         Likewise
790         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
791         Likewise
792         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
793         Likewise
794         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
795         Likewise
796         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
797         Likewise
798         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
799         Likewise
800
801 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
802
803         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
804         to avoid alignment traps in non-cacheable memory.
805         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
806
807         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
808         multiarch objects.
809         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
810         file: multiarch power7 memmove.
811         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
812         multiarch default memmove.
813         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
814         multiarch memove for powerpc32/power4.
815
816         * string/bcopy.c: Use full path to include memmove.c.
817         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
818         multiarch objects.
819         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
820         bcopy for powerpc64.
821         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
822         bcopy for powerpc64.
823         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
824         and memmove implementations.
825         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
826         optimized multiarch memmove for POWER7/powerpc64.
827         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
828         default multiarch memmove for powerpc64.
829         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
830         multiarch for powerpc64.
831         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
832         for POWER7/powerpc64.
833         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
834         memmove for POWER7/powerpc64.
835
836         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
837         glibc default one.
838
839         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
840         __ELF_NATIVE_CLASS equal to 64.
841
842 2014-07-07  Roland McGrath  <roland@hack.frob.com>
843
844         * sysdeps/nptl/lowlevellock.h: File removed.
845
846         * NEWS: NPTL is no longer an add-on!
847         * nptl/internaltypes.h: Moved ...
848         * sysdeps/nptl/internaltypes.h: ... here.
849         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
850         * sysdeps/nptl/fork.c: Likewise.
851         * sysdeps/nptl/gai_misc.h: Likewise.
852         * sysdeps/nptl/librt-cancellation.c: Likewise.
853         * sysdeps/nptl/jmp-unwind.c: Likewise.
854         * sysdeps/nptl/setxid.h: Likewise.
855         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
856         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
857         * sysdeps/unix/sysv/linux/arm/Implies: New file.
858         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
859         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
860         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
861         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
862         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
863         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
864         * sysdeps/unix/sysv/linux/mips/Implies: New file.
865         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
866         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
867         * sysdeps/unix/sysv/linux/sh/Implies: New file.
868         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
869         * sysdeps/unix/sysv/linux/tile/Implies: New file.
870         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
871         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
872         * nptl/Makeconfig: Moved ...
873         * sysdeps/nptl/Makeconfig: ... here.
874         * nptl/configure: File removed.
875         * nptl/ANNOUNCE: File removed.
876         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
877         * sysdeps/unix/sysv/linux/configure: Regenerated.
878
879         * nptl/Makefile (routines): Add libc_pthread_init,
880         libc_multiple_threads, register-atfork and unregister-atfork.
881         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
882         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
883         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
884         pthread-pi-defines.sym, structsem.sym.
885         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
886         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
887         [$(subdir) = nptl] (tests): Add tst-setgetname.
888         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
889         * sysdeps/unix/sysv/linux/sigaction.c: Just include
890         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
891         [!LIBC_SIGACTION]: Remove aliases.
892         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
893         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
894         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
895         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
896         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
897         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
898         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
899         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
900         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
901         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
902         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
903         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
904         __libc_allocate_rtsig_private.
905         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
906         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
907         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
908         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
909         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
910         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
911         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
912         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
913         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
914         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
915         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
916         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
917         * nptl/internaltypes.h: ... here.
918         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
919         * sysdeps/nptl/jmp-unwind.c: ... here.
920         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
921         * nptl/libc-lowlevellock.c: ... here.
922         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
923         * nptl/libc_multiple_threads.c: ... here.
924         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
925         * nptl/libc_pthread_init.c: ... here.
926         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
927         * nptl/lowlevelbarrier.sym: ... here.
928         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
929         * nptl/lowlevelcond.sym: ... here.
930         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
931         * nptl/lowlevellock.c: ... here.
932         * nptl/lowlevellock.h: Moved ...
933         * sysdeps/nptl/lowlevellock.h: ... here.
934         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
935         * nptl/lowlevelrobustlock.c: ... here.
936         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
937         * nptl/lowlevelrobustlock.sym: ... here.
938         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
939         * nptl/lowlevelrwlock.sym: ... here.
940         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
941         * nptl/pt-fork.c: ... here.
942         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
943         * nptl/pthread-pi-defines.sym: ... here.
944         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
945         * nptl/pthread_attr_getaffinity.c: ... here.
946         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
947         * nptl/pthread_attr_setaffinity.c: ... here.
948         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
949         * nptl/pthread_mutex_cond_lock.c: ... here.
950         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
951         Update #include.
952         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
953         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
954         * nptl/pthread_once.c: ... here, replacing old file.
955         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
956         * nptl/pthread_yield.c: ... here.
957         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
958         * nptl/register-atfork.c: ... here.
959         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
960         * nptl/sem_post.c: ... here.
961         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
962         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
963         * nptl/sem_timedwait.c: ... here.
964         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
965         * nptl/sem_trywait.c: ... here.
966         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
967         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
968         * nptl/sem_wait.c: ... here.
969         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
970         * nptl/structsem.sym: ... here.
971         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
972         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
973         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
974         * nptl/unregister-atfork.c: ... here.
975         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
976         * nptl/unwindbuf.sym: ... here.
977         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
978         * sysdeps/nptl/fork.c: ... here.
979         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
980         * sysdeps/nptl/fork.h: ... here.
981         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
982         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
983         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
984         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
985         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
986         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
987         * sysdeps/unix/sysv/linux/getpid.c: ... here.
988         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
989         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
990         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
991         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
992         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
993         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
994         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
995         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
996         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
997         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
998         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
999         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1000         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1001         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1002         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1003         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1004         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1005         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1006         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1007         * sysdeps/unix/sysv/linux/raise.c: ... here.
1008         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1009         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1010         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1011         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1012         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1013         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1014         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1015         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1016         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1017         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1018         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1019         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1020         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1021         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1022         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1023
1024 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1025
1026         * sysdeps/generic/memcopy.h: Add comment for
1027         MEMCPY_OK_FOR_FWD_MEMMOVE.
1028
1029 2014-07-04  Will Newton  <will.newton@linaro.org>
1030
1031         * string/memchr.c: Merge from gnulib.
1032         [_LIBC]: Remove conditionals.
1033         (__ptr_t): Remove define.
1034         (LONG_MAX_32_BITS): Likewise.
1035         (LONG_MAX): Likewise.
1036         (MEMCHR): Use ANSI prototype and optimize algorithm.
1037
1038         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1039
1040 2014-07-03  Roland McGrath  <roland@hack.frob.com>
1041
1042         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1043         (lll_futex_timed_wait_bitset): Fix syscall argument count.
1044
1045         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1046         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1047         in a bare environment with no <stdlib.h> installed.
1048         * sysdeps/nptl/configure: Regenerated.
1049
1050         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1051
1052         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1053         AC_EGREP_CPP for kernel header checks, so they only succeed if
1054         including <linux/version.h> actually works right.
1055         * sysdeps/unix/sysv/linux/configure: Regenerated.
1056
1057         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1058         value so it's not diagnosed as unused.
1059
1060         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1061         thing) with "ifeq ($(subdir),rt)".
1062
1063 2014-07-03  Richard Henderson  <rth@redhat.com>
1064
1065         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1066         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1067         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1068
1069         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1070         (math_force_eval): New.
1071
1072         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1073         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1074
1075         * sysdeps/alpha/fpu/s_round.c: Remove file.
1076         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1077
1078         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1079         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1080         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1081         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1082         (_dl_start, print_statistics): Likewise.
1083         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1084         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1085
1086         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1087         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1088         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1089         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1090         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1091         (HP_SMALL_TIMING_AVAIL): Define.
1092         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1093         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1094         (HP_SMALL_TIMING_AVAIL): Define.
1095         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1096         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1097
1098         * sysdeps/aarch64/hp-timing.h: New file.
1099
1100         * sysdeps/generic/hp-timing.h: Remove dead comment.
1101         * sysdeps/generic/hp-timing-common.h: New file.
1102         * sysdeps/alpha/hp-timing.h: Include it.
1103         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1104         * sysdeps/i386/i686/hp-timing.h: Likewise.
1105         * sysdeps/ia64/hp-timing.h: Likewise.
1106         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1107         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1108         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1109         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1110         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1111         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1112         (hp_timing_t): New.
1113
1114         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1115         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1116         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1117         * elf/rtld.c (_dl_start_final): Likewise.
1118         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1119         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1120         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1121         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1122         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1123         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1124         (HP_TIMING_DIFF_INIT): Remove.
1125         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1126         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1127         (HP_TIMING_DIFF_INIT): Remove.
1128         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1129         * sysdeps/i386/i686/hp-timing.c: Remove file.
1130         * sysdeps/x86_64/hp-timing.c: Remove file.
1131         * sysdeps/ia64/hp-timing.c: Remove file.
1132         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1133         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1134         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1135         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1136
1137         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1138         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1139         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1140         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1141         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1142         (HP_TIMING_ACCUM): Remove.
1143         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1144         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1145         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1146
1147         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1148         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1149         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1150         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1151         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1152         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1153         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1154         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1155
1156         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1157
1158 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
1159
1160         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1161
1162 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1163
1164         Sync up with gettext.
1165         * intl/loadmsgcat.c: Define O_BINARY if not defined.
1166         [_MSC_VER]: Include malloc.h
1167         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1168         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1169         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
1170         TEMP_FAILURE_RETRY.  Cast return of alloca.
1171         [!_LIBC] Call gl_rwlock_init.
1172         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1173
1174 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1175
1176         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1177         before checking its value.
1178
1179 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1180
1181         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1182
1183         * debug/memcpy_chk.c: Don't include pagecopy.h.
1184         * debug/mempcpy_chk.c: Likewise.
1185         * string/memcpy.c: Likewise.
1186         * string/memmove.c: Likewise.
1187         * sysdeps/powerpc/memmove.c: Likewise.
1188         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
1189         definition of PAGE_COPY_FWD_MAYBE here...
1190         * sysdeps/generic/pagecopy.h: ... from here.
1191         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1192
1193 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1194             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1195
1196         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1197         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1198         optimizations.
1199         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1200         (__libc_ifunc_impl_list): Likewise.
1201         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1202         multiarch strcat for PPC64.
1203         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1204         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1205
1206 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1207
1208         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1209
1210 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1211
1212         * intl/loadmsgcat.c: Remove declaration of
1213         get_sysdep_segment_value.
1214         (get_sysdep_segment_value): Use ISO C style.
1215         (_nl_load_domain): Use ISO C style.  Get rid of redundant
1216         semicolon.  Fix typo and formatting in comment.
1217         (_nl_unload_domain): Use ISO C style.
1218
1219         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1220
1221 2014-07-02  Will Newton  <will.newton@linaro.org>
1222
1223         * malloc/obstack.c: Merge from gnulib master.
1224         [HAVE_CONFIG_H]: Remove conditional code.
1225         [!_LIBC]: Include config.h.
1226         [!ELIDE_CODE]: Don't include inttypes.h, include
1227         stdint.h unconditionally.
1228         (print_and_abort): Mark as _Noreturn.
1229         (_obstack_allocated_p): Mark as __attribute_pure__.
1230         (obstack_free): Rename to __obstack_free.
1231         [!__attribute__]: Remove conditional code.
1232         * malloc/obstack.h: Merge from gnulib master.
1233         [__cplusplus]: Move conditional down.
1234         [!__attribute_pure__]: Define __attribute_pure__ here
1235         if it is not already defined.
1236         (_obstack_memory_used): Mark as __attribute_pure__.
1237         [!__obstack_free]: Define as obstack_free.
1238         [__GNUC__]: Remove check for ancient NeXT gcc.
1239
1240 2014-07-02  Will Newton  <will.newton@linaro.org>
1241             Paul Eggert  <eggert@cs.ucla.edu>
1242
1243         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1244
1245 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1246
1247         * resolv/gethnamaddr.c: Add comment warning that the file is
1248         not maintained.
1249
1250 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
1251
1252         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1253         entries.
1254
1255         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1256         entry for aio_cancel and aio_cancel64.
1257         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1258         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1259         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1260         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1261         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1262         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1263         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1264         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1265         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1266         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1267         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1268         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1269         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1270
1271 2014-07-01  Roland McGrath  <roland@hack.frob.com>
1272
1273         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1274         * nptl/pthread_mutex_lock.c: Likewise.
1275         * nptl/pthread_mutex_timedlock.c: Likewise.
1276         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1277
1278 2014-07-01  Richard henderson  <rth@redhat.com>
1279
1280         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1281         (__isnan, __isnanl): Remove.
1282         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1283
1284         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1285
1286 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1287
1288         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1289
1290 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1291
1292         * resolv/nss_dns/dns-host.c (getanswer_r)
1293         [MULTI_PTRS_ARE_ALIASES]: Remove code.
1294
1295 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
1296
1297         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1298         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1299         undefine.
1300         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1301         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1302
1303 2014-07-01  Roland McGrath <roland@hack.frob.com>
1304
1305         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1306         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1307
1308         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1309         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1310
1311         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1312         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1313         ... here.
1314         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1315         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1316
1317         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1318         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1319         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1320         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1321
1322         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1323         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1324         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1325         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1326         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1327         Moved ...
1328         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1329         ... here.
1330         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1331         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1332         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1333         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1334         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1335         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1336         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1337         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1338         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1339         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1340         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1341         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1342         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1343         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1344         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1345         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1346         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1347         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1348         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1349         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1350         ... here.
1351         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1352         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1353         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1354         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1355         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1356         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1357         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1358         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1359
1360 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
1361
1362         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1363         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1364         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1365         Add sysdep.
1366
1367 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1368
1369         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1370
1371 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1372
1373         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1374         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1375
1376         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1377
1378         * sysdeps/arm/libm-test-ulps: Regenerated.
1379
1380 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1381             Roland McGrath <roland@hack.frob.com>
1382
1383         * test-skeleton.c (signal_handler): Kill the whole process group
1384         before killing the child individually.
1385         (main): Report any failure on `setpgid'.
1386
1387 2014-06-30  Roland McGrath  <roland@hack.frob.com>
1388
1389         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1390         from _TLS_H to _ARM_NPTL_TLS_H.
1391         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1392         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1393
1394 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1395
1396         [BZ #16539]
1397         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1398         (__expm1l): Return argument unchanged when small but not
1399         subnormal.
1400
1401         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1402         include macro name.
1403         (_FP_UNPACK_RAW_1_P): Likewise.
1404         (_FP_PACK_RAW_1): Likewise.
1405         (_FP_PACK_RAW_1_P): Likewise.
1406         (_FP_MUL_MEAT_1_wide): Likewise.
1407         (_FP_MUL_MEAT_DW_1_hard): Likewise.
1408         (_FP_MUL_MEAT_1_hard): Likewise.
1409         (_FP_DIV_MEAT_1_imm): Likewise.
1410         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1411         (_FP_DIV_MEAT_1_udiv): Likewise.
1412         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1413         (_FP_UNPACK_RAW_2): Likewise.
1414         (_FP_UNPACK_RAW_2_P): Likewise.
1415         (_FP_PACK_RAW_2): Likewise.
1416         (_FP_PACK_RAW_2_P): Likewise.
1417         (_FP_MUL_MEAT_DW_2_wide): Likewise.
1418         (_FP_MUL_MEAT_2_wide): Likewise.
1419         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1420         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1421         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1422         (_FP_MUL_MEAT_2_gmp): Likewise.
1423         (_FP_DIV_MEAT_2_udiv): Likewise.
1424         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1425         (_FP_FRAC_SRL_4): Likewise.
1426         (_FP_FRAC_SRST_4): Likewise.
1427         (_FP_FRAC_SRS_4): Likewise.
1428         (_FP_UNPACK_RAW_4): Likewise.
1429         (_FP_UNPACK_RAW_4_P): Likewise.
1430         (_FP_PACK_RAW_4): Likewise.
1431         (_FP_PACK_RAW_4_P): Likewise.
1432         (_FP_MUL_MEAT_DW_4_wide): Likewise.
1433         (_FP_MUL_MEAT_4_wide): Likewise.
1434         (_FP_MUL_MEAT_4_gmp): Likewise.
1435         (umul_ppppmnnn): Likewise.
1436         (_FP_DIV_MEAT_4_udiv): Likewise.
1437         (__FP_FRAC_ADD_4): Likewise.
1438         (__FP_FRAC_SUB_3): Likewise.
1439         (__FP_FRAC_SUB_4): Likewise.
1440         (__FP_FRAC_DEC_3): Likewise.
1441         (__FP_FRAC_DEC_4): Likewise.
1442         (__FP_FRAC_ADDI_4): Likewise.
1443         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1444         (_FP_FRAC_SRL_8): Likewise.
1445         (_FP_FRAC_SRS_8): Likewise.
1446
1447         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1448         include macro name.
1449         (FP_UNPACK_RAW_EP): Likewise.
1450         (FP_PACK_RAW_E): Likewise.
1451         (FP_PACK_RAW_EP): Likewise.
1452         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1453         (_FP_ISSIGNAN): Likewise.
1454         (_FP_ADD_INTERNAL): Likewise.
1455         (_FP_FMA): Likewise.
1456         (_FP_CMP): Likewise.
1457         (_FP_SQRT): Likewise.
1458         (_FP_TO_INT): Likewise.
1459         (_FP_FROM_INT): Likewise.
1460         (FP_EXTEND): Likewise.
1461         (_FP_DIV_MEAT_N_loop): Likewise.
1462
1463 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1464
1465         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1466         throughout.
1467
1468 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
1469
1470         [BZ #17097]
1471         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1472         result with correct sign in case of exponents that produce
1473         overflow except for X very close to 1.
1474
1475 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
1476
1477         mktime: merge #if/#ifdef usage from glibc
1478         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1479         as that works with both Glibc's and Gnulib's style.
1480         See thread starting at Siddhesh Poyarekar's bug report at:
1481         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1482
1483 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1484
1485         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1486         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1487         * sysdeps/tile/tilegx/memmove.c: Remove file.
1488
1489 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
1490
1491         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1492         abi-name definition.
1493         * scripts/soversions.awk: Do not handle or generate ABI lines.
1494         * shlib-versions: Remove ABI entries.
1495         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1496         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1497
1498 2014-06-27  Roland McGrath  <roland@hack.frob.com>
1499
1500         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1501         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1502         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1503         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1504         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1505         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1506         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1507         Moved ...
1508         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1509         ... here.
1510         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1511         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1512         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1513         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1514         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1515         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1516         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1517         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1518         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1519         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1520         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1521         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1522         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1523         Moved ...
1524         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1525         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1526         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1527         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1528         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1529         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1530         Moved ...
1531         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1532         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1533         Moved ...
1534         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1535         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1536         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1537         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1538         Moved ...
1539         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1540         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1541         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1542         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1543         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1544         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1545         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1546         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1547         Moved ...
1548         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1549         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1550         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1551         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1552         Moved ...
1553         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1554         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1555         Moved ...
1556         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1557         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1558         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1559         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1560         Moved ...
1561         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1562         ... here.
1563         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1564         Identical file removed.
1565         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1566         Moved ...
1567         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1568         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1569         Identical file removed.
1570         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1571         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1572         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1573         Moved ...
1574         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1575         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1576         Identical file removed.
1577         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1578         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1579         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1580         Identical file removed.
1581         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1582         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1583         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1584         Identical file removed.
1585         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1586         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1587         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1588         Identical file removed.
1589         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1590         Moved ...
1591         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1592         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1593         Identical file removed.
1594         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1595         Moved ...
1596         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1597         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1598         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1599         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1600         Identical file removed.
1601         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1602         Moved ...
1603         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1604         ... here.
1605         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1606         Identical file removed.
1607         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1608         Moved ...
1609         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1610         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1611         Identical file removed.
1612         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1613         Moved ...
1614         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1615         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1616         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1617         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1618         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1619         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1620         Moved ...
1621         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1622         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1623         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1624
1625         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1626         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1627         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1628         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1629         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1630
1631 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
1632
1633         [BZ #17092]
1634         * nscd/nscd.c (monitor_child): Return exit status of child
1635         instead of return value from wait syscall.
1636
1637 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
1638
1639         * configure.ac (libc_commonpagesize): Remove variable.
1640         (libc_relro_required): Likewise.
1641         (libc_cv_z_relro): Remove configure test.
1642         * configure: Regenerated.
1643         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1644         variable.
1645         (libc_relro_required): Likewise.
1646         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1647         (libc_relro_required): Likewise.
1648         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1649         (libc_relro_required): Likewise.
1650         * sysdeps/arm/preconfigure: Regenerated.
1651         * sysdeps/ia64/preconfigure: Remove file.
1652         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1653         variable.
1654         (libc_relro_required): Likewise.
1655
1656         [BZ #16561]
1657         [BZ #16562]
1658         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1659         (__ieee754_yn): Set FE_TONEAREST mode internally and then
1660         recompute overflowing results in original rounding mode.
1661         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1662         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1663         recompute overflowing results in original rounding mode.
1664         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1665         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1666         recompute overflowing results in original rounding mode.
1667         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1668         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1669         recompute overflowing results in original rounding mode.
1670         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1671         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1672         recompute overflowing results in original rounding mode.
1673         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1674         (libc_feholdsetround_ctx): New macro.
1675         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1676         * sysdeps/i386/fpu/libm-test-ulps: Update.
1677         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1678
1679 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1680
1681         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1682         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1683         corresponding .cpsetup call.
1684
1685 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1686
1687         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1688         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1689         * sysdeps/arm/Makefile [$(subdir) = csu]
1690         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1691         (static-only-routines): Add aeabi_read_tp here.
1692         (shared-only-routines): Add libc-aeabi_read_tp here.
1693         (CFLAGS-libc-start.c): Add -fexceptions here.
1694         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1695         (sysdep_routines, static-only-routines, shared-only-routines):
1696         Don't add to these here.
1697         (CFLAGS-libc-start.c): Likewise.
1698
1699         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1700         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1701         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1702         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1703         * sysdeps/arm/Makefile [$(subdir) = rt]
1704         (librt-sysdep_routines, librt-shared-only-routines):
1705         Append rt-aeabi_unwind_cpp_pr1 here.
1706         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1707         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1708         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1709         (libpthread-sysdep_routines, libpthread-shared-only-routines):
1710         Append nptl-aeabi_unwind_cpp_pr1 here.
1711         (tests): Filter out tst-cleanupx4 here.
1712         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1713         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1714         Don't do those here.
1715
1716 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1717
1718         * scripts/list-sources.sh: Do not handle ports specially.
1719
1720 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1721
1722         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1723         * sysdeps/arm/feupdateenv.c: Likewise.
1724
1725         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1726
1727 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1728
1729         * manual/texinfo.tex: Update to version 2014-05-05.10 with
1730         trailing whitespace removed.
1731         * scripts/config.guess: Update to version 2014-03-23.
1732         * scripts/config.sub: Update to version 2014-05-01
1733         * scripts/install-sh: Update to version 2013-12-25.23.
1734         * scripts/move-if-change: Update from gnulib.
1735
1736 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1737
1738         * debug/memmove_chk.c: Remove pagecopy.h include.
1739
1740 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
1741
1742         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
1743         identical to gnulib mktime.
1744
1745 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1746
1747         * configure.ac: Do not test for machine being rs6000.  Do not test
1748         for powerpc*-*soft.
1749         * configure: Regenerated.
1750
1751         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1752         test.
1753         * configure: Regenerated.
1754         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1755         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1756         Remove configure test.
1757         * sysdeps/arm/configure: Regenerated.
1758         * sysdeps/nptl/configure.ac: Do not check
1759         libc_cv_asm_cfi_directives.
1760         * sysdeps/nptl/configure: Regenerated.
1761         * sysdeps/x86_64/nptl/configure.ac: Remove file.
1762         * sysdeps/x86_64/nptl/configure: Remove generated file.
1763         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1764         unconditional.
1765         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1766
1767 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1768
1769         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1770         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1771         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1772         it is defined.
1773
1774         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1775         instead of whether it is defined.
1776         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1777         * sysdeps/hppa/dl-machine.h: Likewise.
1778         * sysdeps/ia64/dl-machine.h: Likewise.
1779         * sysdeps/m68k/dl-machine.h: Likewise.
1780         * sysdeps/microblaze/dl-machine.h: Likewise.
1781         * sysdeps/mips/dl-machine.: Likewise.
1782         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1783         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1784         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1785         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1786         * sysdeps/sh/dl-machine.h: Likewise.
1787         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1788         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1789         * sysdeps/tile/dl-machine.h: Likewise.
1790         * sysdeps/x86_64/dl-machine.h: Likewise.
1791
1792         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1793         code.
1794         (verify_persistent_db): Likewise.
1795
1796 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1797
1798         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1799         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1800         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1801         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1802         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1803         Moved ...
1804         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1805         ... here.
1806         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1807         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1808         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1809         Identical file removed.
1810         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1811         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1812         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1813         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1814         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1815         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1816         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1817         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1818         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1819         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1820         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1821         Moved ...
1822         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1823         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1824         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1825         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1826         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1827         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1828         Moved ...
1829         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1830         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1831         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1832         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1833         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1834         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1835         Identical file removed.
1836         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1837         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1838         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1839         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1840         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1841         Moved ...
1842         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1843         ... here.
1844         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1845         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1846         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1847         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1848         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1849         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1850         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1851         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1852         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1853         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1854         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1855         Moved ...
1856         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1857         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1858         Moved ...
1859         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1860         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1861         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1862         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1863         Moved ...
1864         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1865         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1866         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1867
1868         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1869         folded into ...
1870         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1871         * sysdeps/unix/sysv/linux/s390/Versions
1872         (libpthread: GLIBC_2.19): New version set.
1873         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1874         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1875         (librt: GLIBC_2.3.3): New version set.
1876         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1877         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1878         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1879         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1880         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1881         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1882         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1883         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1884         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1885         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1886         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1887         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1888         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1889         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1890         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1891         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1892         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1893         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1894         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1895         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1896         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1897         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1898         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1899         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1900         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1901         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1902         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1903         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1904         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1905         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1906         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1907         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1908         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1909         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1910         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1911         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1912         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1913         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1914         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1915         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1916         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1917         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1918         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1919         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1920         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1921
1922         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1923         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1924         (__libc_vfork): Define the function under this name.
1925         [!NOT_IN_libc] (__vfork): Make this an alias.
1926         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1927         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1928         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1929         (__libc_vfork): Define the function under this name.
1930         [!NOT_IN_libc] (__vfork): Make this an alias.
1931         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1932         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1933         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1934         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1935         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1936         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1937
1938         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1939         code that was previously under [RESET_PID].
1940         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1941         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1942         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1943
1944         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1945         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1946         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1947         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1948         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1949         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1950         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1951         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1952         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1953         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1954         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1955         Moved ...
1956         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1957         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1958         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1959         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1960         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1961         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1962         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1963         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1964         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1965         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1966         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1967         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1968         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1969         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1970         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1971         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1972         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1973         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1974         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1975         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1976         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1977         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1978         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1979         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1980         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1981         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1982         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1983         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1984         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1985
1986 2014-06-25  Roland McGrath  <roland@hack.frob.com>
1987
1988         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1989         that was previously under [RESET_PID].
1990         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1991
1992 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1993
1994         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1995         not undefine and redefine.
1996         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1997         [O_CLOEXEC]: Make code unconditional.
1998         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1999         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2000         <kernel-features.h>.
2001         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2002         conditional variable definition.
2003         (shm_open) [O_CLOEXEC]: Make code unconditional.
2004         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2005         code.
2006
2007         * configure.ac (USE_REGPARMS): Don't define here.
2008         * configure: Regenerated.
2009         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2010         * sysdeps/i386/configure: Regenerated.
2011
2012         * nptl/createthread.c: Don't include kernel-features.h.
2013         * nptl/pthread_cancel.c: Likewise.
2014         * nptl/pthread_condattr_setclock.c: Likewise.
2015         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2016         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2017         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2018         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2019         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2020         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2021         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2022         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2023         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2024         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2025         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2026         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2027         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2028         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2029         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2030         * nscd/gai.c: Likewise.
2031         * nss/nss_db/db-open.c: Likewise.
2032         * sysdeps/generic/ldsodefs.h: Likewise.
2033         * sysdeps/sh/nptl/tls.h: Likewise.
2034         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2035         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2036         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2037         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2038         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2039         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2040         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2041         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2042         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2043         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2044         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2045         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2046         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2047         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2048         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2049         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2050         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2051         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2052         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2053         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2054         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2055         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2056         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2057         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2058         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2059         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2060         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2061         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2062         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2063         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2064         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2065         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2066         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2067         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2068         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2069         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2070         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2071         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2072         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2073         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2074         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2075         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2076         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2077         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2078         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2079         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2080         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2081         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2082         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2083         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2084         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2085         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2086         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2087         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2088         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2089         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2090         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2091         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2114         * sysdeps/unix/sysv/linux/pread.c: Likewise.
2115         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2116         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2117         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2118         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2119         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2120         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2121         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2122         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2123         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2124         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2125         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2126         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2127         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2128         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2129         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2130         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2131         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2132         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2133         * sysdeps/unix/sysv/linux/system.c: Likewise.
2134         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2135         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2136         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2137         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2138         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2139         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2140         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2141
2142         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2143         * configure: Regenerated.
2144         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2145
2146         * configure.ac (base_machine): Do not set specially for particular
2147         machines here.
2148         * configure: Regenerated.
2149         * sysdeps/powerpc/preconfigure: Move machine and base_machine
2150         settings from configure.ac.
2151         * sysdeps/i386/preconfigure: New file.
2152         * sysdeps/s390/preconfigure: Likewise.
2153         * sysdeps/sh/preconfigure: Likewise.
2154         * sysdeps/sparc/preconfigure: Likewise.
2155
2156 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2157
2158         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2159         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2160         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2161         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2162         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2163         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2164         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2165         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2166         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2167         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2168         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2169         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2170         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2171         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2172         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2173         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2174         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2175         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2176         * sysdeps/sparc/sparc64/Makefile: ... appended here.
2177
2178         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2179         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2180         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2181         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2182         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2183         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2184         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2185         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2186         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2187         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2188         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2189         * sysdeps/sparc/sparc32/sem_post.c: ... here.
2190         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2191         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2192         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2193         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2194         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2195         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2196         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2197         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2198         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2199         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2200         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2201         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2202         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2203         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2204         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2205         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2206         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2207         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2208         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2209         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2210         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2211         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2212         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2213         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2214         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2215         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2216
2217         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2218         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2219         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2220         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2221         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2222         Moved ...
2223         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2224         ... here.
2225         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2226         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2227         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2228         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2229         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2230         Moved ...
2231         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2232         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2233         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2234         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2235         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2236         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2237         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2238         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2239         Moved ...
2240         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2241         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2242         Moved ...
2243         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2244         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2245         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2246         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2247         Moved ...
2248         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2249         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2250         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2251         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2252         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2253         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2254         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2255         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2256         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2257         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2258         Moved ...
2259         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2260         ... here.
2261         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2262         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2263         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2264         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2265         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2266         Moved ...
2267         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2268         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2269         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2270         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2271         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2272         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2273         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2274         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2275         Moved ...
2276         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2277         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2278         Moved ...
2279         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2280         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2281         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2282         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2283         Moved ...
2284         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2285         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2286         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2287         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2288         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2289
2290 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2291
2292         * timezone/checktab.awk: Update from tzcode 2014e.
2293         * timezone/private.h: Likewise.
2294         * timezone/tzfile.h: Likewise.
2295         * timezone/zdump.c: Likewise.
2296         * timezone/zic.c: Likewise.
2297
2298         * sysdeps/unix/sysv/linux/kernel-features.h
2299         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2300         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2301         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2302         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2303         Remove conditional code.
2304
2305 2014-06-25  Will Newton  <will.newton@linaro.org>
2306
2307         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2308         (_dl_arm_cap_flags): Add HWCAP2 values.
2309         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2310         (_DL_HWCAP_COUNT): Increase to 37.
2311         (_DL_HWCAP_LAST): New define.
2312         (_DL_HWCAP2_LAST): New define.
2313         (_dl_procinfo): Add support for printing
2314         AT_HWCAP2 entries.
2315         (_dl_string_hwcap): Use _dl_hwcap_string.
2316
2317 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2318
2319         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2320
2321 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2322
2323         * README: Do not mention ports directory.
2324
2325         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2326         Remove macro.
2327         * sysdeps/unix/sysv/linux/futimes.c: Do not include
2328         <kernel-features.h>.
2329         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2330         conditional variable definition.
2331         (__futimes): Update comment.
2332         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2333         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2334
2335         [BZ #16560]
2336         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2337         arguments close to 0.
2338         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2339         Likewise.
2340         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2341         Likewise.
2342         * math/auto-libm-test-in: Add more tests of exp10.
2343         * math/auto-libm-test-out: Regenerated.
2344         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2345
2346         * sysdeps/unix/sysv/linux/kernel-features.h
2347         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2348         * sysdeps/unix/sysv/linux/readv.c: Do not include
2349         <kernel-features.h>.
2350         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2351         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2352         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2353         unconditional.
2354         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2355         conditional code.
2356         * sysdeps/unix/sysv/linux/writev.c: Do not include
2357         <kernel-features.h>.
2358         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2359         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2360         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2361         unconditional.
2362         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2363         conditional code.
2364
2365 2014-06-25  Will Newton  <will.newton@linaro.org>
2366
2367         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2368         comment changes throughout the file.  Remove checks
2369         for HAVE_*_H definitions that are not required.
2370         (__gen_tempname): Call abort if an unknown kind value is
2371         passed.
2372
2373 2014-06-25  Andreas Schwab  <schwab@suse.de>
2374
2375         [BZ #17086]
2376         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2377         scalbln, scalblnf, scalblnl in libc.
2378
2379 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2380
2381         [BZ #17086]
2382         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2383         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2384         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2385
2386 2014-06-24  Roland McGrath  <roland@hack.frob.com>
2387
2388         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2389         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2390         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2391         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2392         Update #include.
2393         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2394         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2395         Update #include.
2396         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2397         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2398         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2399         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2400         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2401         * sysdeps/x86/bits/pthreadtypes.h: ... here.
2402         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2403         * sysdeps/x86/bits/semaphore.h: ... here.
2404         * sysdeps/x86/nptl/elide.h: Moved ...
2405         * sysdeps/x86/elide.h: ... here.
2406         * sysdeps/x86_64/nptl/Implies: File removed.
2407         * sysdeps/i386/nptl/Implies: File removed.
2408
2409 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
2410
2411         [BZ #16539]
2412         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2413         return the argument for normal arguments with exponent below -64.
2414         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2415         Likewise.
2416         * math/auto-libm-test-in: Add another test of expm1.
2417         * math/auto-libm-test-out: Regenerated.
2418
2419         [BZ #16287]
2420         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2421         calling __erfcl for arguments at least 16.
2422         * math/auto-libm-test-in: Add more tests of erf.
2423         * math/auto-libm-test-out: Regenerated.
2424
2425         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2426         individual architectures.
2427         * sysdeps/unix/sysv/linux/configure: Regenerated.
2428         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2429         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2430         * sysdeps/unix/sysv/linux/powerpc/configure.ac
2431         (ldd_rewrite_script): Define variable.
2432         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2434         file.
2435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2436         generated file.
2437         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2438         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2439         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2440         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2441         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2442         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2443         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2444         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2445
2446 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2447
2448         [BZ #17084]
2449         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2450         Rename member __data.d to __data.__elision_data.
2451
2452 2014-06-24  Wilco  <wdijkstr@arm.com>
2453
2454         * NEWS: Add 16918 to fixed bug list.
2455
2456 2014-06-24  Wilco  <wdijkstr@arm.com>
2457
2458         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2459
2460 2014-06-24  Wilco  <wdijkstr@arm.com>
2461
2462         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2463         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2464         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2465         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2466         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2467         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2468         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2469         Use _FPU_MASK_RM.
2470
2471 2014-06-24  Wilco  <wdijkstr@arm.com>
2472
2473         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2474
2475 2014-06-24  Wilco  <wdijkstr@arm.com>
2476
2477         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2478         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2479         * sysdeps/arm/fesetround.c (fesetround): Remove space.
2480         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2481
2482 2014-06-24  Wilco  <wdijkstr@arm.com>
2483
2484         [BZ #16918]
2485         * sysdeps/arm/feupdateenv.c (feupdateenv):
2486         Rewrite to reduce FPSCR accesses and fix return value.
2487
2488 2014-06-24  Wilco  <wdijkstr@arm.com>
2489
2490         * sysdeps/arm/fclrexcpt.c (feclearexcept):
2491         Optimize to avoid unnecessary FPSCR writes.
2492         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2493         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2494         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2495         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2496
2497 2014-06-24  Wilco  <wdijkstr@arm.com>
2498
2499         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2500         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2501         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2502         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2503         Call libc_fetestexcept_vfp.
2504         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2505         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2506         __SOFTFP__ ifdef so that they can be built for softfp.
2507
2508 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2509
2510         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2511         argument type signed char.
2512
2513         * Makerules (check-abi): Dump diff of symlist if the test
2514         fails.
2515
2516 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2517
2518         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2519         using abort.
2520
2521         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2522         Remove unused variable ST.
2523
2524 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
2525
2526         [BZ #16354]
2527         [BZ #17061]
2528         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2529         small arguments before calling __expm1.
2530         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2531         small arguments before calling __expm1f.
2532         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2533         small arguments before calling __expm1l.
2534         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2535         Likewise.
2536         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2537         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
2538         spurious underflow for some cosh tests.
2539         * math/auto-libm-test-out: Regenerated.
2540         * sysdeps/i386/fpu/libm-test-ulps: Update.
2541
2542         [BZ #17050]
2543         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2544         (__ieee754_y1): Set errno if return value overflows.
2545         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2546         (__ieee754_y1f): Set errno if return value overflows.
2547         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2548         (__ieee754_y1l): Set errno if return value overflows.
2549         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2550         (__ieee754_y1l): Set errno if return value overflows.
2551         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2552         * math/auto-libm-test-out: Regenerated.
2553
2554         * math/gen-auto-libm-tests.c: Document use of
2555         ignore-zero-inf-sign.
2556         (input_flag_type): Add value flag_ignore_zero_inf_sign.
2557         (input_flags): Add ignore-zero-inf-sign.
2558         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2559         * math/gen-libm-test.pl (generate_testfile): Handle
2560         ignore-zero-inf-sign.
2561         * math/auto-libm-test-in: Mark some cpow tests with
2562         ignore-zero-inf-sign and some with xfail-rounding.
2563         * math/auto-libm-test-out: Regenerated.
2564         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2565         * sysdeps/i386/fpu/libm-test-ulps: Update.
2566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2567
2568         [BZ #16315]
2569         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2570         overflowing or underflowing operations take place with sign of
2571         result.
2572         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2573         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2574         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2575         (__ieee754_pow): Recompute overflowing and underflowing results in
2576         original rounding mode.
2577         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2578         (__powl_helper): Allow negative argument X and scale negated value
2579         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
2580         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2581         overflowing or underflowing operations take place with sign of
2582         result.
2583         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2584         Include <math.h>.
2585         * math/auto-libm-test-in: Add more tests of pow.
2586         * math/auto-libm-test-out: Regenerated.
2587         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2588         (pow_tonearest_test_data): Remove.
2589         (pow_test_tonearest): Likewise.
2590         (pow_towardzero_test_data): Likewise.
2591         (pow_test_towardzero): Likewise.
2592         (pow_downward_test_data): Likewise.
2593         (pow_test_downward): Likewise.
2594         (pow_upward_test_data): Likewise.
2595         (pow_test_upward): Likewise.
2596         (main): Don't call removed functions.
2597         * sysdeps/i386/fpu/libm-test-ulps: Update.
2598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2599
2600 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2601
2602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2603         Moved ...
2604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2606         Moved ...
2607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2609         Moved ...
2610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2612         Moved ...
2613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2615         File removed.
2616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2617         File removed.
2618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2619         File removed.
2620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2621         File removed.
2622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2623         File removed.
2624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2625         File removed.
2626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2627         File removed.
2628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2629         File removed.
2630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2631         File removed.
2632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2633         File removed.
2634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2635         File removed.
2636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2637         File removed.
2638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2639         Moved ...
2640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2642         Moved ...
2643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2644         ... here.
2645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2646         Moved ...
2647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2649         Moved ...
2650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2652         Moved ...
2653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2655         Moved ...
2656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2658         Moved ...
2659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2661         Moved ...
2662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2664         Moved ...
2665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2668         ... here.
2669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2670         Moved ...
2671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2673         Moved ...
2674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2675         ... here.
2676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2677         Moved ...
2678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2679         ... here.
2680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2681         Moved ...
2682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2683         ... here.
2684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2685         Moved ...
2686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2688         Moved ...
2689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2693         Moved ...
2694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2695         ... here.
2696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2697         Moved ...
2698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2699         ... here.
2700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2701         Moved ...
2702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2704         Moved ...
2705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2707         Moved ...
2708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2710         Moved ...
2711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2713         Moved ...
2714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2715         ... here.
2716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2717         Moved ...
2718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2720         Moved ...
2721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2723         Moved ...
2724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2726         Moved ...
2727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2731         Moved ...
2732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2734         Moved ...
2735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2737         Moved ...
2738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2739         ... here.
2740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2741         Moved ...
2742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2743         ... here.
2744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2745         Moved ...
2746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2747         ... here.
2748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2749         Moved ...
2750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2752         Moved ...
2753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2755         Moved ...
2756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2758         Moved ...
2759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2760         ... here.
2761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2762         Moved ...
2763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2764         ... here.
2765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2766         Moved ...
2767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2768         ... here.
2769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2770         Moved ...
2771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2773         Moved ...
2774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2775
2776 2014-06-23  Will Newton  <will.newton@linaro.org>
2777             Wilco  <wdijkstr@arm.com>
2778
2779         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2780         implementation.  Include get-rounding-mode.h.
2781         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2782         [!libc_feholdsetround_noex_ctx]: Define
2783         libc_feholdsetround_noex_ctx.
2784         [!libc_feholdsetround_noexf_ctx]: Define
2785         libc_feholdsetround_noexf_ctx.
2786         [!libc_feholdsetround_noexl_ctx]: Define
2787         libc_feholdsetround_noexl_ctx.
2788         (libc_feholdsetround_ctx): New function.
2789         (libc_feresetround_ctx): New function.
2790         (libc_feholdsetround_noex_ctx): New function.
2791         (libc_feresetround_noex_ctx): New function.
2792
2793 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2794
2795         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2796         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2797         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2798         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2799         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2800         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2801
2802         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2803         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2804         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2805         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2806         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2807         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2808         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2809         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2810         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2811         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2812         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2813         Moved ...
2814         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2815         ... here.
2816         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2817         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2818         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2819         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2820         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2821         Moved ...
2822         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2823         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2824         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2825         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2826         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2827         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2828         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2829         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2830         Moved ...
2831         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2832         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2833         Moved ...
2834         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2835         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2836         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2837         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2838         Moved ...
2839         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2840         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2841         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2842         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2843         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2844         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2845         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2846         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2847         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2848         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2849         Moved ...
2850         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2851         ... here.
2852         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2853         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2854         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2855         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2856         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2857         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2858         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2859         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2860         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2861         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2862         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2863         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2864         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2865         Moved ...
2866         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2867         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2868         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2869         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2870         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2871         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2872         Moved ...
2873         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2874         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2875         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2876         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2877         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2878
2879         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2880         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2881         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2882         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2883         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2884         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2885         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2886         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2887         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2888         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2889         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2890         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2891         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2892         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2893         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2894         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2895         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2896         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2897         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2898         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2899         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2900         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2901         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2902         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2903         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2904         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2905         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2906         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2907
2908 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
2909
2910         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2911         (FALLOC_FL_COLLAPSE_RANGE): New macro.
2912         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2913         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2914         (IPV6_PMTUDISC_INTERFACE): Likewise.
2915         (IPV6_PMTUDISC_OMIT): Likewise.
2916
2917 2014-06-23  Andreas Schwab  <schwab@suse.de>
2918
2919         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2920         Remove unused errout label.
2921
2922 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2923
2924         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2925         macro: hardware supports Vector Crypto instructions.
2926
2927 2014-06-23  Will Newton  <will.newton@linaro.org>
2928
2929         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2930         rather than __builtin_expect.
2931
2932         * elf/dl-lookup.c (undefined_msg): Remove variable.
2933         (_dl_lookup_symbol_x): Replace undefined_msg with string
2934         literal.
2935
2936         * elf/dl-lookup.c (do_lookup_unique): New function.
2937         (do_lookup_x): Move STB_GNU_UNIQUE handling code
2938         to a separate function.
2939
2940 2014-06-23  Andreas Schwab  <schwab@suse.de>
2941
2942         [BZ #17079]
2943         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2944         before reading the next line.
2945
2946 2014-06-23  Will Newton  <will.newton@linaro.org>
2947
2948         * test-skeleton.c (signal_handler): Use printf and %m
2949         rather than perror.  Use printf rather than fprintf to
2950         stderr.  Use puts rather than fputs to stderr.
2951         (main): Likewise.
2952
2953 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
2954
2955         * nscd/nscd.c (thread_info_t): Remove typedef.
2956         (thread_info): Remove variable.
2957
2958 2014-06-21  Allan McRae  <allan@archlinux.org>
2959
2960         * NEWS: Mention CVE-2014-4043.
2961
2962 2014-06-20  Roland McGrath  <roland@hack.frob.com>
2963
2964         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2965         * nptl/smp.h: ... here.
2966
2967         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2968
2969         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2970         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2971         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2972         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2973
2974         * nptl/allocatestack.c: Include <stack-aliasing.h>.
2975         * nptl/stack-aliasing.h: New file.
2976         * sysdeps/i386/i686/stack-aliasing.h: New file.
2977         * sysdeps/i386/i686/nptl/Makefile: File removed.
2978         * sysdeps/x86_64/stack-aliasing.h: New file.
2979         * sysdeps/x86_64/nptl/Makefile
2980         (CFLAGS-pthread_create.c): Variable removed.
2981
2982         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2983         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2984         old file.
2985         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2986         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2987         old file.
2988
2989 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
2990
2991         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2992         (__ASSUME_SIGFRAME_V2): Remove macro.
2993         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2994         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2995         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2996         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2997         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2998         Declare as function.  Remove conditional macro definitions.
2999         (__default_rt_sa_restorer): Likewise.
3000         (__default_sa_restorer_v1): Remove declaration.
3001         (__default_sa_restorer_v2): Likewise.
3002         (__default_rt_sa_restorer_v1): Likewise.
3003         (__default_rt_sa_restorer_v2): Likewise.
3004         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3005         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3006         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3007
3008 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3009
3010         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3011         (libpthread-routines): Add sysdep.
3012         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3013         * sysdeps/unix/sysv/linux/sparc/Versions
3014         (libpthread: GLIBC_2.3.3): New version set.
3015         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3016         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3017         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3018         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3019         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
3020         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3021         Moved ...
3022         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3023         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3024         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3025         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3026         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3027         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3028         * sysdeps/sparc/nptl/sem_init.c: ... here.
3029         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3030         * sysdeps/sparc/nptl/sem_post.c: ... here.
3031         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3032         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3033         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3034         * sysdeps/sparc/nptl/sem_wait.c: ... here.
3035         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3036         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3037         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3038         (libpthread-routines): Add cpu_relax.
3039         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3040         File removed.
3041         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3042         (librt: GLIBC_2.3.3): New version set.
3043         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3044         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3045         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3046         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3047         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3048         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3049         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3050         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3051         Moved ...
3052         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3053         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3054         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3055         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3056         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3057         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3058         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3059         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3060         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3061         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3062         Moved ...
3063         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3064         Update #include.
3065         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3066         Moved ...
3067         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3068         Update #include.
3069         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3070         Moved ...
3071         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3072         Update #include.
3073         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3074         Moved ...
3075         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3076         Update #include.
3077         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3078         Moved ...
3079         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3080         Update #include.
3081         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3082         Moved ...
3083         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3084         Update #include.
3085         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3086         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3087         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3088         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3089         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3090         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3091         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3092         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3093         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3094         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3095         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3096         Moved ...
3097         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3098         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3099         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3100         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3101         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3102
3103 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3104
3105         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3106         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3107         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3108         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3109         * nscd/nscd.c: Likewise.
3110         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3111         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3112         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3113         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3114
3115         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3116         <kernel-features.h>.
3117         (init_mq_netlink): Remove conditional have_sock_cloexec
3118         definitions.  Remove code conditional on have_sock_cloexec < 0.
3119         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3120         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3121         * sysdeps/unix/sysv/linux/opensock.c: Do not include
3122         <kernel-features.h>.
3123         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3124         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3125
3126 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3127
3128         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3129         Add tests for memset_chk and memset.
3130
3131         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3132         with AVX2_Usable.
3133
3134 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3135
3136         [BZ #16046]
3137         * elf/tst-dl-iter-static.c: New file.
3138         * elf/Makefile (tests-static): Add tst-dl-iter-static.
3139
3140         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3141         error.
3142
3143 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3144
3145         * sysdeps/unix/sysv/linux/kernel-features.h
3146         (__ASSUME_F_GETOWN_EX): Remove macro.
3147         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3148         <kernel-features.h>.
3149         (miss_F_GETOWN_EX): Remove variable or macro.
3150         (do_fcntl): Do not check miss_F_GETOWN_EX.
3151         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3152
3153         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3154         Remove macro.
3155         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3156         [!__ASSUME_AT_RANDOM]: Remove conditional code.
3157         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3158
3159         * sysdeps/unix/sysv/linux/kernel-features.h
3160         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3161         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3162         [ADJ_OFFSET_SS_READ]: Make code unconditional.
3163         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3164
3165 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3166
3167         [BZ #17075]
3168         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3169         Fix calculation of the symbol's value.
3170         * sysdeps/arm/tst-armtlsdescloc.c: New file.
3171         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3172         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3173         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3174         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3175         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3176         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3177         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3178         (modules-names): Add `tst-armtlsdescmod',
3179         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3180         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3181         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3182         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3183         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3184         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3185         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3186         ($(objpfx)tst-armtlsdescloc): New dependency.
3187         ($(objpfx)tst-armtlsdescextnow): Likewise.
3188         ($(objpfx)tst-armtlsdescextlazy): Likewise.
3189         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3190         TLS scheme support.
3191         * sysdeps/arm/configure: Regenerate.
3192
3193 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3194
3195         * include/fcntl.h (__atfct_seterrno): Remove prototype.
3196         (__atfct_seterrno_2): Likewise.
3197         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3198         <kernel-features.h>.
3199         (__ASSUME_ATFCTS): Do not undefine and redefine.
3200         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3201         (__have_atfcts): Remove conditional definition.
3202         (__fxstatat([__NR_fstatat64]: Make code unconditional.
3203         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3204         unreachable if [__ASSUME_ATFCTS].
3205         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3206         not undefine and redefine.
3207         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3208         <kernel-features.h>.
3209         (faccessat) [__NR_faccessat]: Make code unconditional.
3210         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3211         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3212         <kernel-features.h>.
3213         (fchmodat) [__NR_fchmodat]: Make code unconditional.
3214         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3215         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3216         <kernel-features.h>.
3217         (fchownat) [__NR_fchownat]: Make code unconditional.
3218         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3219         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3220         <kernel-features.h>.
3221         (futimesat) [__NR_futimesat]: Make code unconditional.
3222         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3223         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3224         <kernel-features.h>.
3225         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3226         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3227         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3228         <kernel-features.h>.
3229         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3230         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3231         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3232         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3233         <kernel-features.h>.
3234         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3235         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3236         * sysdeps/unix/sysv/linux/linkat.c: Do not include
3237         <kernel-features.h>.
3238         (linkat) [__NR_linkat]: Make code unconditional.
3239         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3240         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3241         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3242         <kernel-features.h>.
3243         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3244         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3245         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3246         <kernel-features.h>.
3247         (mkdirat) [__NR_mkdirat]: Make code unconditional.
3248         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3249         * sysdeps/unix/sysv/linux/openat.c: Do not include
3250         <kernel-features.h>.
3251         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3252         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3253         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3254         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3255         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3256         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3257         <kernel-features.h>.
3258         (readlinkat) [__NR_readlinkat]: Make code unconditional.
3259         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
3260         result of INLINE_SYSCALL directly, not via int variable.
3261         * sysdeps/unix/sysv/linux/renameat.c: Do not include
3262         <kernel-features.h>.
3263         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3264         (renameat) [__NR_renameat]: Make code unconditional.
3265         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3266         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3267         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3268         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3269         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3270         (__ASSUME_ATFCTS): Do not undefine and redefine.
3271         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3272         <kernel-features.h>.
3273         (symlinkat) [__NR_symlinkat]: Make code unconditional.
3274         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3275         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3276         <kernel-features.h>.
3277         (unlinkat) [__NR_unlinkat]: Make code unconditional.
3278         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3279         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3280         (__ASSUME_ATFCTS): Do not undefine and redefine.
3281         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3282         <kernel-features.h>.
3283         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3284         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3285         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3286         <kernel-features.h>.
3287         (__xmknodat) [__NR_mknodat]: Make code unconditional.
3288         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3289
3290 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3291
3292         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3293
3294 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
3295
3296         [BZ #17069]
3297         * posix/regcomp.c (parse_reg_exp): Deallocate partially
3298         constructed tree before returning error.
3299         * posix/bug-regexp36.c: Expand test case.
3300
3301 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3302
3303         [BZ #6803]
3304         * math/libm-test.inc (scalbln_test_date):
3305         Add errno expectations.
3306         * math/w_scalblnf.c: New File.
3307         Add wrapper which checks for setting errno to ERANGE.
3308         Add weak_alias for corresponding scalbln function.
3309         * math/w_scalbln.c: Likewise.
3310         * math/w_scalblnl.c: Likewise.
3311         * math/Makefile (libm-calls): Add w_scalbln.
3312         * sysdeps/ieee754/flt-32/s_scalblnf.c:
3313         Remove weak_alias for corresponding scalbln function.
3314         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3315         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3316         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3317         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3318         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3319         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3320         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3321         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3322         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3323         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3324         Remove long_double_symbol for scalblnl function in libm, libc.
3325         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3326         Add wrapper which checks for setting errno to ERANGE.
3327         Add long_double_symbol for scalblnl function in libm, libc.
3328         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3329         Remove long_double_symbol for scalblnl in libm.
3330         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3331         Add wrapper which checks for setting errno to ERANGE.
3332         Add long_double_symbol for scalblnl function in libm.
3333         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3334         Do not use wrapper because of own implementation.
3335
3336 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
3337
3338         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3339         3 bytes for __pad1 for x32.
3340         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3341
3342 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
3343             H.J. Lu  <hongjiu.lu@intel.com>
3344
3345         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3346         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3347         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3348         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3349         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3350
3351 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
3352
3353         [BZ #17069]
3354         * posix/regcomp.c (parse_expression): Deallocate partially
3355         constructed tree before returning error.
3356         * posix/Makefile.c (tests): Add bug-regex36.
3357         (generated): Add bug-regex36.mtrace.
3358         (tests-special): Add $(objpfx)bug-regex36-mem.out
3359         (bug-regex36-ENV): New variable.
3360         ($(objpfx)bug-regex36-mem.out): New rule.
3361         * posix/bug-regex36.c: New file.
3362
3363 2014-06-19  Will Newton  <will.newton@linaro.org>
3364
3365         * malloc/malloc.c (systrim): If extra is zero then return
3366         early.
3367
3368 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3369
3370         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3371
3372 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
3373
3374         * sysdeps/aarch64/strchr.S: New file.
3375
3376 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3377
3378         [BZ #17022]
3379         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3380         from arguments -2 or below.
3381         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3382         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3383
3384 2014-06-18  Andreas Schwab  <schwab@suse.de>
3385
3386         [BZ #17062]
3387         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3388         of a bracket expr not to run off the end of the string.
3389         * posix/Makefile (tests): Add tst-fnmatch3.
3390         * posix/tst-fnmatch3.c: New file.
3391
3392 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3393
3394         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3395         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3396         [$(cross-compiling) = no]: Likewise.
3397         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3398         [$(cross-compiling) = no]: Likewise.
3399
3400 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3401
3402         [BZ #17031]
3403         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3404         double, adjusted for any remainder from the high double.
3405         * math/libm-test.inc (nearbyint): Add tests.
3406         (rint): Likewise.
3407
3408 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3409
3410         * nptl/sysdeps/powerpc/Makefile: Moved ...
3411         * sysdeps/powerpc/nptl/Makefile: ... here.
3412         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3413         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3414         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3415         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3416         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3417         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3418         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3419         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3420         * nptl/sysdeps/powerpc/tls.h: Moved ...
3421         * sysdeps/powerpc/nptl/tls.h: ... here.
3422
3423 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
3424
3425         [BZ #16681]
3426         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3427         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3428         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3429         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3430         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3431         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3432         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3433         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3434         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3435
3436 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
3437
3438         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3439
3440 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
3441
3442         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3443         defined operator.
3444
3445         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3446         $TIMEOUTFACTOR.
3447
3448 2014-06-16  Florian Weimer  <fweimer@redhat.com>
3449
3450         [BZ #17058]
3451         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3452         non-executed part of the test.
3453
3454 2014-06-16  Andreas Schwab  <schwab@suse.de>
3455
3456         * string/bits/string2.h (strdup, strndup): Update feature guard.
3457
3458 2014-06-14  David S. Miller  <davem@davemloft.net>
3459
3460         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3461
3462 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
3463
3464         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3465         that was previously under [RESET_PID].
3466         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3467
3468         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3469         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3470         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3471         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3472         (__libc_vfork): New strong alias.
3473         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3474
3475 2014-06-14 Andi Kleen  <ak@linux.intel.com>
3476
3477         * sysdeps/generic/elide.h: New file.
3478
3479 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3480
3481         * Makefile (installed-headers): Adjust path of pthread.h header.
3482
3483 2014-06-13  Roland McGrath  <roland@hack.frob.com>
3484
3485         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3486         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3487         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3488         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3489
3490         * nptl/sysdeps/s390/Makefile: Moved ...
3491         * sysdeps/s390/nptl/Makefile: ... here.
3492         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3493         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3494         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3495         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3496         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3497         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3498         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3499         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3500         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3501         * sysdeps/s390/nptl/pthreaddef.h: ... here.
3502         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3503         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3504         * nptl/sysdeps/s390/tls.h: Moved ...
3505         * sysdeps/s390/nptl/tls.h: ... here.
3506
3507         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3508         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3509
3510 2014-06-13  David S. Miller  <davem@davemloft.net>
3511
3512         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3513         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3514         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3515         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3516         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3517         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3518         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3519         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3520         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3521         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3522         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3523         Remove RESET_PID cpp guards.
3524         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3525         Remove RESET_PID cpp guards.
3526         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3527
3528 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
3529
3530         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3531         __sp to uintptr_t.
3532
3533 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3534
3535         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3536         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3537         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3538         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3539         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3540         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3541         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3542         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3543         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3544         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3545         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3546         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3547         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3548         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3549         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3550         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3551         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3552         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3553         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3554         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3555
3556         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3557         (pthread_rwlock_rdlock): Add elision.
3558         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3559         (pthread_rwlock_wrlock): Add elision.
3560         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3561         (pthread_rwlock_trywrlock): Add elision.
3562         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3563         (pthread_rwlock_tryrdlock): Add elision.
3564         * nptl/pthread_rwlock_unlock.c: Include elide.h.
3565         (pthread_rwlock_tryrdlock): Add elision unlock.
3566         * nptl/sysdeps/pthread/pthread.h:
3567         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3568         (PTHREAD_RWLOCK_INITIALIZER,
3569         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3570         Handle new elision field.
3571         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3572         * sysdeps/arm/nptl/bits/pthreadtypes.h
3573         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3574         * sysdeps/sh/nptl/bits/pthreadtypes.h
3575         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3576         * sysdeps/tile/nptl/bits/pthreadtypes.h
3577         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3578         * sysdeps/a/nptl/bits/pthreadtypes.h
3579         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3580         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3581         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3582         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3583         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3584         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3585         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3586         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3587         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3588         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3589         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3590         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3591         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3592         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3593         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3594         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3595         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3596         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3597         (elision_init): Set try_xbegin to zero when no RTM.
3598         * sysdeps/x86/nptl/bits/pthreadtypes.h
3599         (pthread_rwlock_t): Change __pad1 to __rwelision.
3600         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3601
3602 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3603
3604         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3605         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3606         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3607         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3608
3609 2014-06-13  Meador Inge  <meadori@codesourcery.com>
3610
3611         [BZ #16996]
3612         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3613         that the cached result has been set before returning it.
3614
3615 2014-06-12  Roland McGrath  <roland@hack.frob.com>
3616
3617         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3618         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3619         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3620         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3621         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3622         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3623
3624         * nptl/sysdeps/sparc/Makefile: Moved ...
3625         * sysdeps/sparc/nptl/Makefile: ... here.
3626         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3627         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3628         * nptl/sysdeps/sparc/tls.h: Moved ...
3629         * sysdeps/sparc/nptl/tls.h: ... here.
3630         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3631         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3632         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3633         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3634         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3635         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3636         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3637         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3638         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3639         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3640         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3641         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3642         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3643         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3644         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3645         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3646         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3647         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3648         Update #include.
3649         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3650         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3651         Update #include.
3652         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3653         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3654         Update #include.
3655         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3656         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3657         Update #include.
3658
3659         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3660
3661         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3662         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3663
3664         * sysdeps/pthread/posix-timer.h: Include <list.h>.
3665         (struct list_links): Type removed.
3666         (struct thread_node, struct timer_node): Replace struct list_links
3667         with struct list_head.
3668         (list_unlink_ip): Likewise.
3669         * sysdeps/pthread/timer_routines.c
3670         (timer_free_list, thread_free_list, thread_active_list): Likewise.
3671         (list_append, list_insbefore): Likewise.
3672         (list_init): Function removed.
3673         (thread_init, init_module): Use INIT_LIST_HEAD instead.
3674         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3675         * sysdeps/pthread/Makefile: ... here, new file.
3676
3677         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3678         * sysdeps/nptl/Implies: ... here.
3679         * sysdeps/unix/sysv/linux/Implies: Add nptl.
3680         * nptl/sysdeps/pthread/list.h: Moved ...
3681         * include/list.h: ... here.
3682         * nptl/sysdeps/pthread/createthread.c: Moved ...
3683         * nptl/createthread.c: ... here.
3684         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3685         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3686         * nptl/pt-longjmp.c: ... here.
3687         * nptl/sysdeps/pthread/Makefile: Moved ...
3688         * sysdeps/nptl/Makefile: ... here.
3689         * nptl/sysdeps/pthread/Subdirs: Moved ...
3690         * sysdeps/nptl/Subdirs: ... here.
3691         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3692         * sysdeps/nptl/aio_misc.h: ... here.
3693         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3694         * sysdeps/nptl/bits/libc-lock.h: ... here.
3695         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3696         * sysdeps/nptl/bits/libc-lockP.h: ... here.
3697         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3698         * sysdeps/nptl/bits/stdio-lock.h: ... here.
3699         * nptl/sysdeps/pthread/configure: Moved ...
3700         * sysdeps/nptl/configure: ... here.
3701         * nptl/sysdeps/pthread/configure.ac: Moved ...
3702         * sysdeps/nptl/configure.ac: ... here.
3703         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3704         * sysdeps/nptl/gai_misc.h: ... here.
3705         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3706         * sysdeps/nptl/librt-cancellation.c: ... here.
3707         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3708         * sysdeps/nptl/malloc-machine.h: ... here.
3709         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3710         * sysdeps/nptl/pthread-functions.h: ... here.
3711         * nptl/sysdeps/pthread/pthread.h: Moved ...
3712         * sysdeps/nptl/pthread.h: ... here.
3713         * nptl/sysdeps/pthread/setxid.h: Moved ...
3714         * sysdeps/nptl/setxid.h: ... here.
3715         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3716         * sysdeps/nptl/sigfillset.c: ... here.
3717         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3718         * sysdeps/nptl/tcb-offsets.h: ... here.
3719         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3720         * sysdeps/nptl/tst-mqueue8x.c: ... here.
3721         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3722         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3723         * nptl/sysdeps/pthread/allocalim.h: Moved ...
3724         * sysdeps/pthread/allocalim.h: ... here.
3725         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3726         * sysdeps/pthread/bits/sigthread.h: ... here.
3727         * nptl/sysdeps/pthread/flockfile.c: Moved ...
3728         * sysdeps/pthread/flockfile.c: ... here.
3729         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3730         * sysdeps/pthread/ftrylockfile.c: ... here.
3731         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3732         * sysdeps/pthread/funlockfile.c: ... here.
3733         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3734         * sysdeps/pthread/posix-timer.h: ... here.
3735         * nptl/sysdeps/pthread/timer_create.c: Moved ...
3736         * sysdeps/pthread/timer_create.c: ... here.
3737         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3738         * sysdeps/pthread/timer_delete.c: ... here.
3739         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3740         * sysdeps/pthread/timer_getoverr.c: ... here.
3741         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3742         * sysdeps/pthread/timer_gettime.c: ... here.
3743         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3744         * sysdeps/pthread/timer_routines.c: ... here.
3745         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3746         * sysdeps/pthread/timer_settime.c: ... here.
3747         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3748         * sysdeps/pthread/tst-timer.c: ... here.
3749         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3750         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3751
3752         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3753         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3754
3755         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3756         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3757         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3758         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3759         Update #include target.
3760         * nptl/sysdeps/i386/i686/Makefile: Moved ...
3761         * sysdeps/i386/i686/nptl/Makefile: ... here.
3762         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3763         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3764         Update #include target.
3765         * nptl/sysdeps/i386/i686/tls.h: Moved ...
3766         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
3767         * nptl/sysdeps/i386/Makefile: Moved ...
3768         * sysdeps/i386/nptl/Makefile: ... here.
3769         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3770         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3771         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3772         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3773         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3774         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3775         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3776         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3777         * sysdeps/i386/nptl/pthreaddef.h: ... here.
3778         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3779         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3780         * nptl/sysdeps/i386/tls.h: Moved ...
3781         * sysdeps/i386/nptl/tls.h: ... here.
3782
3783         * sysdeps/sh/Makefile [$(subdir) = csu]
3784         (gen-as-const-headers): Add tcb-offsets.sym.
3785         * nptl/sysdeps/sh/Makefile: File removed.
3786         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3787         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3788         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3789         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3790         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3791         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3792         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3793         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3794         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3795         * sysdeps/sh/nptl/pthreaddef.h: ... here.
3796         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3797         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3798         * nptl/sysdeps/sh/tls.h: Moved ...
3799         * sysdeps/sh/nptl/tls.h: ... here.
3800         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3801         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3802         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3803         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3804         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3805         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3806         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3807         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3808         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3809         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3810         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3811         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3812         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3813         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3814         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3815         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3816         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3817         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3818         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3819         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3820         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3821         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3822         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3823         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3824         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3825         Moved ...
3826         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3827         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3828         Moved ...
3829         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3830         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3831         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3832         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3833         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3834         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3835         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3836         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3837         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3838         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3839         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3840         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3841         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3842         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3843         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3844         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3845         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3846         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3847         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3848
3849 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3850
3851         * posix/spawn_faction_addopen.c: Include string.h.
3852
3853 2014-06-11  Roland McGrath  <roland@hack.frob.com>
3854
3855         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3856         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3857         * nptl/sysdeps/x86_64/Makefile: Moved ...
3858         * sysdeps/x86_64/nptl/Makefile: ... here.
3859         * nptl/sysdeps/x86_64/configure: Moved ...
3860         * sysdeps/x86_64/nptl/configure: ... here.
3861         * nptl/sysdeps/x86_64/configure.ac: Moved ...
3862         * sysdeps/x86_64/nptl/configure.ac: ... here.
3863         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3864         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3865         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3866         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3867         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3868         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3869         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3870         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3871         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3872         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3873         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3874         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3875         * nptl/sysdeps/x86_64/tls.h: Moved ...
3876         * sysdeps/x86_64/nptl/tls.h: ... here.
3877         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3878         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3879         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3880         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3881
3882         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3883
3884 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3885
3886         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3887
3888 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
3889
3890         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3891         type.
3892         [POSIX] (off_t): Likewise.
3893         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3894         [POSIX] (S_ISBLK): Require macro.
3895         [POSIX] (S_ISCHR): Likewise.
3896         [POSIX] (S_ISDIR): Likewise.
3897         [POSIX] (S_ISFIFO): Likewise.
3898         [POSIX] (S_ISREG): Likewise.
3899         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3900         optional-macro.
3901         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3902         type.
3903         [POSIX] (time_t): Likewise.
3904         [POSIX] (timer_t): Likewise.
3905
3906 2014-06-11  Florian Weimer  <fweimer@redhat.com>
3907
3908         [BZ #17048]
3909         * posix/spawn_int.h (struct __spawn_action): Make the path string
3910         non-const to support deallocation.
3911         * posix/spawn_faction_addopen.c
3912         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3913         * posix/spawn_faction_destroy.c
3914         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
3915         path in all spawn_do_open actions.
3916         * posix/tst-spawn.c (do_test): Exercise the copy operation in
3917         posix_spawn_file_actions_addopen.
3918
3919 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
3920
3921         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3922         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3923         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3924         conditional code always true.
3925         (__libc_vfork): New alias.
3926
3927 2014-06-11  Roland McGrath  <roland@hack.frob.com>
3928
3929         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3930         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3931
3932         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3933
3934         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3935         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3936
3937         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3938         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3939
3940         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3941         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3942
3943 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3944
3945         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3946         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3947         multiarch strcmp for PPC64.
3948         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3949         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3950         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3951         multiarch optimizations.
3952         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3953         (__libc_ifunc_impl_list): Likewise.
3954
3955 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3956
3957         * benchtests/scripts/validate_benchout.py: New script.
3958         * benchtests/Makefile (bench-func): Call it.
3959         * benchtests/scripts/benchout.schema.json: New file.
3960
3961 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
3962
3963         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3964         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3965         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3966         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3967         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3968         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3969         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3970         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3971         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3972         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3973         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3974         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3975         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3976         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3977         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3978         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3979         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
3980         Moved ...
3981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
3982         ... here.
3983         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
3984         Moved ...
3985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3986         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
3987         Moved ...
3988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
3989         ... here.
3990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
3991         Moved ...
3992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
3993         ... here.
3994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
3995         Moved ...
3996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3997         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
3998         Moved ...
3999         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4000         ... here.
4001         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4002         Moved ...
4003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4004         ... here.
4005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4006         Moved ...
4007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4008         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4009         Moved ...
4010         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4011         ... here.
4012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4013         Moved ...
4014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4015         ... here.
4016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4017         Moved ...
4018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4019         ... here.
4020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4021         Moved ...
4022         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4024         Moved ...
4025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4026         ... here.
4027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4028         Moved ...
4029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4030         ... here.
4031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4032         Moved ...
4033         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4034         ... here.
4035         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4036         Moved ...
4037         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4039         Moved ...
4040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4041         ... here.
4042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4043         Moved ...
4044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4045         ... here.
4046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4047         Moved ...
4048         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4049         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4050         Moved ...
4051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4052         ... here.
4053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4054         Moved ...
4055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4057         Moved ...
4058         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4060         Moved ...
4061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4062         ... here.
4063         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4064         Moved ...
4065         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4066         ... here.
4067         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4068         Moved ...
4069         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4070         ... here.
4071         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4072         Moved ...
4073         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4075         Moved ...
4076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4077         ... here.
4078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4079         Moved ...
4080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4081         ... here.
4082         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4083         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4084         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4085         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4086         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4087         Moved ...
4088         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4089         ... here.
4090         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4091         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4092         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4093         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4094         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4095         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4096         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4097         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4098         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4099         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4100         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4101         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4102         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4103         Moved ...
4104         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4105         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4106         Moved ...
4107         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4108         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4109         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4110         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4111         Moved ...
4112         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4113         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4114         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4115         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4116         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4117         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4118         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4119
4120 2014-06-10  Wilco  <wdijkstr@arm.com>
4121
4122         * math/test-fenv-return.c: New file.
4123         * math/Makefile: Add new test test-fenv-return.
4124
4125 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
4126
4127         [BZ #17042]
4128         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4129         when x - 1 is zero.
4130         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4131         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4132         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4133         0.0L for an argument of 1.0L.
4134         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4135         Likewise.
4136         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4137         value when x - 1 is zero.
4138         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4139         * sysdeps/i386/fpu/libm-test-ulps: Update.
4140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4141
4142 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
4143
4144         [BZ #15119]
4145         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4146
4147 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4148
4149         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4150         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4151
4152 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4153
4154         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4155         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4156
4157         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4158         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4159
4160         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4161         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4162
4163         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4164         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4165
4166         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4167         if not already defined.
4168         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4169         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4170         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4171         (TLS_INIT_TP): Use it.
4172         (TLS_DEFINE_INIT_TP): New macro.
4173         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4174
4175 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
4176
4177         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4178         constant.
4179         [POSIX] (IXANY): Likewise.
4180         [POSIX] (OLCUC): Likewise.
4181         [POSIX || POSIX2008] (CBAUD): Do not allow.
4182         [POSIX || POSIX2008] (DEFECHO): Likewise.
4183         [POSIX || POSIX2008] (ECHOCTL): Likewise.
4184         [POSIX || POSIX2008] (ECHOKE): Likewise.
4185         [POSIX || POSIX2008] (ECHOPRT): Likewise.
4186         [POSIX || POSIX2008] (EXTA): Likewise.
4187         [POSIX || POSIX2008] (EXTB): Likewise.
4188         [POSIX || POSIX2008] (FLUSHO): Likewise.
4189         [POSIX || POSIX2008] (LOBLK): Likewise.
4190         [POSIX || POSIX2008] (PENDIN): Likewise.
4191         [POSIX || POSIX2008] (SWTCH): Likewise.
4192         [POSIX || POSIX2008] (VDISCARD): Likewise.
4193         [POSIX || POSIX2008] (VDSUSP): Likewise.
4194         [POSIX || POSIX2008] (VLNEXT): Likewise.
4195         [POSIX || POSIX2008] (VREPRINT): Likewise.
4196         [POSIX || POSIX2008] (VSTATUS): Likewise.
4197         [POSIX || POSIX2008] (VWERASE): Likewise.
4198         (B*): Change to B[0123456789]*.
4199         * conform/data/time.h-data [POSIX || UNIX98]
4200         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4201         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4202         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4203         [POSIX] (tm_*): Do not allow.
4204
4205 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
4206
4207         * Makefile (install): Don't set LANGUAGE.
4208         * Makefile.in (install): Likewise.
4209         * assert/Makefile (test-assert-ENV): Remove variable.
4210         (test-assert-perr-ENV): Likewise.
4211         * elf/Makefile (neededtest4-ENV): Likewise.
4212         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4213         [$(cross-compiling) = no]: Don't set LANGUAGE.
4214         * io/ftwtest-sh (LANG): Remove variable.
4215         * libio/Makefile (tst-widetext-ENV): Likewise.
4216         * manual/install.texi (Running make install): Don't refer to
4217         environment settings for make install.
4218         * INSTALL: Regenerated.
4219         * nptl/tst-tls6.sh: Don't set LANG.
4220         * posix/globtest.sh (LANG): Remove variable.
4221         * string/Makefile (tester-ENV): Likewise.
4222         (inl-tester-ENV): Likewise.
4223         (noinl-tester-ENV): Likewise.
4224         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4225         [$(cross-compiling) = no]: Don't set LANGUAGE.
4226         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4227         without explicit environment settings.
4228
4229 2014-06-06  Roland McGrath  <roland@hack.frob.com>
4230
4231         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4232         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4233         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4234         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4235
4236 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
4237
4238         * crypt/crypt-private.h [DOS]: Add some includes taken from the
4239         other files in the crypt directory.
4240         * crypt/crypt.c: Remove duplicate includes.
4241         * crypt/crypt-entry.c: Likewise.
4242         * crypt/crypt_util.c: Likewise.
4243
4244 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
4245
4246         * Makeconfig (run-program-env): New variable.
4247         (run-program-prefix-before-env): Likewise.
4248         (run-program-prefix-after-env): Likewise.
4249         (run-program-prefix): Define in terms of new variables.
4250         (built-program-cmd-before-env): New variable.
4251         (built-program-cmd-after-env): Likewise.
4252         (built-program-cmd): Define in terms of new variables.
4253         (test-program-prefix-before-env): New variable.
4254         (test-program-prefix-after-env): Likewise.
4255         (test-program-prefix): Define in terms of new variables.
4256         (test-program-cmd-before-env): New variable.
4257         (test-program-cmd-after-env): Likewise.
4258         (test-program-cmd): Define in terms of new variables.
4259         * Rules (make-test-out): Use $(run-program-env).
4260         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4261         (help): Do not mention environment variables.  Mention
4262         --timeoutfactor option.
4263         (timeoutfactor): New variable.
4264         (blacklist_exports): Remove function.
4265         (exports): Remove variable.
4266         (command): Do not include ${exports}.
4267         * manual/install.texi (Configuring and compiling): Do not mention
4268         test wrappers preserving environment variables.  Mention that last
4269         assignment to a variable must take precedence.
4270         * INSTALL: Regenerated.
4271         * benchtests/Makefile (run-bench): Use $(run-program-env).
4272         * catgets/Makefile ($(objpfx)test1.cat): Use
4273         $(built-program-cmd-before-env), $(run-program-env) and
4274         $(built-program-cmd-after-env).
4275         ($(objpfx)test2.cat): Do not specify environment variables
4276         explicitly.
4277         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4278         $(run-program-env) and $(built-program-cmd-after-env).
4279         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4280         $(run-program-env) and $(test-program-cmd-after-env).
4281         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4282         explicitly.
4283         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4284         run_program_env and test_program_cmd_after_env arguments.
4285         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4286         * elf/tst-pathopt.sh: Use run_program_env argument.
4287         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4288         $(test-wrapper-env) and $(run-program-env).
4289         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4290         run_program_env arguments.
4291         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4292         * intl/Makefile ($(objpfx)tst-gettext.out): Use
4293         $(test-program-prefix-before-env), $(run-program-env) and
4294         $(test-program-prefix-after-env).
4295         ($(objpfx)tst-gettext2.out): Likewise.
4296         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4297         run_program_env and test_program_prefix_after_env arguments.
4298         * intl/tst-gettext2.sh: Likewise.
4299         * intl/tst-gettext4.sh: Do not set environment variables
4300         explicitly.
4301         * intl/tst-gettext6.sh: Likewise.
4302         * intl/tst-translit.sh: Likewise.
4303         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4304         $(test-program-prefix-before-env), $(run-program-env) and
4305         $(test-program-prefix-after-env).
4306         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4307         run_program_env and test_program_prefix_after_env arguments.
4308         * math/Makefile (run-regen-ulps): Use $(run-program-env).
4309         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4310         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
4311         explicitly with each use of ${test_wrapper_env}.
4312         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4313         $(test-program-prefix-before-env), $(run-program-env) and
4314         $(test-program-prefix-after-env).
4315         * posix/tst-getconf.sh: Do not set environment variables
4316         explicitly.
4317         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4318         run_program_env and test_program_prefix_after_env arguments.
4319         * stdio-common/tst-printf.sh: Do not set environment variables
4320         explicitly.
4321         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4322         $(test-program-prefix-before-env), $(run-program-env) and
4323         $(test-program-prefix-after-env).
4324         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4325         run_program_env and test_program_prefix_after_env arguments.
4326         Split $test calls into $test_pre and $test.
4327         * timezone/Makefile (build-testdata): Use
4328         $(built-program-cmd-before-env), $(run-program-env) and
4329         $(built-program-cmd-after-env).
4330
4331 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4332
4333         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4334         strlen for non SHARED builds.
4335
4336 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4337
4338         * nptl/allocatestack.c (check_list): Inlined function...
4339         (__reclaim_stacks): ... here.
4340
4341 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4342
4343         [BZ #15698]
4344         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4345         memory overrun.
4346
4347 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
4348
4349         * Rules (make-test-out): Include
4350         LOCPATH=$(common-objpfx)localedata in default environment.
4351         * debug/Makefile (tst-chk1-ENV): Remove variable.
4352         (tst-chk2-ENV): Likewise.
4353         (tst-chk3-ENV): Likewise.
4354         (tst-chk4-ENV): Likewise.
4355         (tst-chk5-ENV): Likewise.
4356         (tst-chk6-ENV): Likewise.
4357         (tst-lfschk1-ENV): Likewise.
4358         (tst-lfschk2-ENV): Likewise.
4359         (tst-lfschk3-ENV): Likewise.
4360         (tst-lfschk4-ENV): Likewise.
4361         (tst-lfschk5-ENV): Likewise.
4362         (tst-lfschk6-ENV): Likewise.
4363         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4364         (tst-iconv7-ENV): Likewise.
4365         * intl/Makefile (LOCPATH-ENV): Likewise.
4366         (tst-codeset-ENV): Likewise.
4367         (tst-gettext3-ENV): Likewise.
4368         (tst-gettext5-ENV): Likewise.
4369         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4370         (tst-fopenloc-ENV): Likewise.
4371         (tst-fgetws-ENV): Remove variable.
4372         (tst-ungetwc1-ENV): Likewise.
4373         (tst-ungetwc2-ENV): Likewise.
4374         (bug-ungetwc2-ENV): Likewise.
4375         (tst-swscanf-ENV): Likewise.
4376         (bug-ftell-ENV): Likewise.
4377         (tst-fgetwc-ENV): Likewise.
4378         (tst-fseek-ENV): Likewise.
4379         (tst-ftell-partial-wide-ENV): Likewise.
4380         (tst-ftell-active-handler-ENV): Likewise.
4381         (tst-ftell-append-ENV): Likewise.
4382         * posix/Makefile (tst-fnmatch-ENV): Likewise.
4383         (tst-regexloc-ENV): Likewise.
4384         (bug-regex1-ENV): Likewise.
4385         (tst-regex-ENV): Likewise.
4386         (tst-regex2-ENV): Likewise.
4387         (bug-regex5-ENV): Likewise.
4388         (bug-regex6-ENV): Likewise.
4389         (bug-regex17-ENV): Likewise.
4390         (bug-regex18-ENV): Likewise.
4391         (bug-regex19-ENV): Likewise.
4392         (bug-regex20-ENV): Likewise.
4393         (bug-regex22-ENV): Likewise.
4394         (bug-regex23-ENV): Likewise.
4395         (bug-regex25-ENV): Likewise.
4396         (bug-regex26-ENV): Likewise.
4397         (bug-regex30-ENV): Likewise.
4398         (bug-regex32-ENV): Likewise.
4399         (bug-regex33-ENV): Likewise.
4400         (bug-regex34-ENV): Likewise.
4401         (bug-regex35-ENV): Likewise.
4402         (tst-rxspencer-ENV): Likewise.
4403         (tst-rxspencer-no-utf8-ENV): Likewise.
4404         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4405         (tst-sscanf-ENV): Likewise.
4406         (tst-swprintf-ENV): Likewise.
4407         (tst-swscanf-ENV): Likewise.
4408         (test-vfprintf-ENV): Likewise.
4409         (scanf13-ENV): Likewise.
4410         (bug14-ENV): Likewise.
4411         (tst-grouping-ENV): Likewise.
4412         * stdlib/Makefile (tst-strtod-ENV): Likewise.
4413         (tst-strtod3-ENV): Likewise.
4414         (tst-strtod4-ENV): Likewise.
4415         (tst-strtod5-ENV): Likewise.
4416         (testmb2-ENV): Likewise./
4417         * string/Makefile (tst-strxfrm-ENV): Likewise.
4418         (tst-strxfrm2-ENV): Likewise.
4419         (bug-strcoll1-ENV): Likewise.
4420         (test-strcasecmp-ENV): Likewise.
4421         (test-strncasecmp-ENV): Likewise.
4422         * time/Makefile (tst-strptime-ENV): Likewise.
4423         (tst-ftime_l-ENV): Likewise.
4424         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4425         (tst-mbrtowc-ENV): Likewise.
4426         (tst-wcrtomb-ENV): Likewise.
4427         (tst-mbrtowc2-ENV): Likewise.
4428         (tst-c16c32-1-ENV): Likewise.
4429         (tst-mbsnrtowcs-ENV): Likewise.
4430
4431 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4432
4433         * manual/resource.texi (How to get information about the memory
4434         subsystem?): Fix typo.
4435         Reported by Peon de la Parra Ivan <peon@keba.com>
4436
4437 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
4438
4439         [BZ #16882]
4440         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4441         (pthread_spin_lock): Branch out of spin loop to proper location.
4442         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4443         (pthread_spin_lock): Likewise.
4444
4445         * nptl/tst-spin4.c: New test.
4446         * nptl/Makefile (tests): Add tst-spin4.
4447
4448 2014-06-03  Andreas Schwab  <schwab@suse.de>
4449
4450         [BZ #15946]
4451         * resolv/res_send.c (send_dg): Reload file descriptor after
4452         calling reopen.
4453
4454 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
4455
4456         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4457
4458 2014-06-03  Richard Henderson  <rth@redhat.com>
4459
4460         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4461         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4462         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4463         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
4464         in the SAVE_PID block.
4465         (__libc_vfork): New alias.
4466         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4467
4468         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4469         child in registers, not on the stack.  Remove RESET_PID conditionals.
4470         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4471
4472 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4473
4474         * sysdeps/aarch64/libm-test-ulps: Regenerate.
4475
4476 2014-06-03  Wilco  <wdijkstr@arm.com>
4477
4478         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4479         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4480         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4481         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4482         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4483         Likewise.
4484
4485 2014-06-03  Wilco  <wdijkstr@arm.com>
4486
4487         * sysdeps/aarch64/fpu/math_private.h
4488         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4489         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4490         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4491         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4492         Fix declarations.
4493
4494 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4495
4496         * crypt/crypt-private.h: Include ufc-crypt.h.
4497         (__b64_from_24bit): Declare extern.
4498         * crypt/crypt_util.c(__b64_from_24bit): New function.
4499         (b64t): New static const variable.
4500         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4501         (b64t): Remove variable.
4502         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4503         * crypt/sha256-crypt.c: Include crypt-private.h.
4504         (b64t): Remove variable.
4505         (__sha256_crypt_r): Remove b64_from_24bit and replace
4506         with __b64_from_24bit.
4507         * crypt/sha512-crypt.c: Likewise.
4508
4509 2014-06-02  Roland McGrath  <roland@hack.frob.com>
4510
4511         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4512         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4513         Label the code __libc_vfork rather than __vfork.
4514         [!NOT_IN_libc] (vfork): Define as weak alias.
4515         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4516         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4517         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4518
4519 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4520
4521         * malloc/malloc.c (malloc_info): Fix format specifier for
4522         n_mmaps.
4523
4524 2014-06-02  Wilco  <wdijkstr@arm.com>
4525
4526         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4527         FPCR write.
4528
4529 2014-06-02  Wilco  <wdijkstr@arm.com>
4530
4531         [BZ #17009]
4532         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4533         Rewrite to reduce FPCR/FPSR accesses.
4534
4535 2014-06-01  David S. Miller  <davem@davemloft.net>
4536
4537         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4538
4539 2014-05-31  David S. Miller  <davem@davemloft.net>
4540
4541         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4542         to occur in round to nearest mode when |x| >= 2.0
4543
4544 2014-05-30  Richard Henderson  <rth@twiddle.net>
4545
4546         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4547         (PSEUDO_RET_NOERRNO): Remove.
4548         (ret): Don't redefine.
4549         (ret_NOERRNO): Define in terms of ret.
4550         (ret_ERRVAL): Likewise.
4551
4552         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4553         use of PSEUDO_RET; perform the error check directly.
4554
4555 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
4556
4557         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4558         with __int128_t.
4559
4560 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4561
4562         * malloc/malloc (malloc_info): Fix formatting.
4563
4564 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4565             Roland McGrath  <roland@hack.frob.com>
4566
4567         * malloc/malloc (malloc_info): Also print mmapped statistics.
4568
4569 2014-05-30  Roland McGrath  <roland@hack.frob.com>
4570
4571         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4572         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4573
4574 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
4575
4576         * malloc/malloc.c (malloc_info): Inline mi_arena.
4577
4578 2014-05-29  Richard Henderson  <rth@twiddle.net>
4579
4580         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4581         Remove comma before expanding ASM_ARGS_##nr.
4582         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4583         Make _x0 a strict output; make _x8 a strict input; adjust expansion
4584         of ASM_ARGS_##nr.
4585         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4586         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4587         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4588         (ASM_ARGS_1): Add leading comma.
4589
4590         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4591         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4592         to __errno_location.
4593         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4594         Remove the expected plt for __errno_location.
4595
4596         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4597         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4598         call to __read_tp.
4599
4600         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4601         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
4602         it and break it down.
4603         (DOCARGS_0, DOCARGS_1): Do nothing.
4604         (DOCARGS_2): Update to store into the new stack frame.
4605         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4606         (UNDOCARGS_1): Update to restore from the new stack frame.
4607         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4608         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4609
4610         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4611         (SINGLE_THREAD_P): New parameter for result regno.
4612         (PSEUDO): Update to match; use cbz instead of beq.
4613
4614         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4615         Use ENTRY to define the _nocancel entry point.  Share the syscall
4616         and syscall error check paths with the cancel path.
4617         (PSEUDO_END): New.
4618
4619         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4620         whitespace; tabs before and after asm mnemonics.
4621
4622 2014-05-29  Eric Wong  <normalperson@yhbt.net>
4623
4624         [BZ #15132]
4625         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4626         Call fstat64 or stat64 internally, depending on arguments passed.
4627         Replace stat buffer argument with file descriptor argument.
4628         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4629         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4630         Pass fd to __internal_statvfs instead of calling fstat64.
4631         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4632         Pass fd to __internal_statvfs64 instead of calling fstat64.
4633         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4634         Pass -1 to __internal_statvfs instead of calling stat64.
4635         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4636         Pass -1 to __internal_statvfs64 instead of calling stat64.
4637
4638 2014-05-28  Roland McGrath  <roland@hack.frob.com>
4639
4640         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4641         that was previously under [RESET_PID].
4642         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4643
4644         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4645         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4646
4647 2014-05-27  Roland McGrath  <roland@hack.frob.com>
4648
4649         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4650
4651         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4652         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4653
4654 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
4655
4656         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4657
4658 2014-05-27  Andreas Schwab  <schwab@suse.de>
4659
4660         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4661         TLS_INIT_TP macro.
4662         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4663         * elf/rtld.c (init_tls, dl_main): Likewise.
4664         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4665         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4666         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4667         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4668         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4669         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4670         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4671         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4672         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4673         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4674         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4675         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4676         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4677         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4678         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4679         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4680         * sysdeps/generic/tls.h: Update description.
4681
4682 2014-05-27  Will Newton  <will.newton@linaro.org>
4683
4684         [BZ #16990]
4685         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4686         and restore r2 rather than just restoring.
4687
4688 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4689
4690         [BZ #16724]
4691         * libio/tst-ftell-append.c: New test case.
4692         * libio/Makefile (tests): Add test case.
4693         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4694         append mode.
4695         * libio/wfileops.c (do_ftell_wide): Likewise.
4696
4697 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4698
4699         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4700
4701         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4702         ...
4703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4705         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4706         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4707         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4708         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4709         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4710         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4711         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4712         Moved ...
4713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4714         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4715         Moved ...
4716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4717         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4718         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4719         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4720         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4721         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4722         ...
4723         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4724         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4725         Moved ...
4726         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4727         here.
4728         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4729         ...
4730         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4731         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4732         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4733
4734         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4735         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4736         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4737         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4738
4739         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4740         merge into ...
4741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4742         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4743         ...
4744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4745         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4746         ...
4747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4748         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4749         Moved ...
4750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4751         here.
4752         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4753         Moved ...
4754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4755         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4756         Moved ...
4757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4758
4759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4760         conditional [RESET_PID].
4761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4762         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4763         removed.
4764         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4765         removed.
4766
4767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4768         <tcb-offsets.h>.
4769         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4770         (__libc_vfork): New strong alias.
4771         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4772         removed.
4773         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4774         Removed.
4775
4776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4777         <tcb-offsets.h>.
4778         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4779         (__libc_vfork): New strong alias.
4780         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4781         removed.
4782         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4783         removed.
4784
4785 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
4786
4787         * malloc/malloc.c (mi_arena): New function.
4788         (malloc_info): Remove nested function mi_arena. Call non-nosted
4789         function mi_arena.
4790
4791 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4792
4793         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4794         by insrwi.
4795         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4796         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4797         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4798         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4799         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4800         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4801         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4802
4803 2014-05-26  Andreas Schwab  <schwab@suse.de>
4804
4805         [BZ #16984]
4806         * locale/programs/repertoire.c (repertoire_read): Add slash
4807         between I18NPATH element and file name.
4808         * locale/programs/locfile.c (locfile_read): Likewise.
4809
4810 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4811
4812         * nptl/pthread_mutexattr_settype.c
4813         (__pthread_mutexattr_settype):
4814         Disable lock elision for PTHREAD_MUTEX_NORMAL.
4815
4816 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4817
4818         * nptl/tst-mutex5 (do_test):
4819         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4820
4821 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4822
4823         * benchtests/README: Document 'init' directive.
4824         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4825         BENCH_INIT.
4826         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4827         (parse_file): Recognize 'init' directive.
4828
4829 2014-05-26  Kyle McMartin  <kyle@redhat.com>
4830
4831         [BZ #16796]
4832         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4833         alignment of struct pthread.
4834
4835 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4836
4837         [BZ #16878]
4838         * nscd/netgroupcache.c (addgetnetgrentX): Look for
4839         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4840         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4841         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4842
4843 2014-05-25  Richard Henderson  <rth@twiddle.net>
4844
4845         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4846         (SINGLE_THREAD_P_PIC): Remove.
4847         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4848         (SINGLE_THREAD_P_PIC): Remove.
4849
4850         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4851         branch to syscall error ...
4852         (PSEUDO): ... here.
4853         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4854         from __local_syscall_error to .Lsyscall_error.
4855         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4856         (SYSCALL_ERROR): Update label name.
4857
4858         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4859         Do not use DOARGS/UNDOARGS.
4860         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4861         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4862         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4863         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4864         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4865
4866         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4867         block comment.
4868
4869         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4870         define if !NOT_IN_libc.
4871         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4872         define with non-default symbol versions.
4873
4874 2014-05-23  Richard Henderson  <rth@twiddle.net>
4875
4876         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4877         (vfork, __vfork): Define via compat_symbol.
4878
4879         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4880         [!HAVE_IFUNC] (vfork_compat): Remove.
4881         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4882
4883 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
4884
4885         [BZ #16978]
4886         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4887         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4888         variable.
4889
4890 2014-05-23  Richard Henderson  <rth@twiddle.net>
4891
4892         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4893         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4894         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4895         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4896
4897         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4898         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4899         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4900         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4901         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4902         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4903         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4904         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4905         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4906         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4907         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4908         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4909         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4910         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4911         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4912         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4913         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4914         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4915         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4916         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4917         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4918         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4919         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4920         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4921         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4922         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4923         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4924         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4925         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4926         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4927         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4928         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4929         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4930         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4931         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4932         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4933         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4934         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4935         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4936         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4937         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4938         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4939         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4940         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4941         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4942         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4943         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4944         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4945         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4946         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4947         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4948         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4949         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4950         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4951         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4952         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4953
4954         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4955         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4956         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
4957         before exiting on error.
4958         (__libc_vfork): New strong alias.
4959         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4960         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4961
4962         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4963         that was previously under [RESET_PID].
4964         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4965
4966         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4967
4968 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
4969
4970         [BZ #16977]
4971         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4972         value when x - 1 is zero.
4973         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4974         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4975         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4976         0.0L for an argument of 1.0L.
4977         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4978         Likewise.
4979         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4980         value when x - 1 is zero.
4981         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4982         * sysdeps/i386/fpu/libm-test-ulps: Update.
4983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4984
4985 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4986
4987         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4988         alphasort and versionsort.
4989
4990 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4991
4992         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4993         macro.
4994         [copysignf]: Likewise.
4995
4996 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4997
4998         * crypt/md5-crypt.c: Fix formatting.
4999
5000 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5001
5002         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5003         (b64_from_24bit): New function.
5004
5005 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5006
5007         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5008         libc_hidden_builtin_def to ifunc.
5009         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5010         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5011
5012 2014-05-21  Roland McGrath  <roland@hack.frob.com>
5013
5014         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5015         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5016
5017 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
5018
5019         * nscd/Depend (linuxthreads): Remove.
5020         (nptl): Add.
5021         * resolv/Depend (linuxthreads): Remove.
5022         * rt/Depend (linuxthreads): Remove.
5023
5024         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5025         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5026         $(common-objpfx)elf/.
5027         (link-libc-before-gnulib): Likewise.
5028         (elfobjdir): Remove variable.
5029         * Makefile (install): Use $(elf-objpfx) instead of
5030         $(common-objpfx)elf/.
5031         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5032         $(elfobjdir)/.
5033         (link-libc-deps): Likewise.
5034         ($(common-objpfx)libc.so): Likewise.
5035         ($(common-objpfx)linkobj/libc.so): Likewise.
5036         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5037         instead of $(common-objpfx)elf/.
5038         (symbolic-link-list): Likewise.
5039         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5040         [$(cross-compiling) = no]: Likewise.
5041         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5042         $(elfobjdir)/.
5043         (static-gnulib-arch): Likewise.
5044         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5045         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5046         $(common-objpfx)elf/.
5047
5048 2014-05-21  Richard Henderson  <rth@redhat.com>
5049
5050         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5051         (SINGLE_THREAD_P): Use the correct width load.  Fold
5052         into the ldr offset.
5053
5054         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5055         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5056
5057 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
5058
5059         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5060         (libgcc_s_resume): Use __attribute_used__.
5061         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5062         Likewise.
5063
5064 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5065
5066         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5067         optimization when used with float constants.
5068
5069         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5070
5071 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
5072
5073         [BZ #16915]
5074         * locale/nl_langinfo_l.c: Make direct reference to every
5075         _nl_current_CATEGORY symbol.
5076         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5077         (tests-static): Add tst-langinfo-static.
5078         (tests-special): Add tst-langinfo-static.out.
5079         ($(objpfx)tst-langinfo.out): Redirect output.
5080         ($(objpfx)tst-langinfo-static.out): New.
5081         * localedata/tst-langinfo.sh: Send output to stdout.
5082         * localedata/tst-langinfo-static.c: New file.
5083
5084         [BZ #16965]
5085         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5086         when the shift amount is modulo the limb size.
5087
5088 2014-05-20  Richard Henderson  <rth@redhat.com>
5089
5090         [BZ #16967]
5091         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5092         Change type of sa_flags from unsigned int to int.
5093
5094         [BZ #16966]
5095         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5096
5097         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5098
5099 2014-05-20  Will Newton  <will.newton@linaro.org>
5100
5101         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5102         Test the return value of the system call in the nocancel case.
5103
5104 2014-05-20  Will Newton  <will.newton@linaro.org>
5105             Yvan Roux  <yvan.roux@linaro.org>
5106
5107         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5108         #include of asm/ptrace.h.
5109         (PTRACE_GET_THREAD_AREA): Remove #undef.
5110         (PTRACE_GETHBPREGS): Likewise.
5111         (PTRACE_SETHBPREGS): Likewise.
5112         (struct user_regs_struct): New structure.
5113         (struct user_fpsimd_struct): New structure.
5114         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5115         #include of asm/ptrace.h and second #include of sys/user.h.
5116         (PTRACE_GET_THREAD_AREA): Remove #undef.
5117         (PTRACE_GETHBPREGS): Likewise.
5118         (PTRACE_SETHBPREGS): Likewise.
5119         (ELF_NGREG): Use new struct user_regs_struct.
5120         (elf_fpregset_t): Use new struct user_fpsimd_struct.
5121
5122 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5123
5124         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5125         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5126
5127 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
5128
5129         [BZ #16958]
5130         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5131         membar to avoid block loads/stores to overlap previous stores.
5132
5133 2014-05-17  Richard Henderson  <rth@redhat.com>
5134
5135         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5136         Create the __##syscall_name##_nocancel entry point.
5137         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5138         Remove; let the sysdep-cancel.h code create it.
5139
5140 2014-05-17  David S. Miller  <davem@davemloft.net>
5141
5142         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5143         Protect with __USE_GNU.
5144         (TIOCSET_TEMPT): Likewise.
5145         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5146         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5147         these are already provided in bits/ioctl-types.h
5148
5149 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5150
5151         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5152         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5153
5154         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5155         Use wait4 regardless of [__NR_waitpid].
5156
5157 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
5158
5159         PR libgcc/60166
5160         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5161         (_FP_NANSIGN_Q): Set the quiet bit.
5162
5163 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
5164
5165         * benchtests/Makefile
5166         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5167         not $(common-objpfx)math/libm.so.
5168         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5169         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5170         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5171         $(common-objpfx)dlfcn/libdl.so.
5172         ($(objpfx)tst-audit8): Depend on $(libm), not
5173         $(common-objpfx)math/libm.so.
5174         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5175         not $(common-objpfx)dlfcn/libdl.so.
5176         * math/Makefile
5177         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5178         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
5179         [$(build-shared) = yes].
5180         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5181         $(common-objpfx)nptl/libpthread.so.
5182         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5183         $(common-objpfx)math/libm.so$(libm.so-version) or
5184         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5185         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5186         $(common-objpfx)dlfcn/libdl.so.
5187         * setjmp/Makefile (link-libm): Remove variable.
5188         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5189         * stdio-common/Makefile (link-libm): Remove variable.
5190         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5191         * stdlib/Makefile (link-libm): Remove variable.
5192         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5193         ($(objpfx)tst-strtod-round): Likewise.
5194         ($(objpfx)tst-tininess): Likewise.
5195         ($(objpfx)tst-strtod-underflow): Likewise.
5196         ($(objpfx)tst-strtod6): Likewise.
5197         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5198         $(libdl), not $(common-objpfx)nptl/libpthread.so and
5199         $(common-objpfx)dlfcn/libdl.so.
5200
5201 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5202
5203         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5204         BSD terminal modes definitions.
5205
5206 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5207
5208         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5209         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5210
5211         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5212         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5213         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5214         Don't do #include_next.
5215         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5216         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5217         Don't do #include_next.
5218         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5219         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5220         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5221         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5222
5223 2014-05-16  Allan McRae  <allan@archlinux.org>
5224
5225         * po/sv.po: Update Swedish translation from translation project.
5226
5227         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5228         in sed expression.
5229
5230 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
5231
5232         [BZ #16917]
5233         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5234         errno if the TIOCGPTN ioctl fails with an error different than
5235         EINVAL.
5236         * login/tst-ptsname.c: New file.
5237         * login/Makefile (tests): Add tst-ptsname.
5238
5239         [BZ #16943]
5240         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5241         and prlimit64.
5242
5243 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5244
5245         [BZ #16849]
5246         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5247         herrno to return EAI_AGAIN.
5248
5249 2014-05-14  Roland McGrath  <roland@hack.frob.com>
5250
5251         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5252         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5253         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5254         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5255         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5256         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5257         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5258         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5259         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5260         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5261         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5262         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5263         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5264         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5265         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5266         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5267         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5268         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5269         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5270         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5271         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5272         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5273         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5274         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5275         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5276         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5277         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5278         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5279         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5280         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5281         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5282         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5283         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5284         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5285         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5286         Moved ...
5287         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5288         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5289         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5290         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5291         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5292         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5293         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5294         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5295         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5296         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5297         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5298         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5299         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5300         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5301         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5302         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5303         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5304         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5305         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5306         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5307         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5308         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5309         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5310         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5311         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5312         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5313         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5314         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5315         Moved ...
5316         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5317         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5318         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5319         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5320         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5321         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5322         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5323         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5324         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5325         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5326         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5327         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5328         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5329         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5330         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5331         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5332         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5333         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5334         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5335         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5336         Moved ...
5337         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5338         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5339         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5340
5341         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5342         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5343         (libpthread-sysdep_routines): Add elision-related stuff here instead.
5344         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5345         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5346         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5347         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5348         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5349         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5350         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5351         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5352         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5353         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5354         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5355         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5356         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5357         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5358         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5359         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5360         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5361         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5362         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5363         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5364         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5365         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5366         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5367         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5368         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5369         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5370         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5371         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5372
5373         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5374         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5375
5376         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5377         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5378         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5379         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5380         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5381         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5382         Moved ...
5383         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5384         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5385         Moved ...
5386         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5387         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5388         Moved ...
5389         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5390         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5391         Moved ...
5392         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5393         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5394         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5395         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5396         Moved ...
5397         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5398         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5399         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5400         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5401         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5402         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5403         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5404         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5405         Moved ...
5406         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5407         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5408         Moved ...
5409         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5410         ... here.
5411         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5412         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5413         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5414         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5415         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5416         Moved ...
5417         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5418         ... here.
5419         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5420         Moved ...
5421         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5422         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5423         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5424         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5425         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5426         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5427         Moved ...
5428         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5429         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5430         Moved ...
5431         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5432         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5433         Moved ...
5434         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5435         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5436         Moved ...
5437         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5438         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5439         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5440         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5441         Moved ...
5442         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5443         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5444         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5445         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5446         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5447         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5448         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5449         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5450         Moved ...
5451         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5452         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5453         Moved ...
5454         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5455         ... here.
5456         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5457         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5458         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5459         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5460         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5461         Moved ...
5462         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5463         ... here.
5464         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5465         Moved ...
5466         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5467         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5468         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5469         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5470         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5471         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5472         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5473         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5474         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5475         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5476         Moved ...
5477         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5478         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5479         Moved ...
5480         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5481         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5482         Moved ...
5483         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5484         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5485         Moved ...
5486         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5487         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5488         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5489         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5490         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5491         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5492         Moved ...
5493         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5494         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5495         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5496         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5497         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5498         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5499         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5500         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5501         Moved ...
5502         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5503         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5504         Moved ...
5505         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5506         ... here.
5507         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5508         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5509         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5510         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5511         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5512         Moved ...
5513         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5514         ... here.
5515         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5516         Moved ...
5517         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5518         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5519         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5520         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5521         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5522         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5523         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5524         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5525         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5526         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5527         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5528
5529         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5530         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5531
5532         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5533         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5534
5535         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5536         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5537         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5538         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5539         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5540         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5541         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5542         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5543         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5544         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5545         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5546         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5547         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5548         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5549         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5550         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5551         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5552         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5553         Moved ...
5554         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5555         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5556         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5557         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5558         Moved ...
5559         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5560         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5561         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5562         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5563         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5564         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5565         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5566         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5567         Moved ...
5568         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5569         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5570         Moved ...
5571         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5572         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5573         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5574         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5575         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5576         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5577         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5578         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5579         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5580         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5581         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5582         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5583         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5584         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5585         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5586         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5587         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5588
5589         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5590         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5591         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5592         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5593         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5594
5595         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5596         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5597         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5598         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5599         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5600         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5601         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5602         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5603         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5604         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5605
5606         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5607         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5608
5609         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5610         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5611         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5612         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5613         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5614         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5615         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5616         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5617         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5618         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5619         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5620         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5621         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5622         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5623         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5624         Update #include.
5625         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5626         Likewise.
5627         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5628         Likewise.
5629         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5630         Likewise.
5631         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5632         Likewise.
5633         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5634         Likewise.
5635         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5636         Likewise.
5637         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5638         Likewise.
5639         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5640         Likewise.
5641         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5642         Likewise.
5643         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5644         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5645         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5646         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5647         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5648         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5649         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5650         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5651         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5652         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5653         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5654         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5655         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5656         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
5657         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
5658
5659         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5660         that was previously under [RESET_PID].
5661         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5662         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5663         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5664
5665         * sysdeps/i386/nptl/Implies: New file.
5666         * sysdeps/x86_64/nptl/Implies: New file.
5667         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5668         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5669         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5670         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5671
5672         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5673         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5674         (__libc_vfork): New strong alias.
5675         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5676         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5677
5678         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5679         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5680         (__libc_vfork): New strong alias.
5681         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5682         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5683
5684         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5685         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5686         (__libc_vfork): New strong alias.
5687         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5688         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5689         * nptl/pt-vfork.c: New file.
5690         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5691         (libpthread: GLIBC_2.20): New version set (empty).
5692
5693 2014-05-14  Will Newton  <will.newton@linaro.org>
5694
5695         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5696         rather than #if.
5697
5698 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
5699
5700         [BZ #16564]
5701         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5702         arguments with exponent 65 or above.
5703         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5704         arguments 0x1p113L or above.
5705         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5706         to arguments 0x1p107L or above.
5707         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5708         positive arguments with exponent 65 or above.
5709         * math/auto-libm-test-in: Add more tests of log1p.
5710         * math/auto-libm-test-out: Regenerated.
5711
5712         [BZ #16928]
5713         * math/s_cacos.c (__cacos): Ensure zero real part of result from
5714         non-finite arguments is +0.
5715         * math/s_cacosf.c (__cacosf): Likewise.
5716         * math/s_cacosl.c (__cacosl): Likewise.
5717         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5718         * sysdeps/i386/fpu/libm-test-ulps: Update.
5719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5720
5721         [BZ #16927]
5722         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5723         value.
5724         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5725         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5726         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5727         for explicit high bit of mantissa when testing for argument equal
5728         to 1.
5729         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5730         * sysdeps/i386/fpu/libm-test-ulps: Update.
5731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5732
5733         [BZ #16516]
5734         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5735         (__erf): Scale by 16 instead of 8 in potentially underflowing
5736         case.  Ensure exception if result actually underflows.
5737         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5738         (__erff): Scale by 16 instead of 8 in potentially underflowing
5739         case.  Ensure exception if result actually underflows.
5740         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5741         (efx8): Remove variable.
5742         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5743         case.  Ensure exception if result actually underflows.
5744         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5745         (efx8): Remove variable.
5746         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5747         case.  Ensure exception if result actually underflows.
5748         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5749         (efx8): Remove variable.
5750         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5751         case.  Ensure exception if result actually underflows.
5752         * math/auto-libm-test-in: Add more tests of erf.
5753         * math/auto-libm-test-out: Regenerated.
5754
5755 2014-05-14  Andreas Schwab  <schwab@suse.de>
5756
5757         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5758         Remove code conditionalized on USE___THREAD.
5759
5760         * config.h.in (HAVE_PT_CHOWN): Define as 0.
5761         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5762         not definedness.
5763
5764 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
5765
5766         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5767         Define unconditionally.
5768         (__ASSUME_O_CLOEXEC): Likewise.
5769         (__ASSUME_SOCK_CLOEXEC): Likewise.
5770         (__ASSUME_IN_NONBLOCK): Likewise.
5771         (__ASSUME_PIPE2): Likewise.
5772         (__ASSUME_EVENTFD2): Likewise.
5773         (__ASSUME_SIGNALFD4): Likewise.
5774         (__ASSUME_DUP3): Likewise.
5775         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5776         (__ASSUME_DUP3): Do not define.
5777         (__ASSUME_EVENTFD2): Likewise.
5778         (__ASSUME_IN_NONBLOCK): Likewise.
5779         (__ASSUME_O_CLOEXEC): Likewise.
5780         (__ASSUME_PIPE2): Likewise.
5781         (__ASSUME_SIGNALFD4): Likewise.
5782         (__ASSUME_SOCK_CLOEXEC): Likewise.
5783         (__ASSUME_UTIMES): Undefine.
5784         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5785         (__ASSUME_UTIMES): Do not define.
5786         (__ASSUME_O_CLOEXEC): Likewise.
5787         (__ASSUME_SOCK_CLOEXEC): Likewise.
5788         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5789         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5790         0x020621].
5791         (__ASSUME_PIPE2): Likewise.
5792         (__ASSUME_EVENTFD2): Likewise.
5793         (__ASSUME_SIGNALFD4): Likewise.
5794         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5795         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5796         Do not define.
5797         (__ASSUME_EVENTFD2): Likewise.
5798         (__ASSUME_SIGNALFD4): Likewise.
5799         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5800         (__ASSUME_32BITUIDS): Likewise.
5801         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5802         (__ASSUME_IPC64): Likewise.
5803         (__ASSUME_ST_INO_64_BIT): Likewise.
5804         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5805         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5806         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5807         (__ASSUME_UTIMES): Do not define.
5808         (__ASSUME_PSELECT): Likewise.
5809         (__ASSUME_PPOLL): Likewise.
5810         (__ASSUME_O_CLOEXEC): Likewise.
5811         (__ASSUME_SOCK_CLOEXEC): Likewise.
5812         (__ASSUME_IN_NONBLOCK): Likewise.
5813         (__ASSUME_PIPE2): Likewise.
5814         (__ASSUME_EVENTFD2): Likewise.
5815         (__ASSUME_SIGNALFD4): Likewise.
5816         (__ASSUME_DUP3): Likewise.
5817         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5818         (__ASSUME_UTIMES): Likewise.
5819         (__ASSUME_O_CLOEXEC): Likewise.
5820         (__ASSUME_SOCK_CLOEXEC): Likewise.
5821         (__ASSUME_IN_NONBLOCK): Likewise.
5822         (__ASSUME_PIPE2): Likewise.
5823         (__ASSUME_EVENTFD2): Likewise.
5824         (__ASSUME_SIGNALFD4): Likewise.
5825         (__ASSUME_DUP3): Likewise.
5826         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5827         (__ASSUME_UTIMES): Likewise.
5828         (__ASSUME_O_CLOEXEC): Likewise.
5829         (__ASSUME_SOCK_CLOEXEC): Likewise.
5830         (__ASSUME_IN_NONBLOCK): Likewise.
5831         (__ASSUME_PIPE2): Likewise.
5832         (__ASSUME_EVENTFD2): Likewise.
5833         (__ASSUME_SIGNALFD4): Likewise.
5834         (__ASSUME_DUP3): Likewise.
5835         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5836         Likewise.
5837         (__ASSUME_UTIMES): Likewise.
5838         (__ASSUME_EVENTFD2): Likewise.
5839         (__ASSUME_SIGNALFD4): Likewise.
5840         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5841         (__ASSUME_O_CLOEXEC): Likewise.
5842         (__ASSUME_SOCK_CLOEXEC): Likewise.
5843         (__ASSUME_IN_NONBLOCK): Likewise.
5844         (__ASSUME_PIPE2): Likewise.
5845         (__ASSUME_EVENTFD2): Likewise.
5846         (__ASSUME_SIGNALFD4): Likewise.
5847         (__ASSUME_DUP3): Likewise.
5848         (__ASSUME_UTIMES): Undefine.
5849
5850         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5851         feclearexcept.  Remove symbol versioning code.
5852         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
5853         symbol versioning code.
5854         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
5855         symbol versioning code.
5856         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5857         feupdateenv.  Remove symbol versioning code.
5858         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5859         fegetexceptflag.  Remove symbol versioning code.
5860         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5861         fesetexceptflag.  Remove symbol versioning code.
5862         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5863         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
5864         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5865         (__posix_fadvise64_l32): Remove prototype.
5866         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5867         code.
5868
5869 2014-05-13  Roland McGrath  <roland@hack.frob.com>
5870
5871         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5872         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5873         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5874         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5875
5876 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
5877
5878         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5879         current working directory
5880
5881 2014-05-13  Roland McGrath  <roland@hack.frob.com>
5882
5883         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5884         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5885         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5886         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5887         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5888         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5889         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5890         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5891         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5892         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5893         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5894         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5895         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5896         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5897         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5898         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5899         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5900         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5901         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5902         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5903         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5904         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5905         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5906         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5907         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5908         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5909         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5910         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5911         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5912         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5913         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5914         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5915         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5916         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5917         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5918         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5919         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5920         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5921         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5922         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5923         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5924         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5925
5926         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5927         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5928
5929         * sysdeps/unix/sysv/linux/arm/Makefile
5930         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5931         Add rt-aeabi_unwind_cpp_pr1.
5932         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5933         Add nptl-aeabi_unwind_cpp_pr1.
5934         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5935         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5936         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5937         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5938         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5939         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5940
5941         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5942         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5943         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5944         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5945
5946         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5947         Deconditionalize the code that was previously under [RESET_PID].
5948         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5949
5950         * sysdeps/generic/exit-thread.h: New file.
5951         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5952         * include/unistd.h (__exit_thread): Remove declaration.
5953         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5954         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5955         * csu/libc-start.c: Include <exit-thread.h>.
5956         (LIBC_START_MAIN): Pass no argument to __exit_thread.
5957         * nptl/pthread_create.c: Include <exit-thread.h>.
5958         (start_thread): Call __exit_thread in place of __exit_thread_inline.
5959         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5960         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5961         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5962         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5963         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5964         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5965         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5966         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5967         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5968         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5969         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5970         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5971         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5972         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5973         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5974         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5975
5976 2014-05-13  Andreas Schwab  <schwab@suse.de>
5977
5978         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5979
5980 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
5981
5982         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5983         (__ASSUME_UTIMES): Do not condition on kernel version.
5984         (__ASSUME_PSELECT): Define unconditionally.
5985         (__ASSUME_PPOLL): Likewise.
5986         (__ASSUME_ATFCTS): Likewise.
5987         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5988         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5989         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5990         (__ASSUME_UTIMENSAT): Define unconditionally.
5991         (__ASSUME_PRIVATE_FUTEX): Likewise.
5992         (__ASSUME_FALLOCATE): Likewise.
5993         (__ASSUME_O_CLOEXEC): Likewise.
5994         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5995         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5996         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5997         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5998         (__ASSUME_IN_NONBLOCK): Likewise.
5999         (__ASSUME_PIPE2): Likewise.
6000         (__ASSUME_EVENTFD2): Likewise.
6001         (__ASSUME_SIGNALFD4): Likewise.
6002         (__ASSUME_DUP3): Likewise.
6003         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6004         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6005         (__ASSUME_AT_RANDOM): Likewise.
6006         (__ASSUME_PREADV): Likewise.
6007         (__ASSUME_PWRITEV): Likewise.
6008         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6009         (__ASSUME_F_GETOWN_EX): Define unconditionally.
6010         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6011         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6012         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6013         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6014         (__ASSUME_O_CLOEXEC): Define unconditionally.
6015         (__ASSUME_PSELECT): Do not undefine conditionally.
6016         (__ASSUME_PPOLL): Likewise.
6017         (__ASSUME_ATFCTS): Likewise.
6018         (__ASSUME_SET_ROBUST_LIST): Likewise.
6019         (__ASSUME_UTIMENSAT): Likewise.
6020         (__ASSUME_FDATASYNC): Define unconditionally.
6021         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6022         (__ASSUME_SIGFRAME_V2): Likewise.
6023         )__ASSUME_EVENTFD2): Likewise.
6024         (__ASSUME_SIGNALFD4): Likewise.
6025         (__ASSUME_PSELECT): Do not undefine conditionally.
6026         (__ASSUME_PPOLL): Likewise.
6027         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6028         (__ASSUME_PSELECT): Define unconditionally.
6029         (__ASSUME_PPOLL): Likewise.
6030         (__ASSUME_O_CLOEXEC): Likewise.
6031         (__ASSUME_SOCK_CLOEXEC): Likewise.
6032         (__ASSUME_IN_NONBLOCK): Likewise.
6033         (__ASSUME_PIPE2): Likewise.
6034         (__ASSUME_EVENTFD2): Likewise.
6035         (__ASSUME_SIGNALFD4): Likewise.
6036         (__ASSUME_DUP3): Likewise.
6037         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6038         (__ASSUME_O_CLOEXEC): Likewise.
6039         (__ASSUME_SOCK_CLOEXEC): Likewise.
6040         (__ASSUME_IN_NONBLOCK): Likewise.
6041         (__ASSUME_PIPE2): Likewise.
6042         (__ASSUME_EVENTFD2): Likewise.
6043         (__ASSUME_SIGNALFD4): Likewise.
6044         (__ASSUME_DUP3): Likewise.
6045         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6046         (__ASSUME_EVENTFD2): Likewise.
6047         (__ASSUME_SIGNALFD4): Likewise.
6048         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6049
6050 2014-05-12  Andreas Schwab  <schwab@suse.de>
6051
6052         [BZ #16932]
6053         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6054         (_nss_nis_gethostbyname4_r): Return error if item length is larger
6055         than maximum RPC packet size.
6056         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6057         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6058         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6059         (_nss_nis_getservbyport_r): Likewise.
6060
6061 2014-05-12  Will Newton  <will.newton@linaro.org>
6062
6063         * malloc/Makefile (tests): Add tst-mallopt.
6064         * malloc/tst-mallopt.c: New file.
6065
6066 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6067
6068         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6069         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6070
6071 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6072
6073         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6074         (tst-tlsmod6.so): Likewise.
6075
6076 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6077
6078         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6079
6080 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
6081
6082         [BZ #16064]
6083         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6084         and <dl-procinfo.h>.
6085         (__fegetenv): Save SSE state in envp->__eip if supported.
6086         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6087         envp->__eip if supported.
6088         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6089         and <dl-procinfo.h>.
6090         (__fesetenv): Always set __eip, __cs_selector, __opcode,
6091         __data_offset and __data_selector in environment to 0.  Set SSE
6092         state if supported.
6093         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6094         test-fenv-sse.
6095         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6096         -mfpmath=sse.
6097         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6098
6099 2014-05-09  Will Newton  <will.newton@linaro.org>
6100
6101         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6102         and libc_relro_required for ARM.
6103         * sysdeps/arm/preconfigure: Regenerate.
6104
6105 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
6106             Stefan Liebler  <stli@linux.vnet.ibm.com>
6107
6108         * config.make.in (enable-lock-elision): New Makefile variable.
6109         * configure.ac: Likewise.
6110         * configure: Regenerate.
6111         * sysdeps/s390/configure.ac:
6112         Add check for gcc transactions support.
6113         * sysdeps/s390/configure: Regenerate.
6114         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6115         Build elision files if enabled.
6116         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6117         Add lock elision support for s390.
6118         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6119         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6120         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6121         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6122         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6123         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6124         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6125         Likewise.
6126         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6127         Likewise.
6128         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6129         Likewise.
6130         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6131         Likewise.
6132         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6133         (__lll_timedlock_elision, __lll_lock_elision)
6134         (__lll_unlock_elision, __lll_trylock_elision)
6135         (lll_timedlock_elision, lll_lock_elision)
6136         (lll_unlock_elision, lll_trylock_elision): Add.
6137         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6138         (pthread_mutex_t): Add lock elision support for s390.
6139
6140 2014-05-14  Wilco  <wdijkstr@arm.com>
6141
6142         * sysdeps/arm/fclrexcpt.c: Cleanup.
6143         * sysdeps/arm/fedisblxcpt.c: Cleanup.
6144         * sysdeps/arm/feenablxcpt.c: Cleanup.
6145         * sysdeps/arm/fegetenv.c: Cleanup.
6146         * sysdeps/arm/fegetexcept.c: Cleanup.
6147         * sysdeps/arm/fegetround.c: Cleanup.
6148         * sysdeps/arm/feholdexcpt.c: Cleanup.
6149         * sysdeps/arm/fesetenv.c: Cleanup.
6150         * sysdeps/arm/fesetround.c: Cleanup.
6151         * sysdeps/arm/feupdateenv.c: Cleanup.
6152         * sysdeps/arm/fgetexcptflg.c: Cleanup.
6153         * sysdeps/arm/fraiseexcpt.c: Cleanup.
6154         * sysdeps/arm/fsetexcptflg.c: Cleanup.
6155         * sysdeps/arm/ftestexcept.c: Cleanup.
6156         * sysdeps/arm/get-rounding-mode.h: Cleanup.
6157         * sysdeps/arm/setfpucw.c: Cleanup.
6158
6159 2014-05-09  Will Newton  <will.newton@linaro.org>
6160
6161         * sysdeps/arm/armv7/strcmp.S: New file.
6162         * NEWS: Mention addition of ARMv7 optimized strcmp.
6163
6164 2014-05-08  Roland McGrath  <roland@hack.frob.com>
6165
6166         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6167         look for %.ac rather than %.in.
6168
6169         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6170         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6171         * sysdeps/mach/hurd/configure: Regenerated.
6172         * sysdeps/unix/sysv/linux/configure: Regenerated.
6173
6174         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6175
6176 2014-05-07  Steve Ellcey  <sellcey@mips.com>
6177
6178         [BZ# 16922]
6179         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6180         (LONG_SUB): Ditto.
6181         (PTR_SUB): Ditto.
6182
6183 2014-05-07  Andreas Schwab  <schwab@suse.de>
6184
6185         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6186         when skipping over non-matching result from nscd.
6187
6188 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
6189
6190         [BZ #16876]
6191         * nptl/sockperf.c (client): Check socket return value.
6192
6193         [BZ #16877]
6194         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6195         nscd security class.
6196
6197 2014-05-06  Roland McGrath  <roland@hack.frob.com>
6198
6199         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6200         * sysdeps/arm/unwind.h: ... here.
6201
6202 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
6203
6204         [BZ# 16916]
6205         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6206         Define.
6207
6208 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6209
6210         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6211         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6212         multiarch strncpy for PPC64.
6213         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6214         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6215         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6216         multiarch optimizations.
6217         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6218         (__libc_ifunc_impl_list): Likewise.
6219         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6220         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6221         multiarch stpncpy for PPC64.
6222         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6223         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6224
6225 2014-05-06  Andreas Schwab  <schwab@suse.de>
6226
6227         [BZ #16912]
6228         * gmon/mcount.c (_MCOUNT_DECL): Use
6229         atomic_compare_and_exchange_bool_acq instead of
6230         catomic_compare_and_exchange_bool_acq.
6231
6232 2014-05-05  Roland McGrath  <roland@hack.frob.com>
6233
6234         * elf/Makefile (others, install-bin): Remove pldd.
6235         (pldd-modules): Variable removed.
6236         ($(objpfx)pldd): Target removed.
6237         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6238         (others, install-bin): Append pldd here.
6239         ($(objpfx)pldd): New target.
6240
6241         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6242         to 0, so the first #if test emitted later doesn't see it undefined.
6243         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6244         * sysdeps/gnu/errlist.c: Regenerated.
6245
6246 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6247
6248         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6249         [libc_hidden_builtin_def]: Define to empty value.
6250         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6251         [libc_hidden_builtin_def]: Likewise.
6252         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6253         [libc_hidden_builtin_def]: Likewise.
6254         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6255         [libc_hidden_builtin_def]: Likewise.
6256         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6257         __redirect_memcpy and define ifunc as default hidden symbol.
6258         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6259         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6260
6261 2014-05-04  Adam Conrad  <adconrad@0c3.net>
6262
6263         * locale/iso-4217.def: Reintroduce XDR currency.
6264
6265 2014-05-04  Allan McRae  <allan@archlinux.org>
6266
6267         * po/eo.po: Update Esperanto translation from translation project.
6268
6269 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
6270
6271         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6272         and FEATURE_INDEX_MAX to 1.
6273         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6274
6275 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6276
6277         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6278         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6279         * iconvdata/big5.c (ONE_DIRECTION): Define.
6280         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6281         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6282         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6283         * iconvdata/cp932.c (ONE_DIRECTION): Define.
6284         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6285         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6286         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6287         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6288         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6289         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6290         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6291         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6292         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6293         * iconvdata/gbk.c (ONE_DIRECTION): Define.
6294         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6295         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6296         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6297         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6298         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6299         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6300         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6301         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6302         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6303         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6304         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6305         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6306         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6307         * iconvdata/iso646.c (ONE_DIRECTION): Define.
6308         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6309         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6310         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6311         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6312         * iconvdata/johab.c (ONE_DIRECTION): Define.
6313         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6314         * iconvdata/sjis.c (ONE_DIRECTION): Define.
6315         * iconvdata/t.61.c (ONE_DIRECTION): Define.
6316         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6317         * iconvdata/tscii.c (ONE_DIRECTION): Define.
6318         * iconvdata/uhc.c (ONE_DIRECTION): Define.
6319         * iconvdata/unicode.c (ONE_DIRECTION): Define.
6320         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6321         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6322         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6323
6324 2014-05-01  Roland McGrath  <roland@hack.frob.com>
6325
6326         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6327         (_IO_JUMPS_OFFSET): Define to 0.
6328
6329         * nptl/sysdeps/pthread/bits/libc-lock.h
6330         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6331         (__libc_lock_define_initialized_recursive): Always define using
6332         initializer.  Modern compilers treat uninitialized (implicit zero) and
6333         explicit zero initializers the same (i.e. put the datum in bss).
6334
6335 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6336
6337         * nscd/nscd-client.h: Include <string.h>.
6338
6339 2014-05-01  David S. Miller  <davem@davemloft.net>
6340
6341         [BZ #16885]
6342         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6343         multiple zero bytes exist at the end of a string.
6344         Reported by Aurelien Jarno <aurelien@aurel32.net>
6345
6346         * string/test-strcmp.c (check): Add explicit test for situations where
6347         there are multiple zero bytes after the first.
6348
6349 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6350
6351         [BZ #16890]
6352         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6353         when compiling wprintf.
6354         * stdio-common/tstdiomisc.c (t3): New function.
6355         (main): Call it.
6356
6357 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6358
6359         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6360         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6361         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6362         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6363
6364 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6365
6366         * stdlib/longlong.h: Updated from GCC.
6367
6368 2014-05-01  Will Newton  <will.newton@linaro.org>
6369             Bernard Ogden  <bernie.ogden@linaro.org>
6370
6371         * NEWS: Update fixed bug list.
6372
6373         [BZ #15119]
6374         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6375
6376 2014-04-30  David S. Miller  <davem@davemloft.net>
6377
6378         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6379         (libc_feholdexcept_setround_sparc_ctx): New function.
6380         (libc_fesetenv_sparc_ctx): Likewise.
6381         (libc_feupdateenv_sparc_ctx): Likewise.
6382         (libc_feholdsetround_sparc_ctx): Likewise.
6383         (libc_feholdexcept_setround_ctx): Define.
6384         (libc_feholdexcept_setroundf_ctx): Likewise.
6385         (libc_feholdexcept_setroundl_ctx): Likewise.
6386         (libc_fesetenv_ctx): Likewise.
6387         (libc_fesetenvf_ctx): Likewise.
6388         (libc_fesetenvl_ctx): Likewise.
6389         (libc_feupdateenv_ctx): Likewise.
6390         (libc_feupdateenvf_ctx): Likewise.
6391         (libc_feupdateenvl_ctx): Likewise.
6392         (libc_feresetround_ctx): Likewise.
6393         (libc_feresetroundf_ctx): Likewise.
6394         (libc_feresetroundl_ctx): Likewise.
6395         (libc_feholdsetround_ctx): Likewise.
6396         (libc_feholdsetroundf_ctx): Likewise.
6397         (libc_feholdsetroundl_ctx): Likewise.
6398
6399         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6400         with __USE_GNU instead of XOPEN cpp guards.
6401
6402         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6403         0.
6404
6405         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6406         with XOPEN cpp guards.
6407
6408 2014-04-30  Julian Brown  <julian@codesourcery.com>
6409
6410         [BZ #16888]
6411         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6412         handling.
6413
6414 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
6415
6416         [BZ #9894]
6417         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6418         Change to 2.6.32.
6419         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6420         * sysdeps/unix/sysv/linux/configure: Regenerated.
6421         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6422         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6423         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6424         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6425         * README: Update reference to required Linux kernel version.
6426         * manual/install.texi (Linux): Update reference to required Linux
6427         kernel headers version.
6428         * INSTALL: Regenerated.
6429
6430         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6431         header inclusion.
6432         [POSIX] (limits.h): Likewise.
6433         [POSIX] (math.h): Likewise.
6434         [POSIX] (sys/wait.h): Likewise.
6435         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6436         function.
6437         [POSIX] (stddef.h): Do not allow header inclusion.
6438
6439 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6440
6441         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6442
6443 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
6444
6445         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6446         Return immediately after lll_futex_wake.
6447
6448 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6449
6450         [BZ #16791]
6451         * nscd/nscd-client.h (datahead_init_common): Initialize entire
6452         structure.
6453         (datahead_init_pos): Call datahead_init_common early.
6454         (datahead_init_neg): Likewise.
6455
6456         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6457         datahead_init_neg): New functions.
6458         * nscd/aicache.c (addhstaiX): Use them.
6459         * nscd/grpcache.c (cache_addgr): Likewise.
6460         * nscd/hstcache.c (cache_addhst): Likewise.
6461         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6462         * nscd/netgroupcache.c (do_notfound): Likewise.
6463         (addgetnetgrentX): Likewise.
6464         (addinnetgrX): Likewise.
6465         * nscd/pwdcache.c (cache_addpw): Likewise.
6466         * nscd/servicescache.c (cache_addserv): Likewise.
6467
6468 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6469             Atsushi Onoe  <atsushi@onoe.org>
6470
6471         [BZ #14308]
6472         [BZ #12994]
6473         [BZ #13651]
6474         * resolv/res_query.c (__libc_res_nsearch): Return if at least
6475         one response is valid.
6476         * resolv/res_send.c (send_dg): Check for validity of other
6477         response if the current response is a referral.
6478
6479 2014-04-29  Steve Ellcey  <sellcey@mips.com>
6480
6481         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6482
6483 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
6484
6485         [BZ #16823]
6486         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6487         Always divide by positive zero when computing -Inf result.
6488         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6489         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6490
6491 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6492
6493         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6494         FPSCR if value do not change.
6495         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6496         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6497         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6498         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6499         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6500         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6501         function.
6502
6503 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
6504
6505         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6506         * sysdeps/unix/sysv/linux/hppa: Move directory from
6507         ports/systeps/unix/sysv/linux/hppa.
6508         * README: Update listing for hppa-*-linux-gnu.
6509
6510 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
6511
6512         [BZ #16754]
6513         * manual/stdio.texi (Hook functions): Fix types of stream hook
6514         functions.
6515         [BZ #16854]
6516         * socket/sys/socket.h: Fix typo in comment.
6517
6518 2014-04-28  Wilco  <wdijkstr@arm.com>
6519
6520         * sysdeps/arm/fenv_private.h: New file.
6521         * sysdeps/arm/math_private.h: New file.
6522         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6523
6524 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
6525
6526         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6527         with __int128_t.
6528         (La_x86_64_retval): Likewise.
6529
6530 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
6531
6532         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6533         fpsr if value didn't change.
6534         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6535         to fpcr if value didn't change.
6536         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6537         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6538         fpsr or fpcr if value didn't change.
6539         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6540         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6541         fpcr if value didn't change.
6542         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6543         to fpsr if value didn't change.
6544
6545 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6546
6547         * nptl/tst-sem3.c: Use test-skeleton.c
6548         (main): Rename to do_test.  Use return instead of
6549         exit.
6550         * nptl/tst-sem4.c: Use test-skeleton.c
6551         (main): Rename to do_test.
6552
6553 2014-04-22  David S. Miller  <davem@davemloft.net>
6554
6555         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6556         (struct sigaction): New struct member __glibc_reserved0, change
6557         type of sa_flags to int.
6558
6559 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
6560
6561         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6562         (COUNT_LEADING_ZEROS_0): Define for AArch64.
6563
6564 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6565
6566         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6567         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6568
6569 2014-04-22  Will Newton  <will.newton@linaro.org>
6570             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
6571
6572         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6573         (__longjmp): Add longjmp and longjmp_target SystemTap
6574         probes.
6575         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6576         (__sigsetjmp): Add setjmp SystemTap probe.
6577
6578 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
6579
6580         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6581         match manual order.
6582
6583 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6584
6585         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6586
6587         * sysdeps/powerpc/fpu/fenv_private.h
6588         (libc_feholdexcept_setroundl_ctx): Define to
6589         libc_feholdexcept_setround_ppc_ctx.
6590         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6591         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6592         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6593         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6594
6595 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
6596
6597         * sysdeps/aarch64/math-tests.h: New file.
6598
6599 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
6600
6601         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6602         New.
6603         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6604         Check and set bit_AVX2_Usable.
6605         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6606         macro.
6607         (bit_AVX2): Likewise.
6608         (index_AVX2_Usable): Likewise.
6609         (CPUID_AVX2): Likewise.
6610         (HAS_AVX2): Likewise.
6611
6612 2014-04-17  Will Newton  <will.newton@linaro.org>
6613
6614         * manual/setjmp.texi (System V contexts): Add note that
6615         calling setcontext on a context created by a call to a
6616         signal handler is undefined.  Update text to note that
6617         setcontext from a signal handler is possible but not
6618         recommended.
6619
6620         [BZ #16629]
6621         * stdlib/tst-setcontext.c: Include signal.h.
6622         (main): Check that the signal stack before and
6623         after swapcontext is the same.
6624
6625         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6626         Re-implement to restore registers in user code and avoid
6627         rt_sigreturn system call.
6628
6629 2014-04-17  Wilco  <wdijkstr@arm.com>
6630
6631         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6632         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6633         * math/test-fenv.c: Skip exception trap tests on targets which only
6634         support non-stop mode.
6635
6636 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
6637             Wilco Dijkstra  <wilco.dijkstra@arm.com>
6638
6639         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6640         (libc_feholdsetround_aarch64_ctx)
6641         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6642         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6643         (libc_feresetround_ctx, libc_feresetroundf_ctx)
6644         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6645         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6646         (libc_feresetround_noexl_ctx): Define.
6647
6648 2014-04-16  Richard Henderson  <rth@redhat.com>
6649
6650         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6651
6652         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6653         unwind tables.
6654
6655         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6656         const from the non-libc, non-ldso copy.
6657
6658         * sysdeps/alpha/libm-test-ulps: Regenerate.
6659
6660 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
6661             Wilco Dijkstra  <wilco.dijkstra@arm.com>
6662
6663         * sysdeps/aarch64/fpu/math_private.h: New file.
6664
6665 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6666
6667         * sysdeps/aarch64/libm-test-ulps: Regenerate.
6668
6669 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
6670
6671         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6672         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6673         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6674         Intel MPX bound registers before _dl_profile_fixup.
6675         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6676         registers after _dl_profile_fixup.  Save and restore bound
6677         registers bnd0/bnd1 when calling _dl_call_pltexit.
6678         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6679         (LR_BND_OFFSET): Likewise.
6680         (LRV_BND0_OFFSET): Likewise.
6681         (LRV_BND1_OFFSET): Likewise.
6682
6683 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6684
6685         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6686         to...
6687         * sysdeps/mach/hurd/i386/tls.h: ... here.
6688         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6689         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6690         fields.
6691
6692 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6693
6694         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6695
6696 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6697
6698         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6699
6700 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6701
6702         [BZ #14770]
6703         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6704         * sysdeps/s390/configure: Regenerate.
6705
6706         [BZ #16824]
6707         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6708         Set round-to-nearest internally to reduce error accumulation.
6709
6710 2014-04-16  Alan Modra  <amodra@gmail.com>
6711
6712         [BZ #16740]
6713         [BZ #16619]
6714         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6715         * math/libm-test.inc (frexp_test_data): Add tests.
6716         * NEWS: Update fixed bug list.
6717
6718 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6719
6720         * benchtests/Makefile: Depend on libraries in build directory.
6721         (bench-math): Separate out math tests.
6722         (bench-pthread): Separate out pthread tests.
6723         (bench): Include math and pthread tests.
6724
6725 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
6726
6727         [BZ #16831]
6728         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6729         _dl_debug_initialize.
6730
6731         * configure.ac: Remove SELinux header check.
6732         * configure: Regenerate.
6733         * nscd/selinux.c (perms): Array of const char* to permission names.
6734         (nscd_request_avc_has_perm): Call security_deny_unknown to find
6735         default policy. Call string_to_security_class and string_to_av_perm to
6736         translate strings. Enforce default policy and call avs_has_perm with
6737         results of translated strings.
6738
6739 2014-04-13  David S. Miller  <davem@davemloft.net>
6740
6741         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6742
6743 2014-04-12  Allan McRae  <allan@archlinux.org>
6744
6745         [BZ #16838]
6746         * manual/string.texi (Collation Functions): Fix qsort argument
6747         order in example.
6748         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6749
6750 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
6751
6752         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6753         Make the test a no-op if there are no exceptions defined.
6754
6755 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6756
6757         * elf/Makefile (tests): make tst-dlopen-aout conditional on
6758         enable-hardcoded-path-in-tests
6759
6760 2014-04-11  Will Newton  <will.newton@linaro.org>
6761
6762         * benchtests/Makefile (extra-objs): Add json-lib.o.
6763         (bench-func): Tidy up JSON output.
6764         * benchtests/bench-skeleton.c: Include json-lib.h.
6765         (main): Use JSON library functions to do output of
6766         benchmark results.
6767         * benchtests/bench-timing-type.c (main): Output the
6768         timing type simply, leaving formatting to the user.
6769         * benchtests/json-lib.c: New file.
6770         * benchtests/json-lib.h: Likewise.
6771
6772 2014-04-11  Torvald Riegel  <triegel@redhat.com>
6773
6774         [BZ #15215]
6775         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6776         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
6777         memory barriers.  Add comments.
6778         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6779         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6780         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6781         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6782         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6783         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6784
6785 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6786
6787         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6788         * sysdeps/s390/s390-64/configure.ac: ... this ...
6789         * sysdeps/s390/configure.ac: ... to here.
6790         * sysdeps/s390/s390-32/configure: Delete file.
6791         * sysdeps/s390/s390-64/configure: Delete file.
6792         * sysdeps/s390/configure: Regenerate.
6793
6794 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
6795
6796         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6797
6798 2014-04-11  Will Newton  <will.newton@linaro.org>
6799
6800         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6801         to zero if it is not defined elsewhere.  (mtrim): Test
6802         the value of MALLOC_DEBUG with #if rather than #ifdef.
6803
6804 2014-04-10 Torvald Riegel  <triegel@redhat.com>
6805
6806         * benchtests/pthread_once-inputs: New file.
6807         * benchtests/pthread_once-source.c: New file.
6808         * benchtests/README: Update documentation.
6809
6810 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
6811             H.J. Lu  <hongjiu.lu@intel.com>
6812
6813         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6814         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6815         * sysdeps/x86_64/configure: Regenerated.
6816         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6817         macro.
6818         (REGISTER_SAVE_RAX): Likewise.
6819         (REGISTER_SAVE_RCX): Likewise.
6820         (REGISTER_SAVE_RDX): Likewise.
6821         (REGISTER_SAVE_RSI): Likewise.
6822         (REGISTER_SAVE_RDI): Likewise.
6823         (REGISTER_SAVE_R8): Likewise.
6824         (REGISTER_SAVE_R9): Likewise.
6825         (REGISTER_SAVE_BND0): Likewise.
6826         (REGISTER_SAVE_BND1): Likewise.
6827         (REGISTER_SAVE_BND2): Likewise.
6828         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
6829         bound registers when calling _dl_fixup.
6830
6831 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6832
6833         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6834         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6835         of its definition.
6836         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6837         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6838         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6839         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6840         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6841         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6842         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6843
6844 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
6845
6846         [BZ #15514]
6847         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6848         pathconf(_PC_NAME_MAX).
6849
6850 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6851
6852         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6853         Remove macro usage.
6854         (__PTHREAD_SPINS): Move definition to ...
6855         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6856         (__PTHREAD_SPINS): ... here.
6857         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6858         (__PTHREAD_SPIN): Likewise.
6859         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6860         (__PTHREAD_SPIN): Likewise.
6861         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6862         (__PTHREAD_SPIN): Likewise.
6863         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6864         (__PTHREAD_SPIN): Likewise.
6865         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6866         (__PTHREAD_SPIN): Likewise.
6867         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6868         (__PTHREAD_SPIN): Likewise.
6869         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6870         (__PTHREAD_SPIN): Likewise.
6871         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6872         (__PTHREAD_SPIN): Likewise.
6873         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6874         (__PTHREAD_SPIN): Likewise.
6875         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6876         (__PTHREAD_SPIN): Likewise.
6877         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6878         (__PTHREAD_SPIN): Likewise.
6879         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6880         (__PTHREAD_SPIN): Likewise.
6881
6882         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6883         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6884         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6885         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6886         imply folder.
6887         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6888         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6889         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6890         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6891         correct imply path.
6892         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6893         strlen symbol for non multi-arch builds.
6894         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6895         missing hidden_def and weak_alias.
6896
6897 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
6898
6899         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6900
6901 2014-04-07  Will Newton  <will.newton@linaro.org>
6902
6903         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6904         and contents.  [!_LIBC] Remove #ifndef and contents.
6905         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
6906         * string/memccpy.c (__memccpy): Use ANSI prototype.
6907         * string/memfrob.c (memfrob): Likewise.
6908         * string/strcoll.c (STRCOLL): Likewise.
6909         * string/strlen.c (strlen): Likewise.
6910         * string/strtok.c (STRTOK): Likewise.
6911         * string/strcat.c: Remove unused #include of memcopy.h.
6912         (strcat): Use ANSI prototype.
6913         * string/strchr.c: Remove unused #include of memcopy.h.
6914         (strchr): Use ANSI prototype.
6915         * string/strcmp.c: Remove unused #include of memcopy.h.
6916         (strcmp): Use ANSI prototype.
6917         * string/strcpy.c: Remove unused #include of memcopy.h.
6918         (strcpy): Use ANSI prototype.
6919
6920 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6921
6922         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6923         * config.make.in (config-extra-cppflags): Set it from
6924         libc_extra_cppflags.
6925         * configure.ac (libc_extra_cflags): Make it accumulate over
6926         configure fragments.
6927         (libc_extra_cppflags): New flag.
6928         * configure. Regenerate.
6929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6930         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6931         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
6932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6933
6934         [BZ #16815]
6935         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6936         result for FE_DOWNWARD rounding mode.
6937         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6938         Likewise.
6939         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6940
6941 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
6942
6943         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6944         in function argument name.
6945
6946 2014-04-03  David Svoboda  <svoboda@cert.org>
6947
6948         [BZ #5666]
6949         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6950         explicitly.
6951
6952 2014-04-03  Roland McGrath  <roland@hack.frob.com>
6953
6954         * elf/dl-unmap-segments.h: New file.
6955         * sysdeps/generic/ldsodefs.h
6956         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6957         * elf/dl-close.c: Include <dl-unmap-segments.h>.
6958         * elf/dl-fptr.c: Likewise.
6959         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6960         * sysdeps/aarch64/tlsdesc.c: Likewise.
6961         * sysdeps/arm/tlsdesc.c: Likewise.
6962         * sysdeps/i386/tlsdesc.c: Likewise.
6963         * sysdeps/tile/dl-runtime.c: Likewise.
6964         * sysdeps/x86_64/tlsdesc.c: Likewise.
6965         * elf/dl-load.h: New file.
6966         * elf/dl-load.c: Include it.
6967         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6968         Macros moved to dl-load.h.
6969         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6970         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6971         Use _dl_unmap_segments in place of __munmap.
6972         Break out segment-mapping loop into ...
6973         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6974
6975 2014-04-03  Will Newton  <will.newton@linaro.org>
6976
6977         * elf/dl-lookup.c (do_lookup_x): Remove comment
6978         referring to nested function and move variable
6979         declarations down to before first use.
6980
6981 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
6982
6983         [BZ #16799]
6984         [BZ #16800]
6985         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6986         with 0 numerator.
6987         * math/s_catanf.c (__catanf): Likewise.
6988         * math/s_catanh.c (__catanh): Likewise.
6989         * math/s_catanhf.c (__catanhf): Likewise.
6990         * math/s_catanhl.c (__catanhl): Likewise.
6991         * math/s_catanl.c (__catanl): Likewise.
6992         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6993         by positive zero when computing -Inf result.
6994         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6995         (catanh_test): Likewise.
6996         * sysdeps/i386/fpu/libm-test-ulps: Update.
6997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6998
6999         [BZ #16789]
7000         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7001         instead of using underflowing value in computing result.
7002         * math/s_clog10.c (__clog10): Likewise.
7003         * math/s_clog10f.c (__clog10f): Likewise.
7004         * math/s_clog10l.c (__clog10l): Likewise.
7005         * math/s_clogf.c (__clogf): Likewise.
7006         * math/s_clogl.c (__clogl): Likewise.
7007         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7008         (clog10_test): Likewise.
7009         * sysdeps/i386/fpu/libm-test-ulps: Update.
7010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7011
7012 2014-04-02  Alan Modra  <amodra@gmail.com>
7013
7014         [BZ #16739]
7015         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7016         output when value is near a power of two.  Use int64_t for lx and
7017         remove casts.  Use decimal rather than hex exponent constants.
7018         Don't use long double multiplication when double will suffice.
7019         * math/libm-test.inc (nextafter_test_data): Add tests.
7020         * NEWS: Add 16739 and 16786 to bug list.
7021
7022         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7023
7024         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7025
7026 2014-04-01  Will Newton  <will.newton@linaro.org>
7027
7028         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7029         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
7030
7031 2014-04-01  Florian Weimer  <fweimer@redhat.com>
7032
7033         [BZ #13347]
7034         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7035         * nptl/tst-setuid2.c: New file.
7036         * nptl/Makefile (xtests): Add tst-setuid2.
7037
7038 2014-04-01  Alan Modra  <amodra@gmail.com>
7039
7040         [BZ #16786]
7041         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7042
7043 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7044
7045         [BZ #6803]
7046         [BZ #6804]
7047         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7048         set errno as appropriate.
7049         * math/w_scalbf.c (__scalbf): Likewise.
7050         * math/w_scalbl.c (__scalbl): Likewise.
7051         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7052         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7053         * math/libm-test.inc (scalb_test_data): Add errno expectations.
7054         Add more NaN tests.
7055
7056         [BZ #16349]
7057         * math/w_atan2.c: Include <errno.h>.
7058         (__atan2): Set errno for result underflowing to zero.
7059         * math/w_atan2f.c: Include <errno.h>.
7060         (__atan2f): Set errno for result underflowing to zero.
7061         * math/w_atan2l.c: Include <errno.h>.
7062         (__atan2l): Set errno for result underflowing to zero.
7063         * math/auto-libm-test-in: Don't allow missing errno for some atan2
7064         tests.
7065         * math/auto-libm-test-out: Regenerated.
7066
7067 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7068
7069         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7070         Encode instruction correctly in little endian.
7071         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7072         Likewise.
7073         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7074         Likewise.
7075         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7076         Likewise.
7077         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7078         Likewise.
7079
7080 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7081
7082         [BZ #9894]
7083         * sysdeps/unix/sysv/linux/kernel-features.h
7084         [__sparc__ && !__arch64__ && !__sparc_v9__]
7085         (__ASSUME_SET_ROBUST_LIST): Do not define.
7086         [__sparc__ && !__arch64__ && !__sparc_v9__]
7087         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7088         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7089         Likewise.
7090         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7091         (__ASSUME_FUTEX_LOCK_PI): Undefine.
7092         (__ASSUME_REQUEUE_PI): Likewise.
7093         (__ASSUME_SET_ROBUST_LIST): Likewise.
7094         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7095         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7096         Undefine.
7097         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7098         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7099         Likewise.
7100         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7101         Likewise.
7102         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7103         Likewise.
7104         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7105         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7106         Undefine.
7107         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7108         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7109         Likewise.
7110
7111         [BZ #16648]
7112         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7113         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7114         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7115
7116 2014-03-31  Will Newton  <will.newton@linaro.org>
7117
7118         * benchtests/Makefile (bench): Add ffs and ffsll to list
7119         of tests.
7120         * benchtests/ffs-inputs: New file.
7121         * benchtests/ffsll-inputs: Likewise.
7122
7123 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
7124
7125         [BZ #16770]
7126         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7127         too large before casting to int.
7128         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7129         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7130         * math/libm-test.inc (scalb_test_data): Add more tests.
7131
7132 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7133
7134         * benchtests/Makefile (DETAILED_OPT): New make option.
7135         (bench-func): Run benchmark program with -d if DETAILED_OPT is
7136         set.
7137         * benchtests/bench-skeleton.c: Include stdbool.h.
7138         (main): Store and print timings per input.
7139         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7140         member to each argument value.
7141         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7142         (_print_arg_data): Initialize per-input timing to 0.
7143
7144         * benchtests/Makefile (timing-type): New binary.
7145         (bench-clean): Also remove bench-timing-type.
7146         (bench): New target for timing-type.
7147         (bench-func): Print output in JSON format.
7148         * benchtests/bench-skeleton.c (main): Print output in JSON
7149         format.
7150         * benchtests/bench-timing-type.c: New file.
7151         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7152         (TIMING_PRINT_STATS): Remove.
7153         * benchtests/scripts/bench.py (_print_arg_data): Store variant
7154         name separately.
7155
7156         * benchtests/bench-modf.c: Remove.
7157         * benchtests/modf-inputs: New inputs file.
7158
7159 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
7160
7161         [BZ #16362]
7162         * math/s_clog10.c (M_PI_LOG10E): New macro.
7163         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7164         imaginary parts are 0.
7165         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7166         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7167         imaginary parts are 0.
7168         * math/s_clog10l.c (M_PI_LOG10El): New macro.
7169         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7170         imaginary parts are 0.
7171         * math/libm-test.inc (clog10_test_data): Update expected results
7172         for when real and imaginary parts are 0.
7173
7174 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
7175
7176         * elf/dl-load.c: Finish conversion of __builtin_expect into
7177         __glibc_{un}likely.
7178
7179 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
7180
7181         [BZ #16348]
7182         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7183         1+x for argument with exponent below -67.
7184         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7185         Likewise.
7186         * math/auto-libm-test-in: Add more tests of exp.
7187         * math/auto-libm-test-out: Regenerated.
7188
7189 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7190
7191         [BZ #16759]
7192         * inet/getnetgrent_r.c (get_nonempty_val): New function.
7193         (nscd_getnetgrent): Use it.
7194
7195         [BZ #16760]
7196         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7197         of stpcpy.
7198
7199 2014-03-27  Andi Kleen  <ak@linux.intel.com>
7200
7201         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7202         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7203         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7204         (lll_robust_unlock): Remove out of line section. Use cfi
7205         intrinsics.
7206         (LLL_STUB_UNWIND_INFO*): Remove.
7207         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7208         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7209         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7210         (lll_robust_unlock): Remove out of line section. Use cfi
7211         intrinsics.
7212         (LLL_STUB_UNWIND_INFO*): Remove.
7213
7214 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7215
7216         [BZ #16758]
7217         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7218         blank values.
7219
7220 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
7221
7222         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7223
7224 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
7225
7226         [BZ #16198]
7227         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7228         fnstenv.
7229         * math/test-fenv-preserve.c: New file.
7230         * math/Makefile (tests): Add test-fenv-preserve.
7231
7232 2014-03-26  Will Newton <will.newton@linaro.org>
7233
7234         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7235
7236 2014-03-25  Roland McGrath  <roland@hack.frob.com>
7237
7238         * scripts/versionlist.awk: Partition the version sets and emit all
7239         GLIBC_* (sorted) before all others (sorted).
7240
7241 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7242
7243         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7244         GLIBC_2.2.5 version.
7245
7246 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7247
7248         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7249         calls.
7250
7251         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7252         previous change.
7253
7254         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7255
7256 2014-03-25  Andreas Schwab  <schwab@suse.de>
7257
7258         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7259         label to be used after in6ailist is initialized.
7260
7261 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7262
7263         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7264         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7265
7266 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7267
7268         [BZ #16357]
7269         [BZ #16599]
7270         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7271         min_plus_half.
7272         (fp_formats): Update initializers.
7273         (init_fp_formats): Initialize new field.
7274         (output_for_one_input_case): Allow underflow for results up to
7275         min_plus_half.
7276         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7277         * math/auto-libm-test-in: Don't mark some underflows from asin and
7278         atanh as spurious.
7279         * math/auto-libm-test-out: Regenerated.
7280         * sysdeps/i386/fpu/libm-test-ulps: Update.
7281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7282
7283 2014-03-25  Andreas Schwab  <schwab@suse.de>
7284
7285         * libio/Makefile (tst-ftell-partial-wide-ENV)
7286         (tst-ftell-active-handler-ENV): Define.
7287
7288 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
7289
7290         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7291
7292 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7293
7294         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7295
7296 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7297
7298         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7299         * sysdeps/x86_64/fpu/multiarch/e_exp.c
7300         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7301
7302 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7303
7304         [BZ #16634]
7305         * elf/dl-load.c (open_verify): Add mode parameter.
7306         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7307         (open_path): Change from boolean 'secure' to complete flag 'mode'
7308         (_dl_map_object): Adjust.
7309         * elf/Makefile (tests): Add tst-dlopen-aout.
7310         * elf/tst-dlopen-aout.c: New test.
7311
7312 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
7313
7314         [BZ #16714]
7315         * sysdeps/unix/sysv/linux/s390/bits/stat.h
7316         (struct stat): Rename member pad0 to __glibc_reserved0.
7317
7318         [BZ #16712]
7319         * sysdeps/s390/s390-32/bits/wordsize.h
7320         (__WORDSIZE32_SIZE_ULONG): New define.
7321         * sysdeps/s390/s390-64/bits/wordsize.h
7322         (__WORDSIZE32_SIZE_ULONG): Likewise.
7323         * sysdeps/generic/stdint.h (SIZE_MAX):
7324         Define as UL if __WORDSIZE32_SIZE_ULONG.
7325
7326         [BZ #16713]
7327         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7328         (__glibc_reserved0): New variable.
7329         (sa_flags): Change type to int.
7330
7331         * posix/Makefile (before-compile): Use += before-compile instead
7332         of a :=.
7333
7334         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7335         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7336
7337 2014-03-20  Andreas Schwab  <schwab@suse.de>
7338
7339         [BZ #16743]
7340         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7341         non-matching result from nscd.
7342
7343 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7344
7345         * scripts/bench.py: Moved to ...
7346         * benchtests/scripts/bench.py: ... here.
7347         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7348
7349 2014-03-24  Andreas Schwab  <schwab@suse.de>
7350
7351         [BZ #16002]
7352         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7353         alloca_account and account alloca use for struct in6ailist.
7354
7355 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7356
7357         [BZ #16284]
7358         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7359         rounding mode to recompute results that overflow to infinity or
7360         underflow to zero.
7361         * math/auto-libm-test-in: Don't mark tests as expected to fail for
7362         bug 16284.
7363         * math/auto-libm-test-out: Regenerated.
7364         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7365         (ccosh_test): Likewise.
7366         (csin_test_data): Use plus_oflow.
7367         (csin_test): Use ALL_RM_TEST.
7368         (csinh_test_data): Use plus_oflow.
7369         (csinh_test): Use ALL_RM_TEST.
7370         * sysdeps/i386/fpu/libm-test-ulps: Update.
7371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7372
7373 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
7374
7375         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7376         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7377         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7378
7379         [BZ #16731]
7380         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7381         when x - 1 is zero.
7382         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7383         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7384         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7385         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7386         argument is 1.
7387         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7388         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7389         zero.
7390         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7391         * sysdeps/i386/fpu/libm-test-ulps: Update.
7392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7393
7394 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7395
7396         * scripts/bench.pl: Remove file.
7397         * scripts/bench.py: New benchmark script.
7398         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7399         * benchtests/README: Mention python dependency.
7400         * scripts/pylintrc: New file.
7401         * scripts/pylint: New file.
7402
7403         * bits/mathdef.h: Use #ifdef instead of #if.
7404         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7405         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7406         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7407         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7408         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7409         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7410
7411 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7412             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7413
7414         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7415         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7416         and strpbrk-ppc64 objects.
7417         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7418         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7419         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7420         multiarch strpbrk for POWER7.
7421         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7422         multiarch strpbrk for PPC64.
7423         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7424         ifunc selector.
7425         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7426         strpbrk for POWER7.
7427
7428 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7429
7430         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7431         (atan_test): Likewise.
7432         (atanh_test_data): Use NO_TEST_INLINE for two tests.
7433         (atanh_test): Use ALL_RM_TEST.
7434         (atan2_test_data): Likewise.
7435         (cabs_test): Likewise.
7436         (cacosh_test): Likewise.
7437         (carg_test): Likewise.
7438         (casin_test): Likewise.
7439         (casinh_test): Likewise.
7440         (cbrt_test): Likewise.
7441         (csqrt_test): Likewise.
7442         (erf_test): Likewise.
7443         (erfc_test): Likewise.
7444         (pow10_test): Likewise.
7445         (exp2_test): Likewise.
7446         (hypot_test): Likewise.
7447         (j0_test): Likewise.
7448         (j1_test): Likewise.
7449         (lgamma_test): Likewise.
7450         (gamma_test): Likewise.
7451         (sincos_test): Likewise.
7452         (tanh_test): Likewise.
7453         (y0_test): Likewise.
7454         (y1_test): Likewise.
7455         * sysdeps/i386/fpu/libm-test-ulps: Update.
7456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7457
7458 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7459
7460         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7461         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7462         and strcspn-ppc64 objects.
7463         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7464         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7465         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7466         multiarch strcspn for POWER7.
7467         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7468         multiarch strcspn for PPC64.
7469         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7470         ifunc selector.
7471         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7472         strcspn for POWER7.
7473
7474 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7475
7476         * math/gen-libm-test.pl (generate_testfile): Expect only function
7477         name as argument to AUTO_TESTS_* and pass results for all rounding
7478         modes to parse_args.
7479         (parse_auto_input): Separate inputs of automatic tests from
7480         outputs before storing in %auto_tests.
7481         * math/libm-test.inc (acos_test_data): Update call to
7482         AUTO_TESTS_f_f.
7483         (acos_test): Use ALL_RM_TEST.
7484         (acos_tonearest_test_data): Remove.
7485         (acos_test_tonearest): Likewise.
7486         (acos_towardzero_test_data): Likewise.
7487         (acos_test_towardzero): Likewise.
7488         (acos_downward_test_data): Likewise.
7489         (acos_test_downward): Likewise.
7490         (acos_upward_test_data): Likewise.
7491         (acos_test_upward): Likewise.
7492         (acosh_test_data): Update call to AUTO_TESTS_f_f.
7493         (asin_test_data): Likewise.
7494         (asin_test): Use ALL_RM_TEST.
7495         (asin_tonearest_test_data): Remove.
7496         (asin_test_tonearest): Likewise.
7497         (asin_towardzero_test_data): Likewise.
7498         (asin_test_towardzero): Likewise.
7499         (asin_downward_test_data): Likewise.
7500         (asin_test_downward): Likewise.
7501         (asin_upward_test_data): Likewise.
7502         (asin_test_upward): Likewise.
7503         (asinh_test_data): Update call to AUTO_TESTS_f_f.
7504         (atan_test_data): Likewise.
7505         (atanh_test_data): Likewise.
7506         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7507         (cabs_test_data): Update call to AUTO_TESTS_c_f.
7508         (carg_test_data): Likewise.
7509         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7510         (ccos_test_data): Update call to AUTO_TESTS_c_c.
7511         (ccosh_test_data): Likewise.
7512         (cexp_test_data): Likewise.
7513         (clog_test_data): Likewise.
7514         (clog10_test_data): Likewise.
7515         (cos_test_data): Update call to AUTO_TESTS_f_f.
7516         (cos_test): Use ALL_RM_TEST.
7517         (cos_tonearest_test_data): Remove.
7518         (cos_test_tonearest): Likewise.
7519         (cos_towardzero_test_data): Likewise.
7520         (cos_test_towardzero): Likewise.
7521         (cos_downward_test_data): Likewise.
7522         (cos_test_downward): Likewise.
7523         (cos_upward_test_data): Likewise.
7524         (cos_test_upward): Likewise.
7525         (cosh_test_data): Update call to AUTO_TESTS_f_f.
7526         (cosh_test): Use ALL_RM_TEST.
7527         (cosh_tonearest_test_data): Remove.
7528         (cosh_test_tonearest): Likewise.
7529         (cosh_towardzero_test_data): Likewise.
7530         (cosh_test_towardzero): Likewise.
7531         (cosh_downward_test_data): Likewise.
7532         (cosh_test_downward): Likewise.
7533         (cosh_upward_test_data): Likewise.
7534         (cosh_test_upward): Likewise.
7535         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7536         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7537         (ctan_test_data): Likewise.
7538         (ctan_test): Use ALL_RM_TEST.
7539         (ctan_tonearest_test_data): Remove.
7540         (ctan_test_tonearest): Likewise.
7541         (ctan_towardzero_test_data): Likewise.
7542         (ctan_test_towardzero): Likewise.
7543         (ctan_downward_test_data): Likewise.
7544         (ctan_test_downward): Likewise.
7545         (ctan_upward_test_data): Likewise.
7546         (ctan_test_upward): Likewise.
7547         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7548         (ctanh_test): Use ALL_RM_TEST.
7549         (ctanh_tonearest_test_data): Remove.
7550         (ctanh_test_tonearest): Likewise.
7551         (ctanh_towardzero_test_data): Likewise.
7552         (ctanh_test_towardzero): Likewise.
7553         (ctanh_downward_test_data): Likewise.
7554         (ctanh_test_downward): Likewise.
7555         (ctanh_upward_test_data): Likewise.
7556         (ctanh_test_upward): Likewise.
7557         (erf_test_data): Update call to AUTO_TESTS_f_f.
7558         (erfc_test_data): Likewise.
7559         (exp_test_data): Likewise.
7560         (exp_test): Use ALL_RM_TEST.
7561         (exp_tonearest_test_data): Remove.
7562         (exp_test_tonearest): Likewise.
7563         (exp_towardzero_test_data): Likewise.
7564         (exp_test_towardzero): Likewise.
7565         (exp_downward_test_data): Likewise.
7566         (exp_test_downward): Likewise.
7567         (exp_upward_test_data): Likewise.
7568         (exp_test_upward): Likewise.
7569         (exp10_test_data): Update call to AUTO_TESTS_f_f.
7570         (exp10_test): Use ALL_RM_TEST.
7571         (exp10_tonearest_test_data): Remove.
7572         (exp10_test_tonearest): Likewise.
7573         (exp10_towardzero_test_data): Likewise.
7574         (exp10_test_towardzero): Likewise.
7575         (exp10_downward_test_data): Likewise.
7576         (exp10_test_downward): Likewise.
7577         (exp10_upward_test_data): Likewise.
7578         (exp10_test_upward): Likewise.
7579         (exp2_test_data): Update call to AUTO_TESTS_f_f.
7580         (expm1_test_data): Likewise.
7581         (expm1_test): Use ALL_RM_TEST.
7582         (expm1_tonearest_test_data): Remove.
7583         (expm1_test_tonearest): Likewise.
7584         (expm1_towardzero_test_data): Likewise.
7585         (expm1_test_towardzero): Likewise.
7586         (expm1_downward_test_data): Likewise.
7587         (expm1_test_downward): Likewise.
7588         (expm1_upward_test_data): Likewise.
7589         (expm1_test_upward): Likewise.
7590         (fma_test_data): Update call to AUTO_TESTS_fff_f.
7591         (fma_test): Use ALL_RM_TEST.
7592         (fma_towardzero_test_data): Remove.
7593         (fma_test_towardzero): Likewise.
7594         (fma_downward_test_data): Likewise.
7595         (fma_test_downward): Likewise.
7596         (fma_upward_test_data): Likewise.
7597         (fma_test_upward): Likewise.
7598         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7599         (j0_test_data): Update call to AUTO_TESTS_f_f.
7600         (j1_test_data): Likewise.
7601         (jn_test_data): Update call to AUTO_TESTS_if_f.
7602         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7603         (log_test_data): Update call to AUTO_TESTS_f_f.
7604         (log10_test_data): Likewise.
7605         (log1p_test_data): Likewise.
7606         (log2_test_data): Likewise.
7607         (pow_test_data): Update call to AUTO_TESTS_ff_f.
7608         (pow_tonearest_test_data): Likewise.
7609         (sin_test_data): Update call to AUTO_TESTS_f_f.
7610         (sin_test): Use ALL_RM_TEST.
7611         (sin_tonearest_test_data): Remove.
7612         (sin_test_tonearest): Likewise.
7613         (sin_towardzero_test_data): Likewise.
7614         (sin_test_towardzero): Likewise.
7615         (sin_downward_test_data): Likewise.
7616         (sin_test_downward): Likewise.
7617         (sin_upward_test_data): Likewise.
7618         (sin_test_upward): Likewise.
7619         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7620         (sinh_test_data): Update call to AUTO_TESTS_f_f.
7621         (sinh_test): Use ALL_RM_TEST.
7622         (sinh_tonearest_test_data): Remove.
7623         (sinh_test_tonearest): Likewise.
7624         (sinh_towardzero_test_data): Likewise.
7625         (sinh_test_towardzero): Likewise.
7626         (sinh_downward_test_data): Likewise.
7627         (sinh_test_downward): Likewise.
7628         (sinh_upward_test_data): Likewise.
7629         (sinh_test_upward): Likewise.
7630         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7631         (sqrt_test): Use ALL_RM_TEST.
7632         (sqrt_tonearest_test_data): Remove.
7633         (sqrt_test_tonearest): Likewise.
7634         (sqrt_towardzero_test_data): Likewise.
7635         (sqrt_test_towardzero): Likewise.
7636         (sqrt_downward_test_data): Likewise.
7637         (sqrt_test_downward): Likewise.
7638         (sqrt_upward_test_data): Likewise.
7639         (sqrt_test_upward): Likewise.
7640         (tan_test_data): Update call to AUTO_TESTS_f_f.
7641         (tan_test): Use ALL_RM_TEST.
7642         (tan_tonearest_test_data): Remove.
7643         (tan_test_tonearest): Likewise.
7644         (tan_towardzero_test_data): Likewise.
7645         (tan_test_towardzero): Likewise.
7646         (tan_downward_test_data): Likewise.
7647         (tan_test_downward): Likewise.
7648         (tan_upward_test_data): Likewise.
7649         (tan_test_upward): Likewise.
7650         (tanh_test_data): Update call to AUTO_TESTS_f_f.
7651         (tgamma_test_data): Likewise.
7652         (y0_test_data): Likewise.
7653         (y1_test_data): Likewise.
7654         (yn_test_data): Update call to AUTO_TESTS_if_f.
7655         (main): Do not call removed functions.
7656
7657 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
7658
7659         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7660         (ldexp_test_data): Remove.
7661         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
7662         scalbn_test_data.
7663         (scalb_test): Use ALL_RM_TEST.
7664
7665 2014-03-19  Andreas Schwab  <schwab@suse.de>
7666
7667         * nscd/nscd.service: Also invalidate netgroup cache on reload.
7668
7669 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
7670
7671         [BZ #16649]
7672         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7673         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7674         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7675         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7676         (__ASSUME_PREADV): Undefine.
7677         (__ASSUME_PWRITEV): Likewise.
7678
7679 2014-03-18  Roland McGrath  <roland@hack.frob.com>
7680
7681         * bits/mman-linux.h: Add comment about non-Linux use.
7682         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7683         bits/mman-linux.h resting place.
7684
7685         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7686         * bits/mman-linux.h: ... here.
7687
7688 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7689
7690         * conform/conformtest.pl: Add standard definition when calling C
7691         preprocessor on data files.
7692         (checknamespace): Remove unused variable.
7693
7694 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
7695
7696         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7697         minus_oflow, plus_uflow and minus_uflow in expected results.
7698         * math/libm-test.inc (scalbn_test_data): Add more tests of
7699         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
7700         minus_uflow.
7701         (scalbn_test): Use ALL_RM_TEST.
7702         (scalbln_test_data): Add more tests of negative arguments.  Use
7703         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7704         (scalbln_test): Use ALL_RM_TEST.
7705
7706 2014-03-18  Roland McGrath  <roland@hack.frob.com>
7707
7708         * scripts/abilist.awk: Ignore symbols marked with .hidden.
7709
7710 2014-03-18  Will Newton  <will.newton@linaro.org>
7711
7712         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7713         inaccurate comment.
7714
7715 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
7716
7717         * Makerules [!subdir] (check-abi): Exit with error status if a
7718         test failed.
7719
7720 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
7721
7722         * math/libm-test.inc (nearbyint_test_data): Include all tests used
7723         for rint.  Include results for all rounding modes.
7724         (nearbyint_test): Use ALL_RM_TEST.
7725         (rint_test_data): Include all tests used for nearbyint.
7726
7727 2014-03-17  Will Newton  <will.newton@linaro.org>
7728
7729         * nptl/sysdeps/pthread/pthread.h: Revert previous
7730         change.
7731
7732         * sysdeps/generic/ldsodefs.h: Revert previous
7733         change.
7734
7735         * libio/genops.c: Revert previous change.
7736         * libio/libioP.h: Likewise.
7737         * stdio-common/vfprintf.c: Likewise.
7738
7739         * sysdeps/generic/math_private.h: Revert previous
7740         change.
7741
7742         * sysdeps/generic/math_private.h: Check whether
7743         HAVE_RM_CTX is defined with #ifdef rather
7744         than #if.
7745
7746         * argp/argp-fmtstream.h: Check whether
7747         __STRICT_ANSI__ is defined with #ifdef rather
7748         than #if.
7749         * argp/argp.h: Likewise.
7750
7751         * libio/genops.c: Check whether
7752         _IO_JUMPS_OFFSET is defined with #ifdef rather
7753         than #if.
7754         * libio/libioP.h: Likewise.
7755         * stdio-common/vfprintf.c: Likewise.
7756
7757         * sysdeps/generic/ldsodefs.h: Check whether
7758         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7759         than #if.
7760
7761         * nptl/sysdeps/pthread/pthread.h: Check
7762         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7763         its value.
7764
7765 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7766
7767         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7768         setting O_APPEND.
7769         * libio/tst-ftell-active-handler.c (do_append_test): Add a
7770         test case.
7771
7772         [BZ #16680]
7773         * libio/fileops.c (_IO_file_open): Seek to end of file but
7774         don't cache the offset.
7775         (get_file_offset): Remove function.
7776         (do_ftell): Use cached offset when available.
7777         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7778         don't cache the offset.
7779         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7780         case.
7781         (do_one_test): Call it.
7782         (do_ftell_test): Fix up expected old offset for a+ mode.
7783         * libio/wfileops.c (do_ftell_wide): Used cached offset when
7784         available.
7785
7786         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7787         up test status with function return status.
7788         (do_write_test): Likewise.
7789         (do_append_test): Likewise.
7790
7791         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7792         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7793         Remove.
7794
7795 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
7796
7797         * math/gen-libm-test.pl (parse_args): Handle results specified for
7798         each rounding mode separately.
7799         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7800         tests and results from lrint_tonearest_test_data,
7801         lrint_towardzero_test_data, lrint_downward_test_data and
7802         lrint_upward_test_data.
7803         (lrint_test): Use ALL_RM_TEST.
7804         (lrint_tonearest_test_data): Remove.
7805         (lrint_test_tonearest): Likewise.
7806         (lrint_towardzero_test_data): Likewise.
7807         (lrint_test_towardzero): Likewise.
7808         (lrint_downward_test_data): Likewise.
7809         (lrint_test_downward): Likewise.
7810         (lrint_upward_test_data): Likewise.
7811         (lrint_test_upward): Likewise.
7812         (llrint_test_data): Merge in per-rounding-mode tests and results
7813         from llrint_tonearest_test_data, llrint_towardzero_test_data,
7814         llrint_downward_test_data and llrint_upward_test_data.
7815         (llrint_test): Use ALL_RM_TEST.
7816         (llrint_tonearest_test_data): Remove.
7817         (llrint_test_tonearest): Likewise.
7818         (llrint_towardzero_test_data): Likewise.
7819         (llrint_test_towardzero): Likewise.
7820         (llrint_downward_test_data): Likewise.
7821         (llrint_test_downward): Likewise.
7822         (llrint_upward_test_data): Likewise.
7823         (llrint_test_upward): Likewise.
7824         (rint_test_data): Merge in per-rounding-mode tests and results
7825         from rint_tonearest_test_data, rint_towardzero_test_data,
7826         rint_downward_test_data and rint_upward_test_data.  Add
7827         per-rounding-mode results for tests not in those arrays.
7828         (rint_test): Use ALL_RM_TEST.
7829         (rint_tonearest_test_data): Remove.
7830         (rint_test_tonearest): Likewise.
7831         (rint_towardzero_test_data): Likewise.
7832         (rint_test_towardzero): Likewise.
7833         (rint_downward_test_data): Likewise.
7834         (rint_test_downward): Likewise.
7835         (rint_upward_test_data): Likewise.
7836         (rint_test_upward): Likewise.
7837         (main): Don't call removed functions.
7838
7839 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7840
7841         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7842         "Compiled on ..." crapola.  It is anti-useful.
7843
7844 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
7845
7846         * scripts/evaluate-test.sh: Handle fourth argument to determine
7847         whether test run should stop on failure.
7848         * Makeconfig (stop-on-test-failure): New variable.
7849         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7850         $(stop-on-test-failure).
7851         * Makefile (tests): Give a summary of results from testing and
7852         exit with failure status if they include an ERROR or FAIL.
7853         (xtests): Likewise.
7854         * manual/install.texi (Configuring and compiling): Mention
7855         stop-on-test-failure=y.
7856         * INSTALL: Regenerated.
7857
7858 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7859
7860         * scripts/versionlist.awk: New file.
7861         * Makerules [$(build-shared) = yes]
7862         (postclean-generated): Add Versions.def, not Versions.def.v and
7863         Versions.def.v.i.
7864         ($(common-objpfx)Versions.def.v.i): Target removed.
7865         ($(common-objpfx)Versions.def): New target.
7866         ($(common-objpfx)Versions.all): Depend on that rather that
7867         $(common-objpfx)Versions.def.v.
7868         * Versions.def: File removed.
7869
7870         * Makeconfig (+gccwarn): Add -Wundef.
7871         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7872         a dl-sysdep.h breaking its contract.
7873         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7874         * include/stackinfo.h: New file.
7875         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7876         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7877         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7878         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7879         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7880         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7881         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7882         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7883         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7884         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7885         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7886         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7887         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7888         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7889         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7890
7891 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7892
7893         [BZ #16707]
7894         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7895         implementation.
7896         * math/libm-test.inc (round_test_data): Add more tests.
7897
7898         [BZ #16706]
7899         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7900         implementation.
7901         * math/libm-test.inc (nearbyint_test_data): Add more tests.
7902
7903         [BZ #16701]
7904         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7905         implementation.
7906         * math/libm-test.inc (ceil_test_data): Add more tests.
7907
7908         * math/libm-test.inc (trunc_test_data): Add more tests related to
7909         BZ#16414.
7910
7911 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7912
7913         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7914         with #if rather than #ifdef.
7915         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7916
7917 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
7918
7919         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7920         first.  Disable AVX-512 GCC support if assembler doesn't support
7921         it.
7922         * sysdeps/x86_64/configure: Regenerated.
7923
7924 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
7925
7926         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7927         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7928         (__old_pthread_attr_setstack): Likewise.
7929         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7930         [!_STACK_GROWS_DOWN]: Likewise.
7931
7932 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
7933
7934         * config.make.in (have-bash2): Delete.
7935         * configure.ac (libc_cv_have_bash2): Delete.
7936         * configure: Regenerate.
7937         * elf/Makefile (common-ldd-rewrite): Rename to ...
7938         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
7939         (sh-ldd-rewrite): Delete.
7940         (bash-ldd-rewrite): Delete.
7941         (have-bash2): Delete checks.
7942         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7943         ldd-rewrite.
7944
7945         * config.make.in (have-ksh): Delete.
7946         (KSH): Delete.
7947         * configure.ac (libc_cv_have_ksh): Delete.
7948         * configure: Regenerate.
7949
7950         * elf/Makefile: Delete $(have-ksh) check.
7951         ($(objpfx)sotruss): Change KSH to BASH.
7952         * elf/sotruss.ksh: Rename to ...
7953         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
7954         function style to match POSIX.  Drop ksh vim mode setting.
7955
7956         * manual/time.texi (Specifying the Time Zone with TZ): Change
7957         Tuesday to Thursday.
7958
7959         * debug/tst-longjmp_chk2.c: Update header comment.
7960         (stackoverflow_handler): Add comment.  Call assert on pass value.
7961
7962 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
7963
7964         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7965         (HAVE_AVX512_ASM_SUPPORT): Likewise.
7966         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7967         (La_x86_64_vector): Add zmm.
7968         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7969         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7970         ($(objpfx)tst-audit10): New target.
7971         ($(objpfx)tst-audit10.out): Likewise.
7972         (tst-audit10-ENV): New.
7973         (AVX512-CFLAGS): Likewise.
7974         (CFLAGS-tst-audit10.c): Likewise.
7975         (CFLAGS-tst-auditmod10a.c): Likewise.
7976         (CFLAGS-tst-auditmod10b.c): Likewise.
7977         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7978         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7979         * sysdeps/x86_64/configure: Regenerated.
7980         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7981         AVX-512 zmm register support.
7982         (_dl_x86_64_save_sse): Likewise.
7983         (_dl_x86_64_restore_sse): Likewise.
7984         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7985         size vector registers.
7986         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7987         (ZMM_SIZE): Likewise.
7988         * sysdeps/x86_64/tst-audit10.c: New file.
7989         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7990         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7991
7992 2014-03-13  Roland McGrath  <roland@hack.frob.com>
7993
7994         * configure.ac (HAVE_EHDR_START): New check.
7995         * configure: Regenerated.
7996         * config.h.in (HAVE_EHDR_START): New #undef.
7997         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7998         assuming the lowest-addressed segment maps the start of the file.
7999
8000 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
8001
8002         * INSTALL: Regenerated.
8003
8004 2014-03-13  Will Newton  <will.newton@linaro.org>
8005
8006         * manual/setjmp.texi (System V contexts): Improve
8007         clarity and grammar of documentation.
8008
8009 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8010
8011         [BZ #16381]
8012         * elf/Makefile (tests): Add tst-pie2.
8013         (tests-pie): Add tst-pie2.
8014         * elf/tst-pie2.c: New file.
8015         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8016         for ET_EXEC.
8017         * elf/rtld.c (map_doit): Load executable as lt_executable.
8018         (dl_main): Likewise.
8019
8020 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
8021
8022         [BZ #16642]
8023         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8024         (__ASSUME_PSELECT): Undefine.
8025
8026 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8027
8028         [BZ #16689]
8029         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8030         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8031         static build.
8032         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8033         selector for static builds.
8034
8035 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8036
8037         [BZ #16695]
8038         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8039         key in the buffer.
8040
8041 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8042
8043         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8044         IFUNC selector for static builds.
8045
8046 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
8047
8048         * sysdeps/mips/math_private.h [__mips_hard_float]
8049         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8050         libc_feresetround_mips_ctx.
8051         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8052         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8053         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8054
8055         [BZ #16677]
8056         * math/s_nextafter.c (__nextafter): Do not return value from
8057         overflowing computation.
8058         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8059         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8060         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8061         Likewise.
8062         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8063         Likewise.
8064         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8065         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8066
8067 2014-03-11  Roland McGrath  <roland@hack.frob.com>
8068
8069         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8070         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8071         Move sfi_sp use from the load-multiple (that no longer sets sp) to
8072         the new mov targetting sp.
8073
8074 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8075
8076         [BZ #16683]
8077         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8078         Define it for static builds as well.
8079         (NO_BZERO_IMPL): Likewise.
8080
8081 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8082
8083         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8084         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8085         multiarch strspn for PPC64.
8086         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8087         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8088         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8089         (__libc_ifunc_impl_list): Likewise.
8090         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8091         multiarch optimizations
8092         * string/strspn.c (strspn): Using macro to redefine symbol name.
8093
8094 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8095             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8096
8097         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8098         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8099         multiarch strncat for PPC64.
8100         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8101         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8102         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8103         (__libc_ifunc_impl_list): Likewise.
8104         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8105         multiarch optimizations
8106
8107 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8108
8109         [BZ #16639]
8110         * nscd/nscd.service: Make service type forking.
8111
8112 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8113
8114         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8115         sign in non default rounding modes.
8116         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8117
8118 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
8119
8120         * math/libm-test.inc (ALL_RM_TEST): New macro.
8121         (ceil_test): Use ALL_RM_TEST.
8122         (cimag_test): Likewise.
8123         (conj_test): Likewise.
8124         (copysign_test): Likewise.
8125         (cproj_test): Likewise.
8126         (creal_test): Likewise.
8127         (fabs_test): Likewise.
8128         (floor_test): Likewise.
8129         (fmax_test): Likewise.
8130         (fmin_test): Likewise.
8131         (fmod_test): Likewise.
8132         (fpclassify_test): Likewise.
8133         (frexp_test): Likewise.
8134         (ilogb_test): Likewise.
8135         (isfinite_test): Likewise.
8136         (finite_test): Likewise.
8137         (isgreater_test): Likewise.
8138         (isgreaterequal_test): Likewise.
8139         (isinf_test): Likewise.
8140         (isless_test): Likewise.
8141         (islessequal_test): Likewise.
8142         (islessgreater_test): Likewise.
8143         (isnan_test): Likewise.
8144         (isnormal_test): Likewise.
8145         (issignaling_test): Likewise.
8146         (isunordered_test): Likewise.
8147         (logb_test): Likewise.
8148         (logb_downward_test_data): Remove.
8149         (logb_test_downward): Likewise.
8150         (lround_test): Use ALL_RM_TEST.
8151         (llround_test): Likewise.
8152         (modf_test): Likewise.
8153         (nexttoward_test): Likewise.
8154         (remainder_test): Likewise.
8155         (drem_test): Likewise.
8156         (remainder_tonearest_test_data): Likewise.
8157         (remainder_test_tonearest): Likewise.
8158         (drem_test_tonearest): Likewise.
8159         (remainder_towardzero_test_data): Likewise.
8160         (remainder_test_towardzero): Likewise.
8161         (drem_test_towardzero): Likewise.
8162         (remainder_downward_test_data): Likewise.
8163         (remainder_test_downward): Likewise.
8164         (drem_test_downward): Likewise.
8165         (remainder_upward_test_data): Likewise.
8166         (remainder_test_upward): Likewise.
8167         (drem_test_upward): Likewise.
8168         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
8169         (round_test): Use ALL_RM_TEST.
8170         (signbit_test): Likewise.
8171         (trunc_test): Likewise.
8172         (significand_test): Likewise.
8173         (main): Don't call removed functions.
8174
8175 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8176
8177         [BZ #16674]
8178         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8179         || __USE_XOPEN2K8].
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         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8201         (TRAP_TRACE): Likewise.
8202         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8203         __USE_XOPEN2K8].
8204         (CLD_KILLED): Likewise.
8205         (CLD_DUMPED): Likewise.
8206         (CLD_TRAPPED): Likewise.
8207         (CLD_STOPPED): Likewise.
8208         (CLD_CONTINUED): Likewise.
8209         (POLL_IN): Likewise.
8210         (POLL_OUT): Likewise.
8211         (POLL_MSG): Likewise.
8212         (POLL_ERR): Likewise.
8213         (POLL_PRI): Likewise.
8214         (POLL_HUP): Likewise.
8215         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8216         Likewise.
8217         (ILL_ILLOPN): Likewise.
8218         (ILL_ILLADR): Likewise.
8219         (ILL_ILLTRP): Likewise.
8220         (ILL_PRVOPC): Likewise.
8221         (ILL_PRVREG): Likewise.
8222         (ILL_COPROC): Likewise.
8223         (ILL_BADSTK): Likewise.
8224         (FPE_INTDIV): Likewise.
8225         (FPE_INTOVF): Likewise.
8226         (FPE_FLTDIV): Likewise.
8227         (FPE_FLTOVF): Likewise.
8228         (FPE_FLTUND): Likewise.
8229         (FPE_FLTRES): Likewise.
8230         (FPE_FLTINV): Likewise.
8231         (FPE_FLTSUB): Likewise.
8232         (SEGV_MAPERR): Likewise.
8233         (SEGV_ACCERR): Likewise.
8234         (BUS_ADRALN): Likewise.
8235         (BUS_ADRERR): Likewise.
8236         (BUS_OBJERR): Likewise.
8237         (BUS_MCEERR_AR): Likewise.
8238         (BUS_MCEERR_AO): Likewise.
8239         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8240         (TRAP_TRACE): Likewise.
8241         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8242         __USE_XOPEN2K8].
8243         (CLD_KILLED): Likewise.
8244         (CLD_DUMPED): Likewise.
8245         (CLD_TRAPPED): Likewise.
8246         (CLD_STOPPED): Likewise.
8247         (CLD_CONTINUED): Likewise.
8248         (POLL_IN): Likewise.
8249         (POLL_OUT): Likewise.
8250         (POLL_MSG): Likewise.
8251         (POLL_ERR): Likewise.
8252         (POLL_PRI): Likewise.
8253         (POLL_HUP): Likewise.
8254         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8255         (ILL_ILLOPN): Likewise.
8256         (ILL_ILLADR): Likewise.
8257         (ILL_ILLTRP): Likewise.
8258         (ILL_PRVOPC): Likewise.
8259         (ILL_PRVREG): Likewise.
8260         (ILL_COPROC): Likewise.
8261         (ILL_BADSTK): Likewise.
8262         (FPE_INTDIV): Likewise.
8263         (FPE_INTOVF): Likewise.
8264         (FPE_FLTDIV): Likewise.
8265         (FPE_FLTOVF): Likewise.
8266         (FPE_FLTUND): Likewise.
8267         (FPE_FLTRES): Likewise.
8268         (FPE_FLTINV): Likewise.
8269         (FPE_FLTSUB): Likewise.
8270         (SEGV_MAPERR): Likewise.
8271         (SEGV_ACCERR): Likewise.
8272         (BUS_ADRALN): Likewise.
8273         (BUS_ADRERR): Likewise.
8274         (BUS_OBJERR): Likewise.
8275         (BUS_MCEERR_AR): Likewise.
8276         (BUS_MCEERR_AO): Likewise.
8277         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8278         (TRAP_TRACE): Likewise.
8279         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8280         __USE_XOPEN2K8].
8281         (CLD_KILLED): Likewise.
8282         (CLD_DUMPED): Likewise.
8283         (CLD_TRAPPED): Likewise.
8284         (CLD_STOPPED): Likewise.
8285         (CLD_CONTINUED): Likewise.
8286         (POLL_IN): Likewise.
8287         (POLL_OUT): Likewise.
8288         (POLL_MSG): Likewise.
8289         (POLL_ERR): Likewise.
8290         (POLL_PRI): Likewise.
8291         (POLL_HUP): Likewise.
8292         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8293         Likewise.
8294         (ILL_ILLOPN): Likewise.
8295         (ILL_ILLADR): Likewise.
8296         (ILL_ILLTRP): Likewise.
8297         (ILL_PRVOPC): Likewise.
8298         (ILL_PRVREG): Likewise.
8299         (ILL_COPROC): Likewise.
8300         (ILL_BADSTK): Likewise.
8301         (ILL_BADIADDR): Likewise.
8302         (ILL_BREAK): Likewise.
8303         (FPE_INTDIV): Likewise.
8304         (FPE_INTOVF): Likewise.
8305         (FPE_FLTDIV): Likewise.
8306         (FPE_FLTOVF): Likewise.
8307         (FPE_FLTUND): Likewise.
8308         (FPE_FLTRES): Likewise.
8309         (FPE_FLTINV): Likewise.
8310         (FPE_FLTSUB): Likewise.
8311         (FPE_DECOVF): Likewise.
8312         (FPE_DECDIV): Likewise.
8313         (FPE_DECERR): Likewise.
8314         (FPE_INVASC): Likewise.
8315         (FPE_INVDEC): Likewise.
8316         (SEGV_MAPERR): Likewise.
8317         (SEGV_ACCERR): Likewise.
8318         (SEGV_PSTKOVF): Likewise.
8319         (BUS_ADRALN): Likewise.
8320         (BUS_ADRERR): Likewise.
8321         (BUS_OBJERR): Likewise.
8322         (BUS_MCEERR_AR): Likewise.
8323         (BUS_MCEERR_AO): Likewise.
8324         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8325         (TRAP_TRACE): Likewise.
8326         (TRAP_BRANCH): Likewise.
8327         (TRAP_HWBKPT): Likewise.
8328         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8329         __USE_XOPEN2K8].
8330         (CLD_KILLED): Likewise.
8331         (CLD_DUMPED): Likewise.
8332         (CLD_TRAPPED): Likewise.
8333         (CLD_STOPPED): Likewise.
8334         (CLD_CONTINUED): Likewise.
8335         (POLL_IN): Likewise.
8336         (POLL_OUT): Likewise.
8337         (POLL_MSG): Likewise.
8338         (POLL_ERR): Likewise.
8339         (POLL_PRI): Likewise.
8340         (POLL_HUP): Likewise.
8341         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8342         (ILL_ILLOPN): Likewise.
8343         (ILL_ILLADR): Likewise.
8344         (ILL_ILLTRP): Likewise.
8345         (ILL_PRVOPC): Likewise.
8346         (ILL_PRVREG): Likewise.
8347         (ILL_COPROC): Likewise.
8348         (ILL_BADSTK): Likewise.
8349         (FPE_INTDIV): Likewise.
8350         (FPE_INTOVF): Likewise.
8351         (FPE_FLTDIV): Likewise.
8352         (FPE_FLTOVF): Likewise.
8353         (FPE_FLTUND): Likewise.
8354         (FPE_FLTRES): Likewise.
8355         (FPE_FLTINV): Likewise.
8356         (FPE_FLTSUB): Likewise.
8357         (SEGV_MAPERR): Likewise.
8358         (SEGV_ACCERR): Likewise.
8359         (BUS_ADRALN): Likewise.
8360         (BUS_ADRERR): Likewise.
8361         (BUS_OBJERR): Likewise.
8362         (BUS_MCEERR_AR): Likewise.
8363         (BUS_MCEERR_AO): Likewise.
8364         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8365         (TRAP_TRACE): Likewise.
8366         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8367         __USE_XOPEN2K8].
8368         (CLD_KILLED): Likewise.
8369         (CLD_DUMPED): Likewise.
8370         (CLD_TRAPPED): Likewise.
8371         (CLD_STOPPED): Likewise.
8372         (CLD_CONTINUED): Likewise.
8373         (POLL_IN): Likewise.
8374         (POLL_OUT): Likewise.
8375         (POLL_MSG): Likewise.
8376         (POLL_ERR): Likewise.
8377         (POLL_PRI): Likewise.
8378         (POLL_HUP): Likewise.
8379         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8380         (ILL_ILLOPN): Likewise.
8381         (ILL_ILLADR): Likewise.
8382         (ILL_ILLTRP): Likewise.
8383         (ILL_PRVOPC): Likewise.
8384         (ILL_PRVREG): Likewise.
8385         (ILL_COPROC): Likewise.
8386         (ILL_BADSTK): Likewise.
8387         (FPE_INTDIV): Likewise.
8388         (FPE_INTOVF): Likewise.
8389         (FPE_FLTDIV): Likewise.
8390         (FPE_FLTOVF): Likewise.
8391         (FPE_FLTUND): Likewise.
8392         (FPE_FLTRES): Likewise.
8393         (FPE_FLTINV): Likewise.
8394         (FPE_FLTSUB): Likewise.
8395         (SEGV_MAPERR): Likewise.
8396         (SEGV_ACCERR): Likewise.
8397         (BUS_ADRALN): Likewise.
8398         (BUS_ADRERR): Likewise.
8399         (BUS_OBJERR): Likewise.
8400         (BUS_MCEERR_AR): Likewise.
8401         (BUS_MCEERR_AO): Likewise.
8402         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8403         (TRAP_TRACE): Likewise.
8404         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8405         __USE_XOPEN2K8].
8406         (CLD_KILLED): Likewise.
8407         (CLD_DUMPED): Likewise.
8408         (CLD_TRAPPED): Likewise.
8409         (CLD_STOPPED): Likewise.
8410         (CLD_CONTINUED): Likewise.
8411         (POLL_IN): Likewise.
8412         (POLL_OUT): Likewise.
8413         (POLL_MSG): Likewise.
8414         (POLL_ERR): Likewise.
8415         (POLL_PRI): Likewise.
8416         (POLL_HUP): Likewise.
8417         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8418         (ILL_ILLOPN): Likewise.
8419         (ILL_ILLADR): Likewise.
8420         (ILL_ILLTRP): Likewise.
8421         (ILL_PRVOPC): Likewise.
8422         (ILL_PRVREG): Likewise.
8423         (ILL_COPROC): Likewise.
8424         (ILL_BADSTK): Likewise.
8425         (FPE_INTDIV): Likewise.
8426         (FPE_INTOVF): Likewise.
8427         (FPE_FLTDIV): Likewise.
8428         (FPE_FLTOVF): Likewise.
8429         (FPE_FLTUND): Likewise.
8430         (FPE_FLTRES): Likewise.
8431         (FPE_FLTINV): Likewise.
8432         (FPE_FLTSUB): Likewise.
8433         (SEGV_MAPERR): Likewise.
8434         (SEGV_ACCERR): Likewise.
8435         (BUS_ADRALN): Likewise.
8436         (BUS_ADRERR): Likewise.
8437         (BUS_OBJERR): Likewise.
8438         (BUS_MCEERR_AR): Likewise.
8439         (BUS_MCEERR_AO): Likewise.
8440         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8441         (TRAP_TRACE): Likewise.
8442         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8443         __USE_XOPEN2K8].
8444         (CLD_KILLED): Likewise.
8445         (CLD_DUMPED): Likewise.
8446         (CLD_TRAPPED): Likewise.
8447         (CLD_STOPPED): Likewise.
8448         (CLD_CONTINUED): Likewise.
8449         (POLL_IN): Likewise.
8450         (POLL_OUT): Likewise.
8451         (POLL_MSG): Likewise.
8452         (POLL_ERR): Likewise.
8453         (POLL_PRI): Likewise.
8454         (POLL_HUP): Likewise.
8455         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8456         (ILL_ILLOPN): Likewise.
8457         (ILL_ILLADR): Likewise.
8458         (ILL_ILLTRP): Likewise.
8459         (ILL_PRVOPC): Likewise.
8460         (ILL_PRVREG): Likewise.
8461         (ILL_COPROC): Likewise.
8462         (ILL_BADSTK): Likewise.
8463         (ILL_DBLFLT): Likewise.
8464         (ILL_HARDWALL): Likewise.
8465         (FPE_INTDIV): Likewise.
8466         (FPE_INTOVF): Likewise.
8467         (FPE_FLTDIV): Likewise.
8468         (FPE_FLTOVF): Likewise.
8469         (FPE_FLTUND): Likewise.
8470         (FPE_FLTRES): Likewise.
8471         (FPE_FLTINV): Likewise.
8472         (FPE_FLTSUB): Likewise.
8473         (SEGV_MAPERR): Likewise.
8474         (SEGV_ACCERR): Likewise.
8475         (BUS_ADRALN): Likewise.
8476         (BUS_ADRERR): Likewise.
8477         (BUS_OBJERR): Likewise.
8478         (BUS_MCEERR_AR): Likewise.
8479         (BUS_MCEERR_AO): Likewise.
8480         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8481         (TRAP_TRACE): Likewise.
8482         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8483         __USE_XOPEN2K8].
8484         (CLD_KILLED): Likewise.
8485         (CLD_DUMPED): Likewise.
8486         (CLD_TRAPPED): Likewise.
8487         (CLD_STOPPED): Likewise.
8488         (CLD_CONTINUED): Likewise.
8489         (POLL_IN): Likewise.
8490         (POLL_OUT): Likewise.
8491         (POLL_MSG): Likewise.
8492         (POLL_ERR): Likewise.
8493         (POLL_PRI): Likewise.
8494         (POLL_HUP): Likewise.
8495         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8496         (ILL_ILLOPN): Likewise.
8497         (ILL_ILLADR): Likewise.
8498         (ILL_ILLTRP): Likewise.
8499         (ILL_PRVOPC): Likewise.
8500         (ILL_PRVREG): Likewise.
8501         (ILL_COPROC): Likewise.
8502         (ILL_BADSTK): Likewise.
8503         (FPE_INTDIV): Likewise.
8504         (FPE_INTOVF): Likewise.
8505         (FPE_FLTDIV): Likewise.
8506         (FPE_FLTOVF): Likewise.
8507         (FPE_FLTUND): Likewise.
8508         (FPE_FLTRES): Likewise.
8509         (FPE_FLTINV): Likewise.
8510         (FPE_FLTSUB): Likewise.
8511         (SEGV_MAPERR): Likewise.
8512         (SEGV_ACCERR): Likewise.
8513         (BUS_ADRALN): Likewise.
8514         (BUS_ADRERR): Likewise.
8515         (BUS_OBJERR): Likewise.
8516         (BUS_MCEERR_AR): Likewise.
8517         (BUS_MCEERR_AO): Likewise.
8518         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8519         (TRAP_TRACE): Likewise.
8520         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8521         __USE_XOPEN2K8].
8522         (CLD_KILLED): Likewise.
8523         (CLD_DUMPED): Likewise.
8524         (CLD_TRAPPED): Likewise.
8525         (CLD_STOPPED): Likewise.
8526         (CLD_CONTINUED): Likewise.
8527         (POLL_IN): Likewise.
8528         (POLL_OUT): Likewise.
8529         (POLL_MSG): Likewise.
8530         (POLL_ERR): Likewise.
8531         (POLL_PRI): Likewise.
8532         (POLL_HUP): Likewise.
8533         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8534         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8535
8536         [BZ #16670]
8537         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8538         before #include of <time.h>.
8539         [!__USE_XOPEN2K] (__need_timespec): Likewise.
8540         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8541         (test-xfail-UNIX98/sched.h/conform): Likewise.
8542
8543 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8544
8545         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8546         error absence of trapping exception support.
8547         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8548
8549 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8550
8551         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8552         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8553         * timezone/Makefile (testdata): Move definition above include of
8554         Rules.
8555         (test-zones): New variable.
8556         (tests-special): Add zone files.
8557         (build-testdata): Use $(evaluate-test).
8558
8559         * elf/Makefile (tests-special): Rename tests to end with .out.
8560         ($(objpfx)noload-mem): Likewise.
8561         ($(objpfx)tst-leaks1-mem): Likewise.
8562         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8563         * iconv/Makefile (xtests-special): Change test-iconvconfig to
8564         $(objpfx)test-iconvconfig.out.
8565         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
8566         set -e inside subshell and redirect output to file.
8567         * iconvdata/Makefile (generated): Rename tests to end with .out.
8568         Correct type.
8569         (tests-special): Rename tests to end with .out.
8570         ($(objpfx)mtrace-tst-loading): Likewise.
8571         * intl/Makefile (generated): Likewise.
8572         (tests-special): Likewise.
8573         ($(objpfx)mtrace-tst-gettext): Likewise.
8574         * misc/Makefile (generated): Likewise.
8575         (tests-special): Likewise.
8576         ($(objpfx)tst-error1-mem): Likewise.
8577         * nptl/Makefile (tests-special): Likewise.
8578         ($(objpfx)tst-stack3-mem): Likewise.
8579         (generated): Likewise.
8580         * posix/Makefile (generated): Likewise.
8581         (tests-special): Likewise.
8582         (xtests-special): Likewise.
8583         ($(objpfx)tst-fnmatch-mem): Likewise.
8584         ($(objpfx)bug-regex2-mem): Likewise.
8585         ($(objpfx)bug-regex14-mem): Likewise.
8586         ($(objpfx)bug-regex21-mem): Likewise.
8587         ($(objpfx)bug-regex31-mem): Likewise.
8588         ($(objpfx)tst-vfork3-mem): Likewise.
8589         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8590         ($(objpfx)tst-pcre-mem): Likewise.
8591         ($(objpfx)tst-boost-mem): Likewise.
8592         ($(objpfx)bug-ga2-mem): Likewise.
8593         ($(objpfx)bug-glob2-mem): Likewise.
8594         * resolv/Makefile (generate): Likewise.
8595         (tests-special): Likewise.
8596         (xtests-special): Likewise.
8597         (generated): Likewise.
8598         ($(objpfx)mtrace-tst-leaks): Likewise.
8599         ($(objpfx)mtrace-tst-leaks2): Likewise.
8600
8601         * scripts/merge-test-results.sh: New file.
8602         * Makefile (tests-special-notdir): New variable.
8603         (tests): Run merge-test-results.sh.
8604         (xtests): Likewise.
8605         * Rules (tests-special-notdir): New variable.
8606         (xtests-special-notdir): Likewise.
8607         (tests): Run merge-test-results.sh
8608         (xtests): Likewise.
8609
8610         * Makeconfig (test-xfail-name): New variable.
8611         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8612         compute variable name for expected failures.
8613         * conform/Makefile (conformtest-headers-data): New variable.
8614         (conformtest-standards): Likewise.
8615         (conformtest-headers-ISO): Likewise.
8616         (conformtest-headers-ISO99): Likewise.
8617         (conformtest-headers-ISO11): Likewise.
8618         (conformtest-headers-POSIX): Likewise.
8619         (conformtest-headers-XPG3): Likewise.
8620         (conformtest-headers-XPG4): Likewise.
8621         (conformtest-headers-UNIX98): Likewise.
8622         (conformtest-headers-XOPEN2K): Likewise.
8623         (conformtest-headers-POSIX2008): Likewise.
8624         (conformtest-headers-XOPEN2K8): Likewise.
8625         (conformtest-header-list-base): Likewise.
8626         (conformtest-header-list-tests): Likewise.
8627         (conformtest-header-base): Likewise.
8628         (conformtest-header-tests): Likewise.
8629         (tests-special): Add $(conformtest-header-list-tests).  If
8630         [$(fast-check) && !$(cross-compiling)], add
8631         $(conformtest-header-tests) instead of
8632         $(objpfx)run-conformtest.out.
8633         (generated): Add $(conformtest-header-list-base).  If
8634         [$(fast-check) && !$(cross-compiling)], add
8635         $(conformtest-header-base).  Remove previous setting.
8636         ($(conformtest-header-list-tests)): New target.
8637         (test-xfail-run-conformtest): Remove variable.
8638         ($(objpfx)run-conformtest.out): Remove target.
8639         (test-xfail-ISO11/complex.h/conform): New variable.
8640         (test-xfail-ISO11/stdalign.h/conform): Likewise.
8641         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8642         (test-xfail-XPG3/varargs.h/conform): Likewise.
8643         (test-xfail-XPG4/varargs.h/conform): Likewise.
8644         (test-xfail-UNIX98/varargs.h/conform): Likewise.
8645         (test-xfail-XPG4/ndbm.h/conform): Likewise.
8646         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8647         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8648         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8649         (test-xfail-XPG3/fcntl.h/conform): Likewise.
8650         (test-xfail-XPG3/ftw.h/conform): Likewise.
8651         (test-xfail-XPG3/grp.h/conform): Likewise.
8652         (test-xfail-XPG3/langinfo.h/conform): Likewise.
8653         (test-xfail-XPG3/limits.h/conform): Likewise.
8654         (test-xfail-XPG3/pwd.h/conform): Likewise.
8655         (test-xfail-XPG3/search.h/conform): Likewise.
8656         (test-xfail-XPG3/signal.h/conform): Likewise.
8657         (test-xfail-XPG3/stdio.h/conform): Likewise.
8658         (test-xfail-XPG3/stdlib.h/conform): Likewise.
8659         (test-xfail-XPG3/string.h/conform): Likewise.
8660         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8661         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8662         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8663         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8664         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8665         (test-xfail-XPG3/sys/types.h/conform): Likewise.
8666         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8667         (test-xfail-XPG3/termios.h/conform): Likewise.
8668         (test-xfail-XPG3/time.h/conform): Likewise.
8669         (test-xfail-XPG3/unistd.h/conform): Likewise.
8670         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8671         (test-xfail-XPG4/fcntl.h/conform): Likewise.
8672         (test-xfail-XPG4/langinfo.h/conform): Likewise.
8673         (test-xfail-XPG4/netdb.h/conform): Likewise.
8674         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8675         (test-xfail-XPG4/signal.h/conform): Likewise.
8676         (test-xfail-XPG4/stdio.h/conform): Likewise.
8677         (test-xfail-XPG4/stdlib.h/conform): Likewise.
8678         (test-xfail-XPG4/stropts.h/conform): Likewise.
8679         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8680         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8681         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8682         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8683         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8684         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8685         (test-xfail-XPG4/sys/time.h/conform): Likewise.
8686         (test-xfail-XPG4/sys/types.h/conform): Likewise.
8687         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8688         (test-xfail-XPG4/termios.h/conform): Likewise.
8689         (test-xfail-XPG4/ucontext.h/conform): Likewise.
8690         (test-xfail-XPG4/unistd.h/conform): Likewise.
8691         (test-xfail-XPG4/utmpx.h/conform): Likewise.
8692         (test-xfail-POSIX/sched.h/conform): Likewise.
8693         (test-xfail-POSIX/signal.h/conform): Likewise.
8694         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8695         (test-xfail-POSIX/tar.h/conform): Likewise.
8696         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8697         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8698         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8699         (test-xfail-UNIX98/netdb.h/conform): Likewise.
8700         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8701         (test-xfail-UNIX98/sched.h/conform): Likewise.
8702         (test-xfail-UNIX98/signal.h/conform): Likewise.
8703         (test-xfail-UNIX98/stdio.h/conform): Likewise.
8704         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8705         (test-xfail-UNIX98/stropts.h/conform): Likewise.
8706         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8707         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8708         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8709         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8710         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8711         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8712         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8713         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8714         (test-xfail-UNIX98/unistd.h/conform): Likewise.
8715         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8716         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8717         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8718         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8719         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8720         (test-xfail-XOPEN2K/math.h/conform): Likewise.
8721         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8722         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8723         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8724         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8725         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8726         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8727         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8728         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8729         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8730         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8731         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8732         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8733         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8734         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8735         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8736         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8737         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8738         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8739         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8740         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8741         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8742         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8743         (test-xfail-POSIX2008/signal.h/conform): Likewise.
8744         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8745         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8746         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8747         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8748         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8749         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8750         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8751         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8752         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8753         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8754         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8755         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8756         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8757         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8758         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8759         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8760         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8761         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8762         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8763         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8764         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8765         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8766         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8767         (conformtest-cc-flags): Likewise.
8768         ($(conformtest-header-tests): New target.
8769         * conform/check-header-lists.sh: New file.
8770         * conform/run-conformtest.sh: Remove.
8771
8772         * conform/conformtest.pl: Allow ' and \ in values given for
8773         constants.
8774         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8775         inclusion.
8776         [POSIX] (sys/types.h): Likewise.
8777         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8778         inclusion.
8779         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8780         inclusion.
8781         * conform/data/signal.h-data (SIGIO): Remove expectation.
8782         [XPG3] (SIGBUS): Do not expect.
8783         [POSIX || XPG3] (SIGPOLL): Likewise.
8784         [POSIX || XPG3] (SIGPROF): Likewise.
8785         [POSIX || XPG3] (SIGSYS): Likewise.
8786         [XPG3] (SIGTRAP): Likewise.
8787         [POSIX || XPG3] (SIGURG): Likewise.
8788         [POSIX || XPG3] (SIGVTALRM): Likewise.
8789         [POSIX || XPG3] (SIGXCPU): Likewise.
8790         [POSIX || XPG3] (SIGXFSZ): Likewise.
8791         [POSIX] (SA_SIGINFO): Expect.
8792         [XPG3] (siginfo_t): Do not expect type or contents.
8793         [POSIX] (si_pid): Do not expect element.
8794         [POSIX] (si_uid): Likewise.
8795         [POSIX] (si_addr): Likewise.
8796         [POSIX] (si_status): Likewise.
8797         [POSIX] (si_band): Likewise.
8798         [XPG4] (si_value): Likewise.
8799         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8800         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8801         [POSIX || XPG3] (ILL_ILLADR): Likewise.
8802         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8803         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8804         [POSIX || XPG3] (ILL_PRVREG): Likewise.
8805         [POSIX || XPG3] (ILL_COPROC): Likewise.
8806         [POSIX || XPG3] (ILL_BADSTK): Likewise.
8807         [POSIX || XPG3] (FPE_INTDIV): Likewise.
8808         [POSIX || XPG3] (FPE_INTOVF): Likewise.
8809         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8810         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8811         [POSIX || XPG3] (FPE_FLTUND): Likewise.
8812         [POSIX || XPG3] (FPE_FLTRES): Likewise.
8813         [POSIX || XPG3] (FPE_FLTINV): Likewise.
8814         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8815         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8816         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8817         [POSIX || XPG3] (BUS_ADRALN): Likewise.
8818         [POSIX || XPG3] (BUS_ADRERR): Likewise.
8819         [POSIX || XPG3] (BUS_OBJERR): Likewise.
8820         [POSIX || XPG3] (CLD_EXITED): Likewise.
8821         [POSIX || XPG3] (CLD_KILLED): Likewise.
8822         [POSIX || XPG3] (CLD_DUMPED): Likewise.
8823         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8824         [POSIX || XPG3] (CLD_STOPPED): Likewise.
8825         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8826         [POSIX || XPG3] (POLL_IN): Likewise.
8827         [POSIX || XPG3] (POLL_OUT): Likewise.
8828         [POSIX || XPG3] (POLL_MSG): Likewise.
8829         [POSIX || XPG3] (POLL_ERR): Likewise.
8830         [POSIX || XPG3] (POLL_PRI): Likewise.
8831         [POSIX || XPG3] (POLL_HUP): Likewise.
8832         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8833         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8834         (SIG*): Do not allow.
8835         [XPG3] (si_*): Likewise.
8836         [XPG3] (SI_*): Likewise.
8837         [XPG3 || XPG4] (sigev_*): Likewise.
8838         [XPG3 || XPG4] (SIGEV_*): Likewise.
8839         [XPG3 || XPG4] (sival_*): Likewise.
8840         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8841         [POSIX || XPG3] (BUS_*): Likewise.
8842         [POSIX || XPG3] (CLD_*): Likewise.
8843         [POSIX || XPG3] (FPE_*): Likewise.
8844         [POSIX || XPG3] (ILL_*): Likewise.
8845         [POSIX || XPG3] (POLL_*): Likewise.
8846         [POSIX || XPG3] (SEGV_*): Likewise.
8847         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8848         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8849         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8850         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8851         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8852         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8853         Specify type and value.
8854         (TVERSLEN): Likewise.
8855         (REGTYPE): Likewise.
8856         (AREGTYPE): Likewise.
8857         (LNKTYPE): Likewise.
8858         (SYMTYPE): Likewise.
8859         (CHRTYPE): Likewise.
8860         (BLKTYPE): Likewise.
8861         (DIRTYPE): Likewise.
8862         (FIFOTYPE): Likewise.
8863         (CONTTYPE): Likewise.
8864         (TSUID): Likewise.
8865         (TSGID): Likewise.
8866         (TSVTX): Likewise.
8867         (TUREAD): Likewise.
8868         (TUWRITE): Likewise.
8869         (TUEXEC): Likewise.
8870         (TGREAD): Likewise.
8871         (TGWRITE): Likewise.
8872         (TGEXEC): Likewise.
8873         (TOREAD): Likewise.
8874         (TOWRITE): Likewise.
8875         (TOEXEC): Likewise.
8876         [POSIX] (TSVTX): Expect constant.
8877
8878 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
8879
8880         * Makefile (tests): Change dependencies to ....
8881         (tests-special): ... additions to this variable.
8882         (tests): Depend on $(tests-special).
8883         * Makerules (check-abi-list): New variable.
8884         (check-abi): Depend on $(check-abi-list).
8885         [$(subdir) = elf] (tests-special): Add
8886         $(objpfx)check-abi-libc.out.
8887         [$(build-shared) = yes && subdir] (tests-special): Add
8888         $(check-abi-list).
8889         [$(build-shared) = yes && subdir] (tests): Do not depend on
8890         check-abi.
8891         * Rules (tests): Depend on $(tests-special).
8892         (xtests): Depend on $(xtests-special).
8893         * catgets/Makefile (tests): Change dependencies to ....
8894         (tests-special): ... additions to this variable.
8895         * conform/Makefile (tests): Change dependencies to ....
8896         (tests-special): ... additions to this variable.
8897         * elf/Makefile (tests): Change dependencies to ....
8898         (tests-special): ... additions to this variable.
8899         * grp/Makefile (tests): Change dependencies to ....
8900         (tests-special): ... additions to this variable.
8901         * iconv/Makefile (xtests): Change dependencies to ....
8902         (xtests-special): ... additions to this variable.
8903         * iconvdata/Makefile (tests): Change dependencies to ....
8904         (tests-special): ... additions to this variable.
8905         * intl/Makefile (tests): Change dependencies to ....
8906         (tests-special): ... additions to this variable.  Also add
8907         $(objpfx)tst-gettext.out.
8908         * io/Makefile (tests): Change dependencies to ....
8909         (tests-special): ... additions to this variable.
8910         * libio/Makefile (tests): Change dependencies to ....
8911         (tests-special): ... additions to this variable.
8912         * malloc/Makefile (tests): Change dependencies to ....
8913         (tests-special): ... additions to this variable.
8914         * misc/Makefile (tests): Change dependencies to ....
8915         (tests-special): ... additions to this variable.
8916         * nptl/Makefile (tests): Change dependencies to ....
8917         (tests-special): ... additions to this variable.
8918         * nptl_db/Makefile (tests): Change dependencies to ....
8919         (tests-special): ... additions to this variable.
8920         * posix/Makefile (tests): Change dependencies to ....
8921         (tests-special): ... additions to this variable.
8922         (xtests): Change dependencies to ....
8923         (xtests-special): ... additions to this variable.
8924         * resolv/Makefile (tests): Change dependencies to ....
8925         (tests-special): ... additions to this variable.
8926         (xtests): Change dependencies to ....
8927         (xtests-special): ... additions to this variable.
8928         * stdio-common/Makefile (tests): Change dependencies to ....
8929         (tests-special): ... additions to this variable.
8930         (do-tst-unbputc): Remove target.
8931         (do-tst-printf): Likewise.
8932         * stdlib/Makefile (tests): Change dependencies to ....
8933         (tests-special): ... additions to this variable.
8934         * string/Makefile (tests): Change dependencies to ....
8935         (tests-special): ... additions to this variable.
8936         * sysdeps/x86/Makefile (tests): Change dependencies to ....
8937         (tests-special): ... additions to this variable.
8938
8939         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8940         whole file.
8941         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8942         whole file.
8943         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8944         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8945
8946         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8947         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8948         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8949         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8950         * conform/data/libgen.h-data [XPG3]: Likewise.
8951         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8952         * conform/data/ndbm.h-data [XPG3]: Likewise.
8953         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8954         * conform/data/netdb.h-data [XPG3]: Likewise.
8955         * conform/data/netinet/in.h-data [XPG3]: Likewise.
8956         * conform/data/poll.h-data [XPG3]: Likewise.
8957         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8958         * conform/data/strings.h-data [XPG3]: Likewise.
8959         * conform/data/stropts.h-data [XPG3]: Likewise.
8960         * conform/data/sys/mman.h-data [XPG3]: Likewise.
8961         * conform/data/sys/resource.h-data [XPG3]: Likewise.
8962         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8963         Likewise.
8964         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8965         * conform/data/sys/time.h-data [XPG3]: Likewise.
8966         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8967         * conform/data/sys/uio.h-data [XPG3]: Likewise.
8968         * conform/data/sys/un.h-data [XPG3]: Likewise.
8969         * conform/data/syslog.h-data [XPG3]: Likewise.
8970         * conform/data/ucontext.h-data [XPG3]: Likewise.
8971         * conform/data/utmpx.h-data [XPG3]: Likewise.
8972         * conform/data/varargs.h-data [UNIX98]: Enable file.
8973
8974         * manual/Makefile (INSTALL_INFO): Remove variable setting.
8975
8976         * math/libm-test.inc (struct test_f_f_data): Move expected results
8977         into structure for each rounding mode.
8978         (struct test_ff_f_data): Likewise.
8979         (struct test_ff_f_data_nexttoward): Likewise.
8980         (struct test_fi_f_data): Likewise.
8981         (struct test_fl_f_data): Likewise.
8982         (struct test_if_f_data): Likewise.
8983         (struct test_fff_f_data): Likewise.
8984         (struct test_c_f_data): Likewise.
8985         (struct test_f_f1_data): Likewise.
8986         (struct test_fF_f1_data): Likewise.
8987         (struct test_ffI_f1_data): Likewise.
8988         (struct test_c_c_data): Likewise.
8989         (struct test_cc_c_data): Likewise.
8990         (struct test_f_i_data): Likewise.
8991         (struct test_ff_i_data): Likewise.
8992         (struct test_f_l_data): Likewise.
8993         (struct test_f_L_data): Likewise.
8994         (struct test_fFF_11_data): Likewise.
8995         (RM_): New macro.
8996         (RM_FE_DOWNWARD): Likewise.
8997         (RM_FE_TONEAREST): Likewise.
8998         (RM_FE_TOWARDZERO): Likewise.
8999         (RM_FE_UPWARD): Likewise.
9000         (RUN_TEST_LOOP_f_f): Update references to expected results.
9001         (RUN_TEST_LOOP_2_f): Likewise.
9002         (RUN_TEST_LOOP_fff_f): Likewise.
9003         (RUN_TEST_LOOP_c_f): Likewise.
9004         (RUN_TEST_LOOP_f_f1): Likewise.
9005         (RUN_TEST_LOOP_fF_f1): Likewise.
9006         (RUN_TEST_LOOP_fI_f1): Likewise.
9007         (RUN_TEST_LOOP_ffI_f1): Likewise.
9008         (RUN_TEST_LOOP_c_c): Likewise.
9009         (RUN_TEST_LOOP_cc_c): Likewise.
9010         (RUN_TEST_LOOP_f_i): Likewise.
9011         (RUN_TEST_LOOP_f_i_tg): Likewise.
9012         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9013         (RUN_TEST_LOOP_f_b): Likewise.
9014         (RUN_TEST_LOOP_f_b_tg): Likewise.
9015         (RUN_TEST_LOOP_f_l): Likewise.
9016         (RUN_TEST_LOOP_f_L): Likewise.
9017         (RUN_TEST_LOOP_fFF_11): Likewise.
9018         * math/gen-libm-test.pl (parse_args): Output four copies of
9019         expected results for each test.
9020
9021         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9022         (__ASSUME_UTIMES): Remove.
9023         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9024         (__ASSUME_UTIMES): Likewise.
9025
9026         * math/gen-auto-libm-tests.c: Update comment on output format.
9027         (output_for_one_input_case): Generate before-rounding and
9028         after-rounding information as conditions on output flags not
9029         floating-point format.
9030         * math/auto-libm-test-out: Regenerated.
9031         * math/gen-libm-test.pl (cond_value): New function.
9032         (or_cond_value): Use cond_value.
9033         (generate_testfile): Handle conditional exceptions.
9034
9035 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
9036
9037         * math/libm-test.inc (max_valid_error): New variable.
9038         (init_max_error): Take new argument specifying whether function
9039         results are exactly determined.  Set max_valid_error and bound
9040         other variables for errors based on this argument.
9041         (set_max_error): Do not record results above max_valid_error.
9042         (check_float_internal): Only accept errors of up to 0.5ulps if
9043         also at most max_valid_error.
9044         (START): Take new argument EXACT and pass it to init_max_error.
9045         (acos_test): Update call to START.
9046         (acos_test_tonearest): Likewise.
9047         (acos_test_towardzero): Likewise.
9048         (acos_test_downward): Likewise.
9049         (acos_test_upward): Likewise.
9050         (acosh_test): Likewise.
9051         (asin_test): Likewise.
9052         (asin_test_tonearest): Likewise.
9053         (asin_test_towardzero): Likewise.
9054         (asin_test_downward): Likewise.
9055         (asin_test_upward): Likewise.
9056         (asinh_test): Likewise.
9057         (atan_test): Likewise.
9058         (atanh_test): Likewise.
9059         (atan2_test): Likewise.
9060         (cabs_test): Likewise.
9061         (cacos_test): Likewise.
9062         (cacosh_test): Likewise.
9063         (carg_test): Likewise.
9064         (casin_test): Likewise.
9065         (casinh_test): Likewise.
9066         (catan_test): Likewise.
9067         (catanh_test): Likewise.
9068         (cbrt_test): Likewise.
9069         (ccos_test): Likewise.
9070         (ccosh_test): Likewise.
9071         (ceil_test): Likewise.
9072         (cexp_test): Likewise.
9073         (cimag_test): Likewise.
9074         (clog_test): Likewise.
9075         (clog10_test): Likewise.
9076         (conj_test): Likewise.
9077         (copysign_test): Likewise.
9078         (cos_test): Likewise.
9079         (cos_test_tonearest): Likewise.
9080         (cos_test_towardzero): Likewise.
9081         (cos_test_downward): Likewise.
9082         (cos_test_upward): Likewise.
9083         (cosh_test): Likewise.
9084         (cosh_test_tonearest): Likewise.
9085         (cosh_test_towardzero): Likewise.
9086         (cosh_test_downward): Likewise.
9087         (cosh_test_upward): Likewise.
9088         (cpow_test): Likewise.
9089         (cproj_test): Likewise.
9090         (creal_test): Likewise.
9091         (csin_test): Likewise.
9092         (csinh_test): Likewise.
9093         (csqrt_test): Likewise.
9094         (ctan_test): Likewise.
9095         (ctan_test_tonearest): Likewise.
9096         (ctan_test_towardzero): Likewise.
9097         (ctan_test_downward): Likewise.
9098         (ctan_test_upward): Likewise.
9099         (ctanh_test): Likewise.
9100         (ctanh_test_tonearest): Likewise.
9101         (ctanh_test_towardzero): Likewise.
9102         (ctanh_test_downward): Likewise.
9103         (ctanh_test_upward): Likewise.
9104         (erf_test): Likewise.
9105         (erfc_test): Likewise.
9106         (exp_test): Likewise.
9107         (exp_test_tonearest): Likewise.
9108         (exp_test_towardzero): Likewise.
9109         (exp_test_downward): Likewise.
9110         (exp_test_upward): Likewise.
9111         (exp10_test): Likewise.
9112         (exp10_test_tonearest): Likewise.
9113         (exp10_test_towardzero): Likewise.
9114         (exp10_test_downward): Likewise.
9115         (exp10_test_upward): Likewise.
9116         (pow10_test): Likewise.
9117         (exp2_test): Likewise.
9118         (expm1_test): Likewise.
9119         (expm1_test_tonearest): Likewise.
9120         (expm1_test_towardzero): Likewise.
9121         (expm1_test_downward): Likewise.
9122         (expm1_test_upward): Likewise.
9123         (fabs_test): Likewise.
9124         (fdim_test): Likewise.
9125         (floor_test): Likewise.
9126         (fma_test): Likewise.
9127         (fma_test_towardzero): Likewise.
9128         (fma_test_downward): Likewise.
9129         (fma_test_upward): Likewise.
9130         (fmax_test): Likewise.
9131         (fmin_test): Likewise.
9132         (fmod_test): Likewise.
9133         (fpclassify_test): Likewise.
9134         (frexp_test): Likewise.
9135         (hypot_test): Likewise.
9136         (ilogb_test): Likewise.
9137         (isfinite_test): Likewise.
9138         (finite_test): Likewise.
9139         (isgreater_test): Likewise.
9140         (isgreaterequal_test): Likewise.
9141         (isinf_test): Likewise.
9142         (isless_test): Likewise.
9143         (islessequal_test): Likewise.
9144         (islessgreater_test): Likewise.
9145         (isnan_test): Likewise.
9146         (isnormal_test): Likewise.
9147         (issignaling_test): Likewise.
9148         (isunordered_test): Likewise.
9149         (j0_test): Likewise.
9150         (j1_test): Likewise.
9151         (jn_test): Likewise.
9152         (ldexp_test): Likewise.
9153         (lgamma_test): Likewise.
9154         (gamma_test): Likewise.
9155         (lrint_test): Likewise.
9156         (lrint_test_tonearest): Likewise.
9157         (lrint_test_towardzero): Likewise.
9158         (lrint_test_downward): Likewise.
9159         (lrint_test_upward): Likewise.
9160         (llrint_test): Likewise.
9161         (llrint_test_tonearest): Likewise.
9162         (llrint_test_towardzero): Likewise.
9163         (llrint_test_downward): Likewise.
9164         (llrint_test_upward): Likewise.
9165         (log_test): Likewise.
9166         (log10_test): Likewise.
9167         (log1p_test): Likewise.
9168         (log2_test): Likewise.
9169         (logb_test): Likewise.
9170         (logb_test_downward): Likewise.
9171         (lround_test): Likewise.
9172         (llround_test): Likewise.
9173         (modf_test): Likewise.
9174         (nearbyint_test): Likewise.
9175         (nextafter_test): Likewise.
9176         (nexttoward_test): Likewise.
9177         (pow_test): Likewise.
9178         (pow_test_tonearest): Likewise.
9179         (pow_test_towardzero): Likewise.
9180         (pow_test_downward): Likewise.
9181         (pow_test_upward): Likewise.
9182         (remainder_test): Likewise.
9183         (drem_test): Likewise.
9184         (remainder_test_tonearest): Likewise.
9185         (drem_test_tonearest): Likewise.
9186         (remainder_test_towardzero): Likewise.
9187         (drem_test_towardzero): Likewise.
9188         (remainder_test_downward): Likewise.
9189         (drem_test_downward): Likewise.
9190         (remainder_test_upward): Likewise.
9191         (drem_test_upward): Likewise.
9192         (remquo_test): Likewise.
9193         (rint_test): Likewise.
9194         (rint_test_tonearest): Likewise.
9195         (rint_test_towardzero): Likewise.
9196         (rint_test_downward): Likewise.
9197         (rint_test_upward): Likewise.
9198         (round_test): Likewise.
9199         (scalb_test): Likewise.
9200         (scalbn_test): Likewise.
9201         (scalbln_test): Likewise.
9202         (signbit_test): Likewise.
9203         (sin_test): Likewise.
9204         (sin_test_tonearest): Likewise.
9205         (sin_test_towardzero): Likewise.
9206         (sin_test_downward): Likewise.
9207         (sin_test_upward): Likewise.
9208         (sincos_test): Likewise.
9209         (sinh_test): Likewise.
9210         (sinh_test_tonearest): Likewise.
9211         (sinh_test_towardzero): Likewise.
9212         (sinh_test_downward): Likewise.
9213         (sinh_test_upward): Likewise.
9214         (sqrt_test): Likewise.
9215         (sqrt_test_tonearest): Likewise.
9216         (sqrt_test_towardzero): Likewise.
9217         (sqrt_test_downward): Likewise.
9218         (sqrt_test_upward): Likewise.
9219         (tan_test): Likewise.
9220         (tan_test_tonearest): Likewise.
9221         (tan_test_towardzero): Likewise.
9222         (tan_test_downward): Likewise.
9223         (tan_test_upward): Likewise.
9224         (tanh_test): Likewise.
9225         (tgamma_test): Likewise.
9226         (trunc_test): Likewise.
9227         (y0_test): Likewise.
9228         (y1_test): Likewise.
9229         (yn_test): Likewise.
9230         (significand_test): Likewise.
9231
9232         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9233         individual tests in comment.
9234         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9235         (prev_max_error): New variable.
9236         (prev_real_max_error): Likewise.
9237         (prev_imag_max_error): Likewise.
9238         (compare_ulp_data): Don't refer to test names in comment.
9239         (find_test_ulps): Remove function.
9240         (find_function_ulps): Likewise.
9241         (find_complex_function_ulps): Likewise.
9242         (init_max_error): Take function name as argument.  Look up ulps
9243         for that function.
9244         (print_ulps): Remove function.
9245         (print_max_error): Use prev_max_error instead of calling
9246         find_function_ulps.
9247         (print_complex_max_error): Use prev_real_max_error and
9248         prev_imag_max_error instead of calling find_complex_function_ulps.
9249         (check_float_internal): Take max_ulp parameter instead of calling
9250         find_test_ulps.  Don't call print_ulps.
9251         (check_float): Update call to check_float_internal.
9252         (check_complex): Update calls to check_float_internal.
9253         (START): Pass argument to init_max_error.
9254         * math/gen-libm-test.pl (%results): Don't include "kind"
9255         information.
9256         (parse_ulps): Don't handle ulps of individual tests.
9257         (print_ulps_file): Likewise.
9258         (output_ulps): Likewise.
9259         * math/README.libm-test: Update.
9260         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9261         individual tests.
9262         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9263         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9264         * sysdeps/arm/libm-test-ulps: Likewise.
9265         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9266         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9267         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9268         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9269         * sysdeps/microblaze/libm-test-ulps: Likewise.
9270         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9271         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9272         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9273         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9274         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9275         * sysdeps/sh/libm-test-ulps: Likewise.
9276         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9277         * sysdeps/tile/libm-test-ulps: Likewise.
9278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9279
9280 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
9281
9282         * math/libm-test.inc (print_complex_max_error): Check separately
9283         whether real and imaginary errors are within allowed range and
9284         pass 0 to print_complex_function_ulps instead of value within
9285         allowed range.
9286
9287 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9288
9289         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9290         formatting.
9291         (get_handles_fopen): Likewise.
9292         (do_write_test): Likewise.
9293
9294         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9295
9296         * libio/fileops.c (do_ftell): Use cached offset when
9297         available.
9298         * libio/iofwide.c (do_ftell_wide): Likewise.
9299         * libio/iofdopen.c (_IO_new_fdopen): Don't use
9300         _IO_file_attach.
9301         * libio/wfileops.c (_IO_fwide): Don't cache offset.
9302
9303         [BZ #16532]
9304         * libio/libioP.h (get_file_offset): New function.
9305         * libio/fileops.c (get_file_offset): Likewise.
9306         (do_ftell): Likewise.
9307         (_IO_new_file_seekoff): Split out ftell logic.
9308         * libio/wfileops.c (do_ftell_wide): Likewise.
9309         (_IO_wfile_seekoff): Split out ftell logic.
9310         * libio/tst-ftell-active-handler.c: New test case.
9311         * libio/Makefile (tests): Add it.
9312
9313 2014-03-03  Roland McGrath  <roland@hack.frob.com>
9314
9315         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9316         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9317
9318 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9319
9320         [BZ #16639]
9321         * nscd/connections.c (nscd_init): Call do_exit.
9322         (start_threads): Call do_exit and notify_parent.
9323         (begin_drop_privileges): Call do_exit.
9324         (finish_drop_privileges): Likewise.
9325         * nscd/selinux.c (preserve_capabilities): Likewise.
9326         (install_real_capabilities): Likewise.
9327         (nscd_selinux_enabled): Likewise.
9328         (avc_create_thread): Likewise.
9329         (avc_alloc_lock): Likewise.
9330         (nscd_avc_init): Likewise.
9331         * nscd/nscd.c (parent_fd): New static variable.
9332         (main): Create a pipe between parent and child processes.
9333         Skip closing parent_fd.
9334         (monitor_child): New function.
9335         (do_exit): Likewise.
9336         (notify_parent): Likewise.
9337         * nscd/nscd.h (notify_parent): Likewise.
9338         (do_exit): Likewise.
9339
9340 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
9341
9342         * malloc/malloc.c (__libc_calloc): Revert last change.
9343
9344 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9345
9346         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9347
9348 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9349
9350         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9351         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9352         implementation.
9353         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9354         (__libc_ifunc_impl_list): Likewise.
9355         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9356         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9357         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9358         * string/strrchr.c: Define STRRCHR.
9359
9360 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
9361
9362         * benchtest/bench-strtok.c (simple_strtok): Delete.
9363         (strtok_string): Use as benchmark.
9364         * string/strtok (STRTOK): New macro.
9365
9366 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
9367
9368         * manual/threads.texi: Add header and standard comments to all
9369         functions.
9370
9371         * elf/dl-lookup.c (check_match): New function.
9372         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9373         (do_lookup_x): Remove nested function check_match. Use non-nested
9374         function check_match.
9375
9376 2014-02-28  Roland McGrath  <roland@hack.frob.com>
9377
9378         * csu/Makefile (generated, before-compile): Use += rather than =.
9379         * catgets/Makefile (generated, generated-dirs): Likewise.
9380         * debug/Makefile (generated): Likewise.
9381         * dlfcn/Makefile (generated): Likewise.
9382         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9383         * iconvdata/Makefile (before-compile, generated): Likewise.
9384         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9385         * libio/Makefile (generated): Likewise.
9386         * malloc/Makefile (generated): Likewise.
9387         * manual/Makefile (generated, generated-dirs): Likewise.
9388         * misc/Makefile (generated): Likewise.
9389         * posix/Makefile (generated): Likewise.
9390         * resolv/Makefile (generated): Likewise.
9391         * sunrpc/Makefile (generated, generated-dirs): Likewise.
9392         * timezone/Makefile (generated, generated-dirs): Likewise.
9393
9394         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9395
9396 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9397
9398         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9399         power8 implementation.
9400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9401         file: POWER8 llround ifunc implementation.
9402         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9403         (__lllround): Add POWER8 implementation.
9404         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9405         POWER8 llround implementation.
9406
9407         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9408         power8 implementation.
9409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9410         file: POWER8 llrint ifunc implementation.
9411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9412         Add POWER8 implementation.
9413         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9414         POWER8 llrint implementation.
9415
9416         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9417         power8 implementation.
9418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9419         file: POWER8 finite ifunc implementation.
9420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9421         Add POWER8 implementation.
9422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9423         Likewise.
9424         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9425         POWER8 finite implementation.
9426         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9427
9428         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9429         power8 implementation.
9430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9431         file: POWER8 isinf ifunc implementation.
9432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9433         POWER8 implementation.
9434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9435         Likewise.
9436         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9437         isinf implementation.
9438         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9439
9440         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9441         (INIT_ARCH): Add hwcap2 initialization.
9442         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9443         power8 implementation.
9444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9445         file: POWER8 isnan ifunc implementation.
9446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9447         POWER8 implementation.
9448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9449         Likewise.
9450         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9451         isnan implementation.
9452         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9453
9454 2014-02-27  Joey Ye  <joey.ye@arm.com>
9455
9456         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9457         (_FP_NANFRAC_Q): Set to zero.
9458
9459 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9460
9461         [BZ #16623]
9462         * math/auto-libm-test-in: New test inputs.
9463         * math/auto-libm-test-out: Regenerate.
9464         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9465         and DA.
9466         (__cos): Likewise.
9467         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9468
9469 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
9470
9471         * scripts/evaluate-test.sh: Take new argument indicating whether
9472         failure is expected.
9473         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9474         indicating whether failure is expected.
9475         * conform/Makefile (test-xfail-run-conformtest): New variable.
9476         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9477         level.
9478         * posix/Makefile (test-xfail-annexc): New variable.
9479         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9480
9481 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
9482
9483         * argp/Makefile: Include Makeconfig immediately after defining
9484         subdir.
9485         * assert/Makefile: Likewise.
9486         * benchtests/Makefile: Likewise.
9487         * catgets/Makefile: Likewise.
9488         * conform/Makefile: Likewise.
9489         * crypt/Makefile: Likewise.
9490         * csu/Makefile: Likewise.
9491         (all): Remove target.
9492         * ctype/Makefile: Include Makeconfig immediately after defining
9493         subdir.
9494         * debug/Makefile: Likewise.
9495         * dirent/Makefile: Likewise.
9496         * dlfcn/Makefile: Likewise.
9497         * gmon/Makefile: Likewise.
9498         * gnulib/Makefile: Likewise.
9499         * grp/Makefile: Likewise.
9500         * gshadow/Makefile: Likewise.
9501         * hesiod/Makefile: Likewise.
9502         * hurd/Makefile: Likewise.
9503         (all): Remove target.
9504         * iconvdata/Makefile: Include Makeconfig immediately after
9505         defining subdir.
9506         * inet/Makefile: Likewise.
9507         * intl/Makefile: Likewise.
9508         * io/Makefile: Likewise.
9509         * libio/Makefile: Likewise.
9510         (all): Remove target.
9511         * locale/Makefile: Include Makeconfig immediately after defining
9512         subdir.
9513         * login/Makefile: Likewise.
9514         * mach/Makefile: Likewise.
9515         (all): Remove target.
9516         * malloc/Makefile: Include Makeconfig immediately after defining
9517         subdir.
9518         (all): Remove target.
9519         * manual/Makefile: Include Makeconfig immediately after defining
9520         subdir.
9521         * math/Makefile: Likewise.
9522         * misc/Makefile: Likewise.
9523         * nis/Makefile: Likewise.
9524         * nss/Makefile: Likewise.
9525         * po/Makefile: Likewise.
9526         (all): Remove target.
9527         * posix/Makefile: Include Makeconfig immediately after defining
9528         subdir.
9529         * pwd/Makefile: Likewise.
9530         * resolv/Makefile: Likewise.
9531         * resource/Makefile: Likewise.
9532         * rt/Makefile: Likewise.
9533         * setjmp/Makefile: Likewise.
9534         * shadow/Makefile: Likewise.
9535         * signal/Makefile: Likewise.
9536         * socket/Makefile: Likewise.
9537         * soft-fp/Makefile: Likewise.
9538         * stdio-common/Makefile: Likewise.
9539         * stdlib/Makefile: Likewise.
9540         * streams/Makefile: Likewise.
9541         * string/Makefile: Likewise.
9542         * sunrpc/Makefile: Likewise.
9543         (all): Remove target.
9544         * sysvipc/Makefile: Include Makeconfig immediately after defining
9545         subdir.
9546         * termios/Makefile: Likewise.
9547         * time/Makefile: Likewise.
9548         * timezone/Makefile: Likewise.
9549         (all): Remove target.
9550         * wcsmbs/Makefile: Include Makeconfig immediately after defining
9551         subdir.
9552         * wctype/Makefile: Likewise.
9553
9554 2014-02-26  Steve Ellcey  <sellcey@mips.com>
9555
9556         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9557         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9558         (libc_feholdexcept_setround_mips): Ditto.
9559         (libc_feholdsetround): New.
9560         (libc_feholdsetroundf): New.
9561         (libc_feholdsetroundl): New.
9562         (libc_feupdateenv_test_mips): New.
9563         (libc_feupdateenv_test): New.
9564         (libc_feupdateenv_testf): New.
9565         (libc_feupdateenv_testl): New.
9566         (libc_feresetround): New.
9567         (libc_feresetroundf): New.
9568         (libc_feresetroundl): New.
9569         (libc_fetestexcept_mips): New.
9570         (libc_fetestexcept): New.
9571         (libc_fetestexceptf): New.
9572         (libc_fetestexceptl): New.
9573         (HAVE_RM_CTX): New.
9574         (libc_feholdexcept_setround_mips_ctx): New.
9575         (libc_feholdexcept_setround_ctx): New.
9576         (libc_feholdexcept_setroundf_ctx): New.
9577         (libc_feholdexcept_setroundl_ctx): New.
9578         (libc_fesetenv_mips_ctx): New.
9579         (libc_fesetenv_ctx): New.
9580         (libc_fesetenv_ctxf): New.
9581         (libc_fesetenv_ctxl): New.
9582         (libc_feupdateenv_mips_ctx): New.
9583         (libc_feupdateenv_ctx): New.
9584         (libc_feupdateenvf_ctx): New.
9585         (libc_feupdateenvl_ctx): New.
9586         (libc_feholdsetround_mips_ctx): New.
9587         (libc_feholdsetround_ctx): New.
9588         (libc_feholdsetroundf_ctx): New.
9589         (libc_feholdsetroundl_ctx): New.
9590         (libc_feresetround_mips_ctx): New.
9591         (libc_feresetround_ctx): New.
9592         (libc_feresetroundf_ctx): New.
9593         (libc_feresetroundl_ctx): New.
9594
9595 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
9596
9597         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9598
9599         * manual/ipc.texi: New file.
9600         * manual/Makefile (chapters): Add ipc.
9601         * manual/job.texi: Add "Inter-Process Communication" to next.
9602         * manual/process.texi: Add "Inter-Process Communication" to prev.
9603
9604 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9605
9606         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9607
9608 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
9609
9610         * malloc/malloc.c (__libc_calloc): Simplify implementation.
9611
9612         * manual/arith.texi: Fix spaces after sentences.
9613         * manual/charset.texi: Likewise.
9614         * manual/errno.texi: Likewise.
9615         * manual/install.texi: Likewise.
9616         * manual/llio.texi: Likewise.
9617         * manual/locale.texi: Likewise.
9618         * manual/maint.texi: Likewise.
9619         * manual/math.texi: Likewise.
9620         * manual/memory.texi: Likewise.
9621         * manual/message.texi: Likewise.
9622         * manual/probes.texi: Likewise.
9623         * manual/resource.texi: Likewise.
9624         * manual/signal.texi: Likewise.
9625         * manual/socket.texi: Likewise.
9626         * manual/stdio.texi: Likewise.
9627         * manual/string.texi: Likewise.
9628         * manual/time.texi: Likewise.
9629         * manual/users.texi: Likewise.
9630
9631 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
9632
9633         [BZ #16632]
9634         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9635         _DEFAULT_SOURCE is defined.
9636
9637 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
9638             Carlos O'Donell  <carlos@redhat.com>
9639
9640         [BZ #16613]
9641         * elf/dl-tls.c (_dl_count_modids): New function.
9642         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9643         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9644         audit library and increment generation counter.
9645         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9646         * elf/tst-audit9.c: New file.
9647         * elf/tst-auditmod9a.c: New file.
9648         * elf/tst-auditmod9b.c: New file.
9649         * elf/Makefile: Add rules to build and run tst-audit9.
9650
9651 2014-02-25  Florian Weimer  <fweimer@redhat.com>
9652
9653         [BZ #15347]
9654         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9655
9656 2014-02-25  Will Newton  <will.newton@linaro.org>
9657
9658         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9659         (__longjmp): Restore sp and lr before restoring callee
9660         saved registers.  Add longjmp and longjmp_target
9661         SystemTap probe point.
9662         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9663         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9664         Define to zero to match jmpbuf layout.
9665         * sysdeps/arm/setjmp.S: Include stap-probe.h.
9666         (__sigsetjmp): Save sp and lr before saving callee
9667         saved registers.  Add setjmp SystemTap probe point.
9668
9669 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
9670
9671         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9672
9673 2014-02-24  Andreas Schwab  <schwab@suse.de>
9674
9675         [BZ #15804]
9676         * elf/pldd.c (wait_for_ptrace_stop): New function.
9677         (main): Call it after attaching.
9678
9679 2014-02-22  Roland McGrath  <roland@hack.frob.com>
9680
9681         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9682         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9683         Versions files is now verboten.
9684         * hurd/Versions (libc: GLIBC_2.0):
9685         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9686         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9687         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9688         * mach/Versions: Likewise.
9689
9690         * csu/Versions: Remove unused %include.
9691         * resolv/Versions: Likewise.
9692
9693 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
9694
9695         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9696         ($(objpfx)check-local-headers.out): Likewise.
9697         ($(objpfx)begin-end-check.out): Likewise.
9698         * Makerules (check-abi-%.out): Likewise.
9699         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9700         ($(objpfx)test2.cat): Likewise.
9701         ($(objpfx)de/libc.cat): Likewise.
9702         ($(objpfx)test-gencat.out): Likewise.
9703         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9704         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9705         ($(objpfx)noload-mem): Likewise.
9706         ($(objpfx)tst-pathopt.out): Likewise.
9707         ($(objpfx)tst-rtld-load-self.out): Likewise.
9708         ($(objpfx)tst-array1-cmp.out): Likewise.
9709         ($(objpfx)tst-array1-static-cmp.out): Likewise.
9710         ($(objpfx)tst-array2-cmp.out): Likewise.
9711         ($(objpfx)tst-array3-cmp.out): Likewise.
9712         ($(objpfx)tst-array4-cmp.out): Likewise.
9713         ($(objpfx)tst-array5-cmp.out): Likewise.
9714         ($(objpfx)tst-array5-static-cmp.out): Likewise.
9715         ($(objpfx)check-textrel.out): Likewise.
9716         ($(objpfx)check-execstack.out): Likewise.
9717         ($(objpfx)check-localplt.out): Likewise.
9718         ($(objpfx)order2-cmp.out): Likewise.
9719         ($(objpfx)tst-leaks1-mem): Likewise.
9720         ($(objpfx)tst-leaks1-static-mem): Likewise.
9721         ($(objpfx)tst-initorder-cmp.out): Likewise.
9722         ($(objpfx)tst-initorder2-cmp.out): Likewise.
9723         ($(objpfx)tst-unused-dep.out): Likewise.
9724         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9725         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9726         * iconv/Makefile (test-iconvconfig): Likewise.
9727         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9728         ($(objpfx)iconv-test.out): Likewise.
9729         ($(objpfx)tst-tables.out): Likewise.
9730         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9731         ($(objpfx)tst-gettext.out): Likewise.
9732         ($(objpfx)tst-translit.out): Likewise.
9733         ($(objpfx)tst-gettext2.out): Likewise.
9734         ($(objpfx)tst-gettext4.out): Likewise.
9735         ($(objpfx)tst-gettext6.out): Likewise.
9736         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9737         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9738         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9739         ($(objpfx)tst-fopenloc-mem.out): Likewise.
9740         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9741         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9742         * posix/Makefile ($(objpfx)globtest.out): Likewise.
9743         ($(objpfx)wordexp-tst.out): Likewise.
9744         ($(objpfx)annexc.out): Likewise.
9745         ($(objpfx)tst-fnmatch-mem): Likewise.
9746         ($(objpfx)bug-regex2-mem): Likewise.
9747         ($(objpfx)bug-regex14-mem): Likewise.
9748         ($(objpfx)bug-regex21-mem): Likewise.
9749         ($(objpfx)bug-regex31-mem): Likewise.
9750         ($(objpfx)tst-vfork3-mem): Likewise.
9751         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9752         ($(objpfx)tst-pcre-mem): Likewise.
9753         ($(objpfx)tst-boost-mem): Likewise.
9754         ($(objpfx)tst-getconf.out): Likewise.
9755         ($(objpfx)bug-ga2-mem): Likewise.
9756         ($(objpfx)bug-glob2-mem): Likewise.
9757         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9758         ($(objpfx)mtrace-tst-leaks2): Likewise.
9759         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9760         ($(objpfx)tst-printf.out): Likewise.
9761         ($(objpfx)tst-setvbuf1.out): Likewise.
9762         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9763         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9764         ($(objpfx)tst-fmtmsg.out): Likewise.
9765         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9766         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9767
9768         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9769         * bits/sigaction.h [__USE_MISC]: Likewise.
9770         * bits/waitstatus.h: Update #endif comments.
9771         * ctype/ctype.h: Likewise.
9772         * dirent/dirent.h: Likewise.
9773         [__USE_MISC]: Remove redundant conditionals.
9774         * grp/grp.h: Update #endif comments.
9775         [__USE_GNU]: Remove redundant conditionals.
9776         [__USE_MISC]: Likewise.
9777         * inet/netinet/in.h [__USE_GNU]: Likewise.
9778         * io/sys/stat.h [__USE_MISC]: Likewise.
9779         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9780         * libio/bits/stdio.h: Update #endif comments.
9781         [__USE_MISC]: Remove redundant conditionals.
9782         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9783         * libio/stdio.h: Update #endif comments.
9784         [__USE_MISC]: Remove redundant conditionals.
9785         * math/bits/math-finite.h [__USE_MISC]: Likewise.
9786         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9787         * math/math.h: Update #else and #endif comments.
9788         [__USE_MISC]: Remove redundant conditionals.
9789         * misc/sys/uio.h: Update #endif comments.
9790         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9791         * posix/glob.h [__USE_MISC]: Likewise.
9792         * posix/sys/types.h: Update #endif comments.
9793         [__USE_MISC]: Remove redundant conditionals.
9794         * posix/sys/wait.h: Update #endif comments.
9795         [__USE_MISC]: Remove redundant conditionals.
9796         * posix/unistd.h: Update #endif comments.
9797         [__USE_MISC]: Remove redundant conditionals.
9798         * pwd/pwd.h [__USE_GNU]: Likewise.
9799         [__USE_MISC]: Likewise.
9800         * resolv/netdb.h [__USE_GNU]: Likewise.
9801         * signal/signal.h: Update #endif comments.
9802         [__USE_MISC]: Remove redundant conditionals.
9803         * stdlib/stdlib.h: Update #else and #endif comments.
9804         [__USE_MISC]: Remove redundant conditionals.
9805         [__USE_GNU]: Likewise.
9806         * string/bits/string2.h [__USE_MISC]: Likewise.
9807         * string/string.h: Update #endif comments.
9808         [__USE_MISC]: Remove redundant conditionals.
9809         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9810         Likewise.
9811         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9812         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9813         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9814         Likewise.
9815         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9816         Likewise.
9817         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9818         comments.
9819         [__USE_MISC]: Remove redundant conditionals.
9820         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9821         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9822         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9823         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9824         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9825         Likewise.
9826         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9827         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9828         Likewise.
9829         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9830         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9831         Likewise.
9832         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9833         Likewise.
9834         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9835         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9836         Likewise.
9837         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9838         Likewise.
9839         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9840         * sysdeps/x86/bits/string.h: Update #endif comments.
9841         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9842         conditionals.
9843         * time/sys/time.h: Update #endif comments.
9844         * time/time.h: Likewise.
9845         [__USE_MISC]: Remove redundant conditionals.
9846
9847 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
9848
9849         [BZ #16600]
9850         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9851
9852 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
9853
9854         * Versions.def (librt): Add GLIBC_2.17.
9855
9856 2014-02-21  Adam Conrad  <adconrad@0c3.net>
9857
9858         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9859         synonym for _SYS_AUXV_H to allow direct inclusion.
9860         * sysdeps/sparc/bits/hwcap.h: Likewise.
9861         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9862         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9863         * sysdeps/sparc/sysdep.h: Likewise.
9864
9865 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9866
9867         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9868
9869 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9870
9871         * benchtests/bench-strrchr.c: Print length instead of position.
9872
9873 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
9874
9875         [BZ #16611]
9876         * sysdeps/unix/sysv/linux/kernel-features.h
9877         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9878         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9879         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9880         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9881         Likewise.
9882         [__i386__ || __powerpc__ || __sh__ || __sparc__]
9883         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9884         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9885         (__ASSUME_SENDMMSG): Define instead of using previous
9886         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9887         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9888         (__ASSUME_SENDMMSG_SYSCALL): Define.
9889         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9890         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9891         Likewise.
9892         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9893         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9894         Likewise.
9895         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9896         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9897         Likewise.
9898         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9899         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9900         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9901         [__ASSUME_SENDMMSG]: Change conditionals to
9902         [__ASSUME_SENDMMSG_SOCKETCALL].
9903         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9904         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9905         Define.
9906         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9907         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9908         Likewise.
9909         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9910         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9911         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9912         [!__ASSUME_SENDMMSG]: Change conditional to
9913         [!__ASSUME_SENDMMSG_SOCKETCALL].
9914         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9915         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9916         Define.
9917
9918         [BZ #16610]
9919         * sysdeps/unix/sysv/linux/kernel-features.h
9920         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9921         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9922         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9923         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9924         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9925         [__i386__ || __sparc__]
9926         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9927         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9928         (__ASSUME_RECVMMSG): Define instead of using previous
9929         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9930         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9931         (__ASSUME_RECVMMSG_SYSCALL): Define.
9932         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9933         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9934         Likewise.
9935         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9936         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9937         Likewise.
9938         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9939         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9940         Likewise.
9941         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9942         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9943         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9944         [__ASSUME_RECVMMSG]: Change condition to
9945         [__ASSUME_RECVMMSG_SOCKETCALL].
9946         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9947         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9948         Define.
9949         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9950         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9951         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9952         Likewise.
9953         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9954         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9955         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9956         [!__ASSUME_RECVMMSG]: Change condition to
9957         [!__ASSUME_RECVMMSG_SOCKETCALL].
9958         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9959         (__ASSUME_RECVMMSG_SYSCALL): Define.
9960
9961         [BZ #16609]
9962         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9963         __powerpc__ || __s390__ || __sh__ || __sparc__]
9964         (__ASSUME_SOCKETCALL): Define.
9965         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9966         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9967         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9968         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9969         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9970         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9971         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9972         (__ASSUME_ACCEPT4): Define instead of using previous
9973         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9974         __powerpc__ || __sparc__ || __s390__)] condition.
9975         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9976         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9977         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9978         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9979         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9980         [!__ASSUME_ACCEPT4]: Change condition to
9981         [!__ASSUME_ACCEPT4_SOCKETCALL].
9982         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9983         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
9984         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9985         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9986         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9987         __ASSUME_ACCEPT4_SYSCALL.
9988         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9989         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9990         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9991         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9992         __ASSUME_ACCEPT4_SYSCALL.
9993         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9994         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9995         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9996         [__ASSUME_ACCEPT4]: Change condition to
9997         [__ASSUME_ACCEPT4_SOCKETCALL].
9998         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9999         (__ASSUME_SOCKETCALL): Define.
10000         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10001         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10002         (__ASSUME_SOCKETCALL): Define.
10003         (__ASSUME_ACCEPT4): Remove.
10004         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10005         Define.
10006         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10007         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10008         Likewise.
10009         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10010         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10011
10012         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10013         macro.
10014         (HWCAP_ARM_LPAE): Likewise.
10015         (HWCAP_ARM_EVTSTRM): Likewise.
10016         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10017         Add vpfd32, lpae and evtstrm.
10018         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10019         Increase to 22.
10020
10021 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
10022
10023         * math/auto-libm-test-in: Add tests of clog10.
10024         * math/auto-libm-test-out: Regenerated.
10025         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10026         * sysdeps/i386/fpu/libm-test-ulps: Update.
10027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10028
10029 2014-02-18  Andreas Schwab  <schwab@suse.de>
10030
10031         [BZ #16574]
10032         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10033         Store non-zero if the second buffer was newly allocated.
10034         (send_dg): Likewise.
10035         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10036         to send_vc and send_dg.
10037         (res_nsend): Pass NULL for ansp2_malloced.
10038         * resolv/res_query.c (__libc_res_nquery): Add parameter
10039         answerp2_malloced and pass it down to __libc_res_nsend.
10040         (res_nquery): Pass additional NULL to __libc_res_nquery.
10041         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10042         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
10043         second answer buffer if answerp2_malloced was set.
10044         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10045         (__libc_res_nquerydomain): Add parameter
10046         answerp2_malloced and pass it down to __libc_res_nquery.
10047         (res_nquerydomain): Pass additional NULL to
10048         __libc_res_nquerydomain.
10049         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10050         additional NULL to __libc_res_nsend and __libc_res_nquery.
10051         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10052         additional NULL to __libc_res_nsearch.
10053         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
10054         parameter of __libc_res_nsearch to check for separately allocated
10055         second buffer.
10056         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10057         __libc_res_nquery.
10058         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10059         additional NULL to __libc_res_nquery.
10060         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10061         __libc_res_nsearch.
10062         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10063         * include/resolv.h: Update prototypes of __libc_res_nquery,
10064         __libc_res_nsearch, __libc_res_nsend.
10065
10066 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
10067
10068         * math/auto-libm-test-in: Add tests of fma.
10069         * math/auto-libm-test-out: Regenerated.
10070         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10071         (fma_towardzero_test_data): Likewise.
10072         (fma_downward_test_data): Likewise.
10073         (fma_upward_test_data): Likewise.
10074         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10075         mpc_mode.
10076         (rounding_modes): Add values for new field.
10077         (func_calc_method): Add value mpfr_fff_f.
10078         (func_calc_desc): Add mpfr_fff_f union field.
10079         (test_function): Add field exact_args.
10080         (FUNC): Add macro argument EXACT_ARGS.
10081         (FUNC_mpfr_f_f): Update call to FUNC.
10082         (FUNC_mpfr_f_f): Likewise.
10083         (FUNC_mpfr_ff_f): Likewise.
10084         (FUNC_mpfr_if_f): Likewise.
10085         (FUNC_mpc_c_f): Likewise.
10086         (FUNC_mpc_c_c): Likewise.
10087         (test_functions): Add fma.  Update calls to FUNC.
10088         (handle_input_arg): Add argument exact_args.
10089         (add_test): Update call to handle_input_arg.
10090         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
10091         (output_for_one_input_case): Update call to calc_generic_results.
10092         Recalculate exact zero results in each rounding mode.
10093
10094         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10095         non-negative before setting low bit.
10096         * math/auto-libm-test-in: Mark one asin test possibly having
10097         spurious underflow.
10098         * math/auto-libm-test-out: Regenerated.
10099         * sysdeps/i386/fpu/libm-test-ulps: Update.
10100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10101
10102 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
10103
10104         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10105         * sysdeps/unix/sysv/linux/microblaze: Move directory from
10106         ports/sysdeps/unix/sysv/linux/microblaze.
10107         * README: Add missing listing for microblaze*-*-linux-gnu.
10108
10109 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
10110
10111         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10112         duplicate code
10113
10114 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
10115
10116         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10117         * sysdeps/unix/sysv/linux/ia64: Move directory from
10118         ports/sysdeps/unix/sysv/linux/ia64.
10119         * README: Update listing for ia64-*-linux-gnu.
10120
10121 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
10122             Joseph Myers  <joseph@codesourcery.com>
10123
10124         * Makeconfig (test-name): New variable.
10125         (evaluate-test): Likewise.
10126         * Makerules (do-test-clean): Remove .test-result files.
10127         (common-mostlyclean): Likewise.
10128         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10129         * scripts/evaluate-test.sh: New file.
10130
10131 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
10132
10133         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10134         separate $(objpfx)tst-fopenloc-cmp.out and
10135         $(objpfx)tst-fopenloc-mem.out targets.
10136         (tests): Update dependencies.
10137         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10138         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10139         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10140         (tst-rxspencer-no-utf8-ARGS): New variable.
10141         (tst-rxspencer-no-utf8-ENV): Likewise.
10142         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10143         instead of $(objpfx)tst-rxspencer-mem.
10144         ($(objpfx)tst-rxspencer-mem): Change target to
10145         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
10146         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10147         * posix/tst-rxspencer-no-utf8.c: New file.
10148
10149         * elf/Makefile ($(objpfx)order.out): Remove rule.
10150         [$(run-built-tests) = yes] (tests): Depend on
10151         $(objpfx)order-cmp.out.
10152         ($(objpfx)order-cmp.out): New rule.
10153         [$(run-built-tests) = yes] (tests): Depend on
10154         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10155         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10156         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10157         $(objpfx)tst-array5-static-cmp.out.
10158         ($(objpfx)tst-array1.out): Remove rule.
10159         ($(objpfx)tst-array1-cmp.out): New rule.
10160         ($(objpfx)tst-array1-static.out): Remove rule.
10161         ($(objpfx)tst-array1-static-cmp.out): New rule.
10162         ($(objpfx)tst-array2.out): Remove rule.
10163         ($(objpfx)tst-array2-cmp.out): New rule.
10164         ($(objpfx)tst-array3.out): Remove rule.
10165         ($(objpfx)tst-array3-cmp.out): New rule.
10166         ($(objpfx)tst-array4.out): Remove rule.
10167         ($(objpfx)tst-array4-cmp.out): New rule.
10168         ($(objpfx)tst-array5.out): Remove rule.
10169         ($(objpfx)tst-array5-cmp.out): New rule.
10170         ($(objpfx)tst-array5-static.out): Remove rule.
10171         ($(objpfx)tst-array5-static-cmp.out): New rule.
10172         [$(run-built-tests) = yes] (tests): Depend on
10173         $(objpfx)order2-cmp.out.
10174         ($(objpfx)order2.out): Remove rule.
10175         ($(objpfx)order2-cmp.out): New rule.
10176         ($(objpfx)tst-initorder.out): Remove rule.
10177         [$(run-built-tests) = yes] (tests): Depend on
10178         $(objpfx)tst-initorder-cmp.out.
10179         ($(objpfx)tst-initorder-cmp.out): New rule.
10180         ($(objpfx)tst-initorder2.out): Remove rule.
10181         [$(run-built-tests) = yes] (tests): Depend on
10182         $(objpfx)tst-initorder2-cmp.out.
10183         ($(objpfx)tst-initorder2-cmp.out): New rule.
10184         [$(run-built-tests) = yes] (tests): Depend on
10185         $(objpfx)tst-unused-dep-cmp.out.
10186         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10187         ($(objpfx)tst-unused-dep-cmp.out): New rule.
10188         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10189         on $(objpfx)tst-setvbuf1-cmp.out.
10190         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10191         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10192         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10193         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10194         ($(objpfx)tst-svc.out): Remove rule.
10195         ($(objpfx)tst-svc-cmp.out): New rule.
10196
10197 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
10198
10199         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10200         * ctype/ctype.h [__USE_MISC]: Likewise.
10201         * dirent/dirent.h [__USE_MISC]: Likewise.
10202         * grp/grp.h [__USE_MISC]: Likewise.
10203         * io/fcntl.h [__USE_MISC]: Likewise.
10204         * io/sys/stat.h [__USE_MISC]: Likewise.
10205         * libio/stdio.h [__USE_MISC]: Likewise.
10206         * posix/unistd.h [__USE_MISC]: Likewise.
10207         * pwd/pwd.h [__USE_MISC]: Likewise.
10208         * stdlib.h [__USE_MISC]: Likewise.
10209         * string/bits/string2.h [__USE_MISC]: Likewise.
10210         * string/string.h [__USE_MISC]: Likewise.
10211         * time/time.h [__USE_MISC]: Likewise.
10212
10213 2014-02-13  Andreas Schwab  <schwab@suse.de>
10214
10215         [BZ #16574]
10216         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10217         second answer buffer if it was separately allocated.
10218
10219 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
10220
10221         * sysdeps/mips/math-tests.h: Include <features.h>.
10222         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10223         (ROUNDING_TESTS_long_double): Do not define.
10224         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10225         (EXCEPTION_TESTS_long_double): Likewise.
10226         * sysdeps/mips/mips64/libm-test-ulps: Update.
10227
10228         * include/features.h (__USE_BSD): Remove macro definitions.
10229         (__USE_SVID): Likewise.
10230         (_BSD_SOURCE): Likewise.
10231         (_SVID_SOURCE): Likewise.
10232         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10233         from definition of _DEFAULT_SOURCE.
10234         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10235         [_DEFAULT_SOURCE].
10236         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10237         * bits/mman.h [__USE_BSD]: Likewise.
10238         * bits/termios.h [__USE_BSD]: Likewise.
10239         * bits/waitstatus.h [__USE_BSD]: Likewise.
10240         * ctype/ctype.h [__USE_SVID]: Likewise.
10241         * dirent/dirent.h [__USE_BSD]: Likewise.
10242         * grp/grp.h [__USE_SVID]: Likewise.
10243         [__USE_BSD]: Likewise.
10244         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10245         * io/fcntl.h [__USE_BSD]: Likewise.
10246         * io/ftw.h [__USE_BSD]: Likewise.
10247         * io/sys/stat.h [__USE_BSD]: Likewise.
10248         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10249         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10250         * libio/stdio.h [__USE_SVID]: Likewise.
10251         [__USE_BSD]: Likewise.
10252         * math/math.h [__USE_SVID]: Likewise.
10253         [__USE_BSD]: Likewise.
10254         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10255         * misc/bits/syslog.h [__USE_BSD]: Likewise.
10256         * misc/search.h [__USE_SVID]: Likewise.
10257         * misc/sys/mman.h [__USE_BSD]: Likewise.
10258         * misc/sys/syslog.h [__USE_BSD]: Likewise.
10259         * misc/sys/uio.h [__USE_BSD]: Likewise.
10260         * posix/bits/unistd.h [__USE_BSD]: Likewise.
10261         * posix/glob.h [__USE_BSD]: Likewise.
10262         * posix/regex.h [__USE_BSD]: Likewise.
10263         * posix/sys/types.h [__USE_BSD]: Likewise.
10264         [__USE_SVID]: Likewise.
10265         * posix/sys/utsname.h [__USE_SVID]: Likewise.
10266         * posix/sys/wait.h [__USE_BSD]: Likewise.
10267         [__USE_SVID]: Likewise.
10268         * posix/unistd.h [__USE_BSD]: Likewise.
10269         [__USE_SVID]: Likewise.
10270         * pwd/pwd.h [__USE_SVID]: Likewise.
10271         * resolv/netdb.h [__USE_BSD]: Likewise.
10272         * setjmp/setjmp.h [__USE_BSD]: Likewise.
10273         * signal/signal.h [__USE_BSD]: Likewise.
10274         [__USE_SVID]: Likewise.
10275         * socket/sys/socket.h [__USE_BSD]: Likewise.
10276         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10277         * stdlib/stdlib.h [__USE_BSD]: Likewise.
10278         [__USE_SVID]: Likewise.
10279         * string/bits/string2.h [__USE_BSD]: Likewise.
10280         [__USE_SVID]: Likewise.
10281         * string/bits/string3.h [__USE_BSD]: Likewise.
10282         * string/endian.h [__USE_BSD]: Likewise.
10283         * string/string.h [__USE_SVID]: Likewise.
10284         [__USE_BSD]: Likewise.
10285         * string/strings.h [__USE_BSD]: Likewise.
10286         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10287         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10288         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10289         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10290         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10291         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10292         Likewise.
10293         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10294         Likewise.
10295         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10296         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10297         Likewise.
10298         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10299         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10300         Likewise.
10301         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10302         Likewise.
10303         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10304         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10305         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10306         Likewise.
10307         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10308         Likewise.
10309         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10310         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10311         * termios/termios.h [__USE_BSD]: Likewise.
10312         * time/sys/time.h [__USE_BSD]: Likewise.
10313         * time/time.h [__USE_BSD]: Likewise.
10314         [__USE_SVID]: Likewise.
10315
10316         * Makefile (subdir_targets): Remove subdir_lint.out.
10317
10318         * stdio-common/Makefile (do-tst-unbputc): Remove target.
10319         (do-tst-printf): Likewise.
10320         (tests): Depend directly on $(objpfx)tst-unbputc.out and
10321         $(objpfx)tst-printf.out.
10322
10323         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10324
10325         * Makerules (check-abi-%): Change target to
10326         $(objpfx)check-abi-%.out.
10327         (check-abi target): Update dependencies.
10328         (check-abi-pattern variable): Redirect output of diff to $@.
10329         (check-abi variable): Likewise.
10330         * elf/Makefile (check-abi): Update dependencies.
10331
10332         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10333         unused.
10334         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10335         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10336         subnormal range.
10337         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10338         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10339         value has largest subnormal exponent.
10340         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10341         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10342         * sysdeps/aarch64/soft-fp/sfp-machine.h
10343         (_FP_TININESS_AFTER_ROUNDING): New macro.
10344         * sysdeps/alpha/soft-fp/sfp-machine.h
10345         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10346         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10347         Likewise.
10348         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10349         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10350         * sysdeps/mips/soft-fp/sfp-machine.h
10351         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10352         * sysdeps/powerpc/soft-fp/sfp-machine.h
10353         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10354         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10355         Likewise.
10356         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10357         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10358         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10359         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10360         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10361         Likewise.
10362
10363 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
10364
10365         [BZ #16545]
10366         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10367         model 1.
10368
10369 2014-02-12  Richard Henderson  <rth@redhat.com>
10370
10371         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10372         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10373         * sysdeps/unix/sysv/linux/alpha: Move directory from
10374         ports/sysdeps/unix/sysv/linux/alpha.
10375         * README: Update listing for alpha-*-linux-gnu.
10376
10377 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
10378
10379         * include/features.h: Update comment documenting feature test
10380         macros.
10381         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
10382         _DEFAULT_SOURCE.
10383         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10384         (_SVID_SOURCE): Likewise.
10385         (_DEFAULT_SOURCE): Update description of default features.
10386         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10387         with _GNU_SOURCE.
10388         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10389         (S_ISVTX): Likewise.
10390         * manual/math.texi (Mathematical Constants): Likewise.
10391         * manual/signal.texi (Interrupted Primitives): Likewise.
10392         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10393         * math/test-matherr.c (_SVID_SOURCE): Do not define.
10394         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10395         Don't refer to _SVID_SOURCE in warning text.
10396
10397         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10398
10399         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10400         already defined.
10401         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10402         * sysdeps/mips/dl-lookup.c: Remove.
10403         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10404
10405 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10406
10407         [BZ #16447]
10408         * math/auto-libm-test-in: Add testcase for expl.
10409         * math/auto-libm-test-out: Regenerate.
10410         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10411         calculation of unsafe.
10412         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10413
10414 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10415
10416         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10417         * sysdeps/unix/sysv/linux/aarch64: Move directory from
10418         ports/sysdeps/unix/sysv/linux/aarch64.
10419         * README: Update listing for aarch64*-*-linux-gnu.
10420
10421 2014-02-11  Will Newton  <will.newton@linaro.org>
10422
10423         * manual/probes.texi (Mathematical Function Probes): Use
10424         "triggered" instead of "hit".
10425
10426         * manual/probes.texi (Internal Probes): Add documentation
10427         of setjmp, longjmp and longjmp_target probes.
10428
10429         * include/stap-probe.h: Add comment about probe argument
10430         format.
10431
10432         * malloc/mtrace.c (attribute_hidden): Remove unused macro
10433         definition.  (tr_where, tr_freehook, tr_mallochook,
10434         tr_reallochook, tr_memalignhook): Use ANSI protoype.
10435
10436 2014-02-11  David S. Miller  <davem@davemloft.net>
10437
10438         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10439         processing int_tests.
10440
10441 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
10442
10443         * sysdeps/mips: Move directory from ports/sysdeps/mips.
10444         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10445         * sysdeps/unix/sysv/linux/mips: Move directory from
10446         ports/sysdeps/unix/sysv/linux/mips.
10447         * README: Update listing for mips-*-linux-gnu and
10448         mips64-*-linux-gnu.
10449
10450 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
10451
10452         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10453         * sysdeps/unix/sysv/linux/m68k: Move directory from
10454         ports/sysdeps/unix/sysv/linux/m68k.
10455         * README: Update listing for m68k-*-linux-gnu.
10456
10457 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
10458
10459         * sysdeps/tile: Move directory from ports/sysdeps/tile.
10460         * sysdeps/unix/sysv/linux/generic: Move directory from
10461         ports/sysdeps/unix/sysv/linux/generic.
10462         * sysdeps/unix/sysv/linux/tile: Move directory from
10463         ports/sysdeps/unix/sysv/linux/tile.
10464         * README: Update listing for tile*-*-linux-gnu.
10465
10466 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
10467
10468         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10469         __builtin_expect.
10470         * benchtests/bench-memmem.c (simple_memmem): Likewise.
10471         * catgets/open_catalog.c (__open_catalog): Likewise.
10472         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10473         * debug/confstr_chk.c: Likewise.
10474         * debug/fread_chk.c (__fread_chk): Likewise.
10475         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10476         * debug/getgroups_chk.c: Likewise.
10477         * debug/mbsnrtowcs_chk.c: Likewise.
10478         * debug/mbsrtowcs_chk.c: Likewise.
10479         * debug/mbstowcs_chk.c: Likewise.
10480         * debug/memcpy_chk.c: Likewise.
10481         * debug/memmove_chk.c: Likewise.
10482         * debug/mempcpy_chk.c: Likewise.
10483         * debug/memset_chk.c: Likewise.
10484         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10485         * debug/strcat_chk.c (__strcat_chk): Likewise.
10486         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10487         * debug/strncat_chk.c (__strncat_chk): Likewise.
10488         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10489         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10490         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10491         * debug/wcpncpy_chk.c: Likewise.
10492         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10493         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10494         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10495         * debug/wcsncpy_chk.c: Likewise.
10496         * debug/wcsnrtombs_chk.c: Likewise.
10497         * debug/wcsrtombs_chk.c: Likewise.
10498         * debug/wcstombs_chk.c: Likewise.
10499         * debug/wmemcpy_chk.c: Likewise.
10500         * debug/wmemmove_chk.c: Likewise.
10501         * debug/wmempcpy_chk.c: Likewise.
10502         * debug/wmemset_chk.c: Likewise.
10503         * dirent/scandirat.c (SCANDIRAT): Likewise.
10504         * dlfcn/dladdr1.c (dladdr1): Likewise.
10505         * dlfcn/dladdr.c (dladdr): Likewise.
10506         * dlfcn/dlclose.c (dlclose_doit): Likewise.
10507         * dlfcn/dlerror.c (__dlerror): Likewise.
10508         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10509         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10510         * dlfcn/dlopen.c (dlopen_doit): Likewise.
10511         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10512         * dlfcn/dlsym.c (dlsym_doit): Likewise.
10513         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10514         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10515         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10516         Likewise.
10517         * elf/dl-conflict.c: Likewise.
10518         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10519         * elf/dl-dst.h: Likewise.
10520         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10521         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10522         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10523         * elf/dl-init.c (call_init, _dl_init): Likewise.
10524         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10525         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10526         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10527         Likewise.
10528         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10529         Likewise.
10530         * elf/dl-minimal.c (__libc_memalign): Likewise.
10531         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10532         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10533         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10534         * elf/dl-sym.c (do_sym): Likewise.
10535         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10536         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10537         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10538         * elf/dl-writev.h (_dl_writev): Likewise.
10539         * elf/ldconfig.c (search_dir): Likewise.
10540         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10541         (dl_main): Likewise.
10542         * elf/setup-vdso.h (setup_vdso): Likewise.
10543         * grp/compat-initgroups.c (compat_call): Likewise.
10544         * grp/fgetgrent.c (fgetgrent): Likewise.
10545         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10546         * grp/putgrent.c (putgrent): Likewise.
10547         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10548         Likewise.
10549         * hurd/hurdinit.c: Likewise.
10550         * iconvdata/8bit-gap.c (struct): Likewise.
10551         * iconvdata/ansi_x3.110.c : Likewise.
10552         * iconvdata/big5.c : Likewise.
10553         * iconvdata/big5hkscs.c : Likewise.
10554         * iconvdata/cp1255.c: Likewise.
10555         * iconvdata/cp1258.c : Likewise.
10556         * iconvdata/cp932.c : Likewise.
10557         * iconvdata/euc-cn.c: Likewise.
10558         * iconvdata/euc-jisx0213.c : Likewise.
10559         * iconvdata/euc-jp.c: Likewise.
10560         * iconvdata/euc-jp-ms.c : Likewise.
10561         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10562         * iconvdata/gb18030.c : Likewise.
10563         * iconvdata/gbbig5.c (const): Likewise.
10564         * iconvdata/gbgbk.c: Likewise.
10565         * iconvdata/gbk.c : Likewise.
10566         * iconvdata/ibm1364.c : Likewise.
10567         * iconvdata/ibm930.c : Likewise.
10568         * iconvdata/ibm932.c: Likewise.
10569         * iconvdata/ibm933.c : Likewise.
10570         * iconvdata/ibm935.c : Likewise.
10571         * iconvdata/ibm937.c : Likewise.
10572         * iconvdata/ibm939.c : Likewise.
10573         * iconvdata/ibm943.c: Likewise.
10574         * iconvdata/iso_11548-1.c: Likewise.
10575         * iconvdata/iso-2022-cn.c : Likewise.
10576         * iconvdata/iso-2022-cn-ext.c : Likewise.
10577         * iconvdata/iso-2022-jp-3.c: Likewise.
10578         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10579         * iconvdata/iso-2022-kr.c : Likewise.
10580         * iconvdata/iso646.c (gconv_end): Likewise.
10581         * iconvdata/iso_6937-2.c : Likewise.
10582         * iconvdata/iso_6937.c : Likewise.
10583         * iconvdata/iso8859-1.c: Likewise.
10584         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10585         * iconvdata/shift_jisx0213.c : Likewise.
10586         * iconvdata/sjis.c : Likewise.
10587         * iconvdata/t.61.c : Likewise.
10588         * iconvdata/tcvn5712-1.c : Likewise.
10589         * iconvdata/tscii.c: Likewise.
10590         * iconvdata/uhc.c : Likewise.
10591         * iconvdata/unicode.c (gconv_end): Likewise.
10592         * iconvdata/utf-16.c (gconv_end): Likewise.
10593         * iconvdata/utf-32.c (gconv_end): Likewise.
10594         * iconvdata/utf-7.c (base64): Likewise.
10595         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10596         * iconv/gconv_close.c (__gconv_close): Likewise.
10597         * iconv/gconv_open.c (__gconv_open): Likewise.
10598         * iconv/gconv_simple.c (internal_ucs4_loop_single)
10599         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10600         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10601         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10602         (ucs4le_internal_loop_single): Likewise.
10603         * iconv/iconv.c (iconv): Likewise.
10604         * iconv/iconv_close.c: Likewise.
10605         * iconv/loop.c (SINGLE): Likewise.
10606         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10607         * include/atomic.h: Likewise.
10608         * inet/inet6_option.c (option_alloc): Likewise.
10609         * intl/bindtextdom.c (set_binding_values): Likewise.
10610         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10611         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10612         * intl/localealias.c (read_alias_file): Likewise.
10613         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10614         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10615         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10616         * libio/fmemopen.c (fmemopen): Likewise.
10617         * libio/iofgets.c (_IO_fgets): Likewise.
10618         * libio/iofgets_u.c (fgets_unlocked): Likewise.
10619         * libio/iofgetws.c (fgetws): Likewise.
10620         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10621         * libio/iogetdelim.c (_IO_getdelim): Likewise.
10622         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10623         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10624         * locale/findlocale.c (_nl_find_locale): Likewise.
10625         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10626         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10627         Likewise.
10628         * locale/setlocale.c (setlocale): Likewise.
10629         * login/programs/pt_chown.c (main): Likewise.
10630         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10631         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10632         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10633         (mmap, mmap64, mremap, munmap): Likewise.
10634         * math/e_exp2l.c: Likewise.
10635         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10636         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10637         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10638         * math/s_catan.c (__catan): Likewise.
10639         * math/s_catanf.c (__catanf): Likewise.
10640         * math/s_catanh.c (__catanh): Likewise.
10641         * math/s_catanhf.c (__catanhf): Likewise.
10642         * math/s_catanhl.c (__catanhl): Likewise.
10643         * math/s_catanl.c (__catanl): Likewise.
10644         * math/s_ccosh.c (__ccosh): Likewise.
10645         * math/s_ccoshf.c (__ccoshf): Likewise.
10646         * math/s_ccoshl.c (__ccoshl): Likewise.
10647         * math/s_cexp.c (__cexp): Likewise.
10648         * math/s_cexpf.c (__cexpf): Likewise.
10649         * math/s_cexpl.c (__cexpl): Likewise.
10650         * math/s_clog10.c (__clog10): Likewise.
10651         * math/s_clog10f.c (__clog10f): Likewise.
10652         * math/s_clog10l.c (__clog10l): Likewise.
10653         * math/s_clog.c (__clog): Likewise.
10654         * math/s_clogf.c (__clogf): Likewise.
10655         * math/s_clogl.c (__clogl): Likewise.
10656         * math/s_csin.c (__csin): Likewise.
10657         * math/s_csinf.c (__csinf): Likewise.
10658         * math/s_csinh.c (__csinh): Likewise.
10659         * math/s_csinhf.c (__csinhf): Likewise.
10660         * math/s_csinhl.c (__csinhl): Likewise.
10661         * math/s_csinl.c (__csinl): Likewise.
10662         * math/s_csqrt.c (__csqrt): Likewise.
10663         * math/s_csqrtf.c (__csqrtf): Likewise.
10664         * math/s_csqrtl.c (__csqrtl): Likewise.
10665         * math/s_ctan.c (__ctan): Likewise.
10666         * math/s_ctanf.c (__ctanf): Likewise.
10667         * math/s_ctanh.c (__ctanh): Likewise.
10668         * math/s_ctanhf.c (__ctanhf): Likewise.
10669         * math/s_ctanhl.c (__ctanhl): Likewise.
10670         * math/s_ctanl.c (__ctanl): Likewise.
10671         * math/w_pow.c: Likewise.
10672         * math/w_powf.c: Likewise.
10673         * math/w_powl.c: Likewise.
10674         * math/w_scalb.c (sysv_scalb): Likewise.
10675         * math/w_scalbf.c (sysv_scalbf): Likewise.
10676         * math/w_scalbl.c (sysv_scalbl): Likewise.
10677         * misc/error.c (error_tail): Likewise.
10678         * misc/pselect.c (__pselect): Likewise.
10679         * nis/nis_callback.c (__nis_create_callback): Likewise.
10680         * nis/nis_call.c (__nisfind_server): Likewise.
10681         * nis/nis_creategroup.c (nis_creategroup): Likewise.
10682         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10683         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10684         * nis/nis_getservlist.c (nis_getservlist): Likewise.
10685         * nis/nis_lookup.c (nis_lookup): Likewise.
10686         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10687         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10688         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10689         * nis/nis_xdr.c (xdr_endpoint): Likewise.
10690         * nis/nss_compat/compat-grp.c (getgrent_next_file)
10691         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10692         * nis/nss_compat/compat-initgroups.c (add_group)
10693         (internal_getgrent_r): Likewise.
10694         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10695         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10696         * nis/nss_compat/compat-spwd.c (getspent_next_file)
10697         (internal_getspnam_r): Likewise.
10698         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10699         (_nss_nis_getaliasbyname_r): Likewise.
10700         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10701         (_nss_nis_getntohost_r): Likewise.
10702         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10703         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10704         (_nss_nis_getgrgid_r): Likewise.
10705         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10706         (internal_nis_gethostent_r, internal_gethostbyname2_r)
10707         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10708         (_nss_nis_gethostbyname4_r): Likewise.
10709         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10710         (initgroups_netid): Likewise.
10711         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10712         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10713         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10714         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10715         (_nss_nis_getprotobynumber_r): Likewise.
10716         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10717         (_nss_nis_getsecretkey): Likewise.
10718         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10719         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10720         (_nss_nis_getpwuid_r): Likewise.
10721         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10722         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10723         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10724         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10725         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10726         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10727         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10728         Likewise.
10729         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10730         (_nss_nisplus_getntohost_r): Likewise.
10731         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10732         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10733         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10734         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10735         Likewise.
10736         * nis/nss_nisplus/nisplus-initgroups.c
10737         (_nss_nisplus_initgroups_dyn): Likewise.
10738         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10739         (_nss_nisplus_getnetbyaddr_r): Likewise.
10740         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10741         (_nss_nisplus_getprotobynumber_r): Likewise.
10742         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10743         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10744         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10745         Likewise.
10746         * nis/nss_nisplus/nisplus-service.c
10747         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10748         (_nss_nisplus_getservbyport_r): Likewise.
10749         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10750         (_nss_nisplus_getspnam_r): Likewise.
10751         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10752         Likewise.
10753         * nscd/aicache.c (addhstaiX): Likewise.
10754         * nscd/cache.c (cache_search, prune_cache): Likewise.
10755         * nscd/connections.c (register_traced_file, send_ro_fd)
10756         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10757         (main_loop_epoll): Likewise.
10758         * nscd/grpcache.c (addgrbyX): Likewise.
10759         * nscd/hstcache.c (addhstbyX): Likewise.
10760         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10761         * nscd/mem.c (gc, mempool_alloc): Likewise.
10762         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10763         (addinnetgrX): Likewise.
10764         * nscd/nscd-client.h (__nscd_acquire_maplock)
10765         (__nscd_drop_map_ref): Likewise.
10766         * nscd/nscd_getai.c (__nscd_getai): Likewise.
10767         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10768         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10769         Likewise.
10770         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10771         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10772         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10773         (__nscd_get_map_ref): Likewise.
10774         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10775         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10776         Likewise.
10777         * nscd/pwdcache.c (addpwbyX): Likewise.
10778         * nscd/selinux.c (preserve_capabilities): Likewise.
10779         * nscd/servicescache.c (addservbyX): Likewise.
10780         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10781         * posix/fnmatch.c (fnmatch): Likewise.
10782         * posix/getopt.c (_getopt_internal_r): Likewise.
10783         * posix/glob.c (glob, glob_in_dir): Likewise.
10784         * posix/wordexp.c (exec_comm_child): Likewise.
10785         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10786         (getanswer_r, gaih_getanswer_slice): Likewise.
10787         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10788         * resolv/res_init.c: Likewise.
10789         * resolv/res_mkquery.c (res_nmkquery): Likewise.
10790         * resolv/res_query.c (__libc_res_nquery): Likewise.
10791         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10792         Likewise.
10793         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10794         * stdio-common/perror.c (perror): Likewise.
10795         * stdio-common/printf_fp.c (___printf_fp): Likewise.
10796         * stdio-common/tmpnam.c (tmpnam): Likewise.
10797         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10798         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10799         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10800         Likewise.
10801         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10802         * stdlib/putenv.c (putenv): Likewise.
10803         * stdlib/setenv.c (__add_to_environ): Likewise.
10804         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10805         * stdlib/strtol_l.c (INTERNAL): Likewise.
10806         * string/memmem.c (memmem): Likewise.
10807         * string/strerror.c (strerror): Likewise.
10808         * string/strnlen.c (__strnlen): Likewise.
10809         * string/test-memmem.c (simple_memmem): Likewise.
10810         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10811         * sunrpc/pm_getport.c (__get_socket): Likewise.
10812         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10813         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10814         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10815         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10816         Likewise.
10817         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10818         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10819         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10820         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10821         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10822         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10823         Likewise.
10824         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10825         Likewise.
10826         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10827         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10828         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10829         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10830         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10831         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10832         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10833         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10834         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10835         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10836         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10837         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10838         Likewise.
10839         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10840         Likewise.
10841         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10842         Likewise.
10843         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10844         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10845         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10846         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10847         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10848         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10849         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10850         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10851         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10852         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10853         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10854         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10855         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10856         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10857         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10858         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10859         Likewise.
10860         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10861         Likewise.
10862         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10863         Likewise.
10864         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10865         Likewise.
10866         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10867         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10868         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10869         Likewise.
10870         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10871         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10872         * sysdeps/posix/opendir.c (__opendirat): Likewise.
10873         * sysdeps/posix/sleep.c: Likewise.
10874         * sysdeps/posix/tempname.c: Likewise.
10875         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10876         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10877         Likewise.
10878         * sysdeps/powerpc/powerpc32/dl-machine.h
10879         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10880         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10881         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10882         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10883         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10884         Likewise.
10885         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10886         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10887         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10888         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10889         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10890         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10891         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10892         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10893         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10894         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10895         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10896         (elf_machine_lazy_rel): Likewise.
10897         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10898         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10899         (elf_machine_lazy_rel): Likewise.
10900         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10901         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10902         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10903         * sysdeps/unix/grantpt.c (grantpt): Likewise.
10904         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10905         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10906         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10907         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10908         Likewise.
10909         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10910         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10911         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10912         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10913         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10914         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10915         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10916         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10917         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10918         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10919         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10920         Likewise.
10921         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10922         (__posix_fallocate64_l64): Likewise.
10923         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10924         (posix_fallocate): Likewise.
10925         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10926         Likewise.
10927         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10928         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10929         (getifaddrs_internal): Likewise.
10930         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10931         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10932         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10933         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10934         * sysdeps/unix/sysv/linux/posix_fallocate64.c
10935         (__posix_fallocate64_l64): Likewise.
10936         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10937         Likewise.
10938         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
10939         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10940         (__get_clockfreq): Likewise.
10941         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10942         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10943         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10944         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10945         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10946         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10947         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10948         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10949         Likewise.
10950         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10951         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10952         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10953         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10954         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10955         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10956         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10957         Likewise.
10958         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10959         (posix_fallocate): Likewise.
10960         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10961         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10962         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
10963         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10964         (elf_machine_rela, elf_machine_rela_relative)
10965         (elf_machine_lazy_rel): Likewise.
10966         * time/asctime.c (asctime_internal): Likewise.
10967         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10968         * time/tzset.c (__tzset_parse_tz): Likewise.
10969         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10970         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10971         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10972         * wcsmbs/wcsmbsload.h: Likewise.
10973
10974         [BZ #15894]
10975         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10976
10977         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10978         (arena_get2): Remove THREAD_STATS conditionals.
10979         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10980         (__malloc_stats, int): Likewise.
10981
10982 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
10983
10984         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10985         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
10986
10987         * manual/setjmp.texi: Fix typos/grammar errors.
10988
10989         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10990         Only return early when n is <= 0.  Delete unused return statement.
10991
10992         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10993         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10994         * debug/tst-longjmp_chk3.c: New file.
10995
10996         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10997         (test_main): Replace code with set_fortify_handler call.
10998         * debug/test-strcpy_chk.c: Likewise.
10999         * debug/tst-chk1.c: Likewise.
11000         * debug/tst-longjmp_chk.c: Likewise.
11001         * test-skeleton.c: Include fcntl.h & paths.h
11002         (set_fortify_handler): Define.
11003
11004         * debug/tst-longjmp_chk.c: Add header comment and include
11005         ../test-skeleton.c.
11006         (do_test): Mark static.
11007         (TEST_FUNCTION): Define.
11008
11009         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11010         (IP_PMTUDISC_INTERFACE): Likewise.
11011         (IP_MULTICAST_IF): Likewise.
11012         (IP_MULTICAST_TTL): Likewise.
11013         (IP_MULTICAST_LOOP): Likewise.
11014         (IP_ADD_MEMBERSHIP): Likewise.
11015         (IP_DROP_MEMBERSHIP): Likewise.
11016         (IP_UNBLOCK_SOURCE): Likewise.
11017         (IP_BLOCK_SOURCE): Likewise.
11018         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11019         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11020         (IP_MSFILTER): Likewise.
11021         (MCAST_JOIN_GROUP): Likewise.
11022         (MCAST_BLOCK_SOURCE): Likewise.
11023         (MCAST_UNBLOCK_SOURCE): Likewise.
11024         (MCAST_LEAVE_GROUP): Likewise.
11025         (MCAST_JOIN_SOURCE_GROUP): Likewise.
11026         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11027         (MCAST_MSFILTER): Likewise.
11028         (IP_MULTICAST_ALL): Likewise.
11029         (IP_UNICAST_IF): Likewise.
11030
11031         * timezone/Makefile: Delete $(have-ksh) check.
11032         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11033         * timezone/tzselect.ksh: Add +x mode bits.
11034
11035         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11036         (ANON_INODE_FS_MAGIC): Likewise.
11037         (BDEVFS_MAGIC): Likewise.
11038         (BINFMTFS_MAGIC): Likewise.
11039         (BTRFS_TEST_MAGIC): Likewise.
11040         (CRAMFS_MAGIC_WEND): Likewise.
11041         (DEBUGFS_MAGIC): Likewise.
11042         (ECRYPTFS_SUPER_MAGIC): Likewise.
11043         (EXT3_SUPER_MAGIC): Likewise.
11044         (EXT4_SUPER_MAGIC): Likewise.
11045         (FUTEXFS_SUPER_MAGIC): Likewise.
11046         (HOSTFS_SUPER_MAGIC): Likewise.
11047         (HUGETLBFS_MAGIC): Likewise.
11048         (MINIX3_SUPER_MAGIC): Likewise.
11049         (MTD_INODE_FS_MAGIC): Likewise.
11050         (NILFS_SUPER_MAGIC): Likewise.
11051         (OPENPROM_SUPER_MAGIC): Likewise.
11052         (PIPEFS_MAGIC): Likewise.
11053         (PSTOREFS_MAGIC): Likewise.
11054         (QNX6_SUPER_MAGIC): Likewise.
11055         (RAMFS_MAGIC): Likewise.
11056         (REISERFS_SUPER_MAGIC_STRING): Likewise.
11057         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11058         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11059         (SECURITYFS_MAGIC): Likewise.
11060         (SELINUX_MAGIC): Likewise.
11061         (SMACK_MAGIC): Likewise.
11062         (SOCKFS_MAGIC): Likewise.
11063         (SQUASHFS_MAGIC): Likewise.
11064         (STACK_END_MAGIC): Likewise.
11065         (TMPFS_MAGIC): Likewise.
11066         (USBDEVICE_SUPER_MAGIC): Likewise.
11067         (V9FS_MAGIC): Likewise.
11068         (XENFS_SUPER_MAGIC): Likewise.
11069         (CRAMFS_MAGIC): Fix typo in comment.
11070         (EXT2_SUPER_MAGIC): Update comment.
11071         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11072
11073 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
11074
11075         * sysdeps/arm: Move directory from ports/sysdeps/arm.
11076         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11077         * sysdeps/unix/sysv/linux/arm: Move directory from
11078         ports/sysdeps/unix/sysv/linux/arm.
11079         * README: Update listing for arm-*-linux-gnueabi.
11080
11081         * README: Remove mention of am33.
11082
11083 2014-02-07  Roland McGrath  <roland@hack.frob.com>
11084
11085         * bits/sigset.h (__sigemptyset): Use a statement expression rather
11086         than the comma operator, to avoid "rhs of comma has no effect"
11087         compiler warnings.
11088         (__sigfillset, __sigandset, __sigorset): Likewise.
11089         * include/signal.h (__sigemptyset): Likewise.
11090         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11091
11092 2014-02-07  Allan McRae  <allan@archlinux.org>
11093
11094         * version.h (RELEASE): Set to "development".
11095         (VERSION): Set to "2.19.90"
11096         * NEWS: Add 2.20 section.
11097
11098 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
11099
11100         [BZ #16529]
11101         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11102
11103 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11104
11105         * manual/contrib.texi: Update entry for Carlos O'Donell,
11106         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11107
11108 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
11109
11110         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11111
11112         * sysdeps/unix/sysv/linux/kernel-features.h
11113         [__LINUX_KERNEL_VERSION >= 0x020621]
11114         (__ASSUME_PROC_PID_TASK_COMM): Define.
11115
11116 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11117
11118         [BZ #16398]
11119         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11120         conversion when destination buffer does not have enough space.
11121         * libio/tst-ftell-partial-wide.c: New test case.
11122         * libio/Makefile (tests): Add tst-ftell-partial-wide.
11123
11124         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11125         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
11126         Leonard and Allan McRae.
11127
11128 2014-02-04  David S. Miller  <davem@davemloft.net>
11129
11130         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11131         32-bit.
11132
11133 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11134
11135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11136         New file
11137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11138         New file
11139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11140         New file.
11141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11142         New file.
11143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11144         New file.
11145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11146         New file.
11147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11148         New file.
11149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11150         New file.
11151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11152         New file.
11153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11154         New file.
11155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11156         New file.
11157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11158         New file.
11159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11160         New file.
11161
11162 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11163
11164         * nptl/shlib-versions: Change powerpc*le start to 2.17.
11165         * shlib-versions: Likewise.
11166
11167 2014-02-04  Roland McGrath  <roland@hack.frob.com>
11168             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11169
11170         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11171         (abilist-pattern): New variable, set to %-le.abilist.
11172
11173         * Makerules (abilist-pattern): New variable.
11174         (vpath): Use $(abilist-pattern) in place of %.abilist.
11175         (check-abi-% pattern rule): Likewise.
11176         (check-abi, update-abi): Likewise.
11177
11178 2014-02-04  Eric Wong  <normalperson@yhbt.net>
11179
11180         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11181
11182 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
11183
11184         * manual/startup.texi: Add next, previous, and top entries for
11185         the `Program Arguments' and `Environment Variables' nodes.
11186
11187 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
11188
11189         * manual/macros.texi: Add comments before MTASC-safety macros.
11190
11191         * manual/users.texi: Document MTASC-safety properties.
11192
11193         * manual/threads.texi (pthread_key_create, pthread_key_delete)
11194         (pthread_getspecific, pthread_setspecific): Format with
11195         @deftypefun, and add @safety note.
11196         * manual/signal.texi: Move comments that analyze the above
11197         functions to their home place.
11198
11199 2014-02-03  Allan McRae  <allan@archlinux.org>
11200
11201         * po/sl.po: Update Slovenian translation from translation project.
11202
11203 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
11204
11205         * manual/time.texi (timegm): Add missing blank after @c.
11206         Reported by Joseph Myers <joseph@codesourcery.com>.
11207
11208 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
11209
11210         * manual/check-safety.sh: New.
11211         * manual/Makefile ($(objpfx)stamp-summary): Run it.
11212
11213         * manual/terminal.texi: Document MTASC-safety properties.
11214
11215         * manual/filesys.texi: Document MTASC-safety properties.
11216
11217         * manual/errno.texi: Document MTASC-safety properties.
11218
11219         * manual/intro.texi: Document safety identifiers and
11220         conditionals.
11221
11222         * manual/string.texi (wcstok): Fix prototype.
11223         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11224
11225         * manual/time.texi: Document MTASC-safety properties.
11226
11227         * manual/string.texi: Document MTASC-safety properties.
11228
11229         * manual/threads.texi: Document MTASC-safety properties.
11230
11231         * manual/stdio.texi: Document MTASC-safety properties.
11232
11233         * manual/syslog.texi: Document MTASC-safety properties.
11234
11235         * manual/sysinfo.texi: Document MTASC-safety properties.
11236
11237         * manual/startup.texi: Document MTASC-safety properties.
11238
11239         * manual/socket.texi: Document MTASC-safety properties.
11240
11241         * manual/signal.texi: Document MTASC-safety properties.
11242
11243 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
11244
11245         * manual/setjmp.texi: Document MTASC-safety properties.
11246
11247         * manual/search.texi: Document MTASC-safety properties.
11248
11249         * manual/resource.texi: Document MTASC-safety properties.
11250
11251         * manual/process.texi: Document MTASC-safety properties.
11252
11253         * manual/platform.texi: Document MTASC-safety properties.
11254
11255         * manual/pipe.texi: Document MTASC-safety properties.
11256
11257         * manual/pattern.texi: Document MTASC-safety properties.
11258
11259         * manual/message.texi: Document MTASC-safety properties.
11260
11261         [BZ #12751]
11262         * manual/memory.texi: Document MTASC-safety properties.
11263
11264         * manual/math.texi: Document MTASC-safety properties.
11265
11266         * manual/locale.texi: Document MTASC-safety properties.
11267
11268         * manual/llio.texi: Document MTASC-safety properties.
11269
11270         * manual/libdl.texi: New.
11271
11272         * manual/lang.texi: Document MTASC-safety properties.
11273
11274         * manual/job.texi: Document MTASC-safety properties.
11275
11276         * manual/getopt.texi: Document MTASC-safety properties.
11277
11278         * manual/ctype.texi: Document MTASC-safety properties.
11279
11280 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
11281
11282         [BZ #16046]
11283         * csu/libc-tls.c (static_map): Remove variable.
11284         (__libc_setup_tls): Use main executable's link map for TLS data.
11285         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11286         casing for LM_ID_BASE and GL(dl_nns).
11287         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11288         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
11289         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11290         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11291         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11292         member.
11293         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11294         l_phnum members.
11295
11296 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
11297
11298         * manual/debug.texi: Document MTASC-safety properties.
11299
11300 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
11301
11302         [BZ #16510]
11303         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11304         of __x86_64__ when disabling x87 inline functions.
11305
11306 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
11307
11308         * manual/charset.texi: Document MTASC-safety properties.
11309
11310         * manual/crypt.texi: Document MTASC-safety properties.
11311
11312         * manual/conf.texi: Document MTASC-safety properties.
11313
11314         * manual/arith.texi: Document MTASC-safety properties.
11315
11316         * manual/argp.texi: Document MTASC-safety properties.
11317
11318         * manual/macros.texi: Introduce macros to document multi
11319         thread, asynchronous signal and asynchronous cancellation
11320         safety properties.
11321         * manual/intro.texi: Introduce the properties themselves.
11322
11323 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11324
11325         * sysdeps/sh/sh4/Makefile: New file.
11326
11327 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
11328
11329         * math/gen-libm-test.pl ($srcdir): New variable.
11330         ($auto_input): Use it.
11331
11332 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11333
11334         [BZ #16506]
11335         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11336         access beyond array bounds when parsing netgroups file.
11337
11338         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11339         the old buffer before realloc.
11340
11341 2014-01-27  Allan McRae  <allan@archlinux.org>
11342
11343         * po/fr.po: Update French translation from translation project.
11344
11345 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11346
11347         * sysdeps/sh/libm-test-ulps: Regenerate.
11348
11349 2014-01-24  David S. Miller  <davem@davemloft.net>
11350
11351         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11352
11353 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11354
11355         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11356         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11357
11358 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11359
11360         [BZ #16474]
11361         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11362         string pointers after reallocation.
11363
11364 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11365
11366         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11367         __SH4A__ instead of __SH_FPU_ANY__.
11368
11369 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11370
11371         * sysdeps/sh/fpu_control.h: New file.
11372         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11373         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11374         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11375         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11376         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11377         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11378         * sysdeps/sh/sys/ucontext.h: Remove.
11379         * sysdeps/sh/sys: Remove directory.
11380
11381 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11382
11383         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11384         s390/sys/ucontext.h.
11385         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11386         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11387
11388 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
11389
11390         [BZ #15605]
11391         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11392
11393 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11394
11395         [BZ#16431]
11396         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11397         Adjust the vDSO correctly for internal calls.
11398         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11399
11400 2014-01-20  Allan McRae  <allan@archlinux.org>
11401
11402         * po/ca.po: Update Catalan translation from translation project.
11403
11404 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
11405
11406         * sysdeps/s390/sotruss-lib.c: New file.
11407
11408 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11409
11410         [BZ#16430]
11411         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11412         (__GI___gettimeofday): Alias for a different internal symbol to avoid
11413         local calls issues by not having a PLT stub required for IFUNC calls.
11414         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11415
11416 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
11417
11418         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11419         * math/test-fpucw-static.c: Likewise.
11420
11421 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11422
11423         [BZ #16453]
11424         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11425
11426 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11427
11428         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11429         implementation for powerpc.
11430
11431 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
11432
11433         [BZ #14782]
11434         * sysdeps/posix/system.c (__libc_system): Do not enable
11435         asynchronous cancellation.
11436
11437 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11438
11439         [BZ #16427]
11440         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11441         handling only for numbers special also in the IEEE case.
11442
11443 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11444
11445         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11446
11447 2014-01-11  Allan McRae  <allan@archlinux.org>
11448
11449         * po/bg.po: Update Bulgarian translation from translation project.
11450
11451         * po/de.po: Update German translation from translation project.
11452
11453 2014-01-10  Roland McGrath  <roland@hack.frob.com>
11454
11455         * sysdeps/generic/gcc-compat.h: New file.
11456
11457 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11458
11459         * benchtests/asin-inputs: Correct slow inputs.
11460         * benchtests/acos-inputs: Likewise.
11461
11462 2014-01-10  Allan McRae  <allan@archlinux.org>
11463
11464         * po:sv.po: Update Swedish translation from translation project.
11465
11466         * po/vi.po: Update Vietnamese translation from translation project.
11467
11468         * po/eo.po: Update Esperanto translation from translation project.
11469
11470         * po/cs.po: Update Czech translation from translation project.
11471
11472         * po/nl.po: Update Dutch translation from translation project.
11473
11474         * po/pl.po: Update Polish translation from translation project.
11475
11476         * po/ru.po: Update Russian translation from translation project.
11477
11478         * po/uk.po: Update Ukrainian translation from translation project.
11479
11480 2014-01-08  Brooks Moses  <bmoses@google.com>
11481
11482         * elf/dl-load.c: Fix comment typo.
11483
11484 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
11485
11486         * po/header.pot: Rename to...
11487         * po/pot.header: ... this.
11488         * po/Makefile: Use pot.header.
11489
11490 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
11491             Maxim Kuvyrkov  <maxim@kugelworks.com>
11492
11493         [BZ #16394]
11494         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11495         SRC and DEST against LEN.
11496
11497 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11498
11499         [BZ #16414]
11500         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11501         implementation.
11502         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11503
11504 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11505
11506         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11507
11508 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
11509
11510         [BZ #16408]
11511         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11512         for large positive arguments.
11513
11514 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
11515
11516         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11517
11518         * math/auto-libm-test-in: Mark various tests with
11519         xfail-rounding:ldbl-128ibm.
11520         * math/auto-libm-test-out: Regenerated.
11521
11522         [BZ #16407]
11523         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11524         Increase overflow threshold.
11525
11526 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
11527
11528         [BZ #14286]
11529         * stdio-common/vfprintf.c: Check for integer overflow.
11530
11531 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11532
11533         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11534         the first argument and return value of __tls_get_addr_internal.
11535
11536 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11537
11538         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11539         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11540
11541 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11542
11543         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11544         * sysdeps/s390/rtld-global-offsets.sym: New file.
11545         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11546         GLIBC_2.19 symbol.
11547         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11548         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11549         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11550         ... this.
11551         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11552         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11553         ... this.
11554         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11555         Regenerate.
11556         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11557         Regenerate.
11558         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11559         halfs of GPRs for high_gprs contexts.
11560         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11561         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
11562         field.
11563         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11564         uc_flags field.
11565         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11566         64 bit versions:
11567         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11568         for high GPRs (uc_high_gprs) and for future extensions
11569         (__reserved).
11570         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11571         for future extensions (__reserved).
11572         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11573         64 bit versions:
11574         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11575         SC_HIGHGPRS offset definition.
11576         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11577         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11578
11579         * Versions.def: Add GLIBC_2.19 for libpthread.
11580         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11581         siglongjmp for libpthread with GLIBC_2.19 symver.
11582         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11583         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11584         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11585         * sysdeps/s390/__longjmp.c: New file.
11586         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11587         * sysdeps/s390/longjmp.c: New file.
11588         * sysdeps/s390/setjmp.S: New file.
11589         * sysdeps/s390/sigjmp.S: New file.
11590         * sysdeps/s390/v1-longjmp.c: New file.
11591         * sysdeps/s390/v1-setjmp.h: New file.
11592         * sysdeps/s390/v1-sigjmp.c: New file.
11593         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11594         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11595         GLIBC_2.19 version.
11596         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11597         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11598         versioned symbols for ____longjmp_chk.
11599         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11600         Likewise.
11601         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11602         Regenerate.
11603         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11604         Regenerate.
11605         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11606         Regenerate.
11607         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11608         Regenerate.
11609         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11610         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11611         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11612         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11613         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11614         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11615         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11616         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11617         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11618         * sysdeps/s390/rtld-__longjmp.c: New file.
11619         * sysdeps/s390/rtld-setjmp.S: New file.
11620
11621 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
11622
11623         [BZ #16400]
11624         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11625         Return -__logl (x) for small positive arguments without evaluating
11626         a polynomial.
11627
11628 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
11629
11630         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11631         Rename to ...
11632         (__ptrace_peeksiginfo_args): ... this.
11633         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11634         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11635         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11636
11637 2014-01-06  Allan McRae  <allan@archlinux.org>
11638
11639         * inet/netinet/in.h: Fix typo in comment.
11640
11641 2014-01-05  Andreas Jaeger  <aj@suse.de>
11642
11643         * sysdeps/i386/fpu/libm-test-ulps: Update.
11644
11645 2014-01-05  Allan McRae  <allan@archlinux.org>
11646
11647         * po/libc.pot: Regenerated.
11648
11649         * malloc/memusagestat.c: Fix gettext call formatting.
11650
11651 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
11652
11653         * nscd/nscd.c: Improve usage() output.
11654
11655 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
11656
11657         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11658         * sysdeps/unix/sysv/linux/configure: Regenerated.
11659         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11660         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11661
11662 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
11663
11664         [BZ #16390]
11665         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11666         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11667
11668 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11669
11670         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11671         extra tokens at end of #undef directive.
11672         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11673         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11674         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11675
11676 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
11677
11678         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11679
11680         * math/auto-libm-test-in: Mark various tests with
11681         xfail-rounding:ldbl-128ibm.
11682         * math/auto-libm-test-out: Regenerated.
11683
11684 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
11685
11686         [BZ #16386]
11687         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11688         numbers with subnormal high part when calculating exponent.
11689
11690         [BZ #16385]
11691         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11692         fabs.
11693
11694         [BZ #16384]
11695         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11696         M_LN2l.
11697         (__ieee754_acoshl): Use __log1pl not __log1p.
11698
11699 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
11700
11701         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11702         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11703         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11704         (grow_heap, heap_trim, _int_new_arena, get_free_list)
11705         (reused_arena, arena_get2): Convert to GNU style.
11706         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11707         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11708         (memalign_check, __malloc_set_state): Likewise.
11709         * malloc/mallocbug.c (main): Likewise.
11710         * malloc/malloc.c (__malloc_assert, malloc_init_state)
11711         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11712         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11713         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11714         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11715         (__posix_memalign, malloc_info): Likewise.
11716         * malloc/malloc.h: Likewise.
11717         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11718         (mallochook, memalignhook, reallochook, mabort): Likewise.
11719         * malloc/mcheck.h: Likewise.
11720         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11721         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11722         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11723         * malloc/morecore.c (__default_morecore): Likewise.
11724         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11725         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11726         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11727         (print_and_abort): Likewise.
11728         * malloc/obstack.h: Likewise.
11729         * malloc/set-freeres.c (__libc_freeres): Likewise.
11730         * malloc/tst-mallocstate.c (main): Likewise.
11731         * malloc/tst-mtrace.c (main): Likewise.
11732         * malloc/tst-realloc.c (do_test): Likewise.
11733
11734 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11735
11736         [BZ #16366]
11737         * nscd/netgroupcache.c (do_notfound): New function.
11738         (addgetnetgrentX): Use it.
11739
11740         [BZ # 16365]
11741         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11742         NSS_STATUS_NOTFOUND.
11743
11744 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
11745
11746         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11748
11749 2014-01-01  Allan McRae  <allan@archlinux.org>
11750
11751         * scripts/update-copyrights: Update configure input file suffix.
11752
11753         * NEWS: Update copyright year.
11754         * catgets/gencat.c: Likewise.
11755         * csu/version.c: Likewise.
11756         * debug/catchsegv.sh: Likewise.
11757         * debug/pcprofiledump.c: Likewise.
11758         * debug/xtrace.sh: Likewise.
11759         * elf/ldconfig.c: Likewise.
11760         * elf/ldd.bash.in: Likewise.
11761         * elf/pldd.c: Likewise.
11762         * elf/sotruss.ksh: Likewise.
11763         * elf/sprof.c: Likewise.
11764         * iconv/iconv_prog.c: Likewise.
11765         * iconv/iconvconfig.c: Likewise.
11766         * locale/programs/locale.c: Likewise.
11767         * locale/programs/localedef.c: Likewise.
11768         * login/programs/pt_chown.c: Likewise.
11769         * malloc/memusage.sh: Likewise.
11770         * malloc/memusagestat.c: Likewise.
11771         * malloc/mtrace.pl: Likewise.
11772         * manual/libc.texinfo: Likewise.
11773         * nscd/nscd.c: Likewise.
11774         * nss/getent.c: Likewise.
11775         * nss/makedb.c: Likewise.
11776         * posix/getconf.c: Likewise.
11777         * scripts/test-installation.pl: Likewise.
11778
11779         * All files with FSF copyright notices: Update copyright dates
11780         using scripts/update-copyrights.
11781         * intl/plural.c: Regenerated.
11782         * locale/programs/charmap-kw.h: Likewise.
11783         * locale/programs/locfile-kw.h: Likewise.
11784
11785 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
11786
11787         * sysdeps/unix/sysv/linux/configure: Regenerated.
11788         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11789         the linux/fanotify.h header.
11790         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11791         HAVE_LINUX_FANOTIFY_H is defined.
11792
11793 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
11794
11795         * benchtests/cos-inputs: New inputs.
11796         * benchtests/sin-inputs: Likewise.
11797
11798         * benchtests/atan-inputs: New inputs. Fix name of multiple
11799         precision fallback inputs.
11800
11801         * benchtests/atanh-inputs: New inputs.
11802         * benchtests/tanh-inputs: Likewise.
11803
11804         * benchtests/acosh-inputs: New inputs.
11805         * benchtests/asinh-inputs: Likewise.
11806
11807         * benchtests/cosh-inputs: New inputs.
11808         * benchtests/sinh-inputs: Likewise.
11809
11810         * benchtests/acos-inputs: Add more inputs.
11811         * benchtests/asin-inputs: Likewise.
11812
11813 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
11814
11815         [BZ #16375]
11816         * manual/arith.texi: Fix spelling.
11817         * manual/charset.texi: Likewise.
11818         * manual/errno.texi: Likewise.
11819         * manual/filesys.texi: Likewise.
11820         * manual/lang.texi: Likewise.
11821         * manual/llio.texi: Likewise.
11822         * manual/locale.texi: Likewise.
11823         * manual/message.texi: Likewise.
11824         * manual/resource.texi: Likewise.
11825         * manual/search.texi: Likewise.
11826         * manual/setjmp.texi: Likewise.
11827         * manual/stdio.texi: Likewise.
11828         * manual/string.texi: Likewise.
11829         * manual/sysinfo.texi: Likewise.
11830         * manual/time.texi: Likewise.
11831
11832 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
11833
11834         * po/sl.po: New file.
11835
11836 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
11837
11838         * .gitignore: Add core/.gdbinit/.gdb_history.
11839
11840 2013-12-27  Allan McRae  <allan@archlinux.org>
11841
11842         [BZ #16369]
11843         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11844         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11845
11846 2013-12-24  Brooks Moses  <bmoses@google.com>
11847
11848         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11849         all compilers that claim C++98 compliance, not just GCC.
11850         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11851         Likewise.
11852
11853 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
11854
11855         * NEWS: Restore accidentally deleted bug-fix entries.
11856
11857 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
11858             Ondřej Bílka  <neleai@seznam.cz>
11859
11860         [BZ #15073]
11861         * malloc/malloc.c (_int_free): Perform sanity check only if we
11862         have_lock.
11863
11864 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
11865
11866         [BZ #12986]
11867         * manual/stdio.texi (String Input Conversions): Clarify that character
11868         classes are not supported.
11869
11870 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11871
11872         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11873
11874 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
11875
11876         [BZ #16337]
11877         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11878         Calculate results for small negative arguments directly rather
11879         than using reflection formula with special underflow handling.
11880
11881         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11882         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11883         sysdeps/unix/bsd/bsd4.4/syscalls.list.
11884         (fchflags): Likewise.
11885         (revoke): Likewise.
11886         (setlogin): Likewise.
11887         (sigaltstack): Likewise.
11888         (wait4): Likewise.
11889         (sigblock): Remove.
11890         (sigsetmask): Likewise.
11891         (wait3): Likewise.
11892         (waitpid): Likewise.
11893         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11894         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11895         file.
11896         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11897         * sysdeps/unix/bsd/Makefile: ... here.
11898         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11899         * sysdeps/unix/bsd/Versions: ... here.
11900         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11901         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11902         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11903         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11904         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11905         * sysdeps/unix/bsd/sigblock.c: ... here.
11906         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11907         * sysdeps/unix/bsd/sigsetmask.c: ... here.
11908         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11909         * sysdeps/unix/bsd/sigvec.c: ... here.
11910         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11911         * sysdeps/unix/bsd/tcdrain.c: ... here.
11912         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11913         * sysdeps/unix/bsd/tcgetattr.c: ... here.
11914         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11915         * sysdeps/unix/bsd/tcsetattr.c: ... here.
11916         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11917         * sysdeps/unix/bsd/wait.c: ... here.
11918         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11919         * sysdeps/unix/bsd/wait3.c: ... here.
11920         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11921         * sysdeps/unix/bsd/waitpid.c: ... here.
11922
11923 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
11924
11925         [BZ #16356]
11926         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11927         round-to-nearest for [!USE_AS_EXPM1L].
11928         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11929         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
11930         more tests of exp and exp10.  Expect some exp10 tests to miss
11931         exceptions or fail in directed rounding modes.
11932         * math/auto-libm-test-out: Regenerated.
11933         * math/libm-test.inc (exp10_tonearest_test_data): New array.
11934         (exp10_test_tonearest): New function.
11935         (exp10_towardzero_test_data): New array.
11936         (exp10_test_towardzero): New function.
11937         (exp10_downward_test_data): New array.
11938         (exp10_test_downward): New function.
11939         (exp10_upward_test_data): New array.
11940         (exp10_test_upward): New function.
11941         (main): Call the new functions.
11942         * sysdeps/i386/fpu/libm-test-ulps: Update.
11943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11944
11945 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
11946
11947         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11948         asinh, atan, atan2, atanh, cbrt, cos and cosh.
11949         * math/auto-libm-test-out: Regenerated.
11950         * math/libm-test.inc (acosh_test_data): Add more tests.
11951         (atanh_test_data): Likewise.
11952         (ceil_test_data): Likewise.
11953         (copysign_test_data): Likewise.
11954         * sysdeps/i386/fpu/libm-test-ulps: Update.
11955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11956
11957         * timezone/checktab.awk: Update from tzcode 2013i.
11958         * timezone/private.h: Likewise.
11959         * timezone/scheck.c: Likewise.
11960         * timezone/tzfile.h: Likewise.
11961         * timezone/tzselect.ksh: Likewise.
11962         * timezone/zdump.c: Likewise.
11963         * timezone/zic.c: Likewise.
11964
11965         * math/auto-libm-test-in: Add tests of cpow.
11966         * math/auto-libm-test-out: Regenerated.
11967         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
11968         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11969         mpc_cc_c.
11970         (func_calc_desc): Add mpc_cc_c union field.
11971         (test_functions): Add cpow.
11972         (special_fill_2pi): New function.
11973         (special_real_inputs): Add 2pi.
11974         (calc_generic_results): Handle mpc_cc_c.
11975         * sysdeps/i386/fpu/libm-test-ulps: Update.
11976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11977
11978         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11979         csqrt, ctan and ctanh.
11980         * math/auto-libm-test-out: Regenerated.
11981         * math/libm-test.inc (TEST_COND_x86_64): New macro.
11982         (TEST_COND_x86): Likewise.
11983         (ccos_test_data): Use AUTO_TESTS_c_c.
11984         (ccosh_test_data): Likewise.
11985         (cexp_test_data): Likewise.
11986         (clog_test_data): Likewise.
11987         (csqrt_test_data): Likewise.
11988         (ctan_test_data): Likewise.
11989         (ctan_tonearest_test_data): Likewise.
11990         (ctan_towardzero_test_data): Likewise.
11991         (ctan_downward_test_data): Likewise.
11992         (ctan_upward_test_data): Likewise.
11993         (ctanh_test_data): Likewise.
11994         (ctanh_tonearest_test_data): Likewise.
11995         (ctanh_towardzero_test_data): Likewise.
11996         (ctanh_downward_test_data): Likewise.
11997         (ctanh_upward_test_data): Likewise.
11998         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11999         mpc_c_c.
12000         (func_calc_desc): Add mpc_c_c union field.
12001         (FUNC_mpc_c_c): New macro.
12002         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12003         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12004         ctanh.
12005         (special_fill_min_subnorm_p120): New function.
12006         (special_real_inputs): Add min_subnorm_p120.
12007         (calc_generic_results): Handle mpc_c_c.
12008         * sysdeps/i386/fpu/libm-test-ulps: Update.
12009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12010
12011 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12012
12013         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12014         (do_sin_slow): New functions.
12015         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12016         (cslow2, csloww1, csloww2): Use the new functions.
12017
12018         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12019         Use M to change sign of result instead of X.  Assume X is
12020         positive.
12021         (csloww1): Likewise.
12022         (__sin): Adjust.
12023         (__cos): Adjust.
12024
12025         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12026         arguments A and DA.
12027         (__sin): Adjust.
12028         (__cos): Likewise.
12029
12030         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12031         (__cos): Likewise.
12032         (sloww1): Don't adjust sign of DX.
12033         (csloww1): Likewise.
12034         (sloww2): Use X directly and don't adjust sign of DX.
12035         (csloww2): Likewise.
12036
12037 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12038
12039         * math/auto-libm-test-in: Add tests of cabs and carg.
12040         * math/auto-libm-test-out: Regenerated.
12041         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12042         (carg_test_data): Likewise.
12043         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12044         mpc_c_f.
12045         (func_calc_desc): Add mpc_c_f union field.
12046         (test_functions): Add cabs and carg.
12047         (calc_generic_results): Handle mpc_c_f.
12048
12049         * sysdeps/powerpc/powerpc32/libgcc-compat.S
12050         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12051         as a macro and a compat symbol.
12052         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12053         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12054         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12055         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12056         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12057         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12058         not use .hidden.
12059         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12060         Likewise.
12061         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12062         Likewise.
12063         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12064         Likewise.
12065         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12066         Likewise.
12067         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12068         Likewise.
12069         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12070         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12071         from GLIBC_2.3.2.
12072
12073 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12074
12075         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12076
12077 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12078
12079         * manual/texinfo.tex: Update to version 2013-11-26.10 with
12080         trailing whitespace removed.
12081         * scripts/config.guess: Update to version 2013-11-29.
12082         * scripts/config.sub: Update to version 2013-10-01.
12083
12084         * math/auto-libm-test-in: Add tests of sincos.
12085         * math/auto-libm-test-out: Regenerated.
12086         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12087         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12088         mpfr_f_11.
12089         (func_calc_desc): Add mpfr_f_11 union field.
12090         (test_functions): Add sincos.
12091         (calc_generic_results): Handle mpfr_f_11.
12092         * sysdeps/i386/fpu/libm-test-ulps: Update.
12093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12094
12095 2013-12-19  Andreas Schwab  <schwab@suse.de>
12096
12097         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12098         CALL_MCOUNT.
12099         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12100         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12101         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12102
12103 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12104
12105         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12106         * sysdeps/i386/fpu/libm-test-ulps: Update.
12107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12108
12109         [BZ #16293]
12110         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12111         round-to-nearest mode when using frndint.
12112         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12113         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12114         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12115         Likewise.
12116         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
12117         sinh test to fail.
12118         * math/auto-libm-test-out: Regenerated.
12119         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12120         (TEST_COND_x86): Likewise.
12121         (expm1_tonearest_test_data): New array.
12122         (expm1_test_tonearest): New function.
12123         (expm1_towardzero_test_data): New array.
12124         (expm1_test_towardzero): New function.
12125         (expm1_downward_test_data): New array.
12126         (expm1_test_downward): New function.
12127         (expm1_upward_test_data): New array.
12128         (expm1_test_upward): New function.
12129         (main): Run the new test functions.
12130         * sysdeps/i386/fpu/libm-test-ulps: Update.
12131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12132
12133         * include/features.h: Update comment documenting feature test
12134         macros.  Mention _DEFAULT_SOURCE in comment.
12135         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12136         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12137         _BSD_SOURCE and _SVID_SOURCE.
12138         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12139         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12140         !_SVID_SOURCE]: Likewise.
12141         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12142         (__USE_POSIX_IMPLICITLY): Define.
12143         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12144         (_POSIX_SOURCE): Undefine and redefine.
12145         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12146         (_POSIX_C_SOURCE): Likewise.
12147         * manual/creature.texi (_DEFAULT_SOURCE): Document.
12148         (Feature Test Macros): Update documentation of default features.
12149
12150 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12151
12152         * benchtests/Makefile: Add bench-strtok.
12153         * benchtests/bench-strtok.c: New file: strtok benchtest.
12154
12155 2013-12-19  Allan McRae  <allan@archlinux.org>
12156
12157         * manual/install.texi: Suppress menu for plain text output.
12158         * INSTALL: Regenerated.
12159
12160 2013-12-18  Brooks Moses  <bmoses@google.com>
12161
12162         [BZ #15846]
12163         * misc/getauxval.c: Include errno.h.
12164         (__getauxval): Set errno to ENOENT if the requested type is not
12165         found.
12166         * misc/sys/auxv.h (getauxval): Document that it may set errno;
12167         don't declare with __attribute_const__.
12168         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12169         * manual/startup.texi: Document that getauxval sets errno.
12170
12171 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12172
12173         * math/auto-libm-test-in: Add tests of jn and yn.
12174         * math/auto-libm-test-out: Regenerated.
12175         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12176         (yn_test_data): Likewise.
12177         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12178         mpfr_if_f.
12179         (func_calc_desc): Add mpfr_if_f union field.
12180         (FUNC_mpfr_if_f): New macro.
12181         (test_functions): Add jn and yn.
12182         (calc_generic_results): Assert type of second input for
12183         mpfr_ff_f.  Handle mpfr_if_f.
12184         (output_for_one_input_case): Disable all checking for arguments
12185         fitting floating-point types in case of an integer argument.
12186         * sysdeps/i386/fpu/libm-test-ulps: Update.
12187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12188
12189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12190         Don't expect fegetround reference in libm.so.
12191
12192 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12193
12194         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12195         $(config-cflags-nofma).
12196
12197 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12198
12199         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12200         * math/auto-libm-test-out: Regenerated.
12201
12202         [BZ #16338]
12203         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12204         to determine exponent and adjust argument to have exponent of -1.
12205         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12206         log2.
12207         * math/auto-libm-test-out: Regenerated.
12208         * sysdeps/i386/fpu/libm-test-ulps: Update.
12209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12210
12211 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
12212
12213         * manual/probes.texi: Remove cases when per-thread arenas are
12214         disabled.
12215
12216 2013-12-18  Andreas Schwab  <schwab@suse.de>
12217
12218         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12219         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12220         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12221         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12222         * sysdeps/i386/i686/multiarch/Makefile: Update.
12223         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12224
12225 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12226
12227         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12228         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12229
12230 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
12231
12232         [BZ #15968]
12233         Support TZ transition times < 00:00:00.
12234         This is needed for version-3 tz-format files; it supports time
12235         stamps past 2037 for America/Godthab (the only entry in the tz
12236         database for which this change is relevant).
12237         * manual/time.texi (TZ Variable): Document transition times
12238         from -167:59:59 through -00:00:01.
12239         * time/tzset.c (tz_rule): Time of day is now signed.
12240         (__tzset_parse_tz): Parse negative time of day.
12241
12242         Document TZ transition times >= 25:00:00.
12243         * manual/time.texi (TZ Variable): Document transition times from
12244         25:00:00 through 167:59:59.  These are already supported, and this
12245         support will help with version-3 tz-format files.
12246
12247         * manual/time.texi (TZ Variable): Modernize North America example
12248         to reflect current (i.e., 2007-and-later) daylight saving rules.
12249
12250         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12251
12252 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12253
12254         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12255         * sysdeps/unix/bsd/bits/stat.h: Likewise.
12256         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12257         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12258         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12259         * sysdeps/unix/bsd/bsdstat.h: Likewise.
12260         * sysdeps/unix/bsd/clock.c: Likewise.
12261         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12262         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12263         * sysdeps/unix/bsd/init-posix.c: Likewise.
12264         * sysdeps/unix/bsd/poll.c: Likewise.
12265         * sysdeps/unix/bsd/ptsname.c: Likewise.
12266         * sysdeps/unix/bsd/seekdir.c: Likewise.
12267         * sysdeps/unix/bsd/setegid.c: Likewise.
12268         * sysdeps/unix/bsd/seteuid.c: Likewise.
12269         * sysdeps/unix/bsd/setgid.c: Likewise.
12270         * sysdeps/unix/bsd/setrgid.c: Likewise.
12271         * sysdeps/unix/bsd/setruid.c: Likewise.
12272         * sysdeps/unix/bsd/setsid.c: Likewise.
12273         * sysdeps/unix/bsd/setuid.c: Likewise.
12274         * sysdeps/unix/bsd/sigaction.c: Likewise.
12275         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12276         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12277         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12278         * sysdeps/unix/bsd/telldir.c: Likewise.
12279         * sysdeps/unix/bsd/times.c: Likewise.
12280         * sysdeps/unix/bsd/usleep.c: Likewise.
12281
12282         * misc/Makefile (install-lib): Remove libbsd-compat.a.
12283         ($(objpfx)libbsd-compat.a): Remove rule.
12284
12285         * include/features.h (__FAVOR_BSD): Do not define.
12286         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12287         features conflicting with POSIX.
12288         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12289         (_BSD_SOURCE): Remove description of not being a subset of other
12290         feature test macros.
12291         * manual/job.texi (getpgrp): Do not document BSD version.
12292         (getpgid): Do not document by reference to BSD getpgrp.
12293         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12294         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12295         * signal/signal.h [__FAVOR_BSD]: Likewise.
12296         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12297         instead of making contents conditional on [__FAVOR_BSD].
12298         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12299
12300 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12301
12302         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12303
12304 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12305
12306         [BZ #16314]
12307         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12308         values below 2**-450, not 2**-500.
12309         * math/auto-libm-test-in: Don't allow spurious underflow from
12310         hypot.
12311         * math/auto-libm-test-out: Regenerated.
12312
12313         [BZ #16316]
12314         [BZ #16330]
12315         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12316         values of ha and hb and sort them after adjusting subnormal
12317         arguments.
12318         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12319         Likewise.
12320         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12321         values of ea and eb and sort them after adjusting subnormal
12322         arguments.
12323         * math/auto-libm-test-in: Do not expect some hypot tests of
12324         subnormals to fail.  Add more hypot tests.
12325         * math/auto-libm-test-out: Regenerated.
12326
12327 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12328
12329         [BZ #13304]
12330         * sysdeps/sh/s_fma.c: New file.
12331         * sysdeps/sh/s_fmaf.c: New file.
12332         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
12333         version.
12334         * sysdeps/sh/Implies: Add sh/soft-fp.
12335
12336 2013-12-16  Roland McGrath  <roland@hack.frob.com>
12337
12338         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
12339         level of indirection to members `objname', `errstring', `malloced'.
12340         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12341         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
12342         it as the __longjmp argument (just pass 1 instead).
12343         (_dl_catch_error): Initialize C with argument pointers and address of
12344         volatile local ERRCODE rather than copying values out of C at return.
12345
12346 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
12347
12348         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12349         * math/auto-libm-test-out: Regenerated.
12350         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12351         (hypot_test_data): Likewise.
12352         (pow_test_data): Likewise.
12353         (pow_tonearest_test_data): Likewise.
12354         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12355         mpfr_ff_f.
12356         (func_calc_desc): Add mpfr_ff_f union field.
12357         (FUNC_mpfr_ff_f): New macro.
12358         (test_functions): Add atan2, hypot and pow.
12359         (special_fill_min): New function.
12360         (special_fill_minus_min): Likewise.
12361         (special_fill_min_subnorm): Likewise.
12362         (special_fill_minus_min_subnorm): Likewise.
12363         (special_real_inputs): Add min, -min, min_subnorm and
12364         -min_subnorm.
12365         (calc_generic_results): Handle mpfr_ff_f.
12366         * sysdeps/i386/fpu/libm-test-ulps: Update.
12367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12368
12369 2013-12-16  Will Newton  <will.newton@linaro.org>
12370
12371         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12372         (Aligned Memory Blocks): Add documentation for aligned_alloc
12373         and suggest it as an alternative to posix_memalign.
12374         (Hooks for Malloc): Document __memalign_hook is also called
12375         for aligned_alloc.  (Summary of Malloc): Add summary for
12376         aligned alloc.  Document __memalign_hook is also called
12377         for aligned_alloc.
12378
12379 2013-12-16  Will Newton  <will.newton@linaro.org>
12380
12381         * manual/memory.texi (Malloc Examples): Clarify default
12382         alignment documentation.  Suggest posix_memalign rather
12383         than memalign or valloc.
12384         (Aligned Memory Blocks): Remove suggestion to use memalign
12385         or valloc.  Remove obsolete comment about BSD.
12386         Document memalign errno values and mark the function obsolete.
12387         Document posix_memalign returned error codes.  Mark valloc
12388         as obsolete.  (Hooks for Malloc): __memalign_hook is also
12389         called for posix_memalign and valloc.
12390         (Summary of Malloc): Add posix_memalign to function summary.
12391         __memalign_hook is also called for posix_memalign and valloc.
12392
12393 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12394
12395         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12396         TAYLOR_SIN.
12397         (__sin): Adjust.
12398         (__cos): Likewise.
12399         (sloww): Use mynumber union.  Expand ternary operator into
12400         if-else statements.
12401         (cslow): use mynumber union.
12402
12403 2013-12-16  Allan McRae  <allan@archlinux.org>
12404
12405         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12406         * configure: Regenerated.
12407
12408         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12409
12410         [BZ #14120]
12411         * configure.ac: Added --enable-maintainer-mode. Check for
12412         autoconf when enabled.
12413         * configure: Regenerated.
12414
12415         * nscd/nscd.service: New file.
12416         * nscd/nscd.tmpfiles: New file.
12417
12418 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
12419
12420         [BZ #12100]
12421         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12422         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12423         * sysdeps/x86_64/multiarch/strstr.c: ... here.
12424         (strstr): Add __strstr_sse2_unaligned ifunc.
12425         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12426         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12427         (strcasestr): Remove __strcasestr_sse42 ifunc.
12428         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12429         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12430         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12431
12432 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12433
12434         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12435         * sysdeps/sh/bits/fenv.h: ... here.
12436         * sysdeps/sh/sh4/fpu/bits: Remove directory.
12437
12438 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12439
12440         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12441
12442         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12443         hypotf multiarch implementations.
12444         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12445         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12446         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12447         multiarch hypot for PPC64.
12448         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12449         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12450         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12451         multiarch hypotf for PPC64.
12452
12453         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12454         modff multiarch implementations.
12455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12458         multiarch modf for PPC64.
12459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12462         multiarch modff for PPC64.
12463
12464         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12465         and logl multiarch implementations.
12466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12469         multiarch logb for PPC64.
12470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12473         multiarch logb for PPC64.
12474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12477         multiarch logb for PPC64.
12478
12479         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12480         isinff multiarch implementation.
12481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12482         file.
12483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12485         multiarch isinf for PPC64.
12486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12487         file.
12488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12489         multiarch isinff for PPC64.
12490
12491         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12492         finitef multiarch implementation.
12493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12494         file.
12495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12497         multiarch finite for PPC64.
12498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12499         file.
12500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12501         multiarch finitef for PPC64.
12502
12503         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12504         lrint multiarch implementation.
12505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12506         file.
12507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12509         multiarch llrint for PPC64.
12510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12511         multiarch lrint for PPC64.
12512
12513         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12514         copysignf multiarch implementation.
12515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12516         file.
12517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12518         file.
12519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12520         multiarch copysign for PPC64.
12521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12522         multiarch copysignf for PPC64.
12523
12524         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12525         multiarch implementation.
12526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12527         file.
12528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12529         file.
12530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12531         file.
12532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12533         file.
12534         multiarch llround for PPC64.
12535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12536         multiarch trunc for PPC64.
12537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12538         multiarch truncf for PPC64.
12539
12540         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12541         multiarch implementation.
12542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12543         file.
12544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12545         file.
12546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12547         file.
12548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12549         file.
12550         multiarch llround for PPC64.
12551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12552         multiarch round for PPC64.
12553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12554         multiarch roundf for PPC64.
12555
12556         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12557         multiarch implementation.
12558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12559         file.
12560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12561         file.
12562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12563         file.
12564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12565         file.
12566         multiarch llround for PPC64.
12567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12568         multiarch floor for PPC64.
12569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12570         multiarch floorf for PPC64.
12571
12572         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12573         multiarch implementation.
12574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12575         file.
12576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12577         file.
12578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12579         file.
12580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12581         file.
12582         multiarch llround for PPC64.
12583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12584         multiarch ceil for PPC64.
12585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12586         multiarch ceilf for PPC64.
12587
12588         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12589         multiarch implementation.
12590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12591         file.
12592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12593         file.
12594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12595         file.
12596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12597         multiarch llround for PPC64.
12598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12599         multiarch lround for PPC64.
12600
12601         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12602         multiarch implementation.
12603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12606         file.
12607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12610         multiarch isnan for PPC64.
12611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12612         multiarch isnanf for PPC64.
12613
12614         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12615         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12616         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12617         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12618         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12620
12621         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12622         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12623         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12624         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12625
12626         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12627         multiarch implementations.
12628         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12629         (__libc_ifunc_impl_list): Likewise.
12630         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12631         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12632         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12633         multiarch stpcpy for PPC64.
12634
12635         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12636         multiarch implementations.
12637         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12638         (__libc_ifunc_impl_list): Likewise.
12639         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12640         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12641         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12642         multiarch strcpy for PPC64.
12643
12644         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12645         redefine function name.
12646         (_wordcopy_fwd_dest_aligned): Likewise.
12647         (_wordcopy_bwd_aligned): Likewise.
12648         (_wordcopy_bwd_dest_aligned): Likewise.
12649         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12650         multiarch implementations.
12651         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12652         (__libc_ifunc_impl_list): Likewise.
12653         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12654         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12655         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12656         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12657         multiarch wcscpy for PPC64.
12658
12659         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12660         multiarch implementations.
12661         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12662         (__libc_ifunc_impl_list): Likewise.
12663         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12664         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12665         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12666         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12667         multiarch wcscpy for PPC64.
12668
12669         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12670         multiarch implementations.
12671         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12672         (__libc_ifunc_impl_list): Likewise.
12673         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12674         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12675         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12676         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12677         multiarch wcsrchr for PPC64.
12678
12679         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12680         multiarch implementations.
12681         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12682         (__libc_ifunc_impl_list): Likewise.
12683         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12684         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12685         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12686         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12687         multiarch wcschr for PPC64.
12688
12689         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12690         multiarch implementations.
12691         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12692         (__libc_ifunc_impl_list): Likewise.
12693         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12694         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12695         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12696         multiarch strchrnul for PPC64.
12697
12698         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12699         implementations.
12700         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12701         (__libc_ifunc_impl_list): Likewise.
12702         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12703         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12704         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12705         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12706         strchr for PPC64.
12707
12708         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12709         implementations.
12710         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12711         (__libc_ifunc_impl_list): Likewise.
12712         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12713         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12714         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12715         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12716         strncmp for PPC64.
12717
12718         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12719         multiarch implementations.
12720         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12721         (__libc_ifunc_impl_list): Likewise.
12722         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12723         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12724         strncasecmp for PPC64.
12725         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12726         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12727         multiarch strncasecmp_l for PPC64.
12728
12729         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12730         multiarch implementations.
12731         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12732         (__libc_ifunc_impl_list): Likewise.
12733         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12734         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12735         multiarch strcasecmp for PPC64.
12736         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12737         file.
12738         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12739         multiarch strcasecmp_l for PPC64.
12740
12741         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12742         implementations.
12743         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12744         (__libc_ifunc_impl_list): Likewise.
12745         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12746         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12747         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12748         strnlen for PPC64.
12749
12750         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12751         implementations.
12752         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12753         (__libc_ifunc_impl_list): Likewise.
12754         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12755         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12756         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12757         strlen for PPC64.
12758
12759         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12760         implementations.
12761         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12762         (__libc_ifunc_impl_list): Likewise.
12763         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12764         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12765         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12766         rawmemrchr for PPC64.
12767
12768         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12769         implementation.
12770         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12771         (__libc_ifunc_impl_list): Likewise.
12772         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12773         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12774         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12775         memrchr for PPC64.
12776
12777         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12778         implementation.
12779         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12780         (__libc_ifunc_impl_list): Likewise.
12781         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12782         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12783         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12784         memchr for PPC64.
12785
12786         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12787         implementation.
12788         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12789         (__libc_ifunc_impl_list): Likewise.
12790         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12791         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12792         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12793         mempcpy for PPC64.
12794
12795         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12796         avoid cretion of __bzero symbol.
12797         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12798         Likewise.
12799         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12800         Likewise.
12801         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12802         Likewise.
12803         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12804         multiarch implementations.
12805         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12806         (__libc_ifunc_impl_list): Likewise.
12807         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12808         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12809         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12810         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12811         bzero for PPC32.
12812         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12813         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12814         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12815         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12816         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12817         memset for PPC64.
12818         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12819
12820         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12821         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12822         implementations.
12823         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12824         (__libc_ifunc_impl_list): Likewise.
12825         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12826         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12827         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12828         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12829         memcmp for PPC64.
12830
12831         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12832         multiarch for POWER/PPC64.
12833         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12834         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12835         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12836         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12837         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12838         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12839         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12840         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12841         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12842         memcpy for PPC64.
12843
12844         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12845         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12846         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12847         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12848         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12849         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12850         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12851         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12852         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12853         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12854         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12855         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12856         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12857         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12858         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12866
12867 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12868
12869         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12870
12871 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12872
12873         * benchtests/Makefile (bench): Add exp2 and log2.
12874         (LDLIBS-bench-exp2): Add -lm.
12875         (LDLIBS-bench-log2): Likewise.
12876         * benchtests/exp2-inputs: New inputs file.
12877         * benchtests/log2-inputs: New inputs file.
12878         * benchtests/log-inputs: Add new inputs.
12879         * benchtests/tan-inputs: Likewise.
12880
12881 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12882
12883         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12884         definition...
12885         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12886         (csloww2): ... from here.
12887
12888         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12889         instead of structures.
12890         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12891         (POLYNOMIAL): Likewise.
12892         (TAYLOR_SLOW): Likewise.
12893         (__sin): Likewise.
12894         (__cos): Likewise.
12895         (slow1): Likewise.
12896         (slow2): Likewise.
12897         (sloww): Likewise.
12898         (sloww1); Likewise.
12899         (sloww2): Likewise.
12900         (bsloww1): Likewise.
12901         (bsloww2): Likewise.
12902         (cslow2): Likewise.
12903         (csloww): Likewise.
12904         (csloww1): Likewise.
12905         (csloww2): Likewise.
12906
12907 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
12908
12909         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12910         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12911         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12912         * malloc/hooks.c (realloc_check): Likewise.
12913
12914         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12915         * malloc/arena.c: Remove PER_THREAD conditional.
12916         [!PER_THREAD]: Remove code.
12917         (ptmalloc_unlock_all2): Likewise.
12918         (ptmalloc_init): Likewise.
12919         (_int_new_arena): Likewise.
12920         (arena_get2): Likewise.
12921         * malloc/hooks.c (__malloc_get_state): Likewise.
12922         (__malloc_set_state): Likewise.
12923         * malloc/malloc.c: Likewise.
12924         (struct malloc_state): Likewise.
12925         (struct malloc_par): Likewise.
12926         (__libc_realloc): Likewise.
12927         (__libc_mallopt): Likewise.
12928
12929 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12930
12931         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12932
12933 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
12934
12935         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12936         macro to a function.  Check for zero perturb_byte.
12937         (_int_malloc, _int_free): Remove zero perturb_byte checks.
12938
12939         * malloc/malloc.c: (force_reg): Remove.
12940         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12941         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
12942         force_reg by atomic_forced_read.
12943         * malloc/arena.c (ptmalloc_init): Likewise.
12944         * malloc/hooks.c (top_check): Likewise.
12945
12946 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12947
12948         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12949
12950 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
12951
12952         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12953
12954 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
12955
12956         * math/auto-libm-test-in: Add tests of lgamma.
12957         * math/auto-libm-test-out: Regenerated.
12958         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12959         (M_LOG_2_SQRT_PIl): Likewise.
12960         (lgamma_test_data): Use AUTO_TESTS_f_f1.
12961         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12962         mpfr_f_f1.
12963         (func_calc_desc): Add mpfr_f_f1 union field.
12964         (ARGS1): New macro.
12965         (ARGS2): Likewise.
12966         (ARGS3): Likewise.
12967         (ARGS4): Likewise.
12968         (RET1): Likewise.
12969         (RET2): Likewise.
12970         (CALC): Likewise.
12971         (FUNC): Likewise.
12972         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12973         (test_functions): Add lgamma.
12974         (calc_generic_results): Handle mpfr_f_f1.
12975         * sysdeps/i386/fpu/libm-test-ulps: Update.
12976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12977
12978 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12979
12980         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12981         __mpn_add_n for PowerPC64/POWER7.
12982         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12983         __mpn_sub_n for PowerPC64/POWER7.
12984
12985         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12986         __mpn_addmul_1 for PowerPC64.
12987         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12988         __mpn_submul_1 for PowerPC64.
12989         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12990         for PowerPC64.
12991         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12992         for PowerPC64.
12993
12994 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
12995
12996         [BZ #15089]
12997         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12998
12999 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13000
13001         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13002
13003         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13004         add multiarch folders.
13005         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13006         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13007         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13008         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13009         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13010         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13011         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13012         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13013         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13014         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13015         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13022
13023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13024         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13026         New file.
13027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13028         New file.
13029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13030         multiarch __ieee754_hypot for PowerPC32.
13031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13032         New file.
13033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13034         New file.
13035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13036         multiarch __ieee754_hypotf for PowerPC32.
13037
13038         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13039         long_double_symbol only if __logbl is defined.
13040         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13041         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13042         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13043         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13044         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13045         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13046         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13047         path for implementation.
13048         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13049         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13051         logb, and logbl multiarch implementations for PowerPC32.
13052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13053         file.
13054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13055         file.
13056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13057         multiarch logb for PowerPC32.
13058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13059         file.
13060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13061         file.
13062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13063         multiarch logbf for PowerPC32.
13064         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13066         file.
13067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13068         multiarch logbl implementation for PowerPC32.
13069
13070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13071         and modff multiarch implementations.
13072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13073         New file.
13074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13075         New file.
13076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13077         multiarch modf for PowerPC32.
13078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13079         New file.
13080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13081         New file.
13082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13083         multiarch modff for PowerPC32.
13084
13085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13086         and lrintf multiarch implementations.
13087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13088         New file.
13089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13090         New file.
13091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13092         multiarch lrint for PowerPC32.
13093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13094         file: multiarch lrintf for PowerPC32.
13095
13096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13097         and lroundf multiarch implementations.
13098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13099         New file.
13100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13101         New file.
13102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13103         New file.
13104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13105         multiarch lround for PowerPC32.
13106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13107         file: multiarch lroundf for PowerPC32.
13108
13109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13110         copysign and copysignf multiarch implementations.
13111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13112         New file.
13113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13114         New file.
13115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13116         file: multiarch copysign for PowerPC32.
13117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13118         file: multiarch copysignf for PowerPC32.
13119
13120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13121         and truncf multiarch implementations.
13122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13123         New file.
13124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13125         file.
13126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13127         multiarch trunc for PowerPC32.
13128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13129         New file.
13130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13131         New file.
13132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13133         multiarch truncf for PowerPC32.
13134
13135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13136         and roundf multiarch implementations.
13137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13138         New file.
13139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13140         file.
13141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13142         multiarch round for PowerPC32.
13143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13144         New file.
13145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13146         New file.
13147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13148         multiarch roundf for PowerPC32.
13149
13150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13151         and floorf multiarch implementations.
13152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13153         New file.
13154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13155         file.
13156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13157         multiarch floor for PowerPC32.
13158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13159         New file.
13160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13161         New file.
13162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13163         multiarch floorf for PowerPC32.
13164
13165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13166         and ceilf multiarch implementations.
13167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13168         New file.
13169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13170         file.
13171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13172         multiarch ceil for PowerPC32.
13173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13174         New file.
13175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13176         file.
13177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13178         multiarch ceilf for PowerPC32.
13179
13180         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13181         is defined.
13182         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13183         FINITEF is defined.
13184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13185         and finitef multiarch implementations.
13186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13187         New file.
13188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13189         file.
13190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13191         multiarch finite for PowerPC32.
13192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13193         New file.
13194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13195         file: multiarch finitef for PowerPC32.
13196
13197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13198         and isinff multiarch implementations.
13199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13200         file.
13201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13202         file.
13203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13204         multiarch isinf for PowerPC32.
13205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13206         New file.
13207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13208         multiarch isinff for PowerPC32.
13209
13210         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13211         alias when __isnan is defined.
13212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13213         and isnanf multiarch implementations.
13214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13215         file.
13216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13217         file.
13218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13219         file.
13220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13221         file.
13222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13223         multiarch isnan for PowerPC32.
13224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13225         New file.
13226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13227         New file.
13228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13229         multiarch isnanf for PowerPC32.
13230
13231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13232         and sqrtf multiarch implementations.
13233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13234         file.
13235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13236         file.
13237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13238         multiarch sqrt for PowerPC32.
13239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13240         file.
13241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13242         file.
13243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13244         multiarch sqrtf for PowerPC32.
13245
13246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13247         and llroundf multiarch implementations.
13248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13249         New file.
13250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13251         New file.
13252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13253         New file.
13254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13255         file: multiarch llround for PowerPC32.
13256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13257         file: multiarch llroundf for PowerPC32.
13258
13259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13260         multiarch PowerPC32 fpu implementations.
13261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13262         New file.
13263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13264         New file.
13265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13266         multiarch llrint for PowerPC32.
13267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13268         New file.
13269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13270         New file.
13271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13272         file.
13273
13274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13275
13276         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13277         file.
13278         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13279         file.
13280         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13281         file.
13282         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13283         multiarch wordcopy for PPC32.
13284         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13285         wordcopy objects.
13286         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13287         (__libc_ifunc_impl_list): Likewise.
13288         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13289         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13290         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13291         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13292         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13293         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13294
13295         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13296         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13297         file.
13298         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13299         file.
13300         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13301         file.
13302         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13303         multiarch wcscpy for PPC32.
13304         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13305         multiarch objects.
13306         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13307         (__libc_ifunc_impl_list): Likewise.
13308         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13309         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13310         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13311         sysdeps/powerpc/power6/wcscpy.c.
13312
13313         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13314         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13315         file.
13316         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13317         file.
13318         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13319         file.
13320         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13321         multiarch wcsrchr for PPC32.
13322         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13323         multiarch objects.
13324         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13325         (__libc_ifunc_impl_list): Likewise.
13326         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13327         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13328         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13329         sysdeps/powerpc/power6/wcsrchr.c.
13330
13331         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13332         file.
13333         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13334         file.
13335         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13336         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13337         multiarch wcschr for PPc32.
13338         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13339         multiarch objects.
13340         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13341         (__libc_ifunc_impl_list): Likewise.
13342         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13343         * sysdeps/powerpc/power6/wcschr.c: ... to here.
13344         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13345         sysdeps/powerpc/power6/wcschr.c.
13346
13347         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13348         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13349         file.
13350         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13351         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13352         file: multiarch strchr for PPC32.
13353         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13354         multiarch objects.
13355         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13356         (__libc_ifunc_impl_list): Likewise.
13357
13358         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13359         name.
13360         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13361         file.
13362         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13363         file.
13364         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13365         multiarch strchrnul for PPC32.
13366         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
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/strncase-power7.c: New
13372         file.
13373         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13374         multiarch strncasecmp for PPC32.
13375         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13376         file.
13377         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13378         multiarch strncasecmp_l for PPC32.
13379         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13380         strncasecmp multiarch objects.
13381         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13382         (__libc_ifunc_impl_list): Likewise.
13383
13384         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13385         file.
13386         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13387         multiarch strncasecmp for PPC32.
13388         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13389         New file.
13390         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13391         multiarch strcasecmp_l for PPC32.
13392         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13393         multiarch objects.
13394         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13395         (__libc_ifunc_impl_list): Likewise.
13396
13397         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13398         file.
13399         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13400         file.
13401         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13402         multiarch strncmp for PPC32.
13403         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13404         multiarch objects.
13405         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13406         (__libc_ifunc_impl_list): Likewise.
13407
13408         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13409         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13410         file.
13411         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13412         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13413         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13414         multiarch objects.
13415         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13416         (__libc_ifunc_impl_list): Likewise.
13417
13418         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13419         file.
13420         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13421         file.
13422         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13423         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13424         multiarch objects.
13425         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13426         (__libc_ifunc_impl_list): Likewise.
13427
13428         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13429         file.
13430         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13431         file.
13432         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13433         multiarch rawmemchr for PPC32.
13434         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13435         multiarch objects.
13436         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13437         (__libc_ifunc_impl_list): Likewise.
13438
13439         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13440         file.
13441         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13442         file.
13443         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13444         file: memrchr multiarch for PPC32.
13445         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13446         multiarch objects.
13447         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13448         (__libc_ifunc_impl_list): Likewise.
13449
13450         * string/memchr.c (__memchr): Using macro to redefine symbol name.
13451         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13452         file.
13453         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13454         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13455         multiarch memchr for PPC32.
13456         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13457         multiarch objects.
13458         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13459         (__libc_ifunc_impl_list): Likewise.
13460
13461         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13462         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13463         file.
13464         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13465         file.
13466         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13467         file: multiarch mempcpy for PPC32.
13468         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13469         multiarch objects.
13470         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13471         (__libc_ifunc_impl_list): Likewise.
13472
13473         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13474         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13475         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13476         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13477         multiarch bzero for PPC32.
13478         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13479         file.
13480         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13481         file.
13482         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13483         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13484         file: multiarch memset for PPC32.
13485         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13486         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13487         memset multiarch objects.
13488         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13489         (__libc_ifunc_impl_list): Likewise.
13490
13491         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13492         file.
13493         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13494         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13495         memcmp for PPC32.
13496         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13497         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13498         multiarch objects.
13499         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13500         (__libc_ifunc_impl_list): Likewise.
13501
13502         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13503         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13504         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13505         file.
13506         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13507         file.
13508         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13509         file.
13510         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13511         multiarch memcpy for PPC32.
13512         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13513         multiarch objects.
13514         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13515         (__libc_ifunc_impl_list): Likewise.
13516
13517         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13518         support multiarch for POWER/PPC32.
13519         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13520         Likewise.
13521         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13523         Implies file to make multiarch folder appers before the fpu and
13524         default folder for power4 configuration.
13525
13526 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
13527
13528         * scripts/bench.pl: Append volatile keyword to type.
13529
13530 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13531
13532         * sysdeps/sh/sotruss-lib.c: New file.
13533         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13534
13535 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13536
13537         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13538
13539 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
13540
13541         [BZ #6810]
13542         * math/w_tgamma.c: Include <errno.h>.
13543         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
13544         * math/w_tgammaf.c: Include <errno.h>.
13545         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
13546         * math/w_tgammal.c: Include <errno.h>.
13547         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
13548         * math/auto-libm-test-in: Do not allow missing errno on tgamma
13549         underflow.  Add more tgamma tests.
13550         * math/auto-libm-test-out: Regenerated.
13551         * sysdeps/i386/fpu/libm-test-ulps: Update.
13552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13553
13554         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13555         sin, sinh, tan, tanh, tgamma, y0 and y1.
13556         * math/auto-libm-test-out: Regenerated.
13557         * math/libm-test.inc (TEST_COND_x86_64): New macro.
13558         (TEST_COND_x86): Likewise.
13559         (M_E2l): Remove macro.
13560         (M_E3l): Likewise.
13561         (M_2_SQRT_PIl): Likewise.
13562         (M_SQRT_PIl): Likewise.
13563         (M_1_DIV_El): Likewise.
13564         (log_test_data): Use AUTO_TESTS_f_f.
13565         (log10_test_data): Likewise.
13566         (log1p_test_data): Likewise.
13567         (log2_test_data): Likewise.
13568         (sin_test_data): Likewise.
13569         (sin_tonearest_test_data): Likewise.
13570         (sin_towardzero_test_data): Likewise.
13571         (sin_downward_test_data): Likewise.
13572         (sin_upward_test_data): Likewise.
13573         (sinh_test_data): Likewise.
13574         (sinh_tonearest_test_data): Likewise.
13575         (sinh_towardzero_test_data): Likewise.
13576         (sinh_downward_test_data): Likewise.
13577         (sinh_upward_test_data): Likewise.
13578         (tan_test_data): Likewise.
13579         (tan_tonearest_test_data): Likewise.
13580         (tan_towardzero_test_data): Likewise.
13581         (tan_downward_test_data): Likewise.
13582         (tan_upward_test_data): Likewise.
13583         (tanh_test_data): Likewise.
13584         (tgamma_test_data): Likewise.
13585         (y0_test_data): Likewise.
13586         (y1_test_data): Likewise.
13587         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13588         (special_real_inputs): Add pi/4.
13589         * sysdeps/i386/fpu/libm-test-ulps: Update.
13590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13591
13592 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13593
13594         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13595         "longjmp_target" static probes.
13596         (__longjmp): Rename to __longjmp_symbol.
13597         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13598         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13599         on which longjmp to generate.
13600         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13601         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13602         probe.
13603         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13604         (__sigjmp_save): Rename to __sigjmp_save_symbol.
13605         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13606         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13607         and __sigjmp_save_symbol based on which sigsetjmp to generated.
13608         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13610         __longjmp_symbol based on which __longjmp to generate.
13611         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13612         probe.
13613         (setjmp): Rename to setjmp_symbol.
13614         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13615         (_setjmp): Rename to _setjmp_symbol.
13616         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13617         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13618         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13619         which setjmp to generate.
13620         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13621         "longjmp_target" static probes.
13622
13623 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13624
13625         * benchtests/README: Add note about output arguments.
13626         * benchtests/bench-sincos.c: Remove file.
13627         * benchtests/sincos-inputs: New file.
13628         * scripts/bench.pl: Identify output arguments and define
13629         static variables for them.
13630
13631         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13632
13633         [BZ #15941]
13634         * Makefile (INSTALL): Add install-plain.texi as the primary
13635         dependency.
13636         * manual/install-plain.texi: New file.
13637         * manual/install.texi: Include node directive only for
13638         non-plaintext output.
13639
13640 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
13641
13642         * stdlib/longlong.h: Update from GCC.
13643
13644         [BZ #6807]
13645         [BZ #15901]
13646         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13647         * math/w_j0f.c (y0f): Likewise.
13648         * math/w_j0l.c (__y0l): Likewise.
13649         * math/w_j1.c (y1): Likewise.
13650         * math/w_j1f.c (y1f): Likewise.
13651         * math/w_j1l.c (__y1l): Likewise
13652         * math/w_jn.c (yn): Likewise.
13653         * math/w_jnf.c (ynf): Likewise.
13654         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13655         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
13656         value for Bessel function domain errors outside _SVID_ mode.
13657         Adjust sign of return value for yn (negative integer, 0).
13658         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13659         by zero in return for negative x and set sign appropriately for
13660         negative n.
13661         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13662         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13663         * math/libm-test.inc (y0_test_data): Add more tests and adjust
13664         expectations in error cases.
13665         (y1_test_data): Likewise.
13666         (yn_test_data): Likewise.
13667         * sysdeps/i386/fpu/libm-test-ulps: Update.
13668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13669
13670 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13671
13672         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13673         "64" to "64-v1".  Add "64-v2".
13674         (abi-64-options): Rename to ...
13675         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
13676         (abi-64-condition): Rename to ...
13677         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
13678         (abi-64-ld-soname): Rename to ...
13679         (abi-64-v1-ld-soname): ... this.
13680         (abi-64-v2-options): Define.
13681         (abi-64-v2-condition): Likewise.
13682         (abi-64-v2-ld-soname): Likewise.
13683         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13684         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13688
13689 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13690             Alan Modra  <amodra@gmail.com>
13691
13692         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13693         New versions for use with the ELFv2 ABI.
13694         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13695         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13696         declaration.
13697         (struct La_ppc64v2_retval): Likewise.
13698         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13699         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13700         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13701         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13702         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13703         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13704         Do not save or restore CR.
13705         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13706         (_dl_profile_resolve): Do no save or restore CR.  Support extended
13707         return values for ELFv2 ABI.  Fix location of FPR return registers.
13708         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13709         updated values for _CALL_ELF == 2.
13710         (La_regs, La_retval, int_retval): Likewise.
13711
13712 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13713
13714         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13715         (FRAME_MIN_SIZE_PARM): Likewise.
13716         (FRAME_BACKCHAIN): Likewise.
13717         (FRAME_CR_SAVE): Likewise.
13718         (FRAME_LR_SAVE): Likewise.
13719         (FRAME_TOC_SAVE): Likewise.
13720         (FRAME_PARM_SAVE): Likewise.
13721         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13722         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13723         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13724         (call_mcount_parm_offset): New macro.
13725         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13726         (PROF): Use symbolic stack frame offsets.
13727         (TAIL_CALL_SYSCALL_ERROR): Likewise.
13728         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13729         Redefine in terms of FRAME_MIN_SIZE.
13730         (_dl_runtime_resolve): Use symbolic stack frame offsets.
13731         (_dl_profile_resolve): Likewise.  Update comment.
13732         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13733         symbols stack frame offsets.
13734         (__sigsetjmp): Likewise.
13735         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13736         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13737         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13738         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13739
13740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13741         (FRAME_BACKCHAIN): Remove.
13742         (FRAME_CR_SAVE): Likewise.
13743         (FRAME_LR_SAVE): Likewise.
13744         (FRAME_COMPILER_DW): Likewise.
13745         (FRAME_LINKER_DW): Likewise.
13746         (FRAME_TOC_SAVE): Likewise.
13747         (FRAME_PARM_SAVE): Likewise.
13748         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13749         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13750         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13752         (CHECK_SP): Use symbolic stack frame offsets.
13753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13754         zone" instead of caller's parameter save area for temp storage.
13755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13756         Likewise.  Also, use symbolic stack frame offsets.
13757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13758         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13759         our own stack frame instead of the caller's.
13760         (__socket): Use symbolic stack frame offsets.
13761
13762 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13763             Alan Modra  <amodra@gmail.com>
13764
13765         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13766         Define.
13767         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13768         (PPC64_LOCAL_ENTRY_OFFSET): Define.
13769         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13770         New function.
13771         (elf_machine_fixup_plt): Call it.
13772         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
13773         reloc arguments.
13774         (elf_machine_rela): Update call to elf_machine_plt_conflict.
13775         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13776         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13777         r2 before calling target.
13778
13779 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13780             Alan Modra  <amodra@gmail.com>
13781
13782         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13783         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13784         versions of macros to support ELFv2 ABI.
13785         (LOCALENTRY): New macro.
13786         (ENTRY, EALIGN): Use it.
13787         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13788         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13789         fall through into ENTRY entry point.
13790         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13791         Only define if _CALL_ELF != 2.
13792
13793         (elf_machine_matches_host): Verify ABI version matches.
13794         (RTLD_START): Use LOCALENTRY.
13795         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13796         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13797         (PLT_ENTRY_WORDS): New macro.
13798         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13799         (elf_machine_runtime_setup): Support ELFv2 ABI.
13800         (elf_machine_fixup_plt): Likewise.
13801         (elf_machine_plt_conflict): Likewise.
13802         (resolve_ifunc): Likewise.
13803         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13804         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13805         Likewise.
13806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13807         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13809         (makecontext): Support ELFv2 ABI.
13810         * elf/elf.h (EF_PPC64_ABI): Define.
13811
13812 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13813
13814         * sysdeps/powerpc/powerpc64/sysdep.h
13815         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13816         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13817         (ENTRY) [ASSEMBLER]: ... but instead here ...
13818         (EALIGN) [ASSEMBLER]: ... and here.
13819         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13820         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13821         (ENTRY_2) [!ASSEMBLER]: Use it.
13822         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13823         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
13824         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13825         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13826         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13828         Use PPC64_LOAD_FUNCPTR.
13829
13830         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13831
13832 2013-12-04  Alan Modra  <amodra@gmail.com>
13833
13834         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13835         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13836         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13837         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13838
13839         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13840         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13841         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13842         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13843         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13844         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13845
13846 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13847
13848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13849         (__makecontext): Fix incorrect CFI when backtracing out of
13850         context created via makecontext.
13851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13852         (__setcontext): Fix incorrect CFI during switch to new context.
13853         (__novec_setcontext): Likewise.
13854
13855 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
13856
13857         [BZ #4772]
13858         * time/strptime_l.c (__strptime_internal): Allow modifiers
13859         in strptime.
13860         * time/tst-strptime.c (day_tests): Add testcase.
13861
13862 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13863
13864         * scripts/bench.pl: Skip over blank lines.
13865
13866 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
13867
13868         [BZ #926]
13869         * manual/time.texi (Calendar Time): Clarify what timezone functions
13870         use.
13871
13872 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13873
13874         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13875
13876 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
13877
13878         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13879         implementation.
13880         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13881         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13882         * debug/memset_chk.c (__memset_chk): Likewise.
13883         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13884         * debug/strncpy_chk.c: Likewise.
13885
13886 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
13887
13888         [BZ #15268]
13889         [BZ #15425]
13890         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13891         (__ieee754_exp): For possibly underflowing results, check size of
13892         result and force underflow exception if required.
13893         * math/auto-libm-test-in: Add more tests of exp.
13894         * math/auto-libm-test-out: Regenerated.
13895         * sysdeps/i386/fpu/libm-test-ulps: Update.
13896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13897
13898         [BZ #16283]
13899         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13900         * math/w_exp2f.c (__exp2f): Likewise.
13901         * math/w_exp2l.c (__exp2l): Likewise.
13902         * math/auto-libm-test-in: Do not allow missing errno on exp2
13903         underflow.
13904         * math/auto-libm-test-out: Regenerated.
13905
13906 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
13907
13908         [BZ #16274]
13909         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13910         handle filename validation.
13911         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13912         (do_open): Delete.
13913
13914 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
13915
13916         [BZ #6786]
13917         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13918         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13919         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13920         <float.h>.
13921         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13922         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13923         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13924         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13925         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13926         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13927         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13928         * math/auto-libm-test-in: Don't allow missing errno from erfc.
13929         Add more erfc tests.
13930         * math/auto-libm-test-out: Regenerated.
13931         * sysdeps/i386/fpu/libm-test-ulps: Update.
13932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13933
13934         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13935         exp2, expm1, j0 and j1.
13936         * math/auto-libm-test-out: Regenerated.
13937         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13938         (erfc_test_data): Likewise.
13939         (exp_test_data): Likewise.
13940         (exp_tonearest_test_data): Likewise.
13941         (exp_towardzero_test_data): Likewise.
13942         (exp_downward_test_data): Likewise.
13943         (exp_upward_test_data): Likewise.
13944         (exp10_test_data): Likewise.
13945         (exp2_test_data): Likewise.
13946         (expm1_test_data): Likewise.
13947         (j0_test_data): Likewise.
13948         (j1_test_data): Likewise.
13949         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13950         (input_flag_type): Add flag_xfail_rounding.
13951         (input_flags): Add xfail-rounding.
13952         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13953         (output_for_one_input_case): Handle flag_xfail_rounding.
13954         * sysdeps/i386/fpu/libm-test-ulps: Update.
13955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13956
13957 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
13958
13959         [BZ #16289]
13960         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13961         division by 0.
13962
13963 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
13964
13965         [BZ #16195]
13966         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13967         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13968         (STAP_PROBE0): New macro.
13969         (STAP_PROBE1): Likewise.
13970         (STAP_PROBE2): Likewise.
13971         (STAP_PROBE3): Likewise.
13972         (STAP_PROBE4): Likewise.
13973
13974 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
13975
13976         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13977
13978 2013-12-02  Steve Ellcey  <sellcey@mips.com>
13979
13980         * benchtests/Makefile (bench): Add sqrt.
13981         (LDLIBS-bench-sqrt): New.
13982         * benchtests/sqrt-input: New.
13983
13984 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
13985
13986         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13987         (GAIH_EAI): Likewise.
13988         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13989         (gaih_inet): Likewise.
13990         (getaddrinfo): Don't use GAIH_EAI.
13991
13992         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13993         (struct gaih): Remove definition.
13994
13995 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13996
13997         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13998         Use HERRNOP directly.
13999
14000 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14001
14002         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14003
14004 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
14005
14006         * math/gen-auto-libm-tests.c (test_functions): Add more
14007         single-argument functions.
14008         (special_fill_pi_2): New function.
14009         (special_fill_minus_pi_2): Likewise.
14010         (special_fill_pi_6): Likewise.
14011         (special_fill_minus_pi_6): Likewise.
14012         (special_fill_pi_3): Likewise.
14013         (special_fill_2pi_3): Likewise.
14014         (special_fill_e): Likewise.
14015         (special_fill_1_e): Likewise.
14016         (special_fill_e_minus_1): Likewise.
14017         (special_real_inputs): Add more special inputs.
14018         (output_for_one_input_case): Do not require ERANGE on underflow to
14019         zero if round-to-nearest result does not underflow to zero, unless
14020         exact results required.
14021         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14022         atan, atanh, cbrt, cos and cosh.
14023         * math/auto-libm-test-out: Regenerated.
14024         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14025         (acos_tonearest_test_data): Likewise.
14026         (acos_towardzero_test_data): Likewise.
14027         (acos_downward_test_data): Likewise.
14028         (acos_upward_test_data): Likewise.
14029         (acosh_test_data): Likewise.
14030         (asin_test_data): Likewise.
14031         (asin_tonearest_test_data): Likewise.
14032         (asin_towardzero_test_data): Likewise.
14033         (asin_upward_test_data): Likewise.
14034         (asinh_test_data): Likewise.
14035         (atan_test_data): Likewise.
14036         (atanh_test_data): Likewise.
14037         (cbrt_test_data): Likewise.
14038         (cos_test_data): Likewise.
14039         (cos_tonearest_test_data): Likewise.
14040         (cos_towardzero_test_data): Likewise.
14041         (cos_downward_test_data): Likewise.
14042         (cos_upward_test_data): Likewise.
14043         (cosh_test_data): Likewise.
14044         (cosh_tonearest_test_data): Likewise.
14045         (cosh_towardzero_test_data): Likewise.
14046         (cosh_downward_test_data): Likewise.
14047         (cosh_upward_test_data): Likewise.
14048         * sysdeps/i386/fpu/libm-test-ulps: Update.
14049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14050
14051 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
14052
14053         [BZ #6787]
14054         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14055         * math/w_exp10f.c (__exp10f): Likewise.
14056         * math/w_exp10l.c (__exp10l): Likewise.
14057         * math/libm-test.inc (exp10_test_data): Add more tests and expect
14058         errno settings in existing tests.
14059
14060         [BZ #14032]
14061         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14062         precision control set to double precision.
14063         * sysdeps/i386/fpu/w_sqrt.c: New file.
14064         * math/auto-libm-test-in: Add more tests.
14065         * math/auto-libm-test-out: Update.
14066
14067         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14068         (sqrt_test_tonearest): New function.
14069         (sqrt_towardzero_test_data): New variable.
14070         (sqrt_test_towardzero): New function.
14071         (sqrt_downward_test_data): New variable.
14072         (sqrt_test_downward): New function.
14073         (sqrt_upward_test_data): New variable.
14074         (sqrt_test_upward): New function.
14075         (main): Call the new functions.
14076
14077         * math/gen-auto-libm-tests.c: New file.
14078         * math/auto-libm-test-in: Likewise.
14079         * math/auto-libm-test-out: New generated file.
14080         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14081         variables.
14082         (%beautify): Add generated representations of zero.
14083         (top level): Set $auto_input and call parse_auto_input.
14084         (beautify): Remove trailing "f" from hex float constants.
14085         (parse_args): Handle XFAIL_TEST.
14086         (convert_condition): New function.
14087         (or_value): Likewise.
14088         (or_cond_value): Likewise.
14089         (generate_testfile): Handle AUTO_TESTS_* lines.
14090         (parse_auto_input): New function.
14091         * math/libm-test.inc (XFAIL_TEST): New macro.
14092         (ERRNO_UNCHANGED): Update value.
14093         (ERRNO_EDOM): Likewise.
14094         (ERRNO_ERANGE): Likewise.
14095         (IGNORE_RESULT): Likewise.
14096         (TEST_COND_flt_32): New macro.
14097         (TEST_COND_dbl_64): Likewise.
14098         (TEST_COND_ldbl_96_intel): Likewise.
14099         (TEST_COND_ldbl_96_m68k): Likewise.
14100         (TEST_COND_ldbl_128): Likewise.
14101         (TEST_COND_ldbl_128ibm): Likewise.
14102         (TEST_COND_long32): Likewise.
14103         (TEST_COND_long64): Likewise.
14104         (TEST_COND_before_rounding): Likewise.
14105         (TEST_COND_after_rounding): Likewise.
14106         (enable_test): Handle XFAIL_TEST flag.
14107         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14108         with finite results.
14109         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14110         auto-libm-test-out.
14111
14112 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14113             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14114
14115         [BZ #16214]
14116         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14117         __tls_get_addr_internal instead of __tls_get_offset in order to
14118         avoid GOT pointer dependency.  Make rtld export
14119         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14120         __tls_get_addr since we are a __tls_get_offset platform.
14121         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14122         GOT pointer being set up before.
14123         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14124
14125 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
14126
14127         * manual/math.texi (Errors in Math Functions): Document accuracy
14128         goals.
14129
14130         [BZ #15004]
14131         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14132         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14133         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14134         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14135         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14136         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14137         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14138         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14139         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14140         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14141         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14142         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14143         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14144         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14145         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14146         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14147
14148         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14149         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14150         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14151         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14152         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14153         Likewise.
14154         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14155         Likewise.
14156         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14157         Likewise.
14158         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14159         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14160         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14161         atomic-feupdateenv and flt-rounds.
14162         * sysdeps/powerpc/nofpu/Versions (libc): Add
14163         __atomic_feholdexcept, __atomic_feclearexcept,
14164         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14165         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14166         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14167         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14168         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14169         here.
14170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14171         Update.
14172
14173         * manual/arith.texi (FP Exceptions): Document that exceptions may
14174         not be raised when matherr is used.
14175         (Math Error Reporting): Document overflow in directed rounding
14176         modes.  Document that errno may not be set when finite values are
14177         returned on overflow.  Document intent to set errno on underflow
14178         only for underflow to zero.
14179
14180         [BZ #16271]
14181         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14182         round-to-nearest then adjust result for other rounding modes.
14183         * include/fenv.h (fegetround): Use libm_hidden_proto.
14184         * math/fegetround.c (fegetround): Use libm_hidden_def.
14185         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14186         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14187         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14188         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14189         Likewise.
14190         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14191         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14192         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14193         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14194
14195 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14196
14197         [BZ #16077]
14198         * nss/Versions (libnss_files): Add
14199         _nss_files_gethostbyname3_r.
14200         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14201         New function.
14202         (HOST_DB_LOOKUP): Remove macro.
14203         (_nss_files_gethostbyname_r): Implement function without the
14204         HOST_DB_LOOKUP macro.
14205         (_nss_files_gethostbyname2_r): Likewise.
14206
14207 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
14208
14209         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14210
14211 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
14212
14213         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14214         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14215         warning.
14216
14217 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14218
14219         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14220         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14221         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14222         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14223         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14224         __fe_nomask_env_priv and attribute_hidden.
14225         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14226         (libc_feupdateenv_test_ppc): Likewise.
14227         (libc_feresetround_ppc): Likewise.
14228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14229         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14230         compat_symbol macro.
14231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14232         (__fe_nomask_env): Likewise.
14233         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14234
14235 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14236
14237         * string/Makefile: Remove ifunc tests.
14238         * string/test-string.h: Define TEST_IFUNC.
14239         * string/test-bcopy-ifunc.c: Remove.
14240         * string/test-bzero-ifunc.c: Likewise.
14241         * string/test-memccpy-ifunc.c: Likewise.
14242         * string/test-memchr-ifunc.c: Likewise.
14243         * string/test-memcmp-ifunc.c: Likewise.
14244         * string/test-memcpy-ifunc.c: Likewise.
14245         * string/test-memmem-ifunc.c: Likewise.
14246         * string/test-memmove-ifunc.c: Likewise.
14247         * string/test-mempcpy-ifunc.c: Likewise.
14248         * string/test-memrchr-ifunc.c: Likewise.
14249         * string/test-memset-ifunc.c: Likewise.
14250         * string/test-rawmemchr-ifunc.c: Likewise.
14251         * string/test-stpcpy-ifunc.c: Likewise.
14252         * string/test-stpncpy-ifunc.c: Likewise.
14253         * string/test-strcasecmp-ifunc.c: Likewise.
14254         * string/test-strcasestr-ifunc.c: Likewise.
14255         * string/test-strcat-ifunc.c: Likewise.
14256         * string/test-strchr-ifunc.c: Likewise.
14257         * string/test-strchrnul-ifunc.c: Likewise.
14258         * string/test-strcmp-ifunc.c: Likewise.
14259         * string/test-strcpy-ifunc.c: Likewise.
14260         * string/test-strcspn-ifunc.c: Likewise.
14261         * string/test-strlen-ifunc.c: Likewise.
14262         * string/test-strncasecmp-ifunc.c: Likewise.
14263         * string/test-strncat-ifunc.c: Likewise.
14264         * string/test-strncmp-ifunc.c: Likewise.
14265         * string/test-strncpy-ifunc.c: Likewise.
14266         * string/test-strnlen-ifunc.c: Likewise.
14267         * string/test-strpbrk-ifunc.c: Likewise.
14268         * string/test-strrchr-ifunc.c: Likewise.
14269         * string/test-strspn-ifunc.c: Likewise.
14270         * string/test-strstr-ifunc.c: Likewise.
14271
14272 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14273
14274         * benchtests/Makefile: Remove ifunc tests.
14275         * benchtests/bench-string.h: Define TEST_IFUNC.
14276         * benchtests/bench-bcopy-ifunc.c: Remove.
14277         * benchtests/bench-bzero-ifunc.c: Likewise.
14278         * benchtests/bench-memccpy-ifunc.c: Likewise.
14279         * benchtests/bench-memchr-ifunc.c: Likewise.
14280         * benchtests/bench-memcmp-ifunc.c: Likewise.
14281         * benchtests/bench-memcpy-ifunc.c: Likewise.
14282         * benchtests/bench-memmem-ifunc.c: Likewise.
14283         * benchtests/bench-memmove-ifunc.c: Likewise.
14284         * benchtests/bench-mempcpy-ifunc.c: Likewise.
14285         * benchtests/bench-memrchr-ifunc.c: Likewise.
14286         * benchtests/bench-memset-ifunc.c: Likewise.
14287         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14288         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14289         * benchtests/bench-stpcpy-ifunc.c: Likewise.
14290         * benchtests/bench-stpncpy-ifunc.c: Likewise.
14291         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14292         * benchtests/bench-strcasestr-ifunc.c: Likewise.
14293         * benchtests/bench-strcat-ifunc.c: Likewise.
14294         * benchtests/bench-strchr-ifunc.c: Likewise.
14295         * benchtests/bench-strchrnul-ifunc.c: Likewise.
14296         * benchtests/bench-strcmp-ifunc.c: Likewise.
14297         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14298         * benchtests/bench-strcpy-ifunc.c: Likewise.
14299         * benchtests/bench-strcspn-ifunc.c: Likewise.
14300         * benchtests/bench-strlen-ifunc.c: Likewise.
14301         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14302         * benchtests/bench-strncat-ifunc.c: Likewise.
14303         * benchtests/bench-strncmp-ifunc.c: Likewise.
14304         * benchtests/bench-strncpy-ifunc.c: Likewise.
14305         * benchtests/bench-strnlen-ifunc.c: Likewise.
14306         * benchtests/bench-strpbrk-ifunc.c: Likewise.
14307         * benchtests/bench-strrchr-ifunc.c: Likewise.
14308         * benchtests/bench-strsep-ifunc.c: Likewise.
14309         * benchtests/bench-strspn-ifunc.c: Likewise.
14310         * benchtests/bench-strstr-ifunc.c: Likewise.
14311
14312 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14313
14314         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14315
14316 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14317
14318         * resolv/netdb.h: Use __glibc_reserved instead __unused.
14319         * rt/aio.h: Likewise.
14320         * sysdeps/gnu/bits/utmp.h: Likewise.
14321         * sysdeps/gnu/bits/utmpx.h: Likewise.
14322         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14323         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14324         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14325         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14326         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14327         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14328         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14329         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14330         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14331         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14332         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14333         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14334         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14336         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14337         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14338         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14339         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14340         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14341         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14342         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14343         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14344         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14345         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14346         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14347         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14348         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14349         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14350         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14351         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14352         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14353         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14354         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14355         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14356         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14357         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14358         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14359         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14360         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14361         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14362         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14363         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14364
14365 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
14366
14367         [BZ #16245]
14368         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14369         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14370
14371 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
14372
14373         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14374         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14375         Likewise.
14376
14377 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14378
14379         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14380         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14381         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14382         (__fesetround): Remove define.
14383         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14384         rounding and exceptions handling.
14385         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14386         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14387         (__fe_nomask_env): Likewise.
14388         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14389         __fegetround instead of fegetround.
14390         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14391         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14392
14393 2013-11-21  Roland McGrath  <roland@hack.frob.com>
14394
14395         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14396         it's there.
14397
14398         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14399
14400 2013-11-21  Meador Inge  <meadori@codesourcery.com>
14401
14402         [BZ #11157]
14403         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14404         (encrypt_r): Likewise.
14405         * malloc/obstack.h (obstack_free): Likewise.
14406         * posix/unistd.h (encrypt): Likewise.
14407
14408 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
14409
14410         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14411         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14412         DL_CALL_DT_FINI() that call the functions directly.
14413         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14414         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14415         * elf/dl-fini.c: Likewise.
14416
14417 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
14418
14419         * malloc/hooks.c (memalign_check): Add alignment rounding.
14420         * malloc/malloc.c (_mid_memalign): New function.
14421         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14422         Implement by calling _mid_memalign.
14423         * manual/probes.texi (Memory Allocation Probes): Remove
14424         memory_valloc_retry and memory_pvalloc_retry.
14425
14426 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14427
14428         * locale/programs/locarchive.c (open_archive): Add const
14429         qualifier to ARCHIVEFNAME and copy default fname to
14430         DEFAULT_FNAME.
14431
14432         [BZ #15601]
14433         * libio/tst-widetext.input: Rename Oriya to Odia.
14434         * locale/iso-639.def: Likewise.
14435
14436         * manual/probes.texi (Mathematical Function Probes): Add
14437         documentation for sin, cos, asin and acos probes.
14438         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14439         (__sin32): Add slowasin probe.
14440         (__cos32): Add slowacos probe.
14441         (__mpsin): Add slowsin probe.
14442         (__mpcos): Add slowcos probe.
14443
14444 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
14445
14446         [BZ #15483]
14447         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14448         thread-local __sim_exceptions_thread and global
14449         __sim_exceptions_global.
14450         (__sim_disabled_exceptions): Change to thread-local
14451         __sim_disabled_exceptions_thread and global
14452         __sim_disabled_exceptions_global.
14453         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14454         and global __sim_round_mode_global.
14455         (__simulate_exceptions): Use thread-local floating-point state and
14456         set global state from it as needed.
14457         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14458         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14459         __sim_round_mode_thread.
14460         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14461         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14462         and global __sim_exceptions_global.
14463         (__sim_disabled_exceptions): Change to thread-local
14464         __sim_disabled_exceptions_thread and global
14465         __sim_disabled_exceptions_global.
14466         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14467         and global __sim_round_mode_global.
14468         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14469         (SIM_SET_GLOBAL): Likewise.
14470         * sysdeps/powerpc/soft-fp/sfp-machine.h
14471         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14472         __sim_round_mode_thread.
14473         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14474         __sim_disabled_exceptions_thread.
14475         (__sim_exceptions): Change to __sim_exceptions_thread.
14476         (__sim_disabled_exceptions): Change to
14477         __sim_disabled_exceptions_thread.
14478         (__sim_round_mode): Change to __sim_round_mode_thread.
14479         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14480         thread-local floating-point state and set global state from it as
14481         needed.
14482         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14483         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14484         (__sim_disabled_exceptions): Remove extern declaration.
14485         (feenableexcept): Use thread-local floating-point state and set
14486         global state from it as needed.
14487         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14488         extern declaration.
14489         (__sim_disabled_exceptions): Likewise.
14490         (__sim_round_mode): Likewise.
14491         (__fegetenv): Use thread-local floating-point state.
14492         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14493         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14494         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14495         floating-point state and set global state from it as needed.
14496         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14497         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14498         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14499         Likewise.
14500         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14501         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14502         Likewise.
14503         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14504         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14505         Use __sim_round_mode_thread.
14506         * math/test-fenv-tls.c: New file.
14507         * math/Makefile (tests): Add test-fenv-tls.
14508         ($(objpfx)test-fenv-tls): Depend on
14509         $(common-objpfx)nptl/libpthread.so.
14510
14511 2013-11-19  Andreas Schwab  <schwab@suse.de>
14512
14513         * locale/programs/locale.c (show_info): Decode wordarray elements.
14514         * locale/categories.def (LC_MONETARY): Add element for
14515         _NL_MONETARY_CRNCYSTR.
14516         * locale/C-monetary.c (conversion_rate): New variable.
14517         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14518         element.
14519
14520 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
14521
14522         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14523         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14524
14525 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
14526
14527         * elf/Makefile (tst-auxv): New test.
14528         * elf/tst-auxv.c: New
14529         * elf/rtld.c (dl_main): Adjust AT_EXECFN
14530
14531 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
14532
14533         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14534         (hidden_proto): Caller changed.
14535         (hidden_tls_proto): New macro.
14536         (libc_hidden_tls_proto): Likewise.
14537         (rtld_hidden_tls_proto): Likewise.
14538         (libm_hidden_tls_proto): Likewise.
14539         (libresolv_hidden_tls_proto): Likewise.
14540         (librt_hidden_tls_proto): Likewise.
14541         (libdl_hidden_tls_proto): Likewise.
14542         (libnss_files_hidden_tls_proto): Likewise.
14543         (libnsl_hidden_tls_proto): Likewise.
14544         (libnss_nisplus_hidden_tls_proto): Likewise.
14545         (libutil_hidden_tls_proto): Likewise.
14546
14547 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
14548
14549         [BZ #10253]
14550         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14551         (decompose_rpath): Defer expansion to fillin_rpath.
14552         (_dl_init_paths): Pass linkmap to fillin_rpath.
14553
14554 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14555
14556         * benchtests/Makefile: Add strsep.
14557         * benchtests/bench-strsep.c: New file: strsep benchtest.
14558         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14559
14560 2013-11-18  Andreas Schwab  <schwab@suse.de>
14561
14562         * locale/programs/locale.c (show_info) [case byte]: Check for
14563         '\377' instead of '\177'.
14564         * locale/C-monetary.c (not_available): Always use "\377".
14565         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14566         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
14567         detect unavailable sign_posn locale elements.
14568         * locale/localeconv.c (__localeconv): For grouping and
14569         mon_grouping handle "\177" and "\377" like no grouping.
14570         (INT_ELEM): New macro.  Use it to set all numeric members.
14571         * locale/programs/ld-monetary.c (monetary_read)
14572         <tok_mon_grouping>: Normalize single -1 to the empty string.
14573         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14574         Likewise.
14575
14576 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
14577
14578         [BZ #16055]
14579         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14580         when we match (nil).
14581         * stdio-common/tst-sscanf.c (struct test): Add testcase.
14582
14583 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
14584
14585         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14586         (NO_TEST_INLINE): Update value.
14587         (ERRNO_UNCHANGED): Likewise.
14588         (ERRNO_EDOM): Likewise.
14589         (ERRNO_ERANGE): Likewise.
14590         (IGNORE_RESULT): Likewise.
14591         (check_float_internal): Check signs of NaN results if
14592         TEST_NAN_SIGN used.
14593         (check_complex): Pass TEST_NAN_SIGN flag through to second
14594         check_float_internal call.
14595         (copysign_test_data): Add tests with quiet NaNs as second
14596         argument.  Use TEST_NAN_SIGN.
14597         (fabs_test_data): Add test of negative quiet NaN argument.  Use
14598         TEST_NAN_SIGN.
14599         (signbit_test_data): Add tests of quiet NaN argument.
14600         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14601
14602         * math/gen-libm-test.pl (show_exceptions): Take extra argument
14603         $ignore_result.
14604         (parse_args): Handle function results specified as IGNORE.
14605         * math/libm-test.inc (IGNORE_RESULT): New macro.
14606         (check_float_internal): Do not check numerical result if flag
14607         IGNORE_RESULT set.
14608         (check_complex): Pass through IGNORE_RESULT to second
14609         check_float_internal call.
14610         (check_int): Do not check numerical result if flag IGNORE_RESULT
14611         set.
14612         (check_long): Likewise.
14613         (check_bool): Likewise.
14614         (check_longlong): Likewise.
14615         (lrint_test_data): Add tests of infinite and NaN arguments.
14616         (lrint_tonearest_test_data): Likewise.
14617         (lrint_towardzero_test_data): Likewise.
14618         (lrint_downward_test_data): Likewise.
14619         (lrint_upward_test_data): Likewise.
14620         (llrint_test_data): Likewise.
14621         (llrint_tonearest_test_data): Likewise.
14622         (llrint_towardzero_test_data): Likewise.
14623         (llrint_downward_test_data): Likewise.
14624         (llrint_upward_test_data): Likewise.
14625         (lround_test_data): Likewise.
14626         (llround_test_data): Likewise.
14627
14628         * math/libm-test.inc (NO_TEST_INLINE): New macro.
14629         (ERRNO_UNCHANGED): Update value.
14630         (ERRNO_EDOM): Likewise.
14631         (ERRNO_ERANGE): Likewise.
14632         (NO_TEST_INLINE_FLOAT): New macro.
14633         (NO_TEST_INLINE_DOUBLE): Likewise.
14634         (enable_test): New function.
14635         (RUN_TEST_f_f): Check enable_test before running test.
14636         (RUN_TEST_2_f): Likewise.
14637         (RUN_TEST_fff_f): Likewise.
14638         (RUN_TEST_c_f): Likewise.
14639         (RUN_TEST_f_f1): Likewise.
14640         (RUN_TEST_fF_f1): Likewise.
14641         (RUN_TEST_fI_f1): Likewise.
14642         (RUN_TEST_ffI_f1): Likewise.
14643         (RUN_TEST_c_c): Likewise.
14644         (RUN_TEST_cc_c): Likewise.
14645         (RUN_TEST_f_i): Likewise.
14646         (RUN_TEST_f_i_tg): Likewise.
14647         (RUN_TEST_ff_i_tg): Likewise.
14648         (RUN_TEST_f_b): Likewise.
14649         (RUN_TEST_f_b_tg): Likewise.
14650         (RUN_TEST_f_l): Likewise.
14651         (RUN_TEST_f_L): Likewise.
14652         (RUN_TEST_fFF_11): Likewise.
14653         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14654         conditionals.
14655         (cosh_test_data): Likewise.
14656         (exp_test_data): Likewise.
14657         (expm1_test_data): Likewise.
14658         (hypot_test_data): Likewise.
14659         (pow_test_data): Likewise.
14660         (sinh_test_data): Likewise.
14661         (tanh_test_data): Likewise.
14662         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14663         flags argument.
14664
14665         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14666         tests with quiet NaN input and output.
14667         (acosh_test_data): Likewise.
14668         (asin_test_data): Likewise.
14669         (asinh_test_data): Likewise.
14670         (atan_test_data): Likewise.
14671         (atanh_test_data): Likewise.
14672         (atan2_test_data): Likewise.
14673         (cbrt_test_data): Likewise.
14674         (cos_test_data): Likewise.
14675         (cosh_test_data): Likewise.
14676         (erf_test_data): Likewise.
14677         (erfc_test_data): Likewise.
14678         (exp_test_data): Likewise.
14679         (exp10_test_data): Likewise.
14680         (exp2_test_data): Likewise.
14681         (expm1_test_data): Likewise.
14682         (hypot_test_data): Likewise.
14683         (j0_test_data): Likewise.
14684         (j1_test_data): Likewise.
14685         (jn_test_data): Likewise.
14686         (lgamma_test_data): Likewise.
14687         (log_test_data): Likewise.
14688         (log10_test_data): Likewise.
14689         (log1p_test_data): Likewise.
14690         (log2_test_data): Likewise.
14691         (pow_test_data): Likewise.
14692         (scalb_test_data): Likewise.
14693         (sin_test_data): Likewise.
14694         (sincos_test_data): Likewise.
14695         (sinh_test_data): Likewise.
14696         (tan_test_data): Likewise.
14697         (tanh_test_data): Likewise.
14698         (tgamma_test_data): Likewise.
14699         (y0_test_data): Likewise.
14700         (y1_test_data): Likewise.
14701         (yn_test_data): Likewise.
14702
14703         [BZ #16167]
14704         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14705         argument being NaN and avoid computations with second argument in
14706         that case.
14707         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14708         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14709         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14710
14711 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
14712
14713         * locale/iso-639.def: Add Chitwani Tharu (the).
14714
14715 2013-11-14  Andreas Schwab  <schwab@suse.de>
14716
14717         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14718         word instead of empty string.
14719
14720 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14721
14722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14723         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14725         (__fe_nomask_env): Likewise.
14726
14727 2013-11-13  Steve Ellcey  <sellcey@mips.com>
14728
14729         * benchtests/bench-timing.h: Include time.h.
14730
14731 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
14732
14733         [BZ #15997]
14734         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14735         to 3.4.0 for x32.
14736         * sysdeps/unix/sysv/linux/configure: Regenerated.
14737
14738 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
14739
14740         [BZ #16151]
14741         * stdlib/strtod_l.c (round_and_return): Do not consider
14742         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14743         exponent one less than half the least subnormal exponent.
14744         * stdlib/test-strtod-round-data: Add more tests.
14745         * stdlib/tst-strtod-round.c (tests): Regenerated.
14746
14747 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14748
14749         [BZ #14143]
14750         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14751         (__fe_mask_env): Likewise.
14752         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14753         libm_hidden_proto and add function prototype.
14754         (__fe_mask_env): Add function prototype.
14755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14756         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14758         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14760         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14761
14762 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14763
14764         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14765         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14766
14767 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14768
14769         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14770         of htab_find_slot().
14771
14772 2013-11-11  David S. Miller  <davem@davemloft.net>
14773
14774         [BZ #16150]
14775         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14776         symbol in the non-vis3 case in static builds.
14777         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14778         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14779         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14780         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14781
14782 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
14783
14784         [BZ #387]
14785         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14786         it is empty.
14787
14788 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14789
14790         * benchtests/Makefile: Add bench-strtod.
14791         * benchtests/bench-strtod.c: New file: strtod benchtest
14792
14793 2013-11-11  Andreas Schwab  <schwab@suse.de>
14794
14795         [BZ #16153]
14796         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14797         terminating NUL in key length.
14798
14799 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14800
14801         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14802         Add artificial ODP entry for vDSO symbol for PPC64.
14803         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14804         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14805
14806 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
14807
14808         [BZ #15374]
14809         * nss/getent.c (services_keys): Recognize services starting with digit.
14810
14811 2013-11-06  David S. Miller  <davem@davemloft.net>
14812
14813         [BZ #15985]
14814         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14815         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14816
14817 2013-11-06  Will Newton  <will.newton@linaro.org>
14818
14819         * manual/memory.texi (Malloc Examples): Remove register
14820         keyword from examples.
14821
14822 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
14823
14824         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14825
14826 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
14827
14828         [BZ #6981]
14829         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14830         depending on [__GCC_IEC_559 > 0].
14831         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14832         depending on [__GCC_IEC_559_COMPLEX > 0].
14833
14834 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
14835
14836         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14837         to iso-639.def.
14838
14839 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
14840
14841         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14842
14843 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
14844
14845         [BZ #16112]
14846         * malloc/malloc (malloc_info): Do not handle first bin as
14847         special case.
14848
14849 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
14850
14851         * locale/iso-639.def: Add Central Nahuatl (nhn).
14852
14853 2013-11-01  Bruno Haible  <bruno@clisp.org>
14854
14855         [BZ #7003]
14856         * manual/math.texi (BSD Random): Specify range upper bound as
14857         in POSIX.
14858
14859 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
14860
14861         * locale/iso-639.def: Add Meadow Mari (mhr).
14862
14863 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
14864
14865         [BZ #14752], [BZ #15763]
14866         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14867         Validate name.
14868         * rt/tst_shm.c: Add test for escaping directory.
14869
14870 2013-10-31  Andreas Schwab  <schwab@suse.de>
14871
14872         [BZ #15917]
14873         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14874         followed by 'x' as part of digit sequence.
14875         * stdio-common/tst-sscanf.c (double_tests2): New tests.
14876
14877 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14878
14879         [BZ #16037]
14880         * configure.ac: allow GNU Make 4.0 and greater.
14881         * configure: Regenerated.
14882
14883 2013-10-30  Will Newton  <will.newton@linaro.org>
14884
14885         [BZ #16038]
14886         * malloc/hooks.c (memalign_check): Limit alignment to the
14887         maximum representable power of two.
14888         * malloc/malloc.c (__libc_memalign): Likewise.
14889         * malloc/tst-memalign.c (do_test): Add test for very
14890         large alignment values.
14891         * malloc/tst-posix_memalign.c (do_test): Likewise.
14892
14893 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
14894
14895         [BZ #11087]
14896         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14897         (munmap_chunk): Likewise.
14898         (mremap_chunk): Likewise.
14899
14900 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
14901
14902         [BZ #15799]
14903         * stdlib/div.c (div): Remove obsolete code.
14904         * stdlib/ldiv.c (ldiv): Likewise.
14905         * stdlib/lldiv.c (lldiv): Likewise.
14906
14907 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14908
14909         [BZ #16071]
14910         * nss/nss_files/files-XXX.c (get_contents_ret): New
14911         enumerator.
14912         (get_contents): New function.
14913         (internal_getent): Use it.  Expand size of LINEBUFLEN.
14914
14915 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
14916
14917         * configure.in: Moved to ...
14918         * configure.ac: ... here. Change reference to configure.in
14919         to configure.ac.
14920         * sysdeps/arm/preconfigure.ac: ... here.
14921         configure.in to configure.ac.
14922         * sysdeps/gnu/configure.in: Moved to ...
14923         * sysdeps/gnu/configure.ac: ... here.
14924         * sysdeps/i386/configure.in: Moved to ...
14925         * sysdeps/i386/configure.ac: ... here.
14926         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14927         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14928         * sysdeps/mach/configure.in: Moved to ...
14929         * sysdeps/mach/configure.ac: ... here.
14930         * sysdeps/mach/hurd/configure.in: Moved to ...
14931         * sysdeps/mach/hurd/configure.ac: ... here.
14932         * sysdeps/powerpc/configure.in: Moved to ...
14933         * sysdeps/powerpc/configure.ac: ... here.
14934         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14935         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14936         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14937         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14938         * sysdeps/s390/s390-32/configure.in: Moved to ...
14939         * sysdeps/s390/s390-32/configure.ac: ... here.
14940         * sysdeps/s390/s390-64/configure.in: Moved to ...
14941         * sysdeps/s390/s390-64/configure.ac: ... here.
14942         * sysdeps/sh/configure.in: Moved to ...
14943         * sysdeps/sh/configure.ac: ... here.
14944         * sysdeps/sparc/configure.in: Moved to ...
14945         * sysdeps/sparc/configure.ac: ... here.
14946         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14947         * sysdeps/unix/sysv/linux/configure.ac: ... here.
14948         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14949         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14950         * sysdeps/x86_64/configure.in: Moved to ...
14951         * sysdeps/x86_64/configure.ac: ... here.
14952         * sysdeps/x86_64/preconfigure.in: Moved to ...
14953         * sysdeps/x86_64/preconfigure.ac: ... here.
14954         * aclocal.m4: Change reference to configure.in to configure.ac.
14955         * config.h.in: Likewise.
14956         * manual/install.texi: Likewise.
14957         * manual/maint.texi: Likewise.
14958         * Makefile: Likewise.
14959         * malloc/Makefile: Likewise.
14960         * nscd/Makefile: Likewise.
14961         * Makeconfig: Change reference to configure.in and
14962         preconfigure.in to configure.ac and preconfigure.ac
14963         respectively.
14964         * INSTALL: Regenerated.
14965         * configure: Likewise.
14966         * sysdeps/gnu/configure: Likewise.
14967         * sysdeps/i386/configure: Likewise.
14968         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14969         * sysdeps/mach/configure: Likewise.
14970         * sysdeps/mach/hurd/configure: Likewise.
14971         * sysdeps/powerpc/configure: Likewise.
14972         * sysdeps/powerpc/powerpc32/configure: Likewise.
14973         * sysdeps/powerpc/powerpc64/configure: Likewise.
14974         * sysdeps/s390/s390-32/configure: Likewise.
14975         * sysdeps/s390/s390-64/configure: Likewise.
14976         * sysdeps/sh/configure: Likewise.
14977         * sysdeps/sparc/configure: Likewise.
14978         * sysdeps/unix/sysv/linux/configure: Likewise.
14979         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14980         * sysdeps/x86_64/configure: Likewise.
14981         * sysdeps/x86_64/preconfigure: Likewise.
14982
14983 2013-10-29  Andreas Schwab  <schwab@suse.de>
14984
14985         * stdio-common/Makefile (tst-swscanf-ENV): Define.
14986
14987 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14988
14989         * benchtests/pow-inputs: Add new inputs.
14990
14991         * benchtests/exp-inputs: Add new inputs.
14992
14993         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14994         conditional check for return value.
14995         (__cos32): Likewise.
14996
14997 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14998
14999         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15000         to provide a boost for large inputs with word alignment.
15001         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15002         implementation based on optimized PPC64 strcpy.
15003         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15004         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15005         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15006         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15007
15008 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15009
15010         [BZ #2801]
15011         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15012
15013 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15014
15015         [BZ #14876]
15016         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15017         * time/tst-strptime.c (day_tests): Add testcase.
15018
15019 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15020
15021         [BZ #14029]
15022         * manual/pattern.texi: Acknowledge that fnmatch can fail.
15023
15024 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
15025
15026         [BZ #16074]
15027         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15028         MAP_FAILED on error.
15029
15030 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15031
15032         [BZ #16072]
15033         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15034         heap for large requests.
15035
15036 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
15037
15038         [BZ #9954]
15039         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15040         result if the result has no associated interface.
15041         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15042         interface for all 127.X.Y.Z addresses.
15043
15044 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
15045
15046         * locale/iso-639.def: Add Ligurian (lij)
15047
15048 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
15049
15050         [BZ #15825]
15051         * sunrpc/rpc_main.c: Document rpcgen -5.
15052
15053 2013-10-19  Michael Stahl  <mstahl@redhat.com>
15054
15055         * elf/rtld.c (do_preload): Print the reason why preloading failed.
15056
15057 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15058
15059         [BZ #10278]
15060         * posix/glob.c: Match only directories when trailing slash is present.
15061         * posix/tst-gnuglob.c (my_opendir): Do not open files.
15062         (main): Add testcase.
15063
15064 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15065
15066         [BZ #15670]
15067         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15068
15069 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
15070
15071         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15072         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15073         AUTH_DES and cindex for FIPS 140-2.
15074         (DES Encryption): Add cindex FIPS 46-3.
15075
15076         * locale/locarchive.h (struct locarhandle): Add fname.
15077         * locale/programs/localedef.c (main): Pass ARGV[remaining]
15078         if an optional argument was specified to --list-archive,
15079         otherwise NULL.
15080         * locale/programs/locarchive.c (show_archive_content): Take new
15081         argument fname and pass it via ah.fname to open_archive.
15082         * locale/programs/localedef.h: Update decl.
15083         (open_archive): If AH->fname is non-null, open that file
15084         rather than the default file name, and don't ignore ENOENT.
15085         (create_archive): Set AH.fname to NULL.
15086         (delete_locales_from_archive): Likewise.
15087         (add_locales_to_archive): Likewise.
15088         * locale/programs/locfile.c (write_all_categories): Likewise.
15089
15090 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
15091             Aldy Hernandez  <aldyh@redhat.com>
15092
15093         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15094         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15095         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15096         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15097         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15098         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15099         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15100         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15101         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15102         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15103         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15104         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15105         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15106         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15107         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15108         Likewise.
15109         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15110         Likewise.
15111         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15112         Likewise.
15113         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15114         Likewise.
15115         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15116         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15117         Likewise.
15118         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15119         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15120         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15121         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15122         Likewise.
15123         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15124         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15125         * sysdeps/powerpc/preconfigure: Likewise.
15126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15127         Likewise.
15128         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15129         Replace contents of file by #include of <fenv_libc.h>.
15130         * sysdeps/powerpc/soft-fp/sfp-machine.h
15131         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15132         and <sys/prctl.h>.
15133         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15134         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15135         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15136         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15137         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15138         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15139         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15140         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15141         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15142         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15143         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15144         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15146         Allow copysignl PLT reference to be missing.
15147
15148 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
15149             Joseph Myers  <joseph@codesourcery.com
15150
15151         [BZ #15948]
15152         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15153         single character.
15154         (add_to_tablewc): Assert sequence of wide characters is nonempty.
15155
15156 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15157
15158         * elf/tst-tls-dlinfo.c: Don't include tls.h.
15159         * elf/tst-tls1.c: Likewise.
15160         * elf/tst-tls10.h: Likewise.
15161         * elf/tst-tls14.c: Likewise.
15162         * elf/tst-tls2.c: Likewise.
15163         * elf/tst-tls3.c: Likewise.
15164         * elf/tst-tls4.c: Likewise.
15165         * elf/tst-tls5.c: Likewise.
15166         * elf/tst-tls6.c: Likewise.
15167         * elf/tst-tls7.c: Likewise.
15168         * elf/tst-tls8.c: Likewise.
15169         * elf/tst-tls9.c: Likewise.
15170         * elf/tst-tlsmod1.c: Likewise.
15171         * elf/tst-tlsmod13.c: Likewise.
15172         * elf/tst-tlsmod13a.c: Likewise.
15173         * elf/tst-tlsmod14a.c: Likewise.
15174         * elf/tst-tlsmod16a.c: Likewise.
15175         * elf/tst-tlsmod16b.c: Likewise.
15176         * elf/tst-tlsmod2.c: Likewise.
15177         * elf/tst-tlsmod3.c: Likewise.
15178         * elf/tst-tlsmod4.c: Likewise.
15179         * elf/tst-tlsmod5.c: Likewise.
15180         * elf/tst-tlsmod6.c: Likewise.
15181
15182 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
15183
15184         [BZ #12486]
15185         * malloc/malloc.c: remove checks for statistics.
15186
15187 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15188
15189         [BZ #15277]
15190         * inet/inet_net.c (inet_network): Detect additional invalid strings.
15191         * inet/tst-network.c: Add testcase.
15192
15193 2013-10-17  Andreas Schwab  <schwab@suse.de>
15194
15195         [BZ #15218]
15196         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15197         to determine canonical name.
15198
15199 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15200
15201         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15202         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15203         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15204         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15205         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15206         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15207         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15208         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15209         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15210         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15211         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15212         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15213         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15214         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15215         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15216         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15217         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15218         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15219         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15220         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15221         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15222         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15223         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15224         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15225         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15226         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15227         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15228         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15229         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15230         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15231         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15232         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15233         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15234         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15235         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15236         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15237         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15238         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15239         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15240         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15241         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15242         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15243         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15244         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15245         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15246         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15247         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15248         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15249         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15250         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15251         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15252         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15253         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15254         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15255         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15256         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15257         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15258         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15259
15260 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
15261
15262         [BZ #16041]
15263         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15264         make result into a quiet NaN.
15265
15266 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
15267
15268         * soft-fp/adddf3.c: Fix horizontal whitespace.
15269         * soft-fp/addsf3.c: Likewise.
15270         * soft-fp/addtf3.c: Likewise.
15271         * soft-fp/divdf3.c: Likewise.
15272         * soft-fp/divsf3.c: Likewise.
15273         * soft-fp/divtf3.c: Likewise.
15274         * soft-fp/double.h: Likewise.
15275         * soft-fp/eqdf2.c: Likewise.
15276         * soft-fp/eqsf2.c: Likewise.
15277         * soft-fp/eqtf2.c: Likewise.
15278         * soft-fp/extenddftf2.c: Likewise.
15279         * soft-fp/extended.h: Likewise.
15280         * soft-fp/extendsfdf2.c: Likewise.
15281         * soft-fp/extendsftf2.c: Likewise.
15282         * soft-fp/extendxftf2.c: Likewise.
15283         * soft-fp/fixdfdi.c: Likewise.
15284         * soft-fp/fixdfsi.c: Likewise.
15285         * soft-fp/fixdfti.c: Likewise.
15286         * soft-fp/fixsfdi.c: Likewise.
15287         * soft-fp/fixsfsi.c: Likewise.
15288         * soft-fp/fixsfti.c: Likewise.
15289         * soft-fp/fixtfdi.c: Likewise.
15290         * soft-fp/fixtfsi.c: Likewise.
15291         * soft-fp/fixtfti.c: Likewise.
15292         * soft-fp/fixunsdfdi.c: Likewise.
15293         * soft-fp/fixunsdfsi.c: Likewise.
15294         * soft-fp/fixunsdfti.c: Likewise.
15295         * soft-fp/fixunssfdi.c: Likewise.
15296         * soft-fp/fixunssfsi.c: Likewise.
15297         * soft-fp/fixunssfti.c: Likewise.
15298         * soft-fp/fixunstfdi.c: Likewise.
15299         * soft-fp/fixunstfsi.c: Likewise.
15300         * soft-fp/fixunstfti.c: Likewise.
15301         * soft-fp/floatdidf.c: Likewise.
15302         * soft-fp/floatdisf.c: Likewise.
15303         * soft-fp/floatditf.c: Likewise.
15304         * soft-fp/floatsidf.c: Likewise.
15305         * soft-fp/floatsisf.c: Likewise.
15306         * soft-fp/floatsitf.c: Likewise.
15307         * soft-fp/floattidf.c: Likewise.
15308         * soft-fp/floattisf.c: Likewise.
15309         * soft-fp/floattitf.c: Likewise.
15310         * soft-fp/floatundidf.c: Likewise.
15311         * soft-fp/floatundisf.c: Likewise.
15312         * soft-fp/floatunditf.c: Likewise.
15313         * soft-fp/floatunsidf.c: Likewise.
15314         * soft-fp/floatunsisf.c: Likewise.
15315         * soft-fp/floatunsitf.c: Likewise.
15316         * soft-fp/floatuntidf.c: Likewise.
15317         * soft-fp/floatuntisf.c: Likewise.
15318         * soft-fp/floatuntitf.c: Likewise.
15319         * soft-fp/fmadf4.c: Likewise.
15320         * soft-fp/fmasf4.c: Likewise.
15321         * soft-fp/fmatf4.c: Likewise.
15322         * soft-fp/gedf2.c: Likewise.
15323         * soft-fp/gesf2.c: Likewise.
15324         * soft-fp/getf2.c: Likewise.
15325         * soft-fp/ledf2.c: Likewise.
15326         * soft-fp/lesf2.c: Likewise.
15327         * soft-fp/letf2.c: Likewise.
15328         * soft-fp/muldf3.c: Likewise.
15329         * soft-fp/mulsf3.c: Likewise.
15330         * soft-fp/multf3.c: Likewise.
15331         * soft-fp/negdf2.c: Likewise.
15332         * soft-fp/negsf2.c: Likewise.
15333         * soft-fp/negtf2.c: Likewise.
15334         * soft-fp/op-1.h: Likewise.
15335         * soft-fp/op-2.h: Likewise.
15336         * soft-fp/op-4.h: Likewise.
15337         * soft-fp/op-8.h: Likewise.
15338         * soft-fp/op-common.h: Likewise.
15339         * soft-fp/quad.h: Likewise.
15340         * soft-fp/single.h: Likewise.
15341         * soft-fp/soft-fp.h: Likewise.
15342         * soft-fp/sqrtdf2.c: Likewise.
15343         * soft-fp/sqrtsf2.c: Likewise.
15344         * soft-fp/sqrttf2.c: Likewise.
15345         * soft-fp/subdf3.c: Likewise.
15346         * soft-fp/subsf3.c: Likewise.
15347         * soft-fp/subtf3.c: Likewise.
15348         * soft-fp/truncdfsf2.c: Likewise.
15349         * soft-fp/trunctfdf2.c: Likewise.
15350         * soft-fp/trunctfsf2.c: Likewise.
15351         * soft-fp/trunctfxf2.c: Likewise.
15352         * soft-fp/unorddf2.c: Likewise.
15353         * soft-fp/unordsf2.c: Likewise.
15354         * soft-fp/unordtf2.c: Likewise.
15355
15356 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
15357
15358         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15359         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15360
15361 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
15362
15363         * elf/dl-libc.c: Clear initfini list after freeing.
15364
15365 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
15366
15367         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15368         * soft-fp/addsf3.c: Likewise.
15369         * soft-fp/addtf3.c: Likewise.
15370         * soft-fp/divdf3.c: Likewise.
15371         * soft-fp/divsf3.c: Likewise.
15372         * soft-fp/divtf3.c: Likewise.
15373         * soft-fp/double.h: Likewise.
15374         * soft-fp/eqdf2.c: Likewise.
15375         * soft-fp/eqsf2.c: Likewise.
15376         * soft-fp/eqtf2.c: Likewise.
15377         * soft-fp/extenddftf2.c: Likewise.
15378         * soft-fp/extended.h: Likewise.
15379         * soft-fp/extendsfdf2.c: Likewise.
15380         * soft-fp/extendsftf2.c: Likewise.
15381         * soft-fp/extendxftf2.c: Likewise.
15382         * soft-fp/fixdfdi.c: Likewise.
15383         * soft-fp/fixdfsi.c: Likewise.
15384         * soft-fp/fixdfti.c: Likewise.
15385         * soft-fp/fixsfdi.c: Likewise.
15386         * soft-fp/fixsfsi.c: Likewise.
15387         * soft-fp/fixsfti.c: Likewise.
15388         * soft-fp/fixtfdi.c: Likewise.
15389         * soft-fp/fixtfsi.c: Likewise.
15390         * soft-fp/fixtfti.c: Likewise.
15391         * soft-fp/fixunsdfdi.c: Likewise.
15392         * soft-fp/fixunsdfsi.c: Likewise.
15393         * soft-fp/fixunsdfti.c: Likewise.
15394         * soft-fp/fixunssfdi.c: Likewise.
15395         * soft-fp/fixunssfsi.c: Likewise.
15396         * soft-fp/fixunssfti.c: Likewise.
15397         * soft-fp/fixunstfdi.c: Likewise.
15398         * soft-fp/fixunstfsi.c: Likewise.
15399         * soft-fp/fixunstfti.c: Likewise.
15400         * soft-fp/floatdidf.c: Likewise.
15401         * soft-fp/floatdisf.c: Likewise.
15402         * soft-fp/floatditf.c: Likewise.
15403         * soft-fp/floatsidf.c: Likewise.
15404         * soft-fp/floatsisf.c: Likewise.
15405         * soft-fp/floatsitf.c: Likewise.
15406         * soft-fp/floattidf.c: Likewise.
15407         * soft-fp/floattisf.c: Likewise.
15408         * soft-fp/floattitf.c: Likewise.
15409         * soft-fp/floatundidf.c: Likewise.
15410         * soft-fp/floatundisf.c: Likewise.
15411         * soft-fp/floatunsidf.c: Likewise.
15412         * soft-fp/floatunsisf.c: Likewise.
15413         * soft-fp/floatuntidf.c: Likewise.
15414         * soft-fp/floatuntisf.c: Likewise.
15415         * soft-fp/floatuntitf.c: Likewise.
15416         * soft-fp/fmadf4.c: Likewise.
15417         * soft-fp/fmasf4.c: Likewise.
15418         * soft-fp/fmatf4.c: Likewise.
15419         * soft-fp/gedf2.c: Likewise.
15420         * soft-fp/gesf2.c: Likewise.
15421         * soft-fp/getf2.c: Likewise.
15422         * soft-fp/ledf2.c: Likewise.
15423         * soft-fp/lesf2.c: Likewise.
15424         * soft-fp/letf2.c: Likewise.
15425         * soft-fp/muldf3.c: Likewise.
15426         * soft-fp/mulsf3.c: Likewise.
15427         * soft-fp/multf3.c: Likewise.
15428         * soft-fp/negdf2.c: Likewise.
15429         * soft-fp/negsf2.c: Likewise.
15430         * soft-fp/negtf2.c: Likewise.
15431         * soft-fp/op-1.h: Likewise.
15432         * soft-fp/op-2.h: Likewise.
15433         * soft-fp/op-4.h: Likewise.
15434         * soft-fp/op-8.h: Likewise.
15435         * soft-fp/op-common.h: Likewise.
15436         * soft-fp/quad.h: Likewise.
15437         * soft-fp/single.h: Likewise.
15438         * soft-fp/soft-fp.h: Likewise.
15439         * soft-fp/sqrtdf2.c: Likewise.
15440         * soft-fp/sqrtsf2.c: Likewise.
15441         * soft-fp/sqrttf2.c: Likewise.
15442         * soft-fp/subdf3.c: Likewise.
15443         * soft-fp/subsf3.c: Likewise.
15444         * soft-fp/subtf3.c: Likewise.
15445         * soft-fp/truncdfsf2.c: Likewise.
15446         * soft-fp/trunctfdf2.c: Likewise.
15447         * soft-fp/trunctfsf2.c: Likewise.
15448         * soft-fp/trunctfxf2.c: Likewise.
15449         * soft-fp/unorddf2.c: Likewise.
15450         * soft-fp/unordsf2.c: Likewise.
15451         * soft-fp/unordtf2.c: Likewise.
15452
15453 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
15454
15455         [BZ #15672]
15456         * misc/error.c (error_tail): Fix possible buffer overflow.
15457
15458 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
15459
15460         [BZ #13028]
15461         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15462         address.
15463
15464 2013-10-14  P. J. McDermott  <pj@pehjota.net>
15465
15466         [BZ #832]
15467         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
15468         testing pipefail option.
15469
15470 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15471
15472         * soft-fp/double.h: Indent preprocessor directives inside #if.
15473         * soft-fp/extended.h: Likewise.
15474         * soft-fp/op-2.h: Likewise.
15475         * soft-fp/op-4.h: Likewise.
15476         * soft-fp/op-common.h: Likewise.
15477         * soft-fp/quad.h: Likewise.
15478         * soft-fp/single.h: Likewise.
15479         * soft-fp/soft-fp.h: Likewise.
15480
15481 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
15482
15483         * iconv/iconv_prog.c: Fix typos.
15484         * stdio-common/psiginfo-data.h: Likewise.
15485
15486 2013-10-12   Reuben Thomas <rrt@sc3d.org>
15487
15488         [BZ #15764]
15489         * locale/setlocale.c: Fix typo.
15490
15491 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15492
15493         [BZ #16036]
15494         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15495         signaling NaN arguments.
15496         * soft-fp/unordsf2.c (__unordsf2): Likewise.
15497         * soft-fp/unordtf2.c (__unordtf2): Likewise.
15498
15499         [BZ #14910]
15500         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15501         unordered operands.
15502         * soft-fp/gesf2.c (__gesf2): Likewise.
15503         * soft-fp/getf2.c (__getf2): Likewise.
15504         * soft-fp/ledf2.c (__ledf2): Likewise.
15505         * soft-fp/lesf2.c (__lesf2): Likewise.
15506         * soft-fp/letf2.c (__letf2): Likewise.
15507
15508         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15509         * soft-fp/eqsf2.c (__eqsf2): Likewise.
15510         * soft-fp/eqtf2.c (__eqtf2): Likewise.
15511         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15512         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15513         * soft-fp/fixdfti.c (__fixdfti): Likewise.
15514         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15515         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15516         * soft-fp/fixsfti.c (__fixsfti): Likewise.
15517         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15518         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15519         * soft-fp/fixtfti.c (__fixtfti): Likewise.
15520         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15521         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15522         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15523         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15524         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15525         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15526         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15527         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15528         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15529         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15530         * soft-fp/floatdisf.c (__floatdisf): Likewise.
15531         * soft-fp/floatsisf.c (__floatsisf): Likewise.
15532         * soft-fp/floattidf.c (__floattidf): Likewise.
15533         * soft-fp/floattisf.c (__floattisf): Likewise.
15534         * soft-fp/floattitf.c (__floattitf): Likewise.
15535         * soft-fp/floatundidf.c (__floatundidf): Likewise.
15536         * soft-fp/floatundisf.c (__floatundisf): Likewise.
15537         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15538         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15539         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15540         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15541         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15542         * soft-fp/gesf2.c (__gesf2): Likewise.
15543         * soft-fp/getf2.c (__getf2): Likewise.
15544         * soft-fp/ledf2.c (__ledf2): Likewise.
15545         * soft-fp/lesf2.c (__lesf2): Likewise.
15546         * soft-fp/letf2.c (__letf2): Likewise.
15547
15548         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15549         Undefine and redefine.
15550         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15551         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15552         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15553         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15554         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15555         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15556         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15557         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15558         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15559         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15560         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15561         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15562         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15563         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15564         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15565
15566         [BZ #16032]
15567         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15568         without decrementing exponent if mantissa >= that for the
15569         denominator, not >.
15570         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15571         denominator, not >.  Decrement exponent in < case instead of
15572         incrementing in >= case.
15573         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15574         without decrementing exponent if mantissa >= that for the
15575         denominator, not >.
15576
15577         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15578         computing saturated result for unsigned overflow.
15579
15580 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15581             Jeff Law  <law@redhat.com>
15582
15583         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15584         (atan2Mp): Add systemtap probe marker.
15585         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15586         (__ieee754_log): Add systemtap probe marker.
15587         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15588         (atanMp): Add systemtap probe marker.
15589         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15590         (tanMp): Add systemtap probe marker.
15591         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15592         (__slowexp): Add systemtap probe marker.
15593         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15594         (__slowpow): Add systemtap probe marker.
15595         * manual/probes.texi: Document probes.
15596
15597 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
15598
15599         [BZ #15362]
15600         * libio/fileops.c (_IO_new_file_write): Return count of bytes
15601         written.
15602         (_IO_new_file_xsputn): Don't return EOF if nothing has been
15603         written.
15604         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15605         written to buffer but not flushed.
15606         * libio/iofwrite_u.c:  Likewise.
15607         * libio/iopadn.c:  Return bytes returned even if EOF was
15608         encountered.
15609         * libio/iowpadn.c:  Likewise.
15610         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15611         if _IO_padn does not write the whole buffer.
15612         [!COMPILE_WPRINTF] (PAD): Likewise.
15613
15614 2013-10-10  David S. Miller  <davem@davemloft.net>
15615
15616         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15617         directory block.
15618
15619 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
15620
15621         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
15622         instead of FSF address.
15623         * soft-fp/fixdfti.c: Likewise.
15624         * soft-fp/fixsfti.c: Likewise.
15625         * soft-fp/fixtfti.c: Likewise.
15626         * soft-fp/fixunsdfti.c: Likewise.
15627         * soft-fp/fixunssfti.c: Likewise.
15628         * soft-fp/fixunstfti.c: Likewise.
15629         * soft-fp/floattidf.c: Likewise.
15630         * soft-fp/floattisf.c: Likewise.
15631         * soft-fp/floattitf.c: Likewise.
15632         * soft-fp/floatuntidf.c: Likewise.
15633         * soft-fp/floatuntisf.c: Likewise.
15634         * soft-fp/floatuntitf.c: Likewise.
15635         * soft-fp/trunctfxf2.c: Likewise.
15636
15637         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
15638         * soft-fp/fixdfti.c: Likewise.
15639         * soft-fp/fixsfti.c: Likewise.
15640         * soft-fp/fixtfti.c: Likewise.
15641         * soft-fp/fixunsdfti.c: Likewise.
15642         * soft-fp/fixunssfti.c: Likewise.
15643         * soft-fp/fixunstfti.c: Likewise.
15644         * soft-fp/floattidf.c: Likewise.
15645         * soft-fp/floattisf.c: Likewise.
15646         * soft-fp/floattitf.c: Likewise.
15647         * soft-fp/floatuntidf.c: Likewise.
15648         * soft-fp/floatuntisf.c: Likewise.
15649         * soft-fp/floatuntitf.c: Likewise.
15650         * soft-fp/trunctfxf2.c: Likewise.
15651
15652 2013-10-10  David S. Miller  <davem@davemloft.net>
15653
15654         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15655
15656 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
15657
15658         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15659         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15660         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15661         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15662         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15663         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15664         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15665
15666         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15667         for NaNs before doing comparisons on argument.
15668         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15669         Likewise.
15670
15671 2013-10-10  Will Newton  <will.newton@linaro.org>
15672
15673         * malloc/hooks.c (memalign_check): Ensure the value of bytes
15674         passed to _int_memalign does not overflow.
15675
15676 2013-10-10  Torvald Riegel  <triegel@redhat.com>
15677
15678         * scripts/bench.pl: Add include-sources directive.
15679         * benchtests/README: Update documentation.
15680
15681 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
15682
15683         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15684         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15685         instead of FP_INIT_ROUNDMODE.
15686         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15687         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15688
15689         [BZ #16034]
15690         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
15691         copy class of input value.
15692         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
15693         not handle exceptions.
15694         * soft-fp/negsf2.c (__negsf2): Likewise.
15695         * soft-fp/negtf2.c (__negtf2): Likewise.
15696         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15697
15698 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
15699
15700         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15701         semicolon.  From Linux kernel.
15702
15703 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
15704
15705         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15706
15707 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
15708
15709         [BZ #156]
15710         * manual/socket.texi: Added statement about buffer
15711         for gethostbyname2_r.
15712
15713 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
15714
15715         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15716         Use .p2align directive instead, throughout.
15717         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15718         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15719         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15720         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15721         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15722         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15723         * sysdeps/x86_64/strchr.S: Likewise.
15724         * sysdeps/x86_64/strrchr.S: Likewise.
15725
15726 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15727
15728         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15729
15730         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15731
15732         * sysdeps/generic/math_private.h (__mpsin1): Remove
15733         declaration.
15734         (__mpcos1): Likewise.
15735         (__mpsin): New argument __range_reduce.
15736         (__mpcos): Likewise.
15737         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15738         (slow): Use __mpsin and __mpcos.
15739         (slow1): Likewise.
15740         (slow2): Likewise.
15741         (sloww): Likewise.
15742         (sloww1): Likewise.
15743         (sloww2): Likewise.
15744         (bsloww): Likewise.
15745         (bsloww1): Likewise.
15746         (bsloww2): Likewise.
15747         (cslow2): Likewise.
15748         (csloww): Likewise.
15749         (csloww1): Likewise.
15750         (csloww2): Likewise.
15751         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15752         range_reduce.  Merge in __mpsin1.
15753         (__mpcos): Likewise.
15754         (__mpsin1): Remove.
15755         (__mpcos1): Likewise.
15756
15757 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
15758
15759         * locale/loadlocale.c (_nl_intern_locale_data): Use
15760         LOCFILE_ALIGNED_P.
15761         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15762         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15763         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15764         obstack data is appropriately aligned.
15765         (obstack_int32_grow_fast): Likewise.
15766         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15767         * locale/programs/locfile.c (add_locale_uint32): Likewise.
15768         (add_locale_uint32_array): Likewise.
15769
15770 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
15771
15772         * benchtests/Makefile: Remove ARGLIST and RET variables.
15773         ($(objpfx)bench-%.c): Pass only function name to the script.
15774         * benchtests/README: Update documentation.
15775         * benchtests/acos-inputs: Add new directives.
15776         * benchtests/acosh-inputs: Likewise.
15777         * benchtests/asin-inputs: Likewise.
15778         * benchtests/asinh-inputs: Likewise.
15779         * benchtests/atan-inputs: Likewise.
15780         * benchtests/atanh-inputs: Likewise.
15781         * benchtests/cos-inputs: Likewise.
15782         * benchtests/cosh-inputs: Likewise.
15783         * benchtests/exp-inputs: Likewise.
15784         * benchtests/log-inputs: Likewise.
15785         * benchtests/pow-inputs: Likewise.
15786         * benchtests/rint-inputs: Likewise.
15787         * benchtests/sin-inputs: Likewise.
15788         * benchtests/sinh-inputs: Likewise.
15789         * benchtests/tan-inputs: Likewise.
15790         * benchtests/tanh-inputs: Likewise.
15791         * scripts/bench.pl: Add support for new directives.
15792
15793 2013-10-07  Alan Modra  <amodra@gmail.com>
15794
15795         * README: Fix careless merge.
15796
15797 2013-10-05  Alan Modra  <amodra@gmail.com>
15798
15799         * NEWS: Mention powerpc64le support and bugs fixed.
15800         * README: Both big-endian and little-endian powerpc64 supported.
15801
15802 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15803
15804         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15805         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15806         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15807         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15808
15809 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
15810
15811         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15812         match prototype.
15813
15814 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
15815
15816         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15817         Move -mhard-float appending from
15818         ports/sysdeps/powerpc/powerpc32/Makefile.
15819         [$(with-fp) = yes] (ASFLAGS): Likewise.
15820         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15821         * sysdeps/powerpc/nofpu: Move directory from
15822         ports/sysdeps/powerpc/nofpu.
15823         * sysdeps/powerpc/soft-fp: Move directory from
15824         ports/sysdeps/powerpc/soft-fp.
15825         * sysdeps/powerpc/powerpc32/405: Move directory from
15826         ports/sysdeps/powerpc/powerpc32/405.
15827         * sysdeps/powerpc/powerpc32/440: Move directory from
15828         ports/sysdeps/powerpc/powerpc32/440.
15829         * sysdeps/powerpc/powerpc32/464: Move directory from
15830         ports/sysdeps/powerpc/powerpc32/464.
15831         * sysdeps/powerpc/powerpc32/476: Move directory from
15832         ports/sysdeps/powerpc/powerpc32/476.
15833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15834         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15836         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15838         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15840         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15842         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15843         * README: Update for powerpc-*-linux-gnu software floating point
15844         support in libc.
15845
15846         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15847         case to powerpc/powerpc32*.
15848         * sysdeps/unix/sysv/linux/configure: Regenerated.
15849
15850         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15851         (_FPU_MASK_OM): Define as 0x04.
15852         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15853         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15854         0x00c10080.
15855         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15856         0x0000003c.
15857         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15858
15859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15860         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15861         getcontext_e500.
15862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15863         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15864         setcontext_e500.
15865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15866         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15867         and setcontext_e500.
15868
15869 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
15870
15871         * locale/iso-3166.def: Update iso-1366.def and related occurrences
15872
15873 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15874
15875         * manual/threads.texi (Default Thread Attributes): Fix typo.
15876
15877 2013-10-04  Will Newton  <will.newton@linaro.org>
15878
15879         * malloc/Makefile: Add tst-memalign.
15880         * malloc/tst-memalign.c: New file.
15881
15882         * malloc/tst-posix_memalign.c: Add comments.
15883         (do_test): Add comments and call free on all potentially
15884         allocated pointers. Add space after cast.
15885
15886         * malloc/tst-pvalloc.c: Add comments.
15887         (do_test): Add comments and call free on all potentially
15888         allocated pointers. Remove duplicate check for NULL pointer.
15889         Add space after cast.
15890
15891         * malloc/tst-valloc.c: Add comments.
15892         (do_test): Add comments and call free on all potentially
15893         allocated pointers. Remove duplicate check for NULL pointer.
15894         Add space after cast.
15895
15896 2013-10-04  Alan Modra  <amodra@gmail.com>
15897
15898         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15899         Use stdint types in rather than __attribute__((mode())).
15900         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15901
15902 2013-10-04  Alan Modra  <amodra@gmail.com>
15903
15904         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15905         Correct handling of unaligned relocs for little-endian.
15906         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15907
15908 2013-10-04  Alan Modra  <amodra@gmail.com>
15909
15910         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15911         * configure: Regenerate.
15912         * nptl/shlib-versions: Powerpc*le starts at 2.18.
15913         * shlib-versions: Likewise.
15914
15915 2013-10-04  Alan Modra  <amodra@gmail.com>
15916
15917         * string/tester.c (test_memrchr): Increment reported test cycle.
15918
15919 2013-10-04  Alan Modra  <amodra@gmail.com>
15920
15921         * string/test-memcpy.c (do_one_test): When reporting errors, print
15922         string address and don't overrun end of string.
15923
15924 2013-10-04  Alan Modra  <amodra@gmail.com>
15925
15926         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15927         insrdi.  Make better use of reg selection to speed exit slightly.
15928         Schedule entry path a little better.  Remove useless "are we done"
15929         checks on entry to main loop.  Handle wrapping around zero address.
15930         Correct main loop count.  Handle single left-over word from main
15931         loop inline rather than by using loop_small.  Remove extra word
15932         case in loop_small caused by wrong loop count.  Add little-endian
15933         support.
15934         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15935         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
15936         cache hint.
15937         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15938         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15939         support.  Avoid rlwimi.
15940         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15941
15942 2013-10-04  Alan Modra  <amodra@gmail.com>
15943
15944         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
15945         insrdi.  Formatting.
15946         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15947         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15948         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15949         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15950         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15951         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15952
15953 2013-10-04  Alan Modra  <amodra@gmail.com>
15954
15955         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15956         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15957         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15958         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15959         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15960         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15961         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15962         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15963         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
15964         use of regs.  Use power7 mtocrf.  Tidy function tails.
15965
15966 2013-10-04  Alan Modra  <amodra@gmail.com>
15967
15968         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15969         Formatting.  Consistently use rXXX register defines or rN defines.
15970         Use early exit labels that avoid restoring unused non-volatile regs.
15971         Make cr field use more consistent with rWORDn compares.  Rename
15972         regs used as shift registers for unaligned loop, using rN defines
15973         for short lifetime/multiple use regs.
15974         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15975         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
15976         addi 1,1,64 to pop stack frame.  Simplify return value code.
15977         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15978
15979 2013-10-04  Alan Modra  <amodra@gmail.com>
15980
15981         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15982         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
15983         rather than rlwimi.
15984         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15985         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15986         little-endian support.  Correct typos.
15987         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
15988         rather than rlwimi.
15989         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
15990         in loop and entry code to keep "and." results.
15991         (strchr): Add little-endian support.  Comment.  Move cntlzd
15992         earlier in tail.
15993         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15994
15995 2013-10-04  Alan Modra  <amodra@gmail.com>
15996
15997         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15998         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15999         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16000         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16001
16002 2013-10-04  Alan Modra  <amodra@gmail.com>
16003
16004         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16005         (rTMP): Define as r11.
16006         (strcmp): Add little-endian support.  Optimise tail.
16007         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16008         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16009         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16010         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16011         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16012         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16013         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16014
16015 2013-10-04  Alan Modra  <amodra@gmail.com>
16016
16017         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16018         little-endian support.  Remove unnecessary "are we done" tests.
16019         Handle "s" wrapping around zero and extremely large "size".
16020         Correct main loop count.  Handle single left-over word from main
16021         loop inline rather than by using small_loop.  Correct comments.
16022         Delete "zero" tail, use "end_max" instead.
16023         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16024
16025 2013-10-04  Alan Modra  <amodra@gmail.com>
16026
16027         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16028         support.  Don't branch over align.
16029         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16030         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16031         support.  Rearrange tmp reg use to suit.  Comment.
16032         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16033
16034 2013-10-04  Alan Modra  <amodra@gmail.com>
16035
16036         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16037
16038 2013-10-04  Alan Modra  <amodra@gmail.com>
16039
16040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16041         conditional form of branch and link when obtaining pc.
16042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16043
16044 2013-10-04  Alan Modra  <amodra@gmail.com>
16045
16046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16047         HIWORD/LOWORD.
16048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16050
16051 2013-10-04  Alan Modra  <amodra@gmail.com>
16052
16053         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16054         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16055         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16056         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16057         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16058         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16059         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16060         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16061         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16062         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16063
16064 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16065             Alistair Popple <alistair@ozlabs.au.ibm.com>
16066             Alan Modra <amodra@gmail.com>
16067
16068         [BZ #15723]
16069         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16070         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16071         _dl_hwcap access for little-endian.
16072         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
16073         destroy vmx regs when saving unaligned.
16074         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16075         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
16076         destroy vmx regs when saving unaligned.
16077
16078 2013-10-04  Alan Modra  <amodra@gmail.com>
16079
16080         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16081         Don't use a union to pack hi/low value.
16082
16083 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16084
16085         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16086         for little-endian.
16087         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16088         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16089         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16090         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16091         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16092
16093 2013-10-04  Alan Modra  <amodra@gmail.com>
16094
16095         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16096         constants to usual value for .cst8 section, and remove redundant
16097         high address load.
16098         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16099         constant for 0x1p52.  Load little-endian words of double from
16100         correct stack offsets.
16101
16102 2013-10-04  Alan Modra  <amodra@gmail.com>
16103
16104         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16105         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16106         words of double from correct stack offsets.
16107         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16108         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16109         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16110         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16111         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16112         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16113         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16114         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16115         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16116         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16117         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16118         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16119         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16120         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16121         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16122         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16123         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16124
16125 2013-10-04  Alan Modra  <amodra@gmail.com>
16126
16127         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16128         64-bit int/double union.
16129         (_FPU_SETCW): Likewise.
16130         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16131         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16132
16133 2013-10-04  Alan Modra  <amodra@gmail.com>
16134
16135         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16136         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16137
16138 2013-10-04  Alan Modra  <amodra@gmail.com>
16139
16140         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16141         use vector int constants.
16142         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16143
16144 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16145
16146         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16147         array with long long.
16148         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16149         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16150         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16151         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16152         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16153         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16154         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16155         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16156         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16157         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16158         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16159         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16160         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16161
16162 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16163
16164         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16165         (__signbit): Likewise.  Correct for little-endian.
16166         (__signbitl): Call __signbit.
16167         (lrint): Correct for little-endian.
16168         (lrintf): Call lrint.
16169
16170 2013-10-04  Alan Modra  <amodra@gmail.com>
16171
16172         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16173         union 32-bit int array member with 64-bit int array.
16174         (t515, tm256): Double rather than long double.
16175         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16176
16177 2013-10-04  Alan Modra  <amodra@gmail.com>
16178
16179         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16180         Delete.
16181         (IEEE854_LONG_DOUBLE_BIAS): Delete.
16182         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16183         version of math_ldbl.h.
16184
16185 2013-10-04  Alan Modra  <amodra@gmail.com>
16186
16187         [BZ #15734], [BZ #15735]
16188         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16189         all uses of ieee875 long double macros and unions.  Simplify test
16190         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
16191         ldbl_extract_mantissa value for ix,iy exponents.  Properly
16192         normalize after ldbl_extract_mantissa, and don't add hidden bit
16193         already handled.  Don't treat low word of ieee854 mantissa like
16194         low word of IBM long double and mask off bit when testing for
16195         zero.
16196         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16197         all uses of ieee875 long double macros and unions.  Simplify tests
16198         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
16199         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
16200         two1022, instead use their values.  Recognise that tests for large
16201         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
16202         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16203         Rewrite all uses of ieee875 long double macros and unions.  Simplify
16204         test for 0.0L and nan.  Correct negation.
16205         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16206         ieee875 long double macros and unions.  Correct output for large
16207         magnitude x.  Correct absolute value calculation.
16208         (__erfcl): Likewise.
16209         * math/libm-test.inc: Add tests for errors discovered in IBM long
16210         double versions of fmodl, remainderl, erfl and erfcl.
16211
16212 2013-10-04  Alan Modra  <amodra@gmail.com>
16213
16214         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16215         all uses of ieee854 long double macros and unions.  Simplify tests
16216         for long doubles that are fully specified by the high double.
16217         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16218         Likewise.
16219         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16220         Remove dead code too.
16221         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16222         (__ieee754_ynl): Likewise.
16223         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16224         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16225         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16226         Remove dead code too.
16227         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16228         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16229         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16230         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16231         Simplify.
16232         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16233         Simplify.
16234         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16235         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16236         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16237         Comment on variable precision.
16238         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16239         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16240         Likewise.
16241         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16242         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16243         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16244         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16245         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16246
16247 2013-10-04  Alan Modra  <amodra@gmail.com>
16248
16249         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16250         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16251         all uses of ieee854 long double macros and unions.
16252         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16253         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16254         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16255         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16256         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16257         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16258         Likewise.
16259         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16260         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16261         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16262         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16263         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16264         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16265         Simplify sign and nan test too.
16266         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16267         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16268         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16269         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16270         Likewise.
16271         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16272         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16273         Likewise.
16274         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16275         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16276         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16277         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16278         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16279         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16280
16281 2013-10-04  Alan Modra  <amodra@gmail.com>
16282
16283         * stdio-common/printf_size.c (__printf_size): Don't use
16284         union ieee854_long_double in fpnum union.
16285         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
16286         signbit macro to retrieve sign from long double.
16287         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16288         retrieve sign from long double.
16289         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16290         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16291         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16292         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16293         * math/test-misc.c (main): Don't use union ieee854_long_double.
16294
16295 2013-10-04  Alan Modra  <amodra@gmail.com>
16296
16297         [BZ #15680]
16298         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16299         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16300         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16301         calculation.  Remove unnecessary test for denormal exponent.
16302         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16303         Correct handling of denormals.  Avoid undefined shift behaviour.
16304         Correct normalisation of low mantissa when low double is denormal.
16305         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16306         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
16307         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16308         Correct normalisation of low mantissa.  Test for overflow of high
16309         mantissa and normalise.
16310         (ldbl_nearbyint): Use more readable constant for two52.
16311         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16312         (__mpn_construct_long_double): Fix test for overflow of high
16313         mantissa and correct normalisation.  Avoid undefined shift.
16314
16315 2013-10-04  Alan Modra  <amodra@gmail.com>
16316
16317         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16318         (union ibm_extended_long_double): Define as an array of ieee754_double.
16319         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16320         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16321         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16322         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16323         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16324         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16325         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16326         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16327         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16328         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16329         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16330
16331 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
16332
16333         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16334         page size instead of calling getpagesize.
16335
16336         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16337         (LOCFILE_ALIGN_MASK): Likewise.
16338         (LOCFILE_ALIGN_UP): Likewise.
16339         (LOCFILE_ALIGNED_P): Likewise.
16340         * locale/programs/ld-collate.c (collate_output): Use the new
16341         macros instead of __alignof__ (int32_t).
16342         * locale/weight.h (findidx): Likewise.
16343
16344 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
16345
16346         [BZ #431]
16347         * manual/string.texi: Fix strncat and wcsncat.
16348
16349 2013-10-03  Brooks Moses  <bmoses@google.com>
16350
16351         [BZ #15915]
16352         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16353         * Makerules: ...here, and adjust associated comments.
16354
16355 2013-10-02  Will Newton  <will.newton@linaro.org>
16356
16357         * malloc/Makefile: Add tst-pvalloc.
16358         * malloc/tst-pvalloc.c: New file.
16359
16360 2013-10-02  Will Newton  <will.newton@linaro.org>
16361
16362         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16363         improve test coverage.
16364
16365 2013-10-02  Will Newton  <will.newton@linaro.org>
16366
16367         * malloc/Makefile: Add tst-posix_memalign.
16368         * malloc/tst-posix_memalign.c: New file.
16369
16370 2013-10-01  Eric Blake  <eblake@redhat.com>
16371
16372         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16373         Use __THROWNL rather than __THROW on static functions.
16374
16375 2013-09-30  Petr Machata  <pmachata@redhat.com>
16376
16377         * elf/elf.h (R_AARCH64_ABS16): New macro.
16378         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16379         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16380         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16381         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16382         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16383         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16384         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16385         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16386         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16387         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16388         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16389         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16390         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16391         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16392         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16393         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16394         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16395         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16396         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16397         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16398         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16399         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16400         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16401         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16402         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16403         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16404         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16405         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16406         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16407         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16408         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16409         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16410         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16411         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16412         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16413         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16414         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16415         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16416         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16417         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16418         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16419         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16420         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16421         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16422         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16423         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16424         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16425         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16426         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16427         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16428         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16429         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16430         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16431         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16432         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16433         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16434         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16435         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16436         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16437         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16438         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16439         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16440         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16441         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16442         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16443         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16444         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16445         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16446         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16447         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16448         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16449         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16450         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16451         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16452         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16453         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16454         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16455         (R_AARCH64_TLSDESC_LDR): Likewise.
16456         (R_AARCH64_TLSDESC_ADD): Likewise.
16457         (R_AARCH64_TLSDESC_CALL): Likewise.
16458
16459 2013-09-30  Andreas Schwab  <schwab@suse.de>
16460
16461         [BZ #15048]
16462         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16463         the nss database lookup.
16464         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16465         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16466
16467 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
16468
16469         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16470
16471 2013-09-28  P. J. McDermott  <pj@pehjota.net>
16472
16473         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16474         ${Bash-specific parameter/pattern/string} parameter expansion.
16475         * sysdeps/unix/make-syscalls.sh: Likewise.
16476
16477 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16478
16479         * sysdeps/sh/stackguard-macros.h: New file.
16480
16481 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
16482
16483         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16484         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16485         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16486         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16487         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16488         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16489
16490 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16491
16492         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16493         Fix thread ID register.
16494
16495 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
16496
16497         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16498         [POSIX || UNIX98]: Require rather than permitting all symbols from
16499         <time.h>.
16500         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16501         element of struct sched_param.
16502         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16503         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16504         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16505         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16506         constant.
16507
16508 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
16509
16510         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16511         argument calculation.
16512
16513 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16514
16515         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16516         Expect macro.
16517         [POSIX] (pthread_attr_t): Do not require type.
16518         [POSIX] (pthread_cond_t): Likewise.
16519         [POSIX] (pthread_condattr_t): Likewise.
16520         [POSIX] (pthread_key_t): Likewise.
16521         [POSIX] (pthread_mutex_t): Likewise.
16522         [POSIX] (pthread_mutexattr_t): Likewise.
16523         [POSIX] (pthread_once_t): Likewise.
16524         [POSIX] (pthread_t): Likewise.
16525         [POSIX-based standards] (pthread_atfork): Expect function.
16526
16527 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16528             Richard Sandiford  <richard@codesourcery.com>
16529
16530         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16531         (swap_endianness_p): New extern variable.
16532         (set_big_endian): New inline function.
16533         (maybe_swap_uint32): Likewise.
16534         (maybe_swap_uint32_array): Likewise.
16535         (maybe_swap_uint32_obstack): Likewise.
16536         * locale/programs/locfile.c: Include <stdbool.h>.
16537         (swap_endianness_p): New variable.
16538         (add_locale_uint32): Call maybe_swap_uint32.
16539         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16540         (write_locale_data): Call maybe_swap_uint32_array.
16541         * locale/programs/ld-collate.c (obstack_int32_grow): Call
16542         maybe_swap_uint32.
16543         (obstack_int32_grow_fast): Likewise.
16544         (output_weightwc): Call maybe_swap_uint32_obstack.
16545         (collate_output): Likewise.
16546         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16547         (OPT_LITTLE_ENDIAN): Likewise.
16548         (options): Add --little-endian and --big-endian options.
16549         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16550         * locale/programs/locarchive.c: Include "locfile.h".
16551         (GET): New macro.
16552         (SET): Likewise.
16553         (INC): Likewise.
16554         (create_archive): Use the new macros to access fields of
16555         structures directly mapped from or written to locale archives.
16556         (oldlocrecentcmp): Likewise.
16557         (enlarge_archive): Likewise.
16558         (insert_name): Likewise.
16559         (add_alias): Likewise.
16560         (add_locale): Likewise.
16561         (delete_locales_from_archive): Likewise.
16562         (show_archive_content): Likewise.
16563         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
16564         locale data.
16565
16566 2013-09-24  Roland McGrath  <roland@hack.frob.com>
16567
16568         * manual/freemanuals.texi: Updated from (newly) canonical copy at
16569         http://www.gnu.org/doc/freemanuals.texi.
16570         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16571
16572 2013-09-24  Will Newton  <will.newton@linaro.org>
16573
16574         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16575         macro.
16576
16577 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
16578
16579         * locale/hashval.h (compute_hashval): Interpret bytes of key as
16580         unsigned char.
16581
16582 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
16583
16584         * manual/threads.texi (POSIX Threads): Fix a typo.
16585
16586 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16587
16588         [BZ #14547]
16589         * string/tst-strcoll-overflow.c: New test case.
16590         * string/Makefile (xtests): Add tst-strcoll-overflow.
16591         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16592         cache if string sizes may cause integer overflow.
16593
16594         [BZ #14547]
16595         * string/strcoll_l.c (coll_seq): New members rule, idx,
16596         save_idx and back_us.
16597         (get_next_seq_nocache): New function.
16598         (do_compare_nocache): New function.
16599         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16600         when malloc fails.
16601
16602 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
16603
16604         [BZ #15754]
16605         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16606         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16607         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16608
16609         [BZ #15754]
16610         * elf/Makefile (tests): Add tst-ptrguard1.
16611         (tests-static): Add tst-ptrguard1-static.
16612         (tst-ptrguard1-ARGS): Define.
16613         (tst-ptrguard1-static-ARGS): Define.
16614         * elf/tst-ptrguard1.c: New file.
16615         * elf/tst-ptrguard1-static.c: New file.
16616         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16617         * sysdeps/i386/stackguard-macros.h: Likewise.
16618         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16619         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16620         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16621         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16622         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16623         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16624
16625 2013-09-23  Hector Marco  <hecmargi@upv.es>
16626             Ismael Ripoll  <iripoll@disca.upv.es>
16627             Carlos O'Donell  <carlos@redhat.com>
16628
16629         [BZ #15754]
16630         * sysdeps/generic/stackguard-macros.h: Define
16631         __pointer_chk_guard_local and POINTER_CHK_GUARD.
16632         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16633         Define __pointer_chk_guard_local.
16634         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16635         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16636
16637 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
16638
16639         [BZ #15859]
16640         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16641
16642 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
16643
16644         * include/string.h (__ffs): Declare as hidden.
16645         * string/ffs.c (__ffs): Define as hidden.
16646         * sysdeps/i386/ffs.c (__ffs): Likewise.
16647         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16648         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16649         * sysdeps/s390/ffs.c (__ffs): Likewise.
16650         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16651
16652 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
16653
16654         * NEWS: Mention malloc probes.
16655
16656         * malloc/arena.c (new_heap): New memory_heap_new probe.
16657         (grow_heap): New memory_heap_more probe.
16658         (shrink_heap): New memory_heap_less probe.
16659         (heap_trim): New memory_heap_free probe.
16660         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16661         (systrim): New memory_sbrk_less probe.
16662         * manual/probes.texi: Document them.
16663
16664         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16665         * manual/probes.texi: Document it.
16666
16667         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16668         (__libc_realloc): Add memory_realloc_retry probe.
16669         (__libc_memalign): Add memory_memalign_retry probe.
16670         (__libc_valloc): Add memory_valloc_retry probe.
16671         (__libc_pvalloc): Add memory_pvalloc_retry probe.
16672         (__libc_calloc): Add memory_calloc_retry probe.
16673         * manual/probes.texi: Document them.
16674
16675         * malloc/arena.c (get_free_list): Add probe
16676         memory_arena_reuse_free_list.
16677         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16678         and memory_arena_reuse.
16679         (arena_get2) [!PER_THREAD]: Likewise.
16680         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16681         memory_arena_reuse_realloc.
16682         * manual/probes.texi: Document them.
16683
16684         * malloc/malloc.c (__libc_free): Add
16685         memory_mallopt_free_dyn_thresholds probe.
16686         (__libc_mallopt): Add multiple memory_mallopt probes.
16687         * manual/probes.texi: Document them.
16688
16689         * malloc/malloc.c: Include stap-probe.h.
16690         (__libc_mallopt): Add memory_mallopt probe.
16691         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16692         * manual/probes.texi: New.
16693         * manual/Makefile (chapters): Add probes.
16694         * manual/threads.texi: Set next node.
16695
16696 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
16697
16698         [BZ #15963, #13985]
16699         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16700         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16701         Add `Chinese' to `nan' entry name.
16702
16703 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16704
16705         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16706         (POLYNOMIAL): Likewise.
16707         (TAYLOR_SINCOS): Likewise.
16708         (TAYLOR_SLOW): Likewise.
16709         (__sin): Use TAYLOR_SINCOS.
16710         (__cos): Likewise.
16711         (slow): Use TAYLOR_SLOW.
16712         (sloww): Likewise.
16713         (bsloww): Likewise.
16714         (csloww): Likewise.
16715
16716 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16717
16718         * stdlib/strtod_l.c: Fix buffer overrun.
16719
16720 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16721
16722         * benchtests/Makefile (bench): Add sincos.
16723         * benchtests/bench-sincos.c: New file.
16724
16725         * math/libm-test.inc (cos_test_data): New test inputs.
16726         (sin_test_data): Likewise.
16727
16728         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16729         macro.
16730         (__sin): Use it.
16731         (__cos): Likewise.
16732         (slow1): Likewise.
16733         (slow2): Likewise.
16734         (sloww1): Likewise.
16735         (sloww2): Likewise.
16736         (bsloww1): Likewise.
16737         (bsloww2): Likewise.
16738         (cslow2): Likewise.
16739         (csloww1): Likewise.
16740         (csloww2): Likewise.
16741
16742         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16743         function.
16744         (__sin): Use it.
16745         (__cos): Likewise.
16746
16747         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16748         gotos.
16749         (__cos): Likewise.
16750
16751 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
16752
16753         * config.h.in (HAVE_MIPS_NAN2008): New macro.
16754         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16755         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16756         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16757         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16758         * elf/cache.c (print_entry): Handle the new cache flags.
16759
16760 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
16761             Aldy Hernandez  <aldyh@redhat.com>
16762
16763         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16764         Change condition to [_SOFT_FLOAT].
16765         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16766         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16767         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16768         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16769         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16770         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16771         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16772         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16773         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16774         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16775         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16776         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16777         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16778         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16779         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16780         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16781         declaration.
16782
16783 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
16784
16785         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16786         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16787         (__longjmp): Use LOAD_GP to load saved GPRs.
16788         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16789         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16790         (__sigsetjmp): Use SAVE_GP to save GPRs.
16791
16792         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16793         Do not append -msoft-float.
16794         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16795
16796 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16797
16798         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16799
16800 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
16801
16802         [BZ #15966]
16803         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16804         (_FPU_GETCW): Use initial "__" on variable and field names but not
16805         on macro parameter name.
16806         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
16807         parentheses around reference to macro parameter.
16808
16809 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
16810
16811         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16812         prototype.
16813         (ctype_startup): Use uint32_t in cast and sizeof for
16814         ctype->charnames.
16815
16816 2013-09-11  Jia Liu  <proljc@gmail.com>
16817
16818         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16819         __daddr_t_defined.
16820         [__FreeBSD__]: Likewise.
16821
16822 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
16823
16824         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16825         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16826         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16827         (strchr): Remove __strchr_sse42 ifunc selection.
16828         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16829         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16830
16831 2013-09-11  Will Newton  <will.newton@linaro.org>
16832
16833         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16834         parameter to RES. Remove hardcoded 1000 value.
16835         * benchtests/bench-skeleton.c (main): Pass RES parameter
16836         to TIMING_INIT and multiply result by 1000.
16837
16838 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16839
16840         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16841
16842 2013-09-11  Andreas Schwab  <schwab@suse.de>
16843
16844         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16845         if not defined.
16846         (O_TMPFILE) [__USE_GNU]: Define.
16847         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16848         Define.
16849
16850 2013-09-11  Will Newton  <will.newton@linaro.org>
16851
16852         [BZ #15857]
16853         * malloc/malloc.c (__libc_memalign): Check the value of bytes
16854         does not overflow.
16855
16856 2013-09-11  Will Newton  <will.newton@linaro.org>
16857
16858         [BZ #15856]
16859         * malloc/malloc.c (__libc_valloc): Check the value of bytes
16860         does not overflow.
16861
16862 2013-09-11  Will Newton  <will.newton@linaro.org>
16863
16864         [BZ #15855]
16865         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16866         does not overflow.
16867
16868 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
16869
16870         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16871         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16872         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16873         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16874         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16875
16876 2013-09-10  Allan McRae  <allan@archlinux.org>
16877
16878         [BZ #15748]
16879         * manual/arith.texi (Parsing of Floats): Clarify
16880         cross-reference.
16881
16882         [BZ #15849]
16883         * manual/install.texi (Running make install): Mention
16884         --enable-pt-chown.
16885         * INSTALL: Regenerated.
16886
16887 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
16888
16889         * csu/init-first.c (_init): Remove the !SHARED condition around
16890         FPU control word initialization.
16891         * elf/dl-support.c (_dl_fpu_control): New variable.
16892         (_dl_aux_init) <AT_FPUCW>: Initialize it.
16893         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16894         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16895         * math/test-fpucw-static.c: New file.
16896         * math/test-fpucw-ieee.c: New file.
16897         * math/test-fpucw-ieee-static.c: New file.
16898         * math/Makefile (tests): Add `test-fpucw-ieee' and
16899         `$(tests-static)'.
16900         (tests-static): New variable.
16901         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16902         dependency to...
16903         [($(build-shared),yes)]
16904         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16905         ... this.
16906         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16907         New dependency.
16908
16909 2013-09-09  Allan McRae  <allan@archlinux.org>
16910
16911         [BZ #15939]
16912         * manual/string.texi (Collation Functions): Fix typo in
16913         strcoll example.
16914         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16915
16916         [BZ #15893]
16917         * stdlib/isomac.c (get_null_defines): Fix memory leak.
16918
16919         [BZ #15892]
16920         * libio/memstream.c (open_memstream): Fix memory leak.
16921         * libio/wmemstream.c (open_wmemstream): Likewise.
16922
16923         [BZ #15895]
16924         * nscd/netgroupcache.c: Fix nesting of ifdefs.
16925
16926 2013-09-09  Will Newton  <will.newton@linaro.org>
16927
16928         * malloc/Makefile: Add tst-realloc to tests.
16929         * malloc/tst-realloc.c: New file.
16930
16931 2013-09-09  Allan McRae  <allan@archlinux.org>
16932
16933         [BZ #15844]
16934         * COPYING: Update from GNU website to fix FSF address.
16935         * COPYING.LIB: Likewise.
16936
16937 2013-09-06  David S. Miller  <davem@davemloft.net>
16938
16939         * po/zh_TW.po: Update Chinese (traditional) translation from
16940         translation project.
16941
16942 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
16943             Joseph Myers  <joseph@codesourcery.com>
16944
16945         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16946         "localeinfo.h".
16947         (obstack_chunk_alloc): New macro.
16948         (obstack_chunk_free): Likewise.
16949         (record_offset): New function.
16950         (init_locale_data): Likewise.
16951         (align_locale_data): Likewise.
16952         (add_locale_empty): Likewise.
16953         (add_locale_raw_data): Likewise.
16954         (add_locale_raw_obstack): Likewise.
16955         (add_locale_string): Likewise.
16956         (add_locale_wstring): Likewise.
16957         (add_locale_uint32): Likewise.
16958         (add_locale_uint32_array): Likewise.
16959         (add_locale_char): Likewise.
16960         (start_locale_structure): Likewise.
16961         (end_locale_structure): Likewise.
16962         (start_locale_prelude): Likewise.
16963         (end_locale_prelude): Likewise.
16964         (write_locale_data): Take locale_file structure rather than an
16965         iovec.
16966         * locale/programs/locfile.h: Include "obstack.h".
16967         (struct locale_file): Change to store locale file contents instead
16968         of header.
16969         (init_locale_data): New prototype.
16970         (align_locale_data): Likewise.
16971         (add_locale_empty): Likewise.
16972         (add_locale_raw_data): Likewise.
16973         (add_locale_raw_obstack): Likewise.
16974         (add_locale_string): Likewise.
16975         (add_locale_wstring): Likewise.
16976         (add_locale_uint32): Likewise.
16977         (add_locale_uint32_array): Likewise.
16978         (add_locale_char): Likewise.
16979         (start_locale_structure): Likewise.
16980         (end_locale_structure): Likewise.
16981         (start_locale_prelude): Likewise.
16982         (end_locale_prelude): Likewise.
16983         (write_locale_data): Update prototype.
16984         * locale/programs/3level.h (struct TABLE): Remove result field.
16985         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16986         Use new locale_file interface.
16987         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16988         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16989         * locale/programs/ld-address.c (address_output): Use new
16990         locale_file interface.
16991         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16992         NO_ADD_LOCALE.
16993         (collate_finish): Don't call collseq_table_finalize.
16994         (collate_output): Use new locale_file interface.
16995         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16996         in file.
16997         (NO_FINALIZE): Change to NO_ADD_LOCALE.
16998         (TABLE): Move defines earlier in file.
16999         (ELEMENT): Likewise.
17000         (DEFAULT): Likewise.
17001         (wctrans_table_add): Move macro and inline function earlier in
17002         file.
17003         (struct wctype_table): Move type earlier in file.
17004         (add_locale_wctype_table): New static prototype.
17005         (struct locale_ctype_t): Use logical types instead of struct iovec
17006         pointers for members.
17007         (ctype_output): Use new locale_file interface.
17008         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
17009         new locale_file interface.
17010         (allocate_arrays): Update for use of new locale_file interface.
17011         * locale/programs/ld-identification.c (identification_output): Use
17012         new locale_file interface.
17013         * locale/programs/ld-measurement.c (measurement_output): Likewise.
17014         * locale/programs/ld-messages.c (messages_output): Likewise.
17015         * locale/programs/ld-monetary.c (monetary_output): Likewise.
17016         * locale/programs/ld-name.c (name_output): Likewise.
17017         * locale/programs/ld-numeric.c (numeric_output): Likewise.
17018         * locale/programs/ld-paper.c (paper_output): Likewise.
17019         * locale/programs/ld-telephone.c (telephone_output): Likewise.
17020         * locale/programs/ld-time.c (time_output): Likewise.
17021
17022 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17023
17024         * benchtests/Makefile: Add memrchr benchmark.
17025         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17026         benchmark as memrchr.
17027         * benchtests/bench-memrchr-ifunc.c: New file.
17028         * benchtests/bench-memrchr.c: New file.
17029
17030 2013-09-06   Will Newton  <will.newton@linaro.org>
17031
17032         * benchtests/Makefile (string-bench): Add memcpy.
17033
17034 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
17035             Cong Wang  <amwang@redhat.com>
17036
17037         [BZ #15850]
17038         * sysdeps/unix/sysv/linux/bits/in.h
17039         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17040         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17041         before __USE_KERNEL_IPV6_DEFS uses.
17042         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17043         IPPROTO_BEETPH.
17044         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17045         sockaddr_in6, or ipv6_mreq.
17046
17047 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17048
17049         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17050         memory access for final bytes in some large inputs.
17051         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17052
17053 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17054
17055         * string/test-memrchr.c: New file.
17056         * string/test-memrchr-ifunc.c: New file.
17057         * string/Makefile: Add new memrchr testcase.
17058
17059 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
17060
17061         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17062         fanotify_init returns EPERM.
17063
17064 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17065
17066         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17067         errors.
17068         (top level): Treat second token from macro or constant entries for
17069         allowed headers as allowed.
17070         * include/complex.h: Condition internal declarations on
17071         [!_ISOMAC].
17072         * include/fenv.h: Condition include of <stdbool.h> and internal
17073         declarations on [!_ISOMAC].
17074
17075 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
17076
17077         [BZ #15923]
17078         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17079
17080 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17081
17082         * configure.in (--enable-versioning): Remove configure option.
17083         (libc_cv_asm_symver_directive): Remove configure test.
17084         (libc_cv_ld_version_script_option): Likewise.
17085         (VERSIONING): Remove variable and AC_SUBST.
17086         (DO_VERSIONING): Remove AC_DEFINE.
17087         * configure: Regenerated.
17088         * config.h.in (DO_VERSIONING): Remove macro.
17089         * Makerules [$(versioning) = yes]: Change conditionals to
17090         [$(build-shared) = yes].
17091         * config.make.in (versioning): Remove variable.
17092         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17093         [$(build-shared) = yes].
17094         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17095         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17096         * elf/Makefile [$(versioning) = yes]: Change conditionals to
17097         [$(build-shared) = yes].
17098         * extra-lib.mk [$(versioning) = yes]: Likewise.
17099         * hurd/Makefile [$(versioning) = yes]: Likewise.
17100         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17101         [SHARED].
17102         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17103         [SHARED].
17104         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17105         [SHARED && !NO_HIDDEN].
17106         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17107         [SHARED].
17108         [SHARED && DO_VERSIONING]: Likewise..
17109         * libio/Makefile [$(versioning) = yes]: Change conditionals to
17110         [$(build-shared) = yes].
17111         * manual/install.texi (--disable-versioning): Remove
17112         documentation.
17113         * INSTALL: Regenerated.
17114         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17115         to [SHARED].
17116         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17117         [$(build-shared) = yes].
17118         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17119         * sysdeps/i386/i686/multiarch/strstr-c.c
17120         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17121         [SHARED && !NO_HIDDEN].
17122         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17123         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17124         * sysdeps/powerpc/powerpc32/dl-machine.c
17125         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17126         * sysdeps/powerpc/powerpc32/sysdep.h
17127         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17128         to [SHARED && PIC && !NO_HIDDEN].
17129         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17130         conditional to [SHARED].
17131
17132 2013-09-04   Will Newton  <will.newton@linaro.org>
17133
17134         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17135         * benchtests/bench-string.h: Include bench-timing.h instead
17136         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17137         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17138         call to HP_TIMING_DIFF_INIT.
17139         * benchtests/bench-memccpy.c: Use bench-timing.h macros
17140         instead of hp-timing.h macros.
17141         * benchtests/bench-memchr.c: Likewise.
17142         * benchtests/bench-memcmp.c: Likewise.
17143         * benchtests/bench-memcpy.c: Likewise.
17144         * benchtests/bench-memmem.c: Likewise.
17145         * benchtests/bench-memmove.c: Likewise.
17146         * benchtests/bench-memset.c: Likewise.
17147         * benchtests/bench-rawmemchr.c: Likewise.
17148         * benchtests/bench-strcasecmp.c: Likewise.
17149         * benchtests/bench-strcasestr.c: Likewise.
17150         * benchtests/bench-strcat.c: Likewise.
17151         * benchtests/bench-strchr.c: Likewise.
17152         * benchtests/bench-strcmp.c: Likewise.
17153         * benchtests/bench-strcpy.c: Likewise.
17154         * benchtests/bench-strcpy_chk.c: Likewise.
17155         * benchtests/bench-strlen.c: Likewise.
17156         * benchtests/bench-strncasecmp.c: Likewise.
17157         * benchtests/bench-strncat.c: Likewise.
17158         * benchtests/bench-strncmp.c: Likewise.
17159         * benchtests/bench-strncpy.c: Likewise.
17160         * benchtests/bench-strnlen.c: Likewise.
17161         * benchtests/bench-strpbrk.c: Likewise.
17162         * benchtests/bench-strrchr.c: Likewise.
17163         * benchtests/bench-strspn.c: Likewise.
17164         * benchtests/bench-strstr.c: Likewise.
17165
17166 2013-09-04  Will Newton  <will.newton@linaro.org>
17167
17168         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17169
17170 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
17171
17172         [BZ #15427]
17173         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17174         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17175         * math/libm-test.inc (lgamma_test_data): Add more tests.
17176         * sysdeps/i386/fpu/libm-test-ulps: Update.
17177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17178
17179 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
17180
17181         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17182         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17183         Add ifunc.
17184         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17185         Add strcmp-sse2-unaligned
17186         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17187
17188 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17189
17190         * Versions.def (libc): Add GLIBC_2.19.
17191
17192 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17193
17194         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17195         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17196
17197 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
17198
17199         [BZ #14155]
17200         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17201         intermediate calculations in recurrence.
17202         (__ieee754_ynf): Likewise.
17203         * math/libm-test.inc (jn_test_data): Do not allow spurious
17204         underflow exception.  Add more tests.
17205         (yn_test_data): Add more tests.
17206         * sysdeps/i386/fpu/libm-test-ulps: Update.
17207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17208
17209 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
17210
17211         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17212
17213 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17214
17215         * csu/init-first.c: Fix then/than typos.
17216         * locale/programs/ld-collate.c: Likewise.
17217         * locale/programs/linereader.h: Likewise.
17218         * manual/charset.texi: Likewise.
17219         * manual/filesys.texi: Likewise.
17220         * manual/stdio.texi: Likewise.
17221         * manual/string.texi: Likewise.
17222         * stdlib/fmtmsg.c: Likewise.
17223         * sysdeps/i386/stpncpy.S: Likewise.
17224         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17225         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17226         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17227         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17228
17229 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17230
17231         * elf/dl-open.c: Fix typos.
17232         * iconvdata/gbbig5.c: Likewise.
17233         * iconvdata/iso-2022-jp.c: Likewise.
17234         * iconv/gconv_int.h: Likewise.
17235         * iconv/loop.c: Likewise.
17236         * nis/rpcsvc/nis.h: Likewise.
17237         * resolv/ns_name.c: Likewise.
17238         * stdio-common/vfscanf.c: Likewise.
17239         * streams/stropts.h: Likewise.
17240         * sunrpc/rpc_thread.c: Likewise.
17241         * sysdeps/i386/strpbrk.S: Likewise.
17242         * sysdeps/ieee754/k_standard.c: Likewise.
17243         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17244         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17245         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17246         * sysdeps/mach/hurd/profil.c: Likewise.
17247         * sysdeps/s390/dl-procinfo.h: Likewise.
17248         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17249         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17250         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17251         * sysdeps/x86_64/dl-trampoline.S: Likewise.
17252         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17253
17254 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
17255
17256         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17257         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17258
17259 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
17260
17261         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17262         aix specific files.
17263         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17264         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17265         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17266         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17267         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17268         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17269         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17270         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17271
17272 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17273             Roland McGrath  <roland@hack.frob.com>
17274
17275         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17276         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17277
17278 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17279
17280         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17281         __executable_start symbol instead of _start.
17282
17283 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17284
17285         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17286         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17287         Move macros to...
17288         * sysdeps/gnu/ldsodefs.h: ... this new file.
17289
17290         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17291         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17292         instead of ELFOSABI_LINUX.
17293
17294         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17295         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17296         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17297         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17298         Likewise.
17299         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17300         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17301         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17302         Likewise.
17303         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17304         (ibm_extended_long_double): Add ieee_nan member.
17305         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17306         (do_test): New function.
17307
17308         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17309         TEST_TRUNC.
17310         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17311         functions, renamed from truncdfsf_test, trunctfsf_test,
17312         trunctfdf_test.
17313         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17314         functions.
17315         (do_test): Run all these.
17316
17317 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
17318
17319         * argp/argp-help.c: Fix typos.
17320         * argp/argp-parse.c: Likewise.
17321         * debug/backtracesyms.c: Likewise.
17322         * elf/elf.h: Likewise.
17323         * malloc/malloc.c: Likewise.
17324         * nis/nis_print.c: Likewise.
17325         * resolv/res_comp.c: Likewise.
17326         * stdlib/stdlib.h: Likewise.
17327         * sunrpc/clnt_tcp.c: Likewise.
17328         * sunrpc/clnt_udp.c: Likewise.
17329         * sunrpc/clnt_unix.c: Likewise.
17330         * sysdeps/unix/bsd/ptsname.c: Likewise.
17331         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17332         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17334         Likewise.
17335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17336         Likewise.
17337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17338         Likewise.
17339         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17340
17341 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17342
17343         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17344         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17345
17346 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
17347
17348         [BZ #15897]
17349         * dlfcn/Makefile (tests): Add bug-dl-leaf.
17350         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17351         ($(objpfx)bug-dl-leaf): New rule.
17352         ($(objpfx)bug-dl-leaf.so): Likewise.
17353         ($(objpfx)bug-dl-leaf.out): Likewise.
17354         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17355         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17356         * dlfcn/bug-dl-leaf.c: New test.
17357         * dlfcn/bug-dl-leaf-lib.c: Likewise.
17358         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17359         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17360         (dlclose): Likewise.
17361         (dlmopen): Likewise.
17362
17363 2013-08-27  Roland McGrath  <roland@hack.frob.com>
17364
17365         * include/netdb.h [!_ISOMAC]:
17366         Don't include <tls.h>.
17367         (h_errno, __libc_h_errno): Move declaration and macros out of
17368         [_LIBC_REENTRANT].
17369
17370         * include/resolv.h [_RESOLV_H_]:
17371         Don't include <tls.h>.
17372         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17373         * resolv/res_libc.c: Don't include <tls.h>.
17374         (_res): Use __attribute__ ((nocommon)) in place of
17375         __attribute__ ((section (".bss"))).
17376
17377         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17378         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17379
17380         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17381
17382         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17383         only under [SIOCGIFCONF && SIOCGIFNETMASK].
17384
17385         * resolv/res_mkquery.c: Include <sys/time.h>.
17386
17387         * inet/ifreq.c: Moved to ...
17388         * sysdeps/unix/ifreq.c: ... here.
17389         * inet/ifreq.c: New file, true stub version.
17390
17391         * socket/sa_len.c: New file.
17392         * socket/Makefile (aux): Add it.
17393         * sysdeps/unix/sysv/linux/Makefile
17394         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17395         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17396         and #include <socket/sa_len.c>.
17397         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17398         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17399
17400         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17401         * bits/socket.h: ... here.
17402
17403         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17404         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17405         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17406
17407 2013-08-27  Andreas Schwab  <schwab@suse.de>
17408
17409         [BZ #15736]
17410         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17411         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17412         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17413         * string/test-strcasecmp.c (test_main): Run tests in several
17414         locales.
17415         * string/test-strncasecmp.c (test_main): Likewise.
17416
17417         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17418         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17419         to __strcasecmp_nonascii and __strncasecmp_nonascii.
17420         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17421         (__strncasecmp_ssse3) [PIC]: Likewise.
17422
17423 2013-08-26  Roland McGrath  <roland@hack.frob.com>
17424
17425         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17426
17427         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17428         instead of explicitly declaring xdecrypt.
17429         * nis/nss_nis/nis-publickey.c: Likewise.
17430
17431 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17432
17433         [BZ #15890]
17434         * nscd/aicache.c: Include res_hconf.h.
17435         (addhstaiX): Initialize res_hconf.
17436
17437 2013-08-26  Andreas Schwab  <schwab@suse.de>
17438
17439         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17440         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17441
17442 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17443
17444         * nscd/aicache.c (addhstaiX): Fix indentation.
17445
17446 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
17447
17448         * configure.ac: Quote $build_pt_chown test.
17449         * configure: Regenerated.
17450
17451 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
17452
17453         [BZ #15532]
17454         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17455         * math/s_cexpf.c (__cexpf): Likewise.
17456         * math/s_cexpl.c (__cexpl): Likewise.
17457         * math/libm-test.inc (cexp_test_data): Correct expected return
17458         value for NaN + i0.  Add another test.
17459
17460 2013-08-22  David S. Miller  <davem@davemloft.net>
17461
17462         * po/ca.po: Update Catalan translation from translation project.
17463         * po/uk.po: Add Ukrainian translations from translation project.
17464
17465 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
17466
17467         [BZ #15797]
17468         * math/s_fdim.c (__fdim): Check for infinite arguments if result
17469         is infinite, not alongside NaN test.
17470         * math/s_fdimf.c (__fdimf): Likewise.
17471         * math/s_fdiml.c (__fdiml): Likewise.
17472         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
17473         errno is unchanged.
17474
17475 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
17476
17477         * argp/argp-help.c: Fix typos.
17478         * crypt/speeds.c: Likewise.
17479         * csu/check_fds.c: Likewise.
17480         * elf/dl-load.c: Likewise.
17481         * elf/dl-open.c: Likewise.
17482         * elf/reldep3.c: Likewise.
17483         * elf/reldep.c: Likewise.
17484         * elf/sprof.c: Likewise.
17485         * iconv/iconv_charmap.c: Likewise.
17486         * iconv/skeleton.c: Likewise.
17487         * iconv/strtab.c: Likewise.
17488         * io/lockf64.c: Likewise.
17489         * libio/libioP.h: Likewise.
17490         * resolv/gai_notify.c: Likewise.
17491         * resolv/ns_name.c: Likewise.
17492         * resolv/ns_samedomain.c: Likewise.
17493         * resolv/res_send.c: Likewise.
17494         * stdlib/random.c: Likewise.
17495         * sunrpc/rpc/xdr.h: Likewise.
17496         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17497         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17498         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17499         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17500         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17501         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17502         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17503         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17504         * sysdeps/mach/hurd/check_fds.c: Likewise.
17505         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17506         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17507         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17508         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17509         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17510         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17511         * sysdeps/pthread/aio_notify.c: Likewise.
17512         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17513         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17514         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17515         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17516         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17517
17518 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17519
17520         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17521         version if bit_Slow_SSE4_2 is set.
17522         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17523         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17524
17525 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17526
17527         [BZ #15867]
17528         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17529         trampoline stack frame information.
17530         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17531         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17532         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17533         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17534         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17535         * sysdeps/unix/sysv/linux/powerpc/init-first.c
17536         (_libc_vdso_platform_setup): Initialize the signal trampolines.
17537         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17538         sa_flags value.
17539         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17540         interrupting a syscall and set with option SA_SIGINFO.
17541
17542 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17543
17544         [BZ #15531]
17545         * math/s_cproj.c (__cproj): Only return an infinity if one part of
17546         argument is infinite.
17547         * math/s_cprojf.c (__cprojf): Likewise.
17548         * math/s_cprojl.c (__cprojl): Likewise.
17549         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17550         * math/libm-test.inc (cproj_test_data): Add more tests.
17551
17552         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17553
17554         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17555         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17556         size.  Use __ffs to determine corresponding shift.
17557
17558 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17559             Roland McGrath  <roland@hack.frob.com>
17560
17561         * Makefile (INSTALL): Remove trailing blank lines from output of
17562         makeinfo.
17563
17564 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17565
17566         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17567         Align 32 bit compat elf_greg to 8 bytes.
17568
17569 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
17570
17571         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17572
17573 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17574
17575         * string/strcoll_l.c (coll_seq): New structure.
17576         (get_next_seq_cached): New function.
17577         (get_next_seq): New function.
17578         (do_compare): New function.
17579         (STRCOLL): Use GNU style definition.  Simplify implementation
17580         by using get_next_seq, get_next_seq_cached and do_compare.
17581
17582 2013-08-16  Florian Weimer  <fweimer@redhat.com>
17583
17584         [BZ #14699]
17585         CVE-2013-4237
17586         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17587         member.
17588         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17589         member.
17590         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17591         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17592         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
17593         conditional.
17594         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17595         GETDENTS_64BIT_ALIGNED.
17596         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17597         * manual/filesys.texi (Reading/Closing Directory): Document
17598         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
17599         strongly.
17600         * manual/conf.texi (Limits for Files): Add portability note to
17601         NAME_MAX, PATH_MAX.
17602         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17603
17604 2013-08-13  Andreas Schwab  <schwab@suse.de>
17605
17606         [BZ #15749]
17607         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17608         of fabs.
17609         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17610         LDBL_MAX_EXP >= 16384]: Add tests for it.
17611
17612 2013-08-12  David S. Miller  <davem@davemloft.net>
17613
17614         * version.h (RELEASE): Set to "development".
17615         (VERSION): Set to "2.18.90".
17616         * NEWS: Add 2.19 section.
17617
17618 2013-08-03  David S. Miller  <davem@davemloft.net>
17619
17620         * po/ko.po: Update Korean translation from translation project.
17621
17622 2013-08-01  David S. Miller  <davem@davemloft.net>
17623
17624         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
17625         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17626         Bilka.
17627
17628 2013-07-30  David S. Miller  <davem@davemloft.net>
17629
17630         * po/fr.po: Update French translation from translation project.
17631
17632 2013-07-28  David S. Miller  <davem@davemloft.net>
17633
17634         * po/cs.po: Update Czech translation from translation project.
17635
17636         * po/sv.po: Update Swedish translation from translation project.
17637
17638 2013-07-27  David S. Miller  <davem@davemloft.net>
17639
17640         * po/eo.po: Update Esperanto translation from translation project.
17641
17642         * po/vi.po: Update Vietnamese translation from translation project.
17643
17644         * po/de.po: Update German translation from translation project.
17645
17646 2013-07-26  David S. Miller  <davem@davemloft.net>
17647
17648         * po/bg.po: Update Bulgarian translation from translation project.
17649
17650         * po/nl.po: Update Dutch translation from translation project.
17651         * po/pl.po: Update Polish translation from translation project.
17652         * po/ru.po: Update Russian translation from translation project.
17653
17654 2013-07-24  David S. Miller  <davem@davemloft.net>
17655
17656         * po/libc.pot: Update.
17657
17658 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17659
17660         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17661         variable page size.
17662         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17663         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17664         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17665
17666 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17667
17668         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17669
17670 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17671             Andreas Schwab  <schwab@suse.de>
17672             Roland McGrath  <roland@hack.frob.com>
17673             Joseph Myers  <joseph@codesourcery.com>
17674             Carlos O'Donell  <carlos@redhat.com>
17675
17676         [BZ #15755]
17677         * config.h.in: Define HAVE_PT_CHOWN.
17678         * config.make.in (build-pt-chown): New variable.
17679         * configure.in (--enable-pt_chown): New configure option.
17680         * configure: Regenerate.
17681         * login/Makefile: Include Makeconfig.  Build pt_chown only if
17682         build-pt-chown is enabled.
17683         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17684         pt_chown to fix pty ownership.
17685         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17686         CLOSE_ALL_FDS.
17687         * manual/install.texi (Configuring and compiling): Mention
17688         --enable-pt_chown. Add @findex for grantpt.
17689         * INSTALL: Regenerate.
17690
17691 2013-07-20  David S. Miller  <davem@davemloft.net>
17692
17693         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17694         difference between 32-bit and 64-bit.
17695
17696 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
17697
17698         [BZ #15711]
17699         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17700         Avoid system header dependency with -ffreestanding.
17701         ($(objpfx)bits/syscall%d): Likewise.
17702
17703 2013-07-13  David S. Miller  <davem@davemloft.net>
17704
17705         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17706         underflows from atanl/atan2l due to bug 15319.
17707         (casinh_test_data): Likewise.
17708
17709 2013-07-07  David S. Miller  <davem@davemloft.net>
17710
17711         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17712
17713 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
17714
17715         * sysdeps/i386/fpu/libm-test-ulps: Update.
17716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17717
17718 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17719
17720         * configure.in (--enable-lock-elision): Fix message text.
17721         * INSTALL: Regenerate.
17722         * configure: Regenerate.
17723
17724 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17725
17726         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17727
17728 2013-07-03  Andreas Jaeger  <aj@suse.de>
17729
17730         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17731         define.
17732         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17733         (ptrace_peeksiginfo_args): Add.
17734         (__ptrace_peeksiginfo_flags): Add.
17735         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17736         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17737         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17738
17739 2013-07-03  Allan McRae  <allan@archlinux.org>
17740
17741         * sysdeps/i386/fpu/libm-test-ulps: Update.
17742
17743 2013-07-02  David S. Miller  <davem@davemloft.net>
17744
17745         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17746
17747 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
17748
17749         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17750
17751 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
17752
17753         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17755
17756 2013-07-02  Andi Kleen <ak@linux.intel.com>
17757
17758         * config.h.in (ENABLE_LOCK_ELISION): Add.
17759         * configure.in (--enable-lock-elision): Add option.
17760         * manual/install.texi: Document --enable lock elision.
17761         * configure: Regenerate
17762         * INSTALL: Regenerate.
17763
17764 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
17765
17766         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17767         SSE4.2 strcasecmp for libc.a.
17768         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17769
17770 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
17771
17772         [BZ #13304]
17773         * soft-fp/op-common.h (_FP_FMA): New macro.
17774         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17775         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
17776         (_FP_MUL_MEAT_1_imm): ... here.
17777         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
17778         (_FP_MUL_MEAT_1_wide): ... here.
17779         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
17780         (_FP_MUL_MEAT_1_hard): ... here.
17781         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17782         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
17783         (_FP_MUL_MEAT_2_wide): ... here.
17784         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
17785         (_FP_MUL_MEAT_2_wide_3mul): ... here.
17786         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
17787         (_FP_MUL_MEAT_2_gmp): ... here.
17788         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17789         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
17790         (_FP_MUL_MEAT_4_wide): ... here.
17791         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
17792         (_FP_MUL_MEAT_4_gmp): ... here.
17793         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17794         (_FP_WFRACBITS_DW_S): Likewise.
17795         (_FP_WFRACXBITS_DW_S): Likewise.
17796         (_FP_HIGHBIT_DW_S): Likewise.
17797         (FP_FMA_S): Likewise.
17798         (_FP_FRAC_HIGH_DW_S): Likewise.
17799         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17800         (_FP_WFRACBITS_DW_D): Likewise.
17801         (_FP_WFRACXBITS_DW_D): Likewise.
17802         (_FP_HIGHBIT_DW_D): Likewise.
17803         (FP_FMA_D): Likewise.
17804         (_FP_FRAC_HIGH_DW_D): Likewise.
17805         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17806         (_FP_WFRACBITS_DW_E): Likewise.
17807         (_FP_WFRACXBITS_DW_E): Likewise.
17808         (_FP_HIGHBIT_DW_E): Likewise.
17809         (FP_FMA_E): Likewise.
17810         (_FP_FRAC_HIGH_DW_E): Likewise.
17811         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17812         (_FP_WFRACBITS_DW_Q): Likewise.
17813         (_FP_WFRACXBITS_DW_Q): Likewise.
17814         (_FP_HIGHBIT_DW_Q): Likewise.
17815         (FP_FMA_Q): Likewise.
17816         (_FP_FRAC_HIGH_DW_Q): Likewise.
17817         * soft-fp/fmasf4.c: New file.
17818         * soft-fp/fmadf4.c: Likewise.
17819         * soft-fp/fmatf4.c: Likewise.
17820
17821 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17822
17823         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17824         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17825         Silvermont.
17826         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17827         macro.
17828         (index_Slow_SSE4_2): Likewise.
17829         (index_Prefer_PMINUB_for_stringop): Likewise.
17830         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17831         bit_Slow_SSE4_2 is set.
17832         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17833         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17834
17835 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17836
17837         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17838         rtld_global._dl_hwcap2.
17839         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17840         POWER8.
17841         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17842         POWER8 feature descriptions defined in _dl_hwcap2.
17843         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17844         string handling for POWER8 feature bits.
17845         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17846         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17847         _dl_powerpc_cap_flags.
17848         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17849         * sysdeps/powerpc/rtld-global-offsets.sym
17850         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17851         _dl_hwcap2 in the rtld_global_ro structure.
17852
17853 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17854
17855         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17856         hardware capabilities in support of AT_HWCAP2.
17857         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17858         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17859         GLRO(dl_hwcap2).
17860         (_dl_show_auxv): Add support for calling _dl_procinfo to display
17861         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
17862         explicitly the unknown a_type display mechanism is used.
17863         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17864         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17865         struct member.
17866         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17867         to macro prototype for AT_HWCAP2 support.
17868         * sysdeps/i386/dl-procinfo.h: Likewise.
17869         * sysdeps/s390/dl-procinfo.h: Likewise.
17870         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17871         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
17872         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
17873         return -1 for unknown a_type display fallback.
17874         * sysdeps/sparc/dl-procinfo.h: Likewise.
17875         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17876         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17877
17878 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
17879
17880         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17881         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17882
17883 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
17884
17885         [BZ #12492]
17886         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17887         mprotect making __stack_prot writable.
17888
17889 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
17890             Joseph Myers  <joseph@codesourcery.com>
17891
17892         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17893         as being properly aligned.
17894
17895 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
17896
17897         * dlfcn/modstatic5.c: New file.
17898         * dlfcn/tststatic5.c: New file.
17899         * dlfcn/Makefile (tests): Add tststatic5.
17900         (tests-static): Likewise.
17901         (modules-names): Add modstatic5.
17902         (tststatic5-ENV): New variable.
17903         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17904
17905         [BZ #15022]
17906         * elf/dl-support.c (_dl_main_map): New variable.
17907         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17908         (_dl_nns, _dl_load_adds): Set to 1.
17909         (_dl_initial_searchlist): Refer to _dl_main_map.
17910         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17911         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17912         call to _dl_get_origin.
17913         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17914         around call_map.
17915         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17916         * dlfcn/modstatic3.c: New file.
17917         * dlfcn/tststatic3.c: New file.
17918         * dlfcn/tststatic4.c: New file.
17919         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17920         (tests-static): Likewise.
17921         (modules-names): Add modstatic3.
17922         (tststatic3-ENV, tststatic4-ENV): New variables.
17923         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17924         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17925
17926 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
17927
17928         * configure.in (CC): Require GCC version 4.4 or later.
17929         * configure: Regenerated.
17930         * manual/install.texi (Tools for Compilation): Update GCC version
17931         requirement.
17932         * INSTALL: Regenerated.
17933
17934 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17935
17936         [BZ #15674]
17937         * string/test-memcmp.c (check2): New.
17938         (main): Call check2.
17939
17940         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17941
17942 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
17943
17944         [BZ #15022]
17945         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17946         over to...
17947         (dl_open_worker) [!SHARED]: ... here.
17948
17949 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17950
17951         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17952
17953 2013-06-25  Richard Henderson  <rth@redhat.com>
17954
17955         * locale/programs/locarchive.c: Include <libc-internal.h>
17956
17957 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
17958
17959         * manual/texinfo.tex: Update to version 2013-06-21.17, with
17960         trailing whitespace removed.
17961
17962 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
17963
17964         [BZ #10283]
17965         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17966         * locale/programs/locarchive.c: Include libc-mmap.h.
17967         (prepare_address_space): Take two new outputs (the mmap base and len).
17968         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
17969         values.
17970         (create_archive): Declare new mmap base and len values for
17971         prepare_address_space, and store the result in ah.
17972         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17973         (enlarge_archive): If ah->mmap_base is not NULL, use that and
17974         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17975         Declare new mmap base and len values for
17976         prepare_address_space, and store the result in new_ah.
17977         (open_archive): Declare new mmap base and len values for
17978         prepare_address_space, and store the result in ah.
17979         (close_archive): If ah->mmap_base is not NULL, use that and
17980         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17981         * sysdeps/generic/libc-mmap.h: New file.
17982
17983 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
17984
17985         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17986         (ALIGN_UP): Likewise.
17987         (PTR_ALIGN_DOWN): Likewise.
17988         (PTR_ALIGN_UP): Likewise.
17989
17990 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17991
17992         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17993         entry mapped to PPC_PLATFORM_POWER8.
17994         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17995         POWER8.
17996         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17997         (_dl_string_platform): Add case for exporting platform position for
17998         POWER8.
17999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18000         search path to sysdeps/powerpc/powerpc32/power8 directory.
18001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18002         search path to sysdeps/powerpc/powerpc64/power8 directory.
18003         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18004         power7 directories.
18005         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18006         power7 directories.
18007
18008 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18009
18010         * INSTALL: Regenerate.
18011
18012         * nscd/connections.c (nscd_init): Fix comment.
18013
18014 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
18015
18016         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18017
18018         [BZ #15667]
18019         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18020         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18021
18022 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18023
18024         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18025         DL_DST_REQ_STATIC.
18026         (DL_DST_REQ_STATIC): Remove macro.
18027
18028 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
18029
18030         [BZ #7006]
18031         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18032         with a shift of 0 bits.
18033
18034 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18035
18036         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18037         $(tststatic-ENV).
18038
18039 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18040
18041         [BZ #15655]
18042         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18043
18044 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18045
18046         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18047         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18048         accepts -fno-tree-loop-distribute-patterns.
18049         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18050         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18051         recursive call.
18052         * string/memset.c (memset): Likewise.
18053         * string/test-memmove.c (simple_memmove): Disable loop transformation
18054         to library calls.
18055         * string/test-memset.c (simple_memset): Likewise.
18056         * benchtests/bench-memmove.c (simple_memmove): Likewise.
18057         * benchtests/bench-memset.c (simple_memset): Likewise.
18058         * configure: Regenerated.
18059
18060 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
18061
18062         * math/test-misc.c (main): Ignore fesetround failure when failures
18063         of subsequent rounding tests would be ignored.
18064
18065         [BZ #15654]
18066         * math/fedisblxcpt.c (fedisableexcept): Return 0.
18067         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18068         * math/fegetenv.c (__fegetenv): Return 0.
18069         * math/fegetexcept.c (fegetexcept): Return 0.
18070         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18071         FE_TONEAREST.
18072         * math/feholdexcpt.c (feholdexcept): Return 0.
18073         * math/fesetenv.c (__fesetenv): Return 0.
18074         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18075         argument FE_TONEAREST.
18076         * math/feupdateenv.c (__feupdateenv): Return 0.
18077         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18078
18079 2013-06-18  Roland McGrath  <roland@hack.frob.com>
18080
18081         * elf/rtld-Rules (rtld-compile-command.S): New variable.
18082         (rtld-compile-command.s, rtld-compile-command.c): New variables.
18083         ($(objpfx)rtld-%.os rules): Use them.
18084
18085 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18086
18087         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18088         fields.
18089
18090 2013-06-17  Roland McGrath  <roland@hack.frob.com>
18091
18092         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18093         length of target pattern, then descending length of dependency pattern.
18094         * configure.in (AWK): Require gawk 3.1.2 or newer.
18095         * manual/install.texi (Tools for Compilation): Say that we do.
18096         * configure: Regenerated.
18097
18098         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18099         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18100         * scripts/sysd-rules.awk: ... this new script.
18101         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18102         than a glob-style pattern.
18103
18104 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
18105
18106         * math/test-misc.c (main): Do not treat incorrectly rounded
18107         conversions as failure unless ROUNDING_TESTS passes.
18108
18109 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
18110
18111         [BZ #15631]
18112         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18113         restore exception state around main square root computation, then
18114         check for inexactness explicitly.
18115
18116         * math/libm-test.inc (fma_test_data): Add another test.
18117
18118 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18119
18120         * manual/threads.texi (Non-POSIX Extensions): New document
18121         node.  Document pthread_getattr_default_np and
18122         pthread_setattr_default_np.
18123
18124         * Versions.def (libpthread): Add GLIBC_2.18.
18125         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18127         Likewise.
18128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18129         Likewise.
18130         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18131         Likewise.
18132         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18133         Likewise.
18134         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18135         Likewise.
18136         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18137         Likewise.
18138         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18139         Likewise.
18140         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18141         Likewise.
18142         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18143         Likewise.
18144
18145 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18146
18147         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18148         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18149
18150 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18151             H.J. Lu  <hjl.tools@gmail.com>
18152
18153         [BZ #15627]
18154         * sysdeps/x86_64/rtld-memset.c: Remove file.
18155         * sysdeps/x86_64/rtld-memset.S: New file.
18156
18157 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
18158
18159         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18160         (test_in_one_mode): Take arguments for whether the rounding mode
18161         is supported for each floating-point type.
18162         (do_test): Pass new arguments to test_in_one_mode using
18163         ROUNDING_TESTS.
18164
18165 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18166
18167         * posix/tst-waitid.c (do_test): Distinguish different instances of
18168         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
18169         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18170         before entering the kernel for waitpid.
18171
18172 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18173
18174         * NEWS: Fix note on clock function precision.  Text by Roland
18175         McGrath.
18176
18177 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18178
18179         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18180         it into place only when and if the sanity check passes.
18181
18182 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
18183
18184         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18185         output for whether conversion result is exact.  Take argument
18186         indicating whether type is IBM long double.
18187         (round_for_all): Change need_exact field to ibm_ld.
18188         * stdlib/tst-strtod-round.c (struct exactness): New type.
18189         (struct test): Change bool ld_ok field to struct exactness exact.
18190         (TEST): Update all definitions for change to field.
18191         (tests): Regenerate array contents.
18192         (test_in_one_mode): Take pointer to new field instead of old ld_ok
18193         field value.  Check for IBM long double here.
18194         (do_test): Update calls to test_in_one_mode.
18195
18196 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18197
18198         [BZ #12515]
18199         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18200         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18201
18202 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18203
18204         [BZ #15605]
18205         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18206         generated by the compiler on loop optimizations.
18207         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18208         general definitions.
18209
18210 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
18211
18212         * math/bug-nextafter.c: Include <math-tests.h>.
18213         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18214         the relevant type.
18215         * math/bug-nexttoward.c: Include <math-tests.h>.
18216         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18217         the relevant type.
18218         * math/test-misc.c: Include <math-tests.h>.
18219         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18220         the relevant type.
18221
18222 2013-06-12  Andreas Jaeger  <aj@suse.de>
18223
18224         * po/ia.po: Update Interlingua translation from translation
18225         project.
18226
18227 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18228
18229         * include/fenv.h: Include stdbool.h.
18230         (struct rm_ctx): New structure.
18231         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18232         Define macro.
18233         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18234         (SET_RESTORE_ROUNDF): Likewise.
18235         (SET_RESTORE_ROUNDL): Likewise.
18236         (SET_RESTORE_ROUND_NOEX): Likewise.
18237         (SET_RESTORE_ROUND_NOEXF): Likewise.
18238         (SET_RESTORE_ROUND_NOEXL): Likewise.
18239         (SET_RESTORE_ROUND_53BIT): Likewise.
18240         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18241         (libc_feresetround_noexf_ctx): Likewise.
18242         (libc_feresetround_noexl_ctx): Likewise.
18243         (libc_feholdsetround_53bit_ctx): Likewise.
18244         (libc_feresetround_53bit_ctx): Likewise.
18245         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18246         (libc_feholdexcept_setround_sse_ctx): New function.
18247         (libc_fesetenv_sse_ctx): Likewise.
18248         (libc_feupdateenv_sse_ctx): Likewise.
18249         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18250         (libc_feholdexcept_setround_387_ctx): Likewise.
18251         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18252         (libc_feholdsetround_387_prec_ctx): Likewise.
18253         (libc_feholdsetround_387_ctx): Likewise.
18254         (libc_feholdsetround_387_53bit_ctx): Likewise.
18255         (libc_feholdsetround_sse_ctx): Likewise.
18256         (libc_feresetround_sse_ctx): Likewise.
18257         (libc_feresetround_387_ctx): Likewise.
18258         (libc_feupdateenv_387_ctx): Likewise.
18259         (libc_feholdexcept_setroundf_ctx): Define macro.
18260         (libc_fesetenvf_ctx): Likewise.
18261         (libc_feupdateenvf_ctx): Likewise.
18262         (libc_feholdsetroundf_ctx): Likewise.
18263         (libc_feresetroundf_ctx): Likewise.
18264         (libc_feholdexcept_setround_ctx): Likewise.
18265         (libc_fesetenv_ctx): Likewise.
18266         (libc_feupdateenv_ctx): Likewise.
18267         (libc_feholdsetround_ctx): Likewise.
18268         (libc_feresetround_ctx): Likewise.
18269         (libc_feholdexcept_setroundl_ctx): Likewise.
18270         (libc_feupdateenvl_ctx): Likewise.
18271         (libc_feholdsetroundl_ctx): Likewise.
18272         (libc_feresetroundl_ctx): Likewise.
18273         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18274         (libc_feresetround_53bit_ctx): Likewise.
18275
18276 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18277
18278         * locale/iso-639.def: Convert to UTF-8.
18279
18280 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
18281
18282         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18283         (EXCEPTION_TESTS_double): Likewise.
18284         (EXCEPTION_TESTS_long_double): Likewise.
18285         (EXCEPTION_TESTS): Likewise.
18286         * math/libm-test.inc (test_exceptions): Only test exceptions if
18287         EXCEPTION_TESTS (FLOAT).
18288
18289 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18290
18291         * benchtests/Makefile (string-bench): Add strcpy_chk and
18292         stpcpy_chk.
18293         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18294         * benchtests/bench-stpcpy_chk.c: New file.
18295         * benchtests/bench-strcpy_chk-ifunc.c: New file.
18296         * benchtests/bench-strcpy_chk.c: New file.
18297         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18298         code.
18299         (do_test): Likewise.
18300
18301 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18302
18303         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18304         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18305         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18306         with tabs where appropriate.
18307         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18308         dl-procinfo.h.
18309         [PPC_PLATFORM_PPC440]: Likewise.
18310         [PPC_PLATFORM_PPC464]: Likewise.
18311         [PPC_PLATFORM_PPC476]: Likewise.
18312         (_dl_string_platform): Add support for detecting ppc405, ppc440,
18313         ppc464, and ppc476 platform strings merging from ports/
18314         dl-procinfo.h.
18315
18316 2013-06-11  Andreas Schwab  <schwab@suse.de>
18317
18318         [BZ #14991]
18319         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18320         (from_ucs4_idx): Regenerate.
18321         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18322         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18323         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18324         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18325         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18326         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18327         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18328         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18329         from FROM_LOOP and TO_LOOP specific macros.
18330         (BODY): Handle combining characters.
18331         * iconvdata/BIG5HKSCS.irreversible: Update.
18332         * iconvdata/BIG5HKSCS.precomposed: New file.
18333         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18334         characters.
18335         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18336
18337 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18338
18339         * include/sys/time.h: Fix indentation and add copyright header.
18340
18341         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18342         (do_test): Likewise.
18343         * string/test-memchr.c (do_one_test): Likewise.
18344         (do_test): Likewise.
18345         * string/test-memcmp.c (do_one_test): Likewise.
18346         (do_test): Likewise.
18347         * string/test-memcpy.c (do_one_test): Likewise.
18348         (do_test): Likewise.
18349         * string/test-memmem.c (do_one_test): Likewise.
18350         (do_test): Likewise.
18351         (do_random_tests): Likewise.
18352         * string/test-memmove.c (do_one_test): Likewise.
18353         (do_test): Likewise.
18354         * string/test-memset.c (do_one_test): Likewise.
18355         (do_test): Likewise.
18356         * string/test-rawmemchr.c (do_one_test): Likewise.
18357         (do_test): Likewise.
18358         * string/test-strcasecmp.c (do_one_test): Likewise.
18359         (do_test): Likewise.
18360         * string/test-strcasestr.c (do_one_test): Likewise.
18361         (do_test): Likewise.
18362         * string/test-strcat.c (do_one_test): Likewise.
18363         (do_test): Likewise.
18364         * string/test-strchr.c (do_one_test): Likewise.
18365         (do_test): Likewise.
18366         * string/test-strcmp.c (do_one_test): Likewise.
18367         (do_test): Likewise.
18368         * string/test-strcpy.c (do_one_test): Likewise.
18369         (do_test): Likewise.
18370         * string/test-string.h: Likewise.
18371         (test_init): Likewise.
18372         * string/test-strlen.c (do_one_test): Likewise.
18373         (do_test): Likewise.
18374         * string/test-strncasecmp.c (do_one_test): Likewise.
18375         (do_test): Likewise.
18376         * string/test-strncat.c (do_one_test): Likewise.
18377         (do_test): Likewise.
18378         * string/test-strncmp.c (do_one_test): Likewise.
18379         (do_test_limit): Likewise.
18380         (do_test): Likewise.
18381         * string/test-strncpy.c (do_one_test): Likewise.
18382         (do_test): Likewise.
18383         * string/test-strnlen.c (do_one_test): Likewise.
18384         (do_test): Likewise.
18385         * string/test-strpbrk.c (do_one_test): Likewise.
18386         (do_test): Likewise.
18387         * string/test-strrchr.c (do_one_test): Likewise.
18388         (do_test): Likewise.
18389         * string/test-strspn.c (do_one_test): Likewise.
18390         (do_test): Likewise.
18391         * string/test-strstr.c (do_one_test): Likewise.
18392         (do_test): Likewise.
18393
18394         * benchtests/Makefile (string-bench): Add string benchmarks.
18395         * benchtests/bench-bcopy-ifunc.c: New file.
18396         * benchtests/bench-bcopy.c: New file.
18397         * benchtests/bench-bzero-ifunc.c: New file.
18398         * benchtests/bench-bzero.c: New file.
18399         * benchtests/bench-memccpy-ifunc.c: New file.
18400         * benchtests/bench-memccpy.c: New file.
18401         * benchtests/bench-memchr-ifunc.c: New file.
18402         * benchtests/bench-memchr.c: New file.
18403         * benchtests/bench-memcmp-ifunc.c: New file.
18404         * benchtests/bench-memcmp.c: New file.
18405         * benchtests/bench-memmem-ifunc.c: New file.
18406         * benchtests/bench-memmem.c: New file.
18407         * benchtests/bench-memmove-ifunc.c: New file.
18408         * benchtests/bench-memmove.c: New file.
18409         * benchtests/bench-mempcpy-ifunc.c: New file.
18410         * benchtests/bench-mempcpy.c: New file.
18411         * benchtests/bench-memset-ifunc.c: New file.
18412         * benchtests/bench-memset.c: New file.
18413         * benchtests/bench-rawmemchr-ifunc.c: New file.
18414         * benchtests/bench-rawmemchr.c: New file.
18415         * benchtests/bench-stpcpy-ifunc.c: New file.
18416         * benchtests/bench-stpcpy.c: New file.
18417         * benchtests/bench-stpncpy-ifunc.c: New file.
18418         * benchtests/bench-stpncpy.c: New file.
18419         * benchtests/bench-strcasecmp-ifunc.c: New file.
18420         * benchtests/bench-strcasecmp.c: New file.
18421         * benchtests/bench-strcasestr-ifunc.c: New file.
18422         * benchtests/bench-strcasestr.c: New file.
18423         * benchtests/bench-strcat-ifunc.c: New file.
18424         * benchtests/bench-strcat.c: New file.
18425         * benchtests/bench-strchr-ifunc.c: New file.
18426         * benchtests/bench-strchr.c: New file.
18427         * benchtests/bench-strchrnul-ifunc.c: New file.
18428         * benchtests/bench-strchrnul.c: New file.
18429         * benchtests/bench-strcmp-ifunc.c: New file.
18430         * benchtests/bench-strcmp.c: New file.
18431         * benchtests/bench-strcpy-ifunc.c: New file.
18432         * benchtests/bench-strcpy.c: New file.
18433         * benchtests/bench-strcspn-ifunc.c: New file.
18434         * benchtests/bench-strcspn.c: New file.
18435         * benchtests/bench-strlen-ifunc.c: New file.
18436         * benchtests/bench-strlen.c: New file.
18437         * benchtests/bench-strncasecmp-ifunc.c: New file.
18438         * benchtests/bench-strncasecmp.c: New file.
18439         * benchtests/bench-strncat-ifunc.c: New file.
18440         * benchtests/bench-strncat.c: New file.
18441         * benchtests/bench-strncmp-ifunc.c: New file.
18442         * benchtests/bench-strncmp.c: New file.
18443         * benchtests/bench-strncpy-ifunc.c: New file.
18444         * benchtests/bench-strncpy.c: New file.
18445         * benchtests/bench-strnlen-ifunc.c: New file.
18446         * benchtests/bench-strnlen.c: New file.
18447         * benchtests/bench-strpbrk-ifunc.c: New file.
18448         * benchtests/bench-strpbrk.c: New file.
18449         * benchtests/bench-strrchr-ifunc.c: New file.
18450         * benchtests/bench-strrchr.c: New file.
18451         * benchtests/bench-strspn-ifunc.c: New file.
18452         * benchtests/bench-strspn.c: New file.
18453         * benchtests/bench-strstr-ifunc.c: New file.
18454         * benchtests/bench-strstr.c: New file.
18455
18456         * benchtests/Makefile: Disable parallel execution of targets.
18457         (string-bench): Add memcpy.
18458         (benchset): New variable to store a list of benchmark sets.
18459         (bench-func): Renamed from bench.
18460         (bench-set): New target.
18461         (bench): Depend on bench-func and bench-set.
18462         * benchtests/README: Add section on benchmark sets.
18463         * benchtests/bench-memcpy-ifunc.c: New file.
18464         * benchtests/bench-memcpy.c: New file.
18465         * benchtests/bench-string.h: New file.
18466
18467 2013-06-11  Andreas Schwab  <schwab@suse.de>
18468
18469         [BZ #15577]
18470         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18471         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18472         values in the triple.
18473         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18474         terminator in the group key.
18475
18476 2013-06-11  Andreas Jaeger  <aj@suse.de>
18477
18478         * po/zh_TW.po: Update Chinese (traditional) translation from
18479         translation project.
18480
18481 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18482
18483         * include/time.h (__clock_gettime): Add libc_hidden_proto.
18484         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18485         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
18486         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18487         (clock_getcpuclockid): Likewise.
18488         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18489         Add weak_alias and libc_hidden_def.
18490         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18491         * rt/clock_gettime.c (clock_gettime): Rename to
18492         __clock_gettime.  Add weak_alias and libc_hidden_def.
18493         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18494         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18495         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
18496         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18497         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18498         Likewise.
18499         * rt/clock_settime.c (clock_settime): Rename to
18500         __clock_settime.  Add weak_alias and libc_hidden_def.
18501         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18502
18503 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
18504
18505         * mach/err_boot.sub: Remove trailing whitespace.
18506         * mach/err_ipc.sub: Likewise.
18507         * mach/err_mach.sub: Likewise.
18508
18509         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18510         (ROUNDING_TESTS_double): Likewise.
18511         (ROUNDING_TESTS_long_double): Likewise.
18512         (ROUNDING_TESTS): Likewise.
18513         * math/libm-test.inc: Include <math-tests.h>.
18514         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18515         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18516         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18517         (IF_ROUND_INIT_FE_UPWARD): Likewise.
18518
18519 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18520
18521         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18522         of assigning.
18523
18524 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
18525
18526         * sysdeps/gnu/errlist.awk: Do not generate space at end of
18527         otherwise empty TRANS lines.
18528         * sysdeps/gnu/errlist.c: Regenerated.
18529
18530         * catgets/gencat.c (error_print): Use (void) in function
18531         definition.
18532         * crypt/crypt_util.c (__init_des): Likewise.
18533         * crypt/speeds.c (Stop): Likewise.
18534         (main): Likewise.
18535         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18536         * inet/ruserpass.c (token): Likewise.
18537         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18538         * intl/localealias.c (extend_alias_table): Likewise.
18539         * intl/plural-exp.c (init_germanic_plural): Likewise.
18540         * libio/fcloseall.c (__fcloseall): Likewise.
18541         * libio/genops.c (_IO_flush_all): Likewise.
18542         (_IO_flush_all_linebuffered): Likewise.
18543         (_IO_cleanup): Likewise.
18544         (_IO_iter_begin): Likewise.
18545         (_IO_iter_end): Likewise.
18546         (_IO_list_lock): Likewise.
18547         (_IO_list_unlock): Likewise.
18548         (_IO_list_resetlock): Likewise.
18549         * libio/getchar.c (getchar): Likewise.
18550         * libio/getchar_u.c (getchar_unlocked): Likewise.
18551         * libio/getwchar.c (getwchar): Likewise.
18552         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18553         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18554         * login/getpt.c (__getpt): Likewise.
18555         * login/tst-utmp.c (main): Likewise.
18556         * malloc/hooks.c (__malloc_check_init): Likewise.
18557         * malloc/malloc.c (__malloc_stats): Likewise.
18558         * malloc/mtrace.c (tr_break): Likewise.
18559         (mtrace): Likewise.
18560         (muntrace): Likewise.
18561         * misc/fstab.c (endfsent): Likewise.
18562         * misc/getclktck.c (__getclktck): Likewise.
18563         * misc/getdtsz.c (__getdtablesize): Likewise.
18564         * misc/gethostid.c (gethostid): Likewise.
18565         * misc/getpagesize.c (__getpagesize): Likewise.
18566         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18567         (__get_nprocs): Likewise.
18568         (__get_phys_pages): Likewise.
18569         (__get_avphys_pages): Likewise.
18570         * misc/getttyent.c (getttyent): Likewise.
18571         (setttyent): Likewise.
18572         (endttyent): Likewise.
18573         * misc/getusershell.c (getusershell): Likewise.
18574         (endusershell): Likewise.
18575         (setusershell): Likewise.
18576         (initshells): Likewise.
18577         * misc/hsearch.c (__hdestroy): Likewise.
18578         * misc/sync.c (sync): Likewise.
18579         * misc/syslog.c (closelog_internal): Likewise.
18580         (closelog): Likewise.
18581         * misc/ttyslot.c (ttyslot): Likewise.
18582         * misc/vhangup.c (vhangup): Likewise.
18583         * posix/fork.c (__fork): Likewise.
18584         * posix/getegid.c (__getegid): Likewise.
18585         * posix/geteuid.c (__geteuid): Likewise.
18586         * posix/getgid.c (__getgid): Likewise.
18587         * posix/getpid.c (__getpid): Likewise.
18588         * posix/getppid.c (__getppid): Likewise.
18589         * posix/getuid.c (__getuid): Likewise.
18590         * posix/pause.c (pause): Likewise.
18591         * posix/setpgrp.c (setpgrp): Likewise.
18592         * posix/setsid.c (__setsid): Likewise.
18593         * posix/test-vfork.c (noop): Likewise.
18594         * resolv/gethnamaddr.c (_endhtent): Likewise.
18595         (_gethtent): Likewise.
18596         (ht_endhostent): Likewise.
18597         (gethostent): Likewise.
18598         (dns_service): Likewise.
18599         * stdlib/drand48.c (drand48): Likewise.
18600         * stdlib/lrand48.c (lrand48): Likewise.
18601         * stdlib/mrand48.c (mrand48): Likewise.
18602         * stdlib/rand.c (rand): Likewise.
18603         * stdlib/random.c (__random): Likewise.
18604         * stdlib/setenv.c (clearenv): Likewise.
18605         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18606         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18607         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18608         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18609         (__get_nprocs): Likewise.
18610         (__get_phys_pages): Likewise.
18611         (__get_avphys_pages): Likewise.
18612         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18613         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18614         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18615         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18616         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18617         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18618         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18619         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18620         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18621         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18622         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18623         * sysdeps/mach/hurd/sync.c (sync): Likewise.
18624         * sysdeps/posix/clock.c (clock): Likewise.
18625         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18626         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18627         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18628         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18629         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18630         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18631         (__get_nprocs_conf): Likewise.
18632         (__get_phys_pages): Likewise.
18633         (__get_avphys_pages): Likewise.
18634         * time/clock.c (clock): Likewise.
18635         * time/tzset.c (__tzname_max): Likewise.
18636
18637 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
18638
18639         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18640         (__bswap_32): Do not use "register".
18641         * crypt/crypt.c (_ufc_doit_r): Likewise.
18642         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18643         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18644         * gmon/gmon.c (__monstartup): Likewise.
18645         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18646         * hurd/hurdmalloc.c (more_memory): Likewise.
18647         (malloc): Likewise.
18648         (free): Likewise.
18649         (realloc): Likewise.
18650         (malloc_fork_prepare): Likewise.
18651         (malloc_fork_parent): Likewise.
18652         (malloc_fork_child): Likewise.
18653         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18654         (_svcauth_des): Likewise.
18655         * inet/inet_lnaof.c (inet_lnaof): Likewise.
18656         * inet/inet_net.c (inet_network): Likewise.
18657         * inet/inet_netof.c (inet_netof): Likewise.
18658         * inet/rcmd.c (__validuser2_sa): Likewise.
18659         * io/fts.c (fts_open): Likewise.
18660         (fts_load): Likewise.
18661         (fts_close): Likewise.
18662         (fts_read): Likewise.
18663         (fts_children): Likewise.
18664         (fts_build): Likewise.
18665         (fts_stat): Likewise.
18666         (fts_sort): Likewise.
18667         (fts_alloc): Likewise.
18668         (fts_lfree): Likewise.
18669         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18670         (_IO_file_xsgetn): Likewise.
18671         (_IO_file_xsgetn_mmap): Likewise.
18672         * libio/iofopncook.c (_IO_cookie_read): Likewise.
18673         (_IO_cookie_write): Likewise.
18674         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18675         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18676         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18677         * malloc/obstack.c (_obstack_begin): Likewise.
18678         (_obstack_begin_1): Likewise.
18679         (_obstack_newchunk): Likewise.
18680         (_obstack_allocated_p): Likewise.
18681         (obstack_free): Likewise.
18682         (_obstack_memory_used): Likewise.
18683         * misc/getttyent.c (getttynam): Likewise.
18684         (getttyent): Likewise.
18685         (skip): Likewise.
18686         (value): Likewise.
18687         * misc/getusershell.c (initshells): Likewise.
18688         * misc/syslog.c (__vsyslog_chk): Likewise.
18689         * misc/ttyslot.c (ttyslot): Likewise.
18690         * nis/nis_hash.c (__nis_hash): Likewise.
18691         * posix/fnmatch_loop.c (FCT): Likewise.
18692         * posix/getconf.c (print_all): Likewise.
18693         (main): Likewise.
18694         * posix/getopt.c (exchange): Likewise.
18695         * posix/glob.c (globfree): Likewise.
18696         (prefix_array): Likewise.
18697         (__glob_pattern_type): Likewise.
18698         * resolv/arpa/nameser.h (NS_GET16): Likewise.
18699         (NS_GET32): Likewise.
18700         (NS_PUT16): Likewise.
18701         (NS_PUT32): Likewise.
18702         * resolv/gethnamaddr.c (getanswer): Likewise.
18703         (gethostbyname2): Likewise.
18704         (gethostbyaddr): Likewise.
18705         (_gethtent): Likewise.
18706         (_gethtbyname2): Likewise.
18707         (_gethtbyaddr): Likewise.
18708         * resolv/ns_print.c (dst_s_get_int16): Likewise.
18709         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18710         * resolv/res_init.c (__res_vinit): Likewise.
18711         (net_mask): Likewise.
18712         * resolv/res_mkquery.c (outchar): Likewise.
18713         (PRINT): Likewise.
18714         * stdio-common/printf_fp.c (outchar): Likewise.
18715         (PRINT): Likewise.
18716         * stdio-common/printf_fphex.c (outchar): Likewise.
18717         (PRINT): Likewise.
18718         * stdio-common/printf_size.c (outchar): Likewise.
18719         (PRINT): Likewise.
18720         * stdio-common/test_rdwr.c (main): Likewise.
18721         * stdio-common/tfformat.c (matches): Likewise.
18722         * stdio-common/vfprintf.c (outchar): Likewise.
18723         (printf_unknown): Likewise.
18724         (buffered_vfprintf): Likewise.
18725         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18726         * stdio-common/xbug.c (AppendToBuffer): Likewise.
18727         (ReadFile): Likewise.
18728         * stdlib/qsort.c (SWAP): Likewise.
18729         (_quicksort): Likewise.
18730         * stdlib/setenv.c (__add_to_environ): Likewise.
18731         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18732         * stdlib/strtol_l.c (__strtol_l): Likewise.
18733         * stdlib/tst-strtod.c (main): Likewise.
18734         * stdlib/tst-strtol.c (main): Likewise.
18735         * stdlib/tst-strtoll.c (main): Likewise.
18736         * string/bits/string2.h (__strcmp_cc): Likewise.
18737         (__strcmp_cg): Likewise.
18738         (__strcspn_c1): Likewise.
18739         (__strcspn_c2): Likewise.
18740         (__strcspn_c3): Likewise.
18741         (__strspn_c1): Likewise.
18742         (__strspn_c2): Likewise.
18743         (__strspn_c3): Likewise.
18744         (__strsep_1c): Likewise.
18745         (__strsep_2c): Likewise.
18746         (__strsep_3c): Likewise.
18747         * string/memccpy.c (__memccpy): Likewise.
18748         * string/stpcpy.c (__stpcpy): Likewise.
18749         * string/strcmp.c (strcmp): Likewise.
18750         * string/strrchr.c (strrchr): Likewise.
18751         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18752         Likewise.
18753         * sysdeps/mach/hurd/getcwd.c
18754         (_hurd_canonicalize_directory_name_internal): Likewise.
18755         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18756         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18757         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18758         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18759         Likewise, in both definitions.
18760         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18761         definitions.
18762         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18763         64] (__bswap_64): Likewise.
18764         * time/test_time.c (main): Likewise.
18765         * time/tzfile.c (__tzfile_read): Likewise.
18766         (__tzfile_compute): Likewise.
18767         * time/tzset.c (__tzset_parse_tz): Likewise.
18768         (tzset_internal): Likewise.
18769         (compute_change): Likewise.
18770         * wcsmbs/wcscat.c (__wcscat): Likewise.
18771         * wcsmbs/wcschr.c (wcschr): Likewise.
18772         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18773         * wcsmbs/wcscspn.c (wcscspn): Likewise.
18774         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18775         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18776         * wcsmbs/wcsspn.c (wcsspn): Likewise.
18777         * wcsmbs/wcsstr.c (wcsstr): Likewise.
18778         * wcsmbs/wmemchr.c (wmemchr): Likewise.
18779         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18780         * wcsmbs/wmemset.c (wmemset): Likewise.
18781
18782 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
18783
18784         * scripts/config.guess: Update to version 2013-05-16.
18785         * scripts/config.sub: Update to version 2013-04-24.
18786         * scripts/install-sh: Update to version 2011-11-20.07.
18787         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18788         * scripts/move-if-change: Update to version 2012-01-06 07:23.
18789
18790 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
18791
18792         * debug/fgetws_u_chk.c: Fix leading whitespaces.
18793         * elf/sln.c: Likewise.
18794         * hurd/hurd/ioctl.h: Likewise.
18795         * hurd/hurdmalloc.c: Likewise.
18796         * hurd/xattr.c: Likewise.
18797         * include/shlib-compat.h: Likewise.
18798         * inet/ruserpass.c: Likewise.
18799         * libio/iofgets_u.c: Likewise.
18800         * libio/iofgetws_u.c: Likewise.
18801         * locale/programs/ld-identification.c: Likewise.
18802         * locale/programs/ld-time.c: Likewise.
18803         * mach/msg-destroy.c: Likewise.
18804         * nss/nss_files/files-netgrp.c: Likewise.
18805         * resolv/res_data.c: Likewise.
18806         * soft-fp/op-1.h: Likewise.
18807         * soft-fp/op-2.h: Likewise.
18808         * soft-fp/op-4.h: Likewise.
18809         * soft-fp/op-common.h: Likewise.
18810         * stdio-common/printf_fphex.c: Likewise.
18811         * stdlib/strtod_l.c: Likewise.
18812         * sunrpc/rpc/clnt.h: Likewise.
18813         * sysdeps/generic/framestate.c: Likewise.
18814         * sysdeps/i386/bsd-_setjmp.S: Likewise.
18815         * sysdeps/i386/bsd-setjmp.S: Likewise.
18816         * sysdeps/i386/__longjmp.S: Likewise.
18817         * sysdeps/i386/setjmp.S: Likewise.
18818         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18819         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18820         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18821         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18822         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18823         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18824         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18825         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18826         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18827         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18828         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18829         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18830         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18831         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18832         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18833         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18834         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18835         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18836         * sysdeps/ieee754/support.c: Likewise.
18837         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18838         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18839         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18840         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18841         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18842         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18843         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18844         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18845         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18846         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18847         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18848         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18849         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18850         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18851         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18852         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18853         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18855
18856 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
18857
18858         * posix/transbug.c: Remove executable mode.
18859
18860 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
18861
18862         * crypt/speeds.c: Remove trailing whitespace.
18863         * dlfcn/default.c: Likewise.
18864         * elf/ifuncdep2.c: Likewise.
18865         * elf/ifuncmain1.c: Likewise.
18866         * elf/ifuncmain1vis.c: Likewise.
18867         * elf/testobj.h: Likewise.
18868         * elf/tst-stackguard1.c: Likewise.
18869         * gmon/sys/gmon.h: Likewise.
18870         * hurd/hurdmsg.c: Likewise.
18871         * hurd/new-fd.c: Likewise.
18872         * hurd/ports-get.c: Likewise.
18873         * iconvdata/ibm1008_420.c: Likewise.
18874         * inet/tst-getni1.c: Likewise.
18875         * inet/tst-getni2.c: Likewise.
18876         * libio/ioungetc.c: Likewise.
18877         * libio/wfiledoalloc.c: Likewise.
18878         * manual/libm-err-tab.pl: Likewise.
18879         * math/w_dremf.c: Likewise.
18880         * misc/ftruncate.c: Likewise.
18881         * posix/bug-glob2.c: Likewise.
18882         * posix/tst-pcre.c: Likewise.
18883         * posix/wait4.c: Likewise.
18884         * resolv/README: Likewise.
18885         * resolv/res_debug.h: Likewise.
18886         * resolv/tst-inet_ntop.c: Likewise.
18887         * setjmp/bug269-setjmp.c: Likewise.
18888         * soft-fp/extended.h: Likewise.
18889         * soft-fp/op-1.h: Likewise.
18890         * soft-fp/op-2.h: Likewise.
18891         * soft-fp/op-4.h: Likewise.
18892         * soft-fp/op-8.h: Likewise.
18893         * soft-fp/testit.c: Likewise.
18894         * stdio-common/bug16.c: Likewise.
18895         * stdlib/random.c: Likewise.
18896         * sunrpc/rpcsvc/rquota.x: Likewise.
18897         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18898         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18899         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18900         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18901         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18902         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18903         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18904         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18905         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18906         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18907         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18908         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18909         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18910         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18911         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18912         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18913         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18914         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18915         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18916         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18917         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18918         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18919         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18920         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18921         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18922         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18923         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18924         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18925         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18926         * sysdeps/ieee754/s_lib_version.c: Likewise.
18927         * sysdeps/mach/hurd/check_fds.c: Likewise.
18928         * sysdeps/mach/hurd/getsockname.c: Likewise.
18929         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18930         * sysdeps/mach/hurd/recvfrom.c: Likewise.
18931         * sysdeps/powerpc/bits/link.h: Likewise.
18932         * sysdeps/powerpc/dl-procinfo.c: Likewise.
18933         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18934         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18935         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18936         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18937         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18938         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18939         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18940         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18941         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18942         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18943         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18944         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18945         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18946         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18947         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18948         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18949         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18950         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18951         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18952         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18953         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18954         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18955         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18956         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18957         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18958         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18959         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18960         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18961         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18962         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18963         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18964         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18965         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18966         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18967         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18968         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18969         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18970         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18971         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18972         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18973         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18974         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18975         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18976         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18977         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18978         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18979         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18980         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18981         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18982         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18983         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18984         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18985         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18986         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18987         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18988         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18989         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18990         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18991         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18992         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18993         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18994         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18995         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18996         * sysdeps/powerpc/sysdep.h: Likewise.
18997         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18998         * sysdeps/s390/s390-64/sub_n.S: Likewise.
18999         * sysdeps/sh/dl-trampoline.S: Likewise.
19000         * sysdeps/sh/memset.S: Likewise.
19001         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19002         * sysdeps/sh/strlen.S: Likewise.
19003         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19004         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19005         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19006         * sysdeps/sparc/sparc32/rem.S: Likewise.
19007         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19008         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19009         * sysdeps/sparc/sparc32/strchr.S: Likewise.
19010         * sysdeps/sparc/sparc32/udiv.S: Likewise.
19011         * sysdeps/sparc/sparc32/urem.S: Likewise.
19012         * sysdeps/sparc/sparc64/add_n.S: Likewise.
19013         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19014         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19015         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19016         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19017         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19018         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19019         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19020         * sysdeps/unix/bsd/times.c: Likewise.
19021         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19022         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19026         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19027         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19028         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19029         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19030         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19031         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19032         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19033         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19034         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19035         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19036         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19037         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19038         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19039         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19040         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19041         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19042         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19043         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19044         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19045         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19046         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19047         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19048         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19049         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19050         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19051         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19052         * sysdeps/x86_64/strcspn.S: Likewise.
19053
19054 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19055
19056         * locale/C-translit.h: Revert #include <stdint.h> because this is a
19057         generated file.  Regenerate properly from gen-translit.pl.
19058         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
19059         locale/C-translit.h.
19060
19061 2013-06-05  Andreas Schwab  <schwab@suse.de>
19062
19063         [BZ #15100]
19064         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19065         week as 6 instead of -1.
19066         * time/tst-strptime.c (day_tests): Add test case.
19067
19068 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19069
19070         * sysdeps/generic/math_private.h
19071         (libc_feholdexcept_setround_53bit): Replace with
19072         libc_feholdsetround_53bit.
19073         (libc_feupdateenv_53bit): Replace with
19074         libc_feresetround_53bit.
19075         (SET_RESTORE_ROUND_53BIT): Adjust.
19076
19077 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19078
19079         * string/test-strchrnul.c: Add copyright header.
19080
19081         * posix/tst-getaddrinfo4.c: Increase test timeout.
19082
19083 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
19084
19085         [BZ #15536]
19086         * math/libm-test.inc (MAX_EXP): Remove
19087         (MIN_EXP): Define.
19088         (ulp): Use MIN_EXP - MANT_DIG.
19089         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19090
19091 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
19092
19093         * po/be.po: Revert last change.
19094         * po/zh_CN.po: Likewise.
19095         * po/header.pot: Likewise.
19096
19097 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
19098
19099         * Makefile ($(common-objpfx)linkobj/libc.so): Define
19100         link-libc-deps to empty as target-specific variable.
19101         * Makerules (link-libc-args): New variable.
19102         (libc-for-link): Likewise.
19103         (link-libc-deps): Likewise.
19104         (lib%.so): Depend on $(link-libc-deps).  Link with
19105         $(link-libc-args).
19106         (build-module): Link with $(link-libc-args).
19107         (build-module-asneeded): Likewise.
19108         (build-module-helper-objlist): Filter out $(link-libc-deps) from
19109         list of objects.
19110         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19111         target-specific variable.
19112         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19113         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19114         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19115         libc.
19116         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19117         libc and ld.so.
19118         ($(objpfx)libpcprofile.so): Likewise.
19119         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19120         libc_nonshared.a.
19121         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19122         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19123         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19124         $(link-libc-deps).
19125         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19126         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19127         * login/Makefile ($(objpfx)libutil.so): Likewise.
19128         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19129         * math/Makefile ($(objpfx)libm.so): Likewise.
19130         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19131         $(objpfx)libnsl.so): Define libc-for-link as target-specific
19132         variable instead of depending directly on libc.
19133         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19134         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19135         $(link-libc-deps).
19136         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19137         libc.
19138         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19139         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19140         ($(objpfx)libanl.so): Likewise.
19141         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19142         ld.so.
19143         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19144         $(link-libc-deps).
19145         * sysdeps/i386/fpu/Makefile: Remove file.
19146         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19147         ($(objpfx)libm.so): Remove dependency on ld.so.
19148
19149 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
19150
19151         [BZ # 15553]
19152         * nis/yp_xdr.c (XDRMAXNAME): Define.
19153         (XDRMAXRECORD): Define.
19154         (xdr_domainname): Use XDRMAXNAME.
19155         (xdr_mapname): Likewise.
19156         (xdr_peername): Likewise.
19157         (xdr_keydat): Use XDRMAXRECORD.
19158         (xdr_valdat): Likewise.
19159
19160 2013-05-30  Jeff Law  <law@redhat.com>
19161
19162         [BZ #14256]
19163         * manual/errno.texi (ESTALE): Update to account for more than
19164         just NFS file systems.
19165         * sysdeps/gnu/errlist.c: Regenerated.
19166
19167 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19168
19169         [BZ #15465]
19170         * elf/Makefile (tests): Add tst-null-argv.
19171         (modules-names):  Add tst-null-argv-lib.
19172         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19173         (tst-null-argv-ENV): Set environment for tst-null-argv.
19174         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19175         (RTLD_PROGNAME): New macro.
19176         * elf/tst-null-argv.c: New test case.
19177         * elf/tst-null-argv-lib.c: Library for test case.
19178         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19179         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19180         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19181         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19182         * elf/dl-init.c (call_init): Likewise.
19183         (_dl_init): Likewise.
19184         * elf/dl-load.c (print_search_path): Likewise.
19185         (_dl_map_object): Likewise.
19186         * elf/dl-lookup.c (do_lookup_x): Likewise.
19187         (add_dependency): Likewise.
19188         (_dl_lookup_symbol_x): Likewise.
19189         (_dl_debug_bindings): Likewise.
19190         * elf/dl-open.c (_dl_show_scope): Likewise.
19191         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19192         * elf/dl-version.c (match_symbol): Likewise.
19193         (_dl_check_map_versions): Likewise.
19194         * elf/rtld.c (dl_main): Likewise.
19195         (print_unresolved): Use RTLD_PROGNAME.
19196         (print_missing_version): Likewise.
19197         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19198         (elf_machine_rela): Likewise.
19199         * sysdeps/powerpc/powerpc32/dl-machine.c
19200         (__process_machine_rela): Likewise.
19201         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19202         Likewise.
19203         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19204         Likewise.
19205         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19206         Likewise.
19207         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19208         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19209         Likewise.
19210         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19211         Likewise.
19212         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19213
19214 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
19215
19216         * po/be.po: Add descriptive title.
19217         * po/zh_CN.po: Likewise.
19218         * po/header.pot: Likewise.
19219
19220 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
19221
19222         * locale/programs/locarchive.c (create_archive): Inlucde fname in
19223         error message.
19224         (enlarge_archive): Likewise.
19225
19226 2013-05-28  Ben North  <ben@redfrontdoor.org>
19227
19228         * manual/arith.texi (frexp): It is the magnitude of the return
19229         value which lies in [0.5, 1), not the return value itself.
19230
19231 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19232
19233         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19234
19235 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
19236
19237         * stdio-common/bug26.c (main): Correct fscanf template.
19238
19239         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19240         declare _dl_skip_args.
19241
19242         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19243         Don't declare.
19244
19245         * manual/platform.texi: Add missing @end deftypefun.
19246
19247 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19248
19249         [BZ #15529]
19250         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19251         bit of mantissa of 2^16382.
19252         * math/libm-test.inc (hypot_test_data): Add more tests.
19253
19254         * math/libm-test.inc: Add drem and pow10 to list of tested
19255         functions.
19256         (pow10_test): New function.
19257         (drem_test): Likewise.
19258         (drem_test_tonearest): Likewise.
19259         (drem_test_towardzero): Likewise.
19260         (drem_test_downward): Likewise.
19261         (drem_test_upward): Likewise.
19262         (main): Call the new functions.
19263
19264         * math/libm-test.inc (finite_test_data): Remove.
19265         (finite_test): Run tests from isfinite_test_data.
19266         (gamma_test_data): Remove.
19267         (gamma_test): Run tests from lgamma_test_data.
19268         * sysdeps/i386/fpu/libm-test-ulps: Update.
19269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19270
19271 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19272
19273         * manual/platform.texi: Add PowerPC PPR function set documentation.
19274         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19275         implementation.
19276
19277 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
19278
19279         * math/libm-test.inc (MAX_EXP): Define.
19280         (ULPDIFF): Define.
19281         (ulp): New function.
19282         (check_float_internal): Use ULPDIFF.
19283         (cpow_test): Disable failing test.
19284         (check_ulp): Test ulp() implemetnation.
19285         (main): Call check_ulp before starting tests.
19286
19287 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19288
19289         * math/gen-libm-test.pl (generate_testfile): Do not handle
19290         START_DATA and END_DATA.
19291         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19292         END_DATA.
19293         (acos_tonearest_test_data): Likewise.
19294         (acos_towardzero_test_data): Likewise.
19295         (acos_downward_test_data): Likewise.
19296         (acos_upward_test_data): Likewise.
19297         (acosh_test_data): Likewise.
19298         (asin_test_data): Likewise.
19299         (asin_tonearest_test_data): Likewise.
19300         (asin_towardzero_test_data): Likewise.
19301         (asin_downward_test_data): Likewise.
19302         (asin_upward_test_data): Likewise.
19303         (asinh_test_data): Likewise.
19304         (atan_test_data): Likewise.
19305         (atanh_test_data): Likewise.
19306         (atan2_test_data): Likewise.
19307         (cabs_test_data): Likewise.
19308         (cacos_test_data): Likewise.
19309         (cacosh_test_data): Likewise.
19310         (carg_test_data): Likewise.
19311         (casin_test_data): Likewise.
19312         (casinh_test_data): Likewise.
19313         (catan_test_data): Likewise.
19314         (catanh_test_data): Likewise.
19315         (cbrt_test_data): Likewise.
19316         (ccos_test_data): Likewise.
19317         (ccosh_test_data): Likewise.
19318         (ceil_test_data): Likewise.
19319         (cexp_test_data): Likewise.
19320         (cimag_test_data): Likewise.
19321         (clog_test_data): Likewise.
19322         (clog10_test_data): Likewise.
19323         (conj_test_data): Likewise.
19324         (copysign_test_data): Likewise.
19325         (cos_test_data): Likewise.
19326         (cos_tonearest_test_data): Likewise.
19327         (cos_towardzero_test_data): Likewise.
19328         (cos_downward_test_data): Likewise.
19329         (cos_upward_test_data): Likewise.
19330         (cosh_test_data): Likewise.
19331         (cosh_tonearest_test_data): Likewise.
19332         (cosh_towardzero_test_data): Likewise.
19333         (cosh_downward_test_data): Likewise.
19334         (cosh_upward_test_data): Likewise.
19335         (cpow_test_data): Likewise.
19336         (cproj_test_data): Likewise.
19337         (creal_test_data): Likewise.
19338         (csin_test_data): Likewise.
19339         (csinh_test_data): Likewise.
19340         (csqrt_test_data): Likewise.
19341         (ctan_test_data): Likewise.
19342         (ctan_tonearest_test_data): Likewise.
19343         (ctan_towardzero_test_data): Likewise.
19344         (ctan_downward_test_data): Likewise.
19345         (ctan_upward_test_data): Likewise.
19346         (ctanh_test_data): Likewise.
19347         (ctanh_tonearest_test_data): Likewise.
19348         (ctanh_towardzero_test_data): Likewise.
19349         (ctanh_downward_test_data): Likewise.
19350         (ctanh_upward_test_data): Likewise.
19351         (erf_test_data): Likewise.
19352         (erfc_test_data): Likewise.
19353         (exp_test_data): Likewise.
19354         (exp_tonearest_test_data): Likewise.
19355         (exp_towardzero_test_data): Likewise.
19356         (exp_downward_test_data): Likewise.
19357         (exp_upward_test_data): Likewise.
19358         (exp10_test_data): Likewise.
19359         (exp2_test_data): Likewise.
19360         (expm1_test_data): Likewise.
19361         (fabs_test_data): Likewise.
19362         (fdim_test_data): Likewise.
19363         (finite_test_data): Likewise.
19364         (floor_test_data): Likewise.
19365         (fma_test_data): Likewise.
19366         (fma_towardzero_test_data): Likewise.
19367         (fma_downward_test_data): Likewise.
19368         (fma_upward_test_data): Likewise.
19369         (fmax_test_data): Likewise.
19370         (fmin_test_data): Likewise.
19371         (fmod_test_data): Likewise.
19372         (fpclassify_test_data): Likewise.
19373         (frexp_test_data): Likewise.
19374         (gamma_test_data): Likewise.
19375         (hypot_test_data): Likewise.
19376         (ilogb_test_data): Likewise.
19377         (isfinite_test_data): Likewise.
19378         (isgreater_test_data): Likewise.
19379         (isgreaterequal_test_data): Likewise.
19380         (isinf_test_data): Likewise.
19381         (isless_test_data): Likewise.
19382         (islessequal_test_data): Likewise.
19383         (islessgreater_test_data): Likewise.
19384         (isnan_test_data): Likewise.
19385         (isnormal_test_data): Likewise.
19386         (issignaling_test_data): Likewise.
19387         (isunordered_test_data): Likewise.
19388         (j0_test_data): Likewise.
19389         (j1_test_data): Likewise.
19390         (jn_test_data): Likewise.
19391         (ldexp_test_data): Likewise.
19392         (lgamma_test_data): Likewise.
19393         (lrint_test_data): Likewise.
19394         (lrint_tonearest_test_data): Likewise.
19395         (lrint_towardzero_test_data): Likewise.
19396         (lrint_downward_test_data): Likewise.
19397         (lrint_upward_test_data): Likewise.
19398         (llrint_test_data): Likewise.
19399         (llrint_tonearest_test_data): Likewise.
19400         (llrint_towardzero_test_data): Likewise.
19401         (llrint_downward_test_data): Likewise.
19402         (llrint_upward_test_data): Likewise.
19403         (log_test_data): Likewise.
19404         (log10_test_data): Likewise.
19405         (log1p_test_data): Likewise.
19406         (log2_test_data): Likewise.
19407         (logb_test_data): Likewise.
19408         (logb_downward_test_data): Likewise.
19409         (lround_test_data): Likewise.
19410         (llround_test_data): Likewise.
19411         (modf_test_data): Likewise.
19412         (nearbyint_test_data): Likewise.
19413         (nextafter_test_data): Likewise.
19414         (nexttoward_test_data): Likewise.
19415         (pow_test_data): Likewise.
19416         (pow_tonearest_test_data): Likewise.
19417         (pow_towardzero_test_data): Likewise.
19418         (pow_downward_test_data): Likewise.
19419         (pow_upward_test_data): Likewise.
19420         (remainder_test_data): Likewise.
19421         (remainder_tonearest_test_data): Likewise.
19422         (remainder_towardzero_test_data): Likewise.
19423         (remainder_downward_test_data): Likewise.
19424         (remainder_upward_test_data): Likewise.
19425         (remquo_test_data): Likewise.
19426         (rint_test_data): Likewise.
19427         (rint_tonearest_test_data): Likewise.
19428         (rint_towardzero_test_data): Likewise.
19429         (rint_downward_test_data): Likewise.
19430         (rint_upward_test_data): Likewise.
19431         (round_test_data): Likewise.
19432         (scalb_test_data): Likewise.
19433         (scalbn_test_data): Likewise.
19434         (scalbln_test_data): Likewise.
19435         (signbit_test_data): Likewise.
19436         (sin_test_data): Likewise.
19437         (sin_tonearest_test_data): Likewise.
19438         (sin_towardzero_test_data): Likewise.
19439         (sin_downward_test_data): Likewise.
19440         (sin_upward_test_data): Likewise.
19441         (sincos_test_data): Likewise.
19442         (sinh_test_data): Likewise.
19443         (sinh_tonearest_test_data): Likewise.
19444         (sinh_towardzero_test_data): Likewise.
19445         (sinh_downward_test_data): Likewise.
19446         (sinh_upward_test_data): Likewise.
19447         (sqrt_test_data): Likewise.
19448         (tan_test_data): Likewise.
19449         (tan_tonearest_test_data): Likewise.
19450         (tan_towardzero_test_data): Likewise.
19451         (tan_downward_test_data): Likewise.
19452         (tan_upward_test_data): Likewise.
19453         (tanh_test_data): Likewise.
19454         (tgamma_test_data): Likewise.
19455         (trunc_test_data): Likewise.
19456         (y0_test_data): Likewise.
19457         (y1_test_data): Likewise.
19458         (yn_test_data): Likewise.
19459         (significand_test_data): Likewise.
19460
19461         * math/gen-libm-test.pl (@functions): Remove variable.
19462         (generate_testfile): Don't handle START and END lines.
19463         * math/libm-test.inc (START): New macro.
19464         (END): Likewise.
19465         (END_COMPLEX): Likewise.
19466         (acos_test): Use END macro without arguments.
19467         (acos_test_tonearest): Likewise.
19468         (acos_test_towardzero): Likewise.
19469         (acos_test_downward): Likewise.
19470         (acos_test_upward): Likewise.
19471         (acosh_test): Likewise.
19472         (asin_test): Likewise.
19473         (asin_test_tonearest): Likewise.
19474         (asin_test_towardzero): Likewise.
19475         (asin_test_downward): Likewise.
19476         (asin_test_upward): Likewise.
19477         (asinh_test): Likewise.
19478         (atan_test): Likewise.
19479         (atanh_test): Likewise.
19480         (atan2_test): Likewise.
19481         (cabs_test): Likewise.
19482         (cacos_test): Use END_COMPLEX macro without arguments.
19483         (cacosh_test): Likewise.
19484         (carg_test): Use END macro without arguments.
19485         (casin_test): Use END_COMPLEX macro without arguments.
19486         (casinh_test): Likewise.
19487         (catan_test): Likewise.
19488         (catanh_test): Likewise.
19489         (cbrt_test): Use END macro without arguments.
19490         (ccos_test): Use END_COMPLEX macro without arguments.
19491         (ccosh_test): Likewise.
19492         (ceil_test): Use END macro without arguments.
19493         (cexp_test): Use END_COMPLEX macro without arguments.
19494         (cimag_test): Use END macro without arguments.
19495         (clog_test): Use END_COMPLEX macro without arguments.
19496         (clog10_test): Likewise.
19497         (conj_test): Likewise.
19498         (copysign_test): Use END macro without arguments.
19499         (cos_test): Likewise.
19500         (cos_test_tonearest): Likewise.
19501         (cos_test_towardzero): Likewise.
19502         (cos_test_downward): Likewise.
19503         (cos_test_upward): Likewise.
19504         (cosh_test): Likewise.
19505         (cosh_test_tonearest): Likewise.
19506         (cosh_test_towardzero): Likewise.
19507         (cosh_test_downward): Likewise.
19508         (cosh_test_upward): Likewise.
19509         (cpow_test): Use END_COMPLEX macro without arguments.
19510         (cproj_test): Likewise.
19511         (creal_test): Use END macro without arguments.
19512         (csin_test): Use END_COMPLEX macro without arguments.
19513         (csinh_test): Likewise.
19514         (csqrt_test): Likewise.
19515         (ctan_test): Likewise.
19516         (ctan_test_tonearest): Likewise.
19517         (ctan_test_towardzero): Likewise.
19518         (ctan_test_downward): Likewise.
19519         (ctan_test_upward): Likewise.
19520         (ctanh_test): Likewise.
19521         (ctanh_test_tonearest): Likewise.
19522         (ctanh_test_towardzero): Likewise.
19523         (ctanh_test_downward): Likewise.
19524         (ctanh_test_upward): Likewise.
19525         (erf_test): Use END macro without arguments.
19526         (erfc_test): Likewise.
19527         (exp_test): Likewise.
19528         (exp_test_tonearest): Likewise.
19529         (exp_test_towardzero): Likewise.
19530         (exp_test_downward): Likewise.
19531         (exp_test_upward): Likewise.
19532         (exp10_test): Likewise.
19533         (exp2_test): Likewise.
19534         (expm1_test): Likewise.
19535         (fabs_test): Likewise.
19536         (fdim_test): Likewise.
19537         (finite_test): Likewise.
19538         (floor_test): Likewise.
19539         (fma_test): Likewise.
19540         (fma_test_towardzero): Likewise.
19541         (fma_test_downward): Likewise.
19542         (fma_test_upward): Likewise.
19543         (fmax_test): Likewise.
19544         (fmin_test): Likewise.
19545         (fmod_test): Likewise.
19546         (fpclassify_test): Likewise.
19547         (frexp_test): Likewise.
19548         (gamma_test): Likewise.
19549         (hypot_test): Likewise.
19550         (ilogb_test): Likewise.
19551         (isfinite_test): Likewise.
19552         (isgreater_test): Likewise.
19553         (isgreaterequal_test): Likewise.
19554         (isinf_test): Likewise.
19555         (isless_test): Likewise.
19556         (islessequal_test): Likewise.
19557         (islessgreater_test): Likewise.
19558         (isnan_test): Likewise.
19559         (isnormal_test): Likewise.
19560         (issignaling_test): Likewise.
19561         (isunordered_test): Likewise.
19562         (j0_test): Likewise.
19563         (j1_test): Likewise.
19564         (jn_test): Likewise.
19565         (ldexp_test): Likewise.
19566         (lgamma_test): Likewise.
19567         (lrint_test): Likewise.
19568         (lrint_test_tonearest): Likewise.
19569         (lrint_test_towardzero): Likewise.
19570         (lrint_test_downward): Likewise.
19571         (lrint_test_upward): Likewise.
19572         (llrint_test): Likewise.
19573         (llrint_test_tonearest): Likewise.
19574         (llrint_test_towardzero): Likewise.
19575         (llrint_test_downward): Likewise.
19576         (llrint_test_upward): Likewise.
19577         (log_test): Likewise.
19578         (log10_test): Likewise.
19579         (log1p_test): Likewise.
19580         (log2_test): Likewise.
19581         (logb_test): Likewise.
19582         (logb_test_downward): Likewise.
19583         (lround_test): Likewise.
19584         (llround_test): Likewise.
19585         (modf_test): Likewise.
19586         (nearbyint_test): Likewise.
19587         (nextafter_test): Likewise.
19588         (nexttoward_test): Likewise.
19589         (pow_test): Likewise.
19590         (pow_test_tonearest): Likewise.
19591         (pow_test_towardzero): Likewise.
19592         (pow_test_downward): Likewise.
19593         (pow_test_upward): Likewise.
19594         (remainder_test): Likewise.
19595         (remainder_test_tonearest): Likewise.
19596         (remainder_test_towardzero): Likewise.
19597         (remainder_test_downward): Likewise.
19598         (remainder_test_upward): Likewise.
19599         (remquo_test): Likewise.
19600         (rint_test): Likewise.
19601         (rint_test_tonearest): Likewise.
19602         (rint_test_towardzero): Likewise.
19603         (rint_test_downward): Likewise.
19604         (rint_test_upward): Likewise.
19605         (round_test): Likewise.
19606         (scalb_test): Likewise.
19607         (scalbn_test): Likewise.
19608         (scalbln_test): Likewise.
19609         (signbit_test): Likewise.
19610         (sin_test): Likewise.
19611         (sin_test_tonearest): Likewise.
19612         (sin_test_towardzero): Likewise.
19613         (sin_test_downward): Likewise.
19614         (sin_test_upward): Likewise.
19615         (sincos_test): Likewise.
19616         (sinh_test): Likewise.
19617         (sinh_test_tonearest): Likewise.
19618         (sinh_test_towardzero): Likewise.
19619         (sinh_test_downward): Likewise.
19620         (sinh_test_upward): Likewise.
19621         (sqrt_test): Likewise.
19622         (tan_test): Likewise.
19623         (tan_test_tonearest): Likewise.
19624         (tan_test_towardzero): Likewise.
19625         (tan_test_downward): Likewise.
19626         (tan_test_upward): Likewise.
19627         (tanh_test): Likewise.
19628         (tgamma_test): Likewise.
19629         (trunc_test): Likewise.
19630         (y0_test): Likewise.
19631         (y1_test): Likewise.
19632         (yn_test): Likewise.
19633         (significand_test): Likewise.
19634
19635 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
19636
19637         [BZ #15381]
19638         * libio/genops.c (_IO_no_init): Initialize wide struct info.
19639
19640 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
19641
19642         [BZ #14894]
19643         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19644         __ppc_mdoio and __ppc_mdoom.
19645         * manual/platform.texi: Document new functions __ppc_yield,
19646         __ppc_mdoio and __ppc_mdoom.
19647
19648 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
19649
19650         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19651         (main): Mention "tls" pseudo-hwcap is legacy.
19652         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19653
19654 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
19655
19656         * math/gen-libm-test.pl (parse_args): Output only string of
19657         arguments as text for test name, not full call or descriptions of
19658         tests for extra outputs.
19659         (generate_testfile): Do not pass function name to parse_args.
19660         Generate this_func variable from START.
19661         * math/libm-test.inc (struct test_f_f_data): Rename test_name
19662         field to arg_str.
19663         (struct test_ff_f_data): Likewise.
19664         (test_ff_f_data_nexttoward): Likewise.
19665         (struct test_fi_f_data): Likewise.
19666         (struct test_fl_f_data): Likewise.
19667         (struct test_if_f_data): Likewise.
19668         (struct test_fff_f_data): Likewise.
19669         (struct test_c_f_data): Likewise.
19670         (struct test_f_f1_data): Likewise.  Remove field extra_name.
19671         (struct test_fF_f1_data): Likewise.
19672         (struct test_ffI_f1_data): Likewise.
19673         (struct test_c_c_data): Rename test_name field to arg_str.
19674         (struct test_cc_c_data): Likewise.
19675         (struct test_f_i_data): Likewise.
19676         (struct test_ff_i_data): Likewise.
19677         (struct test_f_l_data): Likewise.
19678         (struct test_f_L_data): Likewise.
19679         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
19680         and extra2_name.
19681         (COMMON_TEST_SETUP): New macro.
19682         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19683         (COMMON_TEST_CLEANUP): Likewise.
19684         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19685         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
19686         macros.
19687         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19688         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
19689         macros.
19690         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19691         (RUN_TEST_fff_f): Take argument string.  Call new setup and
19692         cleanup macros.
19693         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19694         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
19695         macros.
19696         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19697         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
19698         macros.
19699         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19700         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
19701         cleanup macros.
19702         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19703         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
19704         cleanup macros.
19705         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19706         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
19707         cleanup macros.
19708         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19709         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
19710         macros.
19711         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19712         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
19713         macros.
19714         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19715         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
19716         macros.
19717         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19718         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
19719         cleanup macros.
19720         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19721         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
19722         cleanup macros.
19723         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19724         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
19725         macros.
19726         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19727         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
19728         cleanup macros.
19729         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19730         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
19731         macros.
19732         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19733         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
19734         macros.
19735         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19736         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
19737         cleanup macros.
19738         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19739
19740 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
19741
19742         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19743         to _sifields.sigfault.
19744         (si_addr_lsb): Define new macro.
19745         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19746         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19747         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19748
19749 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
19750
19751         [BZ #15441]
19752         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19753         returns -1.
19754         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19755         null return -1.
19756         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19757         loading the domain.
19758
19759 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
19760
19761         * math/gen-libm-test.pl (parse_args): Do not include expected
19762         result in test name.
19763         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19764         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19765         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19766         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19767         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19769
19770 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19771
19772         * benchtests/Makefile: Sort function entries.
19773
19774         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19775         tanh, asinh, acosh, atanh.
19776         * benchtests/acos-inputs: New file.
19777         * benchtests/acosh-inputs: New file.
19778         * benchtests/asin-inputs: New file.
19779         * benchtests/asinh-inputs: New file.
19780         * benchtests/atanh-inputs: New file.
19781         * benchtests/cosh-inputs: New file.
19782         * benchtests/log-inputs: New file.
19783         * benchtests/sinh-inputs: New file.
19784         * benchtests/tanh-inputs: New file.
19785
19786 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
19787
19788         [BZ #15339]
19789         * posix/tst-getaddrinfo4.c: New test.
19790         * posix/Makefile (tests): Add it.
19791
19792 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19793
19794         [BZ #15339]
19795         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19796         when no services were used.
19797         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19798         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19799
19800 2013-05-21  Andreas Schwab  <schwab@suse.de>
19801
19802         [BZ #15014]
19803         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19804         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19805         successful.
19806         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19807         redundant variable declarations and reallocation of buffer when
19808         parsing as IPv6 address.  Always set NSS status when called from
19809         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
19810         buffer too small.  Correct computation of needed size.
19811         * nss/Makefile (tests): Add test-digits-dots.
19812         * nss/test-digits-dots.c: New test.
19813
19814 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19815
19816         * benchtests/Makefile: Remove instructions for adding
19817         benchmark tests.
19818         * benchtests/README: New file to explain how to execute and
19819         enhance the benchmark tests.
19820
19821 2013-05-21  Andreas Schwab  <schwab@suse.de>
19822
19823         [BZ #15493]
19824         * setjmp/Makefile (tests): Add tst-sigsetjmp.
19825         * setjmp/tst-sigsetjmp.c: New test.
19826
19827 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
19828
19829         * sysdeps/x86_64/memset.S (memset): New implementation.
19830         (__bzero): Likewise.
19831         (__memset_tail): New function.
19832
19833 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
19834
19835         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19836         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19837         __memcpy_sse2_unaligned ifunc selection.
19838         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19839         Add memcpy-sse2-unaligned.S.
19840         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19841         Add: __memcpy_sse2_unaligned.
19842
19843 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
19844
19845         [BZ #15490]
19846         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19847         math_force_eval before restoring floating-point envrionment.
19848         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19849         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19850         Likewise.
19851         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19852         <math_private.h>.
19853         (__nearbyintl): Use math_force_eval before restoring
19854         floating-point environment.
19855         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19856
19857         * math/gen-libm-test.pl (special_functions): Remove.
19858         (parse_args): Don't handle TEST_extra.  Handle functions with no
19859         return value.
19860         * math/libm-test.inc (struct test_sincos_data): Replace with
19861         struct test_fFF_11_data.
19862         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19863         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19864         (sincos_test_data): Change element type to struct
19865         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
19866         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19867         RUN_TEST_LOOP_sincos.
19868         * math/README.libm-test: Don't mention special handling of
19869         individual functions.
19870         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19871         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19872         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19873         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19874         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19876
19877         * math/gen-libm-test.pl (get_variable): Remove function.
19878         (parse_args): Don't show pointer parameters to call in test
19879         names.  Use "extra output N" in test names for extra outputs
19880         rather than naming variables.
19881
19882 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
19883
19884         [BZ #15488]
19885         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19886         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19887         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19888         double tests.
19889         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19890         disable.
19891         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19892         check_long_double.
19893
19894         * math/gen-libm-test.pl (@tests): Remove variable.
19895         ($count): Likewise.
19896         (new_test): Remove function.
19897         (show_exceptions): New function.
19898         (special_functions): Use show_exceptions instead of new_test.
19899         (parse_args): Likewise.
19900         (generate_testfile): Pass only function name in generated call to
19901         print_max_error or print_complex_max_error.
19902         (get_ulps): Do not handle complex tests specially.
19903         (output_test): Rename to ...
19904         (get_all_ulps_for_test): ... this.  Return a string rather than
19905         printing to a file.  Require ulps to be present.
19906         (output_ulps): Generate arrays rather than #defines.
19907         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19908         (struct ulp_data): New type.
19909         (BUILD_COMPLEX_ULP): Remove macro.
19910         (compare_ulp_data): New function.
19911         (find_ulps): Likewise.
19912         (find_test_ulps): Likewise.
19913         (find_function_ulps): Likewise.
19914         (find_complex_function_ulps): Likewise.
19915         (print_max_error): Determine allowed ulps using
19916         find_function_ulps.
19917         (print_complex_max_error): Determine allowed ulps using
19918         find_complex_function_ulps.
19919         (check_float_internal): Determine max ulps using find_test_ulps.
19920         (check_float): Do not take max_ulp parameter.  Update call to
19921         check_float_internal.
19922         (check_complex): Likewise.
19923         (check_int): Do not take max_ulp parameter.
19924         (check_long): Likewise.
19925         (check_bool): Likewise.
19926         (check_longlong): Likewise.
19927         (struct test_f_f_data): Remove max_ulp field.
19928         (struct test_ff_f_data): Likewise.
19929         (struct test_ff_f_data_nexttoward): Likewise.
19930         (struct test_fi_f_data): Likewise.
19931         (struct test_fl_f_data): Likewise.
19932         (struct test_if_f_data): Likewise.
19933         (struct test_fff_f_data): Likewise.
19934         (struct test_c_f_data): Likewise.
19935         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19936         (struct test_fF_f1_data): Likewise.
19937         (struct test_ffI_f1_data): Likewise.
19938         (struct test_c_c_data): Remove max_ulp field.
19939         (struct test_cc_c_data): Likewise.
19940         (struct test_f_i_data): Likewise.
19941         (struct test_ff_i_data): Likewise.
19942         (struct test_f_l_data): Likewise.
19943         (struct test_f_L_data): Likewise.
19944         (struct test_sincos_data): Likewise.
19945         (RUN_TEST_f_f): Do not handle ulps.
19946         (RUN_TEST_LOOP_f_f): Likewise.
19947         (RUN_TEST_2_f): Likewise.
19948         (RUN_TEST_LOOP_2_f): Likewise.
19949         (RUN_TEST_fff_f): Likewise.
19950         (RUN_TEST_LOOP_fff_f): Likewise.
19951         (RUN_TEST_c_f): Likewise.
19952         (RUN_TEST_LOOP_c_f): Likewise.
19953         (RUN_TEST_f_f1): Likewise.
19954         (RUN_TEST_LOOP_f_f1): Likewise.
19955         (RUN_TEST_fF_f1): Likewise.
19956         (RUN_TEST_LOOP_fF_f1): Likewise.
19957         (RUN_TEST_fI_f1): Likewise.
19958         (RUN_TEST_LOOP_fI_f1): Likewise.
19959         (RUN_TEST_ffI_f1): Likewise.
19960         (RUN_TEST_LOOP_ffI_f1): Likewise.
19961         (RUN_TEST_c_c): Likewise.
19962         (RUN_TEST_LOOP_c_c): Likewise.
19963         (RUN_TEST_cc_c): Likewise.
19964         (RUN_TEST_LOOP_cc_c): Likewise.
19965         (RUN_TEST_f_i): Likewise.
19966         (RUN_TEST_LOOP_f_i): Likewise.
19967         (RUN_TEST_f_i_tg): Likewise.
19968         (RUN_TEST_LOOP_f_i_tg): Likewise.
19969         (RUN_TEST_ff_i_tg): Likewise.
19970         (RUN_TEST_LOOP_ff_i_tg): Likewise.
19971         (RUN_TEST_f_b): Likewise.
19972         (RUN_TEST_LOOP_f_b): Likewise.
19973         (RUN_TEST_f_b_tg): Likewise.
19974         (RUN_TEST_LOOP_f_b_tg): Likewise.
19975         (RUN_TEST_f_l): Likewise.
19976         (RUN_TEST_LOOP_f_l): Likewise.
19977         (RUN_TEST_f_L): Likewise.
19978         (RUN_TEST_LOOP_f_L): Likewise.
19979         (RUN_TEST_sincos): Likewise.
19980         (RUN_TEST_LOOP_sincos): Likewise.
19981
19982 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
19983
19984         [BZ #15480]
19985         [BZ #15485]
19986         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19987         main case of finite arguments, set rounding mode to FE_TONEAREST
19988         and discard exceptions.
19989         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19990         exceptions.
19991         (remainder_tonearest_test_data): New variable.
19992         (remainder_test_tonearest): New function.
19993         (remainder_towardzero_test_data): New variable.
19994         (remainder_test_towardzero): New function.
19995         (remainder_downward_test_data): New variable.
19996         (remainder_test_downward): New function.
19997         (remainder_upward_test_data): New variable.
19998         (remainder_test_upward): New function.
19999         (main): Call the new test functions.
20000
20001         * math/libm-test.inc (struct test_f_f1_data): Remove field
20002         extra_init.
20003         (struct test_fF_f1_data): Likewise.
20004         (struct test_ffI_f1_data): Likewise.
20005         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
20006         based on value of EXTRA_EXPECTED.
20007         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20008         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
20009         EXTRA_VAR based on value of EXTRA_EXPECTED.
20010         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20011         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
20012         EXTRA_VAR based on value of EXTRA_EXPECTED.
20013         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20014         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
20015         EXTRA_VAR based on value of EXTRA_EXPECTED.
20016         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20017         * math/gen-libm-test.pl (parse_args): Don't output initializers
20018         for extra output values.
20019
20020         * math/libm-test.inc (check_int): Expect result to be exactly
20021         equal to expected value and do not handle ulps.
20022         (check_long): Likewise.
20023         (check_longlong): Likewise.
20024
20025         * math/libm-test.inc (ceil_test_data): Test for "inexact"
20026         exceptions.
20027         (cimag_test_data): Likewise.
20028         (conj_test_data): Likewise.
20029         (copysign_test_data): Likewise.
20030         (cproj_test_data): Likewise.
20031         (creal_test_data): Likewise.
20032         (fabs_test_data): Likewise.
20033         (fdim_test_data): Likewise.
20034         (finite_test_data): Likewise.
20035         (floor_test_data): Likewise.
20036         (fmax_test_data): Likewise.
20037         (fmin_test_data): Likewise.
20038         (fmod_test_data): Likewise.
20039         (fpclassify_test_data): Likewise.
20040         (frexp_test_data): Likewise.
20041         (ilogb_test_data): Likewise.
20042         (isfinite_test_data): Likewise.
20043         (isgreater_test_data): Likewise.
20044         (isgreaterequal_test_data): Likewise.
20045         (isinf_test_data): Likewise.
20046         (isless_test_data): Likewise.
20047         (islessequal_test_data): Likewise.
20048         (islessgreater_test_data): Likewise.
20049         (isnan_test_data): Likewise.
20050         (isnormal_test_data): Likewise.
20051         (issignaling_test_data): Likewise.
20052         (isunordered_test_data): Likewise.
20053         (ldexp_test_data): Likewise.
20054         (lrint_test_data): Likewise.
20055         (lrint_test_data) [TEST_FLOAT]: Disable one test.
20056         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20057         (lrint_tonearest_test_data): Test for "inexact" exceptions.
20058         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20059         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20060         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20061         test input.
20062         (lrint_towardzero_test_data): Test for "inexact" exceptions.
20063         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20064         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20065         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20066         that test input.
20067         (lrint_downward_test_data): Test for "inexact" exceptions.
20068         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20069         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20070         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20071         test input.
20072         (lrint_upward_test_data): Test for "inexact" exceptions.
20073         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20074         test input.
20075         (llrint_test_data): Test for "inexact" exceptions.
20076         (llrint_test_data) [TEST_FLOAT]: Disable one test.
20077         (llrint_tonearest_test_data): Test for "inexact" exceptions.
20078         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20079         (llrint_towardzero_test_data): Test for "inexact" exceptions.
20080         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20081         (llrint_downward_test_data): Test for "inexact" exceptions.
20082         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20083         (llrint_upward_test_data): Test for "inexact" exceptions.
20084         (logb_test_data): Likewise.
20085         (logb_downward_test_data): Likewise.
20086         (nextafter_test_data): Likewise.
20087         (nexttoward_test_data): Likewise.
20088         (remainder_test_data): Likewise.
20089         (remquo_test_data): Likewise.
20090         (scalbn_test_data): Likewise.
20091         (scalbln_test_data): Likewise.
20092         (signbit_test_data): Likewise.
20093         (sqrt_test_data): Likewise.
20094         (significand_test_data): Likewise.
20095
20096 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20097
20098         [BZ #15424]
20099         * benchtests/bench-modf.c (struct args): Mark arg0 as
20100         volatile.
20101         * scripts/bench.pl: Mark members of struct args as volatile.
20102
20103 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20104
20105         [BZ # 15497]
20106         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20107         negative infinity on POWER6 or lower.
20108         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20109
20110 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
20111
20112         [BZ #15442]
20113         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20114         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20115         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20116         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20117         (_FP_SETQNAN): New macro.
20118         (_FP_SETQNAN_SEMIRAW): Likewise.
20119         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20120         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20121         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20122         (FP_EXTEND): Use _FP_FRAC_SNANP.
20123         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20124         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20125         into account.
20126         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20127         New macro.
20128         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20129         Likewise.
20130
20131 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20132
20133         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20134         with DIVIDE_BY_ZERO_EXCEPTION.
20135         (gamma_test_data): Likewise.
20136         (lgamma_test_data): Likewise.
20137         (log_test_data): Likewise.
20138         (log10_test_data): Likewise.
20139         (log2_test_data): Likewise.
20140         (tgamma_test_data): Likewise.
20141
20142         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20143         (acos_test_tonearest): Likewise.
20144         (acos_test_towardzero): Likewise.
20145         (acos_test_downward): Likewise.
20146         (acos_test_upward): Likewise.
20147         (acosh_test): Likewise.
20148         (asin_test): Likewise.
20149         (asin_test_tonearest): Likewise.
20150         (asin_test_towardzero): Likewise.
20151         (asin_test_downward): Likewise.
20152         (asin_test_upward): Likewise.
20153         (asinh_test): Likewise.
20154         (atan_test): Likewise.
20155         (atanh_test): Likewise.
20156         (atan2_test): Likewise.
20157         (cabs_test): Likewise.
20158         (cacos_test): Likewise.
20159         (cacosh_test): Likewise.
20160         (casin_test): Likewise.
20161         (casinh_test): Likewise.
20162         (catan_test): Likewise.
20163         (catanh_test): Likewise.
20164         (cbrt_test): Likewise.
20165         (ccos_test): Likewise.
20166         (ccosh_test): Likewise.
20167         (cexp_test): Likewise.
20168         (clog_test): Likewise.
20169         (clog10_test): Likewise.
20170         (cos_test): Likewise.
20171         (cos_test_tonearest): Likewise.
20172         (cos_test_towardzero): Likewise.
20173         (cos_test_downward): Likewise.
20174         (cos_test_upward): Likewise.
20175         (cosh_test): Likewise.
20176         (cosh_test_tonearest): Likewise.
20177         (cosh_test_towardzero): Likewise.
20178         (cosh_test_downward): Likewise.
20179         (cosh_test_upward): Likewise.
20180         (cpow_test): Likewise.
20181         (csin_test): Likewise.
20182         (csinh_test): Likewise.
20183         (csqrt_test): Likewise.
20184         (ctan_test): Likewise.
20185         (ctan_test_tonearest): Likewise.
20186         (ctan_test_towardzero): Likewise.
20187         (ctan_test_downward): Likewise.
20188         (ctan_test_upward): Likewise.
20189         (ctanh_test): Likewise.
20190         (ctanh_test_tonearest): Likewise.
20191         (ctanh_test_towardzero): Likewise.
20192         (ctanh_test_downward): Likewise.
20193         (ctanh_test_upward): Likewise.
20194         (erf_test): Likewise.
20195         (erfc_test): Likewise.
20196         (exp_test): Likewise.
20197         (exp_test_tonearest): Likewise.
20198         (exp_test_towardzero): Likewise.
20199         (exp_test_downward): Likewise.
20200         (exp_test_upward): Likewise.
20201         (exp10_test): Likewise.
20202         (exp2_test): Likewise.
20203         (expm1_test): Likewise.
20204         (fmod_test): Likewise.
20205         (gamma_test): Likewise.
20206         (hypot_test): Likewise.
20207         (j0_test): Likewise.
20208         (j1_test): Likewise.
20209         (jn_test): Likewise.
20210         (lgamma_test): Likewise.
20211         (log_test): Likewise.
20212         (log10_test): Likewise.
20213         (log1p_test): Likewise.
20214         (log2_test): Likewise.
20215         (logb_test_downward): Likewise.
20216         (pow_test): Likewise.
20217         (pow_test_tonearest): Likewise.
20218         (pow_test_towardzero): Likewise.
20219         (pow_test_downward): Likewise.
20220         (pow_test_upward): Likewise.
20221         (remainder_test): Likewise.
20222         (remquo_test): Likewise.
20223         (sin_test): Likewise.
20224         (sin_test_tonearest): Likewise.
20225         (sin_test_towardzero): Likewise.
20226         (sin_test_downward): Likewise.
20227         (sin_test_upward): Likewise.
20228         (sincos_test): Likewise.
20229         (sinh_test): Likewise.
20230         (sinh_test_tonearest): Likewise.
20231         (sinh_test_towardzero): Likewise.
20232         (sinh_test_downward): Likewise.
20233         (sinh_test_upward): Likewise.
20234         (sqrt_test): Likewise.
20235         (tan_test): Likewise.
20236         (tan_test_tonearest): Likewise.
20237         (tan_test_towardzero): Likewise.
20238         (tan_test_downward): Likewise.
20239         (tan_test_upward): Likewise.
20240         (tanh_test): Likewise.
20241         (tgamma_test): Likewise.
20242         (y0_test): Likewise.
20243         (y1_test): Likewise.
20244         (yn_test): Likewise.
20245
20246         * math/gen-libm-test.pl (adjust_arg): Remove function.
20247         (special_function): Remove argument $in_func.  Only handle
20248         generating output for tables of tests, not inside functions.
20249         (parse_args): Likewise.
20250         (generate_testfile): Remove variable $in_func.  Update call to
20251         parse_args.
20252         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20253         (MINUS_ZERO_INIT): Rename macro to minus_zero.
20254         (PLUS_INFTY_INIT): Rename macro to plus_infty.
20255         (MINUS_INFTY_INIT): Rename macro to minus_infty.
20256         (QNAN_VALUE_INIT): Rename macro to qnan_value.
20257         (MAX_VALUE_INIT): Rename macro to max_value.
20258         (MIN_VALUE_INIT): Rename macro to min_value.
20259         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20260         (plus_zero): Remove variable.
20261         (minus_zero): Likewise.
20262         (plus_infty): Likewise.
20263         (minus_infty): Likewise.
20264         (qnan_value): Likewise.
20265         (max_value): Likewise.
20266         (min_value): Likewise.
20267         (min_subnorm_value): Likewise.
20268
20269 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20270
20271         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20272         uint64_t or uint32_t usage.
20273         * crypt/sha256-block.c: Likewise.
20274         * crypt/sha256-crypt.c: Likewise.
20275         * crypt/sha256.c: Likewise.
20276         * crypt/sha512-block.c: Likewise.
20277         * crypt/sha512-crypt.c: Likewise.
20278         * crypt/sha512.c: Likewise.
20279         * debug/backtrace-tst.c: Likewise.
20280         * debug/pcprofiledump.c: Likewise.
20281         * elf/cache.c: Likewise.
20282         * elf/dl-cache.c: Likewise.
20283         * elf/dl-misc.c: Likewise.
20284         * elf/dl-profile.c: Likewise.
20285         * elf/dl-support.c: Likewise.
20286         * elf/ldconfig.c: Likewise.
20287         * elf/sprof.c: Likewise.
20288         * iconv/dummy-repertoire.c: Likewise.
20289         * iconv/iconv_charmap.c: Likewise.
20290         * iconv/skeleton.c: Likewise.
20291         * iconvdata/8bit-generic.c: Likewise.
20292         * iconvdata/cp737.h: Likewise.
20293         * iconvdata/cp775.h: Likewise.
20294         * iconvdata/ibm1008.h: Likewise.
20295         * iconvdata/ibm1025.h: Likewise.
20296         * iconvdata/ibm1046.h: Likewise.
20297         * iconvdata/ibm1097.h: Likewise.
20298         * iconvdata/ibm1112.h: Likewise.
20299         * iconvdata/ibm1122.h: Likewise.
20300         * iconvdata/ibm1123.h: Likewise.
20301         * iconvdata/ibm1124.h: Likewise.
20302         * iconvdata/ibm1129.h: Likewise.
20303         * iconvdata/ibm1130.h: Likewise.
20304         * iconvdata/ibm1132.h: Likewise.
20305         * iconvdata/ibm1133.h: Likewise.
20306         * iconvdata/ibm1137.h: Likewise.
20307         * iconvdata/ibm1140.h: Likewise.
20308         * iconvdata/ibm1141.h: Likewise.
20309         * iconvdata/ibm1142.h: Likewise.
20310         * iconvdata/ibm1143.h: Likewise.
20311         * iconvdata/ibm1144.h: Likewise.
20312         * iconvdata/ibm1145.h: Likewise.
20313         * iconvdata/ibm1146.h: Likewise.
20314         * iconvdata/ibm1147.h: Likewise.
20315         * iconvdata/ibm1148.h: Likewise.
20316         * iconvdata/ibm1149.h: Likewise.
20317         * iconvdata/ibm1153.h: Likewise.
20318         * iconvdata/ibm1154.h: Likewise.
20319         * iconvdata/ibm1155.h: Likewise.
20320         * iconvdata/ibm1156.h: Likewise.
20321         * iconvdata/ibm1157.h: Likewise.
20322         * iconvdata/ibm1158.h: Likewise.
20323         * iconvdata/ibm1160.h: Likewise.
20324         * iconvdata/ibm1161.h: Likewise.
20325         * iconvdata/ibm1162.h: Likewise.
20326         * iconvdata/ibm1163.h: Likewise.
20327         * iconvdata/ibm1164.h: Likewise.
20328         * iconvdata/ibm1166.h: Likewise.
20329         * iconvdata/ibm1167.h: Likewise.
20330         * iconvdata/ibm12712.h: Likewise.
20331         * iconvdata/ibm1390.h: Likewise.
20332         * iconvdata/ibm1399.h: Likewise.
20333         * iconvdata/ibm16804.h: Likewise.
20334         * iconvdata/ibm4517.h: Likewise.
20335         * iconvdata/ibm4899.h: Likewise.
20336         * iconvdata/ibm4909.h: Likewise.
20337         * iconvdata/ibm4971.h: Likewise.
20338         * iconvdata/ibm5347.h: Likewise.
20339         * iconvdata/ibm803.h: Likewise.
20340         * iconvdata/ibm856.h: Likewise.
20341         * iconvdata/ibm901.h: Likewise.
20342         * iconvdata/ibm902.h: Likewise.
20343         * iconvdata/ibm9030.h: Likewise.
20344         * iconvdata/ibm9066.h: Likewise.
20345         * iconvdata/ibm921.h: Likewise.
20346         * iconvdata/ibm922.h: Likewise.
20347         * iconvdata/ibm9448.h: Likewise.
20348         * iconvdata/isiri-3342.h: Likewise.
20349         * iconvdata/jis0201.h: Likewise.
20350         * include/link.h: Likewise.
20351         * include/netdb.h: Likewise.
20352         * inet/check_native.c: Likewise.
20353         * inet/check_pf.c: Likewise.
20354         * inet/getipv4sourcefilter.c: Likewise.
20355         * inet/getnameinfo.c: Likewise.
20356         * inet/getsourcefilter.c: Likewise.
20357         * inet/htonl.c: Likewise.
20358         * inet/setipv4sourcefilter.c: Likewise.
20359         * inet/setsourcefilter.c: Likewise.
20360         * inet/test-inet6_opt.c: Likewise.
20361         * inet/tst-network.c: Likewise.
20362         * locale/C-collate.c: Likewise.
20363         * locale/C-ctype.c: Likewise.
20364         * locale/C-time.c: Likewise.
20365         * locale/C-translit.h: Likewise.
20366         * locale/loadarchive.c: Likewise.
20367         * locale/programs/3level.h: Likewise.
20368         * locale/programs/charmap.c: Likewise.
20369         * locale/programs/charmap.h: Likewise.
20370         * locale/programs/ld-address.c: Likewise.
20371         * locale/programs/ld-collate.c: Likewise.
20372         * locale/programs/ld-ctype.c: Likewise.
20373         * locale/programs/ld-identification.c: Likewise.
20374         * locale/programs/ld-measurement.c: Likewise.
20375         * locale/programs/ld-messages.c: Likewise.
20376         * locale/programs/ld-monetary.c: Likewise.
20377         * locale/programs/ld-name.c: Likewise.
20378         * locale/programs/ld-numeric.c: Likewise.
20379         * locale/programs/ld-paper.c: Likewise.
20380         * locale/programs/ld-telephone.c: Likewise.
20381         * locale/programs/ld-time.c: Likewise.
20382         * locale/programs/linereader.c: Likewise.
20383         * locale/programs/locale.c: Likewise.
20384         * locale/programs/locarchive.c: Likewise.
20385         * locale/programs/locfile.h: Likewise.
20386         * locale/programs/repertoire.c: Likewise.
20387         * locale/programs/simple-hash.c: Likewise.
20388         * locale/programs/simple-hash.h: Likewise.
20389         * malloc/memusage.c: Likewise.
20390         * malloc/memusagestat.c: Likewise.
20391         * nis/nis_defaults.c: Likewise.
20392         * nis/nis_hash.c: Likewise.
20393         * nis/nis_print.c: Likewise.
20394         * nis/nis_xdr.c: Likewise.
20395         * nscd/connections.c: Likewise.
20396         * nscd/hstcache.c: Likewise.
20397         * nscd/nscd_gethst_r.c: Likewise.
20398         * nscd/nscd_getserv_r.c: Likewise.
20399         * nscd/nscd_helper.c: Likewise.
20400         * nscd/servicescache.c: Likewise.
20401         * nss/makedb.c: Likewise.
20402         * nss/nss_db/db-XXX.c: Likewise.
20403         * nss/nss_db/db-initgroups.c: Likewise.
20404         * nss/nss_db/db-netgrp.c: Likewise.
20405         * nss/nss_files/files-network.c: Likewise.
20406         * nss/nss_files/files-parse.c: Likewise.
20407         * posix/bug-regex5.c: Likewise.
20408         * posix/fnmatch_loop.c: Likewise.
20409         * posix/regcomp.c: Likewise.
20410         * posix/regexec.c: Likewise.
20411         * posix/tst-rfc3484-2.c: Likewise.
20412         * posix/tst-rfc3484-3.c: Likewise.
20413         * posix/tst-rfc3484.c: Likewise.
20414         * resolv/nss_dns/dns-canon.c: Likewise.
20415         * resolv/nss_dns/dns-network.c: Likewise.
20416         * resolv/res_init.c: Likewise.
20417         * resolv/res_mkquery.c: Likewise.
20418         * resolv/tst-aton.c: Likewise.
20419         * stdlib/cxa_atexit.c: Likewise.
20420         * stdlib/cxa_finalize.c: Likewise.
20421         * stdlib/gen-fpioconst.c: Likewise.
20422         * stdlib/strtol_l.c: Likewise.
20423         * string/tst-endian.c: Likewise.
20424         * sunrpc/auth_des.c: Likewise.
20425         * sunrpc/clnt_udp.c: Likewise.
20426         * sunrpc/rtime.c: Likewise.
20427         * sunrpc/svcauth_des.c: Likewise.
20428         * sunrpc/xdr.c: Likewise.
20429         * sunrpc/xdr_intXX_t.c: Likewise.
20430         * sunrpc/xdr_rec.c: Likewise.
20431         * sysdeps/generic/ldconfig.h: Likewise.
20432         * sysdeps/generic/ldsodefs.h: Likewise.
20433         * sysdeps/generic/memusage.h: Likewise.
20434         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20435         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20436         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20437         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20438         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20439         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20440         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20441         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20442         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20443         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20444         * sysdeps/posix/getaddrinfo.c: Likewise.
20445         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20446         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20447         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20448         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20449         * sysdeps/powerpc/test-gettimebase.c: Likewise.
20450         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20451         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20452         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20453         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20454         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20455         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20456         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20457         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20458         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20459         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20460         * sysdeps/x86_64/dl-tls.h: Likewise.
20461         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20462         * time/alt_digit.c: Likewise.
20463         * time/era.c: Likewise.
20464         * wcsmbs/tst-c16c32-1.c: Likewise.
20465
20466 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20467
20468         * math/libm-test.inc (struct test_sincos_data): New type.
20469         (RUN_TEST_LOOP_sincos): New macro.
20470         (sincos_test_data): New variable.
20471         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20472
20473 2013-05-16  Richard Henderson  <rth@redhat.com>
20474
20475         * math/atest-exp2.c (LIMB64): New macro.
20476         (CONSTSZ): New macro.
20477         (mp_exp1, mp_exp_m1, mp_log2): New variables.
20478         (hexdig): Move ...
20479         (print_mpn_fp): ... to function scope.
20480         (read_mpn_hex): Remove.
20481         (get_log2): Remove.
20482         (exp2_mpn): Use mp_log2.
20483         (main): Use mp_exp1.
20484
20485 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20486
20487         * math/libm-test.inc: Remove comment about not testing "inexact"
20488         exceptions.
20489         (INEXACT_EXCEPTION): New macro.
20490         (NO_INEXACT_EXCEPTION): Likewise.
20491         (INVALID_EXCEPTION_OK): Update value.
20492         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20493         (OVERFLOW_EXCEPTION_OK): Likewise.
20494         (UNDERFLOW_EXCEPTION_OK): Likewise.
20495         (IGNORE_ZERO_INF_SIGN): Likewise.
20496         (ERRNO_UNCHANGED): Likewise.
20497         (ERRNO_EDOM): Likewise.
20498         (ERRNO_ERANGE): Likewise.
20499         (test_exceptions): Handle testing "inexact" exceptions.
20500         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20501         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20502         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20503         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20504         INEXACT_EXCEPTION.
20505         (rint_towardzero_test_data): Likewise.
20506         (rint_downward_test_data): Likewise.
20507         (rint_upward_test_data): Likewise.
20508
20509         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20510         with OVERFLOW_EXCEPTION.
20511         (exp10_test_data): Likewise.
20512         (exp2_test_data): Likewise.
20513         (expm1_test_data): Likewise.
20514         (lgamma_test_data): Likewise.
20515         (pow_test_data): Likewise.
20516         (tgamma_test_data): Likewise.
20517         (yn_test_data): Remove duplicate test of overflow.
20518
20519         * math/libm-test.inc (struct test_cc_c_data): New type.
20520         (RUN_TEST_LOOP_cc_c): New macro.
20521         (cpow_test_data): New variable.
20522         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20523
20524         * math/libm-test.inc (struct test_f_L_data): New type.
20525         (RUN_TEST_LOOP_f_L): New macro.
20526         (llrint_test_data): New variable.
20527         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20528         (llrint_tonearest_test_data): New variable.
20529         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20530         (llrint_towardzero_test_data): New variable.
20531         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20532         (llrint_downward_test_data): New variable.
20533         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20534         (llrint_upward_test_data): New variable.
20535         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20536         (llround_test_data): New variable.
20537         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20538
20539 2013-05-13  Peter Collingbourne  <pcc@google.com>
20540
20541         * math/atest-exp2.c (get_log2): Remove const attribute.
20542
20543 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20544
20545         * math/libm-test.inc (struct test_f_l_data): New type.
20546         (RUN_TEST_LOOP_f_l): New macro.
20547         (lrint_test_data): New variable.
20548         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20549         (lrint_tonearest_test_data): New variable.
20550         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20551         (lrint_towardzero_test_data): New variable.
20552         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20553         (lrint_downward_test_data): New variable.
20554         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20555         (lrint_upward_test_data): New variable.
20556         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20557         (lround_test_data): New variable.
20558         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20559
20560 2013-05-15  Peter Collingbourne  <pcc@google.com>
20561
20562         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20563         (EXTRACT_WORDS64) Use where appropriate.
20564         (INSERT_WORDS64) Likewise.
20565
20566         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20567         constraints with x constraints.
20568         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20569
20570         * malloc/obstack.c (_obstack_compat): Add initializer.
20571
20572 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20573
20574         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20575         si_trapno and add si_addr_lsb to _sifields.sigfault.
20576         (si_trapno): Remove macro.
20577         (si_addr_lsb): Define new macro.
20578         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20579
20580 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20581
20582         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20583         instead of TEST_f_l.
20584         (llrint_test_tonearest): Likewise.
20585         (llrint_test_towardzero): Likewise.
20586         (llrint_test_downward): Likewise.
20587         (llrint_test_upward): Likewise.
20588         (llround_test): Likewise.
20589
20590         * math/libm-test.inc (struct test_f_i_data): Add comment.
20591         (RUN_TEST_LOOP_f_b): New macro.
20592         (RUN_TEST_LOOP_f_b_tg): Likewise.
20593         (finite_test_data): New variable.
20594         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20595         (isfinite_test_data): New variable.
20596         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20597         (isinf_test_data): New variable.
20598         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20599         (isnan_test_data): New variable.
20600         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20601         (isnormal_test_data): New variable.
20602         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20603         (issignaling_test_data): New variable.
20604         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20605         (signbit_test_data): New variable.
20606         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20607
20608         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20609         with INVALID_EXCEPTION.
20610         (acosh_test_data): Likewise.
20611         (asin_test_data): Likewise.
20612         (atanh_test_data): Likewise.
20613         (fmod_test_data): Likewise.
20614         (log_test_data): Likewise.
20615         (log10_test_data): Likewise.
20616         (log2_test_data): Likewise.
20617         (pow_test_data): Likewise.
20618         (sqrt_test_data): Likewise.
20619         (y0_test_data): Likewise.
20620         (y1_test_data): Likewise.
20621         (yn_test_data): Likewise.
20622
20623         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20624         function contents.
20625
20626         * math/libm-test.inc (struct test_ff_i_data): New type.
20627         (RUN_TEST_LOOP_ff_i_tg): New macro.
20628         (isgreater_test_data): New variable.
20629         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20630         (isgreaterequal_test_data): New variable.
20631         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20632         (isless_test_data): New variable.
20633         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20634         (islessequal_test_data): New variable.
20635         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20636         (islessgreater_test_data): New variable.
20637         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20638         (isunordered_test_data): New variable.
20639         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20640
20641 2013-05-14  David S. Miller  <davem@davemloft.net>
20642
20643         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20644
20645 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
20646
20647         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20648
20649         * math/libm-test.inc (struct test_fF_f1_data): Change type of
20650         extra_test to int.
20651         (struct test_f_i_data): Change type of max_ulp to int.
20652
20653         * math/libm-test.inc (test_ffI_f1_data): New type.
20654         (RUN_TEST_LOOP_ffI_f1): New macro.
20655         (remquo_test_data): New variable.
20656         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20657
20658         * setjmp/tst-setjmp-fp.c: New file.
20659         * setjmp/Makefile (tests): Add tst-setjmp-fp.
20660         (link-libm): New variable.
20661         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20662
20663         * math/libm-test.inc (struct test_f_i_data): New type.
20664         (RUN_TEST_LOOP_f_i): New macro.
20665         (RUN_TEST_LOOP_f_i_tg): Likewise.
20666         (fpclassify_test_data): New variable.
20667         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20668         (ilogb_test_data): New variable.
20669         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20670
20671         * math/libm-test.inc (scalbln_test): Correct function name in END
20672         call.
20673
20674         * math/libm-test.inc (struct test_f_f1_data): Add comment.
20675         (RUN_TEST_LOOP_fI_f1): New macro.
20676         (frexp_test_data): New variable.
20677         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20678
20679         * math/libm-test.inc (struct test_fF_f1_data): New type.
20680         (RUN_TEST_LOOP_fF_f1): New macro.
20681         (modf_test_data): New variable.
20682         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20683
20684         * math/libm-test.inc (struct test_f_f1_data): New type.
20685         (RUN_TEST_LOOP_f_f1): New macro.
20686         (gamma_test_data): New variable.
20687         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20688         (lgamma_test_data): New variable.
20689         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20690
20691 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
20692
20693         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20694         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20695         (main): Comment "tls" pseudo-hwcap.
20696
20697 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
20698
20699         * math/libm-test.inc (struct test_fl_f_data): New type.
20700         (RUN_TEST_LOOP_fl_f): New variable.
20701         (scalbln_test_data): New variable.
20702         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20703
20704         * math/libm-test.inc (struct test_fi_f_data): New type.
20705         (RUN_TEST_LOOP_fi_f): New macro.
20706         (ldexp_test_data): New variable.
20707         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20708         (scalbn_test_data): New variable.
20709         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20710
20711         * math/libm-test.inc (struct test_c_f_data): New type.
20712         (RUN_TEST_LOOP_c_f): New macro.
20713         (cabs_test_data): New variable.
20714         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20715         (carg_test_data): New variable.
20716         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20717         (cimag_test_data): New variable.
20718         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20719         (creal_test_data): New variable.
20720         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20721
20722         * math/libm-test.inc (struct test_if_f_data): New type.
20723         (RUN_TEST_LOOP_if_f): New macro.
20724         (jn_test_data): New variable.
20725         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20726         (yn_test_data): New variable.
20727         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20728
20729         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20730
20731 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20732
20733         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20734         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20735
20736 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20737
20738         * benchtests/Makefile (CPPFLAGS-nonlib): Add
20739         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20740         (bench-deps): Add bench-timing.h.
20741         * benchtests-bench-skeleton.c: Include bench-timing.h.
20742         (main): Use TIMING_* macros instead of clock_gettime.
20743         * benchtests/bench-timing.h: New file.
20744
20745         [BZ #14582]
20746         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20747         Renamed from _LIB_VERSION.
20748         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20749
20750 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
20751
20752         * math/libm-test.inc (struct test_fff_f_data): New type.
20753         (RUN_TEST_LOOP_fff_f): New macro.
20754         (fma_test_data): New variable.
20755         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20756         (fma_towardzero_test_data): New variable.
20757         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20758         (fma_downward_test_data): New variable.
20759         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20760         (fma_upward_test_data): New variable.
20761         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20762
20763         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20764         (struct test_c_c_data): New type.
20765         (RUN_TEST_LOOP_c_c): New macro.
20766         (cacos_test_data): New variable.
20767         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20768         (cacosh_test_data): New variable.
20769         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20770         (casin_test_data): New variable.
20771         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20772         (casinh_test_data): New variable.
20773         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20774         (catan_test_data): New variable.
20775         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20776         (catanh_test_data): New variable.
20777         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20778         (ccos_test_data): New variable.
20779         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20780         (ccosh_test_data): New variable.
20781         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20782         (cexp_test_data): New variable.
20783         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20784         (clog_test_data): New variable.
20785         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20786         (clog10_test_data): New variable.
20787         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20788         (conj_test_data): New variable.
20789         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20790         (cproj_test_data): New variable.
20791         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20792         (csin_test_data): New variable.
20793         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20794         (csinh_test_data): New variable.
20795         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20796         (csqrt_test_data): New variable.
20797         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20798         (ctan_test_data): New variable.
20799         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20800         (ctan_tonearest_test_data): New variable.
20801         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20802         (ctan_towardzero_test_data): New variable.
20803         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20804         (ctan_downward_test_data): New variable.
20805         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20806         (ctan_upward_test_data): New variable.
20807         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20808         (ctanh_test_data): New variable.
20809         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20810         (ctanh_tonearest_test_data): New variable.
20811         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20812         (ctanh_towardzero_test_data): New variable.
20813         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20814         (ctanh_downward_test_data): New variable.
20815         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20816         (ctanh_upward_test_data): New variable.
20817         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20818         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20819         of BUILD_COMPLEX.
20820
20821         * math/libm-test.inc (struct test_ff_f_data): New type.
20822         (struct test_ff_f_data_nexttoward): Likewise.
20823         (RUN_TEST_LOOP_2_f): New macro.
20824         (RUN_TEST_LOOP_ff_f): Likewise.
20825         (atan2_test_data): New variable.
20826         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20827         (copysign_test_data): New variable.
20828         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20829         (fdim_test_data): New variable.
20830         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20831         (fmax_test_data): New variable.
20832         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20833         (fmin_test_data): New variable.
20834         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20835         (fmod_test_data): New variable.
20836         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20837         (hypot_test_data): New variable.
20838         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20839         (nextafter_test_data): New variable.
20840         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20841         (nexttoward_test_data): New variable.
20842         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20843         (pow_test_data): New variable.
20844         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20845         (pow_tonearest_test_data): New variable.
20846         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20847         (pow_towardzero_test_data): New variable.
20848         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20849         (pow_downward_test_data): New variable.
20850         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20851         (pow_upward_test_data): New variable.
20852         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20853         (remainder_test_data): New variable.
20854         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20855         (scalb_test_data): New variable.
20856         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20857         * sysdeps/i386/fpu/libm-test-ulps: Update.
20858
20859 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
20860
20861         * math/libm-test.inc (fma_test): Use max_value instead of local
20862         variable fltmax.
20863         (nextafter_test): Likewise.
20864
20865         * math/libm-test.inc (acos_towardzero_test_data): New variable.
20866         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20867         (acos_downward_test_data): New variable.
20868         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20869         (acos_upward_test_data): New variable.
20870         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20871         (acosh_test_data): New variable.
20872         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20873         (asin_test_data): New variable.
20874         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20875         (asin_tonearest_test_data): New variable.
20876         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20877         (asin_towardzero_test_data): New variable.
20878         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20879         (asin_downward_test_data): New variable.
20880         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20881         (asin_upward_test_data): New variable.
20882         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20883         (asinh_test_data): New variable.
20884         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20885         (atan_test_data): New variable.
20886         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20887         (atanh_test_data): New variable.
20888         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20889         (cbrt_test_data): New variable.
20890         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20891         (ceil_test_data): New variable.
20892         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20893         (cos_test_data): New variable.
20894         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20895         (cos_tonearest_test_data): New variable.
20896         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20897         (cos_towardzero_test_data): New variable.
20898         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20899         (cos_downward_test_data): New variable.
20900         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20901         (cos_upward_test_data): New variable.
20902         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20903         (cosh_test_data): New variable.
20904         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20905         (cosh_tonearest_test_data): New variable.
20906         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20907         (cosh_towardzero_test_data): New variable.
20908         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20909         (cosh_downward_test_data): New variable.
20910         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20911         (cosh_upward_test_data): New variable.
20912         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20913         (erf_test_data): New variable.
20914         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20915         (erfc_test_data): New variable.
20916         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20917         (exp_test_data): New variable.
20918         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20919         (exp_tonearest_test_data): New variable.
20920         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20921         (exp_towardzero_test_data): New variable.
20922         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20923         (exp_downward_test_data): New variable.
20924         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20925         (exp_upward_test_data): New variable.
20926         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20927         (exp10_test_data): New variable.
20928         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20929         (exp2_test_data): New variable.
20930         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20931         (expm1_test_data): New variable.
20932         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20933         (fabs_test_data): New variable.
20934         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20935         (floor_test_data): New variable.
20936         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20937         (j0_test_data): New variable.
20938         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20939         (j1_test_data): New variable.
20940         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20941         (log_test_data): New variable.
20942         (log_test): Run tests with RUN_TEST_LOOP_f_f.
20943         (log10_test_data): New variable.
20944         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20945         (log1p_test_data): New variable.
20946         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20947         (log2_test_data): New variable.
20948         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20949         (logb_test_data): New variable.
20950         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20951         (logb_downward_test_data): New variable.
20952         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20953         (nearbyint_test_data): New variable.
20954         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20955         (rint_test_data): New variable.
20956         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20957         (rint_tonearest_test_data): New variable.
20958         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20959         (rint_towardzero_test_data): New variable.
20960         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20961         (rint_downward_test_data): New variable.
20962         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20963         (rint_upward_test_data): New variable.
20964         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20965         (round_test_data): New variable.
20966         (round_test): Run tests with RUN_TEST_LOOP_f_f.
20967         (sin_test_data): New variable.
20968         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20969         (sin_tonearest_test_data): New variable.
20970         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20971         (sin_towardzero_test_data): New variable.
20972         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20973         (sin_downward_test_data): New variable.
20974         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20975         (sin_upward_test_data): New variable.
20976         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20977         (sinh_test_data): New variable.
20978         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20979         (sinh_tonearest_test_data): New variable.
20980         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20981         (sinh_towardzero_test_data): New variable.
20982         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20983         (sinh_downward_test_data): New variable.
20984         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20985         (sinh_upward_test_data): New variable.
20986         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20987         (sqrt_test_data): New variable.
20988         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20989         (tan_test_data): New variable.
20990         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20991         (tan_tonearest_test_data): New variable.
20992         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20993         (tan_towardzero_test_data): New variable.
20994         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20995         (tan_downward_test_data): New variable.
20996         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20997         (tan_upward_test_data): New variable.
20998         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20999         (tanh_test_data): New variable.
21000         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21001         (tgamma_test_data): New variable.
21002         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21003         (trunc_test_data): New variable.
21004         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21005         (y0_test_data): New variable.
21006         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21007         (y1_test_data): New variable.
21008         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21009         (significand_test_data): New variable.
21010         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21011
21012 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
21013
21014         [BZ #12387]
21015         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21016
21017 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21018
21019         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21020
21021 2013-05-10  Andreas Jaeger  <aj@suse.de>
21022
21023         [BZ #15448]
21024         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21025         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21026
21027 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21028
21029         * math/gen-libm-test.pl (adjust_arg): New function.
21030         (special_functions): Handle generating output in both functions
21031         and arrays.
21032         (parse_args): Likewise.
21033         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
21034         $in_func argument to parse_args.
21035         * math/libm-test.inc (struct test_f_f_data): New type.
21036         (IF_ROUND_INIT_): New macro.
21037         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21038         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21039         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21040         (IF_ROUND_INIT_FE_UPWARD): Likewise.
21041         (ROUND_RESTORE_): Likewise.
21042         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21043         (ROUND_RESTORE_FE_TONEAREST): Likewise.
21044         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21045         (ROUND_RESTORE_FE_UPWARD): Likewise.
21046         (RUN_TEST_LOOP_f_f): New macro.
21047         (acos_test_data): New variable.
21048         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21049         (acos_tonearest_test_data): New variable.
21050         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21051
21052 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21053
21054         * benchtests/bench-skeleton.c (startup): Fix coding style.
21055
21056 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21057
21058         [BZ #6809]
21059         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21060         negative infinity argument.
21061         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21062         negative infinity argument.
21063         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21064         negative infinity argument.
21065         * math/libm-test.inc (tgamma_test): Expect errno to be set for
21066         domain errors.
21067
21068 2013-05-10  Florian Weimer  <fweimer@redhat.com>
21069
21070         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21071         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21072         * iconv/iconv_prog.c (main): Likewise.
21073         * locale/programs/charmap-dir.c (charmap_readdir)
21074         (fopen_uncompressed): Likewise.
21075         * locale/programs/locfile.c (siblings_uncached)
21076         (write_locale_data): Use lstat64 instead of lstat.
21077         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21078         stat.
21079
21080 2013-05-10  Andreas Jaeger  <aj@suse.de>
21081
21082         [BZ #15395]
21083         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21084         localization.
21085         Include <locale.h>.
21086
21087 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
21088
21089         * elf/dl-close.c (_dl_close_worker): Add comments.
21090
21091 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
21092
21093         [BZ #15359]
21094         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21095         high part of pi/2.
21096         (__ieee754_rem_pio2l): Update comments.
21097
21098         [BZ #15429]
21099         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21100         high part of pi/2.
21101         (__ieee754_rem_pio2l): Update comments.
21102
21103         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21104         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21105
21106         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21107         M_PI_4l.
21108
21109         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21110         (M_PI_34_LOG10El): Likewise.
21111         (M_PI2_LOG10El): Likewise.
21112         (M_PI4_LOG10El): Likewise.
21113         (M_PI_LOG10El): Likewise.
21114
21115 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21116
21117         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21118
21119 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
21120
21121         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21122         (MINUS_ZERO_INIT): Likewise.
21123         (PLUS_INFTY_INIT): Likewise.
21124         (MINUS_INFTY_INIT): Likewise.
21125         (QNAN_VALUE_INIT): Likewise.
21126         (MAX_VALUE_INIT): Likewise.
21127         (MIN_VALUE_INIT): Likewise.
21128         (MIN_SUBNORM_VALUE_INIT): Likewise.
21129         (plus_zero): Initialize with PLUS_ZERO_INIT.
21130         (minus_zero): Initialize with MINUS_ZERO_INIT.
21131         (plus_infty): Initialize with PLUS_INFTY_INIT.
21132         (minus_infty): Initialize with MINUS_INFTY_INIT.
21133         (qnan_value): Initialize with QNAN_VALUE_INIT.
21134         (max_value): Initialize with MAX_VALUE_INIT.
21135         (min_value): Initialize with MIN_VALUE_INIT.
21136         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21137
21138         * math/libm-test.inc (RUN_TEST_if_f): New macro.
21139         (jn_test): Use TEST_if_f instead of TEST_ff_f.
21140         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21141         (yn_test): Use TEST_if_f instead of TEST_ff_f.
21142
21143         * math/libm-test.inc (RUN_TEST_f_f): New macro.
21144         (RUN_TEST_2_f): Likewise.
21145         (RUN_TEST_ff_f): Likewise.
21146         (RUN_TEST_fi_f): Likewise.
21147         (RUN_TEST_fl_f): Likewise.
21148         (RUN_TEST_fff_f): Likewise.
21149         (RUN_TEST_c_f): Likewise.
21150         (RUN_TEST_f_f1): Likewise.
21151         (RUN_TEST_fF_f1): Likewise.
21152         (RUN_TEST_fI_f1): Likewise.
21153         (RUN_TEST_ffI_f1): Likewise.
21154         (RUN_TEST_c_c): Likewise.
21155         (RUN_TEST_cc_c): Likewise.
21156         (RUN_TEST_f_i): Likewise.
21157         (RUN_TEST_f_i_tg): Likewise.
21158         (RUN_TEST_ff_i_tg): Likewise.
21159         (RUN_TEST_f_b): Likewise.
21160         (RUN_TEST_f_b_tg): Likewise.
21161         (RUN_TEST_f_l): Likewise.
21162         (RUN_TEST_f_L): Likewise.
21163         (RUN_TEST_sincos): Likewise.
21164         * math/gen-libm-test.pl (new_test): Take new argument to indicate
21165         whether to show exceptions.  Do not include ");\n" in return
21166         value.
21167         (special_functions): Output call to RUN_TEST_sincos instead of
21168         check_float calls.  Update calls to new_test.
21169         (parse_args): Output call to single RUN_TEST_* macro instead of
21170         check_* calls and other assignments.  Update calls to new_test.
21171
21172         [BZ #2546]
21173         [BZ #2560]
21174         [BZ #5159]
21175         [BZ #15426]
21176         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21177         input to result for tgamma overflow.
21178         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21179         (gamma_coeff): New variable.
21180         (NCOEFF): New macro.
21181         (gamma_positive): New function.
21182         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21183         underflow here.  Use gamma_positive instead of exp (lgamma) for
21184         other arguments.
21185         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21186         (gamma_coeff): New variable.
21187         (NCOEFF): New macro.
21188         (gammaf_positive): New function.
21189         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21190         underflow here.  Use gamma_positive instead of exp (lgamma) for
21191         other arguments.
21192         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21193         (gamma_coeff): New variable.
21194         (NCOEFF): New macro.
21195         (gammal_positive): New function.
21196         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21197         underflow here.  Use gamma_positive instead of exp (lgamma) for
21198         other arguments.
21199         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21200         (gamma_coeff): New variable.
21201         (NCOEFF): New macro.
21202         (gammal_positive): New function.
21203         (__ieee754_gammal_r): Handle positive infinity, overflow and
21204         underflow here.  Handle NaN the same as positive infinity.  Remove
21205         check x < 0xffffffff for negative integers.  Use gamma_positive
21206         instead of exp (lgamma) for other arguments.
21207         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21208         (gamma_coeff): New variable.
21209         (NCOEFF): New macro.
21210         (gammal_positive): New function.
21211         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21212         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21213         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21214         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21215         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21216         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21217         * sysdeps/generic/math_private.h (__gamma_productf): New
21218         prototype.
21219         (__gamma_product): Likewise.
21220         (__gamma_productl): Likewise.
21221         * math/Makefile (libm-calls): Add gamma_product.
21222         * math/libm-test.inc (tgamma_test): Add more tests.
21223         * sysdeps/i386/fpu/libm-test-ulps: Update.
21224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21225
21226 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
21227
21228         * benchtests/bench-skeleton.c (main): Preheat CPU.
21229
21230 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
21231
21232         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21233
21234 2013-05-07  Roland McGrath  <roland@hack.frob.com>
21235
21236         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21237         and _dl_skip_args_internal.
21238
21239 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
21240
21241         * manual/message.texi (Message Translation): Talk about users.
21242         Message to key mapping impacts design.
21243
21244 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21245
21246         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21247
21248         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21249
21250         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21251         * sysdeps/wordsize-64/glob64.c: ... here.
21252
21253         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21254         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21255         New macros.
21256
21257         * debug/getlogin_r_chk.c: Moved to ...
21258         * login/getlogin_r_chk.c: ... here.
21259         * debug/Makefile (routines): Move getlogin_r_chk to ...
21260         * login/Makefile (routines): ... here.
21261         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21262         * login/Versions (libc: GLIBC_2.4): ... here.
21263
21264         * io/poll.c (__poll): Renamed from poll.
21265         Add libc_hidden_def.
21266         (poll): Define as weak alias.
21267
21268         * debug/ptsname_r_chk.c: Moved to ...
21269         * login/ptsname_r_chk.c: ... here.
21270         * debug/Makefile (routines): Move ptsname_r_chk to ...
21271         * login/Makefile (routines): ... here.
21272         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21273         * login/Versions (libc: GLIBC_2.4): ... here.
21274
21275         * posix/getlogin.c: Moved to ...
21276         * login/getlogin.c: ... here.
21277         * posix/getlogin_r.c: Moved to ...
21278         * login/getlogin_r.c: ... here.
21279         * posix/getlogin_r.c: Moved to ...
21280         * login/getlogin_r.c: ... here.
21281         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21282         * login/Makefile (routines): ... here.
21283         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21284         * login/Versions (libc: GLIBC_2.0): ... here.
21285
21286         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21287         (setrlimit): Define as weak alias.
21288
21289         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21290         Call __ names for open, ftruncate, and close.
21291         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21292         (truncate): Define as weak alias.
21293
21294 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
21295
21296         * math/gen-libm-test.pl (parse_args): Initialize x before each
21297         test of frexp, modf and remquo.
21298
21299         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21300         test signgam value.
21301
21302 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21303
21304         [BZ #15418]
21305         [BZ #15419]
21306         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21307         internal tests.
21308         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21309
21310 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21311
21312         * elf/dl-writev.h: New file.
21313         * elf/dl-misc.c: Include it.
21314         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21315         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21316
21317 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
21318
21319         * math/libm-test.inc (noXFails): Remove variable.
21320         (noXPasses): Likewise.
21321         (BUILD_COMPLEX_INT): Remove macro.
21322         (print_screen): Remove xfail argument.
21323         (print_screen_max_error): Likewise.
21324         (update_stats): Likewise.
21325         (print_max_error): Likewise.  Update calls to other affected
21326         functions.
21327         (print_complex_max_error): Likewise.
21328         (test_single_exception): Update calls to print_screen.
21329         (test_single_errno): Likewise.
21330         (check_float_internal): Remove xfail argument.  Update calls to
21331         other affected functions.
21332         (check_float): Likewise.
21333         (check_complex): Likewise.
21334         (check_int): Likewise.
21335         (check_long): Likewise.
21336         (check_bool): Likewise.
21337         (check_longlong): Likewise.
21338         (main): Don't print noXFails and noXPasses.
21339         * math/gen-libm-test.pl (top level): Don't mention expected
21340         failure handling in comment.
21341         (new_test): Don't handle expected failures.
21342         (parse_args): Don't mention expected failure handling in comment.
21343         (generate_testfile): Don't handle expected failures.
21344         (parse_ulps): Likewise.
21345         (print_ulps_file): Likewise.
21346         (get_failure): Remove function.
21347         (output_test): Don't handle expected failures.
21348         * make/README.libm-test: Don't mention expected failure handling.
21349
21350         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
21351         (minus_zero): Likewise.
21352         (plus_infty): Likewise.
21353         (minus_infty): Likewise.
21354         (qnan_value): Likewise.
21355         (max_value): Likewise.
21356         (min_value): Likewise.
21357         (min_subnorm_value): Likewise.
21358         (initialize): Do not initialize those variables dynamically.
21359
21360 2013-05-03  Roland McGrath  <roland@hack.frob.com>
21361
21362         * io/open.c (__open_2): Moved to ...
21363         * io/open_2.c: ... this new file.
21364         * io/open64.c (__open64_2): Moved to ...
21365         * io/open64_2.c: ... this new file.
21366         * io/openat.c (__openat_2): Moved to ...
21367         * io/openat_2.c: ... this new file.
21368         * io/openat64.c (__openat64_2): Moved to ...
21369         * io/openat64_2.c: ... this new file.
21370         * io/Makefile (routines): Add them.
21371         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21372         * sysdeps/unix/sysv/linux/open_2.c: File removed.
21373         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21374         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21375         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21376         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21377         (__openat64): Add hidden_ver.
21378         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21379         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21380
21381         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21382         Separately conditionalize setting of GLRO(dl_sysinfo) so
21383         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21384         as well, but the actual setting is only under [NEED_DL_SYSINFO].
21385
21386 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21387
21388         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21389         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21390         definition.
21391         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21392         * sysdeps/unix/sysv/linux/powerpc/init-first.c
21393         (_libc_vdso_platform_setup): Add __vdso_time initialization.
21394         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21395         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21396
21397 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
21398
21399         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21400         test signgam value.
21401
21402         * math/libm-test.inc (hypot_test): Do not use
21403         IGNORE_ZERO_INF_SIGN.
21404
21405 2013-05-03  Andreas Jaeger  <aj@suse.de>
21406
21407         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21408         Linux 3.9.
21409         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21410         (PF_MAX): Adjust for VSOCK change.
21411
21412 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21413
21414         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21415
21416 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
21417
21418         [BZ #15264]
21419         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21420         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21421         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21422
21423 2013-05-02  David S. Miller  <davem@davemloft.net>
21424
21425         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21426
21427 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
21428
21429         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21430
21431 2013-05-01  Roland McGrath  <roland@hack.frob.com>
21432
21433         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21434
21435 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
21436
21437         [BZ #14952]
21438         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21439         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21440         Use __attribute__ ((__gnu_inline__)).
21441         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21442         Don't use __attribute__ ((__gnu_inline__)).
21443
21444 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
21445
21446         [BZ #15423]
21447         * math/s_catan.c (__catan): Handle small real or imaginary part of
21448         input specially to avoid spurious underflow.
21449         * math/s_catanf.c (__catanf): Likewise.
21450         * math/s_catanh.c (__catanh): Likewise.
21451         * math/s_catanhf.c (__catanhf): Likewise.
21452         * math/s_catanhl.c (__catanhl): Likewise.
21453         * math/s_catanl.c (__catanl): Likewise.
21454         * math/libm-test.inc (catan_test): Add more tests.
21455         (catanh_test): Likewise.
21456         * sysdeps/i386/fpu/libm-test-ulps: Update.
21457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21458
21459 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21460
21461         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21462
21463 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
21464
21465         [BZ #15416]
21466         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21467         accurately for denominator in atan2.
21468         * math/s_catanf.c (__catanf): Likewise.
21469         * math/s_catanh.c (__catanh): Likewise.
21470         * math/s_catanhf.c (__catanhf): Likewise.
21471         * math/s_catanhl.c (__catanhl): Likewise.
21472         * math/s_catanl.c (__catanl): Likewise.
21473         * math/libm-test.inc (catan_test): Add more tests.
21474         (catanh_test): Likewise.
21475         * sysdeps/i386/fpu/libm-test-ulps: Update.
21476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21477
21478 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21479
21480         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21481
21482         * benchtests/Makefile (bench): Remove slow benchmarks.
21483         * benchtests/atan-inputs: Add slow benchmark inputs.
21484         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21485         (BENCH_FUNC): Accept variant offset.
21486         (VARIANT): Define.
21487         * benchtests/bench-skeleton.c (main): Run benchmark for each
21488         variant.
21489         * benchtests/cos-inputs: Add slow benchmark inputs.
21490         * benchtests/exp-inputs: Likewise.
21491         * benchtests/pow-inputs: Likewise.
21492         * benchtests/sin-inputs: Likewise.
21493         * benchtests/slowatan-inputs: Remove.
21494         * benchtests/slowatan.c: Remove.
21495         * benchtests/slowcos-inputs: Remove.
21496         * benchtests/slowcos.c: Remove.
21497         * benchtests/slowexp-inputs: Remove.
21498         * benchtests/slowexp.c: Remove.
21499         * benchtests/slowpow-inputs: Remove.
21500         * benchtests/slowpow.c: Remove.
21501         * benchtests/slowsin-inputs: Remove.
21502         * benchtests/slowsin.c: Remove.
21503         * benchtests/slowtan-inputs: Remove.
21504         * benchtests/slowtan.c: Remove.
21505         * benchtests/tan-inputs: Add slow benchmark inputs.
21506         * scripts/bench.pl: Parse comments and directives.
21507
21508         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
21509         in CPPFLAGS.
21510         ($(objpfx)bench-%.c): Remove *-ITER.
21511         * benchtests/bench-modf.c: Remove definition of ITER.
21512         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21513         (main): Loop for DURATION seconds instead of fixed number of
21514         iterations.
21515         * scripts/bench.pl: Don't expect iterations in parameters.
21516
21517 2013-04-29  Roland McGrath  <roland@hack.frob.com>
21518
21519         * io/fchdir.c (__fchdir): Renamed from fchdir.
21520         (fchdir): Define as weak alias.
21521
21522 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21523
21524         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21525         (ERRNO_EDOM): Likewise.
21526         (ERRNO_ERANGE): Likewise.
21527         (noErrnoTests): New variable.
21528         (init_max_error): Set errno to 0.
21529         (test_single_errno): New function.
21530         (test_errno): Likewise.
21531         (check_float_internal): Call test_errno.  Set errno to 0.
21532         (check_complex): Refer to errno tests in comment.
21533         (check_int): Call test_errno.  Set errno to 0.
21534         (check_long): Likewise.
21535         (check_bool): Likewise.
21536         (check_longlong): Likewise.
21537         (cos_test): Use ERRNO_* flags for errno tests instead of
21538         check_int.
21539         (expm1_test): Likewise.
21540         (fmod_test): Likewise.
21541         (ilogb_test): Likewise.
21542         (lgamma_test): Likewise.
21543         (pow_test): Likewise.
21544         (remainder_test): Likewise.
21545         (sin_test): Likewise.
21546         (tan_test): Likewise.
21547         (yn_test): Likewise.
21548         (initialize): Set errno to 0.
21549         (main): Print number of errno tests.
21550         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21551
21552 2013-04-29  Andreas Jaeger  <aj@suse.de>
21553
21554         [BZ #15084]
21555         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21556         and RES_USEVC.
21557
21558         [BZ #15085]
21559         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21560         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21561         unimplemented.
21562
21563         [BZ #15380]
21564         * stdlib/random.c (__initstate): Return NULL if
21565         __initstate fails.
21566
21567         [BZ #15086]
21568         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21569         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21570         RES_SNGLKUPREOP.
21571
21572 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21573
21574         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21575
21576 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21577
21578         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21579         of individual tests.
21580         (casin_test): Likewise.
21581         (casinh_test): Likewise.
21582
21583 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
21584
21585         [BZ #15409]
21586         * math/s_catan.c (__catan): Handle arguments with large real or
21587         imaginary part separately without squaring.
21588         * math/s_catanf.c (__catanf): Likewise.
21589         * math/s_catanh.c (__catanh): Likewise.
21590         * math/s_catanhf.c (__catanhf): Likewise.
21591         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21592         and redefine.
21593         (__catanhl): Handle arguments with large real or imaginary part
21594         separately without squaring.
21595         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21596         and redefine.
21597         (__catanl): Handle arguments with large real or imaginary part
21598         separately without squaring.
21599         * math/libm-test.inc (catan_test): Add more tests.
21600         (catanh_test): Likewise.
21601         * sysdeps/i386/fpu/libm-test-ulps: Update.
21602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21603
21604 2013-04-27  Andreas Jaeger  <aj@suse.de>
21605
21606         [BZ #15007]
21607         * stdlib/stdlib.h: Update guards for qecvt.
21608         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21609         <stdlib.h>.
21610
21611 2013-04-27  Allan McRae  <allan@archlinux.org>
21612
21613         * sysdeps/i386/fpu/libm-test-ulps: Update.
21614
21615 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
21616
21617         [BZ #15406]
21618         * math/s_catan.c: Include <float.h>.
21619         (__catan): Ensure underflow exception occurs for underflowed
21620         result.
21621         * math/s_catanf.c: Include <float.h>.
21622         (__catanf): Ensure underflow exception occurs for underflowed
21623         result.
21624         * math/s_catanh.c: Include <float.h>.
21625         (__catanh): Ensure underflow exception occurs for underflowed
21626         result.
21627         * math/s_catanhf.c: Include <float.h>.
21628         (__catanhf): Ensure underflow exception occurs for underflowed
21629         result.
21630         * math/s_catanhl.c: Include <float.h>.
21631         (__catanhl): Ensure underflow exception occurs for underflowed
21632         result.
21633         * math/s_catanl.c: Include <float.h>.
21634         (__catanl): Ensure underflow exception occurs for underflowed
21635         result.
21636         * math/libm-test.inc (catan_test): Add more tests.
21637         (catanh_test): Likewise.
21638
21639         [BZ #15405]
21640         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21641         underflowed result.
21642         * math/s_ccoshf.c (__ccoshf): Likewise.
21643         * math/s_ccoshl.c (__ccoshl): Likewise.
21644         * math/s_csin.c (__csin): Likewise.
21645         * math/s_csinf.c (__csinf): Likewise.
21646         * math/s_csinh.c (__csinh): Likewise.
21647         * math/s_csinhf.c (__csinhf): Likewise.
21648         * math/s_csinhl.c (__csinhl): Likewise.
21649         * math/s_csinl.c (__csinl): Likewise.
21650         * math/libm-test.inc (ccos_test): Add more tests.
21651         (ccosh_test): Likewise.
21652         (csin_test): Likewise.
21653         (csinh_test): Likewise.
21654
21655 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21656
21657         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21658         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21659         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21660         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21661         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21662         powerpc/power5+/fpu folders.
21663         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21664
21665
21666 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
21667
21668         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21669
21670 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
21671
21672         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21673         additions to variable.
21674         [$(config-machine) = x86_64] (modules-names): Likewise.
21675         ($(objpfx)tst-audit3): Remove dependency.
21676         ($(objpfx)tst-audit3.out): Likewise.
21677         ($(objpfx)tst-audit4): Likewise.
21678         ($(objpfx)tst-audit4.out): Likewise.
21679         ($(objpfx)tst-audit5): Likewise.
21680         ($(objpfx)tst-audit5.out): Likewise.
21681         ($(objpfx)tst-audit6): Likewise.
21682         ($(objpfx)tst-audit6.out): Likewise.
21683         ($(objpfx)tst-audit7): Likewise.
21684         ($(objpfx)tst-audit7.out): Likewise.
21685         (tst-audit3-ENV): Remove variable.
21686         (tst-audit4-ENV): Likewise.
21687         (tst-audit5-ENV): Likewise.
21688         (tst-audit6-ENV): Likewise.
21689         (tst-audit7-ENV): Likewise.
21690         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21691         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21692         addition to variable.
21693         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21694         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21695         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21696         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21697         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21698         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21699         tst-audit3, tst-audit4 and tst-audit5.
21700         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21701         tst-audit6 and tst-audit7.
21702         [$(subdir) = elf] (modules-names): Add audit modules for those
21703         tests.
21704         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21705         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21706         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21707         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21708         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21709         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21710         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21711         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21712         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21713         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21714         [$(subdir) = elf] (tst-audit3-ENV): New variable.
21715         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21716         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21717         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21718         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21719         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21720         Likewise.
21721         [$(subdir) = elf && $(config-cflags-avx) = yes]
21722         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21723         [$(subdir) = elf && $(config-cflags-avx) = yes]
21724         (CFLAGS-tst-auditmod4a.c): Likewise.
21725         [$(subdir) = elf && $(config-cflags-avx) = yes]
21726         (CFLAGS-tst-auditmod4b.c): Likewise.
21727         [$(subdir) = elf && $(config-cflags-avx) = yes]
21728         (CFLAGS-tst-auditmod6b.c): Likewise.
21729         [$(subdir) = elf && $(config-cflags-avx) = yes]
21730         (CFLAGS-tst-auditmod6c.c): Likewise.
21731         [$(subdir) = elf && $(config-cflags-avx) = yes]
21732         (CFLAGS-tst-auditmod7b.c): Likewise.
21733         * elf/tst-audit3.c: Move to ...
21734         * sysdeps/x86_64/tst-audit3.c: ... here.
21735         * elf/tst-audit4.c: Move to ...
21736         * sysdeps/x86_64/tst-audit4.c: ... here.
21737         * elf/tst-audit5.c: Move to ...
21738         * sysdeps/x86_64/tst-audit5.c: ... here.
21739         * elf/tst-audit6.c: Move to ...
21740         * sysdeps/x86_64/tst-audit6.c: ... here.
21741         * elf/tst-audit7.c: Move to ...
21742         * sysdeps/x86_64/tst-audit7.c: ... here.
21743         * elf/tst-auditmod3a.c: Move to ...
21744         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21745         * elf/tst-auditmod3b.c: Move to ...
21746         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21747         * elf/tst-auditmod4a.c: Move to ...
21748         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21749         * elf/tst-auditmod4b.c: Move to ...
21750         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21751         * elf/tst-auditmod5a.c: Move to ...
21752         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21753         * elf/tst-auditmod5b.c: Move to ...
21754         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21755         * elf/tst-auditmod6a.c: Move to ...
21756         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21757         * elf/tst-auditmod6b.c: Move to ...
21758         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21759         * elf/tst-auditmod6c.c: Move to ...
21760         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21761         * elf/tst-auditmod7a.c: Move to ...
21762         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21763         * elf/tst-auditmod7b.c: Move to ...
21764         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21765
21766 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
21767
21768         [BZ #15366]
21769         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21770         define unconditionally.
21771         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21772         define unconditionally.
21773         (INT8_C, INT16_C, etc.): Likewise.
21774
21775 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
21776
21777         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21778         __ehdr_start with hidden visibility.
21779
21780         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21781
21782 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
21783
21784         * math/libm-test.inc (cos_test): Use accurate hex constants.
21785         (sincost_test): Likewise.
21786
21787 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
21788
21789         * math/libm-test.inc (catan_test): Add more tests.
21790         (catanh_test): Likewise.
21791
21792         * math/s_catanf.c (__catanf): Use suffixed floating-point
21793         constants.
21794         * math/s_catanhf.c (__catanhf): Likewise.
21795         * math/s_catanhl.c (__catanhl): Likewise.
21796         * math/s_catanl.c (__catanl): Likewise.
21797
21798         [BZ #15394]
21799         * math/s_catan.c (__catan): Calculate imaginary part of result
21800         with log1p not log unless computing log of number close to 0.
21801         * math/s_catanf.c (__catanf): Likewise.
21802         * math/s_catanl.c (__catanl): Likewise.
21803         * math/s_catanh.c (__catanh): Calculate real part of result with
21804         log1p not log unless computing log of number close to 0.
21805         * math/s_catanhf.c (__catanhf): Likewise.
21806         * math/s_catanhl.c (__catanhl): Likewise.
21807         * math/libm-test.inc (catan_test): Add more tests.
21808         (catanh_test): Likewise.
21809         * sysdeps/i386/fpu/libm-test-ulps: Update.
21810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21811
21812 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21813
21814         * benchtests/Makefile: Mention files in which fast and slow
21815         paths of math functions are implemented.
21816
21817 2013-04-23  Roland McGrath  <roland@hack.frob.com>
21818
21819         * sysdeps/posix/timespec_get.c: New file.
21820
21821 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21822
21823         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21824         POWER.
21825         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21826         for POWER.
21827         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21828         powerpc/power5/fpu folders.
21829         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21830         * benchtests/Makefile: Add modf testcase.
21831         * benchtests/bench-modf.c: New file: Benchmark test for mo
21832
21833 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21834
21835         [BZ #14888]
21836         * time/Makefile (tests): Add tst-strptime-whitespace.
21837         * time/strptime_l.c (get_number): Use ISSPACE.
21838         (__strptime_internal): Likewise.
21839         * time/tst-strptime-whitespace.c: New test case.
21840
21841 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
21842
21843         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21844         member.
21845         (_nss_files_init): Set it here.
21846
21847 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
21848
21849         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21850         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21851         unsigned.
21852
21853 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
21854
21855         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21856
21857 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21858
21859         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21860         size just once.
21861
21862 2013-04-21  David S. Miller  <davem@davemloft.net>
21863
21864         * po/ru.po: Update Russion translation from translation project.
21865
21866 2013-04-17  Adam Conrad  <adconrad@0c3.net>
21867
21868         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21869         and setfsgid.
21870
21871 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
21872
21873         * configure.in: Remove i386 configure warning. Remove i386 case.
21874         * configure: Regenerate.
21875         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21876         Add example to error message.
21877         * sysdeps/i386/configure: Regenerate.
21878
21879 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21880
21881         * benchtests/Makefile (bench): Add cos, tan, slowcos and
21882         slowtan.
21883         * benchtests/cos-inputs: New file.
21884         * benchtests/slowcos-inputs: New file.
21885         * benchtests/slowcos.c: New file.
21886         * benchtests/slowtan-inputs: New file.
21887         * benchtests/slowtan.c: New file.
21888         * benchtests/tan-inputs: New file.
21889
21890 2013-04-16  Roland McGrath  <roland@hack.frob.com>
21891
21892         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21893         considered kosher.
21894
21895 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21896
21897         * benchtests/Makefile: Include cppflags-iterator.mk to add
21898         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21899
21900         * Makefile.in (bench-clean): New target.
21901         * benchtests/Makefile (bench-clean): Likewise.
21902
21903 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
21904
21905         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21906
21907 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
21908
21909         * stdio-common/tstdiomisc.c: Fix coding-style violation.
21910
21911 2013-04-15  Andreas Schwab  <schwab@suse.de>
21912
21913         * nscd/grpcache.c (cache_addgr): Properly check for short write.
21914         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21915         * nscd/pwdcache.c (cache_addpw): Likewise.
21916         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
21917         more than recsize.
21918
21919 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21920
21921         * benchtests/Makefile (bench): Write all output to
21922         bench-out.tmp together.
21923
21924 2013-04-15  Andreas Schwab  <schwab@suse.de>
21925
21926         * nscd/nscd.c (main): Don't fork again after closing files.
21927
21928 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21929
21930         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21931
21932         * benchtests/Rules (bench-deps): Collect dependencies into a
21933         single variable.  Add Makefile to dependencies.
21934         ($(objpfx)bench-%.c): Depend on bench-deps.
21935
21936 2013-04-12  Roland McGrath  <roland@hack.frob.com>
21937             Xavier Roche  <roche+kml2@exalead.com>
21938
21939         [BZ #15361]
21940         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21941         just that it's a file descriptor.
21942         * manual/llio.texi (Synchronizing AIO Operations): Update description
21943         for EBADF error from aio_fsync.
21944
21945 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21946
21947         * Rules (bench): Move target definition...
21948         * benchtests/Makefile: ... here.
21949
21950 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
21951
21952         * math/libm-test.inc (cos_test): Fix PI/2 test.
21953         (sincos_test): Likewise.
21954         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21955         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21956
21957 2013-04-11  Andreas Schwab  <schwab@suse.de>
21958
21959         [BZ #13988]
21960         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21961         accept exponent character only when digits were seen.
21962         * stdio-common/Makefile (tests): Add bug26.
21963         * stdio-common/bug26.c: New file.
21964
21965         [BZ #14293]
21966         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21967         non-freeable.
21968
21969 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21970
21971         * Makeconfig (rtld-prefix): Define built linker prefix.
21972         * Rules (run-bench): Use it.
21973         * math/Makefile (run-regen-ulps): Likewise.
21974
21975         * Rules (bench): Remove eval.
21976
21977 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21978             Roland McGrath  <roland@hack.frob.com>
21979             Ondrej Bilka  <neleai@seznam.cz>
21980
21981         [BZ #15346]
21982         * time/getdate.c: Include ctype.h and alloca.h.
21983         (__getdate_r): Trim leading and trailing spaces of input.
21984         * time/tst-getdate.c (tests): Add tests with leading and
21985         trailing spaces.
21986
21987 2013-04-08  Roland McGrath  <roland@hack.frob.com>
21988
21989         [BZ #14280]
21990         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21991         when computing value.
21992
21993 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21994
21995         * math/README.libm-test (How can I generate "libm-test-ulps"?):
21996         Use testrun.sh to run libm tests.
21997
21998         [BZ #15309]
21999         * elf/dl-open.c (dl_open_worker): memset all of seen array.
22000
22001 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
22002
22003         [BZ #15264]
22004         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22005
22006 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22007
22008         * Makefile.in (regen-ulps): New target.
22009         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22010         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22011         [ifneq (no,$(PERL)] (regen-ulps): New target.
22012         [ifeq (no,$(PERL)] (regen-ulps): New target.
22013         * math/libm-test.inc (ulps_file_name): Define.
22014         (output_dir): New variable.
22015         (options): Add "output-dir" option.
22016         (parse_opt): Handle 'o' case.
22017         (main): If output_dir is non-NULL use it as a prefix
22018         otherwise use "".
22019         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22020
22021 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22022
22023         [BZ #10060, #10062]
22024         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22025         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22026         fail configure if __sync_val_compare_and_swap is not inlined.
22027         * sysdeps/i386/configure: Regenerate.
22028         * configure.in: Build for i686 when configured for i386.
22029         * configure: Regenerate.
22030         * README: Remove i386 reference.
22031
22032 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22033
22034         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22035         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22036
22037 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
22038
22039         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22040         (lmsnanval): New variables.
22041         (F): Add conversion tests.
22042         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22043         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22044
22045         * stdio-common/tstdiomisc.c (F): Properly collect individual
22046         tests' results.
22047
22048         [BZ #14686, #15336]
22049         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22050         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22051         Instead, use input NaN values or generate a qNaN by arithmetic
22052         operation.  Also fix bugs to comply with the standard.
22053         * math/libm-test.inc (remainder_test): Add more tests.
22054
22055         [BZ #15335, #15342]
22056         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22057         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22058         input NaN values or generate a qNaN by arithmetic operation.
22059
22060         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22061         unreachable code.
22062
22063         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22064         definitions.
22065
22066 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
22067
22068         [BZ #14478]
22069         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22070         underflowed result.
22071         * math/s_cexpf.c (__cexpf): Likewise.
22072         * math/s_cexpl.c (__cexpl): Likewise.
22073         * math/libm-test.inc (cexp_test): Add more tests.
22074
22075 2013-04-03  Andreas Schwab  <schwab@suse.de>
22076
22077         [BZ #15330]
22078         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22079         order arrays from heap if bigger than alloca cutoff.
22080
22081 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
22082
22083         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22084         (SNAN_TESTS_double): Refer to GCC PR56831.
22085         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22086         GCC PR56828.
22087
22088 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22089
22090         * Rules (bench): Move bench.out after the run is complete.
22091
22092         * Rules (bench): Echo currently running benchmark.
22093
22094         * benchtests/Makefile (bench): Add atan and slowatan.
22095         * benchtests/atan-inputs: New file.
22096         * benchtests/slowatan-inputs: New file.
22097         * benchtests/slowatan.c: New file.
22098
22099         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22100         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22101         its value.
22102
22103         [BZ #15305]
22104         * sysdeps/unix/sysv/linux/kernel-features.h
22105         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22106         __ASSUME_XFS_RESTRICTED_CHOWN.
22107         * sysdeps/unix/sysv/linux/pathconf.c
22108         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22109         Save and restore errno.
22110
22111 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
22112
22113         [BZ #15327]
22114         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22115         arguments using __kernel_casinh.
22116         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22117         arguments using __kernel_casinhf.
22118         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22119         arguments using __kernel_casinhl.
22120         * math/libm-test.inc (cacosh_test): Add more tests.
22121         * sysdeps/i386/fpu/libm-test-ulps: Update.
22122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22123
22124 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22125
22126         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22127         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22128
22129         * bench/Makefile (bench): Add sin and slowsin.
22130         * benchtests/sin-inputs: New file.
22131         * benchtests/slowsin-inputs: New file.
22132         * benchtests/slowsin.c: New file.
22133
22134         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22135         (bench): Add slowexp and slowpow.
22136         (exp-ITER): Increase iterations.
22137         (pow-ITER): Likewise.
22138         * benchtests/exp-inputs: Change input.
22139         * benchtests/pow-inputs: Likewise.
22140         * benchtests/slowexp-inputs: New file.
22141         * benchtests/slowexp.c: New file.
22142         * benchtests/slowpow-inputs: New file.
22143         * benchtests/slowpow.c: New file.
22144
22145 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22146
22147         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22148         instructions.
22149         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22150         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22151         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22152         * benchtests/Makefile: Add rint benchtest.
22153         * benchtests/rint-inputs: Input for rint benchtest.
22154
22155 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
22156
22157         * Versions.def (libm): Add GLIBC_2.18.
22158         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22159         hidden libm prototypes.
22160         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22161         * math/Makefile (libm-calls): Add s_issignaling.
22162         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22163         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
22164         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22165         declaration.
22166         * math/math.h [__USE_GNU] (issignaling): New macro.
22167         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22168         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22169         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22170         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22171         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22172         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22173         * manual/arith.texi (issignaling): New section.
22174         * manual/libm-err-tab.pl (@all_functions): Update comment.
22175         * math/gen-libm-test.pl (parse_args): Apply special handling for
22176         issignaling.
22177         * math/libm-test.inc (print_float, issignaling_test): New
22178         functions.
22179         (check_float_internal): Add issignaling checks.
22180         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22181         default definition.
22182         * sysdeps/powerpc/math-tests.h: New file.
22183         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22184         tests.
22185         * math/test-snan.c (TEST_FUNC): Likewise.
22186
22187 2013-03-30  David S. Miller  <davem@davemloft.net>
22188
22189         * po/de.po: Update from translation team.
22190
22191 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
22192
22193         [BZ #10357]
22194         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22195         imaginary part less than 1.0 and real part less than 0.5
22196         specially.
22197         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22198         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22199         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22200         (cacos_test): Add more tests.
22201         (casin_test): Likewise.
22202         (casinh_test): Likewise.
22203         * sysdeps/i386/fpu/libm-test-ulps: Update.
22204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22205
22206 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22207
22208         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22209         ONE with its value.
22210
22211         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22212         (__pow_mp): Replace ONE and MONE with their values.
22213         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22214         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22215         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22216         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22217         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22218         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22219
22220         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22221
22222         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22223         (__pow_mp): Replace ZERO and MZERO with their values.
22224         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22225         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22226         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22227         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22228         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22229         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22230         (__sqr): Likewise.
22231
22232         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22233
22234         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22235
22236 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22237
22238         * include/stdlib.h [!SHARED] (__call_tls_dtors):
22239         Declare with __attribute__ ((weak)).
22240         * stdlib/exit.c (__libc_atexit) [!SHARED]:
22241         Call __call_tls_dtors only if it's not NULL.
22242
22243 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22244
22245         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22246         didn't do it already, then set _dl_phdr and _dl_phnum based on the
22247         magic __ehdr_start linker symbol if it's defined.
22248         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22249         them up here if it was already done.
22250
22251         * elf/dl-support.c (_dl_phdr): Make pointer to const.
22252         (_dl_aux_init): Use const in cast when setting it.
22253         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22254         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22255         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22256
22257         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22258         Declare them here.
22259         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22260         * csu/libc-tls.c: Nor here.
22261         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22262
22263         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22264         (__libc_message): Never call vsyslog.
22265
22266 2013-03-28  Alan Modra  <amodra@gmail.com>
22267
22268         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22269         Define as empty.
22270         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22271         Likewise.
22272
22273 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22274
22275         [BZ #15214]
22276         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22277         underflow.
22278         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22279
22280 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22281
22282         [BZ #15304]
22283         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22284         Don't add gid passed as argument.
22285
22286         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22287
22288 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
22289
22290         [BZ #15307]
22291         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22292         imaginary part between 1.0 and 1.5 and real part less than 0.5
22293         specially.
22294         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22295         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22296         * math/libm-test.inc (cacos_test): Add more tests.
22297         (casin_test): Likewise.
22298         (casinh_test): Likewise.
22299         * sysdeps/i386/fpu/libm-test-ulps: Update.
22300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22301
22302 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22303
22304         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22305         constants.
22306         (norm): Likewise.
22307         (denorm): Likewise.
22308         (__dbl_mp): Likewise.
22309         (add_magnitudes): Likewise.
22310         (sub_magnitudes): Likewise.
22311         (__add): Likewise.
22312         (__sub): Likewise.
22313         (__mul): Likewise.
22314         (__sqr): Likewise.
22315         (__inv): Likewise.
22316         (__dvd): Likewise.
22317
22318         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22319         commented code.
22320         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22321         (__dubcos): Likewise.
22322         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22323         (__ieee754_acos): Likewise.
22324         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22325         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22326         (__exp1): Likewise.
22327         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22328         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22329         (log1): Likewise.
22330         (my_log2): Likewise.
22331         (checkint): Likewise.
22332         * sysdeps/ieee754/dbl-64/e_remainder.c
22333         (__ieee754_remainder): Likewise.
22334         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22335         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22336         (bsloww): Likewise.
22337         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22338
22339         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22340         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22341         MANTISSA_STORE_T to store computations on mantissa.  Use
22342         macros for rounding and division.
22343         (denorm): Likewise.
22344         (__dbl_mp): Likewise.
22345         (add_magnitudes): Likewise.
22346         (sub_magnitudes): Likewise.
22347         (__mul): Likewise.
22348         (__sqr): Likewise.
22349         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22350         powers of two in terms of TWOPOW macro.
22351         (mp_no): Make type of mantissa as MANTISSA_T.
22352         [!RADIXI]: Define RADIXI.
22353         [!TWO52]: Define TWO52.
22354         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22355
22356 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22357
22358         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22359         llroundl symbol when building for PPC32.
22360
22361 2013-03-24  Mark H Weaver  <mhw@netris.org>
22362
22363         * manual/arith.texi (Normalization Functions): Fix prototypes for
22364         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22365
22366 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22367
22368         [BZ #13889]
22369         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22370         high value to check if expl overflow.
22371         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22372         to check for underflow and overflow.
22373         * math/libm-test.inc: Add exp test.
22374
22375 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
22376
22377         [BZ #11120]
22378         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22379         with NOT_IN_libc.
22380
22381 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22382
22383         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22384         symbol.
22385
22386 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
22387
22388         * math/gen-libm-test.pl (parse_args, special_functions): Properly
22389         wrap blocks consisting of several statements.
22390
22391         * sysdeps/generic/math-tests.h: New file.
22392         * sysdeps/i386/fpu/math-tests.h: Likewise.
22393         * math/test-snan.c: Include it.
22394         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22395
22396 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22397
22398         [BZ #15285]
22399         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22400         (__ieee754_j0l): Do not improve calculations using cos of twice
22401         input for inputs above LDBL_MAX / 2.0L.
22402         (__ieee754_y0l): Likewise.
22403         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22404         (__ieee754_j1l): Do not improve calculations using cos of twice
22405         input for inputs above LDBL_MAX / 2.0L.
22406         (__ieee754_y1l): Likewise.
22407         * math/libm-test.inc (j0_test): Add another test.
22408         (j1_test): Likewise.
22409         (y0_test): Likewise.
22410         (y1_test): Likewise.
22411         * sysdeps/i386/fpu/libm-test-ulps: Update.
22412
22413 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22414
22415         * Rules ($(objpfx)bench-%.c): Include code from a C source
22416         file.
22417
22418 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22419
22420         [BZ #15287]
22421         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22422         imaginary part 1.0 and real part less than 0.5 specially.
22423         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22424         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22425         * math/libm-test.inc (cacos_test): Add more tests.
22426         (casin_test): Likewise.
22427         (casinh_test): Likewise.
22428         * sysdeps/i386/fpu/libm-test-ulps: Update.
22429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22430
22431 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22432
22433         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22434         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22435
22436 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
22437
22438         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22439         * config.make.in (config-cflags-sse4): Remove variable.
22440         (config-cflags-avx): Likewise.
22441         (config-cflags-sse2avx): Likewise.
22442         (config-cflags-novzeroupper): Likewise.
22443         (config-asflags-i686): Likewise.
22444         (have-mfma4): Likewise.
22445         (have-as-vis3): Likewise.
22446         (MIG): Likewise.
22447         * configure.in (MIG): Do not AC_SUBST.
22448         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22449         (libc_cv_cc_sse4): Do not AC_SUBST.
22450         (libc_cv_cc_avx): Likewise.
22451         (libc_cv_cc_sse2avx): Likewise.
22452         (libc_cv_cc_novzeroupper): Likewise.
22453         (libc_cv_cc_fma4): Likewise.
22454         (libc_cv_as_i686): Likewise.
22455         (libc_cv_sparc_as_vis3): Likewise.
22456         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22457         LIBC_CONFIG_VAR.
22458         (config-asflags-i686): Likewise.
22459         (config-cflags-avx): Likewise.
22460         (config-cflags-sse2avx): Likewise.
22461         (have-mfma4): Likewise.
22462         (config-cflags-novzeroupper): Likewise.
22463         * sysdeps/mach/configure.in (MIG): Likewise.
22464         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22465         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22466         LIBC_CONFIG_VAR.
22467         (config-cflags-avx): Likewise.
22468         (config-cflags-sse2avx): Likewise.
22469         (have-mfma4): Likewise.
22470         (config-cflags-novzeroupper): Likewise.
22471         * configure: Regenerated.
22472         * sysdeps/i386/configure: Likewise.
22473         * sysdeps/mach/configure: Likewise.
22474         * sysdeps/sparc/configure: Likewise.
22475         * sysdeps/x86_64/configure: Likewise.
22476
22477 2013-03-20  Roland McGrath  <roland@hack.frob.com>
22478
22479         [BZ #14812]
22480         * locale/programs/localedef.c (options): Put N_ translation marker
22481         on argument names, not just descriptions.
22482
22483 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22484
22485         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22486
22487 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
22488
22489         [BZ #14176]
22490         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22491
22492 2013-03-19  Roland McGrath  <roland@hack.frob.com>
22493
22494         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22495         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22496         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22497         [!BEFORE_ABORT] (before_abort): New function.
22498         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22499         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22500         (writev_for_fatal): New function.
22501         (WRITEV_FOR_FATAL): New macro; call that.
22502         (backtrace_and_maps): New function.
22503         (BEFORE_ABORT): New macro; call that.
22504         (struct str_list): Type removed.
22505         (__libc_message, __libc_fatal): Functions removed.
22506         Include <sysdeps/posix/libc_fatal.c> instead.
22507
22508 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
22509
22510         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22511         constants.
22512         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22513         double constants.
22514
22515 2013-03-19  Andreas Schwab  <schwab@suse.de>
22516
22517         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22518         * sysdeps/gnu/configure: Regenerate.
22519
22520         * configure.in: Substitute libc_cv_rtlddir.
22521         * configure: Regenerate.
22522         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22523         * Makeconfig (rtlddir, inst_rtlddir): New variables.
22524         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22525         * elf/Makefile (install-others, CFLAGS-interp.c)
22526         (ldso_install, common-ldd-rewrite): Likewise.
22527         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22528         $(inst_slibdir)/$(rtld-installed-name).
22529         * scripts/rellns-sh: Add -p option.
22530         * Makerules (make-shlib-link): Use rellns-sh to get relative name
22531         for source.
22532
22533 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22534
22535         * manual/nptl.texi: Renamed to ...
22536         * manual/threads.texi: ... this.
22537         * manual/Makefile (chapters): Update.
22538
22539 2013-03-18  Roland McGrath  <roland@hack.frob.com>
22540
22541         [BZ #14812]
22542         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22543         on argument names, not just descriptions.
22544         * malloc/memusagestat.c (options): Likewise.
22545         * nss/getent.c (options): Likewise.
22546
22547 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
22548
22549         [BZ #14812]
22550         * iconv/iconv_prog.c (options): Put N_ translation marker
22551         on argument names, not just descriptions.
22552         * iconv/iconvconfig.c (options): Likewise.
22553
22554 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
22555
22556         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22557         implementation which is faster on all x86_64 architectures.
22558         Tested on AMD, Intel Nehalem, SNB, IVB.
22559         * sysdeps/x86_64/strnlen.S: Likewise.
22560
22561         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22562         Remove all multiarch strlen and strnlen versions.
22563         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22564         Remove strlen and strnlen related parts.
22565
22566         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22567         Inline strlen part.
22568         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22569
22570         * sysdeps/x86_64/multiarch/strlen.S: Remove.
22571         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22572         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22573         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22574         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22575         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22576
22577 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
22578
22579         * manual/memory.texi (Malloc Tunable Parameters):
22580         Sort parameters alphabetically. Add comments for missing entries.
22581
22582 2013-03-17  David S. Miller  <davem@davemloft.net>
22583
22584         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22585
22586 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
22587
22588         [BZ #15283]
22589         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22590         for arguments at most half maximum finite value.
22591         * math/libm-test.inc (j0_test): Add more tests.
22592         (j1_test): Likewise.
22593         (y0_test): Likewise.
22594         (y1_test): Likewise.
22595         * sysdeps/i386/fpu/libm-test-ulps: Update.
22596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22597
22598         [BZ #14155]
22599         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22600         1 / x and functions P and Q for arguments above 0x1p256L.
22601         (__ieee754_y0l): Likewise.
22602         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22603         (__ieee754_y1l): Likewise.
22604         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22605         (j1_test): Likewise.
22606         (y0_test): Likewise.
22607         (y1_test): Likewise.
22608
22609 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
22610
22611         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22612         variable.
22613
22614 2013-03-15  Roland McGrath  <roland@hack.frob.com>
22615
22616         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22617         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22618         zero since it's initialized to EXEC_PAGESIZE.
22619
22620         * sysdeps/unix/sysv/linux/ldsodefs.h
22621         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22622         * sysdeps/generic/ldsodefs.h: ... here.
22623
22624 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
22625
22626         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22627
22628         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22629         math/test-snan.c.
22630         * math/test-snan.c: Renamed from
22631         sysdeps/powerpc/fpu/test-powerpc-snan.c.
22632         * math/Makefile (tests): Add test-snan.
22633         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22634         test-powerpc-snan.
22635
22636         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22637         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
22638         functions.
22639         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
22640         __builtin_nan family of functions.
22641         * math/libm-test.inc (initialize): Initialize qnan_value with
22642         __builtin_nan family of functions.
22643         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22644         Remove variables.
22645         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22646         Remove functions.
22647         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
22648         storage class.  Initialize qNaN_var and sNaN_var with
22649         __builtin_nan and __builtin_nans families of functions,
22650         respectively.
22651
22652         * math/libm-test.inc (acosh_test): Also test with qNaN input.
22653         (sqrt_test): Remove duplicate test with qNaN input.
22654         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22655         (round_test, signbit_test, significand_test): Note missing +/-Inf
22656         as well as qNaN tests.
22657
22658         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22659         qNaN_var.  Fix a few strings, too.
22660         * math/libm-test.inc (nan_value): Rename to qnan_value.
22661         * math/gen-libm-test.pl (%beautify): Adjust to that.
22662         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22663         * math/test-misc.c (main): Likewise.
22664         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22665         to __qnan_bytes, and __qnan_union, respectively.
22666         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22667         Likewise.
22668         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22669         and lqnanval, respectively.
22670         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22671         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22672         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22673         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22674
22675         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22676         * math/test-misc.c (main) [__x86_64__]: Enable test for long
22677         doubles.
22678
22679         * math/test-misc.c (main): Fix copy'n'pastos.
22680         * misc/tst-efgcvt.c (special): Likewise.
22681
22682         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22683         Remove declarations.
22684
22685 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22686
22687         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22688         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22689         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22690         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22691
22692 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22693
22694         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22695         macro to return vdso values correctly in IFUNC implementations.
22696         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22697         Optimization by using IFUNC.
22698
22699 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22700             Richard Henderson  <rth@redhat.com>
22701             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22702
22703         * Makefile.in (bench): New target.
22704         * NEWS: Mention the benchmark framework.
22705         * Rules (bench): Likewise.
22706         (binaries-bench): Generate binaries for functions to
22707         benchmark.
22708         * benchtests/Makefile: New makefile for benchmark tests.
22709         * benchtests/bench-skeleton.c: New skeleton file for benchmark
22710         programs.
22711         * benchtests/exp-inputs: New input file for EXP function.
22712         * benchtests/pow-inputs: New input file for POW function.
22713         * scripts/bench.pl: New script to generate source files for
22714         benchmark programs.
22715
22716 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22717
22718         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22719         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22720         computations on mantissa.  Use macros for rounding and
22721         division.
22722         (denorm): Likewise.
22723         (__dbl_mp): Likewise.
22724         (add_magnitudes): Likewise.
22725         (sub_magnitudes): Likewise.
22726         (__mul): Likewise.
22727         (__sqr): Likewise.
22728         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22729         powers of two in terms of TWOPOW macro.
22730         (mp_no): Make type of mantissa as MANTISSA_T.
22731         [!RADIXI]: Define RADIXI.
22732         [!TWO52]: Define TWO52.
22733         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22734
22735         * manual/nptl.texi (cindex): Modify threads to pthreads.
22736
22737 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
22738
22739         * sysdeps/x86_64/preconfigure: Regenerated.
22740
22741 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
22742
22743         [BZ #14155]
22744         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22745         0x1p28 and above.
22746         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22747         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22748         0x1p28 and above.
22749         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22750         * math/libm-test.inc (j0_test): Do not allow one spurious
22751         underflow exception.
22752         (y1_test): Likewise.
22753
22754 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22755
22756         * manual/Makefile (chapters): Add nptl.
22757         * manual/debug.texi (Debugging Support): Add link to Threads
22758         chapter.
22759         * manual/nptl.texi: New file.
22760
22761         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22762
22763 2013-03-14  Petr Baudis  <pasky@ucw.cz>
22764
22765         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22766         for non-NULL pointer before the memory validity test. Pointed
22767         out by Holger Brunck <holger.brunck@keymile.com>.
22768
22769 2013-03-13  Andreas Schwab  <schwab@suse.de>
22770
22771         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22772         instead of .os.
22773
22774 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
22775
22776         * timezone/zic.c: Update from tzcode 2013b.
22777
22778 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
22779
22780         * manual/install.texi (Configuring and compiling):
22781         Mention i686 and i586.
22782         * INSTALL: Regenerate.
22783
22784 2013-03-12  Roland McGrath  <roland@hack.frob.com>
22785
22786         * sysdeps/init_array/elf-init.c: New file.
22787         * csu/elf-init.c
22788         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22789         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22790
22791         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22792         __gmon_start__ as global, but as static with a .preinit_array pointer.
22793         * sysdeps/init_array/gmon-start.c: New file.  Use that.
22794         * sysdeps/init_array/crti.S: New file, empty except for comments.
22795         * sysdeps/init_array/crtn.S: Likewise.
22796
22797 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
22798
22799         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22800         definining bcopy.
22801         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22802         Remove Prefer_SSE_for_memop.
22803         * sysdeps/x86_64/multiarch/init-arch.h: Remove
22804         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22805         HAS_PREFER_SSE_FOR_MEMOP.
22806         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22807         memset-x86-64.
22808         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22809         Remove bzero, memset ifunc support.
22810         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22811         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22812         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22813         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22814
22815 2013-03-11  Andreas Schwab  <schwab@suse.de>
22816
22817         [BZ #15234]
22818         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22819         by SHLIB_COMPAT.
22820         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22821         (GLIBC_2.16): Remove pthread_atfork.
22822
22823 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22824
22825         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22826         (ptestcases.h): Likewise.
22827
22828 2013-03-08  Roland McGrath  <roland@hack.frob.com>
22829
22830         * Makeconfig ($(common-objpfx)config.status): Depend on
22831         sysdeps/*/preconfigure{,.in} too.
22832
22833 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
22834
22835         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22836         (__free_hook): Use void * instead of __malloc_ptr_t.
22837         (__malloc_hook): Likewise.
22838         (__realloc_hook): Likewise.
22839         (__memalign_hook): Likewise.
22840         (__after_morecore_hook): Likewise.
22841         * malloc/arena.c (save_malloc_hook): Likewise.
22842         (save_free_hook): Likewise.
22843         * malloc/hooks.c (malloc_hook_ini): Likewise.
22844         (realloc_hook_ini): Likewise.
22845         (memalign_hook_ini): Likewise.
22846         * malloc/malloc.c (malloc_hook_ini): Likewise.
22847         (realloc_hook_ini): Likewise.
22848         (memalign_hook_ini): Likewise.
22849         (__free_hook): Likewise.
22850         (__malloc_hook): Likewise.
22851         (__realloc_hook): Likewise.
22852         (__memalign_hook): Likewise.
22853         (__libc_malloc): Likewise.
22854         (__libc_free): Likewise.
22855         (__libc_realloc): Likewise.
22856         (__libc_memalign): Likewise.
22857         (__libc_valloc): Likewise.
22858         (__libc_pvalloc): Likewise.
22859         (__libc_calloc): Likewise.
22860         (__posix_memalign): Likewise.
22861         * malloc/morecore.c (__sbrk): Likewise.
22862         (__default_morecore): Likewise.
22863
22864         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22865
22866         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22867         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22868         __malloc_ptrdiff_t.
22869
22870         * malloc/malloc.h (__malloc_size_t): Remove macro.
22871         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22872         __malloc_size_t.
22873         (old_memalign_hook): Likewise.
22874         (old_realloc_hook): Likewise.
22875         (struct hdr): Likewise.
22876         (flood): Likewise.
22877         (mallochook): Likewise.
22878         (memalignhook): Likewise.
22879         (reallochook): Likewise.
22880         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22881         (tr_old_realloc_hook): Likewise.
22882         (tr_old_memalign_hook): Likewise.
22883         (tr_mallochook): Likewise.
22884         (tr_reallochook): Likewise.
22885         (tr_memalignhook): Likewise.
22886
22887 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22888
22889         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22890         default_ldbl_pack and using as default implementation.
22891         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22892         implementation.
22893         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22894         redundant definition.
22895         (ldbl_insert_mantissa): Likewise.
22896         (ldbl_canonicalize): Likewise.
22897         (ldbl_nearbyint): Likewise.
22898         (ldbl_pack): Rename to ldbl_pack_ppc.
22899         (ldbl_unpack): Rename to ldbl_unpack_ppc.
22900         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22901         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22902
22903 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22904
22905         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22906         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22907         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22908         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22909         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22910         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22911         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22912         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22913
22914 2013-03-07  Andreas Jaeger  <aj@suse.de>
22915
22916         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22917         bits/mman-linux.h.
22918
22919 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
22920
22921         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22922         Include mpa.h and declare __MPEXP.
22923         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22924         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22925         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22926         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22927         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22928         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22929         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22930
22931         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22932         (__slowpow): Use long double EXPL and LOGL functions to
22933         compute POW.
22934         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22935         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22936         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22937         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22938         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22939         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22940
22941         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22942         intermediate variable to calculate exponent.
22943         (__sqr): Likewise.
22944         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22945         Likewise.
22946         (__sqr): Likewise.
22947
22948         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22949         [!NO__SQR]: Define __sqr.
22950         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22951         and NO__SQR.  Remove all code except __mul and __sqr.  Include
22952         sysdeps/ieee754/dbl-64/mpa.c.
22953         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22954
22955         [BZ #12723]
22956         * posix/Makefile (tests): Add tst-pathconf.
22957         * posix/tst-pathconf.c: New test case.
22958         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22959         _PC_PIPE_BUF.
22960         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22961
22962 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
22963
22964         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22965
22966 2013-03-06  Andreas Jaeger  <aj@suse.de>
22967
22968         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22969         definition via __MAP_ANONYMOUS.
22970
22971         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22972         it's not part of Linux headers.
22973
22974         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22975         (MAP_HUGE_MASK): Define.
22976
22977         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22978         Define.
22979         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22980         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22981         Define.
22982         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22983         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22984         Define.
22985         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22986         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22987         Define.
22988         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22989
22990         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22991         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22992         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22993         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22994         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22995         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22996
22997         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22998         Handle f2fs.
22999
23000         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23001         Handle f2fs and efivarfs.
23002
23003         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23004         f2fs.
23005
23006         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23007         (EFIVARFS_MAGIC): Add.
23008         (F2FS_LINK_MAX): Add.
23009
23010 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23011
23012         * stdio-common/vfprintf.c: Replace __builtin_expect with
23013         __glibc_unlikely.
23014
23015 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
23016
23017         [BZ #13550]
23018         * sysdeps/generic/bp-sym.h: Remove file.
23019         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23020         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23021         <bp-sym.h> and <bp-asm.h>.
23022         (__longjmp): Don't use BP_SYM.
23023         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23024         and <bp-asm.h>.
23025         (memcpy): Don't use BP_SYM.
23026         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23027         <bp-sym.h> and <bp-asm.h>.
23028         (memcpy): Don't use BP_SYM.
23029         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23030         <bp-asm.h>.
23031         (memcpy): Don't use BP_SYM.
23032         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23033         <bp-asm.h>.
23034         (memset): Don't use BP_SYM.
23035         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23036         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23037         (__bzero): Don't use BP_SYM.
23038         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23039         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23040         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23041         <bp-sym.h> and <bp-asm.h>.
23042         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23043         pointers.
23044         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23045         <bp-sym.h> and <bp-asm.h>.
23046         (memcpy): Don't use BP_SYM.
23047         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23048         <bp-sym.h> and <bp-asm.h>.
23049         (memset): Don't use BP_SYM.
23050         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23051         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23052         (__bzero): Don't use BP_SYM.
23053         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23054         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23055         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23056         <bp-sym.h> and <bp-asm.h>.
23057         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23058         pointers.
23059         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23060         <bp-sym.h> and <bp-asm.h>.
23061         (memcpy): Don't use BP_SYM.
23062         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23063         <bp-sym.h> and <bp-asm.h>.
23064         (memset): Don't use BP_SYM.
23065         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23066         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23067         (__bzero): Don't use BP_SYM.
23068         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23069         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23070         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23071         <bp-sym.h> and <bp-asm.h>.
23072         (__memchr): Don't use BP_SYM.
23073         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23074         <bp-sym.h> and <bp-asm.h>.
23075         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23076         pointers.
23077         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23078         <bp-sym.h> and <bp-asm.h>.
23079         (memcpy): Don't use BP_SYM.
23080         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23081         <bp-sym.h> and <bp-asm.h>.
23082         (__mempcpy): Don't use BP_SYM.
23083         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23084         <bp-sym.h> and <bp-asm.h>.
23085         (__memrchr): Don't use BP_SYM.
23086         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23087         <bp-sym.h> and <bp-asm.h>.
23088         (memset): Don't use BP_SYM.
23089         (__bzero): Likewise.
23090         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23091         <bp-sym.h> and <bp-asm.h>.
23092         (__rawmemchr): Don't use BP_SYM.
23093         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23094         <bp-sym.h> and <bp-asm.h>.
23095         (__STRCMP): Don't use BP_SYM.
23096         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23097         <bp-sym.h> and <bp-asm.h>.
23098         (strchr): Don't use BP_SYM.
23099         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23100         <bp-sym.h> and <bp-asm.h>.
23101         (__strchrnul): Don't use BP_SYM.
23102         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23103         <bp-sym.h> and <bp-asm.h>.
23104         (strlen): Don't use BP_SYM.
23105         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23106         <bp-sym.h> and <bp-asm.h>.
23107         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23108         pointers.
23109         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23110         <bp-sym.h> and <bp-asm.h>.
23111         (__strnlen): Don't use BP_SYM.
23112         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23113         <bp-sym.h> and <bp-asm.h>.
23114         (__GI__setjmp): Don't use BP_SYM.
23115         (_setjmp): Likewise.
23116         (__sigsetjmp): Likewise.
23117         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23118         (L(start_addresses)): Don't use BP_SYM.
23119         (_start): Likewise.
23120         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23121         <bp-asm.h>.
23122         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23123         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23124         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23125         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23126         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23127         <bp-asm.h>.
23128         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23129         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
23130         about bounded pointers.
23131         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23132         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23133         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23134         <bp-asm.h>.
23135         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23136         about bounded pointers.  Remove GKM FIXME comments.
23137         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23138         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23139         <bp-asm.h>.
23140         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23141         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
23142         Remove GKM FIXME comments.
23143         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23144         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23145         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23146         <bp-asm.h>.
23147         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23148         about bounded pointers.  Remove GKM FIXME comment.
23149         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23150         and <bp-asm.h>.
23151         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23152         pointers.
23153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23154         <bp-sym.h> and <bp-asm.h>.
23155         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23157         <bp-sym.h> and <bp-asm.h>.
23158         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23159         comment.
23160
23161 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23162
23163         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23164         call free(NULL).
23165
23166 2013-03-05  David S. Miller  <davem@davemloft.net>
23167
23168         * po/es.po: Update from translation team.
23169
23170 2013-03-05  Andreas Jaeger  <aj@suse.de>
23171
23172         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23173         <bits/mman-linux.h>.
23174         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23175         is fine.
23176         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23177         <bits/mman-linux.h> to end of file.
23178         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23179         is fine.
23180         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23181         <bits/mman-linux.h> to end of file.
23182         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23183         is fine.
23184         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23185         <bits/mman-linux.h> to end of file.
23186
23187         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23188         (MCL_CURRENT, MCL_FUTURE): Define here.
23189
23190 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23191
23192         [BZ #15232]
23193         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23194         attribute_hidden.
23195         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23196
23197 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23198
23199         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23200         fourth parameter needed for rt_sigprocmask syscall.
23201         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23202         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23203         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23204         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23205         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23206         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23207
23208 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
23209
23210         [BZ #13550]
23211         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23212         comment about bounded pointers.
23213         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23214         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23215
23216 2013-03-04  Andreas Jaeger  <aj@suse.de>
23217
23218         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23219         common definitions.
23220
23221         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23222         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23223         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23224         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23225         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23226         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23227
23228 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23229
23230         [BZ #15055]
23231         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23232         __ieee754_sqrl instead of __sqrl.
23233
23234 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
23235
23236         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23237         * sysdeps/powerpc/fpu_control.h: ... here.
23238         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23239         * sysdeps/powerpc/bits/fenvinline.h: ... here.
23240         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23241         * sysdeps/powerpc/bits/mathinline.h: ... here.
23242
23243 2013-03-01  Roland McGrath  <roland@hack.frob.com>
23244
23245         * elf/dl-hwcaps.c (_dl_important_hwcaps):
23246         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23247         to just [NEED_DL_SYSINFO_DSO].
23248         * elf/dl-support.c: Likewise.
23249         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23250         * elf/rtld.c (dl_main): Likewise.
23251         * elf/setup-vdso.h (setup_vdso): Likewise.
23252         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23253         * sysdeps/unix/sysv/linux/dl-sysdep.c
23254         (_dl_discover_osversion): Likewise.
23255
23256 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
23257
23258         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23259         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23260
23261 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23262
23263         * NEWS: Mention libm performance improvements and non-x86 PI
23264         futex support.
23265
23266         * csu/libc-start.c (__pthread_initialize_minimal): Change
23267         function arguments.
23268         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23269
23270 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
23271
23272         [BZ #13550]
23273         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23274         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23275         <bp-sym.h> and <bp-asm.h>.
23276         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23277         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23278         and <bp-asm.h>.
23279         (memcpy): Don't use BP_SYM.
23280         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23281         <bp-asm.h>.
23282         (__mpn_add_n): Don't use BP_SYM.
23283         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23284         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23285         and <bp-asm.h>.
23286         (__mpn_addmul_1): Don't use BP_SYM.
23287         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23288         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23289         <bp-sym.h>.
23290         (_setjmp): Don't use BP_SYM.
23291         (__novmx_setjmp): Likewise.
23292         (__GI__setjmp): Likewise.
23293         (__vmx_setjmp): Likewise.
23294         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23295         <bp-sym.h>.
23296         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23297         (__bzero): Don't use BP_SYM.
23298         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23299         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23300         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23301         <bp-sym.h> and <bp-asm.h>.
23302         (memcpy): Don't use BP_SYM.
23303         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23304         <bp-sym.h> and <bp-asm.h>.
23305         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23306         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23307         <bp-sym.h> and <bp-asm.h>.
23308         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23309         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23310         <bp-asm.h>.
23311         (__mpn_lshift): Don't use BP_SYM.
23312         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23313         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23314         <bp-asm.h>.
23315         (memset): Don't use BP_SYM.
23316         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23317         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23318         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23319         <bp-asm.h>.
23320         (__mpn_mul_1): Don't use BP_SYM.
23321         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23322         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23323         <bp-sym.h> and <bp-asm.h>.
23324         (memcmp): Don't use BP_SYM.
23325         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23326         <bp-sym.h> and <bp-asm.h>.
23327         (memcpy): Don't use BP_SYM.
23328         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23329         <bp-sym.h> and <bp-asm.h>.
23330         (memset): Don't use BP_SYM.
23331         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23332         <bp-sym.h> and <bp-asm.h>.
23333         (strncmp): Don't use BP_SYM.
23334         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23335         <bp-sym.h> and <bp-asm.h>.
23336         (memcpy): Don't use BP_SYM.
23337         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23338         <bp-sym.h> and <bp-asm.h>.
23339         (memset): Don't use BP_SYM.
23340         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23341         <bp-sym.h> and <bp-asm.h>.
23342         (__memchr): Don't use BP_SYM.
23343         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23344         <bp-sym.h> and <bp-asm.h>.
23345         (memcmp): Don't use BP_SYM.
23346         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23347         <bp-sym.h> and <bp-asm.h>.
23348         (memcpy): Don't use BP_SYM.
23349         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23350         <bp-sym.h> and <bp-asm.h>.
23351         (__mempcpy): Don't use BP_SYM.
23352         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23353         <bp-sym.h> and <bp-asm.h>.
23354         (__memrchr): Don't use BP_SYM.
23355         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23356         <bp-sym.h> and <bp-asm.h>.
23357         (memset): Don't use BP_SYM.
23358         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23359         <bp-sym.h> and <bp-asm.h>.
23360         (__rawmemchr): Don't use BP_SYM.
23361         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23362         <bp-sym.h> and <bp-asm.h>.
23363         (__STRCMP): Don't use BP_SYM.
23364         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23365         <bp-sym.h> and <bp-asm.h>.
23366         (strchr): Don't use BP_SYM.
23367         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23368         <bp-sym.h> and <bp-asm.h>.
23369         (__strchrnul): Don't use BP_SYM.
23370         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23371         <bp-sym.h> and <bp-asm.h>.
23372         (strlen): Don't use BP_SYM.
23373         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23374         <bp-sym.h> and <bp-asm.h>.
23375         (strncmp): Don't use BP_SYM.
23376         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23377         <bp-sym.h> and <bp-asm.h>.
23378         (__strnlen): Don't use BP_SYM.
23379         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23380         <bp-asm.h>.
23381         (__mpn_rshift): Don't use BP_SYM.
23382         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23383         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23384         <bp-sym.h> and <bp-asm.h>.
23385         (__sigsetjmp): Don't use BP_SYM.
23386         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23387         (L(start_addresses)): Don't use BP_SYM.
23388         (_start): Likewise.
23389         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23390         <bp-asm.h>.
23391         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23392         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23393         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23394         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23395         <bp-asm.h>.
23396         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23397         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23398         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23399         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23400         <bp-asm.h>.
23401         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23402         comments.
23403         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23404         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23405         <bp-asm.h>.
23406         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
23407         FIXME comments.
23408         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23409         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23410         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23411         <bp-asm.h>.
23412         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23413         comment.
23414         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23415         and <bp-asm.h>.
23416         (strncmp): Don't use BP_SYM,
23417         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23418         <bp-asm.h>.
23419         (__mpn_sub_n): Don't use BP_SYM.
23420         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23421         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23422         and <bp-asm.h>.
23423         (__mpn_submul_1): Don't use BP_SYM.
23424         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23426         <bp-sym.h> and <bp-asm.h>.
23427         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23429         <bp-sym.h> and <bp-asm.h>.
23430         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23431         comment.
23432
23433 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23434
23435         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23436         Use ZK to minimize writes to Z.
23437         (sub_magnitudes): Simplify code a bit.
23438         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23439         Use ZK to minimize writes to Z.
23440         (sub_magnitudes): Simplify code a bit.
23441
23442 2013-02-27  Roland McGrath  <roland@hack.frob.com>
23443
23444         * csu/gmon-start.c: Add special exception to license text.
23445
23446 2013-02-27  Richard Henderson  <rth@redhat.com>
23447
23448         * scripts/config.guess: Update from config.git.
23449         * scripts/config.sub: Likewise.
23450
23451 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23452
23453         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23454
23455         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23456
23457         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23458
23459         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23460
23461         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23462
23463 2013-02-26  Roland McGrath  <roland@hack.frob.com>
23464
23465         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23466         [$(build-shared = yes].
23467
23468 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23469
23470         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23471         (__mul): Reduce iterations for calculating mantissa.
23472
23473         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23474         MPTWO.
23475         (__mpranred): Likewise.
23476
23477         [BZ #15160]
23478         * malloc/memusagestat.c (main): Draw graphs for heap and stack
23479         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23480
23481 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
23482
23483         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23484         Define __attribute__.
23485
23486 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23487
23488         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23489         unused.
23490         * posix/regex_internal.h (__attribute): Remove.
23491         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23492         (re_string_context_at): Likewise.
23493         (bitset_not): Use __attribute__ and mark function as possibly
23494         unused.
23495         (bitset_merge): Likewise.
23496         (bitset_mask): Likewise.
23497         (re_string_char_size_at): Likewise.
23498         (re_string_wchar_at): Likewise.
23499         (re_string_elem_size_at): Likewise.
23500
23501 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23502
23503         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23504         code.
23505         (cc32): Likewise.
23506
23507         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23508         (__acr): Likewise.
23509         (__cpy): Likewise.
23510         (norm): Likewise.
23511         (denorm): Likewise.
23512         (__dbl_mp): Likewise.
23513         (add_magnitudes): Likewise.
23514         (sub_magnitudes): Likewise.
23515         (__mul): Likewise.
23516         (__inv): Likewise.
23517
23518         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23519         style.
23520
23521         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23522         style.
23523
23524         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23525         code.
23526
23527         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23528         up changes with default code.
23529         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23530         Likewise.
23531
23532 2013-02-24  Allan McRae  <allan@archlinux.org>
23533
23534         * manual/socket.texi (The Internet Namespace): Order menu items
23535         to match that in the file.
23536
23537         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23538         node listing of the info page menu.
23539
23540 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
23541
23542         [BZ #13550]
23543         * sysdeps/i386/bp-asm.h: Remove file.
23544         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23545         (PARMS): Do not use macros from bp-asm.h.
23546         (S1): Likewise.
23547         (S2): Likewise.
23548         (SIZE): Likewise.
23549         (__mpn_add_n): Do not use BP_SYM
23550         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23551         "bp-asm.h".
23552         (PARMS): Do not use macros from bp-asm.h.
23553         (S1): Likewise.
23554         (SIZE): Likewise.
23555         (__mpn_addmul_1): Do not use BP_SYM
23556         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23557         "bp-asm.h".
23558         (PARMS): Do not use macros from bp-asm.h.
23559         (SIGMSK): Likewise.
23560         (_setjmp): Likewise.  Do not use BP_SYM.
23561         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23562         "bp-asm.h".
23563         (PARMS): Do not use macros from bp-asm.h.
23564         (SIGMSK): Likewise.
23565         (setjmp): Likewise.  Do not use BP_SYM.
23566         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23567         "bp-asm.h".
23568         (PARMS): Do not use macros from bp-asm.h.
23569         (__frexp): Do not use BP_SYM.
23570         (frexp): Likewise.
23571         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23572         "bp-asm.h".
23573         (PARMS): Do not use macros from bp-asm.h.
23574         (__frexpf): Do not use BP_SYM.
23575         (frexpf): Likewise.
23576         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23577         "bp-asm.h".
23578         (PARMS): Do not use macros from bp-asm.h.
23579         (__frexpl): Do not use BP_SYM.
23580         (frexpl): Likewise.
23581         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23582         "bp-asm.h".
23583         (PARMS): Do not use macros from bp-asm.h.
23584         (__remquo): Do not use BP_SYM.
23585         (remquo): Likewise.
23586         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23587         "bp-asm.h".
23588         (PARMS): Do not use macros from bp-asm.h.
23589         (__remquof): Do not use BP_SYM.
23590         (remquof): Likewise.
23591         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23592         "bp-asm.h".
23593         (PARMS): Do not use macros from bp-asm.h.
23594         (__remquol): Do not use BP_SYM.
23595         (remquol): Likewise.
23596         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23597         "bp-asm.h".
23598         (PARMS): Do not use macros from bp-asm.h.
23599         (DEST): Likewise.
23600         (SRC): Likewise.
23601         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
23602         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23603         "bp-asm.h".
23604         (PARMS): Do not use macros from bp-asm.h.
23605         (strlen): Do not use BP_SYM.
23606         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23607         "bp-asm.h".
23608         (PARMS): Do not use macros from bp-asm.h.
23609         (S1): Likewise.
23610         (S2): Likewise.
23611         (SIZE): Likewise.
23612         (__mpn_add_n): Do not use BP_SYM.
23613         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23614         "bp-asm.h".
23615         (PARMS): Do not use macros from bp-asm.h.
23616         (S1): Likewise.
23617         (SIZE): Likewise.
23618         (__mpn_addmul_1): Do not use BP_SYM.
23619         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23620         weak_alias.
23621         (bzero): Likewise.
23622         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23623         "bp-asm.h".
23624         (PARMS): Do not use macros from bp-asm.h.
23625         (S): Likewise.
23626         (SIZE): Likewise.
23627         (__mpn_lshift): Do not use BP_SYM.
23628         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23629         "bp-asm.h".
23630         (PARMS): Do not use macros from bp-asm.h.
23631         (DEST): Likewise.
23632         (SRC): Likewise.
23633         (LEN): Likewise.
23634         (memcpy): Likewise.  Do not use BP_SYM.
23635         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23636         libc_hidden_def and weak_alias.
23637         (mempcpy): Do not use BP_SYM in weak_alias.
23638         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23639         "bp-asm.h".
23640         (PARMS): Do not use macros from bp-asm.h.
23641         (DEST): Likewise.
23642         (LEN): Likewise.
23643         [!BZERO_P] (CHR): Likewise.
23644         (memset): Likewise.  Do not use BP_SYM.
23645         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23646         "bp-asm.h".
23647         (PARMS): Do not use macros from bp-asm.h.
23648         (S1): Likewise.
23649         (SIZE): Likewise.
23650         (__mpn_mul_1): Do not use BP_SYM.
23651         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23652         "bp-asm.h".
23653         (PARMS): Do not use macros from bp-asm.h.
23654         (S): Likewise.
23655         (SIZE): Likewise.
23656         (__mpn_rshift): Do not use BP_SYM.
23657         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23658         "bp-asm.h".
23659         (PARMS): Do not use macros from bp-asm.h.
23660         (STR): Likewise.
23661         (CHR): Likewise.
23662         (strchr): Likewise.  Do not use BP_SYM.
23663         (index): Do not use BP_SYM in weak_alias.
23664         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23665         "bp-asm.h".
23666         (PARMS): Do not use macros from bp-asm.h.
23667         (DEST): Likewise.
23668         (SRC): Likewise.
23669         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
23670         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23671         "bp-asm.h".
23672         (PARMS): Do not use macros from bp-asm.h.
23673         (strlen): Do not use BP_SYM.
23674         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23675         "bp-asm.h".
23676         (PARMS): Do not use macros from bp-asm.h.
23677         (S1): Likewise.
23678         (S2): Likewise.
23679         (SIZE): Likewise.
23680         (__mpn_sub_n): Do not use BP_SYM.
23681         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23682         "bp-asm.h".
23683         (PARMS): Do not use macros from bp-asm.h.
23684         (S1): Likewise.
23685         (SIZE): Likewise.
23686         (__mpn_submul_1): Do not use BP_SYM.
23687         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23688         "bp-asm.h".
23689         (PARMS): Do not use macros from bp-asm.h.
23690         (S1): Likewise.
23691         (S2): Likewise.
23692         (SIZE): Likewise.
23693         (__mpn_add_n): Do not use BP_SYM.
23694         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23695         weak_alias.
23696         (bzero): Likewise.
23697         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23698         "bp-asm.h".
23699         (PARMS): Do not use macros from bp-asm.h.
23700         (BLK2): Likewise.
23701         (LEN): Likewise.
23702         (memcmp): Do not use BP_SYM.
23703         (bcmp): Do not use BP_SYM in weak_alias.
23704         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23705         "bp-asm.h".
23706         (PARMS): Do not use macros from bp-asm.h.
23707         (DEST): Likewise.
23708         (SRC): Likewise.
23709         (LEN): Likewise.
23710         (memcpy): Likewise.  Do not use BP_SYM.
23711         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23712         "bp-asm.h".
23713         (PARMS): Do not use macros from bp-asm.h.
23714         (DEST): Likewise.
23715         (SRC): Likewise.
23716         (LEN): Likewise.
23717         (memmove): Likewise.  Do not use BP_SYM.
23718         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23719         "bp-asm.h".
23720         (PARMS): Do not use macros from bp-asm.h.
23721         (DEST): Likewise.
23722         (SRC): Likewise.
23723         (LEN): Likewise.
23724         (__mempcpy): Likewise.  Do not use BP_SYM.
23725         (mempcpy): Do not use BP_SYM in weak_alias.
23726         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23727         "bp-asm.h".
23728         (PARMS): Do not use macros from bp-asm.h.
23729         (DEST): Likewise.
23730         (LEN): Likewise.
23731         [!BZERO_P] (CHR): Likewise.
23732         (memset): Likewise.  Do not use BP_SYM.
23733         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23734         "bp-asm.h".
23735         (PARMS): Do not use macros from bp-asm.h.
23736         (STR2): Likewise.
23737         (strcmp): Do not use BP_SYM.
23738         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23739         "bp-asm.h".
23740         (PARMS): Do not use macros from bp-asm.h.
23741         (STR): Likewise.
23742         (DELIM): Likewise.
23743         [USE_AS_STRTOK_R] (SAVE): Likewise.
23744         (FUNCTION): Likewise.  Do not use BP_SYM.
23745         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23746         aliases.
23747         (strtok_r): Likewise.
23748         (__GI___strtok_r): Likewise.
23749         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23750         (PARMS): Do not use macros from bp-asm.h.
23751         (S): Likewise.
23752         (SIZE): Likewise.
23753         (__mpn_lshift): Do not use BP_SYM.
23754         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23755         (PARMS): Do not use macros from bp-asm.h.
23756         (STR): Likewise.
23757         (CHR): Likewise.
23758         (__memchr): Do not use BP_SYM.
23759         (memchr): Do not use BP_SYM in weak_alias.
23760         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23761         (PARMS): Do not use macros from bp-asm.h.
23762         (BLK2): Likewise.
23763         (LEN): Likewise.
23764         (memcmp): Do not use BP_SYM.
23765         (bcmp): Do not use BP_SYM in weak_alias.
23766         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23767         (PARMS): Do not use macros from bp-asm.h.
23768         (S1): Likewise.
23769         (SIZE): Likewise.
23770         (__mpn_mul_1): Do not use BP_SYM.
23771         * sysdeps/i386/rawmemchr.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         (__rawmemchr): Do not use BP_SYM.
23777         (rawmemchr): Do not use BP_SYM in weak_alias.
23778         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23779         (PARMS): Do not use macros from bp-asm.h.
23780         (S): Likewise.
23781         (SIZE): Likewise.
23782         (__mpn_rshift): Do not use BP_SYM.
23783         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23784         (PARMS): Do not use macros from bp-asm.h.
23785         (SIGMSK): Likewise.
23786         (__sigsetjmp): Likewise.  Do not use BP_SYM.
23787         * sysdeps/i386/start.S: Do not include "bp-sym.h".
23788         (_start): Do not use BP_SYM.
23789         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23790         (PARMS): Do not use macros from bp-asm.h.
23791         (DEST): Likewise.
23792         (SRC): Likewise.
23793         (__stpcpy): Likewise.  Do not use BP_SYM.
23794         (stpcpy): Do not use BP_SYM in weak_alias.
23795         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23796         "bp-asm.h".
23797         (PARMS): Do not use macros from bp-asm.h.
23798         (DEST): Likewise.
23799         (SRC): Likewise.
23800         (LEN): Likewise.
23801         (__stpncpy): Likewise.  Do not use BP_SYM.
23802         (stpncpy): Do not use BP_SYM in weak_alias.
23803         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23804         (PARMS): Do not use macros from bp-asm.h.
23805         (STR): Likewise.
23806         (CHR): Likewise.
23807         (strchr): Likewise.  Do not use BP_SYM.
23808         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23809         "bp-asm.h".
23810         (PARMS): Do not use macros from bp-asm.h.
23811         (STR): Likewise.
23812         (CHR): Likewise.
23813         (__strchrnul): Likewise.  Do not use BP_SYM.
23814         (strchrnul): Do not use BP_SYM in weak_alias.
23815         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23816         "bp-asm.h".
23817         (PARMS): Do not use macros from bp-asm.h.
23818         (STOP): Likewise.
23819         (strcspn): Do not use BP_SYM.
23820         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23821         "bp-asm.h".
23822         (PARMS): Do not use macros from bp-asm.h.
23823         (STR): Likewise.
23824         (STOP): Likewise.
23825         (strpbrk): Likewise.  Do not use BP_SYM.
23826         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23827         "bp-asm.h".
23828         (PARMS): Do not use macros from bp-asm.h.
23829         (STR): Likewise.
23830         (CHR): Likewise.
23831         (strrchr): Likewise.  Do not use BP_SYM.
23832         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23833         (PARMS): Do not use macros from bp-asm.h.
23834         (SKIP): Likewise.
23835         (strspn): Do not use BP_SYM.
23836         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23837         (PARMS): Do not use macros from bp-asm.h.
23838         (STR): Likewise.
23839         (DELIM): Likewise.
23840         (SAVE): Likewise.
23841         (FUNCTION): Likewise.  Do not use BP_SYM.
23842         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23843         aliases.
23844         (strtok_r): Likewise.
23845         (__GI___strtok_r): Likewise.
23846         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23847         (PARMS): Do not use macros from bp-asm.h.
23848         (S1): Likewise.
23849         (S2): Likewise.
23850         (SIZE): Likewise.
23851         (__mpn_sub_n): Do not use BP_SYM.
23852         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23853         "bp-asm.h".
23854         (PARMS): Do not use macros from bp-asm.h.
23855         (S1): Likewise.
23856         (SIZE): Likewise.
23857         (__mpn_submul_1): Do not use BP_SYM.
23858         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23859         <bp-sym.h>.
23860         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23861         and <bp-asm.h>.
23862         (PARMS): Do not use macros from bp-asm.h.
23863         (FLAGS): Likewise.
23864         (PTID): Likewise.
23865         (TLS): Likewise.
23866         (CTID): Likewise.
23867         (__clone): Do not use BP_SYM.
23868         (clone): Do not use BP_SYM in weak_alias.
23869         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23870         and <bp-asm.h>.
23871         (PARMS): Do not use macros from bp-asm.h.
23872         (LEN): Likewise.
23873         (__mmap64): Do not use BP_SYM.
23874         (mmap64): Do not use BP_SYM in weak_alias.
23875         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23876         <bp-sym.h> and <bp-asm.h>.
23877         (PARMS): Do not use macros from bp-asm.h.
23878         (__posix_fadvise64_l64): Do not use BP_SYM.
23879         * sysdeps/unix/sysv/linux/i386/semtimedop.S
23880         (PARMS): Do not use macros from bp-asm.h.
23881         (NSOPS): Likewise.
23882         (semtimedop): Do not use BP_SYM.
23883         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23884         and <bp-asm.h>.
23885
23886 2013-02-21  Allan McRae  <allan@archlinux.org>
23887
23888         * manual/message.texi (Charset conversion in gettext):
23889         Move @end statement to beginning of line.
23890
23891 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23892
23893         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23894         static.
23895         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23896         Likewise.
23897
23898         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23899         (denorm): Likewise.
23900         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23901         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23902
23903 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23904
23905         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23906         tail-call to the resolved function if pltexit isn't needed.
23907
23908 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23909
23910         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23911         or Y being zero as being unlikely.
23912         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23913         Likewise.
23914
23915 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
23916
23917         * manual/nss.texi (System Databases and Name Service Switch):
23918         Remove frobnicate @pxref.
23919
23920 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
23921
23922         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23923         __attribute__ ((unused)) to __attribute__ ((__unused__)).
23924
23925 2013-02-20  Petr Machata  <pmachata@redhat.com>
23926
23927         * elf/elf.h (R_ARM_TARGET1): New macro.
23928         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23929         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23930         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23931         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23932         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23933         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23934         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23935         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23936         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23937         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23938         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23939         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23940         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23941         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23942         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23943         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23944         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23945         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23946         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23947         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23948         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23949         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23950         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23951         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23952         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23953         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23954         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23955         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23956         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23957         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23958         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23959         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23960         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23961         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23962         (R_ARM_THM_GOT_BREL12): Likewise.
23963         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23964         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23965         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23966         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23967         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23968         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23969         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23970         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23971         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23972
23973 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
23974
23975         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23976         __attribute_used__ to __attribute__ ((unused)).
23977
23978 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23979
23980         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23981         powerpc mpa.c.
23982         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23983         comment formatting.
23984         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23985
23986 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
23987
23988         [BZ #13550]
23989         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23990         Remove macro.
23991         (ENTER): Remove both macro definitions.
23992         (LEAVE): Likewise.
23993         (CHECK_BOUNDS_LOW): Likewise.
23994         (CHECK_BOUNDS_HIGH): Likewise.
23995         (CHECK_BOUNDS_BOTH): Likewise.
23996         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23997         (RETURN_BOUNDED_POINTER): Likewise.
23998         (RETURN_NULL_BOUNDED_POINTER): Likewise.
23999         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24000         (POP_ERRNO_LOCATION_RETURN): Likewise.
24001         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24002         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24003         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24004         macros.
24005         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24006         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24007         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24008         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24009         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24010         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24011         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24012         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24013         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24014         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24015         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24016         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24017         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24018         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24019         removed macros.
24020         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24021         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24022         macros.
24023         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24024         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24025         * sysdeps/i386/i586/memset.S (memset): Likewise.
24026         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24027         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24028         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24029         macros.
24030         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24031         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24032         Change uses of L(2) to L(out).
24033         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24034         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24035         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24036         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24037         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24038         removed macros.
24039         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24040         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24041         macros.
24042         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24043         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24044         (RETURN): Do not use macro LEAVE.
24045         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24046         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24047         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24048         * sysdeps/i386/i686/memset.S (memset): Likewise.
24049         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24050         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24051         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24052         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24053         Likewise.
24054         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24055         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
24056         L(1_2) and L(1_3) into L(1).
24057         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24058         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24059         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24060         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24061         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24062         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24063         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24064         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24065         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24066         macros.
24067         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24068         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24069         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24070         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24071         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24072         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24073         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24074         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24075         * sysdeps/i386/strcspn.S (strcspn): Likewise.
24076         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24077         * sysdeps/i386/strrchr.S (strrchr): Likewise.
24078         * sysdeps/i386/strspn.S (strspn): Likewise.
24079         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24080         conditional code.
24081         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24082         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24083         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24084         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
24085         L(1_3) into L(1_1).
24086         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24087         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24088         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24089         macros.
24090         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24091
24092 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
24093
24094         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24095         macro.
24096
24097 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24098
24099         * math/atest-exp.c (exp_mpn): Remove ROUND.
24100         * math/atest-exp2.c (exp_mpn): Likewise.
24101         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24102
24103         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24104         * stdlib/tst-tls-atexit-lib.c: Likewise.
24105         * stdlib/tst-tls-atexit.c: Likewise.
24106
24107 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24108
24109         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24110         and __attribute_alloc_size__.
24111
24112 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24113
24114         * include/programs/xmalloc.h: Change __attribute_alloc_size to
24115         __attribute_alloc_size__.
24116         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24117         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24118
24119 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24120
24121         * include/programs/xmalloc.h: New file.
24122         * catgets/gencat.c: Include it.
24123         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24124         * elf/pldd.c: Likewise.
24125         * iconv/iconv_charmap.c: Likewise.
24126         * iconv/iconvconfig.c: Likewise.
24127         * iconv/strtab.c: Likewise.
24128         * locale/programs/locale.c: Likewise.
24129         * locale/programs/localedef.h: Likewise.
24130         * locale/programs/simple-hash.c: Likewise.
24131         * nscd/nscd.h: Likewise.
24132         * nss/makedb.c: Likewise.
24133         * sysdeps/generic/ldconfig.h: Likewise.
24134
24135 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24136
24137         * Versions.def: Add GLIBC_2.18.
24138         * include/link.h (struct link_map): New member l_tls_dtor_count.
24139         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24140         (__call_tls_dtors): Likewise.
24141         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24142         __cxa_thread_atexit_impl.
24143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24144         Likewise.
24145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24146         Likewise.
24147         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24148         Likewise.
24149         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24150         Likewise.
24151         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24152         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24153         Likewise.
24154         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24155         Likewise.
24156         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24157         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24158         Likewise.
24159         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24160         (tests): Add test case tst-tls-atexit.
24161         (modules-names): Add shared library for tst-tls-atexit.
24162         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24163         (GLIBC_PRIVATE): Add __call_tls_dtors.
24164         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24165         for libstdc++.
24166         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24167         * stdlib/tst-tls-atexit.c: New test case.
24168         * stdlib/tst-tls-atexit-lib.c: New test case.
24169
24170         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24171
24172         * elf/Versions (ld): Add _dl_find_dso_for_object.
24173         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24174         * elf/dl-open.c (_dl_find_dso_for_object): New function.
24175         (dl_open_worker): Use _dl_find_dso_for_object.
24176         * elf/dl-sym.c (do_sym): Likewise.
24177         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24178
24179 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24180
24181         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24182         Syntactic changes only.
24183         (_dl_runtime_profile): Do a tail-call to the resolved function.
24184
24185 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
24186
24187         [BZ #13550]
24188         * sysdeps/x86_64/bp-asm.h: Remove file.
24189         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24190         <bp-sym.h> and <bp-asm.h>.
24191         (__clone): Do not use BP_SYM.
24192         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24193         <bp-sym.h> and <bp-asm.h>.
24194         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24195         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24196         "bp-asm.h".
24197         (_setjmp): Do not use BP_SYM.
24198         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24199         "bp-asm.h".
24200         (setjmp): Do not use BP_SYM.
24201         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24202         libc_hidden_def.
24203         (mempcpy): Do not use BP_SYM in weak_alias.
24204         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24205         "bp-asm.h".
24206         (strchr): Do not use BP_SYM.
24207         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24208         "bp-asm.h".
24209         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24210         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24211         (_start): Do not use BP_SYM.
24212         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24213         "bp-asm.h".
24214         (strcat): Do not use BP_SYM.
24215         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24216         "bp-asm.h".
24217         (STRCMP): Do not use BP_SYM.
24218         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24219         "bp-asm.h".
24220         (STRCPY): Do not use BP_SYM.
24221         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24222         "bp-asm.h".
24223         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24224         "bp-asm.h".
24225         (FUNCTION): Do not use BP_SYM.
24226         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24227         weak_alias.
24228         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24229
24230 2013-02-17  Andreas Jaeger  <aj@suse.de>
24231
24232         * time/Versions: Sort entries.
24233         * string/Versions: Likewise.
24234         * resolv/Versions: Likewise.
24235         * posix/Versions: Likewise.
24236         * iconv/Versions: Likewise.
24237         * elf/Versions: Likewise.
24238         * wcsmbs/Versions: Likewise.
24239
24240 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24241
24242         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24243         loop termination condition.
24244
24245         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24246         variable to calculate EZ.
24247         (__sqr): Likewise.
24248
24249         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24250         the lower precision input.
24251
24252 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
24253
24254         [BZ #13550]
24255         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24256         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24257         (run-via-rtld-prefix): Do not handle %-bp tests.
24258         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24259         (all-object-suffixes): Remove .ob.
24260         (bppfx): Remove variable.
24261         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24262         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24263         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24264         [$(build-bounded) = yes] (libtype.ob): Likewise.
24265         * Makerules (elide-routines.ob): Remove variable.
24266         (do-tests-clean): Do not handle *-bp.out.
24267         (common-mostlyclean): Do not handle *-bp and *-bp.out.
24268         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24269         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24270         (tests): Do not include $(tests-bp.out).
24271         (xtests): Do not include $(xtests-bp.out).
24272         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24273         [$(build-bounded) = yes] ($(addprefix
24274         $(objpfx),$(binaries-bounded))): Remove rule.
24275         ($(objpfx)%-bp.out): Remove rule.
24276         * config.make.in (build-bounded): Remove variable.
24277         * crypt/Makefile [$(build-bounded) = yes]
24278         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24279         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24280         append to variable.
24281         [$(build-bounded) = yes] (install-lib): Likewise.
24282         [$(build-bounded) = yes] (generated): Likewise.
24283         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24284         Remove rule.
24285         * intl/Makefile [$(build-bounded) = yes]
24286         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24287         * math/Makefile [$(build-bounded) = yes]
24288         ($(tests:%=$(objpfx)%-bp): Likewise.
24289         * misc/Makefile [$(build-bounded) = yes]
24290         ($(objpfx)tst-tsearch-bp): Likewise.
24291         * nptl/Makeconfig (bounded-thread-library): Remove variable.
24292         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24293         Remove dependency.
24294         * string/Makefile (o-objects.ob): Remove variable.
24295         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24296         (CFLAGS-.ob): Remove variable.
24297         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24298         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24299         both definitions of variable.
24300         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24301         (ASFLAGS-.ob): Remove variable.
24302
24303 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
24304
24305         [BZ #13550]
24306         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24307         Remove __BOUNDED_POINTERS__ from condition.
24308         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24309         * string/bits/string2.h [!__NO_STRING_INLINES &&
24310         !__BOUNDED_POINTERS__]: Likewise.
24311         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24312         Likewise.
24313         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24314         Remove conditional code.
24315         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24316         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24317         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24318         condition.
24319
24320         [BZ #13550]
24321         * csu/libc-start.c: Do not include <bp-sym.h>.
24322         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24323         * elf/dl-open.c: Do not include <bp-sym.h>.
24324         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24325         * math/fegetenv.c: Do not include <bp-sym.h>.
24326         (fegetenv): Do not use BP_SYM in versioned symbols.
24327         * nptl/sysdeps/pthread/bits/libc-lockP.h
24328         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24329         <bp-sym.h>.
24330         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24331         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24332         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24333         (__pthread_mutex_destroy): Likewise.
24334         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24335         (__pthread_mutex_lock): Likewise.
24336         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24337         (__pthread_mutex_trylock): Likewise.
24338         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24339         (__pthread_mutex_unlock): Likewise.
24340         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24341         (__pthread_mutexattr_init): Likewise.
24342         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24343         (__pthread_mutexattr_destroy): Likewise.
24344         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24345         (__pthread_mutexattr_settype): Likewise.
24346         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24347         (__pthread_rwlock_init): Likewise.
24348         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24349         (__pthread_rwlock_destroy): Likewise.
24350         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24351         (__pthread_rwlock_rdlock): Likewise.
24352         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24353         (__pthread_rwlock_tryrdlock): Likewise.
24354         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24355         (__pthread_rwlock_wrlock): Likewise.
24356         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24357         (__pthread_rwlock_trywrlock): Likewise.
24358         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24359         (__pthread_rwlock_unlock): Likewise.
24360         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24361         (__pthread_key_create): Likewise.
24362         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24363         (__pthread_setspecific): Likewise.
24364         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24365         (__pthread_getspecific): Likewise.
24366         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24367         Likewise.
24368         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24369         (_pthread_cleanup_push_defer): Likewise.
24370         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24371         (_pthread_cleanup_pop_restore): Likewise.
24372         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24373         (pthread_setcancelstate): Likewise.
24374         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24375         <bp-sym.h>.
24376         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24377         (memchr): Do not use BP_SYM in weak_alias.
24378         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24379         (fegetenv): Do not use BP_SYM in versioned symbols.
24380         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24381         (fesetenv): Do not use BP_SYM in versioned symbols.
24382         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24383         (feupdateenv): Do not use BP_SYM in versioned symbols.
24384         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24385         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24386         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24387         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24388         (open64): Do not use BP_SYM in weak_alias.
24389         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24390         (fegetenv): Do not use BP_SYM in versioned symbols.
24391         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24392         (fesetenv): Do not use BP_SYM in versioned symbols.
24393         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24394         (feupdateenv): Do not use BP_SYM in versioned symbols.
24395         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24396         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24397         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24398         (feraiseexcept): Do not use BP_SYM in versioned symbols.
24399         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24400         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24401         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24402         <bp-sym.h>.
24403         (__libc_start_main): Do not use BP_SYM.
24404
24405 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24406
24407         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24408         redundant return line.
24409         (norm): Likewise.
24410         (denorm): Likewise.
24411         (dbl_mp): Likewise.
24412         (sub_magnitudes): Likewise.
24413         (__add): Likewise.
24414         (__sub): Likewise.
24415         (__mul): Likewise.
24416         (__inv): Likewise.
24417         (__dvd): Likewise.
24418         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24419         (norm): Likewise.
24420         (denorm): Likewise.
24421         (dbl_mp): Likewise.
24422         (sub_magnitudes): Likewise.
24423         (__add): Likewise.
24424         (__sub): Likewise.
24425         (__mul): Likewise.
24426         (__inv): Likewise.
24427         (__dvd): Likewise.
24428
24429         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24430         instead of __mul.
24431         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24432         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24433         (cc32): Likewise.
24434
24435         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24436         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24437         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24438         of __mul for squares.
24439         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24440         function
24441         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24442         Likewise.
24443         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24444         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24445
24446 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
24447
24448         [BZ #13550]
24449         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24450         code.
24451         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24452         prototype or function definition.  Rename ubp_* variables and
24453         parameters.  Remove argv definitions conditional on
24454         [__BOUNDED_POINTERS__].
24455         * debug/backtrace.c (__backtrace): Do not use __unbounded.
24456         * elf/dl-runtime.c (_dl_fixup): Likewise.
24457         * include/set-hooks.h (RUN_HOOK): Likewise.
24458         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24459         definition.
24460         * string/strcpy.c (strcpy): Do not use __unbounded.
24461         * sysdeps/generic/frame.h (struct layout): Likewise.
24462         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24463         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24464         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24465         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24466         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24467         (__backtrace): Likewise.
24468         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24469         use __ptrvalue.
24470         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24471         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24472         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24473         Likewise.
24474         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24475         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24476         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24477         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24478         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24479         Do not use __unbounded.
24480         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24481         Rename __unboundedrlimits parameter to rlimits in prototype.
24482         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24483         Do not use __unbounded.
24484         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24485         not use __ptrvalue.
24486         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24487         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24488         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24489         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24490         __ptrvalue or __unbounded.
24491         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24492         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24493         use __unbounded.
24494         (__new_msgctl): Do not use __ptrvalue.
24495         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24496         __unbounded.
24497         (__libc_msgrcv): Do not use __ptrvalue.
24498         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24499         startup_info): Do not use __unbounded.
24500         (__libc_start_main): Likewise.  Rename ubp_* variables and
24501         parameters.  Remove argv definitions conditional on
24502         [__BOUNDED_POINTERS__].
24503         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24504         __ptrvalue.
24505         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24506         use __unbounded.
24507         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24508         or __ptrvalue.
24509         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24510         use __unbounded.
24511         (__new_shmctl): Do not use __ptrvalue.
24512         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24513         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24514         Likewise.
24515         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24516         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24517         (__libc_sigaction): Likewise.
24518         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24519         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24520         Likewise.
24521         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24522
24523 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
24524
24525         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24526
24527         * string/mempcpy.c: Implement by calling memcpy.
24528
24529 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24530
24531         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24532
24533         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24534         evaluation.
24535
24536         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24537         values in the mantissa.
24538
24539         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24540         minimize writes to Z.
24541         (sub_magnitudes): Simplify code a bit.
24542
24543 2013-02-12  Roland McGrath  <roland@hack.frob.com>
24544
24545         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24546         from the message.  The linker prefixes all warnings with that already.
24547
24548 2013-02-12  Andreas Schwab  <schwab@suse.de>
24549
24550         [BZ #15078]
24551         * posix/regexec.c (extend_buffers): Add parameter min_len.
24552         (check_matching): Pass minimum needed length.
24553         (clean_state_log_if_needed): Likewise.
24554         (get_subexp): Likewise.
24555         * posix/Makefile (tests): Add bug-regex34.
24556         (bug-regex34-ENV): Define.
24557         * posix/bug-regex34.c: New file.
24558
24559         [BZ #11561]
24560         * posix/regcomp.c (parse_bracket_exp): When looking up collating
24561         elements compare against the byte sequence of it, not its name.
24562         * posix/Makefile (tests): Add bug-regex35.
24563         (bug-regex35-ENV): Define.
24564         * posix/bug-regex35.c: New file.
24565
24566 2013-02-11  Tom de Vries  <tom@codesourcery.com>
24567
24568         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
24569         comment.
24570         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24571         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24572         (CHECK_EOL): Add undef.
24573
24574 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
24575
24576         * bits/stdlib-bsearch.h: New file.
24577         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24578         * stdlib/stdlib.h: Likewise.
24579
24580 2013-02-11  Roland McGrath  <roland@hack.frob.com>
24581
24582         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24583         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24584         declaration.
24585         * manual/search.texi (Array Search Function): Add missing const in
24586         lfind prototype.
24587         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24588         declaration to use rlim_t.
24589         (Basic Scheduling Functions): Remove erroneous const from
24590         sched_getparam prototype.  Remove erroneous * from
24591         sched_get_priority_max and sched_get_priority_min prototypes.
24592         (Resource Usage): Fix summary @comment on vtimes to refer to
24593         sys/vtimes.h rather than vtimes.h.
24594         Add missing *s in vtimes prototype.
24595         (Limits on Resources): Fix ulimit prototype to return long int.
24596         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24597         prototypes to use long int rather than double.
24598         (BSD Random): Fix initstate and setstate to use char *, not void *.
24599         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24600         prototype to make second argument 'struct aiocb64 *const[]'.
24601         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24602         (Status of AIO Operations): Remove erroneous const in aio_return and
24603         aio_return64 prototypes.
24604         (Synchronizing I/O): Fix sync prototype to return void.
24605         * manual/startup.texi (Suboptions): Remove an erroneous const in
24606         getsubopt prototype.
24607         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24608         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24609         use size_t rather than int.
24610         (Scanning All Users): Likewise for getpwent_r.
24611         (Setting Groups): Add missing const to setgroups prototype.
24612         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24613         * manual/socket.texi (Host Names): Fix gethostbyaddr and
24614         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24615         'const void *' rather than 'const char *'.
24616         (Host Address Functions): Likewise for inet_ntop.
24617         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24618         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24619         ssize_t for return value.
24620         (Sending Data): Likewise for send, sendto, sendmsg.
24621         (Socket Option Functions): Add a missing const in setsockopt prototype.
24622         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24623         use wchar_t for the argument.
24624         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24625         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24626         take no arguments.
24627         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24628         double/float/long double for second argument.
24629         Fix return types of significand, significandf, significandl.
24630         * manual/filesys.texi (Setting Permissions): Use mode_t for second
24631         argument in fchmod prototype.
24632         (File Owner): Use uid_t and gid_t in fchown prototype.
24633         (File Times): Add const to utimes, futimes, and lutimes prototypes.
24634         (Making Special Files): Use mode_t and dev_t in mknod prototype.
24635         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24636         use 'const struct dirent **' as argument types to CMP function pointer
24637         argument.
24638         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24639         (File Times): Fix summary magic @comment for struct utimbuf and utime
24640         to refer to utime.h, not time.h.
24641         * manual/string.texi (Argz Functions): Add missing const in
24642         argz_extract and argz_next prototypes.
24643         (Finding Tokens in a String): Likewise for basename.
24644         (String/Array Comparison): Fix typo in wcscasecmp prototype.
24645         (Copying and Concatenation): Fix typo in wmemmove prototype.
24646         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24647         (Signal Stack): Remove erroneous const in sigstack prototype.
24648         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24649         prototype.
24650         (Simple Calendar Time): Likewise for stime.
24651         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24652         prototype.
24653         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24654         say sys/sysctl.h instead.
24655         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24656         and vsyslog prototypes.
24657
24658 2013-02-11  Tom de Vries  <tom@codesourcery.com>
24659
24660         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24661         Remove.
24662
24663 2013-02-11  Roland McGrath  <roland@hack.frob.com>
24664
24665         * misc/sys/mman.h: Fix typo in mremap comment.
24666
24667 2013-02-08  Roland McGrath  <roland@hack.frob.com>
24668
24669         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24670         the '\0' terminator.
24671
24672 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
24673
24674         [BZ #13550]
24675         * debug/segfault.c: Don't include <bp-checks.h>.
24676         * sysdeps/generic/bp-checks.h: Remove file.
24677         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24678         (__GETDENTS): Don't use CHECK_N.
24679         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24680         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24681         (__getgroups): Don't use CHECK_N.
24682         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24683         (setgroups): Don't use CHECK_N.
24684         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24685         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24686         (__libc_msgrcv): Don't use CHECK_N.
24687         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24688         (__libc_msgsnd): Don't use CHECK_N.
24689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24690         <bp-checks.h>.
24691         (__libc_pread): Don't use CHECK_N.
24692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24693         include <bp-checks.h>.
24694         (__libc_pread64): Don't use CHECK_N.
24695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24696         include <bp-checks.h>.
24697         (__libc_pwrite): Don't use CHECK_N.
24698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24699         include <bp-checks.h>.
24700         (__libc_pwrite64): Don't use CHECK_N.
24701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24702         <bp-checks.h>.
24703         (__libc_pread): Don't use CHECK_N.
24704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24705         include <bp-checks.h>.
24706         (__libc_pread64): Don't use CHECK_N.
24707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24708         include <bp-checks.h>.
24709         (__libc_pwrite): Don't use CHECK_N.
24710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24711         include <bp-checks.h>.
24712         (__libc_pwrite64): Don't use CHECK_N.
24713         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24714         (do_pread): Don't use CHECK_N.
24715         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24716         (do_pread64): Don't use CHECK_N.
24717         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24718         (do_pwrite): Don't use CHECK_N.
24719         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24720         (do_pwrite64): Don't use CHECK_N.
24721         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24722         (__libc_readv): Don't use CHECK_N.
24723         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24724         (semop): Don't use CHECK_N.
24725         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24726         <bp-checks.h>.
24727         (semtimedop): Don't use CHECK_N.
24728         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24729         (__libc_pread): Don't use CHECK_N.
24730         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24731         <bp-checks.h>.
24732         (__libc_pread64): Don't use CHECK_N.
24733         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24734         <bp-checks.h>.
24735         (__libc_pwrite): Don't use CHECK_N.
24736         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24737         <bp-checks.h>.
24738         (__libc_pwrite64): Don't use CHECK_N.
24739         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24740         <bp-checks.h>.
24741         (__libc_msgrcv): Don't use CHECK_N.
24742         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24743         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
24744         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24745         (__libc_writev): Don't use CHECK_N.
24746
24747 2013-02-08  Roland McGrath  <roland@hack.frob.com>
24748
24749         * string/strcpy.c: Removed unused variable.
24750
24751         * Makeconfig (+sysdep-includes): Define with := rather than =.
24752         Use an existing include/ subdir of each sysdeps dir before it.
24753
24754 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24755
24756         * nscd/connection.c (register_traced_file): Comment function.
24757         [HAVE_INOTIFY] (union __inev): Define.
24758         [HAVE_INOTIFY] (inotify_check_files): New function.
24759         [HAVE_INOTIFY] (clear_db_cache): Likewise.
24760         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24761         clear_db_cache.
24762         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24763
24764 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24765
24766         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24767         loaded if not already and that a failure is permanent.
24768
24769 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24770
24771         [BZ #15006]
24772         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24773         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24774
24775 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
24776
24777         [BZ #13550]
24778         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24779         (CHECK_1_NULL_OK): Likewise.
24780         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24781         (__fxstat): Do not use CHECK_1.
24782         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24783         <bp-checks.h>.
24784         (___fxstat64): Do not use CHECK_1.
24785         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24786         <bp-checks.h>.
24787         (__fxstatat): Do not use CHECK_1.
24788         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24789         <bp-checks.h>.
24790         (__fxstatat64): Do not use CHECK_1.
24791         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24792         <bp-checks.h>.
24793         (__fxstat): Do not use CHECK_1.
24794         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24795         <bp-checks.h>.
24796         (__fxstatat): Do not use CHECK_1.
24797         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24798         <bp-checks.h>.
24799         (__getresgid): Do not use CHECK_1.
24800         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24801         <bp-checks.h>.
24802         (__getresuid): Do not use CHECK_1.
24803         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24804         <bp-checks.h>.
24805         (__lxstat): Do not use CHECK_1.
24806         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24807         <bp-checks.h>.
24808         (__old_msgctl): Do not use CHECK_1.
24809         (__new_msgctl): Likewise.
24810         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24811         <bp-checks.h>.
24812         (__new_setrlimit): Do not use CHECK_1.
24813         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24814         <bp-checks.h>.
24815         (__old_shmctl): Do not use CHECK_1.
24816         (__new_shmctl): Likewise.
24817         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24818         <bp-checks.h>.
24819         (__xstat): Do not use CHECK_1.
24820         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24821         (__lxstat): Do not use CHECK_1.
24822         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24823         <bp-checks.h>.
24824         (___lxstat64): Do not use CHECK_1.
24825         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24826         (__old_msgctl): Do not use CHECK_1.
24827         (__new_msgctl): Likewise.
24828         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24829         <bp-checks.h>.
24830         (__gettimeofday): Do not use CHECK_1.
24831         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24832         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24833         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24834         <bp-checks.h>.
24835         (__gettimeofday): Do not use CHECK_1.
24836         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24837         (__old_shmctl): Do not use CHECK_1_NULL_OK.
24838         (__new_shmctl): Do not use CHECK_1.
24839         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24840         <bp-checks.h>.
24841         (do_sigtimedwait): Do not use CHECK_1.
24842         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24843         <bp-checks.h>.
24844         (do_sigwaitinfo): Do not use CHECK_1.
24845         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24846         <bp-checks.h>.
24847         (msgctl): Do not use CHECK_1.
24848         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24849         <bp-checks.h>.
24850         (shmctl): Do not use CHECK_1.
24851         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24852         (ustat): Do not use CHECK_1.
24853         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24854         <bp-checks.h>.
24855         (__fxstat): Do not use CHECK_1.
24856         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24857         <bp-checks.h>.
24858         (__fxstatat): Do not use CHECK_1.
24859         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24860         <bp-checks.h>.
24861         (__lxstat): Do not use CHECK_1.
24862         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24863         <bp-checks.h>.
24864         (__xstat): Do not use CHECK_1.
24865         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24866         (__xstat): Do not use CHECK_1.
24867         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24868         (___xstat64): Do not use CHECK_1.
24869
24870         [BZ #13550]
24871         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24872         definitions.
24873         (CHECK_BOUNDS_HIGH): Likewise.
24874         * string/strcpy.c: Do not include <bp-checks.h>.
24875         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24876
24877 2013-02-07  Roland McGrath  <roland@hack.frob.com>
24878
24879         * nscd/nscd-client.h (__nscd_drop_map_ref):
24880         Add __attribute__ ((unused)).
24881         * nis/nss-nisplus.h (niserr2nss): Likewise.
24882
24883         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24884         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24885
24886         * csu/libc-tls.c (init_static_tls, init_slotinfo):
24887         Remove inline keyword.
24888         * include/rounding-mode.h (round_away): Likewise.
24889         * libio/wfileops.c (adjust_wide_data): Likewise.
24890         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24891         (__m128i_strloadu_tolower): Likewise.
24892         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24893         (__m128i_strloadu_tolower): Likewise.
24894         * time/mktime.c (ydhms_diff): Likewise.
24895         * locale/elem-hash.h (elem_hash): Likewise.
24896         * locale/setlocale.c (setdata): Likewise.
24897         * posix/regex_internal.h (re_string_char_size_at): Likewise.
24898         (re_string_wchar_at): Likewise.
24899         (bitset_not, bitset_merge, bitset_mask): Likewise.
24900         [!(__GNUC__ > 3)] (inline): Remove macro.
24901         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24902         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24903         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24904         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24905         * string/memcmp.c (memcmp_bytes): Likewise.
24906         * locale/programs/locarchive.c (compute_hashval): Likewise.
24907         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24908         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24909         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24910         * nss/getent.c (print_rpc, print_protocols): Likewise.
24911         (print_passwd, print_group, print_aliases): Likewise.
24912         * nis/nss-nisplus.h (niserr2nss): Likewise.
24913         * nscd/connections.c (restart_p): Likewise.
24914         Change return type to bool.
24915
24916 2013-02-05  Roland McGrath  <roland@hack.frob.com>
24917
24918         * Makeconfig (all-Depend-files): Add existing
24919         $(sorted-subdirs:=/Depend) files.
24920         (all-subdirs): Remove nss.
24921         * sysdeps/unix/inet/Subdirs: Add it here instead.
24922         * hesiod/Depend: New file.
24923
24924         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24925         instead of calling alloca.
24926
24927         * io/lseek.c (__lseek): Rename to __libc_lseek.
24928         Define __lseek as an alias.
24929
24930         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24931
24932 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
24933
24934         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24935         else clause and remove check for non-standard endianness.
24936
24937 2013-02-04  David S. Miller  <davem@davemloft.net>
24938
24939         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24940
24941 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
24942
24943         [BZ #13550]
24944         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24945         (__ubp_memchr): Remove prototype.
24946         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24947         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24948         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24949         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24950         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24951         Remove alias.
24952         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24953         (__ubp_memchr): Likewise.
24954         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24955         (__ubp_memchr): Likewise.
24956         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24957         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24958         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24959         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24960         CHECK_STRING.
24961         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24962         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24963         (__getcwd): Do not use CHECK_STRING.
24964         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24965         <bp-checks.h>.
24966         (__real_chown): Do not use CHECK_STRING.
24967         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24968         <bp-checks.h>.
24969         (fchownat): Do not use CHECK_STRING.
24970         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24971         CHECK_STRING.
24972         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24973         <bp-checks.h>.
24974         (__lchown): Do not use CHECK_STRING.
24975         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24976         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24977         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24978         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24980         include <bp-checks.h>.
24981         (truncate64): Do not use CHECK_STRING.
24982         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24983         <bp-checks.h>.
24984         (__real_chown): Do not use CHECK_STRING.
24985         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24986         <bp-checks.h>.
24987         (__lchown): Do not use CHECK_STRING.
24988         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24989         <bp-checks.h>.
24990         (__chown): Do not use CHECK_STRING.
24991         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24992         <bp-checks.h>.
24993         (truncate64): Do not use CHECK_STRING.
24994         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24995         Likewise.
24996         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24997         (__xmknod): Do not use CHECK_STRING.
24998         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24999         <bp-checks.h>.
25000         (__xmknodat): Do not use CHECK_STRING.
25001         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25002         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25003
25004 2013-02-04  Andreas Schwab  <schwab@suse.de>
25005
25006         [BZ #14142]
25007         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25008         * include/netdb.h: Likewise for h_errno.
25009         * elf/tst-stackguard1.c: Include <tls.h>.
25010
25011 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
25012
25013         * elf/link.h (struct link_map): Extend the l_addr comment.
25014         * include/link.h (struct link_map): Likewise.
25015
25016 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
25017
25018         [BZ #13550]
25019         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25020         (BOUNDED_1): Remove macro.
25021         * debug/backtrace.c: Don't include <bp-checks.h>.
25022         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25023         (__backtrace): Likewise.
25024         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25025         <bp-checks.h>.
25026         (__backtrace): Don't use BOUNDED_1.
25027         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25028         <bp-checks.h>.
25029         (__backtrace): Don't use BOUNDED_1.
25030         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25031         (__backtrace): Don't use BOUNDED_1.
25032         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25033         (shmat): Don't use BOUNDED_N.
25034
25035 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
25036
25037         [BZ #13550]
25038         * sysdeps/generic/bp-start.h: Remove file.
25039         * csu/libc-start.c: Don't include <bp-start.h>.
25040         (LIBC_START_MAIN): Set up __environ directly instead of using
25041         INIT_ARGV_and_ENVIRON.
25042         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25043         <bp-start.h>.
25044
25045         [BZ #13550]
25046         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25047         definitions.
25048         (CHECK_FCNTL): Likewise.
25049         (CHECK_N_PAGES): Likewise.
25050
25051         [BZ #13550]
25052         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25053         definitions.
25054         (CHECK_SIGSET_NULL_OK): Likewise.
25055         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25056         <bp-checks.h>.
25057         (sigpending): Don't use CHECK_SIGSET.
25058         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25059         <bp-checks.h>.
25060         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25061         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25062         <bp-checks.h>.
25063         (do_sigsuspend): Don't use CHECK_SIGSET.
25064         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25065         use CHECK_SIGSET.
25066         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25067         (do_sigwait): Don't use CHECK_SIGSET.
25068         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25069         use CHECK_SIGSET.
25070         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25071         include <bp-checks.h>.
25072         (sigpending): Don't use CHECK_SIGSET.
25073         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25074         include <bp-checks.h>.
25075         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25076         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25077         <bp-checks.h>.
25078         (sigpending): Don't use CHECK_SIGSET.
25079         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25080         <bp-checks.h>.
25081         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25082
25083         [BZ #13550]
25084         * sysdeps/generic/bp-semctl.h: Remove file.
25085         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25086         <bp-checks.h> and <bp-semctl.h>.
25087         (__old_semctl): Don't use CHECK_SEMCTL.
25088         (__new_semctl): Likewise.
25089         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25090         and <bp-semctl.h>.
25091         (__old_semctl): Don't use CHECK_SEMCTL.
25092         (__new_semctl): Likewise.
25093         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25094         <bp-checks.h> and <bp-semctl.h>.
25095         (__old_semctl): Don't use CHECK_SEMCTL.
25096         (__new_semctl): Likewise.
25097         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25098         <bp-checks.h> and <bp-semctl.h>.
25099         (semctl): Don't use CHECK_SEMCTL.
25100
25101         [BZ #13550]
25102         * Makerules (elide-bp-thunks): Remove variable.
25103         (elide-routines.oS): Don't use $(elide-bp-thunks).
25104         (elide-routines.os): Likewise.
25105         (elide-routines.o): Likewise.
25106         (elide-routines.op): Likewise.
25107         (elide-routines.og): Likewise.
25108         (objects): Don't use $(bp-thunks).
25109         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25110         include.
25111         (common-generated): Do not add s-proto-bp.d.
25112         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25113         (int): Likewise.
25114         (typ): Likewise.
25115         Do not generate makefile rules for bounded-pointer thunks.
25116         * sysdeps/generic/bp-thunks.h: Remove file.
25117         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25118         * sysdeps/unix/s-proto-bp.S: Likewise.
25119
25120         [BZ #15062]
25121         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25122         parts of result separately when argument is not close to line from
25123         -i to i and one part of argument is small.
25124         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25125         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25126         * math/libm-test.inc (cacos_test): Add more tests.
25127         (casin_test): Likewise.
25128         (casinh_test): Likewise.
25129         * sysdeps/i386/fpu/libm-test-ulps: Update.
25130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25131
25132 2013-01-31  David S. Miller  <davem@davemloft.net>
25133
25134         * po/de.po: Update from translation team.
25135
25136 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
25137
25138         * time/tzfile.c: Include stdint.h for SIZE_MAX.
25139
25140 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
25141
25142         * configure.in (_AC_PROG_CC_C89): New definition.
25143         * configure: Regenerate.
25144
25145         * configure.in (AC_PROG_CPP): New definition.
25146         * configure: Regenerate.
25147
25148 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25149
25150         * debug/tst-backtrace.h: New file.
25151         * debug/tst-backtrace2.c: Include tst-backtrace.h.
25152         (ret): Remove variable.
25153         (x): Likewise.
25154         (FAIL): Remove macro.
25155         (NO_INLINE): Likewise.
25156         (fn1): Use match function instead of strstr.
25157         * debug/tst-backtrace3.c: Include tst-backtrace.h.
25158         (ret): Remove variable.
25159         (x): Likewise.
25160         (FAIL): Remove macro.
25161         (NO_INLINE): Likewise.
25162         (fn): Use match function instead of strstr.
25163         * debug/tst-backtrace4.c: Include tst-backtrace.h.
25164         (ret): Remove variable.
25165         (x): Likewise.
25166         (FAIL): Remove macro.
25167         (NO_INLINE): Likewise.
25168         (handle_signal): Use match function instead of strstr.
25169         * debug/tst-backtrace5.c: Include tst-backtrace.h.
25170         (ret): Remove variable.
25171         (x): Likewise.
25172         (FAIL): Remove macro.
25173         (NO_INLINE): Likewise.
25174         (handle_signal): Use match function instead of strstr.
25175
25176 2013-01-23  Roland McGrath  <roland@hack.frob.com>
25177
25178         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25179
25180 2013-01-23  David S. Miller  <davem@davemloft.net>
25181
25182         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25183         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25184         argument of CAS if possible.
25185         * sysdeps/sparc/sparc64/bits/atomic.h
25186         (__arch_compare_and_exchange_val_32_acq): Likewise.
25187         (__arch_compare_and_exchange_val_64_acq): Likewise.
25188
25189 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
25190
25191         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25192         * sysdeps/posix/ulimit.c: ... this.
25193         Include <limits.h>.
25194         * sysdeps/unix/bsd/ulimit.c: Remove file.
25195
25196 2013-01-23  Adam Conrad  <adconrad@0c3.net>
25197
25198         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25199         (LDFLAGS-tst-array5): Likewise.
25200
25201 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25202
25203         [BZ #15036]
25204         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25205         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25206         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25207         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25208
25209 2013-01-21  David S. Miller  <davem@davemloft.net>
25210
25211         * sysdeps/sparc/backtrace.c: New file.
25212         * sysdeps/sparc/sparc32/backtrace.h: New file.
25213         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25214         * sysdeps/sparc/sparc64/backtrace.h: New file.
25215         * sysdeps/sparc/sparc64/backtrace.c: Delete.
25216         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25217         -funwind-tables.
25218
25219 2013-01-21  Andreas Schwab  <schwab@suse.de>
25220
25221         [BZ #15020]
25222         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25223         closed its stdout.
25224
25225 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
25226
25227         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25228         "mpa2.h".
25229         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25230
25231 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
25232             Mark Mitchell  <mark@codesourcery.com>
25233             Tom de Vries  <tom@codesourcery.com>
25234             Paul Pluzhnikov  <ppluzhnikov@google.com>
25235
25236         * debug/tst-backtrace2.c: New file.
25237         * debug/tst-backtrace3.c: Likewise.
25238         * debug/tst-backtrace4.c: Likewise.
25239         * debug/tst-backtrace5.c: Likewise.
25240         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25241         (CFLAGS-tst-backtrace3.c): Likewise.
25242         (CFLAGS-tst-backtrace4.c): Likewise.
25243         (CFLAGS-tst-backtrace5.c): Likewise.
25244         (LDFLAGS-tst-backtrace2): Likewise.
25245         (LDFLAGS-tst-backtrace3): Likewise.
25246         (LDFLAGS-tst-backtrace4): Likewise.
25247         (LDFLAGS-tst-backtrace5): Likewise.
25248         (tests): Add new tests tst-backtrace2, tst-backtrace3,
25249         tst-backtrace4 and tst-backtrace5.
25250
25251 2013-01-18  Anton Blanchard  <anton@samba.org>
25252             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25253
25254         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25255         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25256         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25257         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25259         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25260         "+r" and remove output regs list as redundant.  Add explicit inline
25261         asm to specify register of return val to work around compiler codegen
25262         bug.  Remove (int) cast on return value.  Add return type parameter to
25263         use in macro so that this macro does not truncate return value for
25264         64-bit values.
25265         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25266         pass to INTERNAL_VSYSCALL_NCS.
25267         (INLINE_VSYSCALL): Add 'long int' as return type to
25268         INTERNAL_VSYSCALL_NCS macro invocation.
25269         (INTERNAL_VSYSCALL): Add 'long int' as return type to
25270         INTERNAL_VSYSCALL_NCS macro invocation.
25271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25272
25273 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25274
25275         [BZ #14496]
25276         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25277         Fix application of SIMD FP exception mask.
25278
25279         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25280         mp_no from a power of two.
25281         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25282         __mpexp_twomm1.  Use __pow_mp.
25283
25284         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25285         multiplication.
25286
25287 2013-01-17  David S. Miller  <davem@davemloft.net>
25288
25289         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25290
25291 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25292
25293         [BZ #15023]
25294         * include/complex.h: Condition contents on [!_COMPLEX_H].
25295         (__kernel_casinhf): New prototype.
25296         (__kernel_casinh): Likewise.
25297         (__kernel_casinhl): Likewise.
25298         * math/Makefile (libm_calls): Add k_casinh.
25299         * math/k_casinh.c: New file.
25300         * math/k_casinhf.c: Likewise.
25301         * math/k_casinhl.c: Likewise.
25302         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25303         finite nonzero arguments.
25304         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25305         finite nonzero arguments.
25306         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25307         finite nonzero arguments.
25308         * math/s_casinh.c: Do not include <float.h>.
25309         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25310         * math/s_casinhf.c: Do not include <float.h>.
25311         (__casinhf): Move code for finite nonzero arguments to
25312         k_casinhf.c.
25313         * math/s_casinhl.c: Do not include <float.h>.
25314         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25315         redefine.
25316         (__casinhl): Move code for finite nonzero arguments to
25317         k_casinhl.c.
25318         * math/libm-test.inc (cacos_test): Add more tests.
25319         * sysdeps/i386/fpu/libm-test-ulps: Update.
25320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25321
25322 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
25323
25324         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25325         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25326         [!HAVE_MREMAP]: Remove [defined linux] case.
25327         * malloc/arena.c: Do not include <malloc-sysdep.h>.
25328
25329 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25330
25331         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25332
25333 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
25334
25335         * elf/elf.h (R_386_SIZE32): New relocation.
25336         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25337         R_386_SIZE32.
25338         (elf_machine_rela): Likewise.
25339         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25340         R_X86_64_SIZE64 and R_X86_64_SIZE32.
25341
25342 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25343
25344         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25345         (FP_FAST_FMA): Do not define.
25346         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25347         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25348         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25349         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25350         !_SOFT_FLOAT]: Likewise.
25351         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25352         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25353         value.
25354         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25355         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25356         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25357         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25358         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25359         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25360         file.
25361
25362 2013-01-16  Andreas Schwab  <schwab@suse.de>
25363
25364         [BZ #14327]
25365         * include/stdlib.h (__mktemp): Add declaration.
25366         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25367         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25368
25369 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25370
25371         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25372         definitions.
25373         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25374         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25375         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25376         definitions here.
25377         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25378         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25379         definitions.
25380         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25381         and ONE.
25382         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25383         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25384         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25385         definitions.
25386         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25387         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25388         definitions.
25389         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25390
25391         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25392
25393 2013-01-15  David S. Miller  <davem@davemloft.net>
25394
25395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25396         trunc{,f} to libm-sysdep_routes.
25397         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25399         file.
25400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25402         file.
25403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25404         file.
25405         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25406         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25407         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25408         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25409         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25410         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25411         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25412         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25413
25414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25415         nearbyint{,f} to libm-sysdep_routes.
25416         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25418         New file.
25419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25420         file.
25421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25422         New file.
25423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25424         file.
25425         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25426         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25427         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25428         file.
25429         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25430         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25431         file.
25432         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25433         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25434         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25435
25436         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25437         libc_feholdexcept and libc_fesetenv.
25438
25439 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
25440
25441         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25442
25443 2013-01-14  David S. Miller  <davem@davemloft.net>
25444
25445         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25446         (SPARC_ASM_VIS2_IFUNC): Likewise.
25447         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25449         use of 'siam' instruction.
25450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25451         Likewise.
25452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25453         Likewise.
25454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25455         Likewise.
25456         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25457         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25458         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25459         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25461         file.
25462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25463         file.
25464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25465         file.
25466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25467         file.
25468         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25469         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25470         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25471         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25473         new VIS2 routines.
25474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25477         Likewise.
25478         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25479         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25480         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25481         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25483         routines to libm-sysdep_routines.
25484         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25485
25486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25487         fdim/fdimf to libm-sysdep_routines.
25488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25489         file.
25490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25492         file.
25493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25494         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25495         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25496         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25497         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25498         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25499         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25500
25501 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25502
25503         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25504         to optimize copies.
25505
25506         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25507         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25508         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25509
25510         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25511         local variable MPTWO.
25512         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25513         Likewise.
25514
25515 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25516
25517         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25518         GLOB_NOESCAPE.
25519
25520 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25521
25522         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25523
25524 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25525
25526         * manual/pattern.texi (glob_t): Document gl_flags.
25527         (glob64_t): Likewise.
25528
25529 2013-01-11  David S. Miller  <davem@davemloft.net>
25530
25531         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25532         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25533         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
25534         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25535         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25536         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25537         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25538         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25539         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25540         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25541         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25542         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25543         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25544
25545         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25546         sparc V9 rather than using V8 code.
25547         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25548         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25549
25550         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25551         Move to...
25552         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25553         Here.
25554
25555 2013-01-11  Roland McGrath  <roland@hack.frob.com>
25556
25557         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25558         not in the main loop.
25559         * configure: Regenerated.
25560
25561 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
25562
25563         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25564         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25565         to just #else.
25566         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
25567         [!__GLIBC_HAVE_LONG_LONG] case.
25568         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25569         condition to just #else.
25570         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25571         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25572         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25573         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25574         unconditional.
25575         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25576         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25577         #elif condition to just #else.
25578         * sysdeps/unix/sysv/linux/sys/sysmacros.h
25579         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25580         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25581         #elif condition to just #else.
25582
25583 2013-01-11  Steve Ellcey  <sellcey@mips.com>
25584
25585         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25586         (EF_MIPS_ARCH_64): Fix value.
25587         (EF_MIPS_ARCH_32R2): New.
25588         (EF_MIPS_ARCH_64R2): New.
25589
25590 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
25591
25592         * Makeconfig (+link-pie-before-libc): New.
25593         (+link-pie-after-libc): Likewise.
25594         (+link-pie-tests): Likewise.
25595         (+link-pie): Rewritten.
25596         (link-before-libc): Remove $(config-LDFLAGS).
25597         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25598         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25599         (config-LDFLAGS): Renamed to ...
25600         (rtld-LDFLAGS): This.
25601         (rtld-tests-LDFLAGS): New macro.
25602         (link-libc-rpath-link): Likewise.
25603         (link-libc-tests-rpath-link): Likewise.
25604         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25605         (link-libc): Prepand $(link-libc-rpath-link).
25606         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25607         (test-program-prefix): New macro.
25608         (test-via-rtld-prefix): Likewise.
25609         (test-program-cmd): Likewise.
25610         (host-test-program-cmd): Likewise.
25611         * Makefile ($(common-objpfx)testrun.sh): Replace
25612         $(run-program-prefix) with $(test-program-prefix).
25613         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25614         $(rtld-LDFLAGS).
25615         ($(common-objpfx)shlib.lds): Likewise.
25616         (build-module-helper): Likewise.
25617         ($(common-objpfx)format.lds): Likewise.
25618         * Rules (binaries-pie-tests): New.
25619         (binaries-pie-notests): Likewise.
25620         (binaries-pie): Rewritten.
25621         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25622         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25623         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25624         (make-test-out): Replace $(host-built-program-cmd) with
25625         $(host-test-program-cmd).
25626         * config.make.in (build-hardcoded-path-in-tests): New variable.
25627         * configure.in (--enable-hardcoded-path-in-tests): New configure
25628         option.
25629         (hardcoded_path_in_tests): New AC_SUBST.
25630         * configure: Regenerated.
25631         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25632         $(built-program-cmd) with $(test-program-cmd).
25633         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25634         (test_program_cmd): This.
25635         * elf/Makefile ($(objpfx)order.out): Run test with
25636         $(test-program-prefix).
25637         ($(objpfx)order2.out): Likewise.
25638         ($(objpfx)tst-initorder.out): Likewise.
25639         ($(objpfx)tst-initorder2.out): Likewise.
25640         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25641         $(test-program-cmd).
25642         ($(objpfx)tst-array1-static.out): Likewise.
25643         ($(objpfx)tst-array2.out): Likewise.
25644         ($(objpfx)tst-array3.out): Likewise.
25645         ($(objpfx)tst-array4.out): Likewise.
25646         ($(objpfx)tst-array5.out): Likewise.
25647         ($(objpfx)tst-array5-static.out): Likewise.
25648         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25649         $(test-program-cmd).
25650         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25651         $(run-program-prefix) with $(test-program-prefix).
25652         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25653         (test_program_prefix): This.
25654         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25655         $(run-program-prefix) with $(test-program-prefix).
25656         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25657         (test_program_prefix): This.
25658         * iconvdata/tst-tables.sh: Likewise.
25659         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25660         $(run-program-prefix) with $(test-program-prefix).
25661         ($(objpfx)tst-translit.out): Likewise.
25662         ($(objpfx)tst-gettext2.out): Likewise.
25663         ($(objpfx)tst-gettext4.out): Likewise.
25664         ($(objpfx)tst-gettext6.out): Likewise.
25665         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25666         (test_program_prefix): This.
25667         * intl/tst-gettext2.sh: Likewise.
25668         * intl/tst-gettext4.sh  Likewise.
25669         * intl/tst-gettext6.sh: Likewise.
25670         * intl/tst-translit.sh: Likewise.
25671         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25672         with $(test-program-cmd).
25673         * libio/Makefile ($(objpfx)test-freopen.out): Replace
25674         $(run-program-prefix) with $(test-program-prefix).
25675         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25676         (test_program_prefix): This.
25677         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25678         $(run-program-prefix) with $(test-program-prefix).
25679         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25680         (test_program_prefix): This.
25681         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25682         * posix/Makefile ($(objpfx)globtest.out): Replace
25683         $(run-via-rtld-prefix) and $(test-wrapper) with
25684         $(test-program-prefix) and $(test-via-rtld-prefix).
25685         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25686         $(test-program-prefix).
25687         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25688         $(host-test-program-cmd).
25689         (tst-spawn-ARGS): Likewise.
25690         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25691         $(test-program-prefix).
25692         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25693         (test_via_rtld_prefix): This.
25694         (test_wrapper): Renamed to ...
25695         (test_program_prefix): This.
25696         (run_program_prefix): Replaced by test_program_prefix.
25697         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25698         (test_program_prefix): This.
25699         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25700         with $(host-test-program-cmd).
25701         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25702         $(run-program-prefix) with $(test-program-prefix).
25703         ($(objpfx)tst-printf.out): Likewise.
25704         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25705         $(test-program-cmd).
25706         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25707         (test_program_prefix): This.
25708         * stdio-common/tst-unbputc.sh: Likewise.
25709         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25710         $(run-program-prefix) with $(test-program-prefix).
25711         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25712         (test_program_prefix): This.
25713         * string/Makefile ($(objpfx)tst-svc.out):  Replace
25714         $(built-program-cmd) with $(test-program-cmd).
25715
25716 2013-01-11  Andreas Jaeger  <aj@suse.de>
25717
25718         [BZ #15003]
25719         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25720         value. Sync with Linux 3.7.
25721
25722 2013-01-10  David S. Miller  <davem@davemloft.net>
25723
25724         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25725         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25726         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25727
25728 2013-01-10  Roland McGrath  <roland@hack.frob.com>
25729
25730         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25731         never set.
25732         * configure: Regenerated.
25733
25734 2013-01-10  David S. Miller  <davem@davemloft.net>
25735
25736         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25737         sparc V9 rather than using V8 code.
25738         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25739         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25740
25741 2013-01-10  Roland McGrath  <roland@hack.frob.com>
25742
25743         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25744         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25745         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25746         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25747         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25748         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25749         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25750         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25751         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25752         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25753         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25754         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25755         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25756         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25757         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25758         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25759         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25760         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25761         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25762         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25763         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25764         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25765         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25766         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25767         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25768         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25769         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25770
25771 2013-01-10  David S. Miller  <davem@davemloft.net>
25772
25773         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25774
25775 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
25776
25777         * posix/Makefile (tests-static): New variable.
25778         (tests): Add $(tests-static).
25779         (tst-exec-static-ARGS): New variable.
25780         (tst-spawn-static-ARGS): Likewise.
25781         * posix/tst-exec-static.c: New file.
25782         * posix/tst-spawn-static.c: Likewise.
25783         * posix/tst-exec.c: Support run directly.
25784         * posix/tst-spawn.c: Likewise.
25785
25786 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
25787
25788         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25789         long.
25790         * math/bits/mathcalls.h (llrint): Likewise.
25791         (llround): Likewise.
25792         * stdlib/stdlib.h (struct drand48_data): Likewise.
25793         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25794         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25795         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25796         Likewise.
25797         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25798         Likewise.
25799         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25800         (elf_greg_t): Likewise.
25801         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25802         (__jmp_buf): Likewise.
25803         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25804         definitions.
25805         (llrint): Likewise, for all definitions.
25806         (llrintl): Likewise.
25807
25808         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25809         Remove [__GNUC__] condition.
25810         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25811         condition to just [__USE_ISOC99].
25812         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25813
25814 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
25815
25816         [BZ #14200]
25817         * sysdeps/unix/sysv/linux/x86/bits/environments.h
25818         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25819         defined.
25820         (_POSIX_V6_ILP32_OFF32): Likewise.
25821         (_XBS5_ILP32_OFF32): Likewise.
25822         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25823         (__ILP32_OFFBIG_LDFLAGS): Likewise.
25824
25825 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25826
25827         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25828
25829         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25830         doubles __mpexp_twomm1.  Adjust usage.
25831         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25832         Remove.
25833
25834 2013-01-10  Andreas Schwab  <schwab@suse.de>
25835
25836         [BZ #14964]
25837         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25838         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25839
25840 2013-01-09  David S. Miller  <davem@davemloft.net>
25841
25842         [BZ #15003]
25843         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25844         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25845         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25846         (TCP_FASTOPEN): Define.
25847         (tcp_repair_opt): New structure.
25848         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25849         enum values.
25850         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25851         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25852         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25853         (tcp_cookie_transactions): New structure.
25854
25855 2013-01-09  Anton Blanchard  <anton@samba.org>
25856
25857         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25858         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25859         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25860         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25861
25862 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
25863
25864         * include/features.h (__USE_ANSI): Remove.
25865
25866 2013-01-09  Roland McGrath  <roland@hack.frob.com>
25867
25868         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25869
25870         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25871
25872 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
25873
25874         * sysdeps/s390/fpu/libm-test-ulps: Update.
25875
25876         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25877
25878         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25879         (__acr): Likewise.
25880         (__cpy): Likewise.
25881         (norm): Likewise.
25882         (denorm): Likewise.
25883         (__mp_dbl): Likewise.
25884         (__dbl_mp): Likewise.
25885         (add_magnitudes): Likewise.
25886         (sub_magnitudes): Likewise.
25887         (__add): Likewise.
25888         (__sub): Likewise.
25889         (__mul): Likewise.
25890         (__inv): Likewise.
25891         (__dvd): Likewise.
25892         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25893         (__acr): Likewise.
25894         (__cpy): Likewise.
25895         (norm): Likewise.
25896         (denorm): Likewise.
25897         (__mp_dbl): Likewise.
25898         (__dbl_mp): Likewise.
25899         (add_magnitudes): Likewise.
25900         (sub_magnitudes): Likewise.
25901         (__add): Likewise.
25902         (__sub): Likewise.
25903         (__mul): Likewise.
25904         (__inv): Likewise.
25905         (__dvd): Likewise.
25906         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25907         (__acr): Likewise.
25908         (__cpy): Likewise.
25909         (norm): Likewise.
25910         (denorm): Likewise.
25911         (__mp_dbl): Likewise.
25912         (__dbl_mp): Likewise.
25913         (add_magnitudes): Likewise.
25914         (sub_magnitudes): Likewise.
25915         (__add): Likewise.
25916         (__sub): Likewise.
25917         (__mul): Likewise.
25918         (__inv): Likewise.
25919         (__dvd): Likewise.
25920
25921 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
25922
25923         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25924         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25925         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25926         2 && __USE_EXTERN_INLINES]: Likewise.
25927
25928 2013-01-08  Andreas Jaeger  <aj@suse.de>
25929
25930         [BZ# 14985]
25931         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25932         Remove.
25933         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25934         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25935
25936 2013-01-07  Anton Blanchard  <anton@samba.org>
25937
25938         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25939         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25940         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25941         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25942         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25943         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25944         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25945         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25946         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25947         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25948         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25949         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25950         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25951         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25952         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25953         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25954         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25955         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25956         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25957         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25958         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25959         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25960         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25961         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25962         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25963         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25964         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25965         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25966         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25967         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25968         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25969         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25970         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25971         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25972         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25973         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25974         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25975         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25976         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25977         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25978         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25979         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25980         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25981
25982 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
25983
25984         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25985         (__MALLOC_PMT): Likewise.
25986         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25987         [__GNUC__], only on [_LIBC].
25988         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25989         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25990         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25991         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25992         forward declaration.
25993         (realloc_hook_ini): Likewise.
25994         (memalign_hook_ini): Likewise.
25995         (__libc_memalign): Do not use __MALLOC_PMT in variable
25996         declaration.
25997         (__libc_valloc): Likewise.
25998         (__libc_pvalloc): Likewise.
25999         (__libc_calloc): Likewise.
26000         (__posix_memalign): Likewise.
26001
26002         [BZ #14996]
26003         * math/s_casinh.c: Include <float.h>.
26004         (__casinh): Do not do computation with squaring and square root
26005         for large arguments.
26006         * math/s_casinhf.c: Include <float.h>.
26007         (__casinhf): Do not do computation with squaring and square root
26008         for large arguments.
26009         * math/s_casinhl.c: Include <float.h>.
26010         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26011         (__casinhl): Do not do computation with squaring and square root
26012         for large arguments.
26013         * math/libm-test.inc (casin_test): Add more tests.
26014         (casinh_test): Likewise.
26015         * sysdeps/i386/fpu/libm-test-ulps: Update.
26016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26017
26018 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
26019
26020         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26021         (__x86_64_raw_data_cache_size): Likewise.
26022         (__x86_64_data_cache_size_half): Likewise.
26023         (__x86_64_raw_data_cache_size_half): Likewise.
26024         (__x86_64_shared_cache_size): Likewise.
26025         (__x86_64_raw_shared_cache_size): Likewise.
26026         (__x86_64_shared_cache_size_half): Likewise.
26027         (__x86_64_raw_shared_cache_size_half): Likewise.
26028         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26029         to ...
26030         (__x86_data_cache_size): This.
26031         (__x86_64_raw_data_cache_size): Renamed to ...
26032         (__x86_raw_data_cache_size): This.
26033         (__x86_64_data_cache_size_half): Renamed to ...
26034         (__x86_data_cache_size_half): This.
26035         (__x86_64_raw_data_cache_size_half): Renamed to ...
26036         (__x86_raw_data_cache_size_half): This.
26037         (__x86_64_shared_cache_size): Renamed to ...
26038         (__x86_shared_cache_size): This.
26039         (__x86_64_raw_shared_cache_size): Renamed to ...
26040         (__x86_raw_shared_cache_size): This.
26041         (__x86_64_shared_cache_size_half): Renamed to ...
26042         (__x86_shared_cache_size_half): This.
26043         (__x86_64_raw_shared_cache_size_half): Renamed to ...
26044         (__x86_raw_shared_cache_size_half): This.
26045         * sysdeps/x86_64/memcpy.S: Updated.
26046         * sysdeps/x86_64/memset.S: Likewise.
26047         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26048         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26049         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26050
26051 2013-01-04  David S. Miller  <davem@davemloft.net>
26052
26053         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26054
26055 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
26056
26057         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26058         1 to avoid redefinition warning.
26059         (__USE_GNU): Don't define.
26060         (init_signaling_nan): Protoize.
26061
26062         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26063
26064 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26065
26066         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26067         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26068         (__cpymn): Likewise.
26069         (norm): Remove commented code.
26070         (denorm): Likewise.
26071         (__mp_dbl): Likewise.
26072         (__inv): Likewise.
26073         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26074         (__cpymn): Likewise.
26075         (norm): Remove commented code.
26076         (denorm): Likewise.
26077         (__mp_dbl): Likewise.
26078         (__inv): Likewise.
26079
26080         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26081         mp_no value for 1.0 and 2.0.
26082         (norm): Use RADIXI instead of radixi.d.
26083         (denorm): Likewise.
26084         (__mul): Use 0.0 instead of zero.d.
26085         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26086         mp_no value for 1.0 and 2.0.
26087         (norm): Use RADIXI instead of radixi.d.
26088         (denorm): Likewise.
26089         (__mul): Use 0.0 instead of zero.d.
26090
26091 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
26092
26093         [BZ #14994]
26094         * math/s_casinh.c (__casinh): Reduce finite argument to first
26095         quadrant then set signs of results at the end.
26096         * math/s_casinhf.c (__casinhf): Likewise.
26097         * math/s_casinhl.c (__casinhl): Likewise.
26098         * math/libm-test.inc (casin_test): Add more tests.
26099         (casinh_test): Likewise.
26100         * sysdeps/i386/fpu/libm-test-ulps: Update.
26101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26102
26103 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26104
26105         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26106
26107         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26108
26109         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26110         declarations.
26111         (denorm): Likewise.
26112         (__mp_dbl): Likewise.
26113         (__inv): Likewise.
26114
26115         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26116         and adjust the header comment.
26117
26118         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26119         variable name from declaration.
26120
26121 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
26122
26123         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26124         Initialize COMMON_CPUID_INDEX_7 element.
26125         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26126         (CPUID_RTM): Likewise.
26127         (HAS_RTM): Likewise.
26128         (COMMON_CPUID_INDEX_7): New enum.
26129
26130 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
26131
26132         [BZ #14981]
26133         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26134         size is zero, record memory as freed.
26135
26136 2013-01-03  Andreas Jaeger  <aj@suse.de>
26137
26138         * po/ia.po: Add new Interlingua translation.
26139
26140 2012-01-03  Allan McRae  <allan@archlinux.org>
26141
26142         * locale/programs/localedef.c: Fix description of '--posix' flag.
26143
26144 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
26145
26146         * NEWS: Update dates in second copyright notice.
26147         * README: Update copyright dates in example.
26148         * manual/libc.texinfo: Update copyright dates.
26149         * scripts/test-installation.pl: Update copyright date in --version
26150         output.
26151
26152         * hurd/ctty-input.c: Fix copyright notice formatting.
26153         * hurd/ctty-output.c: Likewise.
26154         * hurd/dtable.c: Likewise.
26155         * hurd/hurd-raise.c: Likewise.
26156         * hurd/hurdprio.c: Likewise.
26157         * hurd/msgportdemux.c: Likewise.
26158         * misc/sys/file.h: Likewise.
26159         * misc/sys/ioctl.h: Likewise.
26160         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26161         * sysdeps/mach/hurd/chdir.c: Likewise.
26162         * sysdeps/mach/hurd/fchdir.c: Likewise.
26163         * sysdeps/mach/hurd/rename.c: Likewise.
26164         * sysdeps/mach/hurd/rmdir.c: Likewise.
26165         * sysdeps/mach/hurd/seekdir.c: Likewise.
26166         * sysdeps/mach/hurd/setsid.c: Likewise.
26167         * sysdeps/posix/wait3.c: Likewise.
26168
26169         * All files with FSF copyright notices: Update copyright dates
26170         using scripts/update-copyrights.
26171         * intl/plural.c: Regenerated.
26172         * locale/programs/charmap-kw.h: Likewise.
26173         * locale/programs/locfile-kw.h: Likewise.
26174
26175 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26176
26177         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26178         four values.
26179
26180         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26181         calculation loop and add branch prediction.
26182
26183         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26184         check access beyond bounds of m1np.
26185
26186         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26187         MPTWO.
26188         (__inv): Remove local variable MPTWO to use the global
26189         constant.
26190         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26191         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26192         variable MPTWO.
26193         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26194         MP3HALFS static const.
26195
26196 2013-01-01  David S. Miller  <davem@davemloft.net>
26197
26198         * po/ca.po: Update from translation team.
26199
26200 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
26201
26202         * scripts/update-copyrights: New file.
26203         * Makeconfig: Reformat copyright notice.
26204         * ctype/ctype.h: Likewise.
26205         * debug/swprintf_chk.c: Likewise.
26206         * elf/dl-cache.c: Likewise.
26207         * elf/dl-debug.c: Likewise.
26208         * elf/dl-object.c: Likewise.
26209         * grp/initgroups.c: Likewise.
26210         * hurd/Makefile: Likewise.
26211         * hurd/hurd/signal.h: Likewise.
26212         * hurd/hurdfault.c: Likewise.
26213         * hurd/hurdioctl.c: Likewise.
26214         * hurd/hurdlookup.c: Likewise.
26215         * hurd/intr-msg.c: Likewise.
26216         * iconv/gconv_open.c: Likewise.
26217         * libio/swprintf.c: Likewise.
26218         * locale/lc-ctype.c: Likewise.
26219         * locale/nl_langinfo.c: Likewise.
26220         * mach/Machrules: Likewise.
26221         * mach/Makefile: Likewise.
26222         * malloc/obstack.h: Likewise.
26223         * manual/Makefile: Likewise.
26224         * manual/tsort.awk: Likewise.
26225         * misc/bits/stab.def: Likewise.
26226         * nis/nis_print_group_entry.c: Likewise.
26227         * nis/nis_table.c: Likewise.
26228         * nis/nss_compat/compat-pwd.c: Likewise.
26229         * nis/nss_compat/compat-spwd.c: Likewise.
26230         * po/Makefile: Likewise.
26231         * posix/fnmatch.c: Likewise.
26232         * posix/regex.h: Likewise.
26233         * resolv/Makefile: Likewise.
26234         * resolv/nss_dns/dns-network.c: Likewise.
26235         * resolv/res_hconf.c: Likewise.
26236         * scripts/gen-sorted.awk: Likewise.
26237         * soft-fp/soft-fp.h: Likewise.
26238         * stdio-common/printf.h: Likewise.
26239         * stdlib/monetary.h: Likewise.
26240         * stdlib/random.c: Likewise.
26241         * stdlib/random_r.c: Likewise.
26242         * sysdeps/generic/Makefile: Likewise.
26243         * sysdeps/gnu/Makefile: Likewise.
26244         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26245         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26246         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26247         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26248         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26249         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26250         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26251         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26252         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26253         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26254         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26255         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26256         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26257         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26258         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26259         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26260         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26261         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26262         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26263         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26264         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26265         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26266         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26267         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26268         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26269         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26270         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26271         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26272         * sysdeps/mach/hurd/errnos.awk: Likewise.
26273         * sysdeps/mach/hurd/fork.c: Likewise.
26274         * sysdeps/mach/hurd/getcwd.c: Likewise.
26275         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26276         * sysdeps/mach/hurd/mmap.c: Likewise.
26277         * sysdeps/mach/hurd/utimes.c: Likewise.
26278         * sysdeps/mach/hurd/xmknod.c: Likewise.
26279         * sysdeps/posix/profil.c: Likewise.
26280         * sysdeps/posix/readdir_r.c: Likewise.
26281         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26282         * sysdeps/powerpc/bits/setjmp.h: Likewise.
26283         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26284         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26285         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26286         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26287         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26288         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26289         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26290         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26291         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26292         * sysdeps/pthread/lio_listio.c: Likewise.
26293         * sysdeps/sparc/dl-procinfo.h: Likewise.
26294         * sysdeps/unix/i386/sysdep.S: Likewise.
26295         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26296         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26297         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26298         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26300         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26301         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26302         * sysdeps/unix/sysv/linux/speed.c: Likewise.
26303         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26304         * sysdeps/wordsize-32/divdi3.c: Likewise.
26305         * time/sys/time.h: Likewise.
26306         * wcsmbs/Makefile: Likewise.
26307
26308 2013-01-01  David S. Miller  <davem@davemloft.net>
26309
26310         * po/fr.po: Update from translation team.
26311
26312         * catgets/gencat.c: Update copyright year.
26313         * csu/version.c: Likewise.
26314         * debug/catchsegv.sh: Likewise.
26315         * debug/pcprofiledump.c: Likewise.
26316         * debug/xtrace.sh: Likewise.
26317         * elf/ldconfig.c: Likewise.
26318         * elf/ldd.bash.in: Likewise.
26319         * elf/pldd.c: Likewise.
26320         * elf/sotruss.ksh: Likewise.
26321         * elf/sprof.c: Likewise.
26322         * iconv/iconv_prog.c: Likewise.
26323         * iconv/iconvconfig.c: Likewise.
26324         * locale/programs/locale.c: Likewise.
26325         * locale/programs/localedef.c: Likewise.
26326         * login/programs/pt_chown.c: Likewise.
26327         * malloc/memusage.sh: Likewise.
26328         * malloc/memusagestat.c: Likewise.
26329         * malloc/mtrace.pl: Likewise.
26330         * nscd/nscd.c: Likewise.
26331         * nss/getent.c: Likewise.
26332         * nss/makedb.c: Likewise.
26333         * posix/getconf.c: Likewise.
26334
26335 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26336
26337         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26338         numbers.
26339
26340 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
26341
26342         * math/bits/mathcalls.h (modf): Use __nonnull.
26343
26344 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26345
26346         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26347         (split): Use macro CN instead of the bare value.
26348         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26349         could be used.
26350         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26351         instead of the bare value.
26352         (power1): Likewise.
26353
26354 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26355
26356         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26357         __ATAN_TWOM.
26358         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26359
26360         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26361         their values.
26362         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26363         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26364         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26365         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26366
26367 2012-12-28  Andreas Jaeger  <aj@suse.de>
26368
26369         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
26370         values are from Linux 3.7.
26371
26372         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26373         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
26374
26375 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26376
26377         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26378         TRUE case.
26379
26380         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26381         (norm): Likewise.
26382         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26383         variables with preprocessor constants.
26384         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26385         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26386         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26387
26388 2012-12-27  Bruno Haible  <bruno@clisp.org>
26389
26390         [BZ #14317]
26391         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26392         only if needed.
26393
26394 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26395
26396         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26397         and use variable directly.
26398         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26399
26400         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26401         MPONE.
26402         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26403         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26404         variable MPONE.
26405         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26406         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26407         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26408         include directive.  Remove local variable MPONE.
26409         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26410         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26411         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26412
26413 2012-12-25  David S. Miller  <davem@davemloft.net>
26414
26415         * version.h (RELEASE): Set to "development".
26416         (VERSION): Set to "2.17.90".
26417         * NEWS: Add 2.18 section.
26418
26419 2012-12-21  David S. Miller  <davem@davemloft.net>
26420
26421         * po/hr.po: Update from translation team.
26422
26423 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26424
26425         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26426
26427 2012-12-19  Steve Ellcey  <sellcey@mips.com>
26428
26429         * NEWS:  Mention new memcpy for MIPS.
26430
26431 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26432
26433         * manual/contrib.texi (Contributors): Spelling correction.
26434
26435 2012-12-15  David S. Miller  <davem@davemloft.net>
26436
26437         * po/ru.po: Update from translation team.
26438
26439 2012-12-13  David S. Miller  <davem@davemloft.net>
26440
26441         * NEWS: Mention IFUNC testsuite enhancements.
26442
26443         * po/pl.po: Update from translation team.
26444         * po/bg.po: Likewise.
26445
26446         * manual/contrib.texi (Contributors): Update entries for Hongjiu
26447         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
26448
26449 2012-12-11  David S. Miller  <davem@davemloft.net>
26450
26451         * po/sv.po: Update from translation team.
26452
26453         * po/vi.po: Update from translation team.
26454
26455         * po/cs.po: Update from translation team.
26456
26457         * po/de.po: Update from translation team.
26458         * po/eo.po: Likewise.
26459         * po/nl.po: Likewise.
26460
26461 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26462
26463         [BZ #14246]
26464         * manual/argp.texi (Argp Helper Functions): Move node to follow
26465         Argp Parsing State.
26466
26467         [BZ #14872]
26468         * manual/conf.texi (Limits on File System Capacity): Mention if
26469         terminating null is included in the max size.
26470
26471 2012-12-10  Andreas Jaeger  <aj@suse.de>
26472
26473         * po/cs.po: Update from translation team.
26474
26475 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26476
26477         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26478         void pointer and cast to uintptr_t.
26479         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26480         path.
26481         * sysdeps/s390/s390-64/memcpy.S: Likewise.
26482         * sysdeps/s390/s390-64/memset.S: Likewise.
26483
26484 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
26485
26486         [BZ #14833]
26487         * menual/message.texi (Message Translation): Fix typos.
26488         (Helper programs for gettext): Likewise.
26489
26490 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
26491
26492         [BZ #14898]
26493         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26494         Change to -1.
26495
26496 2012-12-07  David S. Miller  <davem@davemloft.net>
26497
26498         * po/libc.pot: Update.
26499
26500 2012-12-07  Richard Henderson  <rth@redhat.com>
26501
26502         [BZ #10114]
26503         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26504         normal/normal case to before the switch.
26505         (_FP_DIV): Likewise.
26506
26507 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
26508             Mike Frysinger  <vapier@gentoo.org>
26509
26510         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26511         check for __NR_fadvise64_64.
26512
26513 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
26514
26515         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26516         0, not just to plain "0" as a statement.
26517         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26518         with cw.
26519
26520 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
26521
26522         * NEWS: Use sourceware.org in Bugzilla URL.
26523
26524 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26525
26526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26527         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26528
26529         * stdio-common/tst-put-error.c (do_test): Add newline to the
26530         padded test to ensure flush.
26531
26532 2012-12-05  Jeff Law  <law@redhat.com>
26533
26534         * sunrpc/etc.rpc (fedfs_admin): Add entry.
26535
26536 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
26537
26538         * README: Don't refer to ports add-on as distributed separately.
26539         Mention AArch64 in list of systems supported in the ports add-on.
26540
26541         * LICENSES: Add more non-FSF copyright and license notices.
26542
26543         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26544         ((unused)).
26545
26546         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26547
26548         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26549         10000 as width of padded output.
26550
26551 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26552
26553         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26554
26555         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26556         variable LX with __attribute__ ((unused)).
26557         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26558         Likewise.
26559         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26560         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26561         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26562         with __attribute__ ((unused)).
26563
26564 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
26565
26566         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26567
26568 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26569
26570         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26571         (CFLAGS-nldbl-acos.c): New variable.
26572         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26573         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26574         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26575         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26576         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26577         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26578         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26579         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26580         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26581         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26582         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26583         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26584         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26585         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26586         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26587         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26588         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26589         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26590         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26591         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26592         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26593         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26594         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26595         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26596         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26597         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26598         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26599         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26600         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26601         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26602         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26603         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26604         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26605         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26606         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26607         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26608         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26609         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26610         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26611         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26612         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26613         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26614         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26615         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26616         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26617         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26618         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26619         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26620         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26621         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26622         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26623         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26624         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26625         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26626         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26627         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26628         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26629         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26630         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26631         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26632         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26633         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26634         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26635         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26636         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26637         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26638         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26639         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26640         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26641         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26642         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26643         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26644         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26645         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26646         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26647         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26648         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26649         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26650         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26651         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26652         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26653         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26654         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26655         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26656         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26657         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26658         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26659         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26660         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26661         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26662         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26663         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26664         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26665         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26666         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26667         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26668         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26669
26670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26671         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26672
26673         [BZ #14914]
26674         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26675         whole low double instead of just low 47 bits when splitting values
26676         into two parts.
26677
26678 2012-12-03  Allan McRae  <allan@archlinux.org>
26679
26680         * manual/stdio.texi (Predefined Printf Handlers): Remove
26681         @hsep and @vsep usage.
26682
26683 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
26684
26685         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26686         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26687
26688 2012-12-03  Jeff Law  <law@redhat.com>
26689
26690         * time/sys/time.h (settimeofday): Do not mark TV argument
26691         as __nonnull.
26692
26693 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
26694
26695         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26696         when currently writing and seek to current position when not.
26697         * libio/Makefile (tests): Remove bug-fclose1.
26698         * libio/bug-fclose1.c: Delete.
26699
26700 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
26701
26702         * manual/arith.texi (feenableexcept): Fix typo.
26703         (fedisableexcept): Likewise.
26704
26705 2012-11-30  Roland McGrath  <roland@hack.frob.com>
26706
26707         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26708         second, differently-typed declaration, rather than a cast.
26709
26710 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26711
26712         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26713         * include/rpc/svc.h: ... here.
26714
26715 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
26716
26717         [BZ #13013]
26718         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26719         depending n and resplen2 to catch cases where answer
26720         equals answerp2.
26721
26722 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
26723
26724         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26725         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26726
26727 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
26728
26729         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26730
26731 2012-11-29  Roland McGrath  <roland@hack.frob.com>
26732
26733         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26734
26735 2012-11-28  Jeff Law  <law@redhat.com>
26736
26737         [BZ #13761]
26738         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26739         dataset_temporary.  Track alloca usage into alloca_used.
26740         If dataset is large allocate and release it via malloc/free.
26741
26742 2012-06-04  Florian Weimer  <fweimer@redhat.com>
26743
26744         [BZ #14197]
26745         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26746
26747 2012-11-28  David S. Miller  <davem@davemloft.net>
26748
26749         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26750
26751 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
26752
26753         [BZ #14803]
26754         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26755         of pi/2 rounded to nearest to 64 bits.
26756         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26757         nearest to 64 bits.
26758         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26759         bits.
26760
26761 2012-11-28  Jeff Law <law@redhat.com>
26762             Martin Osvald <mosvald@redhat.com>
26763
26764         [BZ #14889]
26765         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26766         * sunrpc/svc.c: Include time.h.
26767         (__svc_accept_failed): New function.
26768         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26769         any reason other than EINTR, call __svc_accept_failed.
26770         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26771         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26772
26773 2012-11-28  Andreas Schwab  <schwab@suse.de>
26774
26775         * scripts/abilist.awk: Also handle indirect functions in .opd
26776         section.
26777
26778 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
26779
26780         [BZ #13881]
26781         * sysdeps/x86/fpu/powl_helper.c: New file.
26782         * sysdeps/x86/fpu/Makefile: Likewise.
26783         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26784         (p3): New object.
26785         (__ieee754_powl): Use __powl_helper for finite arguments except
26786         integer exponents below 8.
26787         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26788         (p3): New object.
26789         (__ieee754_powl): Use __powl_helper for finite arguments except
26790         integer exponents below 8.
26791         * math/libm-test.inc (pow_test): Add more tests and enable some
26792         previously disabled tests.
26793         * sysdeps/i386/fpu/libm-test-ulps: Update.
26794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26795
26796 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26797             Carlos O'Donell  <carlos_odonell@mentor.com>
26798
26799         * nss/makedb.c (is_prime): Assert that input is odd and greater
26800         than 4.  Note that fact in a comment too.
26801         (next_prime): Add 4 to input.
26802
26803 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26804
26805         [BZ #11741]
26806         * libio/Makefile (tests): Add test case tst-fwrite-error.
26807         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26808         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26809         * libio/tst-fwrite-error.c: New test case.
26810
26811 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
26812
26813         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26814         before casting to void *.
26815         * include/libc-internal.h (__pointer_type): New macro.
26816         (__integer_if_pointer_type_sub): Likewise.
26817         (__integer_if_pointer_type): Likewise.
26818         (cast_to_integer): Likewise.
26819         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26820         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26821         before casting to atomic64_t.
26822         (atomic_exchange_acq): Likewise.
26823         (__arch_exchange_and_add_body): Likewise.
26824         (__arch_add_body): Likewise.
26825         (atomic_add_negative): Likewise.
26826         (atomic_add_zero): Likewise.
26827
26828 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
26829
26830         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26831         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26832         (add_fdes): Likewise.
26833         (linear_search_fdes): Likewise.
26834         (binary_search_unencoded_fdes): Likewise.
26835
26836 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
26837
26838         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26839
26840 2012-11-24  Adam Conrad  <adconrad@0c3.net>
26841
26842         * configure.in: Autodetect C++ header directories.
26843         * configure: Regenerated.
26844
26845 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
26846
26847         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26848
26849 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
26850
26851         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26852
26853 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
26854
26855         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26856         LDBL_MANT_DIG == 106]: Disable some tests.
26857         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26858         Likewise.
26859         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26860         Likewise.
26861
26862         [BZ #14871]
26863         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26864         input for small inputs.  Return +/- pi/2 for large inputs.
26865         * math/libm-test.inc (atan_test): Add more tests.
26866
26867         * sysdeps/generic/unwind-dw2-fde-glibc.c
26868         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26869         __attribute__ ((unused)).
26870
26871         [BZ #14645]
26872         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26873         x * y if x and y are nonzero and z is zero.
26874
26875         [BZ #14811]
26876         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26877         nonzero exponents with absolute value below 0x1p-117 to +/-
26878         0x1p-117.
26879
26880         [BZ #14869]
26881         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26882         up arguments below 2**-450, not just those below 2**-500.
26883         * math/libm-test.inc (hypot_test): Add another test.
26884
26885         [BZ #14868]
26886         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26887         Return a+b for ratio over 2**120, not 2**60.
26888         * math/libm-test.inc (hypot_test): Add another test.
26889
26890         * math/libm-test.inc (clog_test): Use
26891         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26892         (clog10_test): Likewise.
26893
26894         [BZ #6778]
26895         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26896
26897 2012-11-22  Andreas Schwab  <schwab@suse.de>
26898
26899         * sysdeps/i386/fpu/libm-test-ulps: Update.
26900
26901 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
26902
26903         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26904         printf output with newline.
26905
26906 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
26907
26908         [BZ #14865]
26909         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26910         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26911         -z nodlopen, -z initfirst and -z execstack support.
26912         * configure: Regenerated.
26913
26914         * elf/elf.h (DF_1_NODIRECT): New macro.
26915         (DF_1_IGNMULDEF): Likewise.
26916         (DF_1_NOKSYMS): Likewise.
26917         (DF_1_NOHDR): Likewise.
26918         (DF_1_EDITED): Likewise.
26919         (DF_1_NORELOC): Likewise.
26920         (DF_1_SYMINTPOSE): Likewise.
26921         (DF_1_GLOBAUDIT): Likewise.
26922         (DF_1_SINGLETON): Likewise.
26923         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26924         DT_1_SUPPORTED_MASK bits.
26925         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26926
26927 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
26928
26929         * sysdeps/unix/make-syscalls.sh: Document prefixes.
26930
26931 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
26932
26933         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26934         macro.
26935
26936         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26937         (sendmmsg): Move declarations...
26938         * socket/sys/socket.h: ... here.
26939         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26940         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26941         include it from...
26942         * socket/recvmmsg.c: ... this new file.
26943         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26944         (sendmmsg): Rename to __sendmmsg, create weak alias and make
26945         definition of __sendmmsg hidden.
26946         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26947         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26948         Move ENOSYS stub into and include it from...
26949         * socket/sendmmsg.c: ... this new file.
26950         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26951         (sysdep_routines): Move recvmmsg and sendmmsg...
26952         * socket/Makefile (routines): ... here.
26953         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26954         (GLIBC_PRIVATE): Add __sendmmsg.
26955         * include/sys/socket.h (__sendmmsg): Add declarations.
26956         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26957         sendmmsg.
26958
26959 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
26960
26961         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26962         variable I1 with __attribute__ ((unused)).
26963         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26964
26965 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
26966
26967         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26968         DUMMY variables with __attribute__ ((unused)).
26969
26970         * bits/byteswap.h: Include <bits/types.h>.
26971         (__bswap_64): Use __uint64_t instead of unsigned long long int.
26972
26973 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
26974
26975         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26976         string_t.  Do not manually set errno.
26977         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26978         length with __strnlen.  Make sure to both set errno and return it on
26979         failure.
26980
26981 2012-11-19  David S. Miller  <davem@davemloft.net>
26982
26983         With help from Joseph Myers.
26984         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26985         very large arguments properly.
26986         * math/libm-test.inc (atan_test): New tests.
26987         (atan2_test): New tests.
26988         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26989         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26990
26991 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
26992
26993         [BZ #14856]
26994         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26995         Define to 3.
26996
26997         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26998         [POSIX] (EADDRNOTAVAIL): Likewise.
26999         [POSIX] (EAFNOSUPPORT): Likewise.
27000         [POSIX] (EALREADY): Likewise.
27001         [POSIX] (ECONNABORTED): Likewise.
27002         [POSIX] (ECONNREFUSED): Likewise.
27003         [POSIX] (ECONNRESET): Likewise.
27004         [POSIX] (EDESTADDRREQ): Likewise.
27005         [POSIX] (EDQUOT): Likewise.
27006         [POSIX] (EHOSTUNREACH): Likewise.
27007         [POSIX] (EIDRM): Likewise.
27008         [POSIX] (EISCONN): Likewise.
27009         [POSIX] (ELOOP): Likewise.
27010         [POSIX] (EMULTIHOP): Likewise.
27011         [POSIX] (ENETDOWN): Likewise.
27012         [POSIX] (ENETUNREACH): Likewise.
27013         [POSIX] (ENOBUFS): Likewise.
27014         [POSIX] (ENODATA): Likewise.
27015         [POSIX] (ENOLINK): Likewise.
27016         [POSIX] (ENOMSG): Likewise.
27017         [POSIX] (ENOPROTOOPT): Likewise.
27018         [POSIX] (ENOSR): Likewise.
27019         [POSIX] (ENOSTR): Likewise.
27020         [POSIX] (ENOTCONN): Likewise.
27021         [POSIX] (ENOTSOCK): Likewise.
27022         [POSIX] (EOPNOTSUPP): Likewise.
27023         [POSIX] (EOVERFLOW): Likewise.
27024         [POSIX] (EPROTO): Likewise.
27025         [POSIX] (EPROTONOSUPPORT): Likewise.
27026         [POSIX] (EPROTOTYPE): Likewise.
27027         [POSIX] (ESTALE): Likewise.
27028         [POSIX] (ETIME): Likewise.
27029         [POSIX] (ETXTBSY): Likewise.
27030         [POSIX] (EWOULDBLOCK): Likewise.
27031         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27032         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27033         [POSIX] (SEEK_CUR): Likewise.
27034         [POSIX] (SEEK_END): Likewise.
27035         [POSIX || UNIX98] (mode_t): Do not require.
27036         [POSIX] (off_t): Likewise.
27037         [POSIX] (pid_t): Likewise.
27038         [POSIX] (sys/stat.h): Do not allow header.
27039         [POSIX] (unistd.h): Likewise.
27040         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27041         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27042         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27043         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27044         require.
27045         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27046         sigevent): Specify elements.
27047         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27048         entry.
27049         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27050         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27051
27052         * conform/data/cpio.h-data [POSIX]: Disable whole file.
27053         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27054         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27055         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27056         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27057         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27058         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27059         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27060         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27061         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27062         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27063         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27064         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27065         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27066         Likewise.
27067         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27068         Likewise.
27069         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27070         Likewise.
27071         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27072         Likewise.
27073         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27074         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27075         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27076         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27077         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27078         Specify lower bound on value.
27079         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27080         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27081         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27082         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27083         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27084         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27085         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27086         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27087         value.
27088         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27089         as optional.
27090         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27091         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27092         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27093         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27094         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27095         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27096         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27097         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27098         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27099         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27100         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27101         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27102         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27103         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27104         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27105         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27106         entry.
27107         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27108         optional.
27109         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27110         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27111         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27112         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27113         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27114         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27115         Likewise.
27116         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27117         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27118         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27119         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27120         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
27121         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27122         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27123         as optional.
27124         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27125         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27126         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27127         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27128         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27129         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27130         specify as optional.
27131         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27132         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27133         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27134         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27135         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27136         [XPG3] (NL_LANGMAX): Likewise.
27137         [POSIX || XPG3] (NL_MSGMAX): Likewise.
27138         [POSIX || XPG3] (NL_NMAX): Likewise.
27139         [POSIX || XPG3] (NL_SETMAX): Likewise.
27140         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27141         [XPG3] (NZERO): Likewise.
27142         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27143         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27144         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27145         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27146         (REG_ERANGE): Expect.
27147         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27148         optional-constant.
27149         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27150         Use (void) in prototype.
27151         [POSIX] (*_t): Allow.
27152         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27153         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27154         (WRDE_BADVAL): Expect.
27155
27156         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27157         expect.
27158         [XPG3 || XPG4] (O_RSYNC): Likewise.
27159         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27160         Likewise.
27161         [XPG3 || XPG4] (pthread_sigmask): Likewise.
27162         [XPG3 || XPG4] (sigqueue): Likewise.
27163         [XPG3 || XPG4] (sigtimedwait): Likewise.
27164         [XPG3 || XPG4] (sigwaitinfo): Likewise.
27165         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27166         [XPG3 || XPG4] (vsnprintf): Likewise.
27167         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27168         Likewise.
27169         [XPG3 || XPG4] (blksize_t): Likewise.
27170         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27171         Likewise.
27172         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27173         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27174         [XPG3 || XPG4] (struct itimerspec): Likewise.
27175         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27176         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27177         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27178         [XPG3 || XPG4] (clockid_t): Likewise.
27179         [XPG3 || XPG4] (timer_t): Likewise.
27180         [XPG3 || XPG4] (clock_getres): Likewise.
27181         [XPG3 || XPG4] (clock_gettime): Likewise.
27182         [XPG3 || XPG4] (clock_settime): Likewise.
27183         [XPG3 || XPG4] (nanosleep): Likewise.
27184         [XPG3 || XPG4] (timer_create): Likewise.
27185         [XPG3 || XPG4] (timer_delete): Likewise.
27186         [XPG3 || XPG4] (timer_gettime): Likewise.
27187         [XPG3 || XPG4] (timer_getoverrun): Likewise.
27188         [XPG3 || XPG4] (timer_settime): Likewise.
27189         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27190         [XPG3 || XPG4] (getlogin_r): Likewise.
27191         [XPG3 || XPG4] (pread): Likewise.
27192         [XPG3 || XPG4] (pthread_atfork): Likewise.
27193         [XPG3 || XPG4] (pwrite): Likewise.
27194
27195         [BZ #14835]
27196         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27197         <bits/siginfo.h>.
27198
27199 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27200
27201         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27202         finalizing MALLSTREAM.
27203
27204         * sysdeps/mach/hurd/syncfs.c: New file.
27205
27206 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27207
27208         [BZ #14719]
27209         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27210         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27211         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27212         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27213         (_nss_dns_gethostbyname4_r): Likewise.
27214         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27215         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27216
27217 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
27218
27219         [BZ #13763]
27220         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27221
27222 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
27223
27224         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27225         * elf/cache.c (print_entry): Print ",AArch64" for
27226         FLAG_AARCH64_LIB64
27227
27228         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27229         * elf/cache.c (print_entry): Print ",hard-float" for
27230         FLAG_ARM_LIBHF.
27231
27232 2012-11-18  David S. Miller  <davem@davemloft.net>
27233
27234         With help from Joseph Myers.
27235         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27236         cutoff to 2**-13.
27237         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27238         cutoff to 2**-25.
27239         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27240         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27241         small.
27242         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27243         * math/libm-test.inc (y0_test): New tests.
27244         (y1_test): New tests.
27245         * sysdeps/i386/fpu/libm-test-ulps: Update.
27246         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27247         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27248
27249 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
27250
27251         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27252         64-bit targets.
27253         * configure: Regenerated.
27254
27255 2012-11-17  David S. Miller  <davem@davemloft.net>
27256
27257         [BZ #14811]
27258         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27259         nonzero exponents with absolute value below 0x1p-128 to +/-
27260         0x1p-128.
27261
27262 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
27263
27264         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27265
27266         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27267
27268         * posix/getconf-speclist.c: New file.
27269         * posix/posix-envs.def: Likewise.
27270         * posix/confstr.c (START_ENV_GROUP): New macro.
27271         (END_ENV_GROUP): Likewise.
27272         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27273         (KNOWN_PRESENT_ENV_STRING): Likewise.
27274         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27275         (UNKNOWN_ENVIRONMENT): Likewise.
27276         (confstr): Include posix-envs.def instead of handling
27277         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27278         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27279         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27280         (END_ENV_GROUP): Likewise.
27281         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27282         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27283         (UNKNOWN_ENVIRONMENT): Likewise.
27284         (__sysconf): Include posix-envs.def instead of handling associated
27285         cases directly here.
27286         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27287         preprocessing getconf-speclist.c rather than running getconf or
27288         generating empty file.
27289
27290 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
27291
27292         * scripts/check-local-headers.sh: Ignore 'mach' headers.
27293
27294 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
27295
27296         [BZ #14672]
27297         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27298
27299 2012-11-16  David S. Miller  <davem@davemloft.net>
27300
27301         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27302         smaller than LDBL_EPSILON/2.0L, just return xm1.
27303
27304 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
27305
27306         * elf/tst-array1.c (init): Set constructor priority to 1000.
27307         (fini): Set destructor priority to 1000.
27308         * elf/tst-array2dep.c: Likewise.
27309
27310 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27311
27312         [BZ #11741]
27313         * libio/fileops.c (_IO_new_file_write): Correctly return error.
27314         (_IO_new_file_xsputn): Also return EOF if none of the input
27315         data was written when overflow failed.
27316         * libio/iopadn.c (_IO_padn): Likewise.
27317         * libio/iowpadn.c (_IO_wpadn): Likewise.
27318         * stdio-common/tst-put-error.c: Add copyright notice.
27319         (do_test): Add case for printing padded string.
27320         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27321         _IO_padn returned error.
27322         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27323         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27324         return EOF.
27325
27326 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27327
27328         * libio/libioP.h: Add comment note that the references to C++
27329         bits are now obsolete.
27330
27331 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27332
27333         * math/libm-test.inc (check_complex): Use asprintf.
27334
27335 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
27336
27337         * debug/pcprofiledump.c (print_version): Update copyright year.
27338         * malloc/memusagestat.c (print_version): Likewise.
27339
27340 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
27341
27342         [BZ #14831]
27343         * elf/Makefile (tests): Add tst-audit8.
27344         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27345         ($(objpfx)tst-audit8.out): New target.
27346         (tst-audit8-ENV): New variable.
27347         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27348         audit if l_reloc_result is NULL.
27349         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27350         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27351         * elf/tst-audit8.c: New file.
27352
27353 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27354
27355         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27356         * misc/Makefile (CFLAGS-select.c): Define.
27357         * posix/Makefile (CFLAGS-pause.c): Define.
27358
27359 2012-11-13  David S. Miller  <davem@davemloft.net>
27360
27361         * crypt/Makefile: Move test targets after toplevel Rules
27362         inclusion.  Grab any necessary sysdep routines when linking.
27363         * crypt/md5.c (md5_process_block): Remove define, we will always
27364         name it __md5_process_block.
27365         (md5_finish_ctx): Update md5_process_block call.
27366         (md5_stream): Likewise.
27367         (md5_process_bytes): Likewise.
27368         (md5_process_block): Rename to __md5_process_block and move to ...
27369         * crypt/md5-block.c: ... here.
27370         * crypt/sha256.c (sha256_process_block): Move to ...
27371         * crypt/sha256-block.c: ... here.
27372         * crypt/sha512.c (sha512_process_block): Move to ...
27373         * crypt/sha512-block.c: ... here.
27374         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27375         path.
27376         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27377         * sysdeps/sparc/sparc64/multiarch/Makefile
27378         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27379         crypt subdir.
27380         (localedef-aux): Add md5 crypto assembler when in locale subdir.
27381         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27382         multiarch changes.
27383         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27384         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27385         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27386         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27387         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27388         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27389         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27390         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27391         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27392         file.
27393         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27394         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27395         file.
27396         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27397
27398 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
27399
27400         * timezone/tzselect.ksh: Update from tzcode git revision
27401         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27402         * timezone/zdump.c: Likewise.
27403         * timezone/zic.c: Likewise.
27404         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27405         in TZVERSION setting, not $(PKGVERSION).
27406         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
27407         REPORT_BUGS_TO settings.
27408
27409         [BZ #14838]
27410         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27411         macro.
27412
27413 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27414
27415         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27416         detection to immediately after _FP_ROUND().
27417         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27418         bits are 0.
27419
27420 2012-11-11  David S. Miller  <davem@davemloft.net>
27421
27422         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27423         inttypes.h
27424         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27425         __close rather than their public counterparts.
27426
27427 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
27428
27429         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27430         file.
27431         [UNIX98] (sem_timedwait): Do not expect.
27432         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27433         [XPG4 || UNIX98] (sockatmark): Do not expect.
27434         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27435         (clock_getcpuclockid): Do not expect.
27436         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27437         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27438         Do not expect.
27439         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27440         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27441         [UNIX98] (vwscanf): Likewise.
27442         [UNIX98] (vswscanf): Likewise.
27443
27444 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
27445
27446         * timezone/version.h: Remove file.
27447         * timezone/README: Do not refer to version.h.
27448         * timezone/Makefile ($(objpfx)zic.o): New dependency on
27449         $(objpfx)version.h.
27450         ($(objpfx)zdump.o): Likewise.
27451         ($(objpfx)version.h): New target.
27452
27453         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27454         2012i.
27455         * timezone/README: Don't mention modification to tzselect.ksh.
27456         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27457         work on unmodified tzselect.ksh.  Substitute version numbers in
27458         tzselect.ksh.
27459
27460         * Makefile (format-me): Remove.
27461         (INSTALL): Adjust indentation.  Use commands directly instead of
27462         using $(format-me).
27463
27464         * aclocal.m4 (ACX_PKGVERSION): New macro.
27465         (ACX_BUGURL): Likewise.
27466         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27467         (PKGVERSION): New AC_DEFINE_UNQUOTED.
27468         (REPORT_BUGS_TO): Likewise.
27469         * configure: Regenerated.
27470         * config.h.in (PKGVERSION): New macro.
27471         (REPORT_BUGS_TO): Likewise.
27472         * config.make.in (PKGVERSION): New variable.
27473         (PKGVERSION_TEXI): Likewise.
27474         (REPORT_BUGS_TO): Likewise.
27475         (REPORT_BUGS_TEXI): Likewise.
27476         * Makefile (format-me): Use -I$(common-objpfx)manual.
27477         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27478         ($(common-objpfx)manual/%): New target.
27479         (manual/%): Remove target.
27480         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27481         (print_version): Use PKGVERSION.
27482         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27483         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27484         and REPORT_BUGS_TO.
27485         ($(objpfx)xtrace): Likewise.
27486         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27487         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27488         (print_version): Use PKGVERSION.
27489         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27490         (do_version): Use PKGVERSION.
27491         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27492         REPORT_BUGS_TO.
27493         (common-ldd-rewrite): Likewise.
27494         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27495         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27496         (print_version): Use PKGVERSION.
27497         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27498         * elf/pldd.c (argp_program_bug_address): Remove variable.
27499         (more_help): New function.
27500         (argp): Use more_help.
27501         (print_version): Use PKGVERSION.
27502         * elf/sln.c (main): Use PKGVERSION.
27503         (usage): Use REPORT_BUGS_TO.
27504         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27505         (top level): Use PKGVERSION.
27506         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27507         (print_version): Use PKGVERSION.
27508         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27509         (print_version): Use PKGVERSION.
27510         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27511         (print_version): Use PKGVERSION.
27512         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27513         (print_version): Use PKGVERSION.
27514         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27515         (print_version): Use PKGVERSION.
27516         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27517         (print_version): Use PKGVERSION.
27518         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27519         and BUGURL.
27520         ($(objpfx)memusage): Likewise.
27521         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27522         (do_version): Use PKGVERSION.
27523         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27524         (print_version): Use PKGVERSION.
27525         * malloc/mtrace.pl ($PACKAGE): Remove variable.
27526         ($PKGVERSION): New variable.
27527         ($REPORT_BUGS_TO): Likewise.
27528         (usage): Use $REPORT_BUGS_TO.
27529         (top level): Use $PKGVERSION.
27530         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27531         ($(objpfx)pkgvers.texi): New rule.
27532         ($(objpfx)stamp-pkgvers): Likewise.
27533         * manual/install.texi: Include pkgvers.texi.
27534         (--with-pkgversion): Document new configure option.
27535         (--with-bugurl): Likewise.
27536         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27537         than necessarily for this particular distribution.  Use
27538         REPORT_BUGS_TO for where to report bugs.
27539         * INSTALL: Regenerated.
27540         * manual/libc.texinfo: Include pkgvers.texi.
27541         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27542         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27543         (print_version): Use PKGVERSION.
27544         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27545         (print_version): Use PKGVERSION.
27546         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27547         (print_version): Use PKGVERSION.
27548         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27549         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27550         macro.
27551         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27552         (print_version): Use PKGVERSION.
27553         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27554         (print_version): Use PKGVERSION.
27555         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27556         and PKGVERSION.
27557
27558         * timezone/checktab.awk: Update from tzcode 2012i.
27559         * timezone/ialloc.c: Likewise.
27560         * timezone/private.h: Likewise.
27561         * timezone/scheck.c: Likewise.
27562         * timezone/tzfile.h: Likewise.
27563         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27564         (TZVERSION): Hardcode tzcode version number.
27565         * timezone/zdump.c: Update from tzcode 2012i.
27566         * timezone/zic.c: Likewise.
27567         * timezone/version.h: New file.
27568         * timezone/README: Describe version.h.  Update upstream location.
27569
27570         [BZ #14824]
27571         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27572         (mktemp): Enable declaration.
27573         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27574         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27575         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27576         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27577         Likewise.
27578         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27579         Likewise.
27580         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27581         Likewise.
27582         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27583         Likewise.
27584         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27585         Likewise.
27586         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27587         Likewise.
27588
27589         [BZ #14821]
27590         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27591         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
27592         for copies of such integer values.
27593         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27594         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27595
27596 2012-11-09  Andreas Jaeger  <aj@suse.de>
27597
27598         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27599         definitions and declarations that are provided by
27600         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27601
27602 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27603
27604         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27605         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27606         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27607         definition.
27608
27609 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27610
27611         * elf/elf.h: Update comment before AArch64 relocations.
27612
27613 2012-11-07  David S. Miller  <davem@davemloft.net>
27614
27615         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27616         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27617         (__start_context): Declare.
27618         (__makecontext_ret): Delete.
27619         (__makecontext): Hook up __start_context instead of
27620         __makecontext_ret.
27621         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27622         (sysdep_routines): Add __start_context when in stdlib.
27623
27624 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27625
27626         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27627         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27628         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
27629         hardcoded "nm".
27630         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
27631         (READELF): New variable.  Use it instead of hardcoded "readelf".
27632
27633 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
27634
27635         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27636         * sysdeps/x86/Makefile: Here.
27637         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27638         * sysdeps/x86/tst-xmmymm.sh: This.
27639
27640 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27641
27642         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27643         expectations.
27644         [UNIX98] (pthread_barrier_t): Do not expect.
27645         [UNIX98] (pthread_barrierattr_t): Likewise.
27646         [UNIX98] (pthread_spinlock_t): Likewise.
27647         [UNIX98] (pthread_barrier_destroy): Likewise.
27648         [UNIX98] (pthread_barrier_init): Likewise.
27649         [UNIX98] (pthread_barrier_wait): Likewise.
27650         [UNIX98] (pthread_barrierattr_destroy): Likewise.
27651         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27652         [UNIX98] (pthread_barrierattr_init): Likewise.
27653         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27654         [UNIX98] (pthread_getcpuclockid): Likewise.
27655         [UNIX98] (pthread_mutex_timedlock): Likewise.
27656         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27657         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27658         [UNIX98] (pthread_sigmask): Likewise.
27659         [UNIX98] (pthread_spin_destroy): Likewise.
27660         [UNIX98] (pthread_spin_init): Likewise.
27661         [UNIX98] (pthread_spin_lock): Likewise.
27662         [UNIX98] (pthread_spin_trylock): Likewise.
27663         [UNIX98] (pthread_spin_unlock): Likewise.
27664         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27665         Do not expect.
27666         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27667         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27668         [XPG3 || XPG4] (pthread_cond_t): Likewise.
27669         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27670         [XPG3 || XPG4] (pthread_key_t): Likewise.
27671         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27672         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27673         [XPG3 || XPG4] (pthread_once_t): Likewise.
27674         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27675         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27676         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27677         [XPG3 || XPG4] (pthread_t): Likewise.
27678
27679         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27680         not expect.
27681         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27682
27683         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27684         Change function return type to int.
27685
27686         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27687         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27688         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27689         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27690         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27691         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27692         [!POSIX] (posix_madvise): Likewise.
27693         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27694         && !UNIX98].
27695         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27696         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27697         (mode_t): Likewise.
27698         (posix_mem_offset): Likewise.
27699         (posix_typed_mem_get_info): Likewise.
27700         (posix_typed_mem_open): Likewise.
27701
27702         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27703         Change condition to [XOPEN2K8].
27704
27705         * conform/conformtest.pl: Preprocess allow-header data with -x c
27706         instead of from stdin.
27707         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27708         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27709         [C99-based standards] (cerfc): Likewise.
27710         [C99-based standards] (cexp2): Likewise.
27711         [C99-based standards] (cexpm1): Likewise.
27712         [C99-based standards] (clog10): Likewise.
27713         [C99-based standards] (clog1p): Likewise.
27714         [C99-based standards] (clog2): Likewise.
27715         [C99-based standards] (clgamma): Likewise.
27716         [C99-based standards] (ctgamma): Likewise.
27717         [C99-based standards] (cerff): Likewise.
27718         [C99-based standards] (cerfcf): Likewise.
27719         [C99-based standards] (cexp2f): Likewise.
27720         [C99-based standards] (cexpm1f): Likewise.
27721         [C99-based standards] (clog10f): Likewise.
27722         [C99-based standards] (clog1pf): Likewise.
27723         [C99-based standards] (clog2f): Likewise.
27724         [C99-based standards] (clgammaf): Likewise.
27725         [C99-based standards] (ctgammaf): Likewise.
27726         [C99-based standards] (cerfl): Likewise.
27727         [C99-based standards] (cerfcl): Likewise.
27728         [C99-based standards] (cexp2l): Likewise.
27729         [C99-based standards] (cexpm1l): Likewise.
27730         [C99-based standards] (clog10l): Likewise.
27731         [C99-based standards] (clog1pl): Likewise.
27732         [C99-based standards] (clog2l): Likewise.
27733         [C99-based standards] (clgammal): Likewise.
27734         [C99-based standards] (ctgammal): Likewise.
27735         * conform/data/inttypes.h-data [C99-based standards]: Include
27736         stdint.h-data.  Remove all expectations for stdint.h contents.
27737         [C99-based standards] (PRI*): Do not allow.
27738         [C99-based standards] (SCN*): Likewise.
27739         [C99-based standards] (*_t): Likewise.
27740         [C99-based-standards] (PRId8): Expect macro.
27741         [C99-based-standards] (PRIi8): Likewise.
27742         [C99-based-standards] (PRIo8): Likewise.
27743         [C99-based-standards] (PRIu8): Likewise.
27744         [C99-based-standards] (PRIx8): Likewise.
27745         [C99-based-standards] (PRIX8): Likewise.
27746         [C99-based-standards] (SCNd8): Likewise.
27747         [C99-based-standards] (SCNi8): Likewise.
27748         [C99-based-standards] (SCNo8): Likewise.
27749         [C99-based-standards] (SCNu8): Likewise.
27750         [C99-based-standards] (SCNx8): Likewise.
27751         [C99-based-standards] (PRIdLEAST8): Likewise.
27752         [C99-based-standards] (PRIiLEAST8): Likewise.
27753         [C99-based-standards] (PRIoLEAST8): Likewise.
27754         [C99-based-standards] (PRIuLEAST8): Likewise.
27755         [C99-based-standards] (PRIxLEAST8): Likewise.
27756         [C99-based-standards] (PRIXLEAST8): Likewise.
27757         [C99-based-standards] (SCNdLEAST8): Likewise.
27758         [C99-based-standards] (SCNiLEAST8): Likewise.
27759         [C99-based-standards] (SCNoLEAST8): Likewise.
27760         [C99-based-standards] (SCNuLEAST8): Likewise.
27761         [C99-based-standards] (SCNxLEAST8): Likewise.
27762         [C99-based-standards] (PRIdFAST8): Likewise.
27763         [C99-based-standards] (PRIiFAST8): Likewise.
27764         [C99-based-standards] (PRIoFAST8): Likewise.
27765         [C99-based-standards] (PRIuFAST8): Likewise.
27766         [C99-based-standards] (PRIxFAST8): Likewise.
27767         [C99-based-standards] (PRIXFAST8): Likewise.
27768         [C99-based-standards] (SCNdFAST8): Likewise.
27769         [C99-based-standards] (SCNiFAST8): Likewise.
27770         [C99-based-standards] (SCNoFAST8): Likewise.
27771         [C99-based-standards] (SCNuFAST8): Likewise.
27772         [C99-based-standards] (SCNxFAST8): Likewise.
27773         [C99-based-standards] (PRId16): Likewise.
27774         [C99-based-standards] (PRIi16): Likewise.
27775         [C99-based-standards] (PRIo16): Likewise.
27776         [C99-based-standards] (PRIu16): Likewise.
27777         [C99-based-standards] (PRIx16): Likewise.
27778         [C99-based-standards] (PRIX16): Likewise.
27779         [C99-based-standards] (SCNd16): Likewise.
27780         [C99-based-standards] (SCNi16): Likewise.
27781         [C99-based-standards] (SCNo16): Likewise.
27782         [C99-based-standards] (SCNu16): Likewise.
27783         [C99-based-standards] (SCNx16): Likewise.
27784         [C99-based-standards] (PRIdLEAST16): Likewise.
27785         [C99-based-standards] (PRIiLEAST16): Likewise.
27786         [C99-based-standards] (PRIoLEAST16): Likewise.
27787         [C99-based-standards] (PRIuLEAST16): Likewise.
27788         [C99-based-standards] (PRIxLEAST16): Likewise.
27789         [C99-based-standards] (PRIXLEAST16): Likewise.
27790         [C99-based-standards] (SCNdLEAST16): Likewise.
27791         [C99-based-standards] (SCNiLEAST16): Likewise.
27792         [C99-based-standards] (SCNoLEAST16): Likewise.
27793         [C99-based-standards] (SCNuLEAST16): Likewise.
27794         [C99-based-standards] (SCNxLEAST16): Likewise.
27795         [C99-based-standards] (PRIdFAST16): Likewise.
27796         [C99-based-standards] (PRIiFAST16): Likewise.
27797         [C99-based-standards] (PRIoFAST16): Likewise.
27798         [C99-based-standards] (PRIuFAST16): Likewise.
27799         [C99-based-standards] (PRIxFAST16): Likewise.
27800         [C99-based-standards] (PRIXFAST16): Likewise.
27801         [C99-based-standards] (SCNdFAST16): Likewise.
27802         [C99-based-standards] (SCNiFAST16): Likewise.
27803         [C99-based-standards] (SCNoFAST16): Likewise.
27804         [C99-based-standards] (SCNuFAST16): Likewise.
27805         [C99-based-standards] (SCNxFAST16): Likewise.
27806         [C99-based-standards] (PRId32): Likewise.
27807         [C99-based-standards] (PRIi32): Likewise.
27808         [C99-based-standards] (PRIo32): Likewise.
27809         [C99-based-standards] (PRIu32): Likewise.
27810         [C99-based-standards] (PRIx32): Likewise.
27811         [C99-based-standards] (PRIX32): Likewise.
27812         [C99-based-standards] (SCNd32): Likewise.
27813         [C99-based-standards] (SCNi32): Likewise.
27814         [C99-based-standards] (SCNo32): Likewise.
27815         [C99-based-standards] (SCNu32): Likewise.
27816         [C99-based-standards] (SCNx32): Likewise.
27817         [C99-based-standards] (PRIdLEAST32): Likewise.
27818         [C99-based-standards] (PRIiLEAST32): Likewise.
27819         [C99-based-standards] (PRIoLEAST32): Likewise.
27820         [C99-based-standards] (PRIuLEAST32): Likewise.
27821         [C99-based-standards] (PRIxLEAST32): Likewise.
27822         [C99-based-standards] (PRIXLEAST32): Likewise.
27823         [C99-based-standards] (SCNdLEAST32): Likewise.
27824         [C99-based-standards] (SCNiLEAST32): Likewise.
27825         [C99-based-standards] (SCNoLEAST32): Likewise.
27826         [C99-based-standards] (SCNuLEAST32): Likewise.
27827         [C99-based-standards] (SCNxLEAST32): Likewise.
27828         [C99-based-standards] (PRIdFAST32): Likewise.
27829         [C99-based-standards] (PRIiFAST32): Likewise.
27830         [C99-based-standards] (PRIoFAST32): Likewise.
27831         [C99-based-standards] (PRIuFAST32): Likewise.
27832         [C99-based-standards] (PRIxFAST32): Likewise.
27833         [C99-based-standards] (PRIXFAST32): Likewise.
27834         [C99-based-standards] (SCNdFAST32): Likewise.
27835         [C99-based-standards] (SCNiFAST32): Likewise.
27836         [C99-based-standards] (SCNoFAST32): Likewise.
27837         [C99-based-standards] (SCNuFAST32): Likewise.
27838         [C99-based-standards] (SCNxFAST32): Likewise.
27839         [C99-based-standards] (PRId64): Likewise.
27840         [C99-based-standards] (PRIi64): Likewise.
27841         [C99-based-standards] (PRIo64): Likewise.
27842         [C99-based-standards] (PRIu64): Likewise.
27843         [C99-based-standards] (PRIx64): Likewise.
27844         [C99-based-standards] (PRIX64): Likewise.
27845         [C99-based-standards] (SCNd64): Likewise.
27846         [C99-based-standards] (SCNi64): Likewise.
27847         [C99-based-standards] (SCNo64): Likewise.
27848         [C99-based-standards] (SCNu64): Likewise.
27849         [C99-based-standards] (SCNx64): Likewise.
27850         [C99-based-standards] (PRIdLEAST64): Likewise.
27851         [C99-based-standards] (PRIiLEAST64): Likewise.
27852         [C99-based-standards] (PRIoLEAST64): Likewise.
27853         [C99-based-standards] (PRIuLEAST64): Likewise.
27854         [C99-based-standards] (PRIxLEAST64): Likewise.
27855         [C99-based-standards] (PRIXLEAST64): Likewise.
27856         [C99-based-standards] (SCNdLEAST64): Likewise.
27857         [C99-based-standards] (SCNiLEAST64): Likewise.
27858         [C99-based-standards] (SCNoLEAST64): Likewise.
27859         [C99-based-standards] (SCNuLEAST64): Likewise.
27860         [C99-based-standards] (SCNxLEAST64): Likewise.
27861         [C99-based-standards] (PRIdFAST64): Likewise.
27862         [C99-based-standards] (PRIiFAST64): Likewise.
27863         [C99-based-standards] (PRIoFAST64): Likewise.
27864         [C99-based-standards] (PRIuFAST64): Likewise.
27865         [C99-based-standards] (PRIxFAST64): Likewise.
27866         [C99-based-standards] (PRIXFAST64): Likewise.
27867         [C99-based-standards] (SCNdFAST64): Likewise.
27868         [C99-based-standards] (SCNiFAST64): Likewise.
27869         [C99-based-standards] (SCNoFAST64): Likewise.
27870         [C99-based-standards] (SCNuFAST64): Likewise.
27871         [C99-based-standards] (SCNxFAST64): Likewise.
27872         [C99-based-standards] (PRIdMAX): Likewise.
27873         [C99-based-standards] (PRIiMAX): Likewise.
27874         [C99-based-standards] (PRIoMAX): Likewise.
27875         [C99-based-standards] (PRIuMAX): Likewise.
27876         [C99-based-standards] (PRIxMAX): Likewise.
27877         [C99-based-standards] (PRIXMAX): Likewise.
27878         [C99-based-standards] (SCNdMAX): Likewise.
27879         [C99-based-standards] (SCNiMAX): Likewise.
27880         [C99-based-standards] (SCNoMAX): Likewise.
27881         [C99-based-standards] (SCNuMAX): Likewise.
27882         [C99-based-standards] (SCNxMAX): Likewise.
27883         [C99-based-standards] (PRIdPTR): Likewise.
27884         [C99-based-standards] (PRIiPTR): Likewise.
27885         [C99-based-standards] (PRIoPTR): Likewise.
27886         [C99-based-standards] (PRIuPTR): Likewise.
27887         [C99-based-standards] (PRIxPTR): Likewise.
27888         [C99-based-standards] (PRIXPTR): Likewise.
27889         [C99-based-standards] (SCNdPTR): Likewise.
27890         [C99-based-standards] (SCNiPTR): Likewise.
27891         [C99-based-standards] (SCNoPTR): Likewise.
27892         [C99-based-standards] (SCNuPTR): Likewise.
27893         [C99-based-standards] (SCNxPTR): Likewise.
27894         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27895         allow.
27896         * conform/data/stdint.h-data: Update comments to clarify
27897         requirements.
27898         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
27899         type.
27900         [C99-based standards] (INT8_MAX): Likewise.
27901         [C99-based standards] (INT16_MIN): Likewise.
27902         [C99-based standards] (INT16_MAX): Likewise.
27903         [C99-based standards] (INT32_MIN): Likewise.
27904         [C99-based standards] (INT32_MAX): Likewise.
27905         [C99-based standards] (INT64_MIN): Likewise.
27906         [C99-based standards] (INT64_MAX): Likewise.
27907         [C99-based standards] (UINT8_MAX): Likewise.
27908         [C99-based standards] (UINT16_MAX): Likewise.
27909         [C99-based standards] (UINT32_MAX): Likewise.
27910         [C99-based standards] (UINT64_MAX): Likewise.
27911         [C99-based standards] (INT_LEAST8_MIN): Likewise.
27912         [C99-based standards] (INT_LEAST8_MAX): Likewise.
27913         [C99-based standards] (INT_LEAST16_MIN): Likewise.
27914         [C99-based standards] (INT_LEAST16_MAX): Likewise.
27915         [C99-based standards] (INT_LEAST32_MIN): Likewise.
27916         [C99-based standards] (INT_LEAST32_MAX): Likewise.
27917         [C99-based standards] (INT_LEAST64_MIN): Likewise.
27918         [C99-based standards] (INT_LEAST64_MAX): Likewise.
27919         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27920         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27921         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27922         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27923         [C99-based standards] (INT_FAST8_MIN): Likewise.
27924         [C99-based standards] (INT_FAST8_MAX): Likewise.
27925         [C99-based standards] (INT_FAST16_MIN): Likewise.
27926         [C99-based standards] (INT_FAST16_MAX): Likewise.
27927         [C99-based standards] (INT_FAST32_MIN): Likewise.
27928         [C99-based standards] (INT_FAST32_MAX): Likewise.
27929         [C99-based standards] (INT_FAST64_MIN): Likewise.
27930         [C99-based standards] (INT_FAST64_MAX): Likewise.
27931         [C99-based standards] (UINT_FAST8_MAX): Likewise.
27932         [C99-based standards] (UINT_FAST16_MAX): Likewise.
27933         [C99-based standards] (UINT_FAST32_MAX): Likewise.
27934         [C99-based standards] (UINT_FAST64_MAX): Likewise.
27935         [C99-based standards] (INTPTR_MIN): Likewise.
27936         [C99-based standards] (INTPTR_MAX): Likewise.
27937         [C99-based standards] (UINTPTR_MAX): Likewise.
27938         [C99-based standards] (INTMAX_MIN): Likewise.
27939         [C99-based standards] (INTMAX_MAX): Likewise.
27940         [C99-based standards] (UINTMAX_MAX): Likewise.
27941         [C99-based standards] (PTRDIFF_MIN): Likewise.
27942         [C99-based standards] (PTRDIFF_MAX): Likewise.
27943         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27944         [C99-based standards] (SIZE_MAX): Likewise.
27945         [C99-based standards] (WCHAR_MAX): Likewise.
27946         [C99-based standards] (WINT_MAX): Likewise.
27947         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
27948         constraint on value.
27949         [C99-based standards] (WCHAR_MIN): Likewise.
27950         [C99-based standards] (WINT_MIN): Likewise.
27951         [C99-based standards] (*_t): Allow.
27952         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27953         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27954         Include math.h-data and complex.h-data.  Remove all expectations
27955         of math.h and complex.h contents.
27956         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27957         at end of line.
27958         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27959         (struct tm): Expect tag.
27960         [C99-based-standards] (wcstof): Expect function.
27961         [C99-based-standards] (wcstold): Likewise.
27962         [C99-based-standards] (wcstoll): Likewise.
27963         [C99-based-standards] (wcstoull): Likewise.
27964         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27965         macro-int-constant.  Specify type.
27966         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
27967         constraint on value.
27968         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27969         Specify type.
27970         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27971         Specify value.
27972         [ISO C standards]: Do not allow headers.
27973         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27974         wcs[abcdefghijklmnopqrstuvwxyz]*.
27975         [ISO C standards] (*_t): Do not allow.
27976         * conform/data/wctype.h-data [C99-based standards] (iswblank):
27977         Expect function.
27978         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27979         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27980         Specify type.
27981         [ISO C standards]: Do not allow headers.
27982         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27983         is[abcdefghijklmnopqrstuvwxyz]*.
27984         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27985         to[abcdefghijklmnopqrstuvwxyz]*.
27986         [ISO C standards] (*_t): Do not allow.
27987         * conform/data/stdalign.h-data: New file.
27988         * conform/data/stdbool.h-data: Likewise.
27989         * conform/data/stdnoreturn.h-data: Likewise.
27990
27991 2012-11-07  Roland McGrath  <roland@hack.frob.com>
27992
27993         [BZ #14815]
27994         * manual/filesys.texi (Directory Entries): Typo fix.
27995         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27996
27997 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27998
27999         * elf/elf.h (EM_AARCH64): New macro.
28000         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28001         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28002         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28003         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28004         (R_AARCH64_TLSDESC): Likewise.
28005         (NT_ARM_TLS): Likewise.
28006         (NT_ARM_HW_BREAK): Likewise.
28007         (NT_ARM_HW_WATCH): Likewise.
28008
28009 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28010
28011         [BZ #14811]
28012         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28013         (__ieee754_powl): Saturate nonzero exponents with absolute value
28014         below 0x1p-79 to +/- 0x1p-79.
28015         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28016         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28017         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28018         nonzero exponents with absolute value below 0x1p-32 to +/-
28019         0x1p-32.
28020         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28021         (__ieee754_powl): Saturate nonzero exponents with absolute value
28022         below 0x1p-79 to +/- 0x1p-79.
28023         * math/libm-test.inc (pow_test): Add more tests.
28024
28025 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28026
28027         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28028         _dl_s390_cap_flags with kernel. Increase string length.
28029         (_dl_s390_platforms): Add z196 and zEC12.
28030
28031 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28032
28033         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28034         Change XOPEN21K to XOPEN2K.
28035
28036 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
28037
28038         * string/memmove.c: Use memcpy when possible.
28039
28040 2012-11-06  Andreas Jaeger  <aj@suse.de>
28041
28042         * po/eo.po: Update from translation team.
28043
28044 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
28045
28046         [BZ #14793]
28047         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28048         exponent and small x and y exponents, scale x or y up.  Increase
28049         by 2 the exponent used in scaling up.
28050         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28051         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28052         * math/libm-test.inc (fma_test): Add more tests.
28053         (fma_test_towardzero): Likewise.
28054         (fma_test_downward): Likewise.
28055         (fma_test_upward): Likewise.
28056
28057 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
28058
28059         [BZ #14805]
28060         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28061         fenv_t *.
28062
28063         [BZ #14801]
28064         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28065         namespace for names of struct fields.
28066         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28067         fenv_t fields.
28068         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28069         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28070
28071 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28072
28073         [BZ #3665]
28074         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28075
28076 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28077
28078         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28079         PTR_DEMANGLE.
28080
28081         [BZ #5246]
28082         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28083         PTR_DEMANGLE.
28084
28085 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
28086
28087         [BZ #14797]
28088         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28089         definitely overflow as x * y not x * y + z.
28090         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28091         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28092         * math/libm-test.inc (fma_test): Add more tests.
28093         (fma_test_towardzero): Likewise.
28094         (fma_test_downward): Likewise.
28095         (fma_test_upward): Likewise.
28096
28097 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28098
28099         [BZ #157]
28100
28101         * include/stub-tag.h: Remove file.
28102         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28103         '#include' of it.
28104         * manual/maint.texi (Porting): Don't reference it.
28105         * Makerules ($(objpfx)stubs): Likewise.
28106         * dirent/closedir.c: Don't include <stub-tag.h>.
28107         * dirent/dirfd.c: Likewise.
28108         * dirent/fdopendir.c: Likewise.
28109         * dirent/getdents.c: Likewise.
28110         * dirent/getdents64.c: Likewise.
28111         * dirent/opendir.c: Likewise.
28112         * dirent/readdir.c: Likewise.
28113         * dirent/readdir64.c: Likewise.
28114         * dirent/readdir64_r.c: Likewise.
28115         * dirent/readdir_r.c: Likewise.
28116         * dirent/rewinddir.c: Likewise.
28117         * dirent/seekdir.c: Likewise.
28118         * dirent/telldir.c: Likewise.
28119         * gmon/profil.c: Likewise.
28120         * grp/setgroups.c: Likewise.
28121         * inet/if_index.c: Likewise.
28122         * io/access.c: Likewise.
28123         * io/chdir.c: Likewise.
28124         * io/chmod.c: Likewise.
28125         * io/chown.c: Likewise.
28126         * io/close.c: Likewise.
28127         * io/dup.c: Likewise.
28128         * io/dup2.c: Likewise.
28129         * io/dup3.c: Likewise.
28130         * io/euidaccess.c: Likewise.
28131         * io/faccessat.c: Likewise.
28132         * io/fchdir.c: Likewise.
28133         * io/fchmod.c: Likewise.
28134         * io/fchmodat.c: Likewise.
28135         * io/fchown.c: Likewise.
28136         * io/fchownat.c: Likewise.
28137         * io/fcntl.c: Likewise.
28138         * io/flock.c: Likewise.
28139         * io/fstatfs.c: Likewise.
28140         * io/fstatfs64.c: Likewise.
28141         * io/fstatvfs.c: Likewise.
28142         * io/fstatvfs64.c: Likewise.
28143         * io/futimens.c: Likewise.
28144         * io/fxstat.c: Likewise.
28145         * io/fxstat64.c: Likewise.
28146         * io/fxstatat.c: Likewise.
28147         * io/fxstatat64.c: Likewise.
28148         * io/getcwd.c: Likewise.
28149         * io/isatty.c: Likewise.
28150         * io/lchmod.c: Likewise.
28151         * io/lchown.c: Likewise.
28152         * io/link.c: Likewise.
28153         * io/linkat.c: Likewise.
28154         * io/lseek.c: Likewise.
28155         * io/lseek64.c: Likewise.
28156         * io/lxstat64.c: Likewise.
28157         * io/mkdir.c: Likewise.
28158         * io/mkdirat.c: Likewise.
28159         * io/mkfifo.c: Likewise.
28160         * io/mkfifoat.c: Likewise.
28161         * io/open.c: Likewise.
28162         * io/open64.c: Likewise.
28163         * io/openat.c: Likewise.
28164         * io/openat64.c: Likewise.
28165         * io/pipe.c: Likewise.
28166         * io/pipe2.c: Likewise.
28167         * io/poll.c: Likewise.
28168         * io/posix_fadvise.c: Likewise.
28169         * io/posix_fadvise64.c: Likewise.
28170         * io/posix_fallocate.c: Likewise.
28171         * io/posix_fallocate64.c: Likewise.
28172         * io/read.c: Likewise.
28173         * io/readlink.c: Likewise.
28174         * io/readlinkat.c: Likewise.
28175         * io/rmdir.c: Likewise.
28176         * io/sendfile.c: Likewise.
28177         * io/sendfile64.c: Likewise.
28178         * io/statfs.c: Likewise.
28179         * io/statfs64.c: Likewise.
28180         * io/statvfs.c: Likewise.
28181         * io/statvfs64.c: Likewise.
28182         * io/symlink.c: Likewise.
28183         * io/symlinkat.c: Likewise.
28184         * io/ttyname.c: Likewise.
28185         * io/ttyname_r.c: Likewise.
28186         * io/umask.c: Likewise.
28187         * io/unlink.c: Likewise.
28188         * io/unlinkat.c: Likewise.
28189         * io/utime.c: Likewise.
28190         * io/utimensat.c: Likewise.
28191         * io/write.c: Likewise.
28192         * io/xmknod.c: Likewise.
28193         * io/xmknodat.c: Likewise.
28194         * io/xstat.c: Likewise.
28195         * io/xstat64.c: Likewise.
28196         * login/getpt.c: Likewise.
28197         * login/grantpt.c: Likewise.
28198         * login/unlockpt.c: Likewise.
28199         * math/e_acoshl.c: Likewise.
28200         * math/e_acosl.c: Likewise.
28201         * math/e_asinl.c: Likewise.
28202         * math/e_atan2l.c: Likewise.
28203         * math/e_atanhl.c: Likewise.
28204         * math/e_coshl.c: Likewise.
28205         * math/e_expl.c: Likewise.
28206         * math/e_fmodl.c: Likewise.
28207         * math/e_gammal_r.c: Likewise.
28208         * math/e_hypotl.c: Likewise.
28209         * math/e_j0l.c: Likewise.
28210         * math/e_j1l.c: Likewise.
28211         * math/e_jnl.c: Likewise.
28212         * math/e_lgammal_r.c: Likewise.
28213         * math/e_log10l.c: Likewise.
28214         * math/e_log2l.c: Likewise.
28215         * math/e_logl.c: Likewise.
28216         * math/e_powl.c: Likewise.
28217         * math/e_rem_pio2l.c: Likewise.
28218         * math/e_sinhl.c: Likewise.
28219         * math/e_sqrtl.c: Likewise.
28220         * math/fclrexcpt.c: Likewise.
28221         * math/fedisblxcpt.c: Likewise.
28222         * math/feenablxcpt.c: Likewise.
28223         * math/fegetenv.c: Likewise.
28224         * math/fegetexcept.c: Likewise.
28225         * math/fegetround.c: Likewise.
28226         * math/feholdexcpt.c: Likewise.
28227         * math/fesetenv.c: Likewise.
28228         * math/fesetround.c: Likewise.
28229         * math/feupdateenv.c: Likewise.
28230         * math/fgetexcptflg.c: Likewise.
28231         * math/fraiseexcpt.c: Likewise.
28232         * math/fsetexcptflg.c: Likewise.
28233         * math/ftestexcept.c: Likewise.
28234         * math/k_cosl.c: Likewise.
28235         * math/k_rem_pio2l.c: Likewise.
28236         * math/k_sinl.c: Likewise.
28237         * math/k_tanl.c: Likewise.
28238         * math/s_asinhl.c: Likewise.
28239         * math/s_atanl.c: Likewise.
28240         * math/s_cbrtl.c: Likewise.
28241         * math/s_erfl.c: Likewise.
28242         * math/s_expm1l.c: Likewise.
28243         * math/s_log1pl.c: Likewise.
28244         * math/s_tanhl.c: Likewise.
28245         * misc/acct.c: Likewise.
28246         * misc/brk.c: Likewise.
28247         * misc/chflags.c: Likewise.
28248         * misc/chroot.c: Likewise.
28249         * misc/fchflags.c: Likewise.
28250         * misc/fgetxattr.c: Likewise.
28251         * misc/flistxattr.c: Likewise.
28252         * misc/fremovexattr.c: Likewise.
28253         * misc/fsetxattr.c: Likewise.
28254         * misc/fsync.c: Likewise.
28255         * misc/ftruncate.c: Likewise.
28256         * misc/futimes.c: Likewise.
28257         * misc/futimesat.c: Likewise.
28258         * misc/getdomain.c: Likewise.
28259         * misc/getdtsz.c: Likewise.
28260         * misc/gethostid.c: Likewise.
28261         * misc/gethostname.c: Likewise.
28262         * misc/getloadavg.c: Likewise.
28263         * misc/getpagesize.c: Likewise.
28264         * misc/getsysstats.c: Likewise.
28265         * misc/getxattr.c: Likewise.
28266         * misc/gtty.c: Likewise.
28267         * misc/ioctl.c: Likewise.
28268         * misc/lgetxattr.c: Likewise.
28269         * misc/listxattr.c: Likewise.
28270         * misc/llistxattr.c: Likewise.
28271         * misc/lremovexattr.c: Likewise.
28272         * misc/lsetxattr.c: Likewise.
28273         * misc/lutimes.c: Likewise.
28274         * misc/madvise.c: Likewise.
28275         * misc/mincore.c: Likewise.
28276         * misc/mlock.c: Likewise.
28277         * misc/mlockall.c: Likewise.
28278         * misc/mmap.c: Likewise.
28279         * misc/mprotect.c: Likewise.
28280         * misc/msync.c: Likewise.
28281         * misc/munlock.c: Likewise.
28282         * misc/munlockall.c: Likewise.
28283         * misc/munmap.c: Likewise.
28284         * misc/preadv.c: Likewise.
28285         * misc/preadv64.c: Likewise.
28286         * misc/ptrace.c: Likewise.
28287         * misc/pwritev.c: Likewise.
28288         * misc/pwritev64.c: Likewise.
28289         * misc/readv.c: Likewise.
28290         * misc/reboot.c: Likewise.
28291         * misc/remap_file_pages.c: Likewise.
28292         * misc/removexattr.c: Likewise.
28293         * misc/revoke.c: Likewise.
28294         * misc/select.c: Likewise.
28295         * misc/setdomain.c: Likewise.
28296         * misc/setegid.c: Likewise.
28297         * misc/seteuid.c: Likewise.
28298         * misc/sethostid.c: Likewise.
28299         * misc/sethostname.c: Likewise.
28300         * misc/setregid.c: Likewise.
28301         * misc/setreuid.c: Likewise.
28302         * misc/setxattr.c: Likewise.
28303         * misc/sstk.c: Likewise.
28304         * misc/stty.c: Likewise.
28305         * misc/swapoff.c: Likewise.
28306         * misc/swapon.c: Likewise.
28307         * misc/sync.c: Likewise.
28308         * misc/syncfs.c: Likewise.
28309         * misc/syscall.c: Likewise.
28310         * misc/truncate.c: Likewise.
28311         * misc/ualarm.c: Likewise.
28312         * misc/usleep.c: Likewise.
28313         * misc/ustat.c: Likewise.
28314         * misc/utimes.c: Likewise.
28315         * misc/vhangup.c: Likewise.
28316         * misc/writev.c: Likewise.
28317         * posix/_exit.c: Likewise.
28318         * posix/alarm.c: Likewise.
28319         * posix/execve.c: Likewise.
28320         * posix/fexecve.c: Likewise.
28321         * posix/fork.c: Likewise.
28322         * posix/fpathconf.c: Likewise.
28323         * posix/getaddrinfo.c: Likewise.
28324         * posix/getegid.c: Likewise.
28325         * posix/geteuid.c: Likewise.
28326         * posix/getgid.c: Likewise.
28327         * posix/getgroups.c: Likewise.
28328         * posix/getlogin.c: Likewise.
28329         * posix/getlogin_r.c: Likewise.
28330         * posix/getpgid.c: Likewise.
28331         * posix/getpid.c: Likewise.
28332         * posix/getppid.c: Likewise.
28333         * posix/getresgid.c: Likewise.
28334         * posix/getresuid.c: Likewise.
28335         * posix/getsid.c: Likewise.
28336         * posix/getuid.c: Likewise.
28337         * posix/glob64.c: Likewise.
28338         * posix/nanosleep.c: Likewise.
28339         * posix/pathconf.c: Likewise.
28340         * posix/pause.c: Likewise.
28341         * posix/posix_madvise.c: Likewise.
28342         * posix/pread.c: Likewise.
28343         * posix/pread64.c: Likewise.
28344         * posix/pwrite.c: Likewise.
28345         * posix/pwrite64.c: Likewise.
28346         * posix/sched_getaffinity.c: Likewise.
28347         * posix/sched_getp.c: Likewise.
28348         * posix/sched_gets.c: Likewise.
28349         * posix/sched_primax.c: Likewise.
28350         * posix/sched_primin.c: Likewise.
28351         * posix/sched_rr_gi.c: Likewise.
28352         * posix/sched_setaffinity.c: Likewise.
28353         * posix/sched_setp.c: Likewise.
28354         * posix/sched_sets.c: Likewise.
28355         * posix/sched_yield.c: Likewise.
28356         * posix/setgid.c: Likewise.
28357         * posix/setlogin.c: Likewise.
28358         * posix/setpgid.c: Likewise.
28359         * posix/setresgid.c: Likewise.
28360         * posix/setresuid.c: Likewise.
28361         * posix/setsid.c: Likewise.
28362         * posix/setuid.c: Likewise.
28363         * posix/sleep.c: Likewise.
28364         * posix/spawni.c: Likewise.
28365         * posix/sysconf.c: Likewise.
28366         * posix/times.c: Likewise.
28367         * posix/wait.c: Likewise.
28368         * posix/wait3.c: Likewise.
28369         * posix/wait4.c: Likewise.
28370         * posix/waitpid.c: Likewise.
28371         * resolv/gai_sigqueue.c: Likewise.
28372         * resource/getpriority.c: Likewise.
28373         * resource/getrlimit.c: Likewise.
28374         * resource/getrusage.c: Likewise.
28375         * resource/nice.c: Likewise.
28376         * resource/setpriority.c: Likewise.
28377         * resource/setrlimit.c: Likewise.
28378         * resource/ulimit.c: Likewise.
28379         * rt/aio_cancel.c: Likewise.
28380         * rt/aio_fsync.c: Likewise.
28381         * rt/aio_read.c: Likewise.
28382         * rt/aio_sigqueue.c: Likewise.
28383         * rt/aio_suspend.c: Likewise.
28384         * rt/aio_write.c: Likewise.
28385         * rt/clock_getres.c: Likewise.
28386         * rt/clock_gettime.c: Likewise.
28387         * rt/clock_nanosleep.c: Likewise.
28388         * rt/clock_settime.c: Likewise.
28389         * rt/lio_listio.c: Likewise.
28390         * rt/mq_close.c: Likewise.
28391         * rt/mq_getattr.c: Likewise.
28392         * rt/mq_notify.c: Likewise.
28393         * rt/mq_open.c: Likewise.
28394         * rt/mq_receive.c: Likewise.
28395         * rt/mq_send.c: Likewise.
28396         * rt/mq_setattr.c: Likewise.
28397         * rt/mq_timedreceive.c: Likewise.
28398         * rt/mq_timedsend.c: Likewise.
28399         * rt/mq_unlink.c: Likewise.
28400         * rt/shm_open.c: Likewise.
28401         * rt/shm_unlink.c: Likewise.
28402         * rt/timer_create.c: Likewise.
28403         * rt/timer_delete.c: Likewise.
28404         * rt/timer_getoverr.c: Likewise.
28405         * rt/timer_gettime.c: Likewise.
28406         * rt/timer_settime.c: Likewise.
28407         * setjmp/__longjmp.c: Likewise.
28408         * setjmp/setjmp.c: Likewise.
28409         * signal/kill.c: Likewise.
28410         * signal/killpg.c: Likewise.
28411         * signal/raise.c: Likewise.
28412         * signal/sigaction.c: Likewise.
28413         * signal/sigaltstack.c: Likewise.
28414         * signal/sigblock.c: Likewise.
28415         * signal/sigignore.c: Likewise.
28416         * signal/sigintr.c: Likewise.
28417         * signal/signal.c: Likewise.
28418         * signal/sigpause.c: Likewise.
28419         * signal/sigpending.c: Likewise.
28420         * signal/sigqueue.c: Likewise.
28421         * signal/sigreturn.c: Likewise.
28422         * signal/sigset.c: Likewise.
28423         * signal/sigsetmask.c: Likewise.
28424         * signal/sigstack.c: Likewise.
28425         * signal/sigsuspend.c: Likewise.
28426         * signal/sigtimedwait.c: Likewise.
28427         * signal/sigvec.c: Likewise.
28428         * signal/sigwait.c: Likewise.
28429         * signal/sigwaitinfo.c: Likewise.
28430         * signal/sysv_signal.c: Likewise.
28431         * socket/accept.c: Likewise.
28432         * socket/accept4.c: Likewise.
28433         * socket/bind.c: Likewise.
28434         * socket/connect.c: Likewise.
28435         * socket/getpeername.c: Likewise.
28436         * socket/getsockname.c: Likewise.
28437         * socket/getsockopt.c: Likewise.
28438         * socket/isfdtype.c: Likewise.
28439         * socket/listen.c: Likewise.
28440         * socket/recv.c: Likewise.
28441         * socket/recvfrom.c: Likewise.
28442         * socket/recvmsg.c: Likewise.
28443         * socket/send.c: Likewise.
28444         * socket/sendmsg.c: Likewise.
28445         * socket/sendto.c: Likewise.
28446         * socket/setsockopt.c: Likewise.
28447         * socket/shutdown.c: Likewise.
28448         * socket/sockatmark.c: Likewise.
28449         * socket/socket.c: Likewise.
28450         * socket/socketpair.c: Likewise.
28451         * stdio-common/ctermid.c: Likewise.
28452         * stdio-common/cuserid.c: Likewise.
28453         * stdio-common/remove.c: Likewise.
28454         * stdio-common/rename.c: Likewise.
28455         * stdio-common/renameat.c: Likewise.
28456         * stdio-common/tempname.c: Likewise.
28457         * stdlib/getcontext.c: Likewise.
28458         * stdlib/makecontext.c: Likewise.
28459         * stdlib/setcontext.c: Likewise.
28460         * stdlib/swapcontext.c: Likewise.
28461         * stdlib/system.c: Likewise.
28462         * streams/fattach.c: Likewise.
28463         * streams/fdetach.c: Likewise.
28464         * streams/getmsg.c: Likewise.
28465         * streams/getpmsg.c: Likewise.
28466         * streams/putmsg.c: Likewise.
28467         * streams/putpmsg.c: Likewise.
28468         * sysdeps/unix/bsd/getpt.c: Likewise.
28469         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28470         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28471         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28473         Likewise.
28474         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28475         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28476         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28477         * sysvipc/msgctl.c: Likewise.
28478         * sysvipc/msgget.c: Likewise.
28479         * sysvipc/msgrcv.c: Likewise.
28480         * sysvipc/msgsnd.c: Likewise.
28481         * sysvipc/semctl.c: Likewise.
28482         * sysvipc/semget.c: Likewise.
28483         * sysvipc/semop.c: Likewise.
28484         * sysvipc/semtimedop.c: Likewise.
28485         * sysvipc/shmat.c: Likewise.
28486         * sysvipc/shmctl.c: Likewise.
28487         * sysvipc/shmdt.c: Likewise.
28488         * sysvipc/shmget.c: Likewise.
28489         * termios/tcdrain.c: Likewise.
28490         * termios/tcflow.c: Likewise.
28491         * termios/tcflush.c: Likewise.
28492         * termios/tcgetattr.c: Likewise.
28493         * termios/tcgetpgrp.c: Likewise.
28494         * termios/tcsendbrk.c: Likewise.
28495         * termios/tcsetattr.c: Likewise.
28496         * termios/tcsetpgrp.c: Likewise.
28497         * time/adjtime.c: Likewise.
28498         * time/clock.c: Likewise.
28499         * time/getitimer.c: Likewise.
28500         * time/gettimeofday.c: Likewise.
28501         * time/setitimer.c: Likewise.
28502         * time/settimeofday.c: Likewise.
28503         * time/stime.c: Likewise.
28504         * time/time.c: Likewise.
28505
28506 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
28507
28508         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28509         /usr/old/bin.
28510
28511         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28512         instead of spaces.
28513         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28514
28515 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
28516
28517         [BZ #14796]
28518         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28519         FE_TONEAREST before applying Dekker multiplication and Knuth
28520         addition.  Clear inexact exceptions and check for exact zero
28521         results afterwards.
28522         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28523         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28524         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28525         * math/libm-test.inc (fma_test): Add more tests.
28526         (fma_test_towardzero): Likewise.
28527         (fma_test_downward): Likewise.
28528         (fma_test_upward): Likewise.
28529         * sysdeps/generic/math_private.h (default_libc_fesetround): New
28530         function.
28531         (libc_fesetround): New macro.
28532         (libc_fesetroundf): Likewise.
28533         (libc_fesetroundl): Likewise.
28534         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28535         function.
28536         (libc_fesetround_387): Likewise.
28537         (libc_fesetroundf): New macro.
28538         (libc_fesetround): Likewise.
28539         (libc_fesetroundl): Likewise.
28540         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28541         function.
28542         (libc_fesetroundf): New macro.
28543         (libc_fesetround): Likewise.
28544         (libc_fesetroundl): Likewise.
28545         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28546         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28547         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28548         libm_hidden_ver.
28549         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28550         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28551         libm_hidden_def.
28552         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28553         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28554         libm_hidden_ver.
28555         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28556         libm_hidden_def.
28557
28558         [BZ #3439]
28559         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28560         integer constant usable in #if and use that to give value to enum
28561         constant.
28562         (FE_DIVBYZERO): Likewise.
28563         (FE_UNDERFLOW): Likewise.
28564         (FE_OVERFLOW): Likewise.
28565         (FE_INVALID): Likewise.
28566         (FE_INVALID_SNAN): Likewise.
28567         (FE_INVALID_ISI): Likewise.
28568         (FE_INVALID_IDI): Likewise.
28569         (FE_INVALID_ZDZ): Likewise.
28570         (FE_INVALID_IMZ): Likewise.
28571         (FE_INVALID_COMPARE): Likewise.
28572         (FE_INVALID_SOFTWARE): Likewise.
28573         (FE_INVALID_SQRT): Likewise.
28574         (FE_INVALID_INTEGER_CONVERSION): Likewise.
28575         (FE_TONEAREST): Likewise.
28576         (FE_TOWARDZERO): Likewise.
28577         (FE_UPWARD): Likewise.
28578         (FE_DOWNWARD): Likewise.
28579         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28580         (FE_DIVBYZERO): Likewise.
28581         (FE_OVERFLOW): Likewise.
28582         (FE_UNDERFLOW): Likewise.
28583         (FE_INEXACT): Likewise.
28584         (FE_TONEAREST): Likewise.
28585         (FE_DOWNWARD): Likewise.
28586         (FE_UPWARD): Likewise.
28587         (FE_TOWARDZERO): Likewise.
28588         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28589         (FE_UNDERFLOW): Likewise.
28590         (FE_OVERFLOW): Likewise.
28591         (FE_DIVBYZERO): Likewise.
28592         (FE_INVALID): Likewise.
28593         (FE_TONEAREST): Likewise.
28594         (FE_TOWARDZERO): Likewise.
28595         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28596         (FE_OVERFLOW): Likewise.
28597         (FE_UNDERFLOW): Likewise.
28598         (FE_DIVBYZERO): Likewise.
28599         (FE_INEXACT): Likewise.
28600         (FE_TONEAREST): Likewise.
28601         (FE_TOWARDZERO): Likewise.
28602         (FE_UPWARD): Likewise.
28603         (FE_DOWNWARD): Likewise.
28604         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28605         (FE_DIVBYZERO): Likewise.
28606         (FE_OVERFLOW): Likewise.
28607         (FE_UNDERFLOW): Likewise.
28608         (FE_INEXACT): Likewise.
28609         (FE_TONEAREST): Likewise.
28610         (FE_DOWNWARD): Likewise.
28611         (FE_UPWARD): Likewise.
28612         (FE_TOWARDZERO): Likewise.
28613
28614 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
28615
28616         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28617
28618 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
28619
28620         * scripts/cross-test-ssh.sh (command): Use newlines to separate
28621         commands.  Quote $PWD.
28622         (blacklist_exports): Don't use remove_newlines.  Replace "declare
28623         -x" by "export".
28624         (remove_newlines): Remove.
28625
28626 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
28627
28628         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28629         * stdlib/stdlib.h (atof): Moved to ...
28630         * include/bits/stdlib-float.h: Here.  New file.
28631         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28632         * stdlib/bits/stdlib-float.h: New file.
28633         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28634         -mno-sse -mno-mmx.
28635         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28636         <xmmintrin.h>.
28637
28638 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
28639
28640         * conform/conformtest.pl (@headers): Add fenv.h.
28641         * conform/data/fenv.h-data: New file.
28642         * include/fenv.h [_ISOMAC]: Disable all contents of file except
28643         include of <math/fenv.h>.
28644
28645         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28646         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28647         && !UNIX98].  Enables tests for XOPEN2K8.
28648         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28649         POSIX2008]: Likewise.
28650
28651         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28652         (struct rusage): Do not expect type or its members.
28653
28654         [BZ #3439]
28655         * math/math.h (FP_NAN): Define macro to integer constant usable in
28656         #if and use that to give value to enum constant.
28657         (FP_INFINITE): Likewise.
28658         (FP_ZERO): Likewise.
28659         (FP_SUBNORMAL): Likewise.
28660         (FP_NORMAL): Likewise.
28661
28662 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
28663
28664         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28665         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28666         arguments.
28667
28668 2012-11-02  Roland McGrath  <roland@hack.frob.com>
28669
28670         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28671         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28672         autoconf-time if not.
28673         * configure.in: Remove AC_PREREQ.
28674
28675 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28676
28677         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28678         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28679         of the internal implementation.
28680
28681 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
28682
28683         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28684         except include of <misc/sys/syslog.h>.
28685
28686 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28687
28688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28689         function returns with a NULL context exit with zero.
28690
28691 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28692
28693         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28694
28695 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
28696
28697         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28698         (run_program_cmd): This.
28699         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28700         (tst_langinfo): New variable.  Use it.
28701
28702 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
28703
28704         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28705         floating point opcodes.
28706
28707 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28708
28709         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28710         variable.
28711
28712         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28713
28714         * sysdeps/mach/hurd/powerpc: Remove directory.
28715         * sysdeps/mach/powerpc: Likewise.
28716
28717 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28718
28719         * scripts/check-local-headers.sh: Ignore c++ headers.
28720
28721 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28722
28723         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28724         __libc_cleanup_region_start argument.
28725
28726 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
28727
28728         [BZ #14784]
28729         [BZ #14785]
28730         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28731         x * y using scaling, not as x * y + z.
28732         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28733         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28734         * math/libm-test.inc (fma_test): Add more tests.
28735         (fma_test_towardzero): Likewise.
28736         (fma_test_downward): Likewise.
28737         (fma_test_upward): Likewise.
28738
28739 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28740
28741         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28742
28743 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
28744
28745         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28746         New variable.
28747
28748 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
28749
28750         * rt/tst-shm.c (worker): Correct checking for mmap failure.
28751
28752 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
28753
28754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28755         Fix sort order.
28756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28757         Likewise.
28758
28759 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28760
28761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28762         Fix the order of the list for glibc 2.17.
28763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28764         Likewise.
28765
28766 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
28767
28768         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28769
28770 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
28771
28772         [BZ #14610]
28773         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28774         for low part of x being zero before using __atanl (y).
28775         * math/libm-test.inc (atan2_test): Add another test.
28776
28777         * manual/install.texi (Configuring and compiling): Document
28778         general use of test-wrapper and test-wrapper-env.
28779         * INSTALL: Regenerated.
28780
28781         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28782         (__fma): Do not extract and scale down low bits on after-rounding
28783         systems when result rounded to normal precision would have normal
28784         exponent.
28785         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28786         (__fmal): Do not extract and scale down low bits on after-rounding
28787         systems when result rounded to normal precision would have normal
28788         exponent.
28789         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28790         (__fmal): Do not extract and scale down low bits on after-rounding
28791         systems when result rounded to normal precision would have normal
28792         exponent.
28793         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28794         macro.
28795         (fma_test): Add more tests.
28796         (fma_test_towardzero): Likewise.
28797         (fma_test_downward): Likewise.
28798         (fma_test_upward): Likewise.
28799
28800 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
28801
28802         * sysdeps/i386/tininess.h: Renamed to ...
28803         * sysdeps/x86/tininess.h: This.
28804         * sysdeps/x86_64/tininess.h: Removed.
28805
28806 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
28807
28808         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28809         input.  Use $(build-program-cmd).
28810         ($(objpfx)tst-array1-static.out): Likewise.
28811         ($(objpfx)tst-array2.out): Likewise.
28812         ($(objpfx)tst-array3.out): Likewise.
28813         ($(objpfx)tst-array4.out): Likewise.
28814         ($(objpfx)tst-array5.out): Likewise.
28815         ($(objpfx)tst-array5-static.out): Likewise.
28816
28817 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
28818
28819         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28820         if defined.
28821
28822         * nss/nsswitch.h (nss_interface_function): Provide new
28823         macro for use with NSS functions.
28824         * grp/initgroups.c: Use new macro.
28825         * nss/getXXbyYY.c: Likewise.
28826         * nss/getXXbyYY_r.c: Likewise.
28827         * nss/getXXent.c: Likewise.
28828         * nss/getXXent_r.c: Likewise.
28829         * sysdeps/posix/getaddrinfo.c: Likewise.
28830
28831 2012-10-30  Andreas Jaeger  <aj@suse.de>
28832
28833         * po/ru.po: Update Russion translation from translation project.
28834
28835 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
28836
28837         [BZ #14152]
28838         [BZ #14783]
28839         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28840         result and shift together with sticky bit instead of replicating
28841         round-to-nearest rounding.
28842         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28843         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28844         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
28845         missing underflow exceptions.
28846         (fma_test_towardzero): Add more tests.
28847         (fma_test_downward): Likewise.
28848         (fma_test_upward): Likewise.
28849
28850         [BZ #14047]
28851         * sysdeps/generic/tininess.h: New file.
28852         * sysdeps/i386/tininess.h: Likewise.
28853         * sysdeps/sh/tininess.h: Likewise.
28854         * sysdeps/x86_64/tininess.h: Likewise.
28855         * stdlib/tst-strtod-underflow.c: Likewise.
28856         * stdlib/tst-tininess.c: Likewise.
28857         * stdlib/strtod_l.c: Include <tininess.h>.
28858         (round_and_return): Do not set errno for exact underflow cases.
28859         Force an underflow exception when setting errno for underflow.
28860         Determine underflow based on rounding to normal precision if
28861         TININESS_AFTER_ROUNDING.
28862         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28863         ERANGE for exact underflow cases.
28864         * stdlib/Makefile (tests): Add tst-tininess and
28865         tst-strtod-underflow.
28866         ($(objpfx)tst-tininess): Use $(link-libm).
28867         ($(objpfx)tst-strtod-underflow): Likewise.
28868
28869 2012-10-30  Andreas Jaeger  <aj@suse.de>
28870
28871         [BZ#14767]
28872         * elf/Makefile (tests): Remove conditional for have-initfini-array
28873         since this is now always required and the variable does not exist
28874         anymore.
28875         (tests-static): Likewise.
28876         (modules-names): Likewise.
28877
28878         * po/eo.po: Add Esperanto translation from translation project.
28879
28880         * elf/tst-array1.c (fini_array): Make writeable so that it can be
28881         merged with constructor/destructor.
28882         (init_array): Likewise.
28883         * elf/tst-array2dep.c (fini_array): Likewise.
28884         (init_array): Likewise.
28885
28886 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
28887
28888         * manual/message.texi: Delete @cartouche tags.
28889
28890 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
28891
28892         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28893         EOPNOTSUPP.
28894         * sysdeps/mach/hurd/fsync.c: Likewise.
28895
28896         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28897         [_POSIX_REALTIME_SIGNALS]: Change condition to
28898         [_POSIX_REALTIME_SIGNALS > 0].
28899
28900 2012-10-27  Andreas Jaeger  <aj@suse.de>
28901
28902         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28903         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28904         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28905         [__WORDSIZE != 64]: Likewise.
28906
28907 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
28908
28909         *  iconvdata/tst-table.sh: Remove ${SHELL}.
28910         *  iconvdata/tst-tables.sh: Likewise.
28911
28912 2012-10-25  David S. Miller  <davem@davemloft.net>
28913
28914         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28915         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28916         of strtoull.
28917
28918         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28919         ifunc-impl-list.c
28920         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28921         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28922         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28923         file.
28924
28925 2012-10-25  Roland McGrath  <roland@hack.frob.com>
28926
28927         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28928         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28929         __getdirentries.
28930
28931 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
28932             Jim Blandy  <jimb@codesourcery.com>
28933
28934         * scripts/cross-test-ssh.sh: New file.
28935         * manual/install.texi (Configuring and compiling): Document use of
28936         cross-test-ssh.sh.
28937         * INSTALL: Regenerated.
28938
28939 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
28940
28941         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28942         EOPNOTSUPP.
28943
28944 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
28945
28946         * Makeconfig (run-program-prefix): Fix comment.
28947
28948 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
28949             Jim Blandy  <jimb@codesourcery.com>
28950
28951         * Makeconfig (test-wrapper): New variable,
28952         (test-wrapper-env): Likewise.
28953         [$(cross-compiling) = yes && $(test-wrapper) != ""]
28954         (run-built-tests): Define to yes.
28955         (run-program-prefix): Use $(test-wrapper).
28956         (built-program-cmd): Likewise.
28957         * Rules (make-test-out): Use $(test-wrapper-env) and
28958         $(host-built-program-cmd).
28959         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28960         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28961         tst-pathopt.sh.
28962         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28963         $(test-wrapper-env) to tst-rtld-load-self.sh.
28964         ($(objpfx)order2.out): Use $(test-wrapper).
28965         ($(objpfx)tst-initorder.out): Likewise.
28966         ($(objpfx)tst-initorder2.out): Likewise.
28967         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28968         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28969         (test_wrapper_env): New variable.  Use it to run ld.so.
28970         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28971         Use it to run ld.so.
28972         (test_wrapper_env): Likewise.
28973         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28974         $(test-wrapper) to run-iconv-test.sh.
28975         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28976         (ICONV): Use $test_wrapper.
28977         * posix/Makefile ($(objpfx)globtest.out): Pass
28978         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28979         globtest.sh, not $(run-program-prefix).
28980         * posix/globtest.sh (run_via_rtld_prefix): New variable.
28981         (test_wrapper): Likewise.
28982         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
28983         set together with run_via_rtld_prefix.
28984         (run_program_prefix): Define in terms of test_wrapper and
28985         run_via_rtld_prefix.
28986
28987 2012-10-24  Roland McGrath  <roland@hack.frob.com>
28988
28989         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28990         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28991         Targets removed.
28992
28993         [BZ #14743]
28994         * include/time.h: Remove librt_hidden_proto (clock_gettime).
28995         Declare __clock_getres, __clock_gettime, __clock_settime,
28996         __clock_nanosleep, and __clock_getcpuclockid.
28997         * rt/clock_gettime.c: Define __clock_gettime as an alias.
28998         Remove librt_hidden_def (clock_gettime).
28999         * sysdeps/unix/clock_gettime.c: Likewise.
29000         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29001         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29002         * rt/clock_getres.c: Define __clock_getres as an alias.
29003         * sysdeps/posix/clock_getres.c: Likewise.
29004         * rt/clock_settime.c: Define __clock_settime as an alias.
29005         * sysdeps/unix/clock_settime.c: Likewise.
29006         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29007         * sysdeps/unix/clock_nanosleep.c: Likewise.
29008         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29009         * rt/clock-compat.c: New file.
29010         * rt/Makefile (librt-routines): Add clock-compat and move
29011         $(clock-routines) to ...
29012         (routines): ... here, new variable.
29013         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29014         Don't add get_clockfreq here.
29015         * rt/Versions (libc: GLIBC_2.17): New version set.
29016         Add clock_* symbols here.
29017         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
29018         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29019         (GLIBC_2.17): Add clock_* symbols.
29020         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29021         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29022         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29024         Likewise.
29025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29026         Likewise.
29027         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29028         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29029         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29030         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29031         * NEWS: Mention the move.
29032
29033         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29034         Use __open, __read, __close rather than their public counterparts.
29035         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29036         (__get_clockfreq_via_cpuinfo): Likewise.
29037         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29038         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29039
29040         * config.h.in (HAVE_IFUNC): New #undef.
29041         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29042         was successful.
29043         * configure: Regenerated.
29044
29045 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29046
29047         * configure.in: Move READELF check to start of file.
29048         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29049         libc_cv_asm_gnu_indirect_function in the process.
29050         * configure: Regenerated.
29051
29052 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29053
29054         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29055         send the output to /dev/null.
29056         (libc_cv_cc_with_libunwind): Likewise.
29057         (libc_cv_as_noexecstack): Likewise.
29058         * configure: Regenerate.
29059
29060 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29061
29062         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29063
29064         * posix/globtest.sh (TMPDIR): Do not set.
29065         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29066         (testout): Likewise.
29067
29068 2012-10-24  Andreas Jaeger  <aj@suse.de>
29069
29070         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29071         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29072         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29073         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29074         posix_fadvise64, posix_fallocate64.
29075
29076         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29077         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29078         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29079         Likewise.
29080         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29081         Likewise.
29082         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29083
29084         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29085         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29086         <bits/fcntl-linux.h>.
29087         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29088
29089         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29090         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29091         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29092         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29093         [__WORDSIZE != 64]: Likewise.
29094
29095 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29096
29097         * Makeconfig (run-built-tests): New variable.
29098         * Rules [$(cross-compiling) = yes]: Change condition to
29099         [$(run-built-tests) = no].
29100         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29101         to [$(run-built-tests) = yes].
29102         * elf/Makefile [$(cross-compiling) = no]: Likewise
29103         * grp/Makefile [$(cross-compiling) = no]: Likewise.
29104         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29105         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29106         * intl/Makefile [$(cross-compiling) = no]: Likewise.
29107         * io/Makefile [$(cross-compiling) = no]: Likewise.
29108         * libio/Makefile [$(cross-compiling) = no]: Likewise.
29109         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29110         * misc/Makefile [$(cross-compiling) = no]: Likewise.
29111         * posix/Makefile [$(cross-compiling) = no]: Likewise.
29112         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29113         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29114         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29115         * string/Makefile [$(cross-compiling) = no]: Likewise.
29116
29117         * posix/Makefile ($(objpfx)globtest.out): Pass
29118         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29119         $(rtld-installed-name).
29120         * posix/globtest.sh (elf_objpfx): Remove variable.
29121         (rtld_installed_name): Likewise.
29122         (library_path): Likewise.
29123         (run_program_prefix): New variable.  Use for running globtest
29124         binary.
29125
29126 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
29127             Joseph Myers  <joseph@codesourcery.com>
29128
29129         * Makeconfig (host-built-program-cmd): New variable.
29130         * elf/Makefile (tst-stackguard1-ARGS): Use
29131         $(host-built-program-cmd).
29132         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29133         (tst-spawn-ARGS): Likewise.
29134         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29135
29136 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29137             Jim Blandy  <jimb@codesourcery.com>
29138
29139         * Makeconfig (run-via-rtld-prefix): New variable.
29140         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29141         (built-program-cmd): Likewise.
29142
29143 2012-10-22  Andreas Jaeger  <aj@suse.de>
29144
29145         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29146         __O_RSYNC if it exists, otherwise to O_SYNC.
29147
29148 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
29149             Joseph Myers  <joseph@codesourcery.com>
29150
29151         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29152         /dev/null.
29153         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29154         from /dev/null
29155         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29156         /dev/null.
29157
29158 2012-10-22  Andreas Jaeger  <aj@suse.de>
29159
29160         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29161         Define always.
29162         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29163
29164         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29165         bits/fcntl-linux.h.
29166
29167         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29168         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29169
29170         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29171         to __O_LARGEFILE.
29172         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29173         to __O_LARGEFILE.
29174
29175 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
29176             Joseph Myers  <joseph@codesourcery.com>
29177
29178         * config.make.in (NM): New variable.
29179
29180 2012-10-21  Andreas Jaeger  <aj@suse.de>
29181
29182         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29183         definitions and declarations that are provided by
29184         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29185
29186 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29187
29188         [BZ #14683]
29189         * elf/Makefile (tests-static): Add tst-leaks1-static.
29190         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29191         ($(objpfx)tst-leaks1-static): New rule.
29192         ($(objpfx)tst-leaks1-static-mem): Likewise.
29193         (tst-leaks1-static-ENV): New macro.
29194         * elf/dl-open.c (dl_open_worker): Check the main application
29195         only if SHARED is defined.
29196         * elf/tst-leaks1-static.c: New file.
29197
29198 2012-10-20  Andreas Jaeger  <aj@suse.de>
29199
29200         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29201         generic values for Linux.
29202         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29203         and declarations that are provided by <bits/fcntl-linux.h> and
29204         include <bits/fcntl-linux.h>.
29205         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29206         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29207
29208 2012-10-20  Roland McGrath  <roland@hack.frob.com>
29209
29210         * io/fcntl.h: Move include of <bits/types.h> to the top and
29211         include it unconditionally.
29212
29213 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29214
29215         * wcsmbs/Makefile (tests-ifunc): New variable.
29216         (tests): Add $(tests-ifunc).
29217         * wcsmbs/test-wcschr-ifunc.c: New file.
29218         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29219         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29220         * wcsmbs/test-wcslen-ifunc.c: Likewise.
29221         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29222         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29223
29224         * string/Makefile (tests-ifunc): New variable.
29225         (tests): Add $(tests-ifunc).
29226         * string/test-memccpy.c (TEST_NAME): New macro.
29227         * string/test-memchr.c (TEST_NAME): Likewise.
29228         * string/test-memcmp.c (TEST_NAME): Likewise.
29229         * string/test-memcpy.c (TEST_NAME): Likewise.
29230         * string/test-memmem.c (TEST_NAME): Likewise.
29231         * string/test-memmove.c (TEST_NAME): Likewise.
29232         * string/test-memset.c (TEST_NAME): Likewise.
29233         * string/test-rawmemchr.c (TEST_NAME): Likewise.
29234         * string/test-stpcpy.c (TEST_NAME): Likewise.
29235         * string/test-stpncpy.c (TEST_NAME): Likewise.
29236         * string/test-strcasecmp.c (TEST_NAME): Likewise.
29237         * string/test-strcasestr.c (TEST_NAME): Likewise.
29238         * string/test-strcat.c (TEST_NAME): Likewise.
29239         * string/test-strchr.c (TEST_NAME): Likewise.
29240         * string/test-strcmp.c(TEST_NAME): Likewise.
29241         * string/test-strcpy.c (TEST_NAME): Likewise.
29242         * string/test-strcspn.c (TEST_NAME): Likewise.
29243         * string/test-strlen.c (TEST_NAME): Likewise.
29244         * string/test-strncasecmp.c (TEST_NAME): Likewise.
29245         * string/test-strncmp.c (TEST_NAME): Likewise.
29246         * string/test-strncpy.c (TEST_NAME): Likewise.
29247         * string/test-strnlen.c (TEST_NAME): Likewise.
29248         * string/test-strpbrk.c (TEST_NAME): Likewise.
29249         * string/test-strrchr.c (TEST_NAME): Likewise.
29250         * string/test-strspn.c (TEST_NAME): Likewise.
29251         * string/test-strstr.c (TEST_NAME): Likewise.
29252         * string/test-bcopy-ifunc.c: New file.
29253         * string/test-bzero-ifunc.c: Likewise.
29254         * string/test-memccpy-ifunc.c: Likewise.
29255         * string/test-memchr-ifunc.c: Likewise.
29256         * string/test-memcmp-ifunc.c: Likewise.
29257         * string/test-memcpy-ifunc.c: Likewise.
29258         * string/test-memmem-ifunc.c: Likewise.
29259         * string/test-memmove-ifunc.c: Likewise.
29260         * string/test-mempcpy-ifunc.c: Likewise.
29261         * string/test-memset-ifunc.c: Likewise.
29262         * string/test-rawmemchr-ifunc.c: Likewise.
29263         * string/test-stpcpy-ifunc.c: Likewise.
29264         * string/test-stpncpy-ifunc.c: Likewise.
29265         * string/test-strcasecmp-ifunc.c: Likewise.
29266         * string/test-strcasestr-ifunc.c: Likewise.
29267         * string/test-strcat-ifunc.c: Likewise.
29268         * string/test-strchr-ifunc.c: Likewise.
29269         * string/test-strchrnul-ifunc.c: Likewise.
29270         * string/test-strcmp-ifunc.c: Likewise.
29271         * string/test-strcpy-ifunc.c: Likewise.
29272         * string/test-strcspn-ifunc.c: Likewise.
29273         * string/test-strlen-ifunc.c: Likewise.
29274         * string/test-strncasecmp-ifunc.c: Likewise.
29275         * string/test-strncat-ifunc.c: Likewise.
29276         * string/test-strncmp-ifunc.c: Likewise.
29277         * string/test-strncpy-ifunc.c: Likewise.
29278         * string/test-strnlen-ifunc.c: Likewise.
29279         * string/test-strpbrk-ifunc.c: Likewise.
29280         * string/test-strrchr-ifunc.c: Likewise.
29281         * string/test-strspn-ifunc.c: Likewise.
29282         * string/test-strstr-ifunc.c: Likewise.
29283
29284         * debug/Makefile (tests-ifunc): New variable.
29285         (tests): Add $(tests-ifunc).
29286         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29287         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29288         * debug/test-stpcpy_chk-ifunc.c: New file.
29289         * debug/test-strcpy_chk-ifunc.c: Likewise.
29290
29291 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29292
29293         [BZ #13601]
29294         * elf/dl-load.c (open_verify): Retry read if the entire ELF
29295         header is not read in.
29296
29297 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
29298
29299         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
29300         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
29301         directly.  Pass built executable to script as
29302         $(built-program-cmd).
29303         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
29304         $testprogram without using LD_LIBRARY_PATH and $ldso.
29305
29306         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29307         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29308         $(rtld-installed-name).
29309         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29310         (rtld_installed_name): Likewise.
29311         (library_path): Likewise.
29312         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
29313         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29314         $(run-program-prefix) to tst-tables.sh.
29315         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
29316         it to run tst-table-from and tst-table-to.
29317         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29318         Pass it to tst-table.sh.
29319         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29320         $(run-program-prefix) to tst-gettext.sh.
29321         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29322         tst-translit.sh.
29323         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29324         tst-gettext2.sh.
29325         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
29326         to run tst-gettext.
29327         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
29328         to run tst-gettext2.
29329         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
29330         to run tst-translit.
29331         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29332         $(run-program-prefix) to tst-mtrace.sh.
29333         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
29334         to run tst-mtrace.
29335         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29336         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29337         $(rtld-installed-name).
29338         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29339         (rtld_installed_name): Likewise.
29340         (run_program_prefix): New variable.  Use it to run wordexp-test.
29341
29342         * Makeconfig (ARCH): Remove all definitions.
29343         (machine): Likewise.
29344         [ARCH]: Remove conditional code.
29345         [!objdir]: Give error.
29346         [!objdir] (objpfx): Remove.
29347         [!objdir] (common-objpfx): Likewise.
29348         [!objdir] (common-objdir): Likewise.
29349         * configure.in (config_makefile): Remove.  Hardcode Makefile in
29350         AC_CONFIG_FILES call.
29351         * configure: Regenerated.
29352
29353         [BZ #13888]
29354         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29355         or TMPDIR.
29356         (testout): Likewise.
29357
29358         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29359         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29360         $(rtld-installed-name).
29361         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29362         (rtld_installed_name): Likwise.
29363         (runit): Remove function.
29364         (run_getconf): New variable,  Use it for running getconf binary.
29365
29366 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
29367
29368         [BZ #14716]
29369         * string/test-memmem.c (check_result): New function.
29370         (do_one_test): Use it.
29371         (check1): New function.
29372         (test_main): Use it.
29373
29374 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
29375
29376         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29377
29378 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
29379
29380         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29381         (_G_LSEEK64): Likewise.
29382         (_G_MMAP64): Likewise.
29383         (_G_FSTAT64): Likewise.
29384         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29385         (_G_LSEEK64): Likewise.
29386         (_G_MMAP64): Likewise.
29387         (_G_FSTAT64): Likewise.
29388         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29389         unconditional.  Call __mmap64 directly.
29390         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29391         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
29392         __lseek64 directly.
29393         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29394         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
29395         __mmap64 directly.
29396         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29397         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29398         __lseek64 directly.
29399         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29400         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29401         __lseek64 directly.
29402         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29403         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
29404         __lseek64 directly.
29405         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29406         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
29407         __fxstat64 directly.
29408         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29409         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29410         unconditional.
29411         (freopen64) [!_G_OPEN64]: Remove conditional code.
29412         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29413         unconditional.
29414         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29415         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29416         unconditional.
29417         (ftello64) [!_G_LSEEK64]: Remove conditional code.
29418         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29419         unconditional.
29420         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29421         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29422         unconditional.
29423         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29424         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29425         unconditional.
29426         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29427         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29428         unconditional.
29429         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29430         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29431         unconditional.
29432         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29433
29434 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29435
29436         [BZ #12140]
29437         * manual/memory.texi (Malloc Tunable Parameters): Add note
29438         about free list pointers overwriting some perturb bytes.
29439         Wording suggested by Roland McGrath.
29440
29441 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
29442
29443         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29444         (lgamma_test): Likewise.
29445         (tgamma_test): Likewise.
29446
29447 2012-10-16  Florian Weimer  <fweimer@redhat.com>
29448
29449         [BZ #14700]
29450         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29451         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29452
29453 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
29454
29455         * NEWS: Mention BZ #14716.
29456         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29457         when removing AVAILABLE1_USES_J macro.
29458
29459 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
29460
29461         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29462         (__bswap_64): __uint64_t for unsigned 64-bit int.
29463
29464 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
29465
29466         * include/string.h (memmem): Declare libc hidden alias.
29467         * string/memmem.c (memmem): Define libc hidden alias.
29468         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29469         __read, __close instead of open, read, close.
29470
29471 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
29472
29473         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29474         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29475         global and hidden.
29476         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29477         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29478         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29479         Likewise.
29480         (__rawmemchr_sse2): Likewise.
29481         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29482         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29483         (__strchr_sse2): Likewise.
29484         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29485         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29486         (__strcasecmp_sse2): Likewise.
29487         (__strncasecmp_sse2): Likewise.
29488         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29489         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29490         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29491         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29492         (__strrchr_sse2): Likewise.
29493         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29494         ifunc-impl-list.c.
29495         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29496         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29497         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29498         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29499         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29500         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29501         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29502         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29503         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29504         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29505         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29506         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29507         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29508         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29509         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29510         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29511         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29512         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29513         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29514         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29515         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29516         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29517         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29518         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29519         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29520         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29521         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29522         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29523         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29524         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29525
29526         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29527         global and hidden.
29528         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29529         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29530         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29531         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29532         Likewise.
29533         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29534         Likewise.
29535         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29536         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29537         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29538         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29539         ifunc-impl-list.c.
29540         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29541         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29542         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29543         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29544         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29545         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29546         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29547         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29548         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29549         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29550         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29551         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29552         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29553         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29554         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29555         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29556         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29557         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29558         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29559         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29560         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29561         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29562         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29563         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29564         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29565         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29566         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29567         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29568         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29569         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29570         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29571         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29572         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29573         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29574         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29575         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29576         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29577         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29578         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29579         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29580         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29581
29582         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29583         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29584         * include/ifunc-impl-list.h: New file.
29585         * misc/ifunc-impl-list.c: Likewise.
29586         * misc/Makefile (routines): Add ifunc-impl-list.
29587         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29588         * string/test-string.h: Include <ifunc-impl-list.h>.
29589         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29590         TEST_NAME]: New variables.
29591         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29592         are defined.
29593         (test_init): Call __libc_ifunc_impl_list to initialize
29594         func_list if TEST_IFUNC and TEST_NAME are defined.
29595
29596         * string/Makefile (strop-tests): Add bcopy and bzero.
29597         * string/test-bcopy.c: New file.
29598         * string/test-bzero.c: Likewise.
29599         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29600         defined.
29601         * string/test-memset.c: Support bzero test if TEST_BZERO is
29602         defined.
29603         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29604         __libc_memmove.
29605         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29606         __libc_memset.
29607         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29608         of memset.
29609
29610 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
29611
29612         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29613         * configure: Regenerated.
29614
29615         * Makeconfig (+link-static-before-libc): Don't include
29616         $(link-static-libc).
29617
29618         * libio/libio.h (_IO_pos_t): Remove.
29619
29620 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29621
29622         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
29623         McGrath.
29624
29625 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29626
29627         * crypt/crypt-entry.c: Include fips-private.h.
29628         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29629         * crypt/md5c-test.c (main): Tolerate disabled MD5.
29630         * sysdeps/unix/sysv/linux/fips-private.h: New file.
29631         * sysdeps/generic/fips-private.h: New file, dummy fallback.
29632
29633 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29634
29635         * crypt/crypt-private.h: Include stdbool.h.
29636         (_ufc_setup_salt_r): Return bool.
29637         * crypt/crypt-entry.c: Include errno.h.
29638         (__crypt_r): Return NULL with EINVAL for bad salt.
29639         * crypt/crypt_util.c (bad_for_salt): New.
29640         (_ufc_setup_salt_r): Check that salt is long enough and within
29641         the specified alphabet.
29642         * crypt/badsalttest.c: New file.
29643         * crypt/Makefile (tests): Add it.
29644         ($(objpfx)badsalttest): New.
29645
29646 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
29647
29648         * NEWS: Add entry for BZ #14602.
29649
29650 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
29651
29652         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29653         type-generic.
29654         * math/libm-test.inc: Update comment listing what functions and
29655         macros are tested.
29656         (isgreater_test): New function.
29657         (isgreaterequal_test): Likewise.
29658         (isless_test): Likewise.
29659         (islessequal_test): Likewise.
29660         (islessgreater_test): Likewise.
29661         (isunordered_test): Likewise.
29662         (main): Call the new functions.
29663
29664 2012-10-09  Roland McGrath  <roland@hack.frob.com>
29665
29666         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29667         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29668         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29669         * sysdeps/i386/configure: Regenerated.
29670         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29671         * sysdeps/mach/configure: Regenerated.
29672         * sysdeps/mach/hurd/configure: Regenerated.
29673         * sysdeps/powerpc/configure: Regenerated.
29674         * sysdeps/powerpc/powerpc32/configure: Regenerated.
29675         * sysdeps/powerpc/powerpc64/configure: Regenerated.
29676         * sysdeps/s390/s390-32/configure: Regenerated.
29677         * sysdeps/s390/s390-64/configure: Regenerated.
29678         * sysdeps/sh/configure: Regenerated.
29679         * sysdeps/sparc/configure: Regenerated.
29680         * sysdeps/unix/sysv/linux/configure: Regenerated.
29681         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29682         * sysdeps/x86_64/configure: Regenerated.
29683
29684         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29685         defined.  Don't check if MAP is NULL.
29686
29687 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
29688
29689         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29690         (_G_stat64): Likewise.
29691         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29692         (_G_stat64): Likewise.
29693         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29694         instead of struct _G_stat64.
29695         * libio/fileops.c (mmap_remap_check): Likewise.
29696         (decide_maybe_mmap): Likewise.
29697         (_IO_new_file_seekoff): Likewise.
29698         (_IO_file_stat): Likewise.
29699         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29700         _G_off64_t.
29701         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29702         instead of struct _G_stat64.
29703         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29704
29705 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
29706
29707         [BZ #14602]
29708         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29709         Replace with ...
29710         (CHECK_EOL): New macro.
29711         (two_way_short_needle): Check beginning of haystack for EOL.  Use
29712         CHECK_EOL.
29713         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29714         Replace with CHECK_EOL.
29715         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29716         Replace with CHECK_EOL.
29717
29718 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
29719
29720         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29721         type-generic.
29722         * math/libm-test.inc: Update comment listing what functions and
29723         macros are tested.
29724         (finite_test): New function.
29725         (isinf_test): Likewise.
29726         (isnan_test): Likewise.
29727         (fpclassify_test): Test subnormal input.
29728         (isfinite_test): Likewise.
29729         (isnormal_test): Likewise.
29730         (main): Call the new functions.
29731
29732 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
29733
29734         [BZ #14660]
29735         * Makerules (%.dynsym): Force C locale when running
29736         $(OBJDUMP) --dynamic-syms.
29737
29738 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
29739
29740         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29741         <stdint.h>.
29742
29743 2012-10-06  David S. Miller  <davem@davemloft.net>
29744
29745         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29746         upper 32-bits of the length value in %o2 since we use branch-on-register
29747         tests which consider the entire 64-bit register.
29748
29749 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
29750
29751         * string/test-strstr.c (check2): Add a test for page boundary.
29752
29753 2012-10-05  David S. Miller  <davem@davemloft.net>
29754
29755         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29756         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29757         file.
29758         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29759         sysdep_routines.
29760         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29761         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29762         and bzero when HWCAP_SPARC_CRYPTO is present.
29763
29764 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
29765
29766         [BZ #14602]
29767         * string/test-strstr.c (check2): New function.
29768         (test_main): Call check2.
29769
29770         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29771         and bug-strchr1.
29772         * string/bug-strcasestr1.c (do_test): Moved to ...
29773         * string/test-strcasestr.c (check1): Here.  New function.
29774         (do_one_test): Break out result checking code into ...
29775         (check_result): This.  New function.
29776         (do_one_test): Call check_result.
29777         (test_main): Call check1.
29778         * string/bug-strchr1.c (do_test): Moved to ...
29779         * string/test-strchr.c (check1): Here.  New function.
29780         (do_one_test): Break out result checking code into ...
29781         (check_result): This.  New function.
29782         (do_one_test): Call check_result.
29783         (test_main): Call check1.
29784         * string/bug-strstr1.c (main): Moved to ...
29785         * string/test-strstr.c (check1): Here.  New function.
29786         (do_one_test): Break out result checking code into ...
29787         (check_result): This.  New function.
29788         (do_one_test): Call check_result.
29789         (test_main): Call check1.
29790         * string/bug-strcasestr1.c: Removed.
29791         * string/bug-strchr1.c: Likewise.
29792         * string/bug-strstr1.c: Likewise.
29793
29794         * elf/Makefile (dl-routines): Add hwcaps.
29795         * elf/dl-support.c (_dl_important_hwcaps): Removed.
29796         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29797         (_dl_important_hwcaps): Moved to ...
29798         * elf/dl-hwcaps.c: Here.  New file.
29799         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29800
29801         [BZ #14557]
29802         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29803         if IS_IN_rtld isn't defined.
29804
29805         * elf/dl-support.c (_dl_sysinfo_map): New.
29806         Include "get-dynamic-info.h" and "setup-vdso.h".
29807         (_dl_non_dynamic_init): Call setup_vdso.
29808         * elf/dynamic-link.h: Don't include <assert.h>.
29809         (elf_get_dynamic_info): Moved to ...
29810         * elf/get-dynamic-info.h: Here.  New file.
29811         * elf/dynamic-link.h: Include "get-dynamic-info.h".
29812         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29813         * elf/setup-vdso.h: Here.  New file.
29814         * elf/rtld.c: Include "setup-vdso.h".
29815         (dl_main): Call setup_vdso.
29816
29817 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
29818
29819         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29820         creal in comment listing functions tested.  List finite, isinf,
29821         isnan, isless, islessequal, isgreater, isgreaterequal,
29822         islessgreater, isunordered, lgamma_r and pow10 as functions and
29823         macros not tested.  Mention which functions not tested are aliases
29824         for other functions.  Fix typo.  Note that signs of NaNs are not
29825         tested.
29826
29827         * scripts/config.guess: Update from config.git.
29828         * scripts/config.sub: Likewise.
29829
29830 2012-10-04  Roland McGrath  <roland@hack.frob.com>
29831
29832         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29833         * misc/madvise.c (madvise): Renamed to __madvise.
29834         Make madvise a weak alias.
29835         * include/sys/mman.h: Declare __madvise.
29836         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29837         * sysdeps/unix/syscalls.list
29838         (madvise): Make __madvise the strong name, and madvise a weak alias.
29839         * sysdeps/unix/sysv/linux/syscalls.list
29840         (madvise, mmap): Remove redundant entries.
29841         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29842         * malloc/malloc.c (mtrim): Likewise.
29843         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29844
29845 2012-10-03  Roland McGrath  <roland@hack.frob.com>
29846
29847         * sysdeps/mach/hurd/dl-cache.c: File removed.
29848         * config.h.in (USE_LDCONFIG): New #undef.
29849         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29850         * configure: Regenerated.
29851         * elf/Makefile (dl-routines): Add dl-cache only under
29852         [$(use-ldconfig) = yes].
29853         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29854         cache on [USE_LDCONFIG].
29855         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29856         [USE_LDCONFIG].
29857         * elf/rtld.c (dl_main): Likewise.
29858
29859 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
29860
29861         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29862         _SC_LEVEL4_CACHE_LINESIZE.
29863
29864 2012-10-03  Roland McGrath  <roland@hack.frob.com>
29865
29866         * sysdeps/unix/bsd/confstr.h: File removed.
29867
29868 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
29869
29870         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29871         sys/sdt-config.h.
29872
29873 2012-10-02  Roland McGrath  <roland@hack.frob.com>
29874
29875         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29876         Make 'mapoff' field ElfW(Off) rather than off_t.
29877
29878 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
29879
29880         * nscd/Makefile: Remove nscd-cflags and all its users.
29881         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29882         (CFLAGS-nonlib): Add compiler flags for nscd modules.
29883
29884         [BZ #10631]
29885         * malloc.c (malloc_printerr): Clarify error message.
29886
29887 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
29888
29889         [BZ #14648]
29890         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29891         Set bit_FMA_Usable if FMA is supported.
29892         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29893         macro.
29894         (bit_FMA4_Usable): Updated.
29895         (index_FMA_Usable): New macro.
29896         (CPUID_FMA): Likewise
29897         (HAS_FMA): Defined with bit_FMA_Usable.
29898
29899 2012-10-01  Roland McGrath  <roland@hack.frob.com>
29900
29901         * bits/types.h (__swblk_t): Type removed.
29902         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29903         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29904         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29905         (__SWBLK_T_TYPE): Likewise.
29906         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29907         (__SWBLK_T_TYPE): Likewise.
29908         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29909         (__SWBLK_T_TYPE): Likewise.
29910         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29911         (__SWBLK_T_TYPE): Likewise.
29912
29913 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
29914             Honza Horak <hhorak@redhat.com>
29915
29916         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29917         (xdr_mapname): Use YPMAXMAP as maxsize.
29918         (xdr_peername): Use YPMAXPEER as maxsize.
29919         (xdr_keydat): Use YPAXRECORD as maxsize.
29920         (xdr_valdat): Use YPMAXRECORD as maxsize.
29921
29922 2012-10-01  Roland McGrath  <roland@hack.frob.com>
29923
29924         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29925
29926         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29927         * csu/init-first.c: ... here.
29928         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29929         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29930         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29931         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29932         * sysdeps/i386/init-first.c: File removed.
29933         * sysdeps/sh/init-first.c: File removed.
29934
29935 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
29936
29937         [BZ #14645]
29938         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29939         if x * y might underflow to zero and z is zero.
29940         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29941         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29942         * math/libm-test.inc (min_subnorm_value): New variable.
29943         (fma_test): Add more tests.
29944         (fma_test_towardzero): Likewise.
29945         (fma_test_downward): Likewise
29946         (fma_test_upward): Likewise.
29947         (initialize): Set min_subnorm_value.
29948
29949 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
29950
29951         [BZ #14638]
29952         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29953         0 + 0.
29954         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29955         mode for addition resulting in exact zero.
29956         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29957         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29958         exact 0 + 0.
29959         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29960         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29961         * math/libm-test.inc (fma_test): Add more tests.
29962         (fma_test_towardzero): New function.
29963         (fma_test_downward): Likewise.
29964         (fma_test_upward): Likewise.
29965         (main): Call the new functions.
29966
29967 2012-09-28  David S. Miller  <davem@davemloft.net>
29968
29969         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29970
29971 2012-09-28  Roland McGrath  <roland@hack.frob.com>
29972
29973         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29974         instead of SIGALRM.
29975
29976         * sysdeps/gnu/_G_config.h: Moved to ...
29977         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29978         * sysdeps/mach/hurd/_G_config.h: Moved to ...
29979         * sysdeps/generic/_G_config.h: ... here.
29980
29981         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
29982
29983         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29984
29985         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29986         Conditionalize target on [libnss_test1.so-version].
29987
29988         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29989
29990         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29991         (elfobjdir): Move out of conditionals.
29992
29993         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29994         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29995         (__nss_lookup_function): Conditionalize label remove_from_tree on
29996         [!DO_STATIC_NSS || SHARED], matching its only use.
29997
29998 2012-09-28  David S. Miller  <davem@davemloft.net>
29999
30000         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30001         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30002         file.
30003         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30004         sysdep_routines.
30005         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30006         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30007         when HWCAP_SPARC_CRYPTO is present.
30008
30009 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30010
30011         * io/tst-mknodat.c: Create a FIFO instead of a socket.
30012
30013 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
30014
30015         [BZ #6530]
30016         * stdio-common/vfprintf.c (process_string_arg): Revert
30017         2000-07-22 change.
30018
30019 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
30020
30021         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30022         for testcase.
30023         * stdio-common/tst-sprintf.c: Include <locale.h>
30024         (main): Test sprintf's handling of incomplete multibyte
30025         characters.
30026
30027 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
30028
30029         * elf/dl-runtime.c (VERSYMIDX): Removed.
30030         * elf/dl-version.c (VERSYMIDX): Likewise.
30031         * elf/do-rel.h (VERSYMIDX): Likewise.
30032         (VALIDX): Likewise.
30033         * elf/dynamic-link.h (VERSYMIDX): Likewise.
30034         * elf/rtld.c (VALIDX): Likewise.
30035         (ADDRIDX): Likewise.
30036         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30037         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30038         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30039         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30040         (VALIDX): Likewise.
30041         (ADDRIDX): Likewise.
30042
30043 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30044
30045         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30046
30047 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
30048
30049         [BZ #11438]
30050         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30051         to global scope.
30052         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30053         addresses are in the same scope as 192.0.2/24.
30054         * posix/gai.conf: Document new scope table defaults.
30055
30056 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30057
30058         [BZ #5298]
30059         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30060         for ftell.  Compute offsets from write pointers instead.
30061         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30062
30063 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30064
30065         [BZ #14543]
30066         * libio/Makefile (tests): New test case tst-fseek.
30067         * libio/tst-fseek.c: New test case to verify that fseek/ftell
30068         combination works in wide mode.
30069         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30070         state when the external buffer state changes.
30071
30072 2012-09-27  David S. Miller  <davem@davemloft.net>
30073
30074         [BZ #14376]
30075         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30076         pass reloc->r_addend in as the 'high' argument to
30077         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30078
30079         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30080
30081 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30082
30083         * rt/tst-aio2.c: Include <pthread.h>.
30084         * rt/tst-aio3.c: Likewise.
30085
30086 2012-09-27  Steve Ellcey  <sellcey@mips.com>
30087
30088         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30089
30090 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
30091
30092         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30093         contents on [SHARED].
30094
30095 2012-09-26  Marek Polacek  <polacek@redhat.com>
30096
30097         [BZ #14530]
30098         [BZ #13741]
30099         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30100         for C++ and GCC <4.3 as well as for non GCC compilers.
30101
30102 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
30103
30104         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30105
30106 2012-09-25  Roland McGrath  <roland@hack.frob.com>
30107
30108         * Makefile.in (all, install): Declare with .PHONY.
30109         Reported by Michael Hope <michael.hope@linaro.org>.
30110
30111 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30112
30113         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30114         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30115         system header.
30116         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30117         Likewise.
30118         (sydep_routines): Add the new and the internal functions.
30119         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30120         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30122         (GLIBC_2.17): Add the new function.
30123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30124         (GLIBC_2.17): Likewise.
30125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30126         (GLIBC_2.17): Likewise.
30127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30128         (GLIBC_2.17): Likewise.
30129         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30130
30131 2012-09-25  Alan Modra  <amodra@gmail.com>
30132
30133         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30134         Add release barrier before setting once_control to say
30135         initialisation is done.  Add hints on lwarx.  Use macro in
30136         place of isync.
30137         (clear_once_control): Add release barrier.
30138
30139 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30140
30141         [BZ #13629]
30142         * math/s_clog.c (__clog): Handle more values close to |z| = 1
30143         specially.
30144         * math/s_clog10.c (__clog10): Likewise.
30145         * math/s_clog10f.c (__clog10f): Likewise.
30146         * math/s_clog10l.c (__clog10l): Likewise.
30147         * math/s_clogf.c (__clogf): Likewise.
30148         * math/s_clogl.c (__clogl): Likewise.
30149         * math/Makefile (libm-calls): Add x2y2m1.
30150         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30151         (__x2y2m1): Likewise.
30152         (__x2y2m1l): Likewise.
30153         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30154         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30155         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30156         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30157         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30158         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30159         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30160         * sysdeps/i386/fpu/libm-test-ulps: Update.
30161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30162
30163         [BZ #14621]
30164         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30165         int as type of variable DEPTH.
30166         (glob): Use size_t instead of int as type of variables NEWCOUNT
30167         and OLD_PATHC.
30168
30169 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30170
30171         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30172         Add s_sincosf-sse2.
30173         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30174         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30175         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30176         macros for using routine as __sincosf_ia32.
30177         Use macro for function declaration and weak_alias.
30178         * sysdeps/i386/fpu/libm-test-ulps: Update.
30179
30180         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30181         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30182
30183         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30184         subnormal argument.
30185         * math/s_cexpf.c (__cexpf): Likewise.
30186         * math/s_csinf.c (__csinf): Likewise.
30187         * math/s_csinhf.c (__csinhf): Likewise.
30188         * math/s_ctanf.c (__ctanf): Likewise.
30189         * math/s_ctanhf.c (__ctanhf): Likewise.
30190         * math/s_ccosh.c (__ccoshf): Likewise.
30191         * math/s_cexp.c (__cexpl): Likewise.
30192         * math/s_csin.c (__csin): Likewise.
30193         * math/s_csinh.c (__csinh): Likewise.
30194         * math/s_ctan.c (__ctan): Likewise.
30195         * math/s_ctanh.c (ctanh): Likewise.
30196         * math/s_ccoshl.c (__ccoshl): Likewise.
30197         * math/s_cexpl.c (__cexpl): Likewise.
30198         * math/s_csinl.c (__csinl): Likewise.
30199         * math/s_csinhl.c (__csinhl): Likewise.
30200         * math/s_ctanl.c (__ctanl): Likewise.
30201         * math/s_ctanhl.c (__ctanhl): Likewise.
30202
30203 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30204
30205         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30206         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30207         (_IO_off_t): Define to __off_t, not _G_off_t.
30208         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30209         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30210         (_IO_wint_t): Define to wint_t, not _G_wint_t.
30211         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30212         type of __dummy and __dummy2 fields.
30213         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30214         (_G_ssize_t): Likewise.
30215         (_G_off_t): Likewise.
30216         (_G_pid_t): Likewise.
30217         (_G_uid_t): Likewise.
30218         (_G_wchar_t): Likewise.
30219         (_G_wint_t): Likewise.
30220         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30221         (_G_ssize_t): Likewise.
30222         (_G_off_t): Likewise.
30223         (_G_pid_t): Likewise.
30224         (_G_uid_t): Likewise.
30225         (_G_wchar_t): Likewise.
30226         (_G_wint_t): Likewise.
30227         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30228         (_G_ssize_t): Likewise.
30229         (_G_off_t): Likewise.
30230         (_G_pid_t): Likewise.
30231         (_G_uid_t): Likewise.
30232         (_G_wchar_t): Likewise.
30233         (_G_wint_t): Likewise.
30234
30235 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30236
30237         * malloc/arena.c: Include malloc-sysdep.h.
30238         (shrink_heap): Use check_may_shrink_heap to decide if madvise
30239         is sufficient to shrink the heap or an unmap is needed.
30240         * sysdeps/generic/malloc-sysdep.h: New file.  Define
30241         new function check_may_shrink_heap.
30242         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
30243         new function check_may_shrink_heap.
30244
30245 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30246
30247         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30248         comments.
30249
30250 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
30251
30252         * catgets/test-gencat.sh: Add "set -e".
30253         * elf/tst-pathopt.sh: Likewise.
30254         * grp/tst_fgetgrent.sh: Likewise.
30255         * iconvdata/run-iconv-test.sh: Likewise.
30256         * intl/tst-gettext.sh: Likewise.
30257         * intl/tst-gettext2.sh: Likewise.
30258         * intl/tst-gettext4.sh: Likewise.
30259         * intl/tst-gettext6.sh: Likewise.
30260         * intl/tst-translit.sh: Likewise.
30261         * io/ftwtest-sh: Likewise.
30262         * libio/test-freopen.sh: Likewise.
30263         * malloc/tst-mtrace.sh: Likewise.
30264         * posix/globtest.sh: Likewise.
30265         * posix/tst-getconf.sh: Likewise.
30266         * posix/wordexp-tst.sh: Likewise.
30267         * stdio-common/tst-printf.sh: Likewise.
30268         * stdio-common/tst-unbputc.sh: Likewise.
30269         * stdlib/tst-fmtmsg.sh: Likewise.
30270         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30271         * catgets/Makefile: Do not specify -e option when running
30272         testsuite shell scripts.
30273         * elf/Makefile: Likewise.
30274         * grp/Makefile: Likewise.
30275         * iconvdata/Makefile: Likewise.
30276         * intl/Makefile: Likewise.
30277         * io/Makefile: Likewise.
30278         * libio/Makefile: Likewise.
30279         * malloc/Makefile: Likewise.
30280         * posix/Makefile: Likewise.
30281         * stdio-common/Makefile: Likewise.
30282         * stdlib/Makefile: Likewise.
30283         * sysdeps/x86_64/Makefile: Likewise.
30284
30285         * io/ftwtest-sh: Add copyright header.
30286         * posix/globtest.sh: Likewise.
30287         * posix/tst-getconf.sh: Likewise.
30288         * posix/wordexp-tst.sh: Likewise.
30289         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30290
30291 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
30292
30293         [BZ #13679]
30294         * Makeconfig (+link): Defined as $(+link-static) if
30295         $(build-shared) isn't yes.
30296         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30297         isn't yes.
30298         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30299
30300         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30301
30302         [BZ #14562]
30303         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30304         new chunk size with MALLOC_ALIGN_MASK.
30305
30306 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
30307
30308         [BZ #5044]
30309         * stdio-common/printf_fphex.c: Include <stdbool.h> and
30310         <rounding-mode.h>.
30311         (__printf_fphex): Determine rounding using get_rounding_mode and
30312         round_away.
30313         * stdio-common/tst-printf-round.c (struct hex_test): New
30314         structure.
30315         (hex_tests): New variable.
30316         (test_hex_in_one_mode): New function.
30317         (do_test): Also run tests for hex float output.
30318
30319 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
30320
30321         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30322         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30323         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30324         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30325         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30326         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30327         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30328         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30329
30330 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
30331
30332         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30333         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30334         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30335         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30336
30337 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
30338
30339         [BZ #14579]
30340         * elf/rtld.c (dl_main): Limit the check for self loading to normal
30341         mode only.
30342         * elf/tst-rtld-load-self.sh: New test.
30343         * elf/Makefile: Run it.
30344
30345 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
30346
30347         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30348         (tst-writev-ENV): Remove.
30349         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30350
30351 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
30352
30353         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30354
30355 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
30356
30357         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30358         unconditional.
30359         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30360         Likewise.
30361         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30362         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30363         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30364         Likewise.
30365
30366 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
30367
30368         [BZ #14587]
30369         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30370         * config.make.in (have-cpp-asm-debuginfo): Removed.
30371         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30372         * configure: Regenerated.
30373
30374 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
30375
30376         [BZ #5044]
30377         * stdio-common/printf_fp.c: Include <stdbool.h> and
30378         <rounding-mode.h>.
30379         (___printf_fp): Determine rounding using get_rounding_mode and
30380         round_away.
30381         * stdio-common/tst-printf-round.c: New file.
30382         * stdio-common/Makefile (tests): Add tst-printf-round.
30383         (link-libm): New variable.
30384         ($(objpfx)tst-printf-round): Depend in $(link-libm).
30385
30386 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
30387
30388         [BZ #14576]
30389         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30390         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30391         Likewise.
30392         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30393         Likewise.
30394
30395 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
30396
30397         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30398         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30399         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30400         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30401
30402 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
30403
30404         [BZ #14518]
30405         * include/rounding-mode.h: New file.
30406         * sysdeps/generic/get-rounding-mode.h: Likewise.
30407         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30408         * stdlib/strtod_l.c: Include <rounding-mode.h>.
30409         (MAX_VALUE): New macro.
30410         (MIN_VALUE): Likewise.
30411         (overflow_value): New function.
30412         (underflow_value): Likewise.
30413         (round_and_return): Use overflow_value and underflow_value to
30414         determine return values in overflow and underflow cases.  Use
30415         round_away to determine rounding depending on rounding mode.
30416         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30417         determine return values in overflow and underflow cases.
30418         * stdlib/tst-strtod-round.c: Include <fenv.h>.
30419         (struct test_results): New structure.
30420         (struct test): Use struct test_results to store expected results
30421         for all rounding modes.
30422         (TEST): Include expected results for all rounding modes.
30423         (test_in_one_mode): New function.
30424         (do_test): Use test_in_one_mode to compute and check results.
30425         Check results for all rounding modes.
30426         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30427         $(link-libm).
30428
30429 2012-12-09  Allan McRae  <allan@archlinux.org>
30430
30431         * sysdeps/i386/fpu/libm-test-ulps: Update
30432
30433 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
30434
30435         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30436         (_G_int32_t): Likewise.
30437         (_G_uint16_t): Likewise.
30438         (_G_uint32_t): Likewise.
30439         (_G_HAVE_BOOL): Likewise.
30440         (_G_HAVE_ATEXIT): Likewise.
30441         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30442         (_G_HAVE_IO_FILE_OPEN): Likewise.
30443         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30444         (_G_int32_t): Likewise.
30445         (_G_uint16_t): Likewise.
30446         (_G_uint32_t): Likewise.
30447         (_G_HAVE_BOOL): Likewise.
30448         (_G_HAVE_ATEXIT): Likewise.
30449         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30450         (_G_HAVE_IO_FILE_OPEN): Likewise.
30451         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30452         (_G_int32_t): Likewise.
30453         (_G_uint16_t): Likewise.
30454         (_G_uint32_t): Likewise.
30455         (_G_HAVE_BOOL): Likewise.
30456         (_G_HAVE_ATEXIT): Likewise.
30457         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30458         (_G_HAVE_IO_FILE_OPEN): Likewise.
30459
30460 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
30461
30462         * csu/libc-tls.c: Update copyright years.
30463
30464 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
30465
30466         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30467         [!_G_USING_THUNKS]: Remove conditional code.
30468         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30469         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30470
30471         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30472         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30473         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30474         (_G_VTABLE_LABEL_PREFIX): Likewise.
30475         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30476         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30477         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30478         (_G_VTABLE_LABEL_PREFIX): Likewise.
30479         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30480         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30481         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30482         (_G_VTABLE_LABEL_PREFIX): Likewise.
30483         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30484
30485 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
30486
30487         * libio/Makefile: Include ../Makeconfig before tests.
30488         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30489         only if $(build-shared) is yes.
30490
30491         * iconv/gconv_db.c: Update copyright years.
30492
30493 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30494
30495         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30496         unwind info if defined PIC. Fix special cases description.
30497         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30498
30499         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30500         DP_HI_MASK entry.
30501         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30502
30503 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
30504
30505         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30506
30507         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30508         is NULL.
30509
30510         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30511         (LDLIBS-tst-chk4): This.
30512         (LDFLAGS-tst-chk5): Renamed to ...
30513         (LDLIBS-tst-chk5): This.
30514         (LDFLAGS-tst-chk6): Renamed to ...
30515         (LDLIBS-tst-chk6): This.
30516         (LDFLAGS-tst-lfschk4): Renamed to ...
30517         (LDLIBS-tst-lfschk4): This.
30518         (LDFLAGS-tst-lfschk5): Renamed to ...
30519         (LDLIBS-tst-lfschk5): This.
30520         (LDFLAGS-tst-lfschk6): Renamed to ...
30521         (LDLIBS-tst-lfschk6): This.
30522
30523         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30524         on $(common-objpfx)soversions.mk.
30525
30526 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
30527
30528         [BZ #10014]
30529         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30530         example host name.
30531
30532 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30533
30534         * malloc/arena.c (arena_get_retry): New function that gets
30535         another arena for the caller to try its request on.
30536         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30537         current arena cannot fulfill the request.
30538         (__libc_memalign): Likewise.
30539         (__libc_memalign): Likewise.
30540         (__libc_pvalloc): Likewise.
30541         (__libc_calloc): Likewise.
30542
30543 2012-09-05  John Tobey  <john.tobey@gmail.com>
30544
30545         [BZ #13542]
30546         * manual/arith.texi (Operations on Complex): Fix description
30547         of carg branch cut.
30548
30549 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30550
30551         [BZ #10014]
30552         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30553         host name.
30554
30555         [BZ #10038]
30556         * manual/memory.texi (Memory): Make order of menu items match
30557         order of sections.
30558
30559 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30560
30561         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30562         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
30563         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30564
30565 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30566
30567         * csu/libc-tls.c (static_dtv): Renamed to ...
30568         (_dl_static_dtv): This.  Make it global.
30569         (_dl_initial_dtv): Removed.
30570         (__libc_setup_tls): Updated.
30571         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30572         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30573         DL_INITIAL_DTV.
30574
30575 2012-09-06  Petr Machata  <pmachata@redhat.com>
30576
30577         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30578         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30579         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30580         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30581
30582 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30583
30584         [BZ #14545]
30585         * csu/libc-tls.c (_dl_initial_dtv): New variable.
30586         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30587         freeing dtv[-1].
30588
30589 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30590
30591         [BZ #14544]
30592         * Makeconfig (link-static-before-libc): Replace $(+prector)
30593         with $(+prectorT).
30594         (link-static-after-libc): Replace $(+postctor) with
30595         $(+postctorT).
30596         (link-bounded): Replace $(+prector)/$(+postctor) with
30597         $(+prectorT)/$(+postctorT).
30598         (+prectorT): New macro.
30599         (+postctorT): Likewise.
30600
30601 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30602
30603         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30604         (round_str): Handle values above the maximum for IBM long double
30605         as inexact.
30606         * stdlib/tst-strtod-round.c (tests): Regenerated.
30607
30608 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30609
30610         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30611         assembler flag.
30612         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30613         zarch_nohighgprs around the zarch optimized routines.
30614         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30615         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30616         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30617         for zarch.
30618
30619 2012-09-05  David S. Miller  <davem@davemloft.net>
30620
30621         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30622
30623         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30624         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30625         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30626         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30627         entries.
30628
30629 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30630
30631         * malloc/arena.c: Fold copyright years.
30632         * malloc/mcheck.c, malloc/memusage.c: Likewise.
30633
30634 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30635
30636         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30637
30638 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30639
30640         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
30641
30642 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30643
30644         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30645         change internal state upon failure.
30646
30647 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30648
30649         * malloc/mcheck.c (mcheck_check_all): Fix typo.
30650         * malloc/memusage.c (mmap): Likewise.
30651         (mmap64, mremap): Likewise.  Adjust name in comment.
30652
30653 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30654
30655         * libio/fileops.c: Fix typos in comments.
30656         * libio/oldfileops.c: Likewise.
30657         * libio/wfileops.c: Likewise.
30658
30659 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30660
30661         [BZ #1349]
30662         * malloc/Makefile (tests): Add tst-malloc-usable test case.
30663         (tst-malloc-usable-ENV): Set environment for test case.
30664         * malloc/hooks.c (malloc_check_get_size): New function to get
30665         requested size.
30666         * malloc/malloc.c (musable): Use malloc_check_get_size.
30667         * malloc/tst-malloc-usable.c: New test case.
30668
30669 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30670
30671         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30672
30673 2012-09-05  Allan McRae  <allan@archlinux.org>
30674
30675         [BZ #13966]
30676         * configure.in (CXX_SYSINCLUDES): Use compiler output to
30677         determine header location.
30678         * configure: Regenerated.
30679
30680 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30681
30682         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30683         float format.
30684         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30685         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30686         format.
30687         (test): Regenerate.
30688
30689 2012-09-04  David S. Miller  <davem@davemloft.net>
30690
30691         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30692         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30693         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30694
30695 2012-09-04  Florian Weimer  <fweimer@redhat.com>
30696
30697         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30698         failures.
30699
30700         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30701
30702 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
30703
30704         [BZ #9914]
30705         * libio/iogetdelim.c: Include <limits.h>.
30706         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30707         + len + 1 would overflow.
30708
30709 2012-09-03  Andreas Jaeger  <aj@suse.de>
30710
30711         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30712         * sysdeps/i386/fpu/libm-test-ulps: Update.
30713
30714 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30715
30716         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30717         Add s_sinf-sse2, s_conf-sse2.
30718
30719         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30720         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30721         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30722         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30723
30724         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30725         for using routine as __sinf_ia32.
30726         Use macro for function declaration and weak_alias.
30727         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30728         for using routine as __cosf_ia32.
30729         Use macro for function declaration and weak_alias.
30730
30731         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30732         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30733
30734         * sysdeps/x86_64/fpu/s_sinf.S: New file.
30735         * sysdeps/x86_64/fpu/s_cosf.S: New file.
30736         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30737
30738         * math/libm-test.inc (cos_test): Add more test cases.
30739         (sin_test): Likewise.
30740         (sincos_test): Likewise.
30741
30742 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30743
30744         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30745         (IFUNC_RESOLVE): Make pointers to the specialized implementations
30746         hidden.
30747         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30748
30749 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
30750
30751         [BZ #14538]
30752         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30753         first element of the GOT.
30754         (elf_machine_load_address): Return the difference between
30755         the runtime address of _DYNAMIC and elf_machine_dynamic ().
30756
30757 2012-09-01  Allan McRae  <allan@archlinux.org>
30758
30759         [BZ #13412]
30760         * configure.in (AWK): Require gawk version 3.0 or later.
30761         * configure: Regenerated.
30762
30763 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
30764
30765         * sysdeps/unix/sysv/linux/kernel-features.h
30766         (__ASSUME_POSIX_CPU_TIMERS): Remove.
30767         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30768         [__NR_clock_getres]: Make code unconditional.
30769         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30770         (clock_getcpuclockid): Remove code left unreachable by removal of
30771         conditionals.
30772         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30773         code unconditional.
30774         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30775         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30776         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30777         Make code unconditional.
30778         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30779         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30780         * sysdeps/unix/sysv/linux/clock_settime.c
30781         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30782         conditional code.
30783         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30784         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30785
30786 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
30787
30788         [BZ #14476]
30789         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30790         scripts/test-installation.pl.
30791
30792         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30793         and $ld_so_version if it is set.
30794
30795 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30796
30797         [BZ #14516]
30798         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30799         failure if reading from procfs failed.
30800         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30801
30802 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
30803
30804         * sysdeps/unix/sysv/linux/kernel-features.h
30805         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30806         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30807         Remove conditional code.
30808         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30809         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30810         Remove conditional code.
30811         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30812         * sysdeps/unix/sysv/linux/i386/fxstat.c
30813         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30814         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30815         * sysdeps/unix/sysv/linux/i386/fxstatat.c
30816         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30817         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30818         * sysdeps/unix/sysv/linux/i386/lxstat.c
30819         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30820         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30821         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30822         Remove conditional code.
30823         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30824         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30825         Remove conditional code.
30826         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30827         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30828         <kernel-features.h>.
30829         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30830         Remove.
30831         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30832         Remove conditional code.
30833         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30834         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30835         Remove conditional.
30836
30837 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
30838
30839         [BZ #5400]
30840         * NEWS: Add fixed bug number.
30841
30842 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
30843
30844         [BZ #14519]
30845         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30846         underflowing exponent in case of negative sign.
30847         * stdlib/tst-strtod-round-data: Add more tests.
30848         * stdlib/tst-strtod-round.c (tests): Regenerated.
30849
30850         [BZ #3479]
30851         * stdlib/strtod_l.c (NDIG): Remove.
30852         (HEXNDIG): Likewise.
30853         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30854         smallest representable value.
30855         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30856         lie within an exact representation of 1/2 ulp of the result.
30857         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30858         unconditionally.
30859         (TENS_P9_IDX): Define unconditionally.
30860         (TENS_P9_SIZE): Likewise.
30861         (TENS_P10_IDX): Likewise.
30862         (TENS_P10_SIZE): Likewise.
30863         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30864         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30865         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30866         entries for 10^2^13 and 10^2^14.
30867         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30868         (TENS_P13_IDX): Define.
30869         (TENS_P13_SIZE): Likewise.
30870         (TENS_P14_IDX): Likewise.
30871         (TENS_P14_SIZE): Likewise.
30872         (_fpioconst_pow10): Change array size to
30873         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
30874         unconditional.
30875         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30876         1024]: Add entries for 10^2^13 and 10^2^14.
30877         [LAST_POW10 > _LAST_POW10]: Remove #error.
30878         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30879         (_fpioconst_pow10): Change array size to
30880         FPIOCONST_POW10_ARRAY_SIZE.
30881         * stdlib/gen-fpioconst.c: New file.
30882         * stdlib/gen-tst-strtod-round.c: Likewise.
30883         * stdlib/tst-strtod-round-data: Likewise.
30884         * stdlib/tst-strtod-round.c: Likewise.
30885         * stdlib/Makefile (tests): Add tst-strtod-round.
30886
30887         [BZ #14459]
30888         * stdlib/strtod_l.c: Include <stdint.h>.
30889         (NDEBUG): Do not define.
30890         (round_and_return): Change EXPONENT parameter to type intmax_t.
30891         Rearrange calculations to avoid internal overflow possibilities.
30892         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30893         Rearrange calculations to avoid internal overflow possibilities.
30894         Assert that number fits inside MPNSIZE limbs.
30895         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30896         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
30897         calculations and add assertions to avoid internal overflow
30898         possibilities.  Add casts to avoid signed/unsigned operations.
30899         * stdlib/tst-strtod-overflow.c: New file.
30900         * stdlib/Makefile (tests): Add tst-strtod-overflow.
30901
30902 2012-08-25  Marek Polacek  <polacek@redhat.com>
30903
30904         * time/time.h: Fix some typos in comments.
30905
30906 2012-08-23  Roland McGrath  <roland@hack.frob.com>
30907
30908         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30909         * posix/tst-rfc3484-2.c: Likewise.
30910         * posix/tst-rfc3484-3.c: Likewise.
30911
30912 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
30913
30914         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30915         (EF_ARM_ABI_FLOAT_HARD): Likewise.
30916
30917 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
30918
30919         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30920         #include of fxstatat64.c.
30921
30922 2012-08-22  Roland McGrath  <roland@hack.frob.com>
30923
30924         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30925         * shadow/getspent_r.c: Likewise.
30926         * shadow/getspnam.c: Likewise.
30927         * shadow/getspnam_r.c: Likewise.
30928         * gshadow/getsgent.c: Likewise.
30929         * gshadow/getsgent_r.c: Likewise.
30930         * gshadow/getsgnam.c: Likewise.
30931         * gshadow/getsgnam_r.c: Likewise.
30932         * inet/getnetbyad.c: Likewise.
30933         * inet/getnetbyad_r.c: Likewise.
30934         * inet/getnetbynm.c: Likewise.
30935         * inet/getnetbynm_r.c: Likewise.
30936         * inet/getnetent.c: Likewise.
30937         * inet/getnetent_r.c: Likewise.
30938         * inet/getproto.c: Likewise.
30939         * inet/getproto_r.c: Likewise.
30940         * inet/getprtent.c: Likewise.
30941         * inet/getprtent_r.c: Likewise.
30942         * inet/getprtname.c: Likewise.
30943         * inet/getprtname_r.c: Likewise.
30944         * inet/getrpcbyname.c: Likewise.
30945         * inet/getrpcbyname_r.c: Likewise.
30946         * inet/getrpcbynumber.c: Likewise.
30947         * inet/getrpcbynumber_r.c: Likewise.
30948         * inet/getrpcent.c: Likewise.
30949         * inet/getrpcent_r.c: Likewise.
30950         * inet/getaliasent.c: Likewise.
30951         * inet/getaliasent_r.c: Likewise.
30952         * inet/getaliasname.c: Likewise.
30953         * inet/getaliasname_r.c: Likewise.
30954         * nscd/getgrgid_r.c: Likewise.
30955         * nscd/getgrnam_r.c: Likewise.
30956         * nscd/gethstbyad_r.c: Likewise.
30957         * nscd/gethstbynm3_r.c: Likewise.
30958         * nscd/getpwnam_r.c: Likewise.
30959         * nscd/getpwuid_r.c: Likewise.
30960         * nscd/getsrvbynm_r.c: Likewise.
30961         * nscd/getsrvbypt_r.c: Likewise.
30962         * nscd/gai.c: Likewise.
30963
30964         * configure.in (build_nscd): New substituted variable, set
30965         by --disable-build-nscd and defaults to $use_nscd.
30966         * configure: Regenerated.
30967         * config.make.in (build-nscd): New substituted variable.
30968         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30969         Change conditional to require [$(build-nscd) = yes] as well.
30970         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30971
30972         [BZ# 13696]
30973         * configure.in (use_nscd): New substituted variable, set by
30974         --disable-nscd.  If enabled, define USE_NSCD.
30975         * configure: Regenerated.
30976         * config.h.in: Add USE_NSCD.
30977         * config.make.in (use-nscd): New substituted variable.
30978         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30979         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30980         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30981         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30982         (CFLAGS-getgrnam_r.c): Likewise.
30983         (CFLAGS-initgroups.c): Likewise.
30984         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30985         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30986         Variables removed.
30987         * inet/getnetgrent_r.c
30988         (nscd_setnetgrent): New function, broken out of ...
30989         (setnetgrent): ... here.  Call it.
30990         (innetgr): Conditionalize nscd bits on [USE_NSCD].
30991         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30992         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30993         * nscd/Makefile (routines, aux): Move definitions after include of
30994         Makeconfig.  Conditionalize on [$(use-nscd) != no].
30995         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30996         Conditionalize on [USE_NSCD].
30997         (is_nscd, nscd_init_cb): Likewise.
30998         (nss_load_library): Conditionalize init callback on [USE_NSCD].
30999         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31000         * nss/nss_db/db-init.c: Likewise.
31001         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31002         [USE_NSCD].
31003         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31004         (make_request): Use it.
31005         (cache_valid_p): New function.
31006         (__check_pf): Use it.
31007         * NEWS: Add item for --disable-nscd.
31008
31009 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
31010
31011         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31012         to support sed >= 4.2.1-20-ga9bf076.
31013         * configure: Regenerated.
31014
31015 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31016
31017         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31018         Conditionalize whole body on [IREL].
31019
31020 2012-08-22  Jeff Law <law@redhat.com>
31021
31022         [BZ #14505]
31023         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31024         if the family is PF_UNSPEC.
31025
31026 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
31027
31028         * Makerules (lib-version): Rename from V.
31029         (install-lib-nosubdir): Change V to lib-version.
31030
31031 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
31032
31033         [BZ #14252]
31034         * powerpc32/power6/wcschr.c: New file.
31035         * powerpc32/power6/wcscpy.c: New file.
31036         * powerpc32/power6/wcsrchr.c: New file.
31037         * powerpc64/power6/wcschr.c: New file.
31038         * powerpc64/power6/wcscpy.c: New file.
31039         * powerpc64/power6/wcsrchr.c: New file.
31040
31041 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31042
31043         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31044         (two_way_short_needle): Use it.
31045         * string/strstr.c (AVAILABLE1_USES_J): Define.
31046         * string/strcasestr.c: Likewise.
31047
31048         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31049         array references.
31050         * string/strcasestr.c (TOLOWER): Make side-effect safe.
31051
31052         [BZ #11607]
31053         * NEWS: Add an entry.
31054         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31055         define their defaults.
31056         (two_way_short_needle): Detect end-of-string on-the-fly.
31057         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31058         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31059         * string/bug-strcasestr1.c: New test.
31060         * string/Makefile: Run it.
31061
31062 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31063
31064         [BZ #11607]
31065         * string/str-two-way.h (two_way_short_needle): Optimize matching of
31066         the first character.
31067
31068 2012-08-21  Roland McGrath  <roland@hack.frob.com>
31069
31070         * csu/elf-init.c (__libc_csu_irel): Function removed.
31071         * csu/libc-start.c (apply_irel): New function.
31072         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31073
31074 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
31075
31076         * sysdeps/unix/sysv/linux/kernel-features.h
31077         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31078         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31079         <kernel-features.h>.
31080         [__NR_fadvise64_64]: Make code unconditional.
31081         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31082         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31083         !__NR_fadvise64_64)]: Likewise.
31084         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31085         !__NR_fadvise64_64))]: Likewise.
31086         [__NR_fadvise64]: Make code unconditional.
31087         [!__NR_fadvise64]: Remove conditional code.
31088         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31089         <kernel-features.h>.
31090         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31091         unconditional.
31092         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31093         conditional code.
31094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31095         not include <kernel-features.h>.
31096         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31097         unconditional.
31098         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31099         conditional code.
31100         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31101         include <kernel-features.h>.
31102         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31103         unconditional.
31104         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31105         conditional code.
31106
31107 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31108
31109         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31110         slight instruction rearrangements per scrollpipe analysis.
31111         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31112
31113 2012-08-20  Roland McGrath  <roland@hack.frob.com>
31114
31115         * manual/syslog.texi (syslog; vsyslog, closelog):
31116         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31117         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31118
31119         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31120         DSOCAPS to match condition on defining it.
31121
31122 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
31123
31124         * sysdeps/unix/sysv/linux/kernel-features.h
31125         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31127         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31128         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31130         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31131         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31133         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31134         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31135
31136         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31137         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31138
31139         * sysdeps/unix/sysv/linux/kernel-features.h
31140         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31141         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31142         unconditional.
31143         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31144         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31145         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31146         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31147         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31148         Make code unconditional.
31149         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31150         (__mmap64) [!__NR_mmap2]: Likewise.
31151         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31152         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31153         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31154         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31155         [__NR_mmap2]: Make code unconditional.
31156         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31157         (__mmap64) [!__NR_mmap2]: Likewise.
31158
31159 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31160
31161         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31162
31163 2012-08-18  Andreas Jaeger  <aj@suse.de>
31164
31165         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31166
31167 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31168
31169         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31170         * include/unistd.h (__have_sock_cloexec): Likewise.
31171         (__have_pipe2): Likewise.
31172         (__have_dup3): Likewise.
31173
31174 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31175
31176         [BZ #9685]
31177         * include/unistd.h (__have_pipe2): Change define into an extern int.
31178         (__have_dup3): Likewise.
31179         * socket/have_sock_cloexec.c: Include fcntl.h.
31180         (__have_pipe2): New variable.
31181         (__have_dup3): Likewise.
31182
31183 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
31184
31185         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31186
31187 2012-08-17  Marek Polacek  <polacek@redhat.com>
31188
31189         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31190         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31191
31192 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31193
31194         * configure.in: Add AC_SUBST for sysheaders.
31195         * configure: Regenerated.
31196         * config.make.in (sysheaders): New substituted variable.
31197
31198         * sysdeps/unix/mkfifo.c: Moved ...
31199         * sysdeps/posix/mkfifo.c: ... here.
31200         * sysdeps/unix/mkfifoat.c: Moved ...
31201         * sysdeps/posix/mkfifoat.c: ... here.
31202
31203         * sysdeps/unix/utime.c: Moved ...
31204         * sysdeps/posix/utime.c: ... here.
31205
31206         * sysdeps/unix/time.c: Moved ...
31207         * sysdeps/posix/time.c: ... here.
31208         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31209         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31210
31211         * sysdeps/unix/nice.c: Moved ...
31212         * sysdeps/posix/nice.c: ... here.
31213
31214         * sysdeps/unix/alarm.c: Moved ...
31215         * sysdeps/posix/alarm.c: ... here.
31216
31217         * intl/Makefile ($(codeset_mo)): Depend on the input file.
31218
31219 2012-08-17  Jeff Law <law@redhat.com>
31220
31221         * intl/Makefile (codeset_mo): New variable.
31222         ($(codeset_mo)): New target.
31223         (tst-codeset.out): Depend on that.  Remove explicit rule.
31224         (tst-gettext3.out, tst-gettext5.out): Likewise.
31225         (LOCPATH-ENV, tst-codeset-ENV): New variables.
31226         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31227         * intl/tst-codeset.sh: Remove.
31228         * intl/tst-gettext3.sh: Likewise.
31229         * intl/tst-gettext5.sh: Likewise.
31230
31231 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31232
31233         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
31234         * sysdeps/unix/syscalls.list: ... here.
31235
31236         * sysdeps/posix/getaddrinfo.c
31237         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31238         (gaiconf_init, gaiconf_reload): Use them.
31239         [!_STATBUF_ST_NSEC]
31240         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31241         Define using time_t rather than struct timespec.
31242
31243         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31244         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31245         Macros removed.
31246         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31247         [!NO_THREADS].
31248         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31249         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31250         Likewise.
31251
31252         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31253         __libc_cleanup_push argument.
31254
31255         * bits/param.h: New file.
31256         * misc/sys/param.h: New file.
31257         * include/sys/param.h: New file.
31258         * misc/Makefile (headers): Add bits/param.h.
31259         * sysdeps/generic/sys/param.h: File removed.
31260         * sysdeps/unix/sysv/linux/bits/param.h: New file.
31261         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31262         * sysdeps/mach/hurd/bits/param.h: New file.
31263         * sysdeps/mach/hurd/sys/param.h: File removed.
31264
31265         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31266         last change.
31267
31268         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31269         [_IO_MTSAFE_IO].
31270         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31271         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31272         New macros.
31273
31274         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31275         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31276         rather than -D_IO_MTSAFE_IO conditionally.
31277         * stdio-common/Makefile (CPPFLAGS): Likewise.
31278         * wcsmbs/Makefile (CPPFLAGS): Likewise.
31279         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31280         Use $(libio-mtsafe).
31281         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31282         of -D_IO_MTSAFE_IO.
31283         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31284         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31285         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31286         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31287         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31288         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31289         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31290         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31291         (CFLAGS-fread_u_chk.c): Likewise.
31292         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31293         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31294         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31295         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31296         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31297         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31298         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31299         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31300         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31301
31302         * libio/Makefile: Test [$(libc-reentrant) = yes]
31303         instead of [$(filter %REENTRANT, $(defines)) nonempty].
31304
31305         * Makeconfig
31306         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31307         * sysdeps/pthread/configure: File removed.
31308         * sysdeps/pthread/Makeconfig: New file.
31309         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31310         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31311
31312 2012-08-16  Gary Benson  <gbenson@redhat.com>
31313
31314         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31315         unmapping the first object in a namespace.
31316
31317 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31318
31319         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31320         (__internal_setnetgrent): ... this.  Add internal_function to
31321         definition.  Add libc_hidden_def.
31322         (setnetgrent): Update caller.
31323         (internal_endnetgrent): Renamed to ...
31324         (__internal_endnetgrent): ... this.  Add internal_function to
31325         definition.  Add libc_hidden_def.
31326         (endnetgrent): Update caller.
31327         (internal_getnetgrent_r): Renamed to ...
31328         (__internal_getnetgrent_r): ... this.  Add internal_function to
31329         definition.  Add libc_hidden_def.
31330         (__getnetgrent_r): Update caller.
31331         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
31332
31333 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31334
31335         * stdlib/longlong.h: Update from GCC.
31336
31337 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31338
31339         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31340         on _QL, which is set by umul_ppmm but never used.
31341         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31342         variables, which are set by GMP macros but never used.
31343         * stdio-common/_itowa.c (_itowa): Likewise.
31344         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31345         * stdlib/mod_1.c (mpn_mod_1): Likewise.
31346
31347 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
31348
31349         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31350         struct La_sh_regs is not constant.
31351         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31352         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31353         and struct La_sparc64_regs are not constant.
31354
31355 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31356
31357         * sysdeps/unix/sysv/linux/kernel-features.h
31358         (__ASSUME_POSIX_TIMERS): Remove.
31359         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31360         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31361         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31362         Make code unconditional.
31363         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31364         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31365         Make code unconditional.
31366         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31367         * sysdeps/unix/sysv/linux/clock_nanosleep.c
31368         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31369         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31370         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31371         Make code unconditional.
31372         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31373         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31374         (__libc_missing_posix_timers): Remove.
31375
31376 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31377
31378         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31379         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31380
31381         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31382
31383         * elf/dl-sym.c: Include <stdlib.h>.
31384
31385         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31386         constants, which avoids warnings in 32-bit builds.
31387
31388         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31389         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31390
31391         * misc/lseek.c: File moved to ...
31392         * io/lseek.c: ... here.
31393
31394         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31395
31396         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31397         shifting LEN more than 31 bits at once.
31398
31399 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31400
31401         [BZ #14195]
31402         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31403         segmentation fault for a case of two empty input strings.
31404         * string/test-strncasecmp.c (check1): Renamed to...
31405         (bz12205): ...this.
31406         (bz14195): Add new testcase for two empty input strings and N > 0.
31407         (test_main): Call new testcase, adapt for renamed function.
31408
31409 2012-08-15  Andreas Jaeger  <aj@suse.de>
31410
31411         [BZ #14090]
31412         * crypt/md5test2.c: New test, based on test supplied by Serge
31413         Belyshev <belyshev@depni.sinp.msu.ru>.
31414         * crypt/Makefile (xtests): Add md5test-giant..
31415         * crypt/Makefile ($(objpfx)md5test-giant): Add.
31416
31417 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
31418
31419         [BZ #14090]
31420         * crypt/md5.c (md5_process_block): Don't assume the buffer
31421         length is less than 2**32.
31422         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31423         length is less than 2**64.
31424
31425 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31426
31427         * string/str-two-way.h: Include <sys/param.h>.
31428         (MAX): Macro removed.
31429
31430         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31431         Move #define and #undef of memmove to just before and after
31432         including <string.h>.
31433
31434         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31435         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31436         and after including <string.h>.  Move declarations of
31437         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31438         to before #include "string/memmove.c".
31439
31440         * include/dirent.h: Declare __getdirentries.
31441
31442         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31443         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31444
31445 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
31446
31447         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31448         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31449         * sysdeps/i386/configure: Regenerated.
31450         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31451         STABS_CURRENT_FILE, and STABS_FUN.
31452         (END): Remove call to STABS_FUN_END.
31453         (STABS_CURRENT_FILE1): Delete.
31454         (STABS_CURRENT_FILE): Likewise.
31455         (STABS_FUN): Likewise.
31456         (STABS_FUN_END): Likewise.
31457         (STABS_FUN2): Likewise.
31458         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31459         * sysdeps/x86_64/configure: Regenerated.
31460
31461 2012-08-14  Roland McGrath  <roland@hack.frob.com>
31462
31463         * elf/dl-open.c: Include <atomic.h>.
31464         * elf/dl-lookup.c: Likewise.
31465
31466 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
31467
31468         * sysdeps/unix/sysv/linux/kernel-features.h
31469         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31470         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31471         unconditionally.
31472         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31473         unconditionally.
31474         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31475         condition on __ASSUME_CLONE_THREAD_FLAGS.
31476
31477 2012-08-14  Andreas Jaeger  <aj@suse.de>
31478
31479         * sysdeps/i386/fpu/libm-test-ulps: Update.
31480
31481 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
31482
31483         * include/atomic.h (atomic_exchange_and_add): Split into ...
31484         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31485         New atomic macros.
31486
31487 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
31488
31489         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31490
31491 2012-08-13  Jeff Law <law@redhat.com>
31492
31493         * manual/stdio.texi (snprintf): Clarify handling of the trailing
31494         null byte in the output string.
31495
31496 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
31497
31498         * sysdeps/unix/sysv/linux/kernel-features.h
31499         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31500         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31501         (__ASSUME_ARG_MAX_STACK_BASED): Define.
31502         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31503         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31504         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
31505         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31506
31507 2012-08-09  Jeff Law <law@redhat.com>
31508
31509         [BZ #13939]
31510         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31511         When avoid_arena is set, don't retry in the that arena.  Pick the
31512         next one, whatever it might be.
31513         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31514         (arena_lock): Pass in new parameter to arena_get2.
31515         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31516         arena_get2.
31517         (__libc_malloc): Unify retrying after main arena failure with
31518         __libc_memalign version.
31519         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31520
31521 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
31522
31523         [BZ #14166]
31524         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31525         to __redirect_strstr.
31526         (__strstr_sse42): Use typeof __redirect_strstr.
31527         (__strstr_ia32): Likewise.
31528         (__libc_strstr): New prototype.
31529         (strstr): Renamed to ...
31530         (__libc_strstr): This.
31531         (strstr): New strong alias of __libc_strstr.
31532         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31533         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31534         __redirect_time.
31535         Include <time.h>.
31536         (__libc_time): New prototype.
31537         (time_ifunc): Replace time with __libc_time.
31538         (time): New strong alias and hidden definition of __libc_time.
31539         (__GI_time): Remove strong alias.
31540         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31541         Include <stddef.h>.
31542         (memmove): Redefined to __redirect_memmove.
31543         (__memmove_sse2): Use typeof __redirect_memmove.
31544         (__memmove_ssse3): Likewise.
31545         (__memmove_ssse3_back): Likewise.
31546         (__libc_memmove): New prototype.
31547         (memmove): Renamed to ...
31548         (__libc_memmove): This.
31549         (memmove): New strong alias of __libc_memmove.
31550
31551 2012-08-08  Mark Salter  <msalter@redhat.com>
31552
31553         * elf/elf.h
31554         (R_MN10300_TLS_GD): Define.
31555         (R_MN10300_TLS_LD): Likewise.
31556         (R_MN10300_TLS_LDO): Likewise.
31557         (R_MN10300_TLS_GOTIE): Likewise.
31558         (R_MN10300_TLS_IE): Likewise.
31559         (R_MN10300_TLS_LE): Likewise.
31560         (R_MN10300_TLS_DTPMOD): Likewise.
31561         (R_MN10300_TLS_DTPOFF): Likewise.
31562         (R_MN10300_TLS_TPOFF): Likewise.
31563         (R_MN10300_SYM_DIFF): Likewise.
31564         (R_MN10300_ALIGN): Likewise.
31565         (R_MN10300_NUM): Update.
31566
31567 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
31568
31569         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31570         Remove.
31571
31572 2012-08-08  Roland McGrath  <roland@hack.frob.com>
31573
31574         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31575
31576         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31577         sysdeps/unix -> sysdeps/posix move.
31578         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31579
31580 2012-08-07      Allan McRae     <allan@archlinux.org>
31581
31582         [BZ #14303]
31583         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31584         (SUNOS_CPP): Likewise.
31585         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31586         not found.
31587         (open_input): Call CPP using execvp.
31588
31589 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
31590
31591         * sysdeps/unix/sysv/linux/kernel-features.h
31592         (__ASSUME_PROT_GROWSUPDOWN): Remove.
31593         (__ASSUME_NO_CLONE_DETACHED): Likewise.
31594         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31595         (__ASSUME_WAITID_SYSCALL): Likewise.
31596         * sysdeps/unix/sysv/linux/dl-execstack.c
31597         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31598         code unconditional.
31599         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31600         conditional code.
31601         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31602         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31603         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31604         code.
31605         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31606         unconditional.
31607         [__ASSUME_WAITID_SYSCALL]: Likewise.
31608         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31609
31610 2012-08-07  Roland McGrath  <roland@hack.frob.com>
31611
31612         * sysdeps/unix/closedir.c: Renamed to ...
31613         * sysdeps/posix/closedir.c: ... here.
31614         * sysdeps/unix/dirfd.c: Renamed to ...
31615         * sysdeps/posix/dirfd.c: ... here.
31616         * sysdeps/unix/dirstream.h: Renamed to ...
31617         * sysdeps/posix/dirstream.h: ... here.
31618         * sysdeps/unix/fdopendir.c: Renamed to ...
31619         * sysdeps/posix/fdopendir.c: ... here.
31620         * sysdeps/unix/opendir.c: Renamed to ...
31621         * sysdeps/posix/opendir.c: ... here.
31622         * sysdeps/unix/readdir.c: Renamed to ...
31623         * sysdeps/posix/readdir.c: ... here.
31624         * sysdeps/unix/readdir_r.c: Renamed to ...
31625         * sysdeps/posix/readdir_r.c: ... here.
31626         * sysdeps/unix/rewinddir.c: Renamed to ...
31627         * sysdeps/posix/rewinddir.c: ... here.
31628         * sysdeps/unix/seekdir.c: Renamed to ...
31629         * sysdeps/posix/seekdir.c: ... here.
31630         * sysdeps/unix/telldir.c: Renamed to ...
31631         * sysdeps/posix/telldir.c: ... here.
31632         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31633         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31634         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31635         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31636
31637         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31638         * bits/fcntl.h: ... here.
31639
31640         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31641         not 0.
31642         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31643         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31644         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31645         (struct flock): Move l_start, l_len to the beginning.
31646         Use __pid_t for l_pid.
31647         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31648         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31649         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31650         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31651         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31652         [__USE_LARGEFILE64] (struct flock64): New type.
31653         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31654
31655         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31656         * bits/dirent.h: ... here.
31657
31658         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31659         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31660
31661 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
31662
31663         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31664         Change from 2.6.0 to 2.6.16.
31665         * sysdeps/unix/sysv/linux/configure: Regenerated.
31666         * sysdeps/unix/sysv/linux/kernel-features.h
31667         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31668         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31669         version.
31670         (__ASSUME_UTIMES): Likewise.
31671         (__ASSUME_CLONE_STOPPED): Remove.
31672         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31673         architectures, not kernel version.
31674         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31675         (__ASSUME_NO_CLONE_DETACHED): Likewise.
31676         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31677         (__ASSUME_WAITID_SYSCALL): Likewise.
31678         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31679         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31680         * README: State 2.6.16 as minimum Linux kernel version.  Do not
31681         refer to older versions.
31682
31683 2012-08-06  Roland McGrath  <roland@hack.frob.com>
31684
31685         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31686         Define alphasort64 as an alias.
31687         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31688         Define versionsort64 as an alias.
31689         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31690         Define scandir64 as an alias.
31691         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31692         Define scandirat64 as an alias.
31693         * dirent/alphasort64.c (alphasort64):
31694         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31695         * dirent/versionsort64.c: Likewise.
31696         * dirent/scandir64.c: Likewise.
31697         * dirent/scandirat64.c: Likewise.
31698         * sysdeps/wordsize-64/alphasort.c: File removed.
31699         * sysdeps/wordsize-64/alphasort64.c: File removed.
31700         * sysdeps/wordsize-64/scandir.c: File removed.
31701         * sysdeps/wordsize-64/scandir64.c: File removed.
31702         * sysdeps/wordsize-64/scandirat.c: File removed.
31703         * sysdeps/wordsize-64/scandirat64.c: File removed.
31704         * sysdeps/wordsize-64/versionsort.c: File removed.
31705         * sysdeps/wordsize-64/versionsort64.c: File removed.
31706         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31707         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31708         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31709         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31710         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31711         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31712         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31713         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31714
31715         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31716         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31717         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31718         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31719         [defined __arch64__ || defined __sparcv9]
31720         (__INO_T_MATCHES_INO64_T): New macro.
31721         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31722         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31723         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31724         * sysdeps/unix/sysv/linux/bits/dirent.h
31725         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31726         (_DIRENT_MATCHES_DIRENT64): New macro.
31727
31728         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31729         Define lockf64 as an alias.
31730         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31731         Define fseeko64 as an alias.
31732         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31733         Define ftello64 as an alias.
31734         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31735         Define _IO_fgetpos64 and fgetpos64 as aliases.
31736         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31737         Define _IO_fsetpos64 and fsetpos64 as aliases.
31738         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31739         Conditionalize body on this.
31740         * libio/fseeko64.c: Likewise.
31741         * libio/ftello64.c: Likewise.
31742         * libio/iofgetpos64.c: Likewise.
31743         * libio/iofsetpos64.c: Likewise.
31744         * sysdeps/wordsize-64/lockf.c: File removed.
31745         * sysdeps/wordsize-64/lockf64.c: File removed.
31746         * sysdeps/wordsize-64/fseeko.c: File removed.
31747         * sysdeps/wordsize-64/fseeko64.c: File removed.
31748         * sysdeps/wordsize-64/ftello.c: File removed.
31749         * sysdeps/wordsize-64/ftello64.c: File removed.
31750         * sysdeps/wordsize-64/iofgetpos.c: File removed.
31751         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31752         * sysdeps/wordsize-64/iofsetpos.c: File removed.
31753         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31754         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31755         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31756         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31757         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31758         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31759         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31760         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31761         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31762         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31763         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31764
31765         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31766         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31767         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31768         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31769         [defined __arch64__ || defined __sparcv9]
31770         (__OFF_T_MATCHES_OFF64_T): New macro.
31771         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31772         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31773         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31774         (__OFF_T_MATCHES_OFF64_T): New macro.
31775
31776 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
31777
31778         * stdlib/secure-getenv.c (__secure_getenv): Replace
31779         GLIBC_2_16 with GLIBC_2_17.
31780
31781 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
31782
31783         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31784         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31785
31786 2012-08-03  David S. Miller  <davem@davemloft.net>
31787
31788         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31789
31790 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
31791
31792         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31793         Remove.
31794         (__ASSUME_CORRECT_SI_PID): Likewise.
31795         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31796         (__ASSUME_TMPFS_NAME): Likewise.
31797         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31798         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31799         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31800         (HAVE_AUX_SECURE): Make definition unconditional.
31801         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31802         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31803
31804 2012-08-03  Roland McGrath  <roland@hack.frob.com>
31805
31806         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31807         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31808         * sysdeps/mach/hurd/eloop-threshold.h: New file.
31809         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31810         __eloop_threshold instead of SYMLOOP_MAX.
31811
31812         * sysdeps/generic/eloop-threshold.h: New file.
31813         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31814         of MAXSYMLINKS.
31815         * elf/chroot_canon.c (chroot_canon): Likewise.
31816
31817 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
31818
31819         [BZ #13717]
31820         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31821         Change to 2.6.0 everywhere.
31822         * sysdeps/unix/sysv/linux/configure: Regenerated.
31823         * sysdeps/unix/sysv/linux/kernel-features.h
31824         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31825         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31826         kernel versions.
31827         (__ASSUME_POSIX_TIMERS): Define unconditionally.
31828         (__ASSUME_FUTEX_REQUEUE): Remove.
31829         (__ASSUME_STATFS64): Define unconditionally.
31830         (__ASSUME_AT_SECURE): Likewise.
31831         (__ASSUME_CORRECT_SI_PID): Likewise.
31832         (__ASSUME_TGKILL): Define without depending on kernel version for
31833         i386.
31834         (__ASSUME_UTIMES): Likewise.
31835         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31836         kernel version.
31837         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31838         (__ASSUME_TMPFS_NAME): Likewise.
31839         * README: Update reference to Linux kernel versions.
31840
31841 2012-08-02  Marek Polacek  <polacek@redhat.com>
31842
31843         [BZ# 14150]
31844         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
31845         libc_cv_asm_type_prefix with %.
31846         * configure: Regenerated.
31847         * include/libc-symbols.h: Remove comment about
31848         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31849         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31850         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31851         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31852         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31853         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31854         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31855         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31856         * elf/tst-unique2mod1.c: Likewise.
31857         * elf/tst-unique1mod2.c: Likewise.
31858         * elf/tst-unique1mod1.c: Likewise.
31859         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31860         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31861         Replace ASM_TYPE_DIRECTIVE with .type.
31862         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31863         * sysdeps/i386/sysdep.h: Likewise.
31864         * sysdeps/x86_64/sysdep.h: Likewise.
31865         * sysdeps/sh/sysdep.h: Likewise.
31866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31867         Do not define ASM_TYPE_DIRECTIVE.
31868         * sysdeps/powerpc/sysdep.h: Likewise.
31869         * sysdeps/powerpc/powerpc32/sysdep.h:
31870         Replace ASM_TYPE_DIRECTIVE with .type.
31871         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31872         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31873         * sysdeps/i386/fpu/e_powf.S: Likewise.
31874         * sysdeps/i386/fpu/e_expl.S: Likewise.
31875         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31876         * sysdeps/i386/fpu/e_acosh.S: Likewise.
31877         * sysdeps/i386/fpu/e_pow.S: Likewise.
31878         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31879         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31880         * sysdeps/i386/fpu/s_expm1.S: Likewise.
31881         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31882         * sysdeps/i386/fpu/e_log2.S: Likewise.
31883         * sysdeps/i386/fpu/e_log2l.S: Likewise.
31884         * sysdeps/i386/fpu/e_scalb.S: Likewise.
31885         * sysdeps/i386/fpu/e_powl.S: Likewise.
31886         * sysdeps/i386/fpu/e_log10f.S: Likewise.
31887         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31888         * sysdeps/i386/fpu/e_logl.S: Likewise.
31889         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31890         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31891         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31892         * sysdeps/i386/fpu/e_log2f.S: Likewise.
31893         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31894         * sysdeps/i386/fpu/e_log.S: Likewise.
31895         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31896         * sysdeps/i386/fpu/e_logf.S: Likewise.
31897         * sysdeps/i386/fpu/e_log10l.S: Likewise.
31898         * sysdeps/i386/fpu/e_atanh.S: Likewise.
31899         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31900         * sysdeps/i386/fpu/e_log10.S: Likewise.
31901         * sysdeps/i386/fpu/s_frexp.S: Likewise.
31902         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31903         * sysdeps/i386/fpu/s_asinh.S: Likewise.
31904         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31905         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31906         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31907         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31908         * sysdeps/i386/i686/strtok.S: Likewise.
31909         * sysdeps/i386/i386-mcount.S: Likewise.
31910         * sysdeps/i386/strtok.S: Likewise.
31911         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31912         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31913         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31914         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31915         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31916         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31917         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31918         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31919         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31920         * sysdeps/x86_64/_mcount.S: Likewise.
31921         * sysdeps/x86_64/strtok.S: Likewise.
31922         * sysdeps/sh/_mcount.S: Likewise.
31923
31924 2012-08-01  Roland McGrath  <roland@hack.frob.com>
31925
31926         * libio/iofopen.c: Include <fcntl.h>.
31927         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31928         (_IO_fopen64, fopen64): Define as aliases.
31929         * libio/iofopen64.c: Include <fcntl.h>.
31930         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31931         Conditionalize body on this.
31932         * sysdeps/wordsize-64/iofopen.c: File removed.
31933         * sysdeps/wordsize-64/iofopen64.c: File removed.
31934
31935 2012-08-01  Marek Polacek  <polacek@redhat.com>
31936
31937         * libc/Makeconfig: Use elf in place of binfmt-subdir.
31938         Use dlfcn directly instead of a variable.
31939         (binfmt-subdir): Do not define.
31940         (dlfcn): Likewise.
31941
31942 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
31943
31944         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31945         Remove all definitions.
31946         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31947         <kernel-features.h>.
31948         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31949         (miss_F_GETOWN_EX): Remove all definitions.
31950         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31951         macro definition.
31952         [!__ASSUME_FCNTL64]: Remove conditional code.
31953         [__ASSUME_FCNTL64]: Make code unconditional.
31954         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31955         <kernel-features.h>.
31956         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31957         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31958         (lockf64) [__NR_fcntl64]: Make code unconditional.
31959         (lockf64) [__ASSUME_FCNTL64]: Likewise.
31960
31961         * sysdeps/unix/sysv/linux/kernel-features.h
31962         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31963         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31964         Make code unconditional.
31965         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31966         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31968         [__NR_vfork]: Make code unconditional.
31969         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31970         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31972         [__NR_vfork]: Make code unconditional.
31973         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31974         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31975
31976 2012-08-01  Roland McGrath  <roland@hack.frob.com>
31977
31978         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31979         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31980
31981         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31982         Define mkstemp64 as an alias.
31983         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31984         Define mkstemps64 as an alias.
31985         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31986         Define mkostemp64 as an alias.
31987         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31988         Define mkostemps64 as an alias.
31989         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31990         Conditionalize body on this.
31991         * misc/mkostemp64.c: Likewise.
31992         * misc/mkostemps64.c: Likewise.
31993         * misc/mkstemps64.c: Likewise.
31994         * sysdeps/wordsize-64/mkstemp64.c: File removed.
31995         * sysdeps/wordsize-64/mkostemp64.c: File removed.
31996         * sysdeps/wordsize-64/mkostemp.c: File removed.
31997         * sysdeps/wordsize-64/mkstemp.c: File removed.
31998         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31999         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32000         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32001         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32002
32003         [BZ #14138]
32004         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32005         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32006         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32007         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32008
32009         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32010         compat_symbol macros from <shlib-compat.h> rather than the underlying
32011         default_symbol_version and symbol_version macros, so that DEFAULT
32012         lines in shlib-versions are respected.
32013         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32014
32015 2012-08-01  Florian Weimer  <fweimer@redhat.com>
32016
32017         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32018         Declare with warn_unused_result.
32019         (setgid, setregid, setegid, setresgid): Likewise.
32020         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32021         Likewise.
32022         * WUR-REPORT: Remove set*id functions.
32023
32024 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
32025
32026         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32027
32028 2012-07-31  Roland McGrath  <roland@hack.frob.com>
32029
32030         [BZ #10191]
32031         * include/sys/socket.h (__libc_accept, __libc_accept4):
32032         Add attribute_hidden.
32033         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32034
32035         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32036         use of PTR_MANGLE.
32037         * inet/getnetgrent_r.c (setup): Likewise.
32038
32039         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32040
32041 2012-07-31  David S. Miller  <davem@davemloft.net>
32042
32043         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32044
32045 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
32046
32047         [BZ #13629]
32048         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32049         value between 1.0 and 2.0 and smaller part has absolute value less
32050         than 1.0.
32051         * math/s_clog10.c (__clog10): Likewise.
32052         * math/s_clog10f.c (__clog10f): Likewise.
32053         * math/s_clog10l.c (__clog10l): Likewise.
32054         * math/s_clogf.c (__clogf): Likewise.
32055         * math/s_clogl.c (__clogl): Likewise.
32056         * math/libm-test.inc (clog_test): Add more tests.
32057         (clog10_test): Likewise.
32058         * sysdeps/i386/fpu/libm-test-ulps: Update.
32059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32060
32061 2012-07-31  Florian Weimer  <fweimer@redhat.com>
32062
32063         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32064         Exit with zero in case no suitable GID is found, and write a
32065         message to standard error.
32066
32067 2012-07-30  Roland McGrath  <roland@hack.frob.com>
32068
32069         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32070         rather than to 1.
32071         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32072         (MAXPATHLEN): Removed.
32073         (NOGROUP, NODEV): New macros.
32074         (setbit, clrbit, isset, isclr): New macros.
32075         (howmany, roundup, powerof2): New macros.
32076         (DEV_BSIZE): New macro.
32077
32078         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32079         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32080
32081         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32082         definition on [!__NO_LONG_DOUBLE_MATH].
32083
32084         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32085         PTR_MANGLE and PTR_DEMANGLE.
32086
32087         * socket/accept4.c (accept4): Rename to __libc_accept4.
32088         Define accept4 as a weak alias.
32089
32090         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32091         on [_DIRENT_HAVE_D_TYPE].
32092         * io/ftw.c (ftw_dir): Likewise.
32093
32094         * io/xmknod.c (__xmknod): Don't check PATH for being null.
32095
32096         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32097
32098         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32099         Use the BSD numbers rather than the arbitrary ones we had.
32100         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32101         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32102         (SIGXCPU, SIGXFSZ): New macros.
32103         (_NSIG): Now 32.
32104
32105         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32106         initializer on [_LIBC_REENTRANT].
32107
32108         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32109         definitions inside [_POSIX_MAPPED_FILES].
32110
32111         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32112
32113         * dirent/opendir.c: Include <fcntl.h>.
32114
32115         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32116         (__libc_getspecific): Likewise.
32117         (__libc_key_create): Likewise.
32118
32119         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32120         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32121         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32122         (tmpfile64): Define as alias.
32123         * sysdeps/wordsize-64/tmpfile.c: File removed.
32124         * sysdeps/wordsize-64/tmpfile64.c: File removed.
32125         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32126         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32127
32128         * stdio-common/vfscanf.c: Include <stdbool.h>.
32129         * nss/makedb.c: Likewise.
32130         * stdio-common/_i18n_number.h: Likewise.
32131         * argp/argp-help.c: Likewise.
32132         * posix/wordexp.c: Likewise.
32133         * sysdeps/posix/spawni.c: Likewise.
32134         * nss/nss_files/files-initgroups.c: Likewise.
32135         * stdio-common/reg-modifier.c: Include <stdlib.h>.
32136         * nss/nss_files/files-initgroups.c: Likewise.
32137         * nss/nss_db/db-netgrp.c: Likewise.
32138         * nss/nss_db/db-initgroups.c: Likewise.
32139         * io/fchmodat.c: Include <sys/stat.h>.
32140
32141         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32142         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32143
32144         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32145         [HAVE_MMAP].
32146
32147         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32148         Add multiple inclusion protection.
32149
32150 2012-07-27  David S. Miller  <davem@davemloft.net>
32151
32152         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32153
32154 2012-07-27  Gary Benson  <gbenson@redhat.com>
32155
32156         [BZ #14298]
32157         * elf/rtld.c: Include <stap-probe.h>.
32158         (dl_main): Added static probes "init_start" and "init_complete".
32159         * elf/dl-load.c: Include <stap-probe.h>.
32160         (lose): Take new parameter "nsid".
32161         Added static probe "map_failed".
32162         (_dl_map_object_from_fd): Pass namespace id to lose.
32163         Added static probe "map_start".
32164         (open_verify): Pass namespace id to lose.
32165         * elf/dl-open.c: Include <stap-probe.h>.
32166         (dl_open_worker) Added static probes "map_complete", "reloc_start"
32167         and "reloc_complete".
32168         * elf/dl-close.c: Include <stap-probe.h>.
32169         (_dl_close_worker): Added static probes "unmap_start" and
32170         "unmap_complete".
32171         * elf/rtld-debugger-interface.txt: New file documenting the above.
32172
32173 2012-07-26  Roland McGrath  <roland@hack.frob.com>
32174
32175         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32176         rather than a string variable.
32177         * sunrpc/rpc_main.c (h_output): Likewise.
32178         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32179
32180 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
32181
32182         * inet/check_native.c: New file.
32183
32184 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
32185
32186         [BZ #13629]
32187         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32188         if larger part has absolute value 1.0.
32189         * math/s_clog10.c (__clog10): Likewise.
32190         * math/s_clog10f.c (__clog10f): Likewise.
32191         * math/s_clog10l.c (__clog10l): Likewise.
32192         * math/s_clogf.c (__clogf): Likewise.
32193         * math/s_clogl.c (__clogl): Likewise.
32194         * math/libm-test.inc (clog_test): Add more tests.
32195         (clog10_test): Likewise.
32196         * sysdeps/i386/fpu/libm-test-ulps: Update.
32197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32198
32199         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32200         (pltexit): Likewise.
32201         (La_regs): Likewise.
32202         (La_retval): Likewise.
32203         (int_retval): Likewise.
32204         Update #error for removed macros to refer only to definitions in
32205         tst-audit.h.
32206         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32207         macro.
32208         (pltexit): Likewise.
32209         (La_regs): Likewise.
32210         (La_retval): Likewise.
32211         (int_retval): Likewise.
32212         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32213         macro.
32214         (pltexit): Likewise.
32215         (La_regs): Likewise.
32216         (La_retval): Likewise.
32217         (int_retval): Likewise.
32218         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32219         macro.
32220         (pltexit): Likewise.
32221         (La_regs): Likewise.
32222         (La_retval): Likewise.
32223         (int_retval): Likewise.
32224         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32225         macro.
32226         (pltexit): Likewise.
32227         (La_regs): Likewise.
32228         (La_retval): Likewise.
32229         (int_retval): Likewise.
32230         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32231         macro.
32232         (pltexit): Likewise.
32233         (La_regs): Likewise.
32234         (La_retval): Likewise.
32235         (int_retval): Likewise.
32236         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32237         macro.
32238         (pltexit): Likewise.
32239         (La_regs): Likewise.
32240         (La_retval): Likewise.
32241         (int_retval): Likewise.
32242         * sysdeps/generic/tst-audit.h: Update comment to refer only to
32243         macro definitions in tst-audit.h.
32244         * sysdeps/i386/tst-audit.h: New file.
32245         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32246         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32247         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32248         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32249         * sysdeps/sh/tst-audit.h: Likewise.
32250         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32251         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32252         * sysdeps/x86_64/tst-audit.h: Likewise.
32253
32254 2012-07-26  Andreas Jaeger  <aj@suse.de>
32255
32256         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32257         ptrace.
32258
32259         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32260         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32261         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32262         PTRACE_O_MASK.
32263         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32264         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32265         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32266
32267         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32268         value.
32269
32270         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32271         _sigsys.
32272         (si_call_addr, si_syscall, si_arch): Define new macro.
32273         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32274         _sigsys.
32275         (si_call_addr, si_syscall, si_arch): Define new marcro.
32276         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32277         _sigsys.
32278         (si_call_addr, si_syscall, si_arch): Define new macro.
32279         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32280         _sigsys.
32281         (si_call_addr, si_syscall, si_arch): Define new macro.
32282
32283 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32284
32285         [BZ #13717]
32286         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32287         Change to 2.4.21 where previously 2.4.1.
32288         * sysdeps/unix/sysv/linux/configure: Regenerated.
32289         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32290         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32291         Linux kernel version.
32292         (__ASSUME_STD_AUXV): Remove.
32293         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32294         kernel version.
32295         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32296         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32297         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32298         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32299         (__ASSUME_NETLINK_SUPPORT): Likewise.
32300         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32301         (__no_netlink_support): Remove conditional definition.
32302         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32303         Remove.
32304         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32305         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32306         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32307         (if_nameindex_ioctl): Remove.
32308         (if_nameindex_netlink): Do not handle __no_netlink_support.
32309         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32310         code.
32311         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32312         Remove conditional code.
32313         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32314         code.
32315         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32316         unconditional.
32317         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32318         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32319         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32320         Remove.
32321         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32322         [!__ASSUME_STD_AUXV]: Remove conditional code.
32323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32324         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32325         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32327         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32328         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32329         code.
32330         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32332         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32333         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32334         conditional code.
32335         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32337         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32338         code.
32339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32340         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32341         conditional code.
32342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32343         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32344         code unconditional.
32345         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32346         conditional code.
32347         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32348         unconditional.
32349         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32350         conditional code.
32351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32352         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32353         unconditional.
32354         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32355         conditional code.
32356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32357         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32358         code unconditional.
32359         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32360         conditional code.
32361         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32362         unconditional.
32363         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32364         conditional code.
32365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32366         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32367         code unconditional.
32368         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32369         conditional code.
32370         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32371         unconditional.
32372         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32373         conditional code.
32374
32375 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
32376
32377         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32378         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32379         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32380         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32381         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32382         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32383         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32384         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32385         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32386         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32387         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32388         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32389         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32390         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32391         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32392         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32393         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32394         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32395         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32396         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32397         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32398         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32399         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32400
32401 2012-07-25  Florian Weimer  <fweimer@redhat.com>
32402
32403         * Versions.def: Add GLIBC_2.17.
32404         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32405         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32406         Introduce __libc_secure_getenv.
32407         * stdlib/Versions (2.17): Add secure_getenv
32408         (GLIBC_PRIVATE): Add __libc_secure_getenv.
32409         * stdlib/secure-getenv.c: Rename __secure_getenv to
32410         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
32411         symbol __secure_getenv for GLIBC_2.0.
32412         * stdlib/tst-secure-getenv.c: New.
32413         * stdlib/Makefile (tests): Add testcase.
32414         * manual/startup.texi (Environment Access): Document
32415         secure_getenv.
32416         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32417         __libc_secure_getenv.
32418         * inet/ruserpass.c (ruserpass): Likewise.
32419         * malloc/mtrace.c (mtrace): Likewise.
32420         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32421         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32422         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32423         * sysdeps/posix/tempname.c: Likewise.  Evaluate
32424         HAVE_SECURE_GETENV.
32425         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32426         __secure_getenv to __libc_secure_getenv.
32427         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32429         Likewise.
32430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32431         Likewise.
32432         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32433         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32434         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32435         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32436         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32437         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32438         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32439
32440 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32441
32442         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32443         (struct La_i86_retval): Likewise.
32444         (struct La_x86_64_regs): Likewise.
32445         (struct La_x86_64_retval): Likewise.
32446         (struct La_x32_regs): Likewise.
32447         (struct La_x32_retval): Likewise.
32448         (struct La_ppc32_regs): Likewise.
32449         (struct La_ppc32_retval): Likewise.
32450         (struct La_ppc64_regs): Likewise.
32451         (struct La_ppc64_retval): Likewise.
32452         (struct La_sh_regs): Likewise.
32453         (struct La_sh_retval): Likewise.
32454         (struct La_s390_32_regs): Likewise.
32455         (struct La_s390_32_retval): Likewise.
32456         (struct La_s390_64_regs): Likewise.
32457         (struct La_s390_64_retval): Likewise.
32458         (struct La_sparc32_regs): Likewise.
32459         (struct La_sparc32_retval): Likewise.
32460         (struct La_sparc64_regs): Likewise.
32461         (struct La_sparc64_retval): Likewise.
32462         (struct audit_ifaces): Remove architecture-specific pltenter and
32463         pltexit members.
32464         * sysdeps/i386/ldsodefs.h: New file.
32465         * sysdeps/powerpc/ldsodefs.h: Likewise.
32466         * sysdeps/s390/ldsodefs.h: Likewise.
32467         * sysdeps/sh/ldsodefs.h: Likewise.
32468         * sysdeps/sparc/ldsodefs.h: Likewise.
32469         * sysdeps/x86_64/ldsodefs.h: Likewise.
32470
32471 2012-07-25  Marek Polacek  <polacek@redhat.com>
32472
32473         [BZ #6808]
32474         * math/libm-test.inc (yn_test): Add another test.
32475         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32476         to ERANGE when the result is +-Inf.
32477         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32478         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32479         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32480         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32481
32482 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
32483
32484         * conform/data/time.h-data (NULL): Use macro-constant.  Require
32485         equal to 0.
32486         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
32487         clock_t.
32488         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
32489
32490 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
32491
32492         * configure.in <sysdeps resolving>: Correct printing
32493         Implies_before.
32494         * configure: Regenerate.
32495
32496 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
32497
32498         * math/w_ilogb.c: Include <limits.h>.
32499         * math/w_ilogbl.c: Likewise.
32500
32501 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32502
32503         * manual/lang.texi (__va_copy): Document primarily as ISO C99
32504         va_copy.  Document allowing for unavailable va_copy only as
32505         pre-C99 compatibility.
32506         * manual/string.texi (Copying and Concatenation): Use va_copy
32507         instead of __va_copy in concat example.
32508
32509 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
32510
32511         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32512         (__sendto): Use create_address_port.  Initialize APORT and deallocate
32513         it if not null.
32514
32515         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32516         with O_NOLINK passed to __file_name_lookup.
32517
32518         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32519         with O_NOLINK passed to __file_name_lookup.
32520
32521         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32522         negative N or less than NGIDS.
32523
32524         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32525         type to string_t.  Set ERANGE as errno and return it if NAME is not big
32526         enough.  Use memcpy instead of strncpy.
32527
32528 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32529
32530         * elf/Makefile (check-data): Remove.
32531         (localplt.data): New vpath directive.
32532         ($(objpfx)check-localplt.out): Use localplt.data from vpath
32533         instead of $(check-data).
32534         * scripts/data/localplt-generic.data: Move to ...
32535         * sysdeps/generic/localplt.data: ... here.
32536         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32537         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32538         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32540         ... here.
32541         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32543         ... here.
32544         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32545         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32546         ... here.
32547         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32548         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32549         ... here.
32550         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32551         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32552         ... here.
32553         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32554         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32555         ... here.
32556
32557 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32558
32559         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32560         PPC32 and PPC64 files.
32561         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32562         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32563
32564 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32565
32566         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32567         __makecontext_ret to ...
32568         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32569         ... here and call exit if uc_link is NULL.  New file.
32570         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32571         __makecontext_ret.S.
32572         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32573         __makecontext_ret to ...
32574         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32575         ... here and call exit if uc_link is NULL.  New file.
32576         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32577         __makecontext_ret.S.
32578
32579 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32580
32581         * elf/elf.h (R_390_IRELATIVE): New definition.
32582         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32583         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
32584         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32585         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32586         (elf_machine_lazy_rel): Likewise.
32587         * sysdeps/s390/dl-irel.h: New file.
32588         * sysdeps/s390/s390-64/memcpy.S: New asm code.
32589         * sysdeps/s390/s390-64/memset.S: New asm code.
32590         * sysdeps/s390/s390-64/memcmp.S: New asm code.
32591         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32592         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32593         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32594         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32595         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32596         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32597         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32598         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32599         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32600         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32601         * sysdeps/s390/s390-32/memcpy.S: New asm code.
32602         * sysdeps/s390/s390-32/memset.S: New asm code.
32603         * sysdeps/s390/s390-32/memcmp.S: New asm code.
32604
32605 2012-07-17  Marek Polacek  <polacek@redhat.com>
32606
32607         [BZ #14349]
32608         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32609         * sysdeps/s390/s390-64/configure.in: Likewise.
32610         * sysdeps/sparc/configure.in: Likewise.
32611         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32612         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32613         * sysdeps/i386/configure.in: Likewise.
32614         * sysdeps/x86_64/configure.in: Likewise.
32615         * sysdeps/sh/configure.in: Likewise.
32616         * sysdeps/s390/s390-32/configure: Regenerated.
32617         * sysdeps/s390/s390-64/configure: Likewise.
32618         * sysdeps/x86_64/configure: Likewise.
32619         * sysdeps/sh/configure: Likewise.
32620         * sysdeps/powerpc/powerpc64/configure: Likewise.
32621         * sysdeps/powerpc/powerpc32/configure: Likewise.
32622         * sysdeps/sparc/configure: Likwise.
32623         * sysdeps/i386/configure: Likewise.
32624
32625         * elf/dl-open.c: Comment fixes.
32626
32627 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
32628
32629         * Makefile [CXX] (check-data): Remove.
32630         [CXX] (c++-types.data): New vpath directive.
32631         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32632         vpath.  Do not allow for C++ type data being missing.
32633         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32634         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32635         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32636         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32637         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32638         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32639         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32641         ... here.
32642         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32644         ... here.
32645         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32646         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32647         ... here.
32648         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32649         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32650         ... here.
32651         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32652         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32653         ... here.
32654         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32655         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32656         ... here.
32657         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32658         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32659         ... here.
32660         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32661         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32662
32663         * elf/tls-macros.h (TLS_LE): Move architecture-specific
32664         definitions to architecture-specific files.
32665         (TLS_IE): Likewise.
32666         (TLS_LD): Likewise.
32667         (TLS_GD): Likewise.
32668         * sysdeps/i386/tls-macros.h: New file.
32669         * sysdeps/powerpc/tls-macros.h: Likewise.
32670         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32671         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32672         * sysdeps/sh/tls-macros.h: Likewise.
32673         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32674         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32675         * sysdeps/x86_64/tls-macros.h: Likewise.
32676
32677 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
32678
32679         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32680         zero value for regular exit case.
32681
32682         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32683         (__start_context): Preserve zero value for regular exit case.
32684
32685 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
32686             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32687
32688         * manual/setjmp.texi (setcontext): Clarify normal process
32689         termination when uc_link is the null pointer.
32690         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32691         exit call.
32692
32693 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
32694
32695         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32696         preprocessor.  Test for each exception mask separately.
32697
32698 2012-07-16  Andreas Jaeger  <aj@suse.de>
32699
32700         * po/ru.po: Update from translation team.
32701
32702 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
32703
32704         * conform/data/string.h-data (NULL): Use macro-constant.  Require
32705         equal to 0.
32706         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32707         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32708         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32709         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32710         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32711
32712 2012-07-13  Andreas Jaeger  <aj@suse.de>
32713
32714         * po/fr.po: Update from translation team.
32715
32716 2012-07-12  Marek Polacek  <polacek@redhat.com>
32717
32718         [BZ #14173]
32719         * math/libm-test.inc (yn_test): Add test for BZ #14173.
32720         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32721         loop condition.
32722
32723 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
32724
32725         [BZ #13717]
32726         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32727         Change to 2.4.1 where previously 2.4.0.
32728         * sysdeps/unix/sysv/linux/configure: Regenerated.
32729         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32730         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32731         version.
32732         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32733         (__ASSUME_AT_CLKTCK): Remove.
32734         (__ASSUME_AT_PAGESIZE): Likewise.
32735         (__ASSUME_AT_XID): Likewise.
32736         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32737         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32738         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32739         unconditionally.
32740         (HAVE_AUX_PAGESIZE): Likewise.
32741         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32742         [__ASSUME_AT_CLKTCK]: Make code unconditional.
32743         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32744
32745 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
32746
32747         [BZ #14307]
32748         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32749         the temporary buffer used to invoke __gethostbyname2_r,
32750         __gethostbyaddr_r and gethostbyname4_r to make room for struct
32751         host_data / struct gaih_addrtuple.
32752         * resolv/nss_dns/dns-host.c (global scope): Move definition of
32753         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32754         header file nss/nsswitch.h.
32755         * nss/nsswitch.h (global scope): Add definition of implementation
32756         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32757         resolv/nss_dns/dns-host.c).
32758
32759 2012-07-11  Andreas Jaeger  <aj@suse.de>
32760
32761         * po/fr.po: Update from translation team.
32762
32763         * po/sv.po: Update from translation team
32764         * po/fr.po: Another update from translation team.
32765
32766 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32767
32768         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32769         for subnormals or multiply small sinh result by itself.
32770         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32771         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32772
32773 2012-07-11  David S. Miller  <davem@davemloft.net>
32774
32775         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32776
32777 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
32778
32779         [BZ #14347]
32780         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32781         (INTERNAL_MARK): Shift it here.
32782
32783 2012-07-10  Marek Polacek  <polacek@redhat.com>
32784
32785         [BZ #14151]
32786         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
32787         libc_cv_asm_global_directive with .globl.
32788         * configure: Regenerated.
32789         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32790         with .globl.
32791         * sysdeps/i386/configure: Regenerated.
32792         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32793         with .globl.
32794         * sysdeps/x86_64/configure: Regenerated.
32795         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32796         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32797         * elf/tst-unique2mod2.c: Likewise.
32798         * elf/tst-unique2mod1.c: Likewise.
32799         * elf/tst-unique1mod2.c: Likewise.
32800         * elf/tst-unique1mod1.c: Likewise.
32801         * sysdeps/s390/s390-32/sysdep.h: Likewise.
32802         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32803         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32804         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32805         * sysdeps/mach/sysdep.h: Likewise.
32806         * sysdeps/i386/sysdep.h: Likewise.
32807         * sysdeps/i386/i386-mcount.S: Likewise.
32808         * sysdeps/x86_64/_mcount.S: Likewise.
32809         * sysdeps/x86_64/sysdep.h: Likewise.
32810         * sysdeps/sh/_mcount.S: Likewise.
32811         * sysdeps/sh/sysdep.h: Likewise.
32812         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32813         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32814         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32815         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32816         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32817         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32818         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32819         * locale/localeinfo.h: Likewise.
32820         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32821         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32822
32823 2012-07-09  Roland McGrath  <roland@hack.frob.com>
32824
32825         [BZ #14336]
32826         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32827         system".
32828         * manual/message.texi (The Uniforum approach): Likewise.
32829         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32830         (glibc iconv Implementation): Likewise.
32831
32832 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
32833
32834         [BZ #14337]
32835         * math/s_clog.c (__clog): Avoid scaling a value down where that
32836         could result in underflow.
32837         * math/s_clog10.c (__clog10): Likewise.
32838         * math/s_clog10f.c (__clog10f): Likewise.
32839         * math/s_clog10l.c (__clog10l): Likewise.
32840         * math/s_clogf.c (__clogf): Likewise.
32841         * math/s_clogl.c (__clogl): Likewise.
32842         * math/libm-test.inc (clog_test): Add more tests.
32843         (clog10_test): Likewise.
32844         * sysdeps/i386/fpu/libm-test-ulps: Update.
32845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32846
32847 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
32848
32849         [BZ #14283]
32850         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32851         by 7 not 8 to examine high bit of fractional part.
32852
32853         [BZ #14042]
32854         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32855         for call to __mcount_internal.
32856         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32857         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32858         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32859
32860 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
32861
32862         [BZ #14154]
32863         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32864         approximation for values within 0x1p-13f of an odd multiple of
32865         pi/4.
32866         * math/libm-test.inc (tan_test): Do not allow spurious underflow
32867         exception.  Add more tests.
32868         * sysdeps/i386/fpu/libm-test-ulps: Update.
32869
32870         [BZ #6778]
32871         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32872         inputs and return -1 for them.  Do not check for +Inf in case not
32873         reachable for +Inf.
32874         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32875         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32876         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32877         and return -1 for them.  Do not check for +Inf in case not
32878         reachable for +Inf.
32879         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32880         define.
32881         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32882         and return -1 for them.  Do not check for +Inf in case not
32883         reachable for +Inf.
32884         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
32885         spurious underflow.
32886         * sysdeps/i386/fpu/libm-test-ulps: Update.
32887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32888
32889 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
32890
32891         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32892
32893 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
32894
32895         [BZ #14157]
32896         [BZ #14331]
32897         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32898         could result in spurious underflow.  Scale down values above
32899         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32900         * math/s_csqrtf.c (__csqrtf): Likewise.
32901         * math/s_csqrtl.c (__csqrtl): Likewise.
32902         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
32903         spurious underflow.
32904         * sysdeps/i386/fpu/libm-test-ulps: Update.
32905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32906
32907 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
32908
32909         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32910         xopen-msg.sed.
32911         * catgets/xopen-msg.awk: New file.
32912         * catgets/xopen-msg.sed: Removed.
32913
32914         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32915         po2text.sed.
32916         * intl/po2test.awk: New file.
32917         * intl/po2test.sed: Removed.
32918
32919 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
32920
32921         [BZ #14328]
32922         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32923         or multiply small sinh result by itself.
32924         * math/s_ctanf.c (__ctanf): Likewise.
32925         * math/s_ctanh.c (__ctanh): Likewise.
32926         * math/s_ctanhf.c (__ctanhf): Likewise.
32927         * math/s_ctanhl.c (__ctanhl): Likewise.
32928         * math/s_ctanl.c (__ctanl): Likewise.
32929         * math/libm-test.inc (ctan_test_tonearest): New function.
32930         (ctan_test_towardzero): Likewise.
32931         (ctan_test_downward): Likewise.
32932         (ctan_test_upward): Likewise.
32933         (ctanh_test_tonearest): Likewise.
32934         (ctanh_test_towardzero): Likewise.
32935         (ctanh_test_downward): Likewise.
32936         (ctanh_test_upward): Likewise.
32937         (main): Call these new functions.
32938         * sysdeps/i386/fpu/libm-test-ulps: Update.
32939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32940
32941 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
32942
32943         * .gitignore: Delete /ports entry.
32944
32945 2012-07-03  Andreas Jaeger  <aj@suse.de>
32946
32947         * po/bg.po: Update from translation team.
32948         * po/cs.po: Likewise.
32949         * po/de.po: Likewise.
32950         * po/hr.po: Likewise.
32951         * po/nl.pl: Likewise.
32952         * po/pl.po: Likewise.
32953         * po/vi.po: Likewise.
32954
32955 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
32956
32957         * Makeconfig [!+link] (+link-before-libc): New variable.
32958         [!+link] (+link-after-libc): Likewise.
32959         [!+link] (+link-tests): Likewise.
32960         [!+link] (+link): Define in terms of $(+link-before-libc) and
32961         $(+link-after-libc).
32962         [!+link-static] (+link-static-before-libc): New variable.
32963         [!+link-static] (+link-static-after-libc): Likewise.
32964         [!+link-static] (+link-static-tests): Likewise.
32965         [!+link-static] (+link-static): Define in terms of
32966         $(+link-static-before-libc) and $(+link-static-after-libc).
32967         [build-shared] (link-libc-before-gnulib): New variable.
32968         [build-shared] (link-libc-tests): Likewise.
32969         [build-shared] (link-libc): Define in terms of
32970         $(link-libc-before-gnulib).
32971         [!build-shared] (link-libc-tests): New variable.
32972         (link-libc-static-tests): New variable.
32973         [!gnulib] (gnulib-arch): New variable.
32974         [!gnulib] (gnulib-tests): Likewise.
32975         [!gnulib] (static-gnulib-arch): Likewise.
32976         [!gnulib] (static-gnulib-tests): Likewise.
32977         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
32978         Define with "=" instead of ":=".
32979         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
32980         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
32981         * Rules (binaries-all-notests): New variable.
32982         (binaries-all-tests): Likewise.
32983         (binaries-static-notests): Likewise.
32984         (binaries-static-tests): Likewise.
32985         (binaries-all): Define using $(binaries-all-notests) and
32986         $(binaries-all-tests).
32987         (binaries-static): Define using $(binaries-static-notests) and
32988         $(binaries-static-tests).
32989         (binaries-shared-tests): New variable.
32990         (binaries-shared-notests): Likewise.
32991         (binaries-shared): Remove variable.
32992         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32993         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32994         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32995         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32996         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32997         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32998         * elf/Makefile (sln-modules): New variable.
32999         (extra-objs): Add $(sln-modules:=.o).
33000         (ldconfig-modules): Add static-stubs.
33001         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33002         * elf/static-stubs.c: New file.
33003
33004         [BZ #14283]
33005         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33006         by 7 not 8 to examine high bit of fractional part.  Use volatile
33007         variables when splitting into final array of floats if
33008         __FLT_EVAL_METHOD__ != 0.
33009         * math/libm-test.inc (cos_test): Add another test.
33010         (sin_test): Likewise.
33011         * sysdeps/i386/fpu/libm-test-ulps: Update.
33012
33013         [BZ #14273]
33014         * math/libm-test.inc (cosh_test): Add more tests.
33015
33016         * version.h (RELEASE): Set to "development".
33017         (VERSION): Set to "2.16.90".
33018
33019 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
33020
33021         * NEWS: Update copyright. Remove last-updated date.
33022         Mention math library bug fixes and timezone data changes.
33023         * README: Mention GNU/Hurd, x32, and HPPA support status.
33024
33025 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
33026
33027         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33028
33029 2012-06-27  Andreas Jaeger  <aj@suse.de>
33030
33031         * manual/contrib.texi (Contributors): Add Samuel Thibault.
33032
33033 2012-06-25  Andreas Jaeger  <aj@suse.de>
33034
33035         * sysdeps/s390/fpu/libm-test-ulps: Update.
33036
33037 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
33038             Thomas Schwinge  <thomas@codesourcery.com>
33039
33040         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33041         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33042         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33043         fanotify_mark.
33044
33045 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
33046
33047         * sysdeps/mach/start.c: Remove file.
33048         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33049         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33050         * sysdeps/sh/init-first.c: Likewise.
33051
33052         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33053         registers for frame unwinding purposes, add CFI directives.
33054         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33055         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33056         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33057         Likewise.
33058
33059         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33060         __fortify_fail returning.
33061         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33062
33063         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33064         sysdeps/sh/____longjmp_chk.S.
33065         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33066         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33067         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33068         (gen-as-const-headers): Append sigaltstack-offsets.sym.
33069
33070         * sysdeps/sh/abort-instr.h: New file.
33071         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33072         process in case exit returns.
33073
33074         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33075         initialize the GOT register before use.
33076
33077         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33078         calculation of ARGC > 4.
33079
33080         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33081         meaningful names to some local labels.
33082
33083 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33084             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33085
33086         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33087         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33088         (__arch_compare_and_exchange_val_16_acq): Likewise.
33089         (__arch_compare_and_exchange_val_32_acq): Likewise.
33090         (atomic_exchange_and_add): Fix gUSA sequence.
33091         (atomic_add): Likewise.
33092         (atomic_add_negative): Likewise.
33093         (atomic_add_zero): Likewise.
33094         (atomic_bit_test_set): Likewise.
33095
33096 2012-06-22  Andreas Schwab  <schwab@redhat.com>
33097
33098         [BZ #13579]
33099         * include/link.h (struct link_map): Add l_free_initfini.
33100         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33101         l_initfini.
33102         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33103         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33104         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33105         set.
33106
33107 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
33108
33109         * configure.in: Use AC_LANG_SOURCE.
33110         * configure: Regenerate.
33111
33112 2012-06-22  Roland McGrath  <roland@hack.frob.com>
33113
33114         * configure.in (libc_cv_localstatedir): New substituted variable.
33115         * configure: Regenerated.
33116         * config.make.in (localstatedir): New variable, substituted from
33117         libc_cv_localstatedir.
33118         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33119         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33120         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33121         * sysdeps/gnu/configure: Regenerated.
33122
33123 2012-06-21  Jeff Law  <law@redhat.com>
33124
33125         [BZ #14277]
33126         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33127         free.  Simplify list management for _LIBC case.
33128
33129 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
33130
33131         [BZ #14273]
33132         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33133         Clear sign bit of 64-bit integer value before comparing against
33134         overflow value.
33135
33136         * sysdeps/mach/configure: Regenerated.
33137
33138 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
33139
33140         [BZ #14278]
33141         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33142
33143 2012-06-21  Jeff Law  <law@redhat.com>
33144
33145         [BZ #13882]
33146         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
33147         uint16_t for elements in the "seen" array to avoid char overflows.
33148         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33149         * elf/dl-open.c (dl_open_worker): Likewise.
33150
33151 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
33152
33153         * scripts/list-sources.sh: Scan PORTS for translations.
33154         * po/libc.pot: Regenerated.
33155
33156 2012-06-21  Andreas Jaeger  <aj@suse.de>
33157
33158         [BZ #12194]
33159         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33160         warning.
33161         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33162         * bits/byteswap-16.h (__bswap_16): Likewise.
33163         * bits/byteswap.h (__bswap_constant_16): Likewise.
33164
33165 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
33166
33167         [BZ #14117]
33168         * sysdeps/i386/fpu_control.h: Removed.
33169         * sysdeps/x86_64/fpu_control.h: Moved to ...
33170         * sysdeps/x86/fpu_control.h: Here.
33171
33172         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33173         (_FPU_SETCW): Likewise.
33174
33175 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
33176
33177         [BZ #14117]
33178         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33179         * sysdeps/x86/fpu/bits/mathinline.h: This.
33180         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33181
33182         [BZ #14050]
33183         [BZ #14117]
33184         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33185         functions if __x86_64__ is defined.
33186
33187 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
33188
33189         * string/endian.h: Add !__ASSEMBLER__ condition for including
33190         conversion interfaces.
33191
33192 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
33193
33194         [BZ #14241]
33195         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33196         of ABS(x) in calculating zero to negative powers other than odd
33197         integers.
33198         * math/libm-test.inc (pow_test): Add more tests.
33199
33200 2012-06-15  Andreas Jaeger  <aj@suse.de>
33201
33202         * manual/contrib.texi (Contributors): Update entry of Liubov
33203         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33204         Machado Filho.
33205
33206 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
33207
33208         * string/string.h: Add __wur to GNU version of strerror_r.
33209
33210 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
33211
33212         [BZ #14229]
33213         * string/Makefile (tests): Add tst-strtok_r.
33214         * string/tst-strtok_r.c: New file.
33215         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33216         RAX_LP/RDX_LP on SAVE_PTR.
33217
33218 2012-06-14  Roland McGrath  <roland@hack.frob.com>
33219
33220         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33221
33222 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
33223
33224         * libm_test.inc (csqrt_test): Allow more spurious underflow
33225         exceptions.
33226         (j0_test): Likewise.
33227         (j1_test): Likewise.
33228         (y0_test): Likewise.
33229         (y1_test): Likewise.
33230
33231 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
33232
33233         * po/Makefile (libc.pot): Use UTF-8 charset.
33234
33235 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
33236
33237         [BZ #14210]
33238         Suppress sign-conversion warning from FD_SET.
33239         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33240         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33241         not unsigned long int.
33242         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33243
33244 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
33245
33246         [BZ #14050]
33247         [BZ #14117]
33248         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33249         __extern_always_inline instead of __extern_inline.
33250         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33251         (__signbit): Likewise.
33252         (__signbitl): Support C++ namespace.
33253         (lrintf): New inline function.
33254         (lrint): Likewise.
33255         (llrintf): Likewise.
33256         (llrint): Likewise.
33257         (fmaxf): Likewise.
33258         (fmax): Likewise.
33259         (fminf): Likewise.
33260         (fmin): Likewise.
33261         (rint): Likewise.
33262         (rintf): Likewise.
33263         (ceil): Likewise.
33264         (ceilf): Likewise.
33265         (floor): Likewise.
33266         (floorf): Likewise.
33267         (nearbyint): Likewise.
33268         (nearbyintf): Likewise.
33269
33270 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
33271
33272         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33273         non-default versions.
33274
33275 2012-06-11  Roland McGrath  <roland@hack.frob.com>
33276
33277         [BZ #14218]
33278         * manual/argp.texi (Argp): Reword argp_parse description slightly.
33279
33280 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
33281
33282         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33283         (FE_UPWARD, FE_DOWNWARD): Don't define.
33284         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33285         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33286
33287         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33288         reading it.
33289         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33290         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33291
33292 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33293
33294         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33295         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33296         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33297         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33298
33299 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
33300
33301         [BZ #14117]
33302         * sysdeps/i386/fpu/bits/fenv.h: Removed.
33303         * sysdeps/i386/fpu/Implies: New file.
33304         * sysdeps/x86_64/fpu/Implies: Likewise.
33305         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33306         * sysdeps/x86/fpu/bits/fenv.h: This.
33307
33308         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33309         __SSE_MATH__.
33310
33311 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33312
33313         [BZ #14134]
33314         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33315         character 0xffff that matches the last element of the
33316         conversion table.
33317
33318 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33319
33320         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33321         fmodl commit.
33322
33323 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33324
33325         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33326         values higher than 25.6283.
33327
33328 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33329
33330         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33331         subnormal exponent extraction and add some __builtin_expect.
33332         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33333         Fix for subnormal mantissa calculation.
33334
33335 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
33336
33337         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33338         cpu2 is -1 and errno is not ENOSYS.
33339
33340 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
33341
33342         [BZ #14117]
33343         * sysdeps/i386/i486/bits/string.h: Renamed to ...
33344         * sysdeps/x86/bits/string.h: This.
33345         * sysdeps/x86_64/bits/string.h: Removed.
33346
33347         * sysdeps/i386/i486/bits/string.h: Define inline functions only
33348         if not compiling for x86-64, but compiling for >= i486.
33349
33350         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33351         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33352
33353         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33354         New macro from Linux kernel 3.4.0.
33355         (FP_XSTATE_MAGIC2): Likewise.
33356         (FP_XSTATE_MAGIC2_SIZE): Likewise.
33357         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33358         (struct _fpx_sw_bytes): New struct.
33359         (struct _xsave_hdr): Likewise.
33360         (struct _ymmh_state): Likewise.
33361         (struct _xstate): Likewise.
33362
33363         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33364         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33365         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33366         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33367         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33368         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33369
33370         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33371         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33372         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33373         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33374         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33375         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33376
33377 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33378
33379         [BZ #13743]
33380         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33381         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33382         (sysdep_headers): Include sys/platform/ppc.h.
33383         * sysdeps/powerpc/test-gettimebase.c: Test for
33384         __ppc_get_timebase() to catch future ISA opcode/insn changes.
33385         * manual/Makefile (appendices): Include platform.texi.
33386         * manual/contrib.texi (Contributors): Update @node pointers.
33387         * manual/maint.texi (Maintenance): Likewise.
33388         (Platform): New node.
33389         * manual/platform.texi: New file.  Document the new features.
33390
33391 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33392             Jakub Jelinek  <jakub@redhat.com>
33393
33394         [BZ #14188]
33395         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33396         where __builtin_expect is unavailable.
33397
33398 2012-06-03  David S. Miller  <davem@davemloft.net>
33399
33400         * stdlib/longlong.h: Updated from GCC.
33401
33402 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
33403
33404         [BZ #14042]
33405         * sysdeps/powerpc/powerpc32/mcount.c: New file.
33406         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33407         __mcount_internal.
33408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33409         (GLIBC_2.16): Likewise.
33410
33411 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33412
33413         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33414
33415 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33416
33417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33418         (default-abi): New variable.
33419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33420         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33421         variable.
33422         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33423         Likewise.
33424         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33425         Likewise.
33426         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33427         Likewise.
33428
33429         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33430         definition.  Document in comment.
33431
33432 2012-06-01  David S. Miller  <davem@davemloft.net>
33433
33434         * stdlib/longlong.h: Updated from GCC.
33435
33436 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33437
33438         [BZ #14117]
33439         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33440         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33441         sys/debugreg.h sys/io.h here.
33442         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33443         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33444         sys/io.h.
33445         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33446         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33447         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33448         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33449         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33450         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33451
33452         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33453         Define only if __x86_64__ is defined.
33454
33455 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33456
33457         [BZ #14048]
33458         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33459         Use int64_t for variable i.
33460         * math/libm-test.inc (fmod_test): Add more tests.
33461
33462         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33463         z computation is not scheduled after fetestexcept.
33464         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33465         Use math_force_eval instead of asm to ensure calculation scheduled
33466         before exception test.
33467         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33468         Ensure a1 + u.d computation is not scheduled after fetestexcept.
33469
33470 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
33471
33472         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33473         computation is not scheduled after fetestexcept.
33474
33475 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33476
33477         [BZ #14117]
33478         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33479         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33480
33481 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33482
33483         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33484         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33485
33486 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33487
33488         [BZ #14117]
33489         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33490         <bits/wordsize.h>.
33491         (__WCHAR_MIN): Support __WORDSIZE == 64.
33492         (__WCHAR_MAX): Likewise.
33493
33494         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33495         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33496
33497         [BZ #14183]
33498         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33499         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33500
33501         [BZ #14117]
33502         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33503         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33504
33505         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33506         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33507
33508         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33509         Defined to 1 if __x86_64__ isn't defined.
33510         (_STAT_VER_LINUX_OLD): New.
33511         (st_atime): Remove duplicate.
33512         (st_mtime): Likewise.
33513         (st_ctime): Likewise.
33514
33515 2012-05-31  David S. Miller  <davem@davemloft.net>
33516
33517         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33518         entries.
33519
33520 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
33521
33522         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33523         gen-libm-test.pl.
33524
33525         [BZ #14132]
33526         * elf/dl-reloc.c: Include <_itoa.h>.
33527         (_dl_reloc_bad_type): Remove use of INTUSE.
33528         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33529         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33530         * stdio-common/psiginfo.c (psiginfo): Likewise.
33531         * stdio-common/psignal.c (psignal): Likewise.
33532         * string/strsignal.c (strsignal): Likewise.
33533         * include/signal.h (_sys_siglist): Declare hidden proto.
33534         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
33535         INTVARDEF with libc_hidden_data_def.
33536         * stdio-common/itoa-udigits.c: Likewise.
33537         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33538         (_itoa_lower_digits_internal): Remove declaration.
33539         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33540         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33541         (_sys_sigabbrev_internal): Remove aliases.
33542         (_sys_siglist): Define hidden alias.
33543
33544 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
33545
33546         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33547         bits/sysctl.h.
33548
33549 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33550
33551         [BZ #14117]
33552         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33553         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33554
33555         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33556         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33557         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33558         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33559         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33560         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33561
33562         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33563         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33564         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33565
33566         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33567         with __addr.
33568         (insw): Likewise.
33569         (insl): Likewise.
33570         (outsb): Likewise.
33571         (outsw): Likewise.
33572         (outsl): Likewise.
33573
33574         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33575         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33576         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33577
33578         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33579         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33580         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33581         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33582         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33583         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33584
33585         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33586         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33587
33588         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33589         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33590
33591         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33592         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33593         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33594
33595         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33596         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33597         to ...
33598         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33599
33600         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33601         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33602         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33603
33604         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33605         for x86-64.
33606         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33607
33608 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
33609
33610         * math/math.h (M_El): Use two more decimal places.
33611         (M_LOG2El): Likewise.
33612         (M_LOG10El): Likewise.
33613         (M_LN2l): Likewise.
33614         (M_LN10l): Likewise.
33615         (M_PIl): Likewise.
33616         (M_PI_2l): Likewise.
33617         (M_PI_4l): Likewise.
33618         (M_1_PIl): Likewise.
33619         (M_2_PIl): Likewise.
33620         (M_2_SQRTPIl): Likewise.
33621         (M_SQRT2l): Likewise.
33622         (M_SQRT1_2l): Likewise.
33623
33624 2012-05-31  David S. Miller  <davem@davemloft.net>
33625
33626         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33627         values between float registers.
33628         * sysdeps/sparc/sparc64/memset.S: Likewise.
33629         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33630
33631 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
33632
33633         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33634         -D_FORTIFY_SOURCE=1.
33635         (CPPFLAGS-tst-longjmp_chk.c): Define.
33636         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33637         (CPPFLAGS-tst-longjmp_chk2.c): Define.
33638         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33639         CFLAGS-tst-wchar-h.c.
33640
33641 2012-05-31  Marek Polacek  <polacek@redhat.com>
33642
33643         [BZ #14132]
33644         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33645         __endmntent_internal): Remove declaration.
33646         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33647         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33648         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33649
33650 2012-05-30  David S. Miller  <davem@davemloft.net>
33651
33652         * sysdeps/sparc/sparc32/soft-fp/q_util.c
33653         (___Q_simulate_exceptions): Use real FP ops rather than writing
33654         into the %fsr.
33655         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33656         Likewise.
33657
33658 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33659
33660         [BZ #14117]
33661         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33662         * sysdeps/x86/bits/xtitypes.h: This.
33663
33664         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33665         * sysdeps/x86/bits/wordsize.h: This.
33666
33667         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33668         * sysdeps/x86/bits/huge_vall.h: This.
33669
33670         * sysdeps/i386/bits/select.h: Removed.
33671         * sysdeps/x86_64/bits/select.h: Renamed to ...
33672         * sysdeps/x86/bits/select.h: This.
33673
33674         * sysdeps/i386/bits/setjmp.h: Removed.
33675         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33676         * sysdeps/x86/bits/setjmp.h: This.
33677
33678         * sysdeps/i386/bits/mathdef.h: Removed.
33679         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33680         * sysdeps/x86/bits/mathdef.h: This.
33681
33682 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
33683
33684         [BZ #14132]
33685         * include/sys/socket.h (__connect_internal)
33686         (__libc_sa_len_internal): Remove declaration.
33687         (__connect, __libc_sa_len): Declare hidden_proto.
33688         (SA_LEN): Remove use of INTUSE.
33689         * socket/connect.c: Add libc_hidden_def.
33690         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33691         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33692         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33693         alias.
33694         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33695         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33696         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33697         of adding _internal alias.
33698
33699 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33700
33701         [BZ #14117]
33702         * sysdeps/i386/bits/link.h: Removed.
33703         * sysdeps/i386/bits/linkmap.h: Likewise.
33704         * sysdeps/x86_64/bits/link.h: Renamed to ...
33705         * sysdeps/x86/bits/link.h: This.
33706         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33707         * sysdeps/x86/bits/linkmap.h: This.
33708
33709         * sysdeps/i386/bits/endian.h: Removed.
33710         * sysdeps/x86_64/bits/endian.h: Renamed to ...
33711         * sysdeps/x86/bits/endian.h: This.
33712
33713         * sysdeps/i386/bits/byteswap.h: Removed.
33714         * sysdeps/i386/bits/byteswap-16.h: Likewise.
33715         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33716         * sysdeps/x86/bits/byteswap.h: This.
33717         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33718         * sysdeps/x86/bits/byteswap-16.h: This.
33719         * sysdeps/i386/Implies: Add x86.
33720         * sysdeps/x86_64/Implies: Likewise.
33721
33722 2012-05-30  David S. Miller  <davem@davemloft.net>
33723
33724         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33725         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33726         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33727         (FP_TRAPPING_EXCEPTIONS): Define.
33728         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33729         (FP_TRAPPING_EXCEPTIONS): Define.
33730         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33731         subnormals only when inexact has been signalled or underflow
33732         exceptions are enabled.
33733         (_FP_PACK_CANONICAL): Likewise.
33734
33735 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33736
33737         [BZ #14183]
33738         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33739         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33740
33741 2012-05-30  Richard Henderson  <rth@twiddle.net>
33742
33743         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33744         with #ifndef NOT_IN_libc.
33745
33746         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
33747         marked to avoid plt entry.
33748
33749 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33750
33751         [BZ #14112]
33752         * Makeconfig (default-abi): New macro.
33753         (abi-includes): Likewise.
33754         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
33755         $(abi-$(default-abi)-lib-soname) for soname if defined.
33756         ($(common-objpfx)gnu/lib-names.stmp): Generate from
33757         abi-variants.
33758         * Makefile (installed-stubs): Likewise.
33759         * include/stubs-biarch.h: Removed.
33760         * scripts/lib-names.awk: Only handle one library at a time.
33761         * scripts/soversions.awk: Remove WORDSIZE support.
33762         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33763         entries.
33764         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33765         Removed.
33766         (syscall-list-default-condition): Likewise.
33767         (syscall-list-default-condition): Likewise.
33768         (syscall-list-includes): Likewise.
33769         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33770         syscall-list-* with abi-*.  Handle undefined abi-variants.
33771         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33772         * sysdeps/unix/sysv/linux/i386/Implies: New file.
33773         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33774         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33775         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33776         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33777         Removed.
33778         (syscall-list-32-options): Likewise.
33779         (syscall-list-32-condition): Likewise.
33780         (syscall-list-64-options): Likewise.
33781         (syscall-list-64-condition): Likewise.
33782         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33783         macro.
33784         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33785         Renamed to ...
33786         (abi-*): This.
33787         (abi-64-ld-soname): New macro.
33788         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33789         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33790         Renamed to ...
33791         (abi-*): This.
33792         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33793         * sysdeps/x86_64/x32/shlib-versions: Likewise.
33794
33795 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
33796
33797         * sysdeps/unix/sysv/linux/kernel-features.h
33798         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33799         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33800         include <kernel-features.h>.
33801         [!__NR_ftruncate64]: Remove conditional code.
33802         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33803         [__NR_ftruncate64]: Make code unconditional.
33804         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33805         * sysdeps/unix/sysv/linux/truncate64.c: Do not
33806         include <kernel-features.h>.
33807         [!__NR_ftruncate64]: Remove conditional code.
33808         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33809         [__NR_ftruncate64]: Make code unconditional.
33810         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33812         include <kernel-features.h>.
33813         [!__NR_ftruncate64]: Remove conditional code.
33814         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33815         [__NR_ftruncate64]: Make code unconditional.
33816         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33818         include <kernel-features.h>.
33819         [!__NR_ftruncate64]: Remove conditional code.
33820         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33821         [__NR_ftruncate64]: Make code unconditional.
33822         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33823
33824         * configure.in (libc_cv_fpie): Weaken to a compile test using
33825         LIBC_TRY_CC_OPTION.
33826         * configure: Regenerated.
33827
33828 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33829
33830         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33831         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33832         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33833         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33834         Refreshed.
33835         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33836         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33837         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33838         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33839         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33840         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33841         Refreshed.
33842
33843 2012-05-27  David S. Miller  <davem@davemloft.net>
33844
33845         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33846         (___Q_zero): New.
33847         (__Q_simulate_exceptions): Return void.  Change to simulate
33848         exceptions by writing into the %fsr.
33849         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33850         (__Qp_handle_exceptions): Likewise.
33851         (numbers): Delete.
33852         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33853         __Qp_handle_exceptions.
33854         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33855         __Qp_handle_exceptions.
33856         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33857         as unused and give dummy FP_RND_NEAREST initializer.
33858         (FP_INHIBIT_RESULTS): Define.
33859         (___Q_simulate_exceptions): Update declaration.
33860         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33861         formatting.
33862         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33863         as unused and give dummy FP_RND_NEAREST initializer.
33864         (__Qp_handle_exceptions): Update declaration.
33865         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33866         formatting.
33867
33868 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
33869
33870         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33871         the temporary FPU control word.
33872         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33873         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33874         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33875         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33876         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33877         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33878         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33879         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33880         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33881         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33882         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33883
33884 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33885
33886         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33887         fields.
33888
33889 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
33890
33891         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33892         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33893         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33894         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33895         Likewise.
33896         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33897         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33898         Likewise.
33899
33900 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
33901
33902         * po/h.po: Update from translation team.
33903
33904 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
33905
33906         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33907
33908         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33909         handling of denormals.
33910         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33911         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33912         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33913         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33914         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33915         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33916         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33917         Likewise.
33918
33919 2012-05-26  Marek Polacek  <polacek@redhat.com>
33920
33921         [BZ #14152]
33922         * math/libm-test.inc (fma_test): Don't always expect underflow
33923         exception.
33924
33925 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33926
33927         [BZ #12416]
33928         * elf/tst-execstack.c: Include stackinfo.h.
33929         (do_test): Adjust test case to ensure that pthread_getattr_np
33930         behaviour remains the same after marking stack executable.
33931
33932 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
33933
33934         * sysdeps/unix/sysv/linux/kernel-features.h
33935         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33936         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33937         kernel-features.h.
33938         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33939         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33940         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33941         kernel-features.h.
33942         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33943         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33944
33945 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
33946
33947         * configure.in: Define the default includes to being none.
33948         * configure: Regenerated.
33949
33950 2012-05-25  Roland McGrath  <roland@hack.frob.com>
33951
33952         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33953         * sysdeps/x86_64/setjmp.S: Likewise.
33954         * sysdeps/i386/bsd-setjmp.S: Likewise.
33955         * sysdeps/i386/bsd-_setjmp.S: Likewise.
33956         * sysdeps/i386/setjmp.S: Likewise.
33957         * sysdeps/i386/__longjmp.S: Likewise.
33958         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33959         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33960
33961         * include/stap-probe.h: New file.
33962         * configure.in: Handle --enable-systemtap.
33963         * configure: Regenerated.
33964         * config.h.in (USE_STAP_PROBE): New #undef.
33965         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33966         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33967         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33968
33969 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
33970
33971         [BZ #13717]
33972         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33973         to 2.4.0 where earlier.
33974         * sysdeps/unix/sysv/linux/configure: Regenerated.
33975         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33976         <kernel-features.h>.
33977         [__ASSUME_32BITUIDS]: Make code unconditional.
33978         [!__ASSUME_32BITUIDS]: Remove conditional code.
33979         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33980         <kernel-features.h>.
33981         [__ASSUME_32BITUIDS]: Make code unconditional.
33982         [!__ASSUME_32BITUIDS]: Remove conditional code.
33983         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33984         [__ASSUME_32BITUIDS]: Make code unconditional.
33985         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33986         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33987         <kernel-features.h>.
33988         [__ASSUME_32BITUIDS]: Make code unconditional.
33989         [!__ASSUME_32BITUIDS]: Remove conditional code.
33990         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33991         <kernel-features.h>.
33992         [__ASSUME_32BITUIDS]: Make code unconditional.
33993         [!__ASSUME_32BITUIDS]: Remove conditional code.
33994         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33995         <kernel-features.h>.
33996         [__ASSUME_32BITUIDS]: Make code unconditional.
33997         [!__ASSUME_32BITUIDS]: Remove conditional code.
33998         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33999         <kernel-features.h>.
34000         [__ASSUME_32BITUIDS]: Make code unconditional.
34001         [!__ASSUME_32BITUIDS]: Remove conditional code.
34002         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34003         <kernel-features.h>.
34004         [__ASSUME_32BITUIDS]: Make code unconditional.
34005         [!__ASSUME_32BITUIDS]: Remove conditional code.
34006         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34007         <kernel-features.h>.
34008         [__ASSUME_32BITUIDS]: Make code unconditional.
34009         [!__ASSUME_32BITUIDS]: Remove conditional code.
34010         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34011         <kernel-features.h>.
34012         [__ASSUME_32BITUIDS]: Make code unconditional.
34013         [!__ASSUME_32BITUIDS]: Remove conditional code.
34014         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34015         <kernel-features.h>.
34016         [__ASSUME_32BITUIDS]: Make code unconditional.
34017         [!__ASSUME_32BITUIDS]: Remove conditional code.
34018         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34019         <kernel-features.h>.
34020         [__ASSUME_32BITUIDS]: Make code unconditional.
34021         [!__ASSUME_32BITUIDS]: Remove conditional code.
34022         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34023         <kernel-features.h>.
34024         [__ASSUME_32BITUIDS]: Make code unconditional.
34025         [!__ASSUME_32BITUIDS]: Remove conditional code.
34026         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34027         <kernel-features.h>.
34028         [__NR_setresgid] (__setresgid): Do not declare.
34029         [__ASSUME_32BITUIDS]: Make code unconditional.
34030         [!__ASSUME_32BITUIDS]: Remove conditional code.
34031         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34032         <kernel-features.h>.
34033         [__NR_setresuid] (__setresuid): Do not declare.
34034         [__ASSUME_32BITUIDS]: Make code unconditional.
34035         [!__ASSUME_32BITUIDS]: Remove conditional code.
34036         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34037         <kernel-features.h>.
34038         [__ASSUME_32BITUIDS]: Make code unconditional.
34039         [!__ASSUME_32BITUIDS]: Remove conditional code.
34040         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34041         <kernel-features.h>.
34042         [__ASSUME_32BITUIDS]: Make code unconditional.
34043         [!__ASSUME_32BITUIDS]: Remove conditional code.
34044         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34045         <kernel-features.h>.
34046         [__ASSUME_32BITUIDS]: Make code unconditional.
34047         [!__ASSUME_32BITUIDS]: Remove conditional code.
34048         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34049         <kernel-features.h>.
34050         [__ASSUME_32BITUIDS]: Make code unconditional.
34051         [!__ASSUME_32BITUIDS]: Remove conditional code.
34052         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34053         <kernel-features.h>.
34054         [__ASSUME_32BITUIDS]: Make code unconditional.
34055         [!__ASSUME_32BITUIDS]: Remove conditional code.
34056         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34057         <kernel-features.h>.
34058         [__ASSUME_32BITUIDS]: Make code unconditional.
34059         [!__ASSUME_32BITUIDS]: Remove conditional code.
34060         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34061         <kernel-features.h>.
34062         [__ASSUME_32BITUIDS]: Make code unconditional.
34063         [!__ASSUME_32BITUIDS]: Remove conditional code.
34064         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34065         <kernel-features.h>.
34066         [__ASSUME_32BITUIDS]: Make code unconditional.
34067         [!__ASSUME_32BITUIDS]: Remove conditional code.
34068         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34069         <kernel-features.h>.
34070         [__ASSUME_32BITUIDS]: Make code unconditional.
34071         [!__ASSUME_32BITUIDS]: Remove conditional code.
34072         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34073         <kernel-features.h>.
34074         [__ASSUME_32BITUIDS]: Make code unconditional.
34075         [!__ASSUME_32BITUIDS]: Remove conditional code.
34076         * sysdeps/unix/sysv/linux/kernel-features.h
34077         (__ASSUME_SETRESUID_SYSCALL): Remove.
34078         (__ASSUME_SETRESGID_SYSCALL): Likewise.
34079         (__ASSUME_32BITUIDS): Likewise.
34080         (__ASSUME_LDT_WORKS): Likewise.
34081         (__ASSUME_O_DIRECTORY): Likewise.
34082         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34083         architecture but not kernel version.
34084         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34085         (__ASSUME_MMAP2_SYSCALL): Likewise.
34086         (__ASSUME_STAT64_SYSCALL): Likewise.
34087         (__ASSUME_IPC64): Likewise.
34088         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34089         <kernel-features.h>.
34090         [__ASSUME_32BITUIDS]: Make code unconditional.
34091         [!__ASSUME_32BITUIDS]: Remove conditional code.
34092         * sysdeps/unix/sysv/linux/opendir.c: Do not include
34093         <kernel-features.h>.
34094         [__ASSUME_O_DIRECTORY]: Make code unconditional.
34095         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34096         132096]: Remove conditional code.
34097         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34098         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34099         <kernel-features.h>.
34100         [__ASSUME_32BITUIDS]: Make code unconditional.
34101         [!__ASSUME_32BITUIDS]: Remove conditional code.
34102         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34103         <kernel-features.h>.
34104         [__ASSUME_32BITUIDS]: Make code unconditional.
34105         [!__ASSUME_32BITUIDS]: Remove conditional code.
34106         * sysdeps/unix/sysv/linux/setegid.c: Do not include
34107         <kernel-features.h>.
34108         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34109         unconditional.
34110         (__setresgid): Do not declare.
34111         [__ASSUME_32BITUIDS]: Make code unconditional.
34112         [!__ASSUME_32BITUIDS]: Remove conditional code.
34113         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34114         <kernel-features.h>.
34115         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34116         unconditional.
34117         (__setresuid): Do not declare.
34118         [__ASSUME_32BITUIDS]: Make code unconditional.
34119         [!__ASSUME_32BITUIDS]: Remove conditional code.
34120         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34121         <kernel-features.h>.
34122         [__ASSUME_32BITUIDS]: Make code unconditional.
34123         [!__ASSUME_32BITUIDS]: Remove conditional code.
34124         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34125         <kernel-features.h>.
34126         [__ASSUME_32BITUIDS]: Make code unconditional.
34127         [!__ASSUME_32BITUIDS]: Remove conditional code.
34128
34129 2012-05-25  Richard Henderson  <rth@twiddle.net>
34130
34131         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34132         dl_hwcap to ifunc resolver.
34133         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34134         elf_ifunc_invoke.
34135         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34136         dl_hwcap to ifunc resolver.
34137         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34138
34139 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34140
34141         [BZ #14153]
34142         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34143         for |x| <= 2**-26, not 2**-57.
34144         * math/libm-test.inc (acos_test): Do not allow spurious underflow
34145         exception.
34146
34147 2012-05-24  Jeff Law  <law@redhat.com>
34148
34149         * stdio-common/Makefile (tests): Add bug25.
34150         * stdio-common/bug25.c: New test.
34151
34152 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34153
34154         [BZ #13576]
34155         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34156         multiple of MALLOC_ALIGNMENT in size.
34157         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34158
34159 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34160
34161         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34162         Require >= 256.
34163         (FILENAME_MAX): Use macro-int-constant.
34164         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
34165         (_IOFBF): Use macro-int-constant.
34166         (_IOLBF): Likewise.
34167         (_IONBF): Likewise.
34168         (SEEK_CUR): Likewise.
34169         (SEEK_END): Likewise.
34170         (SEEK_SET): Likewise.
34171         (TMP_MAX): Likewise.
34172         (EOF): Use macro-int-constant.  Require < 0.
34173         (NULL): Use macro-constant.  Require == 0.
34174         (stdin): Require type to be FILE *.
34175         (stdout): Likewise.
34176         (stderr): Likewise.
34177         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34178         macro-int-constant.
34179         (EXIT_SUCCESS): Likewise.
34180         (NULL): Use macro-constant.  Require == 0.
34181         (RAND_MAX): Use macro-int-constant.
34182         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34183         [C99-based standards] (strtof): Require function.
34184         [C99-based standards] (strtold): Likewise.
34185         [C99-based standards] (strtoll): Likewise.
34186         [C99-based standards] (strtoull): Likewise.
34187         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34188         [ISO || ISO99 || ISO11] (limits.h): Likewise.
34189         [ISO || ISO99 || ISO11] (math.h): Likewise.
34190         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34191         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34192         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34193
34194 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
34195
34196         [BZ #14132]
34197         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34198         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34199         * intl/dgettext.c (DCGETTEXT): Likewise.
34200         * intl/gettext.c (DCGETTEXT): Likewise.
34201         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34202         * posix/regex_internal.h (gettext): Likewise.
34203         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34204         Remove declaration.
34205         * include/argz.h (__argz_count_internal)
34206         (__argz_stringify_internal): Remove declaration.
34207         (__argz_count, __argz_stringify): Declare hidden proto.
34208         * intl/dcgettext.c: Remove use of INTDEF.
34209         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34210         * string/argz-stringify.c: Likewise.
34211         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34212         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34213         Declare hidden proto.
34214         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34215         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34216         Declare hidden proto.
34217         * include/stdio.h (__asprintf_internal): Don't declare.
34218         (__asprintf): Don't define as macro.  Declare hidden proto.
34219         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34220         (__fsetlocking): Declare hidden proto.
34221         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34222         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34223         hidden proto.
34224         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34225         (_IO_setlinebuf): Remove use of INTUSE.
34226         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34227         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34228         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34229         Remove declaration.
34230         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34231         (_IO_do_flush): Remove use of INTUSE.
34232         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34233         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34234         (_IO_adjust_column, _IO_least_wmarker)
34235         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34236         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34237         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34238         (_IO_default_doallocate, _IO_wdefault_doallocate)
34239         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34240         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34241         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34242         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34243         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34244         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34245         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34246         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34247         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34248         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34249         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34250         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34251         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34252         proto.
34253         (_IO_flush_all_internal, _IO_adjust_column_internal)
34254         (_IO_default_uflow_internal, _IO_default_finish_internal)
34255         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34256         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34257         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34258         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34259         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34260         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34261         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34262         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34263         (_IO_file_close_internal, _IO_file_close_it_internal)
34264         (_IO_file_underflow_internal, _IO_file_overflow_internal)
34265         (_IO_file_init_internal, _IO_file_attach_internal)
34266         (_IO_file_fopen_internal, _IO_file_read_internal)
34267         (_IO_file_sync_internal, _IO_file_seek_internal)
34268         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34269         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34270         (_IO_str_underflow_internal, _IO_str_overflow_internal)
34271         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34272         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34273         (_IO_list_all_internal, _IO_link_in_internal)
34274         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34275         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34276         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34277         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34278         (_IO_do_write_internal, _IO_padn_internal)
34279         (_IO_getline_info_internal, _IO_getline_internal)
34280         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34281         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34282         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34283         (_IO_vfscanf_internal, _IO_vfprintf_internal)
34284         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34285         (_IO_init_internal, _IO_un_link_internal): Don't declare.
34286         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34287         with libc_hidden_ver, remove use of INTUSE.
34288         * libio/genops.c: Likewise.
34289         * libio/freopen.c: Likewise.
34290         * libio/freopen64.c: Likewise.
34291         * libio/iofclose.c: Likewise.
34292         * libio/iofdopen.c: Likewise.
34293         * libio/iofflush.c: Likewise.
34294         * libio/iofflush_u.c: Likewise.
34295         * libio/iofgets.c: Likewise.
34296         * libio/iofgets_u.c: Likewise.
34297         * libio/iofopen.c: Likewise.
34298         * libio/iofopncook.c: Likewise.
34299         * libio/iofread.c: Likewise.
34300         * libio/iofread_u.c: Likewise.
34301         * libio/ioftell.c: Likewise.
34302         * libio/iofwrite.c: Likewise.
34303         * libio/iogetline.c: Likewise.
34304         * libio/iogets.c: Likewise.
34305         * libio/iogetwline.c: Likewise.
34306         * libio/iopadn.c: Likewise.
34307         * libio/iopopen.c: Likewise.
34308         * libio/ioseekoff.c: Likewise.
34309         * libio/ioseekpos.c: Likewise.
34310         * libio/iosetbuffer.c: Likewise.
34311         * libio/iosetvbuf.c: Likewise.
34312         * libio/ioungetc.c: Likewise.
34313         * libio/ioungetwc.c: Likewise.
34314         * libio/iovdprintf.c: Likewise.
34315         * libio/iovsprintf.c: Likewise.
34316         * libio/iovsscanf.c: Likewise.
34317         * libio/memstream.c: Likewise.
34318         * libio/obprintf.c: Likewise.
34319         * libio/oldfileops.c: Likewise.
34320         * libio/oldiofclose.c: Likewise.
34321         * libio/oldiofdopen.c: Likewise.
34322         * libio/oldiofopen.c: Likewise.
34323         * libio/oldiopopen.c: Likewise.
34324         * libio/oldstdfiles.c: Likewise.
34325         * libio/putc.c: Likewise.
34326         * libio/setbuf.c: Likewise.
34327         * libio/setlinebuf.c: Likewise.
34328         * libio/stdfiles.c: Likewise.
34329         * libio/strops.c: Likewise.
34330         * libio/vasprintf.c: Likewise.
34331         * libio/vscanf.c: Likewise.
34332         * libio/vsnprintf.c: Likewise.
34333         * libio/vswprintf.c: Likewise.
34334         * libio/wfiledoalloc.c: Likewise.
34335         * libio/wfileops.c: Likewise.
34336         * libio/wgenops.c: Likewise.
34337         * libio/wmemstream.c: Likewise.
34338         * libio/wstrops.c: Likewise.
34339         * libio/__fpurge.c: Likewise.
34340         * libio/__fsetlocking.c: Likewise.
34341         * assert/assert.c: Likewise.
34342         * debug/fgets_chk.c: Likewise.
34343         * debug/fgets_u_chk.c: Likewise.
34344         * debug/fread_chk.c: Likewise.
34345         * debug/fread_u_chk.c: Likewise.
34346         * debug/gets_chk.c: Likewise.
34347         * debug/obprintf_chk.c: Likewise.
34348         * debug/vasprintf_chk.c: Likewise.
34349         * debug/vdprintf_chk.c: Likewise.
34350         * debug/vsnprintf_chk.c: Likewise.
34351         * debug/vsprintf_chk.c: Likewise.
34352         * malloc/mtrace.c: Likewise.
34353         * misc/error.c: Likewise.
34354         * misc/syslog.c: Likewise.
34355         * stdio-common/asprintf.c: Likewise.
34356         * stdio-common/fxprintf.c: Likewise.
34357         * stdio-common/getw.c: Likewise.
34358         * stdio-common/isoc99_fscanf.c: Likewise.
34359         * stdio-common/isoc99_scanf.c: Likewise.
34360         * stdio-common/isoc99_vfscanf.c: Likewise.
34361         * stdio-common/isoc99_vscanf.c: Likewise.
34362         * stdio-common/isoc99_vsscanf.c: Likewise.
34363         * stdio-common/printf-prs.c: Likewise.
34364         * stdio-common/printf_fp.c: Likewise.
34365         * stdio-common/printf_fphex.c: Likewise.
34366         * stdio-common/printf_size.c: Likewise.
34367         * stdio-common/putw.c: Likewise.
34368         * stdio-common/scanf.c: Likewise.
34369         * stdio-common/sprintf.c: Likewise.
34370         * stdio-common/tmpfile.c: Likewise.
34371         * stdio-common/vfprintf.c: Likewise.
34372         * stdio-common/vfscanf.c: Likewise.
34373         * stdlib/strfmon_l.c: Likewise.
34374         * sunrpc/openchild.c: Likewise.
34375         * sunrpc/xdr_stdio.c: Likewise.
34376         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34377         * sysdeps/mach/hurd/tmpfile.c: Likewise.
34378
34379 2012-05-24  Roland McGrath  <roland@hack.frob.com>
34380
34381         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34382
34383         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34384         in the third column, to generate for the shared library an IFUNC
34385         that uses _dl_vdso_vsym.
34386         * Makerules (COMPILE.c, compile-stdin.c): New variables.
34387         * Makeconfig (object-suffixes-noshared): New variable.
34388
34389         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34390         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34391         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34392         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34393
34394         [BZ #14132]
34395         * include/sys/time.h (__gettimeofday): Remove macro.
34396         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34397         * time/gettimeofday.c (__gettimeofday): Remove #undef.
34398         Remove INTDEF.
34399         (__gettimeofday): Add libc_hidden_def.
34400         (gettimeofday): Add libc_hidden_weak.
34401         * sysdeps/mach/gettimeofday.c: Likewise.
34402         * sysdeps/posix/gettimeofday.c: Likewise.
34403         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34404         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34405         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34406         (__gettimeofday_internal): Remove strong_alias.
34407         (__gettimeofday): Add libc_hidden_def.
34408         (gettimeofday): Add libc_hidden_weak.
34409         * sysdeps/unix/syscalls.list (gettimeofday):
34410         Remove __gettimeofday_internal alias.
34411
34412 2012-05-24  Daniel Jacobowitz  <drow@false.org>
34413             H.J. Lu  <hongjiu.lu@intel.com>
34414
34415         [BZ #12495]
34416         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34417         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34418         (largebin_index_32_big): New.
34419         (largebin_index): Use it for 16-byte alignment.
34420         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
34421         correction with front_misalign.
34422
34423 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34424
34425         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34426         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34427         Likewise.
34428         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34429         Likewise.
34430         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34431         Likewise.
34432         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34433         Likewise.
34434         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34435         Likewise.
34436         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34437         Likewise.
34438         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34439         Likewise.
34440         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34441         Likewise.
34442         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34443         Likewise.
34444         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34445         Likewise.
34446         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34447         Likewise.
34448         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34449         Likewise.
34450
34451         * scripts/data/c++-types-x32-linux-gnu.data: New file.
34452         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34453
34454 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34455
34456         [BZ #10846]
34457         [BZ #14036]
34458         * math/libm-test.inc (exp_test): Add test from bug 14036.
34459         (pow_test): Add test from bug 10846.
34460
34461         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34462         and other flags.
34463         (special_function): Do not include flags in test name.
34464         (parse_args): Likewise.
34465         * sysdeps/i386/fpu/libm-test-ulps: Update.
34466         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34467         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34468         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34470
34471         * math/gen-libm-test.pl (%beautify): Add entries for underflow
34472         exceptions.
34473         * math/libm-test.inc ("Philosophy"): Update comment about
34474         exception testing.
34475         (UNDERFLOW_EXCEPTION): New macro.
34476         (UNDERFLOW_EXCEPTION_OK): Likewise.
34477         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34478         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34479         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34480         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34481         (INVALID_EXCEPTION_OK): Update value.
34482         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34483         (OVERFLOW_EXCEPTION_OK): Likewise.
34484         (IGNORE_ZERO_INF_SIGN): Likewise.
34485         (test_exceptions): Handle underflow exceptions.
34486         (acos_test): Update for underflow exception expectations.
34487         (cexp_test): Likewise.
34488         (clog_test): Likewise.
34489         (clog10_test): Likewise.
34490         (csqrt_test): Likewise.
34491         (ctan_test): Likewise.
34492         (ctanh_test): Likewise.
34493         (exp_test): Likewise.
34494         (exp10_test): Likewise.
34495         (exp2_test): Likewise.
34496         (expm1_test): Likewise.
34497         (fma_test): Likewise.
34498         (j0_test): Likewise.
34499         (jn_test): Likewise.
34500         (nexttoward_test): Likewise.
34501         (pow_test): Likewise.
34502         (scalbn_test): Likewise.
34503         (scalbln_test): Likewise.
34504         (tan_test): Likewise.
34505         (y1_test): Likewise.
34506         * sysdeps/i386/fpu/libm-test-ulps: Update.
34507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34508
34509 2012-05-23  David S. Miller  <davem@davemloft.net>
34510
34511         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34512         (__libc_sigaction): Remove unused local variables.
34513
34514 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34515
34516         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34517
34518 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
34519
34520         mktime: avoid signed integer overflow
34521         * time/mktime.c (__mktime_internal): Do not mishandle the case
34522         where diff == INT_MIN.
34523
34524         mktime: simplify computation of average
34525         * time/mktime.c (ranged_convert): Use new time_t_avg function
34526         instead of rolling our own (probably-slower) code.
34527
34528         mktime: do not assume signed right shift propagates sign bit
34529         * time/mktime.c (isdst_differ): New static function.
34530         (__mktime_internal): No need to normalize tm_isdst now.
34531         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34532         tm_isdst values.
34533
34534         mktime: merge another wrapv change from gnulib
34535         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34536         from some compilers.
34537
34538         mktime: remove incorrect attempt at unusual arithmetics
34539         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34540         The code didn't really work on such machines anyway.
34541         (TYPE_MINIMUM): Assume two's complement.
34542         (twos_complement_arithmetic): Verify that long_int and time_t
34543         are two's complement (or unsigned, in the latter case).
34544
34545         mktime: check signed shifts on long_int and time_t, too
34546         * time/mktime.c (SHR): Check that shifts work as desired
34547         on the types long_int and time_t too, as SHR is used on
34548         such types.
34549
34550         mktime: do not assume 'long' is wide enough
34551         * time/mktime.c (verify): Move decl up.
34552         (long_int): New type.
34553         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34554         to remove assumption in the code that 'long' is wide enough to
34555         store year values.  This assumption is not true on x32 and on
34556         some non-glibc platforms.
34557
34558         mktime: merge wrapv change from gnulib
34559         * time/mktime.c (WRAPV): New macro.
34560         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34561         (guess_time_tm, __mktime_internal): Do not assume that signed
34562         integer overflow wraps around; modern compilers generate code
34563         where this assumption is no longer valid.
34564
34565 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34566
34567         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34568         Replace "jmp L(pseudo_end)" with "ret".
34569         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34570         Likewise.
34571
34572 2012-05-23  Andreas Jaeger  <aj@suse.de>
34573
34574         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34575         * sysdeps/unix/sysv/linux/poll.c: Remove file.
34576
34577 2012-05-23  Andreas Jaeger  <aj@suse.de>
34578             Maximilian Attems  <max@stro.at>
34579
34580         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34581         New macros.
34582
34583 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34584
34585         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34586         code so that pseudo_end is just ret and the stack pointer is
34587         correct also for static library in error case.
34588
34589 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
34590
34591         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34592         move to syscalls.list.
34593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34597
34598         * manual/install.texi (Running make install): Do not mention Linux
34599         kernel version for which pt_chown is not needed.
34600         (Linux): Do not mention problems with nscd with 2.0 kernels.
34601         * INSTALL: Regenerated.
34602
34603 2012-05-23  Andreas Jaeger  <aj@suse.de>
34604
34605         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34606         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34607         macro.
34608         * sysdeps/unix/sysv/linux/s390/bits/mman.h
34609         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34610         * sysdeps/unix/sysv/linux/sh/bits/mman.h
34611         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34612         * sysdeps/unix/sysv/linux/i386/bits/mman.h
34613         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34614         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34615         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34616         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34617         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34618         * sysdeps/unix/sysv/linux/bits/in.h
34619         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34620
34621 2012-05-22  Roland McGrath  <roland@hack.frob.com>
34622
34623         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34624         (PREPARE_VERSION): Just use assert instead, it will be elided
34625         under [NDEBUG] anyway.
34626
34627 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34628
34629         * sysdeps/unix/sysv/linux/Makefile: Include
34630         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34631         (sysdep_routines): Remove sysctl.
34632         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34633         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34634         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34635         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34636         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34637
34638 2012-05-22  Andreas Jaeger  <aj@suse.de>
34639
34640         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34641         that pseudo_end is just ret and the stack pointer is correct also
34642         for static library in error case.
34643
34644 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
34645
34646         [BZ #14122]
34647         * nss/nsswitch.c (defconfig_entries): New variable.
34648         (__nss_database_lookup): Don't leak defconfig entries.
34649         (nss_parse_service_list): Don't leak on error paths.
34650         (free_database_entries): New function.
34651         (free_defconfig): New function.
34652         (free_mem): Move common code to free_database_entries.
34653
34654 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34655
34656         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34657         Add arch_prctl.
34658         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34659
34660         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34661         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34662         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34663         New macro.
34664         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34665         (INTERNAL_SYSCALL_TYPES): Likewise.
34666         (LOAD_ARGS_TYPES_[1-6]): Likewise.
34667         (LOAD_REGS_TYPES_[1-6]): Likewise.
34668         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34669         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34670
34671 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34672
34673         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34674         copysignl for GLIBC_2_0.
34675         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34676         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34677         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34678         logbl for GLIBC_2_0.
34679         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34680         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34681
34682 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34683
34684         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34685         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34686
34687         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34688         Use "neg %eax".
34689
34690         * time/mktime.c: Update copyright years.
34691
34692 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
34693
34694         mktime: merge comment-quoting-style change from gnulib
34695         * time/mktime.c: Quote 'like this' in comments.
34696         The GNU coding standards suggest that we no longer quote `like this',
34697         as "`" and "'" are typically rendered asymmetrically nowadays.
34698         The typical gnulib style is to quote 'like this' when quoting
34699         code, and "like this" when quoting English.
34700
34701         * time/mktime.c (compile-command): Add "-I.".
34702
34703         mktime: merge mktime-internal.h change from gnulib
34704         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34705
34706         mktime: merge time_r change from gnulib
34707         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34708
34709         mktime: merge DEBUG change from gnulib
34710         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34711         case system <time.h> has a #define.
34712
34713         mktime: merge <sys/types.h> change from gnulib
34714         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34715         since <time.t> is now guaranteed to define time_t.
34716
34717         mktime: merge HAVE_CONFIG_H change from gnulib
34718         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34719
34720 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34721
34722         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34723         Use "neg %eax".
34724
34725         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34726         __rlim_t cast.
34727         (struct rusage): Use anonymous union to pad each field to
34728         __syscall_slong_t.
34729
34730 2012-05-21  David S. Miller  <davem@davemloft.net>
34731
34732         * Makefules (o-iterator): Remove .s cases.
34733         (compile-command.s): Delete.
34734         (COMPILE.s): Delete.
34735         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34736
34737 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
34738
34739         * configure.in (libc_cv_predef_stack_protector): Only consider
34740         "foobar" and "__stack_chk_fail" lines in libc_undefs.
34741         * configure: Regenerated.
34742
34743 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34744
34745         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34746         New macro.  Use R*LP on int and pointer.
34747         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34748         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34749         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34750         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34751
34752         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34753         [__WORDSIZE_TIME64_COMPAT32] instead of
34754         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34755         (struct utmp): Likewise.
34756         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34757         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34758         Renamed to ...
34759         (__WORDSIZE_TIME64_COMPAT32): This.
34760         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34761         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34762         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34763         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34764         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34765         (__WORDSIZE_TIME64_COMPAT32): New macro.
34766
34767 2012-05-21  Andreas Jaeger  <aj@suse.de>
34768
34769         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34770         only if [SHARED]. Add prototype for __wcschr_ia32.
34771
34772 2012-05-21  Roland McGrath  <roland@hack.frob.com>
34773
34774         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34775         of %rbp unmolested in the jmp_buf while mangling the low bits.
34776         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34777         unmolested high bits of %rbp while demangling the low bits.
34778         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34779
34780 2012-05-21  Andreas Jaeger  <aj@suse.de>
34781
34782         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34783         * sunrpc/svc_simple.c: Use it for registerrpc.
34784         * sunrpc/xcrypt.c: Use it for passwd2des.
34785
34786         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34787
34788 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34789
34790         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34791         Don't define if [__SYSCALL_WORDSIZE != 32].
34792         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34793         New macro.
34794
34795 2012-05-21  Bruno Haible  <bruno@clisp.org>
34796             Andreas Jaeger  <aj@suse.de>
34797
34798         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34799         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34800         inptr and inend for must_buffer_ch.
34801         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34802         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34803         * stdio-common/Makefile (tests): Remove bug15.
34804         (bug15-ENV): Remove macro.
34805         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34806         anymore.
34807
34808 2012-05-19  Andreas Jaeger  <aj@suse.de>
34809             Roland McGrath  <roland@hack.frob.com>
34810
34811         * manual/contrib.texi: Completely rewritten. It contains now an
34812         alphabetical list of contributors and their contributions.
34813
34814 2012-05-21  Richard Henderson  <rth@twiddle.net>
34815
34816         * misc/getauxval.c (__getauxval): Use unsigned long int.
34817         * misc/sys/auxv.h: Include <sys/cdefs.h>.
34818         (getauxval): Use unsigned long int.
34819
34820 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34821
34822         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34823
34824 2012-05-21  Roland McGrath  <roland@hack.frob.com>
34825
34826         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34827         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34828         __alignof__ (long double).
34829
34830 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34831
34832         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34833
34834 2012-05-20  Richard Henderson  <rth@twiddle.net>
34835
34836         * misc/getauxval.c: New file.
34837         * misc/sys/auxv.h: New file.
34838         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34839         (routines): Add getauxval.
34840         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34841         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34842         * elf/dl-sysdep.c (_dl_auxv): Remove.
34843         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34844         * elf/dl-support.c (_dl_auxv): New variable.
34845         (_dl_aux_init): Initialize it.
34846         * manual/startup.texi (Auxiliary Vector): New node.
34847         * sysdeps/generic/bits/hwcap.h: New file.
34848         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34849         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
34850         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34851         * sysdeps/sparc/sysdep.h: ... here.  Include it.
34852         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34853         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34855         Update.
34856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34857         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34858         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34859         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34860         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34861         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34862         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34863         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34864
34865 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34866
34867         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34868
34869 2012-05-19  David S. Miller  <davem@davemloft.net>
34870
34871         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34872
34873 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
34874
34875         [BZ #14123]
34876         * math/s_ccosh.c: Include <float.h>
34877         (__ccosh): Avoid internal overflow calculating sinh and cosh
34878         values before multiplying by sin and cos values.
34879         * math/s_ccoshf.c: Likewise.
34880         * math/s_ccoshl.c: Likewise.
34881         * math/s_csin.c: Likewise.
34882         * math/s_csinf.c: Likewise.
34883         * math/s_csinl.c: Likewise.
34884         * math/s_csinh.c: Likewise.
34885         * math/s_csinhf.c: Likewise.
34886         * math/s_csinhl.c: Likewise.
34887         * math/libm-test.inc (ccos_test): Add more tests.
34888         (ccosh_test): Likewise.
34889         (csin_test): Likewise.
34890         (csinh_test): Likewise.
34891         * sysdeps/i386/fpu/libm-test-ulps: Update.
34892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34893
34894 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
34895
34896         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34897         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34898
34899         * sysdeps/x86_64/x32/_itoa.h: Add comment.
34900
34901 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
34902
34903         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34904         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34905         * sysdeps/powerpc/soft-fp/Versions: Likewise.
34906         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34907         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34908         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34909         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34910         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34911         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34912         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34913         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34914         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34915         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34916         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34917         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34918         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34919         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34920         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34921         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34922         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34923         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34924         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34925         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34926         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34927         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34928         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34929         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34930         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34931         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34932         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34933         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34934
34935 2012-05-18  Andreas Jaeger  <aj@suse.de>
34936
34937         * csu/.gitignore: Delete.
34938
34939 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34940
34941         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34942         (timex): Use __syscall_slong_t.
34943
34944 2012-05-18  Andreas Jaeger  <aj@suse.de>
34945             Carlos O'Donell  <carlos_odonell@mentor.com>
34946
34947         * manual/install.texi (Configuring and compiling): Update
34948         description about files modified in the source directory.
34949         * INSTALL: Regenerated.
34950
34951 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34952
34953         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34954         value.  Use "or" to set return value to -1.
34955         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34956         negate return value.
34957
34958 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34959
34960         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34961         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
34962         failure if the compiler has Graphite support disabled.
34963         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34964         Likewise.
34965         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34966         (CFLAGS-memmove.c): Likewise.
34967         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34968         Likewise.
34969
34970 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34971
34972         * sysdeps/x86_64/x32/_itoa.h: New file.
34973
34974         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34975         getdents system call only if kernel and user dirents have the
34976         same d_ino and d_off.
34977
34978         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34979         LLONG_MAX != LONG_MAX.
34980         (_itoa_word): Use _ITOA_WORD_TYPE on value.
34981         (_fitoa_word): Likewise.
34982
34983         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34984         years.
34985         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34986         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34987         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34988
34989         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34990         include <bits/wordsize.h>.  Check __x86_64__ instead of
34991         __WORDSIZE.
34992         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34993         if __x86_64__ is defined.  Use anonymous union on fpstate.
34994
34995         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34996         anonymous union.
34997
34998 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
34999
35000         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35001         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35002         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35003         Refer to _rtld_local_ro instead of _rtld_global_ro.
35004         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35005         Likewise.
35006         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35007         Likewise.
35008         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35009         Likewise.
35010         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35011         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35012         of _rtld_global, and rtld_progname instead of _dl_argv[0].
35013
35014         * sysdeps/powerpc/powerpc32/dl-machine.c
35015         (__elf_machine_runtime_setup) [PROF]: Don't reference
35016         _dl_prof_resolve.
35017
35018 2012-05-18  Andreas Jaeger  <aj@suse.de>
35019
35020         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35021         function only available for GCCs before 3.4 since GCC 3.4
35022         introduced a builtin.
35023         (lrint): Likewise.
35024         (llrintf): Likewise.
35025         (llrint): Likewise.
35026         (fmaxf): Likewise.
35027         (fmax): Likewise.
35028         (fminf): Likewise.
35029         (fmin): Likewise.
35030         (rint): Likewise.
35031         (rintf): Likewise.
35032         (nearbyint): Likewise.
35033         (nearbyintf): Likewise.
35034         (ceil): Likewise.
35035         (ceilf): Likewise.
35036         (floor): Likewise.
35037         (floorf): Likewise.
35038
35039 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35040
35041         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35042         on both fields and cast pointer to __syscall_ulong_t.
35043
35044         * bits/types.h (__fsword_t): New type.
35045         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35046         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35047         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35048         (__FSWORD_T_TYPE): Likewise.
35049         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35050         (__FSWORD_T_TYPE): Likewise.
35051         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35052         (__FSWORD_T_TYPE): Likewise.
35053         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35054         (__FSWORD_T_TYPE): Likewise.
35055         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35056         __SWORD_TYPE with __fsword_t.
35057         (statfs64): Likewise.
35058
35059 2012-05-17  David S. Miller  <davem@davemloft.net>
35060
35061         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35062
35063 2012-05-17  Andreas Jaeger  <aj@suse.de>
35064
35065         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35066         warning.
35067
35068 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35069
35070         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35071
35072 2012-05-17  Andreas Jaeger  <aj@suse.de>
35073
35074         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35075         when it is used.
35076
35077 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35078
35079         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35080
35081 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35082
35083         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35084         * sysdeps/x86_64/tst-mallocalign1.c: New file.
35085
35086 2012-05-17  Andreas Jaeger  <aj@suse.de>
35087             Carlos O'Donell  <carlos_odonell@mentor.com>
35088
35089         [BZ #14059]
35090         * sysdeps/x86_64/multiarch/init-arch.h
35091         (bit_YMM_Usable): Rename to...
35092         (bit_AVX_Usable): ... this.
35093         (bit_FMA4_Usable): New macro.
35094         (bit_XMM_state): New macro.
35095         (bit_YMM_state): New macro.
35096         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35097         [__ASSEMBLER__] (index_AVX_Usable): ... this.
35098         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35099         (CPUID_OSXSAVE): New macro.
35100         (CPUID_AVX): New macro.
35101         (CPUID_FMA4): New macro.
35102         (index_YMM_Usable): Rename to...
35103         (index_AVX_Usable): ... this.
35104         (HAS_AVX): Use HAS_ARCH_FEATURE.
35105         (HAS_FMA4): Likewise.
35106         (HAS_YMM_USABLE): Remove.
35107         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35108         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35109         are present.
35110         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35111         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35112         * sysdeps/x86_64/multiarch/Makefile: Likewise.
35113         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35114         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35115
35116 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35117
35118         * math/libm-test.c: Support platforms without multiple rounding modes.
35119         * math/bug-nextafter.c: Support platforms without FP exceptions.
35120         * math/bug-nexttoward.c: Likewise.
35121         * math/test-fenv.c: Likewise.
35122         * math/test-misc.c: Likewise.
35123         * stdlib/bug-getcontext.c: Likewise.
35124
35125 2012-05-17  Andreas Jaeger  <aj@suse.de>
35126
35127         * manual/examples/search.c (critter_cmp): Change signature to
35128         avoid warnings.
35129         * manual/string.texi (Collation Functions): Likewise.
35130
35131 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35132
35133         * bits/types.h: Fold copyright years.
35134         * bits/typesizes.h: Likewise.
35135         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35136         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35137         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35138         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35139         * time/time.h: Likewise.
35140
35141 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
35142
35143         [BZ #208]
35144         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35145         in instead of returning them.  Return void.
35146         (__libc_mallinfo): Accumulate over all arenas.
35147         (__malloc_stats): Adjust for change in int_mallinfo interface.
35148
35149 2012-05-16  Roland McGrath  <roland@hack.frob.com>
35150
35151         [BZ #10375]
35152         * configure.in (NM): Add AC_CHECK_TOOL for it.
35153         (libc_extra_cflags): New substituted variable.
35154         Check for -fstack-protector being used implicitly.
35155         * configure: Regenerated.
35156         * config.make.in (config-extra-cflags): New variable,
35157         gets @libc_extra_cflags@.
35158         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35159
35160         [BZ #10375]
35161         * configure.in: Check for _FORTIFY_SOURCE being predefined.
35162         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35163         * configure: Regenerated.
35164         * config.make.in (CPPUNDEFS): New substituted variable.
35165         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35166         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35167         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35168
35169 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35170
35171         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35172         (mq_attr): Use __syscall_slong_t.
35173
35174 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35175
35176         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35177         Check __x86_64__ instead of __WORDSIZE.
35178         (_STAT_VER_LINUX): Likewise.
35179         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
35180         __syscall_ulong_t and __syscall_slong_t.
35181         (stat64): Likewise.
35182
35183 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35184
35185         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35186
35187 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35188
35189         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35190
35191 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35192
35193         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35194         __syscall_ulong_t.
35195
35196         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35197         include <bits/wordsize.h>.  Check __x86_64__ instead of
35198         __WORDSIZE.
35199         (greg_t): Use "__extension__ long long int" if __x86_64__ is
35200         defined.
35201         (mcontext_t): Replace "unsigned long" with "unsigned long long".
35202
35203         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35204         include <bits/wordsize.h>.  Check __x86_64__ instead of
35205         __WORDSIZE.
35206         (user_regs_struct): Use "__extension__ unsigned long long"
35207         instead of "unsigned long" if __x86_64__ is defined.
35208         (user): Likewise.  Pad after pointer field if __ILP32__ is
35209         defined.
35210
35211 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
35212
35213         * configure.in (makeinfo): Require version 4.5 or later.  Allow
35214         versions 5 to 9.
35215         * configure: Regenerated.
35216         * manual/install.texi (texinfo): Increase version requirement to
35217         4.5 or later.
35218         * INSTALL: Regenerated.
35219
35220         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35221
35222 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35223
35224         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35225
35226         * sysdeps/x86_64/x32/ffs.c: New file.
35227
35228         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35229         __syscall_ulong_t.
35230         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35231         defined.  Use __syscall_ulong_t.
35232         (shminfo): Use __syscall_ulong_t.
35233         (shm_info): Likewise.
35234
35235         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35236         __syscall_ulong_t.
35237
35238         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35239         <bits/wordsize.h>.
35240         (msgqnum_t): Use __syscall_ulong_t.
35241         (msglen_t): Likewise.
35242         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
35243         __syscall_ulong_t.
35244
35245         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35246         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35247
35248         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35249
35250         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35251         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35252
35253         * sysvipc/sys/msg.h (msgbuf): Replace long int with
35254         __syscall_slong_t.
35255
35256         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35257         include <bits/wordsize.h>.  Check __x86_64__ instead of
35258         __WORDSIZE.
35259
35260         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35261         "unsigned long long int" if __x86_64__ is defined.
35262         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35263
35264         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35265         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35266         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35267
35268         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35269         <stdint.h>.
35270         (GET_PC): Cast to uintptr_t first.
35271         (GET_FRAME): Likewise.
35272         (GET_STACK): Likewise.
35273
35274         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35275         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35276         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35277         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35278         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35279         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35280         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35281         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35282         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35283         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35284         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35285         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35286         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35287         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35288         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35289         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35290         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35291         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35292         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35293         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35294         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35295         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35296         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35297         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35298         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35299         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35300         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35301         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35302         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35303
35304 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
35305
35306         * Makerules (+depfiles): Also collect depfiles from .oS in
35307         $(extra-objs).
35308         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35309         .oS, $(libnldbl-routines)).
35310
35311         * Makerules (native-compile-mkdep-flags): Define.
35312         * sunrpc/Makefile (extra-objs): Add $(addprefix
35313         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35314         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35315         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
35316         calling $(make-target-directory).
35317
35318 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35319
35320         * bits/types.h (__snseconds_t): Removed.
35321         * time/time.h (struct timespec): Replace __snseconds_t with
35322         __syscall_slong_t.
35323         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35324         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35325         Likewise.
35326         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35327         (__SNSECONDS_T_TYPE): Likewise.
35328         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35329         (__SNSECONDS_T_TYPE): Likewise.
35330         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35331         (__SNSECONDS_T_TYPE): Likewise.
35332
35333 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35334
35335         * sysdeps/mach/hurd/bits/typesizes.h
35336         (__SYSCALL_SLONG_TYPE): New macro.
35337         (__SYSCALL_ULONG_TYPE): Likewise.
35338
35339 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35340
35341         * bits/types.h (__syscall_slong_t): New type.
35342         (__syscall_ulong_t): Likewise.
35343
35344         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35345         (__SYSCALL_ULONG_TYPE): Likewise.
35346         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35347         (__SYSCALL_SLONG_TYPE): Likewise.
35348         (__SYSCALL_ULONG_TYPE): Likewise.
35349         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35350         (__SYSCALL_SLONG_TYPE): Likewise.
35351         (__SYSCALL_ULONG_TYPE): Likewise.
35352         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35353         (__SYSCALL_SLONG_TYPE): Likewise.
35354         (__SYSCALL_ULONG_TYPE): Likewise.
35355
35356 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35357
35358         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35359         Add sigaltstack-offsets.sym.
35360         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35361         <sigaltstack-offsets.h>.
35362         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
35363         longjmp_msg pointer.
35364         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
35365         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35366         signal stack.
35367         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35368
35369 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35370
35371         * elf/stackguard-macros.h: Remove file.
35372         * sysdeps/generic/stackguard-macros.h: New file.
35373         * sysdeps/i386/stackguard-macros.h: Likewise.
35374         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35375         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35376         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35377         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35378         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35379         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35380         * sysdeps/x86_64/stackguard-macros.h: Likewise.
35381         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35382         <elf/stackguard-macros.h>.
35383
35384         [BZ #14109]
35385         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35386         __aligned__ in attribute.
35387         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35388         (gregset_t): Likewise.
35389
35390 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35391
35392         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35393         * sysdeps/x86_64/64/Implies-after: Here.  New file.
35394         * sysdeps/x86_64/x32/Implies-after: New file.
35395
35396 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35397
35398         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35399         and access return value for _dl_profile_fixup.  Use R10_LP to
35400         load frame size.
35401
35402 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35403
35404         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35405
35406 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35407
35408         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35409         * sysdeps/x86_64/x32/sysdep.h: New file.
35410
35411 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35412
35413         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35414         * sysdeps/x86_64/setjmp.S: Likewise.
35415
35416 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35417
35418         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35419         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35420         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35421         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35422         remove unused global constant.
35423
35424 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
35425
35426         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35427         include of <not-cancel.h>.
35428
35429 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35430
35431         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35432
35433 2012-05-15  Jeff Law  <law@redhat.com>
35434             Andreas Jaeger  <aj@suse.de>
35435
35436         [BZ #13594]
35437         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35438         out from...
35439         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35440         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35441         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35442         code changing __hst_map_handle.map.
35443
35444 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35445
35446         * configure.in (sysnames): Look for Implies-before and Implies-after
35447         files.
35448         * configure: Regenerated.
35449
35450 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35451
35452         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35453         8-byte data alignment with LP_SIZE alignment.
35454
35455 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35456
35457         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35458         into R10_LP.
35459
35460 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35461
35462         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35463
35464 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35465
35466         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35467         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35468         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35469         Likewise.
35470         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35471
35472 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35473
35474         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35475         (stackinfo_sub_sp): Likewise.
35476
35477 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35478
35479         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35480         RAX_LP.
35481
35482 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35483
35484         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35485         into R*_LP.
35486
35487 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35488
35489         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35490         sizes into R*_LP.
35491
35492 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35493
35494         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35495
35496 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35497
35498         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35499         into R11_LP and load __x86_64_shared_cache_size_half into
35500         R8_LP.
35501
35502 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35503
35504         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35505         R8_LP.
35506
35507 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35508
35509         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35510         logb for POWER7.
35511         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35512         logbf for POWER7.
35513         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35514         logbl for POWER7.
35515         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35516         powerpc32/power7/fpu/s_logb.c via #include.
35517         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35518         powerpc32/power7/fpu/s_logbf.c via #include.
35519         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35520         powerpc32/power7/fpu/s_logbl.c via #include.
35521
35522 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35523
35524         * README.libm: Remove file.
35525
35526 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35527
35528         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35529         count for x32.  Use R*_LP and omit operand-size suffix.
35530
35531 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35532
35533         * shlib-versions: Move x86_64-.*-linux.* entries to ...
35534         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
35535         * sysdeps/x86_64/x32/shlib-versions: New file.
35536
35537 2012-05-14  Roland McGrath  <roland@hack.frob.com>
35538
35539         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35540         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35541         Use _dl_fatal_printf instead.
35542
35543 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
35544
35545         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35546         set if not set by the user.  Do not allow for being unset.
35547         * sysdeps/unix/sysv/linux/configure: Regenerated.
35548
35549 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35550
35551         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35552         the `q' suffix from lea and replace .quad with ASM_ADDR.
35553
35554 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35555
35556         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35557         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
35558         instead of $17.
35559         (PTR_DEMANGLE): Likewise.
35560
35561 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35562
35563         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35564         (LP_OP): Likewise.
35565         (ASM_ADDR): Likewise.
35566         (RAX_LP): Likewise.
35567         (RBP_LP): Likewise.
35568         (RBX_LP): Likewise.
35569         (RCX_LP): Likewise.
35570         (RDI_LP): Likewise.
35571         (RSI_LP): Likewise.
35572         (RSP_LP): Likewise.
35573         (R8_LP): Likewise.
35574         (R9_LP): Likewise.
35575         (R10_LP): Likewise.
35576         (R10_LP): Likewise.
35577         (R11_LP): Likewise.
35578         (R12_LP): Likewise.
35579         (R13_LP): Likewise.
35580         (R14_LP): Likewise.
35581         (R15_LP): Likewise.
35582
35583 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35584
35585         * sysdeps/x86_64/x32/dl-machine.h: New file.
35586
35587 2012-05-14  Andreas Jaeger  <aj@suse.de>
35588
35589         * manual/Makefile (subdir): Remove export of subdir.
35590         (all): Remove target.
35591         (.PHONY): Remove all from list.
35592         (mkinstalldirs): Remove.
35593         (.PHONY): Remove installdirs from list.
35594         ($(inst_infodir)/libc.info): Use make-target-directory.
35595         (installdirs): Remove.
35596         (subdir_%): Remove.
35597         (glibc-targets): Remove.
35598         (lib): Remove.
35599         (stubs): Remove.
35600         ($(objpfx)stubs ../po/manual.pot): Remove.
35601         ($(objpfx)stamp%): Remove.
35602         (make-target-directory): Remove.
35603         (subdir_install): Remove.
35604         (routines): Remove.
35605         (aux): Remove.
35606         (sources): Remove.
35607         (objects): Remove.
35608         (headers): Remove.
35609
35610         [BZ #13750]
35611         * manual/.gitignore: Remove, it's not needed anymore.
35612         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35613         all files in it.
35614         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35615         directory.
35616         (texis): Renamed to $(objpfx)texis.
35617         (texis-path): New, contains path to generated files.
35618         (chapters.%): Use texis-path for complete path, add extra argument
35619         libc-texinfo.sh.
35620         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35621         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35622         (summary,texi, stamp-summary): Use complete path of
35623         files. Generate files in build dir.
35624         (dir-add.texi): Build in build dir.
35625         (libm-err.texi,stamp-libm-err): Likewise.
35626         (version.texi, stamp-version): Likewise.
35627         (.%c.texi): Likewise.
35628         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35629         (mostlyclean): Remove target.
35630         (realclean): Remove target.
35631         (generated): Add new variable with contents from mostlyclean and
35632         realclean, remove entries duplicated in common-mostlyclean, add
35633         stamp-libm-err and stamp-version.
35634         (generated-dirs): Add libc directory.
35635         ($(inst_infodir)/libc.info): Install files from build dir.
35636
35637         * manual/install.texi (Configuring and compiling): Adjust since
35638         the info files are not part of the tar ball anymore.
35639
35640 2012-05-14  Andreas Jaeger  <aj@suse.de>
35641
35642         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35643         variable.
35644
35645 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
35646
35647         [BZ #13717]
35648         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35649         to 2.2.0 where earlier.
35650         * sysdeps/unix/sysv/linux/configure: Regenerated.
35651         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35652         Remove conditional code.
35653         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35654         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35655         Remove conditional code.
35656         [!__NR_lchown]: Likewise.
35657         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35658         [__NR_lchown]: Likewise.
35659         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35660         comment referencing __ASSUME_LCHOWN_SYSCALL.
35661         * sysdeps/unix/sysv/linux/i386/sigaction.c
35662         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35663         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35664         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35665         Remove conditional code.
35666         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35667         (__protocol_available): Remove #if 0 code.
35668         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35669         conditional code.
35670         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35671         * sysdeps/unix/sysv/linux/kernel-features.h
35672         (__ASSUME_GETCWD_SYSCALL): Don't define.
35673         (__ASSUME_REALTIME_SIGNALS): Likewise.
35674         (__ASSUME_PREAD_SYSCALL): Likewise.
35675         (__ASSUME_PWRITE_SYSCALL): Likewise.
35676         (__ASSUME_POLL_SYSCALL): Likewise.
35677         (__ASSUME_LCHOWN_SYSCALL): Likewise.
35678         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35679         non-SPARC.
35680         (__ASSUME_SIOCGIFNAME): Don't define.
35681         (__ASSUME_MSG_NOSIGNAL): Likewise.
35682         (__ASSUME_SENDFILE): Define unconditionally.
35683         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35684         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35685         conditional code.
35686         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35687         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35688         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35689         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35690         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35691         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35692         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35694         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35695         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35697         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35698         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35700         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35701         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35703         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35704         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35706         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35707         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35709         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35710         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35712         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35713         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35715         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35716         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35717         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35718         Remove conditional code.
35719         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35720         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35721         Remove conditional code.
35722         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35723         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35724         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35725         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35726         Remove conditional code.
35727         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35728         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35729         Remove conditional code.
35730         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35731         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35732         Remove conditional code.
35733         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35734         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35735         Remove conditional code.
35736         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35737         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35738         Remove conditional code.
35739         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35740         * sysdeps/unix/sysv/linux/sh/pwrite64.c
35741         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35742         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35743         * sysdeps/unix/sysv/linux/sigaction.c
35744         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35745         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35746         * sysdeps/unix/sysv/linux/sigpending.c
35747         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35748         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35749         * sysdeps/unix/sysv/linux/sigprocmask.c
35750         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35751         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35752         * sysdeps/unix/sysv/linux/sigsuspend.c
35753         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35754         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35755         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35756         (__libc_missing_rt_sigs): Remove.
35757         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35758         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35759         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35760         Remove conditional code.
35761         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35762         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35763         return 1.
35764         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35765         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35766         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35767         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35768
35769 2012-05-14  Andreas Jaeger  <aj@suse.de>
35770
35771         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35772         it's not used in glibc.
35773         (__coshm1): Likewise.
35774         (__acosh1p): Likewise.
35775         (__sgn): Likewise.
35776
35777         * manual/string.texi (Copying and Concatenation): Add missing
35778         variable in concat example.
35779         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35780
35781 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35782
35783         [BZ #14103]
35784         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35785         __builtin_clzl with __builtin_clzll.
35786
35787 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35788
35789         [BZ #14104]
35790         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35791         libc_freeres_ptr.
35792
35793 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35794
35795         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35796         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35797         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35798         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35799
35800 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
35801
35802         * NEWS: Update ia64 info.
35803
35804 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
35805
35806         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35807         used as bcopy.
35808
35809 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
35810
35811         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35812         * sysdeps/unix/syscalls.list (dup3): Likewise.
35813         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35814         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35815
35816 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
35817
35818         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35819         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35820
35821 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
35822
35823         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35824         thread pointer.
35825         (TLS_IE): Use mov/add instead of movq/addq to load thread
35826         pointer.
35827         (TLS_GD_PREFIX): New.
35828         (TLS_GD): Use it.
35829
35830 2012-05-11  David S. Miller  <davem@davemloft.net>
35831
35832         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35833         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35834         (_FPU_SETCW): Likewise.
35835
35836 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35837
35838         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35839         is 32-byte aligned.
35840
35841 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
35842
35843         [BZ #11837]
35844         * iconvdata/gb18030.c: Update tables.
35845         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
35846         characters specially.
35847         (BODY for TO_LOOP): Add encoding of missing ranges.
35848
35849 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
35850
35851         [BZ #13673]
35852         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35853         * sysdeps/mach/hurd/dup3.c: Likewise.
35854         * sysdeps/mach/hurd/readlinkat.c: Likewise.
35855         * sysdeps/powerpc/memmove.c:: Likewise.
35856
35857 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35858
35859         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35860         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35861
35862 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35863
35864         * elf/elf.h (R_X86_64_RELATIVE64): New.
35865         (R_X86_64_NUM): Updated.
35866         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35867         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
35868         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35869         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35870         tst-quad1pie tst-quad2pie
35871         (modules-names): Add tst-quadmod1 tst-quadmod2.
35872         ($(objpfx)tst-quad1): New dependency.
35873         ($(objpfx)tst-quad2): Likewise.
35874         ($(objpfx)tst-quad1pie): Likewise.
35875         ($(objpfx)tst-quad2pie): Likewise.
35876         * sysdeps/x86_64/tst-quad1.c: New file.
35877         * sysdeps/x86_64/tst-quad1pie.c: New file.
35878         * sysdeps/x86_64/tst-quad2.c: Likewise.
35879         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35880         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35881         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35882         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35883         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35884
35885 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35886
35887         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35888         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35889         * streams/stropts.h (t_scalar_t): Define type.
35890
35891         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35892         (_PATH_PRESERVE): Set to "/var/lib".
35893         (_PATH_RWHODIR): Set to "/var/spool/rwho".
35894
35895         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35896         instead of int.
35897
35898         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35899         if __dir_mkfile succeeded.
35900
35901         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35902         checking for _hurd_dtablesize.  Unlock it right after having
35903         finished _hurd_dtable allocation.
35904
35905 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35906
35907         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35908         * sysdeps/mach/hurd/configure: Regenerated.
35909         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35910         special-casing to...
35911         * sysdeps/gnu/configure.in: ... this new file.
35912         * sysdeps/unix/sysv/linux/configure: Regenerated.
35913         * sysdeps/gnu/configure: New generated file.
35914
35915         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35916         for Linux: use nsec instead of usec, as well as:
35917         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35918         members of type struct timespec.
35919         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35920         New macros.
35921         (struct stat64): Likewise.
35922         (_STATBUF_ST_NSEC): New macro.
35923         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35924
35925         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35926         __strtoul_internal rather than strtoul.
35927
35928 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35929
35930         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35931         and reject them.
35932
35933 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35934
35935         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35936         which preserves existing values.
35937         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35938
35939 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35940
35941         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35942         TIMEOUT values.  Return EINVAL for NFDS values either negative or
35943         greater than FD_SETSIZE.
35944
35945 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35946
35947         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35948         allocated, call __vm_protect to finish enabling the existing space, and
35949         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35950         allocate the remainder.
35951
35952 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35953
35954         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35955         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
35956
35957 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35958
35959         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35960         sysdeps/mach/hurd/readlink.c.
35961
35962         * posix/tst-sysconf.c (posix_options): Only use
35963         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35964         _POSIX_SYNCHRONIZED_IO when they are defined
35965         * sysdeps/mach/hurd/bits/posix_opt.h:
35966         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35967         (_XOPEN_REALTIME): Undefine macro.
35968         (_XOPEN_REALTIME_THREADS): Undefine macro.
35969         (_XOPEN_SHM): Undefine macro.
35970         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35971         macro to -1.
35972         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35973         macro to -1.
35974         (_POSIX_ASYNC_IO): Undefine macro.
35975         (_POSIX_PRIORITIZED_IO): Undefine macro.
35976         (_POSIX_SPIN_LOCKS): Define macro to -1.
35977
35978         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35979         SA_NODEFER, SA_RESETHAND.
35980         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35981         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35982         F_DUPFD_CLOEXEC.
35983
35984 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35985
35986         * elf/Makefile (pldd-modules): Define unconditionally.
35987
35988 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35989
35990         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35991
35992 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35993
35994         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35995         Return ENOENT when name is empty.
35996         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35997
35998 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35999
36000         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36001
36002         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36003
36004 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36005
36006         Fix mlock in all cases except non-readable pages.
36007         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36008         instead of VM_PROT_ALL as parameter to __vm_wire function.
36009
36010         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36011         (__mkdir): When path is `/', just fail with EEXIST.
36012         * sysdeps/mach/hurd/mkdirat.c: Likewise.
36013
36014 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36015
36016         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36017         <sys/uio.h> (for writev).
36018         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36019         and <sys/param.h> (for MIN).
36020
36021 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36022
36023         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36024         REQUESTED_TIME.  Properly set the remaining time and return EINTR
36025         if interrupted.
36026
36027 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36028
36029         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36030         Depend on against $(link-rpcuserlibs).
36031
36032 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36033
36034         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36035         (__libc_stack_end): Do not use attribute_relro.
36036         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36037         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36038         to libthread-provided value.
36039         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36040         attribute_relro.
36041
36042 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36043
36044         [BZ #3748]
36045         * bits/libc-lock.h (__libc_once_get): New macro.
36046         * sysdeps/mach/bits/libc-lock.h: Likewise.
36047         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36048         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36049         instead of using implementation details.
36050
36051         * libio/fileops.c: Unconditionally include <kernel-features.h>.
36052         * libio/freopen.c: Likewise.
36053         * libio/freopen64.c: Likewise.
36054         * misc/syslog.c: Likewise.
36055         * nscd/connections.c: Likewise.
36056         * nscd/netgroupcache.c: Likewise.
36057         * sysdeps/posix/getcwd.c: Likewise.
36058
36059 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36060
36061         * math/w_ilogbf.c: Add #include <limits.h>.
36062
36063 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36064
36065         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36066         path instead of returning without unlocking.
36067
36068         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36069         immediate-write ioctls.
36070         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36071
36072 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36073
36074         * sysdeps/mach/hurd/i386/init-first.c (init): Use
36075         __builtin_frame_address instead of making assumptions about the
36076         location of the return address relative to DATA.  Force early load of
36077         the return address.
36078         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36079         __builtin_frame_address.
36080
36081         dup3 for GNU Hurd.
36082         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36083         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
36084         implement dup3 and do some further code clean-ups.
36085         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36086         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36087
36088 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36089
36090         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36091
36092         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36093         HURD_CRITICAL_END around holding _hurd_dtable_lock.
36094         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36095         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36096         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36097         d->port.lock.
36098
36099         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36100         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
36101         when handler == SIG_ERR, not when handler != SIG_ERR.
36102
36103 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36104
36105         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36106         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36107         definitions.
36108
36109         accept4 for GNU Hurd.
36110         * include/sys/socket.h (__libc_accept4): New prototype.
36111         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
36112         to implement __libc_accept4.
36113         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36114         __libc_accept4.
36115         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36116
36117         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36118         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36119         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36120         signal-defines.sym.
36121
36122 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36123
36124         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36125
36126 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36127
36128         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36129         assertion on O_CLOEXEC flag.
36130         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36131         * hurd/intern-fd.c: Likewise.
36132         * hurd/port2fd.c: Likewise.
36133
36134 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36135
36136         [BZ #3906]
36137         * bits/in.h (IPV6_PKTINFO): Define new macro.
36138         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36139
36140 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36141
36142         [BZ #13954]
36143         [BZ #13955]
36144         [BZ #13956]
36145         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36146         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36147         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36148         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36149         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36150         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36151         * math/libm-test.inc (logb_test) : Additional logb tests.
36152
36153 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
36154             Andreas Jaeger  <aj@suse.de>
36155
36156         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36157         * configure: Regenerated.
36158         * config.h.in (LINK_OBSOLETE_RPC): New macro.
36159         * config.make.in (link-obsolete-rpc): New substituted variable.
36160         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36161         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36162         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36163         (shared-only-routines): Don't set it under [link-obsolete-rpc],
36164         so that libc.a contains the symbols.
36165         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36166         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36167         * sunrpc/auth_none.c: Likewise.
36168         * sunrpc/auth_unix.c: Likewise.
36169         * sunrpc/authdes_prot.c: Likewise.
36170         * sunrpc/authuxprot.c: Likewise.
36171         * sunrpc/clnt_gen.c: Likewise.
36172         * sunrpc/clnt_perr.c: Likewise.
36173         * sunrpc/clnt_raw.c: Likewise.
36174         * sunrpc/clnt_simp.c: Likewise.
36175         * sunrpc/clnt_tcp.c: Likewise.
36176         * sunrpc/clnt_udp.c: Likewise.
36177         * sunrpc/clnt_unix.c: Likewise.
36178         * sunrpc/des_crypt.c: Likewise.
36179         * sunrpc/des_soft.c: Likewise.
36180         * sunrpc/get_myaddr.c: Likewise.
36181         * sunrpc/key_call.c: Likewise.
36182         * sunrpc/key_prot.c: Likewise.
36183         * sunrpc/netname.c: Likewise.
36184         * sunrpc/pm_getmaps.c: Likewise.
36185         * sunrpc/pm_getport.c: Likewise.
36186         * sunrpc/pmap_clnt.c: Likewise.
36187         * sunrpc/pmap_prot.c: Likewise.
36188         * sunrpc/pmap_prot2.c: Likewise.
36189         * sunrpc/pmap_rmt.c: Likewise.
36190         * sunrpc/publickey.c: Likewise.
36191         * sunrpc/rpc_cmsg.c: Likewise.
36192         * sunrpc/rpc_common.c: Likewise.
36193         * sunrpc/rpc_dtable.c: Likewise.
36194         * sunrpc/rpc_prot.c: Likewise.
36195         * sunrpc/rpc_thread.c: Likewise.
36196         * sunrpc/rtime.c: Likewise.
36197         * sunrpc/svc.c: Likewise.
36198         * sunrpc/svc_auth.c: Likewise.
36199         * sunrpc/svc_raw.c: Likewise.
36200         * sunrpc/svc_run.c: Likewise.
36201         * sunrpc/svc_tcp.c: Likewise.
36202         * sunrpc/svc_udp.c: Likewise.
36203         * sunrpc/svc_unix.c: Likewise.
36204         * sunrpc/svcauth_des.c: Likewise.
36205         * sunrpc/xcrypt.c: Likewise.
36206         * sunrpc/xdr.c: Likewise.
36207         * sunrpc/xdr_array.c: Likewise.
36208         * sunrpc/xdr_float.c: Likewise.
36209         * sunrpc/xdr_intXX_t.c: Likewise.
36210         * sunrpc/xdr_mem.c: Likewise.
36211         * sunrpc/xdr_rec.c: Likewise.
36212         * sunrpc/xdr_ref.c: Likewise.
36213         * sunrpc/xdr_sizeof.c: Likewise.
36214         * sunrpc/xdr_stdio.c: Likewise.
36215
36216 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36217
36218         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36219         change.  Update copyright years.
36220
36221 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36222
36223         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36224
36225 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
36226             Joseph Myers  <joseph@codesourcery.com>
36227             Paul Pluzhnikov  <ppluzhnikov@google.com>
36228
36229         [BZ #14012]
36230         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36231         requiring rpcgen.
36232         [cross-compiling] (extra-libs): Likewise.
36233         [cross-compiling] (extra-libs-others): Likewise.
36234         [cross-compiling] (librpcsvc-routines): Likewise.
36235         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36236         [cross-compiling] (omit-deps): Likewise.
36237         (sunrpc-CPPFLAGS): New variable.
36238         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36239         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36240         (cross-rpcgen-objs): New variable.
36241         (extra-objs): Append $(cross-rpcgen-objs).
36242         ($(cross-rpcgen-objs)): New rule.
36243         ($(objpfx)cross-rpcgen): Likewise.
36244         (rpcgen-cmd): Define to use $(built-program-file).  Expand
36245         comment.
36246         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36247         ($(objpfx)x%.stmp): Likewise.
36248         * sunrpc/proto.h [IS_IN_build] (_): Define.
36249         [IS_IN_build] (_libc_intl_domainname): Likewise.
36250
36251 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36252
36253         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36254         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36255         and R_X86_64_TPOFF64.
36256
36257 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36258
36259         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36260         sysdeps/unix/sysv/syscalls.list.
36261         (stime): Likewise.
36262         (utime): Likewise.
36263         * sysdeps/unix/sysv/syscalls.list: Remove file.
36264
36265 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
36266
36267         [BZ #3440]
36268         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36269         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36270         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36271         (__LC_IDENTIFICATION): Make these macros useful in #if
36272         expressions, as required by C99.
36273
36274 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
36275
36276         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36277         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
36278         after this.
36279
36280 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
36281
36282         * stdlib/longlong.h: Updated from GCC.
36283
36284 2012-05-09  Andreas Jaeger  <aj@suse.de>
36285
36286         * nscd/nscd.c (run_modes): Make named enum, reorder so that
36287         default is first entry.
36288         (run_mode): Set type.
36289         (main): Remove informal message about syslog.
36290         (options): Fix typo.
36291
36292         [BZ #14053]
36293         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36294         to asm.
36295         (lrint): Likewise.
36296         (llrintf): Likewise.
36297         (llrint): Likewise.
36298         (rint): Likewise.
36299         (rintf): Likewise.
36300         (nearbyint): Likewise.
36301         (nearbyintf): Likewise.
36302
36303 2012-05-09  Andreas Jaeger  <aj@suse.de>
36304             Pedro Alves  <palves@redhat.com>
36305
36306         * nscd/nscd.c (run_mode): Use enum.
36307         (main): Cleanup coding style issue.
36308
36309 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
36310             Andreas Jaeger  <aj@suse.de>
36311
36312         * nscd/nscd.c (go_background): Replaced with...
36313         (run_mode): ... this.
36314         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36315         (options): Add -F --foreground.
36316         (main): Implement it.
36317         (parse_opt): Parse it.
36318
36319 2012-05-09  Andreas Jaeger  <aj@suse.de>
36320
36321         [BZ #14083]
36322         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36323         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36324         -Wconversion warning.
36325         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36326         Likewise.
36327
36328 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
36329
36330         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
36331         == 0.
36332         (LC_ALL): Use macro-int-constant.
36333         (LC_COLLATE): Likewise.
36334         (LC_CTYPE): Likewise.
36335         (LC_MESSAGES): Likewise.
36336         (LC_MONETARY): Likewise.
36337         (LC_NUMERIC): Likewise.
36338         (LC_TIME): Likewise.
36339         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36340         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36341         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36342         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36343         Specify type.
36344         [C99-based standards] (float_t): Expect type.
36345         [C99-based standards] (double_t): Expect type.
36346         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
36347         type.
36348         [C99-based standards] (HUGE_VALL): Likewise.
36349         [C99-based standards] (INFINITY): Likewise.
36350         [C99-based standards] (NAN): Likewise.
36351         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36352         [C99-based standards] (FP_NAN): Likewise.
36353         [C99-based standards] (FP_NORMAL): Likewise.
36354         [C99-based standards] (FP_SUBNORMAL): Likewise.
36355         [C99-based standards] (FP_ZERO): Likewise.
36356         [C99-based standards] (FP_FAST_FMA): Use
36357         optional-macro-int-constant.  Specify type.  Require == 1.
36358         [C99-based standards] (FP_FAST_FMAF): Likewise.
36359         [C99-based standards] (FP_FAST_FMAL): Likewise.
36360         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36361         [C99-based standards] (FP_ILOGBNAN): Likewise.
36362         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36363         Specify type.
36364         [C99-based standards] (MATH_ERREXCEPT): Likewise.
36365         [C99-based standards] (math_errhandling): Specify type.
36366         [ISO99 || ISO11] (signgam): Do not allow.
36367         [non-C99-based standards] (copysignf): Do not allow.
36368         [non-C99-based standards] (exp2f): Likewise.
36369         [non-C99-based standards] (log2f): Likewise.
36370         [non-C99-based standards] (modff): Allow.
36371         [non-C99-based standards] (erff): Do not allow.
36372         [non-C99-based standards] (erfcf): Likewise.
36373         [non-C99-based standards] (gammaf): Likewise.
36374         [non-C99-based standards] (hypotf): Likewise.
36375         [non-C99-based standards] (j0f): Likewise.
36376         [non-C99-based standards] (j1f): Likewise.
36377         [non-C99-based standards] (jnf): Likewise.
36378         [non-C99-based standards] (lgammaf): Likewise.
36379         [non-C99-based standards] (tgammaf): Likewise.
36380         [non-C99-based standards] (y0f): Likewise.
36381         [non-C99-based standards] (y1f): Likewise.
36382         [non-C99-based standards] (ynf): Likewise.
36383         [non-C99-based standards] (isnanf): Likewise.
36384         [non-C99-based standards] (acoshf): Likewise.
36385         [non-C99-based standards] (asinhf): Likewise.
36386         [non-C99-based standards] (atanhf): Likewise.
36387         [non-C99-based standards] (cbrtf): Likewise.
36388         [non-C99-based standards] (expm1f): Likewise.
36389         [non-C99-based standards] (ilogbf): Likewise.
36390         [non-C99-based standards] (log1pf): Likewise.
36391         [non-C99-based standards] (logbf): Likewise.
36392         [non-C99-based standards] (nextafterf): Likewise.
36393         [non-C99-based standards] (remainderf): Likewise.
36394         [non-C99-based standards] (rintf): Likewise.
36395         [non-C99-based standards] (scalbf): Likewise.
36396         [non-C99-based standards] (copysignl): Likewise.
36397         [non-C99-based standards] (exp2l): Likewise.
36398         [non-C99-based standards] (log2l): Likewise.
36399         [non-C99-based standards] (modfl): Allow.
36400         [non-C99-based standards] (erfl): Do not allow.
36401         [non-C99-based standards] (erfcl): Likewise.
36402         [non-C99-based standards] (gammal): Likewise.
36403         [non-C99-based standards] (hypotl): Likewise.
36404         [non-C99-based standards] (j0l): Likewise.
36405         [non-C99-based standards] (j1l): Likewise.
36406         [non-C99-based standards] (jnl): Likewise.
36407         [non-C99-based standards] (lgammal): Likewise.
36408         [non-C99-based standards] (tgammal): Likewise.
36409         [non-C99-based standards] (y0l): Likewise.
36410         [non-C99-based standards] (y1l): Likewise.
36411         [non-C99-based standards] (ynl): Likewise.
36412         [non-C99-based standards] (isnanl): Likewise.
36413         [non-C99-based standards] (acoshl): Likewise.
36414         [non-C99-based standards] (asinhl): Likewise.
36415         [non-C99-based standards] (atanhl): Likewise.
36416         [non-C99-based standards] (cbrtl): Likewise.
36417         [non-C99-based standards] (expm1l): Likewise.
36418         [non-C99-based standards] (ilogbl): Likewise.
36419         [non-C99-based standards] (log1pl): Likewise.
36420         [non-C99-based standards] (logbl): Likewise.
36421         [non-C99-based standards] (nextafterl): Likewise.
36422         [non-C99-based standards] (remainderl): Likewise.
36423         [non-C99-based standards] (rintl): Likewise.
36424         [non-C99-based standards] (scalbl): Likewise.
36425         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36426         [non-C99-based standards] (FP_*): Do not allow.
36427         [C99-based standards] (FP_*): Change to
36428         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36429         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36430         allow.
36431         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36432         (SIG_ERR): Likewise.
36433         [X/Open-based standards] (SIG_HOLD): Likewise.
36434         (SIG_IGN): Likewise.
36435         (SIGABRT): Use macro-int-constant.  Specify type.  Require
36436         positive value.
36437         (SIGFPE): Likewise.
36438         (SIGILL): Likewise.
36439         (SIGINT): Likewise.
36440         (SIGSEGV): Likewise.
36441         (SIGTER): Likewise.
36442         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36443         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36444         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36445         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36446         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36447         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36448         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36449         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36450         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36451         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36452         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36453         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36454         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36455         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36456         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36457         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36458         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36459         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36460         [X/Open-based standards] (SIGTRAP): Likewise.
36461         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36462         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36463         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36464         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36465         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36466         allow.
36467
36468 2012-05-08  Ian Wienand  <ianw@vmware.com>
36469
36470         [BZ #14080]
36471         * time/tzset.c (__tzset_parse_tz): Update default rules for
36472         daylight time changes in the Energy Policy Act of 2005.
36473
36474 2012-05-09  Andreas Jaeger  <aj@suse.de>
36475
36476         [BZ #13983]
36477         * elf/ldconfig.c (parse_conf): Change string to make clear that
36478         ldconfig only issued a warning if ld.so.conf does not exist.
36479
36480 2012-05-08  David S. Miller  <davem@davemloft.net>
36481
36482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36483         movxtod instead of popping the value on the stack.
36484
36485         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36486
36487 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
36488
36489         * config.h.in: Add HAVE_ARM_PCS_VFP.
36490
36491 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
36492
36493         [BZ #13979]
36494         * include/features.h: Warn if user requests __FORTIFY_SOURCE
36495         checking but the checks are disabled for any reason.
36496
36497 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
36498
36499         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36500         and ELF64_R_TYPE with ELFW(R_TYPE).
36501
36502 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
36503
36504         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36505         (ulimit): Likewise.
36506
36507         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36508         (settimeofday): Likewise.
36509
36510 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
36511
36512         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
36513         a struct th_u2 inside the union, and move tu_block/tu_code into
36514         a new th_u3 union of tu_block/tu_code inside of that.  Move
36515         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
36516         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
36517         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36518         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36519         (th_stuff): Change to th_u1.tu_stuff.
36520         (th_data): Define.
36521         (th_msg): Change to th_u1.th_u2.tu_data.
36522
36523 2012-05-07  David S. Miller  <davem@davemloft.net>
36524
36525         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36526
36527         [BZ #14074]
36528         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36529         (SETUP_PIC_REG): Use it.
36530         (SETUP_PIC_REG_LEAF): Use it.
36531
36532 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
36533
36534         [BZ #13885]
36535         [BZ #13923]
36536         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36537         USE_AS_EXPM1L.
36538         (EXPL_FINITE): Likewise.
36539         (FLDLOG): Likewise.
36540         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36541         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36542         e_expl.S.
36543         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36544         USE_AS_EXPM1L.
36545         (EXPL_FINITE): Likewise.
36546         (FLDLOG): Likewise.
36547         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36548         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36549         e_expl.S.
36550         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
36551         test of -max_value argument for long double.
36552         * sysdeps/i386/fpu/libm-test-ulps: Update.
36553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36554
36555 2012-05-06  David S. Miller  <davem@davemloft.net>
36556
36557         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36558         quad soft-float symbols whose references which are compiler
36559         generated.
36560         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36561
36562 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
36563
36564         [BZ #13884]
36565         [BZ #13914]
36566         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36567         USE_AS_EXP10L.
36568         (EXPL_FINITE): Likewise.
36569         (FLDLOG): Likewise.
36570         (c0): Likewise.
36571         (c1): Likewise.
36572         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36573         Adjust comments for base varying.
36574         (__expl_finite): Change alias to EXPL_FINITE.
36575         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36576         e_expl.S.
36577         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36578         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36579         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36580         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36581         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36582         USE_AS_EXP10L.
36583         (EXPL_FINITE): Likewise.
36584         (FLDLOG): Likewise.
36585         (c0): Likewise.
36586         (c1): Likewise.
36587         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36588         Adjust comments for base varying.
36589         (__expl_finite): Change alias to EXPL_FINITE.
36590         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
36591         tests for bugs.
36592         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36593
36594         [BZ #14064]
36595         * math/libm-test.inc (check_float_internal): Correct ulp
36596         calculation for subnormal expected results.
36597
36598 2012-05-06  Andreas Jaeger  <aj@suse.de>
36599
36600         * Makeconfig (+math-flags): New, set to -frounding-math.
36601         (+cflags): Add +math-flags so that all of glibc gets compiled with
36602         it.
36603
36604         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36605
36606 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
36607
36608         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36609         Disable one test.
36610
36611         [BZ #13787]
36612         [BZ #13922]
36613         [BZ #14036]
36614         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36615         (__ieee754_expl): Allow for and saturate large arguments.
36616         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36617         (u_threshold): Likewise.
36618         (__exp): Call __ieee754_exp before checking for overflow and
36619         underflow.
36620         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36621         (u_threshold): Likewise.
36622         (__expf): Call __ieee754_expf before checking for overflow and
36623         underflow.
36624         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36625         (u_threshold): Likewise.
36626         (__expl): Call __ieee754_expl before checking for overflow and
36627         underflow.
36628         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36629         (__ieee754_expl): Allow for and saturate large arguments.
36630         * math/libm-test.inc (exp_test): Add another test.  Do not allow
36631         missing overflow exception on overflow.
36632         (expm1_test): Do not allow missing overflow exception on overflow.
36633
36634         * sysdeps/i386/fpu/e_expl.c: Move to ...
36635         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
36636         rather than using inline asm.
36637         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36638         * sysdeps/x86_64/fpu/e_expl.S: Copy from
36639         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36640
36641         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36642         (nice): Likewise.
36643         (poll): Likewise.
36644         (signal): Likewise.
36645         (time): Likewise.
36646         (times): Likewise.
36647
36648 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36649
36650         * sysdeps/unix/syscalls.list (adjtime): Add entry from
36651         sysdeps/unix/common/syscalls.list.
36652         (fchmod): Likewise.
36653         (fchown): Likewise.
36654         (ftruncate): Likewise.
36655         (getrusage): Likewise.
36656         (gettimeofday): Likewise.
36657         (setpgid): Likewise.
36658         (setregid): Likewise.
36659         (setreuid): Likewise.
36660         (sigaction): Likewise.
36661         (truncate): Likewise.
36662         (vhangup): Likewise.
36663         * sysdeps/unix/common/syscalls.list: Remove file.
36664         * sysdeps/unix/bsd/Implies: Don't include unix/common.
36665         * sysdeps/unix/sysv/linux/Implies: Likewise.
36666
36667 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
36668
36669         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36670         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36671         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36672         Moved to ...
36673         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36674         Here.
36675         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36676         to ...
36677         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36678         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36679         to ...
36680         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36681         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36682         to ...
36683         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36684         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36685         to ...
36686         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36687         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36688         to ...
36689         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36690         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36691         to ...
36692         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36693         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36694         to ...
36695         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36696         Here.
36697         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36698         to ...
36699         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36700         Here.
36701         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36702         to ...
36703         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36704         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36705         Moved to ...
36706         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36707         Here.
36708         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36709         to ...
36710         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36711
36712 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36713
36714         * sysdeps/unix/common/bits/dirent.h: Remove file.
36715         * sysdeps/unix/common/bits/fcntl.h: Likewise.
36716
36717         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36718         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36719         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36720         * sysdeps/unix/bsd/isatty.c: Likewise.
36721         * sysdeps/unix/bsd/tcdrain.c: Likewise.
36722         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36723         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36724
36725 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36726
36727         [BZ #13563]
36728         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36729         long double comparison inaccuracies.
36730         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36731         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36732
36733 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
36734
36735         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36736         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36737
36738 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36739
36740         [BZ #14049]
36741         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36742         nonzero digits before rounding a hex value.
36743         * stdlib/tst-strtod.c (tests): Add another test.
36744
36745 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36746
36747         * sysdeps/s390/fpu/libm-test-ulps: Update.
36748
36749 2012-05-03  Andreas Jaeger  <aj@suse.de>
36750
36751         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36752         does not get optimized out.
36753         (malloc_opt_barrier): New.
36754
36755 2012-05-03  Andreas Jaeger  <aj@suse.de>
36756             Roland McGrath  <roland@hack.frob.com>
36757
36758         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36759         intermediate file deletion.
36760         (generated): Add .symlist files.
36761
36762 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
36763
36764         [BZ #13775]
36765         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36766         Redirect under this condition.
36767         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36768         [__USE_GNU] (__dprintf_chk): Not under this condition.
36769         [__USE_GNU] (__vdprintf_chk): Likewise.
36770         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36771         under this condition.
36772         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36773         [__USE_XOPEN2K8] (dprintf): Define under this condition.
36774         [__USE_XOPEN2K8] (vdprintf): Likewise.
36775         [__USE_GNU] (__dprintf_chk): Not under this condition.
36776         [__USE_GNU] (__vdprintf_chk): Likewise.
36777         [__USE_GNU] (dprintf): Likewise.
36778         [__USE_GNU] (vdprintf): Likewise.
36779
36780 2012-05-03  Roland McGrath  <roland@hack.frob.com>
36781
36782         * elf/Makefile (common-generated): Set this instead of generated for
36783         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
36784         $(all-built-dso)-derived lists.
36785
36786 2012-05-03  Andreas Jaeger  <aj@suse.de>
36787
36788         * sysdeps/i386/fpu/libm-test-ulps: Update.
36789
36790         * FAQ: Removed.
36791         * FAQ.in: Likewise.
36792         * scripts/gen-FAQ.pl: Likewise.
36793         * manual/install.texi (Installation): Point to online location of
36794         FAQ.
36795         * Makefile (files-for-dist): Remove FAQ.
36796         (FAQ): Remove.
36797
36798 2012-05-02  Allan McRae  <allan@archlinux.org>
36799
36800         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36801         (LDFLAGS-reldepmod5.so): Likewise.
36802         (LDFLAGS-reldep6mod1.so): Likewise.
36803         (LDFLAGS-reldep6mod4.so): Likewise.
36804         (LDFLAGS-reldep8mod3.so): Likewise.
36805         (LDFLAGS-unload4mod1.so): Likewise.
36806         (LDFLAGS-unload4mod2.so): Likewise.
36807         (LDFLAGS-tst-initorder): Likewise.
36808         (LDFLAGS-tst-initordera2.so): Likewise.
36809         (LDFLAGS-tst-initordera3.so): Likewise.
36810         (LDFLAGS-tst-initordera4.so): Likewise.
36811         (LDFLAGS-tst-initorderb2.so): Likewise.
36812         (LDFLAGS-noload): Likewise.
36813         (LDFLAGS-next): Likewise.
36814         (LDFLAGS-order2mod1.so): Likewise.
36815         (LDFLAGS-order2mod2.so): Likewise.
36816         (LDFLAGS-tst-initorder2): Likewise.
36817         (LDFLAGS-tst-initorder2a.so): Likewise.
36818         (LDFLAGS-tst-initorder2b.so): Likewise.
36819         (LDFLAGS-tst-initorder2c.so): Likewise.
36820         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36821
36822 2012-05-02  David S. Miller  <davem@davemloft.net>
36823
36824         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36825
36826 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
36827
36828         [BZ #14055]
36829         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36830
36831 2012-05-02  Andreas Jaeger  <aj@suse.de>
36832
36833         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36834         since we manipulate rounding mode.
36835         (CPPFLAGS-test-idouble.c): Likewise.
36836         (CPPFLAGS-test-ifloat.c): Likewise.
36837         (CFLAGS-test-ldouble.c): Likewise.
36838         (CFLAGS-test-double.c): Likewise.
36839         (CFLAGS-test-float.c): Likewise.
36840         (CFLAGS-test-misc.c): Likewise.
36841         (CFLAGS-test-test-fenv.c): Likewise.
36842
36843 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36844
36845         [BZ #2550]
36846         [BZ #2570]
36847         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36848         comparisons to determine direction to adjust input.
36849
36850 2012-05-01  Roland McGrath  <roland@hack.frob.com>
36851
36852         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36853         output to the target.
36854
36855         * scripts/localplt.awk: New file.
36856         * elf/Makefile ($(objpfx)check-localplt): Target removed.
36857         (check-localplt-CFLAGS): Variable removed.
36858         ($(all-built-dso:=.jmprel)): New static pattern rule.
36859         (generated): Add those targets.
36860         (localplt-built-dso): New variable.
36861         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36862
36863         * elf/check-localplt.c: File removed.
36864
36865         * scripts/check-execstack.awk: New file.
36866         * elf/Makefile ($(objpfx)check-execstack): Target removed.
36867         (check-execstack-CFLAGS): Variable removed.
36868         ($(objpfx)check-execstack.h): Target removed.
36869         ($(objpfx)execstack-default): New target.
36870         (generated): Add that instead of check-execstack.h.
36871         ($(all-built-dso:=.phdr)): New static pattern rule.
36872         (generated): Add those targets.
36873         * elf/check-execstack.c: File removed.
36874
36875         * scripts/check-textrel.awk: New file.
36876         * elf/Makefile ($(objpfx)check-textrel): Target removed.
36877         (check-textrel-CFLAGS): Variable removed.
36878         (all-built-dso): Use := to define.o
36879         ($(all-built-dso:=.dyn)): New static pattern rule.
36880         (generated): Add those targets.
36881         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36882         * config.make.in (READELF): New substituted variable.
36883         * elf/check-textrel.c: File removed.
36884
36885 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
36886
36887         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36888         allow.
36889         * conform/data/ctype.h-data [C99-based standards] (isblank):
36890         Expect function.
36891         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36892         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36893         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36894         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36895         Specify type.  Require positive value.
36896         (EILSEQ): Likewise.
36897         (ERANGE): Likewise.
36898         [ISO || POSIX] (EILSEQ): Do not expect.
36899         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36900         Specify type.  Require positive value.
36901         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36902         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36903         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36904         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36905         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36906         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36907         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36908         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36909         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36910         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36911         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36912         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36913         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36914         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36915         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36916         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36917         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36918         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36919         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36920         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36921         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36922         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36923         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36924         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36925         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36926         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36927         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36928         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36929         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36930         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36931         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36932         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36933         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36934         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36935         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36936         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36937         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36938         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36939         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36940         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36941         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36942         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36943         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36944         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36945         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36946         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36947         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36948         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36949         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36950         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36951         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36952         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36953         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36954         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36955         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36956         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36957         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36958         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36959         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36960         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36961         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36962         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36963         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36964         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36965         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36966         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36967         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36968         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36969         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36970         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36971         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36972         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36973         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36974         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36975         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36976         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36977         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36978         Require >= 2.
36979         (FLT_ROUNDS): Expect as macro, not constant.
36980         (FLT_MANT_DIG): Use macro-int-constant.
36981         (DBL_MANT_DIG): Likewise.
36982         (LDBL_MANT_DIG): Likewise.
36983         (FLT_DIG): Likewise.
36984         (DBL_DIG): Likewise.
36985         (LDBL_DIG): Likewise.
36986         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
36987         (DBL_MIN_EXP): Likewise.
36988         (LDBL_MIN_EXP): Likewise.
36989         (FLT_MAX_EXP): Use macro-int-constant.
36990         (DBL_MAX_EXP): Likewise.
36991         (LDBL_MAX_EXP): Likewise.
36992         (FLT_MAX_10_EXP): Likewise.
36993         (DBL_MAX_10_EXP): Likewise.
36994         (LDBL_MAX_10_EXP): Likewise.
36995         (FLT_MAX): Use macro-constant.
36996         (DBL_MAX): Likewise.
36997         (LDBL_MAX): Likewise.
36998         (FLT_EPSILON): Use macro-constant.  Give upper bound.
36999         (DBL_EPSILON): Likewise.
37000         (LDBL_EPSILON): Likewise.
37001         (FLT_MIN): Likewise.
37002         (DBL_MIN): Likewise.
37003         (LDBL_MIN): Likewise.
37004         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37005         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37006         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37007         [ISO11] (FLT_HAS_SUBNORM): Likewise.
37008         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37009         [ISO11] (DBL_DECIMAL_DIG): Likewise.
37010         [ISO11] (FLT_DECIMAL_DIG): Likewise.
37011         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37012         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37013         [ISO11] (FLT_TRUE_MIN): Likewise.
37014         [ISO11] (LDBL_TRUE_MIN): Likewise.
37015         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37016         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37017         (SCHAR_MIN): Use macro-int-constant.  Specify type.
37018         (SCHAR_MAX): Likewise.
37019         (UCHAR_MAX): Likewise.
37020         (CHAR_MIN): Likewise.
37021         (CHAR_MAX): Likewise.
37022         (MB_LEN_MAX): Use macro-int-constant.
37023         (SHRT_MIN): Use macro-int-constant.  Specify type.
37024         (SHRT_MAX): Likewise.
37025         (USHRT_MAX): Likewise.
37026         (INT_MAX): Likewise.
37027         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
37028         bound negative.
37029         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37030         bound with "U".
37031         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37032         bound with "L".
37033         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
37034         bound negative.  Suffix upper bound with "L".
37035         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37036         bound with "UL".
37037         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37038         Specify type.
37039         [C99-based standards] (LLONG_MAX): Likewise.
37040         [C99-based standards] (ULLONG_MAX): Likewise.
37041         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
37042         == 0.
37043         [ISO11] (max_align_t): Require type.
37044         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37045
37046         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37047         from $CFLAGS, without defining away __attribute__ calls.
37048         (checknamespace): Use $CFLAGS_namespace.
37049
37050         * conform/conformtest.pl (@keywords): Only include C99 keywords
37051         for standards based on C99 or C11.
37052
37053         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37054         Disable tests.
37055         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37056         UNIX98]: Likewise.
37057
37058         * conform/conformtest.pl: Handle "macro-int-constant" and test for
37059         usability of symbols in #if.
37060
37061         * conform/conformtest.pl: If macro or constant types start
37062         "promoted:", expect the symbol to be of the following type
37063         promoted by the integer promotions.
37064
37065         * conform/conformtest.pl: Parse all "constant" and "macro" lines
37066         in one place.  Also handle "macro-constant".
37067
37068         * conform/conformtest.pl: Only accept expected macro values with
37069         "==".  Parse all "macro" lines in one place.
37070         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37071
37072         * conform/conformtest.pl: Handle braced types on "constant" lines
37073         instead of handling "typed-constant".
37074         * conform/data/signal.h-data: Use "constant" instead of
37075         "typed-constant".
37076
37077         * conform/conformtest.pl: Handle "optional-" at start of lines in
37078         one place rather than duplicating several cases.  Handle each
37079         format of "macro" line with initial "optional-".
37080
37081         * conform/conformtest.pl: Only accept expected constant or
37082         optional-constant values with "==".  Parse all "constant" lines in
37083         one place.  Parse all "optional-constant" lines in one place.
37084         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37085         * conform/data/fmtmsg.h-data: Likewise.
37086         * conform/data/netinet/in.h-data: Likewise.
37087         * conform/data/tar.h-data: Likewise.
37088         * conform/data/limits.h-data: Use "==" form on "constant" and
37089         "optional-constant" lines.
37090
37091         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37092         Use -std=c99 for XOPEN2K.
37093         (@knownproblems): Remove.
37094         (newtoken): Don't check %isknown.
37095
37096         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37097         Do not expect macro.
37098         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37099         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37100         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37101         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37102         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37103         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37104         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37105         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37106         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37107         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37108         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37109         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37110         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37111         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37112         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37113         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37114         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37115         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37116         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37117         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37118         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37119         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37120         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37121         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37122         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37123         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37124         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37125         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37126         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37127         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37128         [XPG3] (acosh): Likewise.
37129         [XPG3] (asinh): Likewise.
37130         [XPG3] (atanh): Likewise.
37131         [XPG3] (cbrt): Likewise.
37132         [XPG3] (expm1): Likewise.
37133         [XPG3] (ilogb): Likewise.
37134         [XPG3] (log1p): Likewise.
37135         [XPG3] (logb): Likewise.
37136         [XPG3] (nextafter): Likewise.
37137         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37138         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37139         [XPG3] (remainder): Likewise.
37140         [XPG3] (rint): Likewise.
37141         [XPG3 || XPG4 || UNIX98] (round): Likewise.
37142         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37143         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37144         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37145         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37146         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37147         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37148         [UNIX98 || XOPEN2K] (scalb): Expect.
37149         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37150         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37151         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37152         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37153         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37154         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37155         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37156         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37157         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37158         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37159         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37160         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37161         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37162         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37163         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37164         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37165         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37166         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37167         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37168         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37169         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37170         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37171         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37172         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37173         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37174         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37175         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37176         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37177         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37178         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37179         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37180         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37181         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37182         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37183         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37184         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37185         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37186         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37187         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37188         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37189         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37190         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37191         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37192         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37193         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37194         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37195         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37196         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37197         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37198         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37199         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37200         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37201         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37202         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37203         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37204         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37205         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37206         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37207         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37208         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37209         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37210         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37211         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37212         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37213         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37214         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37215         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37216         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37217         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37218         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37219         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37220         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37221         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37222         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37223         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37224         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37225         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37226         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37227         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37228         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37229         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37230         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37231         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37232         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37233         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37234         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37235         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37236         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37237         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37238         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37239         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37240         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37241         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37242         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37243         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37244         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37245         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37246         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37247         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37248         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37249         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37250         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37251         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37252         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37253         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37254         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37255         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37256         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37257         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37258         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37259         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37260         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37261         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37262         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37263         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37264         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37265         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37266         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37267         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37268         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37269         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37270         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37271         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37272         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37273         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37274         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37275         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37276         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37277         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37278         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37279         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37280         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37281         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37282         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37283         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37284         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37285         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37286
37287         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37288         _XOPEN_SOURCE_EXTENDED for XPG4.
37289
37290         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37291
37292         * Makeconfig (localtime): Remove variable.
37293         (inst_localtime-file): Likewise.
37294
37295 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37296
37297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37298         Update.
37299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37300         Update.
37301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37302         Update.
37303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37304         Update.
37305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37306         Update.
37307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37308         Update.
37309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37310         Update.
37311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37312         Update.
37313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37314         Update.
37315
37316 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37317
37318         [BZ #2550]
37319         [BZ #2570]
37320         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37321         comparisons to determine direction to adjust input.
37322         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37323         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37324         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37325         Likewise.
37326         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37327         Likewise.
37328         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37329         Likewise.
37330         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37331         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37332         Likewise.
37333         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37334         Likewise.
37335         * math/libm-test.inc (nexttoward_test): Add more tests.
37336
37337 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37338
37339         [BZ #14040]
37340         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37341         in version GLIBC_2.1, not GLIBC_2.0.
37342         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37343         Likewise.
37344
37345 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
37346
37347         [BZ #13942]
37348         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37349         (1 - x) * (1 + x).
37350         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37351         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37352         * math/libm-test.inc (acos_test): Add more tests.
37353         (asin_test): Likewise.
37354         * sysdeps/i386/fpu/libm-test-ulps: Update.
37355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37356
37357         [BZ #14034]
37358         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37359         of square root.
37360         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37361         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37362         * math/libm-test.inc (acos_test_tonearest): New function.
37363         (acos_test_towardzero): Likewise.
37364         (acos_test_downward): Likewise.
37365         (acos_test_upward): Likewise.
37366         (asin_test_tonearest): Likewise.
37367         (asin_test_towardzero): Likewise.
37368         (asin_test_downward): Likewise.
37369         (asin_test_upward): Likewise.
37370         (main): Call the new functions.
37371         * sysdeps/i386/fpu/libm-test-ulps: Update.
37372         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37373
37374         [BZ #13884]
37375         [BZ #13924]
37376         * math/e_exp10.c: Include <float.h>.
37377         (__ieee754_exp10): Handle underflow here rather than multiplying
37378         large negative argument by M_LN10.
37379         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37380         of __ieee754_expf.
37381         * math/e_exp10l.c: Include <float.h>.
37382         (__ieee754_exp10l): Handle underflow here rather than multiplying
37383         large negative argument by M_LN10l.
37384         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
37385         spurious overflow exception on underflow.
37386
37387 2012-04-29  Marek Polacek  <polacek@redhat.com>
37388
37389         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37390         (__fortify_function): New macro.
37391         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37392         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37393         __extern_always_inline.
37394         * libio/bits/stdio2.h: Likewise.
37395         * libio/bits/stdio.h: Likewise.
37396         * string/string.h: Likewise.
37397         * string/bits/string3.h: Likewise.
37398         * include/stdio.h: Likewise.
37399         * stdlib/bits/stdlib.h: Likewise.
37400         * stdlib/stdlib.h: Likewise.
37401         * rt/bits/mqueue2.h: Likewise.
37402         * rt/mqueue.h: Likewise.
37403         * posix/bits/unistd.h: Likewise.
37404         * posix/unistd.h: Likewise.
37405         * io/bits/poll2.h: Likewise.
37406         * io/bits/fcntl2.h: Likewise.
37407         * io/fcntl.h: Likewise.
37408         * io/sys/poll.h: Likewise.
37409         * misc/bits/syslog.h: Likewise.
37410         * misc/bits/syslog-ldbl.h: Likewise.
37411         * misc/sys/syslog.h: Likewise.
37412         * socket/bits/socket2.h: Likewise.
37413         * socket/sys/socket.h: Likewise.
37414         * debug/tst-chk1.c: Likewise.
37415         * wcsmbs/bits/wchar2.h: Likewise.
37416         * wcsmbs/bits/wchar-ldbl.h: Likewise.
37417         * wcsmbs/wchar.h: Likewise.
37418
37419 2012-04-29  Andreas Jaeger  <aj@suse.de>
37420
37421         * Makerules (tests): Remove enable-check-abi protection.
37422         (check-abi-warn): Remove.
37423         (check-abi-%): Remove check-abi-warn usage.
37424
37425         * configure.in: Remove check-abi configure option.
37426         * configure: Regenerated.
37427         * config.make.in (enable-check-abi): Remove.
37428
37429 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
37430
37431         [BZ #14033]
37432         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37433         double functions to double *_finite functions.
37434
37435         [BZ #13941]
37436         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37437         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37438         LDBL_MIN_EXP.
37439         * stdio-common/Makefile (tests): Add tst-sprintf3.
37440         * stdio-common/tst-sprintf3.c: New file.
37441
37442         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37443         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37444
37445 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
37446
37447         * conform/conformtest.pl: Remove duplicate typed-constant
37448         handling.
37449
37450 2012-04-28  David S. Miller  <davem@davemloft.net>
37451
37452         * Makerules (%.abilist): Add vpath on sysdep_dirs.
37453         (check-abi-%): Remove AWK script prerequisite and explicit
37454         abilist directory.
37455         (check-abi): Rewrite to just diff the symlist with the abilist.
37456         (config-tls, config-abi-config): Delete, no longer used.
37457         (update-abi-%): Remove AWK script and explicit abilist directory.
37458         (update-abi): Rewrite to simply compare and conditionally copy the
37459         symlist and the sysdep abilist file.  Remove update-abi-config
37460         checks.
37461         * abilist/ld.abilist: Remove.
37462         * abilist/libBrokenLocale.abilist: Remove.
37463         * abilist/libanl.abilist: Remove.
37464         * abilist/libcrypt.abilist: Remove.
37465         * abilist/libdl.abilist: Remove.
37466         * abilist/librt.abilist: Remove.
37467         * abilist/libthread_db.abilist: Remove.
37468         * abilist/libutil.abilist: Remove.
37469         * scripts/extract-abilist.awk: Remove.
37470         * scripts/merge-abilist.awk: Remove.
37471         * sysdeps/generic/libcidn.abilist: New file.
37472         * sysdeps/generic/libnss_compat.abilist: New file.
37473         * sysdeps/generic/libnss_db.abilist: New file.
37474         * sysdeps/generic/libnss_dns.abilist: New file.
37475         * sysdeps/generic/libnss_files.abilist: New file.
37476         * sysdeps/generic/libnss_hesiod.abilist: New file.
37477         * sysdeps/generic/libnss_nis.abilist: New file.
37478         * sysdeps/generic/libnss_nisplus.abilist: New file.
37479         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37480         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37481         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37482         file.
37483         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37484         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37485         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37486         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37487         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37488         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37489         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37490         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37491         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37492         file.
37493         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37494         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37495         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37496         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37497         file.
37498         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37499         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37500         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37501         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37502         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37503         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37504         file.
37505         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37506         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37507         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37508         file.
37509         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37510         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37511         New file.
37512         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37513         New file.
37514         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37515         New file.
37516         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37517         New file.
37518         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37519         New file.
37520         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37521         New file.
37522         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37523         New file.
37524         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37525         New file.
37526         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37527         New file.
37528         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37529         New file.
37530         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37531         New file.
37532         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37533         New file.
37534         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37535         New file.
37536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37537         file.
37538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37539         New file.
37540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37541         New file.
37542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37543         file.
37544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37545         New file.
37546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37547         New file.
37548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37549         file.
37550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37551         New file.
37552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37553         New file.
37554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37555         New file.
37556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37557         New file.
37558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37559         New file.
37560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37561         New file.
37562         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37563         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37564         file.
37565         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37566         New file.
37567         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37568         file.
37569         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37570         file.
37571         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37572         file.
37573         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37574         file.
37575         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37576         file.
37577         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37578         New file.
37579         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37580         file.
37581         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37582         file.
37583         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37584         New file.
37585         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37586         file.
37587         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37588         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37589         file.
37590         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37591         New file.
37592         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37593         file.
37594         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37595         file.
37596         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37597         file.
37598         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37599         file.
37600         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37601         file.
37602         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37603         New file.
37604         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37605         file.
37606         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37607         file.
37608         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37609         New file.
37610         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37611         file.
37612         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37613         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37614         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37615         file.
37616         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37617         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37618         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37619         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37620         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37621         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37622         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37623         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37624         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37625         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37626         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37627         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37628         file.
37629         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37630         New file.
37631         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37632         file.
37633         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37634         file.
37635         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37636         file.
37637         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37638         file.
37639         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37640         file.
37641         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37642         New file.
37643         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37644         New file.
37645         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37646         file.
37647         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37648         New file.
37649         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37650         file.
37651         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37652         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37653         file.
37654         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37655         New file.
37656         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37657         file.
37658         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37659         file.
37660         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37661         file.
37662         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37663         file.
37664         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37665         file.
37666         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37667         New file.
37668         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37669         New file.
37670         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37671         file.
37672         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37673         New file.
37674         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37675         file.
37676
37677 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
37678
37679         * conform/conformtest.pl: Fix typo in handling typed-constant from
37680         allow-header.
37681
37682 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
37683
37684         * README: Cut down references to pre-2.6 Linux kernels and
37685         Linuxthreads.  Update lists of configurations in libc and ports
37686         and sort alphabetically.  Say "or newer" with Linux kernel version
37687         requirements.
37688
37689         * config.h.in [IS_IN_build]: Allow compiling without optimization.
37690
37691 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37692
37693         [BZ #887]
37694         * math/libm-test.inc (logb_test_downward): New test to expose
37695         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37696         rounding mode.
37697
37698 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
37699
37700         [BZ #14027]
37701         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37702         to be done.
37703         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37704         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37705
37706 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
37707
37708         * sysdeps/unix/i386/brk.S: Remove file.
37709         * sysdeps/unix/i386/dl-brk.S: Likewise.
37710         * sysdeps/unix/i386/pipe.S: Likewise.
37711         * sysdeps/unix/i386/sigreturn.S: Likewise.
37712         * sysdeps/unix/i386/syscall.S: Likewise.
37713         * sysdeps/unix/i386/vfork.S: Likewise.
37714         * sysdeps/unix/i386/wait.S: Likewise.
37715
37716         * sysdeps/unix/common/tcsendbrk.c: Move to ...
37717         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37718
37719         * configure.in (arm*-none*): Do not allow without
37720         --enable-hacker-mode.
37721         (netbsd*): Remove case setting base_os.
37722         (386bsd*): Likewise.
37723         (freebsd*): Likewise.
37724         (bsdi*): Likewise.
37725         (osf*): Likewise.
37726         (sunos*): Likewise.
37727         (ultrix*): Likewise.
37728         (newsos*): Likewise.
37729         (dynix*): Likewise.
37730         (*bsd*): Likewise.
37731         (sysv*): Likewise.
37732         (isc*): Likewise.
37733         (esix*): Likewise.
37734         (sco*): Likewise.
37735         (minix*): Likewise.
37736         (irix4*): Likewise.
37737         (irix6*): Likewise.
37738         (solaris[2-9]*): Likewise.
37739         (none): Likewise.
37740         * configure: Regenerated.
37741
37742 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37743
37744         [BZ #11521]
37745         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37746         overflow or cancellation in calculating denominator.
37747         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37748         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37749         down expression to avoid unexpected rounding in newer GCCs.
37750         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37751
37752 2012-04-26  David S. Miller  <davem@davemloft.net>
37753
37754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37755         long-double compat symbols.
37756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37761         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37762         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37763         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37764         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37765         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37766         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37767         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37768         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37769
37770 2012-04-25  David S. Miller  <davem@davemloft.net>
37771
37772         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37773         HWCAP_* values only after the memory barriers have been defined.
37774         (atomic_full_barrier): Define.
37775         (atomic_read_barrier): Define.
37776         (atomic_write_barrier): Define.
37777
37778 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37779
37780         * shlib-versions: Add libgcc_s version information.
37781         * sysdeps/generic/libgcc_s.h: Remove.
37782         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37783         libgcc_s.h.
37784         * sysdeps/gnu/unwind-resume.c: Likewise.
37785         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37786
37787 2012-04-25  David S. Miller  <davem@davemloft.net>
37788
37789         * sysdeps/unix/sparc/brk.S: Delete.
37790         * sysdeps/unix/sparc/dl-brk.S: Delete.
37791         * sysdeps/unix/sparc/pipe.S: Delete.
37792         * sysdeps/unix/sparc/sysdep.S: Delete.
37793         * sysdeps/unix/sparc/sysdep.h: Delete.
37794         * sysdeps/unix/sparc/vfork.S: Delete.
37795         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37796         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37797         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37798         (ret_ERRVAL, r0, r1, MOVE): Define.
37799         (JUMPTARGET): Remove.
37800         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37801         sysdeps/unix/sparc/sysdep.h
37802         (ENTRY, END): Remove.
37803         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37804
37805 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
37806
37807         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37808         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37809         -DIS_IN_build.
37810
37811         * timezone/README: Update upstream location and email address for
37812         tzcode and tzdata.
37813         * timezone/zdump.c: Update from tzcode 2012b.
37814         * timezone/zic.c: Likewise.
37815
37816         * configure.in (libc_cv_as_needed): Remove test.
37817         * configure: Regenerated.
37818         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37819         conditional definition.
37820         [$(have-as-needed) != yes] (no-as-needed): Likewise.
37821         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37822         * config.make.in (have-as-needed): Remove variable.
37823
37824 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37825             Paul Pluzhnikov  <ppluzhnikov@google.com>
37826
37827         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37828         strings correctly.
37829
37830 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
37831
37832         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37833         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37834         * sysdeps/sh/strlen.S: Likewise.
37835
37836 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37837
37838         * sysdeps/unix/fork.S: Remove file.
37839         * sysdeps/unix/i386/fork.S: Likewise.
37840         * sysdeps/unix/sparc/fork.S: Likewise.
37841
37842         * sysdeps/unix/system.c: Remove file.
37843         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37844
37845         * sysdeps/unix/getegid.S: Remove file.
37846         * sysdeps/unix/geteuid.S: Likewise.
37847
37848 2012-04-24  Roland McGrath  <roland@hack.frob.com>
37849
37850         * scripts/check-localplt.awk: New file.
37851         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37852         of diff.
37853         * scripts/data/localplt-generic.data: Add a comment.
37854
37855         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37856         NODE when __dir_mkfile failed.
37857         * sysdeps/mach/hurd/symlinkat.c: Likewise.
37858         Reported by Ludovic Courtès <ludo@gnu.org>.
37859
37860 2012-04-24  Andreas Jaeger  <aj@suse.de>
37861
37862         * Makerules (common-clean): Also remove gen-as-const-headers
37863         files.
37864
37865 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37866
37867         * Makerules (native-compile): Do not change working directory for
37868         build.  Use $(OUTPUT_OPTION) in command.
37869         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37870
37871 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37872
37873         [BZ #13886]
37874         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37875         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37876         * math/libm-test.inc (floor_test): Add more tests.
37877         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37878
37879 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37880
37881         * sysdeps/unix/getdents.c: Remove file.
37882         * sysdeps/unix/sysv/getdents.c: Likewise.
37883         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37884
37885         * sysdeps/unix/syscalls.list (madvise): Add syscall from
37886         sysdeps/unix/mman/syscalls.list.
37887         (mmap): Likewise.
37888         (mprotect): Likewise.
37889         (msync): Likewise.
37890         (munmap): Likewise.
37891         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37892         * sysdeps/unix/mman/syscalls.list: Remove.
37893         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37894
37895         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37896         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37897         * configure: Regenerated.
37898         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37899         $(libgcc_s_suffix).
37900         * config.make.in (libgcc_s_suffix): Remove variable.
37901
37902 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
37903
37904         * sysdeps/unix/sysv/gethostname.c: Move to ...
37905         * sysdeps/posix/gethostname.c: ... here.
37906
37907         * sysdeps/unix/execve.S: Remove file.
37908
37909         * sysdeps/unix/_exit.S: Remove file.
37910
37911 2012-04-23  Andreas Jaeger  <aj@suse.de>
37912
37913         [BZ #13739]
37914         * manual/Makefile: Remove make dist support, there's no
37915         need for a stand-alone documentation tar ball.
37916         (TEXI2DVI): Define always, it's not in Makeconfig.
37917         (dist): Removed.
37918         (tar-it): Removed.
37919         (edition): Removed.
37920         (glibc-doc-$(edition).tar): Removed
37921         (%.Z): Removed.
37922         (%.gz): Removed.
37923         (%.uu): Removed.
37924         (ETAGS): Remove, it's in Makeconfig.
37925         (move-if-change): Remove, it's in Makeconfig.
37926
37927 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
37928
37929         [BZ #13970]
37930         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37931         (strtod, strtof, strtold, strtol, strtoul, strtoq)
37932         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37933         (strtod_l, strtof_l, strtold_l): Remove __wur.
37934         It is not necessarily an error to ignore strtol's return value.
37935         One can reliably look at the stored endptr to decide whether
37936         the number had valid syntax.
37937
37938 2012-04-21  Andreas Jaeger  <aj@suse.de>
37939
37940         [BZ #13739]
37941         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37942
37943 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
37944
37945         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37946         * sysdeps/unix/sysv/Versions: Remove file.
37947
37948 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
37949
37950         [BZ #13927]
37951         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37952
37953 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
37954
37955         [BZ #7064]
37956         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37957         version from __vm86.
37958
37959 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
37960
37961         * sysdeps/unix/common/lxstat.c: Remove file.
37962         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37963
37964         * sysdeps/unix/sysv/Makefile: Remove file.
37965
37966         * sysdeps/unix/sysv/direct.h: Remove file.
37967
37968         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37969         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37970         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37971         * sysdeps/unix/sysv/bits/signum.h: Likewise.
37972         * sysdeps/unix/sysv/bits/stat.h: Likewise.
37973         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37974         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37975
37976         * sysdeps/unix/sysv/setrlimit.c: Remove file.
37977
37978         * sysdeps/unix/xmknod.c: Remove file.
37979         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37980
37981         * sysdeps/unix/sysv/settimeofday.c: Remove file.
37982
37983         * sysdeps/unix/sysv/i386/time.S: Remove file.
37984
37985         * sysdeps/unix/fxstat.c: Remove file.
37986         * sysdeps/unix/xstat.c: Likewise.
37987         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37988
37989         * sysdeps/unix/sysv/sigaction.c: Remove file.
37990
37991         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37992         (sysdep_headers): Remove variable.
37993         [termio.h not in sysdep_headers] (generated): Likewise.
37994         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37995         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37996         * sysdeps/unix/sysv/tcdrain.c: Likewise.
37997         * sysdeps/unix/sysv/tcflow.c: Likewise.
37998         * sysdeps/unix/sysv/tcflush.c: Likewise.
37999         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38000         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38001         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38002         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38003         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38004
38005         * sysdeps/unix/siglist.c: Remove file.
38006
38007         * sysdeps/unix/getppid.S: Remove file.
38008
38009         * sysdeps/unix/mkdir.c: Remove file.
38010         * sysdeps/unix/rmdir.c: Likewise.
38011
38012 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
38013
38014         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38015         ERR_MAX value.
38016         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38017         errlist-compat value.
38018
38019 2012-04-18  David S. Miller  <davem@davemloft.net>
38020
38021         * sysdeps/generic/memcopy.h (reg_char): Delete.
38022         * debug/strcat_chk.c: Use char, not reg_char.
38023         * debug/strcpy_chk.c: Likewise.
38024         * debug/strncat_chk.c: Likewise.
38025         * debug/strncpy_chk.c: Likewise.
38026         * string/memchr.c: Likewise.
38027         * string/memrchr.c: Likewise.
38028         * string/rawmemchr.c: Likewise.
38029         * string/strcat.c: Likewise.
38030         * string/strchr.c: Likewise.
38031         * string/strchrnul.c: Likewise.
38032         * string/strcmp.c: Likewise.
38033         * string/strcpy.c: Likewise.
38034         * string/strncat.c: Likewise.
38035         * string/strncmp.c: Likewise.
38036         * string/strncpy.c: Likewise.
38037
38038 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38039
38040         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38041         __builtin_memcopy is called when src and dest ranges are known to not
38042         overlap.
38043
38044 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38045
38046         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38047         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38048         fwd_align_merge macro call.
38049         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38050         bwd_align_merge macro call.
38051         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38052
38053 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38054
38055         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38056         bwd_align_merge macros.
38057         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38058         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38059         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38060
38061 2012-04-18  David S. Miller  <davem@davemloft.net>
38062
38063         * sysdeps/sparc/sparc64/memcopy.h: Delete.
38064
38065 2012-04-18  Andreas Jaeger  <aj@suse.de>
38066
38067         [BZ# 6794]
38068         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38069         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38070         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38071
38072         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38073         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38074         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38075
38076         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38077         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38078         Adjust for changed ldbl-128 files.
38079
38080         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38081         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38082         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38083
38084 2012-04-17  David S. Miller  <davem@davemloft.net>
38085
38086         * sysdeps/sparc/sparc32/memcopy.h: Delete.
38087
38088 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
38089
38090         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38091         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38092         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38093         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38094         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38095         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38096
38097 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38098
38099         [BZ #6794]
38100         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38101         * math/libm-test.inc: Add ilogb errno and exception tests.
38102         * math/w_ilogb.c: New file: ilogb wrapper.
38103         * math/w_ilogbf.c: New file: ilogbf wrapper.
38104         * math/w_ilogbl.c: New file: ilogbl wrapper.
38105         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38106         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38107         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38108         exception being thrown with 0.0 as argument.
38109         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38110         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38111         exception being thrown with 0.0 as argument.
38112         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38113         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38114         exception being thrown with 0.0 as argument.
38115         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38116         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38117         exception being thrown with 0.0 as argument.
38118         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38119         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38120         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38121         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38122         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38123         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38124         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38125         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38126         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38127
38128 2012-04-17  Petr Baudis  <pasky@ucw.cz>
38129
38130         * include/sys/uio.h: Change __vector to __iovec to avoid clash
38131         with altivec.
38132
38133 2012-04-16  Marek Polacek  <polacek@redhat.com>
38134
38135         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38136
38137 2012-04-16  Marek Polacek  <polacek@redhat.com>
38138
38139         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38140         operands of fdivp instruction.
38141
38142 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38143
38144         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38145         * elf/tst-auditmod3b.c: Likewise.
38146         * elf/tst-auditmod4b.c: Likewise.
38147         * elf/tst-auditmod5b.c: Likewise.
38148         * elf/tst-auditmod6b.c: Likewise.
38149         * elf/tst-auditmod6c.c: Likewise.
38150         * elf/tst-auditmod7b.c: Likewise.
38151         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38152         * sysdeps/x86_64/preconfigure.in: Likewise.
38153         * sysdeps/x86_64/preconfigure: Regenerated.
38154
38155 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38156
38157         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38158         __ILP32__.
38159
38160 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
38161
38162         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38163         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38164
38165 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
38166
38167         [BZ #13973]
38168         * locale/iso-639.def: Fix gl language name. Spotted by
38169         Yaron Shahrabani.
38170
38171 2012-04-12  Roland McGrath  <roland@hack.frob.com>
38172
38173         [BZ #2074]
38174         * libio/libio.h (__io_write_fn): Update comment.
38175
38176 2012-04-12  Petr Baudis  <pasky@ucw.cz>
38177
38178         [BZ #2074]
38179         * stdio.texi (Hook Functions): The user provided writer function
38180         is not allowed to return -1.
38181
38182 2012-04-11  David S. Miller  <davem@davemloft.net>
38183
38184         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38185
38186 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
38187
38188         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38189         Add a leading slash to rtkaio.
38190
38191 2012-04-11  Jim Meyering  <meyering@redhat.com>
38192
38193         [BZ #11959]
38194         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38195         It is not necessarily an error to ignore fwrite's return
38196         value.  One can reliably use ferror to test for errors after
38197         the fact.
38198
38199 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38200
38201         * bits/types.h (__snseconds_t): New type.
38202         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38203
38204         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38205         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38206         (__SNSECONDS_T_TYPE): Likewise.
38207         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38208         (__SNSECONDS_T_TYPE): Likewise.
38209         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38210         (__SNSECONDS_T_TYPE): Likewise.
38211
38212 2012-04-10  Andreas Jaeger  <aj@suse.de>
38213
38214         [BZ #2636]
38215         * manual/time.texi (Processor Time): Return type of times is
38216         elapsed real time since an arbitrary point in the past.
38217         (CPU Time): Move CLK_TCK from here...
38218         (Processor Time): ...to here.  Correct description.
38219         * manual/conf.texi (Constants for Sysconf): Correct description of
38220         _SC_CLK_TCK.
38221
38222 2012-04-10  David S. Miller  <davem@davemloft.net>
38223
38224         [BZ #13967]
38225         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38226         where the is a gap between DT_REL(A) and DT_JMPREL.
38227
38228 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38229
38230         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38231         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38232         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38233
38234 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38235
38236         * elf/dl-support.c (_dl_inhibit_cache): New variable.
38237         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38238         (dl_main): Handle --inhibit-cache.
38239         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38240         _dl_inhibit_cache.
38241         * elf/dl-load.c (_dl_map_object): Use it.
38242         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38243
38244 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38245
38246         [BZ #13872]
38247         * sysdeps/i386/fpu/e_powl.S (p78): New object.
38248         (__ieee754_powl): Saturate large exponents rather than testing for
38249         overflow of y*log2(x).
38250         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38251         * math/libm-test.inc (pow_test): Do not permit spurious overflow
38252         exceptions.
38253
38254         [BZ #11521]
38255         * math/s_ctan.c: Include <float.h>.
38256         (__ctan): Avoid internal overflow or cancellation in calculating
38257         denominator.
38258         * math/s_ctanf.c: Likewise.
38259         * math/s_ctanl.c: Likewise.
38260         * math/s_ctanh.c: Likewise.
38261         * math/s_ctanhf.c: Likewise.
38262         * math/s_ctanhl.c: Likewise.
38263         * math/libm-test.inc (ctan_test): Add more tests.
38264         (ctanh_test): Likewise.
38265         * sysdeps/i386/fpu/libm-test-ulps: Update.
38266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38267
38268 2012-04-09  Andreas Jaeger  <aj@suse.de>
38269
38270         [BZ #6894]
38271         * manual/filesys.texi (Directory Entries): Mention that d_namlen
38272         is an optional BSD extension.
38273
38274         [BZ #10254]
38275         * manual/stdio.texi (Opening Streams): Document additional fopen
38276         parameters.
38277
38278 2012-04-09  Roland McGrath  <roland@hack.frob.com>
38279
38280         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38281         %eax without telling the compiler.
38282
38283 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
38284
38285         [BZ # 13963]
38286         * manual/install.texi: Use sourceware.org.
38287
38288 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38289
38290         [BZ #13873]
38291         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38292         (__ieee754_pow): Generate overflow and underflow using huge*huge
38293         and tiny*tiny rather than just returning constant infinity or zero
38294         for large exponents.
38295         * math/libm-test.inc (pow_test): Require overflow exceptions for
38296         applicable cases of large exponents.
38297
38298         [BZ #706]
38299         * sysdeps/i386/fpu/e_pow.S (p10): New object.
38300         (__ieee754_pow): Use iterative multiplication algorithm only for
38301         integer exponents with absolute value below 1024.  Check for odd
38302         integer exponents when using algorithm for real exponents.
38303         * math/libm-test.inc (pow_test): Add more tests.
38304         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38305
38306 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
38307
38308         [BZ #13705]
38309         * math/libm-test.inc (exp_test): Do not allow overflow exception
38310         on underflow test.
38311
38312 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
38313
38314         [BZ #13705]
38315         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38316         instead of __kernel_standard_f.
38317
38318 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
38319
38320         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38321         * sysdeps/x86_64/memset_chk.S: Likewise.
38322
38323 2012-04-08  Andreas Jaeger  <aj@suse.de>
38324
38325         [BZ #10153]
38326         * manual/startup.texi (Environment Access): Describe return value
38327         for putenv and setenv.
38328
38329         [BZ #6895]
38330         * manual/filesys.texi (Directory Entries): Add description for
38331         DT_LNK.
38332
38333         [BZ #6890]
38334         * manual/filesys.texi (Directory Entries): Clarify that it's file
38335         system not operating system in the description of DT_UNKNOWN.
38336
38337         [BZ #6578]
38338         * manual/syslog.texi (closelog): Fix reference, it's openlog.
38339
38340 2012-04-08  Stephen Compall  <s11@member.fsf.org>
38341
38342         [BZ #6649]
38343         * manual/llio.texi (Opening and Closing Files): Add cross
38344         reference to explain mode argument.
38345
38346 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
38347
38348         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38349         * sysdeps/x86_64/memset_chk.S: Likewise.
38350
38351 2012-04-07  David S. Miller  <davem@davemloft.net>
38352
38353         * elf/elf.h (R_SPARC_WDISP10): Define.
38354         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38355         R_SPARC_SIZE32.
38356         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38357         R_SPARC_SIZE64 and R_SPARC_H34.
38358
38359 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
38360
38361         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38362         conditions and remove no longer applicable assertion.
38363
38364 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38365
38366         * bits/byteswap.h: Include <features.h>.
38367         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38368         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38369
38370 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38371
38372         * bits/byteswap.h (__bswap_16): Removed.
38373         Include <bits/byteswap-16.h> to get __bswap_16.
38374         * sysdeps/i386/bits/byteswap.h: Likewise.
38375         * sysdeps/s390/bits/byteswap.h: Likewise.
38376         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38377         * bits/byteswap-16.h: New file.
38378         * sysdeps/i386/bits/byteswap-16.h: Likewise.
38379         * sysdeps/s390/bits/byteswap-16.h: Likewise.
38380         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38381         * string/Makefile (headers): Add bits/byteswap-16.h.
38382
38383 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
38384
38385         [BZ #13895]
38386         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38387         extra indirection.
38388         * nss/Makefile (tests-static, tests): Add tst-nss-static.
38389         * nss/tst-nss-static.c: New.
38390
38391 2012-04-06  Robert Millan  <rmh@gnu.org>
38392
38393         [BZ #6486]
38394         * manual/llio.texi (File Position Primitive): lseek
38395         refers to WHENCE when it really means OFFSET.
38396
38397 2012-04-06  Andreas Jaeger  <aj@suse.de>
38398
38399         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38400         strncmp declarations.
38401
38402         * abilist/libc.abilist: Add __poll and __ppoll.
38403
38404 2012-04-05  David S. Miller  <davem@davemloft.net>
38405
38406         * scripts/check-local-headers.sh: Accept a host triplet in the
38407         path matched by the exclude regexp.
38408
38409         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38410         definition.
38411         * sysdeps/powerpc/powerpc32/dl-machine.h
38412         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38413         * sysdeps/s390/s390-32/dl-machine.h
38414         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38415         * sysdeps/sparc/sparc32/dl-machine.h
38416         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38417         * sysdeps/sparc/sparc64/dl-machine.h
38418         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38419
38420         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38421         lazy binding.
38422         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38423         undefined symbol errors.
38424
38425         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38426         DT_NEEDED entries.
38427
38428 2012-04-05  Michael Matz  <matz@suse.de>
38429
38430         [BZ #13592]
38431         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38432
38433 2012-04-05  Andreas Jaeger  <aj@suse.de>
38434
38435         [BZ #13908]
38436         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38437         comment.
38438
38439 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38440
38441         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38442         which ROUND is no valid rounding mode.
38443
38444 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38445
38446         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38447         read again.
38448         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38449
38450 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38451
38452         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38453         an exception using FPU order intentionally.
38454
38455 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38456
38457         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38458         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38459         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38460         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38461
38462 2012-04-05  Simon Josefsson  <simon@josefsson.org>
38463
38464         [BZ #12340]
38465         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38466         EINVAL when BUFLEN is too smal.
38467
38468 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
38469
38470         [BZ #13553]
38471         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38472         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38473
38474 2012-04-03  Andreas Jaeger  <aj@suse.de>
38475
38476         [BZ #13938]
38477         * manual/setjmp.texi (System V contexts): Fix sentence.
38478
38479         [BZ #13926]
38480         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38481         New macro for this case.
38482         [!__GNUC__] (__bswap_64): New inline function for this case.
38483         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38484         * bits/byteswap.h: Likewise.
38485         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38486         ull, guard with __GLIBC_HAVE_LONG_LONG.
38487
38488         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38489         __GLIBC_HAVE_LONG_LONG.
38490
38491         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38492         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38493
38494 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38495
38496         [BZ #13691]
38497         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38498         inptr and inend, rather than using last_ch.
38499
38500 2012-04-02  David S. Miller  <davem@davemloft.net>
38501
38502         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38503         * stdio-common/printf-parse.h (read_int): Change return type to
38504         'int', return -1 on INT_MAX overflow.
38505         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38506         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
38507         overflows INT_MAX.  Check for overflow of in-format-string precision
38508         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
38509         SIZE_MAX not INT_MAX for integer overflow test.
38510         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38511         skip the construct in the format string but do not record anything.
38512         * stdio-common/bug22.c: Adjust to test both width/prevision
38513         INT_MAX overflow as well as total length INT_MAX overflow.  Check
38514         explicitly for proper errno values.
38515
38516 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
38517
38518         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38519         CHAR_MAX.
38520         * string/test-strcmp.c [! WIDE]: Likewise.
38521         * time/tst-mktime2.c: Likewise for INT_MAX.
38522         * string/test-string.h: #include <sys/param.h> for MIN.
38523
38524         * csu/init-first.c (__libc_init_first): Call __ctype_init.
38525         * sysdeps/i386/init-first.c (init): Likewise.
38526         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38527         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38528         * sysdeps/sh/init-first.c (init): Likewise.
38529
38530 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
38531
38532         * po/ru.po: Update from translation team.
38533         * po/vi.po: Likewise.
38534
38535 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38536
38537         * resolv/nss_dns/dns-host.c: Merge copyright years.
38538
38539 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38540
38541         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38542         Optimize memcpy with prefetch if
38543         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
38544         src, dst pointers have unequal 16 byte alignments.
38545
38546 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38547
38548         [BZ #13928]
38549         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38550         from a CNAME entry and return the minimum ttl for the query.
38551         (gaih_getanswer_slice): Likewise.
38552
38553 2012-03-30  Jeff Law  <law@redhat.com>
38554
38555         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38556         due to long keys.
38557         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38558         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38559
38560         * resolv/nss_dns/dns-host.c: Update copyright year.
38561
38562 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
38563
38564         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38565         requests to save a system call.  Fix check that all bytes are sent.
38566
38567         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38568         comments for sendmmsg.
38569
38570 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38571
38572         [BZ #13691]
38573         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38574         with only 1 character between 0x0041 and 0x01b0.
38575         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38576         * wcsmbs/tst-mbsnrtowcs.c: New file.
38577
38578 2012-03-29  David S. Miller  <davem@davemloft.net>
38579
38580         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38581         small copies by hand.
38582
38583 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38584
38585         [BZ #13761]
38586         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38587         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38588         group memberships.
38589
38590 2012-03-28  David S. Miller  <davem@davemloft.net>
38591
38592         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38593         that branches into memcpy.
38594         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38595         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38596         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38597         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38598         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38599         bits.
38600         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38601         implementation too.
38602         * sysdeps/sparc/mempcpy.S: New file.
38603
38604         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38605         the IFUNC routine in the libc case.
38606         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38607
38608         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38609         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38610         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38611         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38612         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38613         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38614         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38615         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38616
38617         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38618         loop to 256 bytes instead of 64 bytes and fix test signedness.
38619
38620         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38621         * sysdeps/sparc/sparc32/Makefile: rather than here...
38622         * sysdeps/sparc/sparc64/Makefile: and here.
38623
38624 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
38625
38626         * malloc/mallocbug.c: Avoid warnings about unused variables.
38627
38628 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38629
38630         [BZ #13760]
38631         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38632         in the right place. Discard and retry query if response is
38633         larger than input buffer size.
38634
38635 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
38636
38637         [BZ #369]
38638         [BZ #2678]
38639         [BZ #3866]
38640         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38641         x for large integer exponent.
38642         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38643         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
38644         sign of result as needed afterwards.
38645         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38646         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38647         result for underflowing pow the same as for overflow.
38648         (__kernel_standard_l): Handle powl overflow and underflow here
38649         rather than calling __kernel_standard.
38650         * math/libm-test.inc (pow_test): Add more tests.
38651
38652         [BZ #3868]
38653         [BZ #13879]
38654         [BZ #13910]
38655         [BZ #13911]
38656         [BZ #13912]
38657         [BZ #13913]
38658         [BZ #13915]
38659         [BZ #13916]
38660         [BZ #13917]
38661         [BZ #13918]
38662         [BZ #13919]
38663         [BZ #13920]
38664         [BZ #13921]
38665         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38666         * sysdeps/ieee754/k_standard.c: Include <float.h>.
38667         (__kernel_standard_l): New function.
38668         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38669         __kernel_standard.
38670         * math/w_acosl.c (__acosl): Likewise.
38671         * math/w_asinl.c (__asinl): Likewise.
38672         * math/w_atan2l.c (__atan2l): Likewise.
38673         * math/w_atanhl.c (__atanhl): Likewise.
38674         * math/w_coshl.c (__coshl): Likewise.
38675         * math/w_exp10l.c (__exp10l): Likewise.
38676         * math/w_exp2l.c (__exp2l): Likewise.
38677         * math/w_fmodl.c (__fmodl): Likewise.
38678         * math/w_hypotl.c (__hypotl): Likewise.
38679         * math/w_j0l.c (__j0l, __y0l): Likewise.
38680         * math/w_j1l.c (__j1l, __y1l): Likewise.
38681         * math/w_jnl.c (__jnl, __ynl): Likewise.
38682         * math/w_lgammal.c (__lgammal): Likewise.
38683         * math/w_log10l.c (__log10l): Likewise.
38684         * math/w_log2l.c (__log2l): Likewise.
38685         * math/w_logl.c (__logl): Likewise.
38686         * math/w_powl.c (__powl): Likewise.
38687         * math/w_remainderl.c (__remainderl): Likewise.
38688         * math/w_scalbl.c (sysv_scalbl): Likewise.
38689         * math/w_sinhl.c (__sinhl): Likewise.
38690         * math/w_sqrtl.c (__sqrtl): Likewise.
38691         * math/w_tgammal.c (__tgammal): Likewise.
38692         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38693         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38694         * math/libm-test.inc (acos_test): Add more tests.
38695         (acosh_test): Likewise.
38696         (asin_test): Likewise.
38697         (atanh_test): Likewise.
38698         (exp_test): Likewise.
38699         (exp10_test): Likewise.
38700         (exp2_test): Likewise.
38701         (expm1_test): Likewise.
38702         (lgamma_test): Likewise.
38703         (log_test): Likewise.
38704         (log10_test): Likewise.
38705         (log1p_test): Likewise.
38706         (log2_test): Likewise.
38707         (pow_test): Do not allow some spurious overflow exceptions.
38708         (sqrt_test): Add more tests.
38709         (tgamma_test): Likewise.
38710         (y0_test): Likewise.
38711         (y1_test): Likewise.
38712         (yn_test): Likewise.
38713
38714 2012-03-27  Anton Blanchard  <anton@samba.org>
38715
38716         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38717         MAP_HUGETLB.
38718         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38719         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38720         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38721
38722 2012-03-27  David S. Miller  <davem@davemloft.net>
38723
38724         * conform/Makefile: Run run-conformtest.sh using $(BASH).
38725
38726         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38727         have-as-vis3 check.
38728
38729 2012-03-27  Andreas Jaeger  <aj@suse.de>
38730
38731         * sysdeps/x86_64/elf/configure.in: Moved to ...
38732         * sysdeps/x86_64/configure.in: ... here.
38733         * sysdeps/x86_64/elf/start.S: Moved to ...
38734         * sysdeps/x86_64/start.S: ... here.
38735         * sysdeps/x86_64/elf/configure: Delete.
38736
38737         * sysdeps/x86_64/configure.in: Merge contents from
38738         sysdeps/i386/configure.in (without i686 check).
38739
38740         * sysdeps/i386/elf/Versions: Merge into ...
38741         * sysdeps/i386/Versions: ... this.
38742         * sysdeps/i386/elf/Versions: Delete file.
38743         * sysdeps/i386/elf/start.S: Moved to ...
38744         * sysdeps/i386/start.S: ...here.
38745         * sysdeps/i386/elf/configure.in: Merge into...
38746         * sysdeps/i386/configure.in: ...here.
38747         * sysdeps/i386/elf/configure.in: Delete file.
38748         * sysdeps/i386/elf/configure: Delete file.
38749
38750         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38751         * debug/backtracesyms.c: ... here.
38752         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38753         * debug/backtracesymsfd.c: ... here.
38754         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38755         * sysdeps/generic/ifunc-sel.h: ... here.
38756
38757         * sysdeps/unix/i386/start.c: Delete file.
38758         * sysdeps/unix/sparc/start.c: Delete file.
38759         * sysdeps/unix/start.c: Delete file.
38760
38761         * sysdeps/sh/elf/configure.in: Moved to ...
38762         * sysdeps/sh/configure.in: ... here.
38763         * sysdeps/sh/elf/start.S: Moved to ...
38764         * sysdeps/sh/start.S: ... here.
38765         * sysdeps/sh/elf/configure: Delete file.
38766
38767         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38768         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38769         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38770         * sysdeps/powerpc/powerpc64/entry.h: ... here.
38771         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38772         * sysdeps/powerpc/powerpc64/start.S: here.
38773         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38774         * sysdeps/powerpc/powerpc64/Makefile: ... this.
38775         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38776         * sysdeps/powerpc/powerpc64/configure.in: ... this.
38777         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38778
38779         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38780         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38781         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38782         * sysdeps/powerpc/powerpc32/start.S: ... here.
38783         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38784         * sysdeps/powerpc/powerpc32/configure.in: ... this.
38785         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38786
38787         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38788         * sysdeps/powerpc/ifunc-sel.h: ... here.
38789         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38790         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38791
38792         * sysdeps/sparc/elf/configure.in: Moved to ...
38793         * sysdeps/sparc/configure.in: ... here.
38794         * sysdeps/sparc/elf/configure: Delete file.
38795         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38796         * sysdeps/sparc/sparc32/start.S: ... here.
38797         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38798         * sysdeps/sparc/sparc64/start.S: ... here.
38799         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38800         * sysdeps/sparc/sparc32/Makefile: ... this.
38801         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38802         * sysdeps/sparc/sparc64/Makefile: ... this.
38803
38804         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38805         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38806         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38807         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38808         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38809         * sysdeps/s390/s390-32/setjmp.S: ... here.
38810         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38811         * sysdeps/s390/s390-32/configure.in: ... here.
38812         * sysdeps/s390/s390-32/elf/configure: Delete file.
38813         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38814         * sysdeps/s390/s390-32/start.S: ... here.
38815
38816         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38817         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38818         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38819         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38820         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38821         * sysdeps/s390/s390-64/setjmp.S: ... here.
38822         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38823         * sysdeps/s390/s390-64/configure.in: ... here
38824         * sysdeps/s390/s390-64/elf/configure: Delete file.
38825         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38826         * sysdeps/s390/s390-64/start.S: ... here.
38827         * sysdeps/s390/s390-64/elf/configure: Delete.
38828
38829         * configure.in: Remove support for elf directories in sysdeps.
38830
38831         * configure: Regenerated.
38832         * sysdeps/i386/configure: Regenerated.
38833         * sysdeps/powerpc/powerpc32/configure: Regenerated.
38834         * sysdeps/powerpc/powerpc64/configure: Regenerated.
38835         * sysdeps/s390/s390-32/configure: Regenerated.
38836         * sysdeps/s390/s390-64/configure: Regenerated.
38837         * sysdeps/sh/configure: Regenerated.
38838         * sysdeps/sparc/configure: Regenerated.
38839         * sysdeps/x86_64/configure: Regenerated.
38840
38841 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
38842
38843         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38844
38845         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38846         denormal result into account.
38847
38848 2012-03-25  Roland McGrath  <roland@hack.frob.com>
38849
38850         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38851         Reported by Allan McRae <allan@archlinux.org>.
38852
38853 2012-03-23  Jeff Law  <law@redhat.com>
38854
38855         * nss/getnssent.c (__nss_getent): Fix typo.
38856
38857 2012-03-23  David S. Miller  <davem@davemloft.net>
38858
38859         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38860
38861 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
38862
38863         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38864         to pad to uint64_t for each field.
38865         (dl_tls_index): Replace unsigned long with uint64_t.
38866
38867 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
38868         Paul Pluzhnikov  <ppluzhnikov@google.com>
38869
38870         [BZ #6528]
38871         * grp/Makefile (otherlibs): Don't set it.
38872         * inet/Makefile (otherlibs): Likewise.
38873         * login/Makefile (otherlibs): Likewise.
38874         * nscd/Makefile (otherlibs): Likewise.
38875         * posix/Makefile (otherlibs): Likewise.
38876         * pwd/Makefile (otherlibs): Likewise.
38877         * rt/Makefile (otherlibs): Likewise.
38878         * sunrpc/Makefile (otherlibs): Likewise.
38879         * nss/Makefile (otherlibs): Likewise.
38880         Add libnss_files to routines and static-only-routines.
38881         ($(objpfx)getent): Remove rule.
38882         * resolv/Makefile: Add libnss_dns and libresolv to routines and
38883         static-only-routines.
38884
38885 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
38886
38887         [BZ #13892]
38888         * math/s_cexp.c: Include <float.h>.
38889         (__cexp): Handle exp result overflowing not necessarily
38890         overflowing both real and imaginary parts of result.
38891         * math/s_cexpf.c: Likewise.
38892         * math/s_cexpl.c: Likewise.
38893         * math/libm-test.inc (cexp_test): Add more tests.
38894         * sysdeps/i386/fpu/libm-test-ulps: Update.
38895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38896
38897 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38898
38899         * include/link.h (ELFW): New macro.
38900         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38901         Replace ELF64_R_TYPE with ELFW(R_TYPE).
38902
38903 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38904
38905         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38906         with uint64_t.
38907
38908 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38909
38910         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38911         declaration.
38912         (struct La_x32_retval): Likewise.
38913
38914 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38915
38916         * sysdeps/x86_64/preconfigure.in: New file.
38917         * sysdeps/x86_64/preconfigure: New generated file.
38918
38919 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
38920
38921         [BZ #13824]
38922         * math/e_exp2l.c: Include <float.h>.
38923         (__ieee754_exp2l): Handle overflow and underflow cases
38924         separately.  Only pass fractional part of argument to
38925         __ieee754_expl.
38926         * math/libm-test.inc (exp2_test): Add more tests.
38927
38928         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38929         negating x to take absolute value.
38930         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38931         Likewise.
38932         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38933         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38934         Likewise.
38935         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38936         computing low part if x was negated.
38937         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38938
38939 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38940
38941         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38942         la_x32_gnu_pltexit.
38943         (pltexit): Cast int_retval to ptrdiff_t.
38944         * elf/tst-auditmod3b.c: Likewise.
38945         * elf/tst-auditmod4b.c: Likewise.
38946         * elf/tst-auditmod5b.c: Likewise.
38947         * elf/tst-auditmod6b.c: Likewise.
38948         * elf/tst-auditmod6c.c: Likewise.
38949         * elf/tst-auditmod7b.c: Likewise.
38950
38951         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38952         and x32_gnu_pltexit.
38953
38954         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38955         __ELF_NATIVE_CLASS.
38956         (La_x32_regs): New macro.
38957         (La_x32_retval): Likewise.
38958         (la_x32_gnu_pltenter): New function prototype.
38959         (la_x32_gnu_pltexit): Likewise.
38960
38961 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
38962
38963         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38964         exponent.
38965
38966         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38967
38968         * configure.in (libc_cv_cc_nofma): Check for option to disable
38969         generation of FMA instructions.
38970         * configure: Regenerate.
38971         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38972         * sysdeps/ieee754/dbl-64/Makefile: New file.
38973         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38974         Remove brandred-fma4.
38975         (CFLAGS-brandred-fma4.c): Remove.
38976         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38977         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38978         define.
38979         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38980         define.
38981
38982 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38983
38984         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38985         LLONG_MAX != LONG_MAX.
38986         (_itoa_word): Use _ITOA_WORD_TYPE on value.
38987         (_fitoa_word): Likewise.
38988         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38989         LLONG_MAX != LONG_MAX.
38990         * stdio-common/_itowa.h: Include <_itoa.h>.
38991         (_itowa_word): Use _ITOA_WORD_TYPE on value.
38992         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
38993         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
38994         only if not defined.
38995         (_ITOA_WORD_TYPE): Likewise.
38996         (_itoa_word): Use _ITOA_WORD_TYPE on value.
38997         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38998
38999 2012-03-21  David S. Miller  <davem@davemloft.net>
39000
39001         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39002
39003 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39004
39005         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39006         of x86_64 when setting libc_cv_slibdir, libdir and
39007         libc_cv_localedir.
39008         * sysdeps/unix/sysv/linux/configure: Regenerated.
39009
39010 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39011
39012         * manual/lang.texi (Old Varargs): Remove section.
39013         (How Variadic): Update menu.
39014         (va_start): Do not mention varargs.h.
39015
39016 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39017             Joseph Myers  <joseph@codesourcery.com>
39018
39019         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39020         link test.
39021         * configure: Regenerated.
39022
39023 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39024
39025         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39026         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39027         conformtest.pl
39028
39029 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39030
39031         * NOTES: Remove.
39032         * Makefile (files-for-dist): Remove NOTES.
39033         (NOTES): Remove rule.
39034         * README: Don't refer to NOTES.
39035         * manual/creature.texi: Don't include macros.texi.
39036         * manual/intro.texi (creature.texi): Remove comment referring to
39037         NOTES.
39038
39039         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39040         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39041         * configure: Regenerated.
39042         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39043         LIBC_TRY_CC_OPTION.
39044         (libc_cv_as_i686): Likewise.
39045         (libc_cv_cc_avx): Likewise.
39046         (libc_cv_cc_sse2avx): Likewise.
39047         (libc_cv_cc_fma4): Likewise.
39048         (libc_cv_cc_novzeroupper): Likewise.
39049         * sysdeps/i386/configure: Regenerated.
39050
39051         [BZ #13883]
39052         * sysdeps/i386/fpu/s_cexp.S: Remove.
39053         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39054         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39055         * math/libm-test.inc (cexp_test): Add more tests.
39056         * sysdeps/i386/fpu/libm-test-ulps: Update.
39057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39058
39059 2012-03-21  Allan McRae  <allan@archlinux.org>
39060
39061         * timezone/Makefile: Do not install iso3166.tab and zone.tab
39062
39063 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39064
39065         [BZ #13871]
39066         * math/w_exp2.c: Do not include <float.h>.
39067         (o_threshold, u_threshold): Remove.
39068         (__exp2): Calculate result before checking finiteness and calling
39069         __kernel_standard.
39070         * math/w_exp2f.c: Likewise.
39071         * math/w_exp2l.c: Likewise.
39072         * math/libm-test.inc (exp2_test): Require overflow exception for
39073         1e6 input.
39074
39075         [BZ #3866]
39076         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39077         range of signed 64-bit integers before using fistpll.  Remove
39078         checks for whether integers fit in mantissa bits.
39079         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39080         the range of signed 32-bit integers before using fistpl.  Remove
39081         checks for whether integers fit in mantissa bits.
39082         * sysdeps/i386/fpu/e_powl.S (p64): New object.
39083         (__ieee754_powl): Test for y outside the range of signed 64-bit
39084         integers before using fistpll.  Reduce 64-bit values to 63-bit
39085         ones as needed.
39086         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39087         divide-by-zero is raised for zero to large negative powers.
39088         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39089         (__ieee754_powl): Test for y outside the range of signed 64-bit
39090         integers before using fistpll.  Reduce 64-bit values to 63-bit
39091         ones as needed.
39092         * math/libm-test.inc (pow_test): Add more tests.
39093
39094 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39095
39096         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39097         <stdio-common/_itoa.h>.
39098         * debug/segfault.c: Likewise.
39099         * elf/dl-cache.c: Likewise.
39100         * elf/dl-minimal.c: Likewise.
39101         * elf/dl-misc.c: Likewise.
39102         * elf/dl-sysdep.c: Likewise.
39103         * elf/dl-version.c: Likewise.
39104         * elf/rtld.c: Likewise.
39105         * hurd/hurdsock.c: Likewise.
39106         * hurd/lookup-retry.c: Likewise.
39107         * malloc/malloc.c: Likewise.
39108         * malloc/mtrace.c: Likewise.
39109         * nscd/nscd_getgr_r.c: Likewise.
39110         * nscd/nscd_getpw_r.c: Likewise.
39111         * nscd/nscd_getserv_r.c: Likewise.
39112         * posix/getopt_init.c: Likewise.
39113         * posix/wordexp.c: Likewise.
39114         * stdio-common/_itoa.c: Likewise.
39115         * stdio-common/printf_fphex.c: Likewise.
39116         * stdio-common/vfprintf.c: Likewise.
39117         * string/_strerror.c: Likewise.
39118         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39119         * sysdeps/i386/i686/hp-timing.h: Likewise.
39120         * sysdeps/mach/_strerror.c: Likewise.
39121         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39122         * sysdeps/mach/hurd/sethostid.c: Likewise.
39123         * sysdeps/mach/hurd/xmknodat.c: Likewise.
39124         * sysdeps/mach/xpg-strerror.c: Likewise.
39125         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39126         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39127         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39128         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39129         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39130         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39131         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39132         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39133         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39134         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39135         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39136         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39137         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39138         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39139         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39140         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39141         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39142         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39143         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39144         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39145         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39146
39147         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39148
39149         * stdio-common/_itoa.h: Moved to ...
39150         * sysdeps/generic/_itoa.h: Here.
39151
39152         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39153
39154         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39155         instead of "_itoa.h" and "_itowa.h".
39156         * stdio-common/vfprintf.: Likewise.
39157
39158 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39159
39160         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39161         <bits/wordsize.h>.
39162         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39163         (__signbit): Likwise.
39164         (llrintf): Likwise.
39165         (llrint): Likwise.
39166
39167 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39168
39169         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39170         __WORDSIZE != 64.
39171
39172 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
39173
39174         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39175         OVERFLOW_EXCEPTION_OK.
39176         * math/libm-test.inc ("Philosophy"): Update comment about
39177         exception testing.
39178         (OVERFLOW_EXCEPTION): Define.
39179         (OVERFLOW_EXCEPTION_OK): Likewise.
39180         (INVALID_EXCEPTION_OK): Renumber.
39181         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39182         (IGNORE_ZERO_INF_SIGN): Likewise.
39183         (test_exceptions): Handle FE_OVERFLOW.
39184         (exp10_test): Expect overflow exceptions.
39185         (exp2_test): Likewise.
39186         (expm1_test): Likewise.
39187         (nextafter_test): Likewise.
39188         (pow_test): Likewise.
39189         (scalbn_test): Likewise.
39190         (scalbln_test): Likewise.
39191
39192 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39193
39194         * sysdeps/x86_64/bits/atomic.h
39195         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39196         64bit integer.
39197         (atomic_exchange_acq): Likewise.
39198         (__arch_exchange_and_add_body): Likewise.
39199         (__arch_add_body): Likewise.
39200         (atomic_add_negative): Likewise.
39201         (atomic_add_zero): Likewise.
39202
39203 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39204
39205         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39206         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39207
39208 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39209
39210         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39211         Check __x86_64__ instead of __WORDSIZE.
39212
39213 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39214
39215         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39216
39217 2012-03-19  David S. Miller  <davem@davemloft.net>
39218
39219         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39220
39221         * sysdeps/sparc/fpu/fenv_private.h: New file.
39222         * sysdeps/sparc/fpu/math_private.h: Use it.
39223         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39224         Remove.
39225         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39226         (libc_feholdexcept_setroundl): Remove.
39227         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39228         Remove.
39229         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39230         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39231
39232 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39233
39234         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39235         int64_t instead of long int.
39236         (INSERT_WORDS64): Likwise.
39237
39238 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39239
39240         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39241         _Unwind_GetCFA return to _Unwind_Ptr first.
39242
39243 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
39244
39245         [BZ #13629]
39246         * math/s_clog.c: Include <float.h>.
39247         (__clog): Scale large or subnormal inputs.
39248         * math/s_clogf.c: Likewise.
39249         * math/s_clogl.c: Likewise.
39250         * math/s_clog10.c: Include <float.h>.
39251         (M_LOG10_2): Define.
39252         (__clog10): Scale large or subnormal inputs.
39253         * math/s_clog10f.c: Likewise.
39254         * math/s_clog10l.c: Likewise.
39255         * math/libm-test.inc (clog_test): Add more tests.
39256         (clog10_test): Likewise.
39257         * sysdeps/i386/fpu/libm-test-ulps: Update.
39258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39259
39260         [BZ #11451]
39261         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39262         x and y.
39263         * math/libm-test.inc (atan2_test): Add another test.
39264
39265         * Makerules (common-objdir-compile): Remove.
39266         * sysdeps/unix/Makefile (config-generated): Do not add
39267         $(unix-generated) to variable.
39268         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39269         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39270         Remove rule.
39271         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39272         Likewise.
39273         [generic bits/local_lim.h] (before-compile): Do not append to
39274         variable.
39275         [generic bits/local_lim.h] (common-generated): Likewise.
39276         [generic sys/param.h] (before-compile): Do not append to variable.
39277         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39278         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39279         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39280         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39281         include.
39282         [generic sys/param.h] (sys/param.h-includes): Remove variable.
39283         [generic sys/param.h] (sys/param.h-includes): Remove rule.
39284         [generic sys/param.h] ($(addprefix
39285         $(common-objpfx),$(sys/param.h-includes))): Likewise.
39286         [generic sys/param.h] (common-generated): Do not append to
39287         variable.
39288         [generic sys/param.h] (sysdep_headers): Likewise.
39289         [generic bits/errno.h] (before-compile): Do not append to
39290         variable.
39291         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39292         rule.
39293         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39294         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39295         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39296         [generic bits/errno.h] (common-generated): Do not append to
39297         variable.
39298         [generic bits/ioctls.h] (before-compile): Do not append to
39299         variable.
39300         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39301         rule.
39302         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39303         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39304         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39305         rule.
39306         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39307         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39308         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39309         [generic bits/ioctls.h] (common-generated): Do not append to
39310         variable.
39311         [generic sys/syscall.h] (syscall.h): Remove variable.
39312         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39313         rule.
39314         [generic sys/syscall.h] (before-compile): Do not append to
39315         variable.
39316         [generic sys/syscall.h] (common-generated): Likewise.
39317         * sysdeps/unix/errnos-tmpl.c: Remove file.
39318         * sysdeps/unix/errnos.awk: Likewise.
39319         * sysdeps/unix/ioctls-tmpl.c: Likewise.
39320         * sysdeps/unix/ioctls.awk: Likewise.
39321         * sysdeps/unix/mk-local_lim.c: Likewise.
39322         * sysdeps/unix/snarf-ioctls: Likewise.
39323
39324 2012-03-19  Richard Henderson  <rth@twiddle.net>
39325
39326         * sysdeps/i386/fpu/fenv_private.h: New file.
39327         * sysdeps/i386/fpu/math_private.h: Use it.
39328         (math_opt_barrier, math_force_eval): Remove.
39329         (libc_feholdexcept_setround_53bit): Remove.
39330         (libc_feupdateenv_53bit): Remove.
39331         * sysdeps/x86_64/fpu/math_private.h: Likewise.
39332         (math_opt_barrier, math_force_eval): Remove.
39333         (libc_feholdexcept): Remove.
39334         (libc_feholdexcept_setround): Remove.
39335         (libc_fetestexcept, libc_fesetenv): Remove.
39336         (libc_feupdateenv_test): Remove.
39337         (libc_feupdateenv, libc_feholdsetround): Remove.
39338         (libc_feresetround): Remove.
39339
39340         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39341         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39342
39343         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39344         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39345         (libc_feupdateenv_testl): New.
39346         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39347         (libc_feupdateenv_testf): New.
39348         (libc_feupdateenv): Use libc_feupdateenv_test.
39349         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39350         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39351
39352         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39353         (libc_feholdsetroundf, libc_feholdsetroundl): New.
39354         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39355         (libc_feresetround_noex): New.
39356         (libc_feresetround_noexf): New.
39357         (libc_feresetround_noexl): New.
39358         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39359         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39360         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39361         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39362         SET_RESTORE_ROUND.
39363         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39364         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39365         (__cos): Likewise.
39366         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39367         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39368         SET_RESTORE_ROUND_NOEX.
39369         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39370         SET_RESTORE_ROUND_NOEXF.
39371         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39372         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39373         (libc_feholdsetroundf): New.
39374         (libc_feresetround, libc_feresetroundf): New.
39375
39376         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39377         (libc_feholdexcept_setround_53bit): Convert from macro to function.
39378         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
39379
39380         * sysdeps/generic/math_private.h: Include <fenv.h>.
39381         (default_libc_feholdexcept): New.
39382         (default_libc_feholdexcept_setround): New.
39383         (default_libc_fesetenv, default_libc_feupdateenv): New.
39384         (libc_feholdexcept): Only define if undefined.
39385         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39386         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39387         (libc_feholdexcept_setroundl): Likewise.
39388         (libc_feholdexcept_setround_53bit): Likewise.
39389         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39390         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39391         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39392         (libc_feupdateenv_53bit): Likewise.
39393         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39394         (libc_feholdexcept): Convert from macro to inline function.
39395         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39396         (libc_fesetenv, libc_feupdateenv): Likewise.
39397
39398         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39399         not previously defined.
39400         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39401         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39402         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39403         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39404         * sysdeps/ieee754/flt-32/math_private.h: New file.
39405         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39406         math_private.h below SET_FLOAT_WORD.
39407         (__isnan, __isinf_ns, __finite): Remove.
39408         (__isnanf, __isinf_nsf, __finitef): Remove.
39409
39410 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
39411
39412         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39413
39414 2012-03-17  David S. Miller  <davem@davemloft.net>
39415
39416         [BZ #6471]
39417         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39418         for 2.16.
39419
39420 2012-03-16  David S. Miller  <davem@davemloft.net>
39421
39422         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39423         warnings.
39424
39425         [BZ #6471]
39426         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39427         properly.
39428         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39429         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39430         sysdep_routines when subdir is sysvipc.
39431         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39432         __getshmlba helper.
39433
39434         * sysdeps/sparc/fpu/libm-test/ulps: Update.
39435
39436 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39437
39438         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39439         [__LP64__].
39440
39441 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39442
39443         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39444         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39445         (__lround): Renamed to ...
39446         (__llround): This.  Replace long int with long long int.
39447         Define lround functions as aliases of llround functions.
39448         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39449
39450 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39451
39452         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39453         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
39454         adresses to uintptr_t.  Replace "long int" and "unsigned long
39455         int" with "greg_t" on va_arg.
39456
39457 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39458
39459         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39460         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39461
39462         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39463         Move e_machine check before EI_CLASS check.  Handle x32
39464         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39465         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39466         SKIP_EM_IA_64 and include
39467         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39468
39469         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39470         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39471         (add_system_dir): New macro.
39472
39473         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39474         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39475
39476 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39477
39478         [BZ #2551]
39479         [BZ #2552]
39480         [BZ #2553]
39481         [BZ #2554]
39482         [BZ #2562]
39483         [BZ #2563]
39484         [BZ #2565]
39485         [BZ #2566]
39486         [BZ #2576]
39487         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39488         (y0): Likewise.
39489         * math/w_j0f.c (j0f): Likewise.
39490         (y0f): Likewise.
39491         * math/w_j0l.c (__j0l): Likewise.
39492         (__y0l): Likewise.
39493         * math/w_j1.c (j1): Likewise.
39494         (y1): Likewise.
39495         * math/w_j1f.c (j1f): Likewise.
39496         (y1f): Likewise.
39497         * math/w_j1l.c (__j1l): Likewise.
39498         (__y1l): Likewise.
39499         * math/w_jn.c (jn): Likewise.
39500         (yn): Likewise.
39501         * math/w_jnf.c (jnf): Likewise.
39502         (ynf): Likewise.
39503         * math/w_jnl.c (__jnl): Likewise.
39504         (__ynl): Likewise.
39505         * math/libm-test.inc (j0_test): Add more tests.
39506         (j1_test): Likewise.
39507         (jn_test): Likewise.  Add trailing semicolon to existing test.
39508         (y0_test): Likewise.
39509         (y1_test): Likewise.
39510         * sysdeps/i386/fpu/libm-test-ulps: Update.
39511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39512
39513         [BZ #13851]
39514         [BZ #13854]
39515         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39516         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39517         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39518         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39519         (__tanl): Set errno for infinite argument.
39520         * sysdeps/i386/fpu/mptan.c: Remove.
39521         * sysdeps/i386/fpu/s_tan.S: Likewise.
39522         * sysdeps/i386/fpu/s_tanl.S: Likewise.
39523         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39524         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39525         * math/libm-test.inc (tan_test): Add more tests and enable more
39526         tests for double and long double.
39527         * sysdeps/i386/fpu/libm-test-ulps: Update.
39528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39529
39530 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
39531
39532         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39533         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39534
39535 2012-03-16  Roland McGrath  <roland@hack.frob.com>
39536
39537         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39538         * configure.in: Use it for both main tree and add-ons.
39539         * configure: Regenerated.
39540
39541 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39542
39543         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39544
39545 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39546
39547         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39548         in comment.
39549
39550         [BZ #13851]
39551         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39552         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39553         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39554         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39555         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39556         infinite argument.
39557         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39558         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39559         != 0 for prec == 2.
39560         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39561         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39562         * sysdeps/i386/fpu/s_cosl.S: Likewise.
39563         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39564         * sysdeps/i386/fpu/s_sinl.S: Likewise.
39565         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39566         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39567         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39568         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39569         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39570         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39571         * math/libm-test.inc (cos_test): Add more tests and enable more
39572         tests for long double.
39573         (sin_test): Likewise.
39574         (sincos_test): Likewise.
39575         * sysdeps/i386/fpu/libm-test-ulps: Update.
39576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39577
39578 2012-03-16  David S. Miller  <davem@davemloft.net>
39579
39580         * sysdeps/sparc/fpu/math_private.h: New file.
39581
39582 2012-03-15  David S. Miller  <davem@davemloft.net>
39583
39584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39585         file.
39586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39588         file.
39589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39590         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39591         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39592         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39593         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39594         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39595         sysdep routines.
39596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39597
39598         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39599         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39600
39601         * sysdeps/sparc/sparc-ifunc.h: New file.
39602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39603         sparc-ifunc.h
39604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39606         Likewise.
39607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39608         Likewise.
39609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39613         Likewise.
39614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39619         Likewise.
39620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39621         Likewise.
39622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39626         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39627         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39628         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39629         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39630         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39631         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39632         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39633         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39634         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39635         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39636         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39637         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39638         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39639         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39640         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39641         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39642         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39643         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39644         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39645         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39646
39647 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
39648
39649         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39650         scaling.
39651         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39652
39653 2012-03-15  Andreas Jaeger  <aj@suse.de>
39654
39655         [BZ #13852]
39656         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39657         ieee754/flt-32 implementation for sin, cos and sincos.
39658         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39659         * sysdeps/i386/fpu/s_cosf.S: Likewise.
39660         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39661         * sysdeps/i386/fpu/s_sinf.S: Likewise.
39662         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39663         ieee754/flt-32 implementation for tan.
39664
39665         * math/libm-test.inc (cos_test): Enable some large input tests for
39666         float as well
39667         (sin_test): Likewise.
39668         (sincos_test): Likewise.
39669         (tan_test): Add tests for large input.
39670
39671         * sysdeps/i386/fpu/libm-test-ulps: Update.
39672
39673 2012-03-15  Andreas Jaeger  <aj@suse.de>
39674
39675         [BZ #13658]
39676         * math/libm-test.inc (cos_test): Add more test cases.
39677         (sin_test): Likewise.
39678         (sincos_test): Likewise.
39679
39680 2012-03-15  Andreas Jaeger  <aj@suse.de>
39681
39682         [BZ #13837]
39683         * math/libm-test.inc (cos_test): Add a test case for large input
39684         value.
39685         (sin_test): Likewise.
39686         (sincos_test): Likewise.
39687
39688 2012-03-15  Andreas Jaeger  <aj@suse.de>
39689             Joseph Myers  <joseph@codesourcery.com>
39690
39691         [BZ #13658]
39692         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39693         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39694         * sysdeps/i386/fpu/branred.c: Likewise.
39695         * sysdeps/i386/fpu/dosincos.c: Likewise.
39696         * sysdeps/i386/fpu/mpa.c: Likewise.
39697         * sysdeps/i386/fpu/s_cos.S: Likewise.
39698         * sysdeps/i386/fpu/s_sin.S: Likewise.
39699         * sysdeps/i386/fpu/s_sincos.S: Likewise.
39700         * sysdeps/i386/fpu/sincos32.c: Likewise.
39701
39702         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39703         Define.
39704         (libc_feupdateenv_53bit): Define.
39705         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39706         Define.
39707         (libc_feupdateenv_53bit): Define.
39708
39709         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39710         53 bit (without extend i386 double precision).
39711
39712         * math/libm-test.inc (sincos_test): Add tests for large input.
39713         (sin): Likewise.
39714         (cos): Likewise.
39715
39716         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39717
39718 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
39719
39720         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39721
39722 2012-03-15  David S. Miller  <davem@davemloft.net>
39723
39724         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39725         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39726         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39727         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39728         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39729         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39730         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39731         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39732         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39733         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39734         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39735         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39736         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39737         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39738         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39740         file.
39741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39743         file.
39744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39746         file.
39747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39749         file.
39750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39751         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39752         fmin/fmax sysdep routines.
39753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39754
39755 2012-03-14  David S. Miller  <davem@davemloft.net>
39756
39757         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39758         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39759         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39760         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39761         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39762         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39763         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39764         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39765         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39766         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39767         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39768         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39769         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39770         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39771         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39772         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39773         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39774         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39775         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39776         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39777         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39778         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39779         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39780         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39781         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39782         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39783         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39784         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39785         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39786         routines.
39787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39788         file.
39789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39791         file.
39792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39794         file.
39795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39797         file.
39798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39800         file.
39801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39803         file.
39804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39805         file.
39806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39807         file.
39808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39809         file.
39810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39811         New file.
39812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39813         file.
39814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39815         file.
39816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39818         file.
39819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39821         file.
39822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39824         file.
39825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39827         VIS3 routines.
39828
39829         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39830         New file.
39831
39832         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39833
39834         * sysdeps/sparc/configure.in: New file.
39835         * sysdeps/sparc/configure: Generate.
39836         * configure.in (libc_cv_sparc_as_vis3): Substitute.
39837         * configure: Regenerate.
39838         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39839         * config.make.in (have-as-vis3): New.
39840         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39841         available use -Av9d instead of -Av9a.
39842         * sysdeps/sparc/sparc64/Makefile: Likewise.
39843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39845         New file.
39846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39847         file.
39848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39849         New file.
39850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39851         file.
39852         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39853         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39854         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39855         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39856         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39857
39858         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39859         fzeros/fnegs to load 0x80000000 into a float register instead of
39860         using the stack.
39861         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39862
39863 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
39864
39865         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39866         bits/syscall.h.
39867         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39868         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39869         ($(inst_includedir)/bits/syscall.h): Remove rule.
39870         ($(objpfx)bits/syscall.d): Include instead of
39871         $(objpfx)syscall-list.d.
39872         (generated): Change syscall-list.h and syscall-list.d to
39873         bits/syscall.h and bits/syscall.d.
39874
39875 2012-03-14  Roland McGrath  <roland@hack.frob.com>
39876
39877         [BZ #13846]
39878         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39879
39880 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
39881
39882         [BZ #13841]
39883         * math/s_csqrt.c: Include <float.h>.
39884         (__csqrt): Scale large or subnormal inputs.
39885         * math/s_csqrtf.c: Likewise.
39886         * math/s_csqrtl.c: Likewise.
39887         * math/libm-test.inc (csqrt_test): Add more tests.
39888         * sysdeps/i386/fpu/libm-test-ulps: Update.
39889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39890
39891         [BZ #13840]
39892         * math/libm-test.inc (hypot_test): Add more tests.
39893
39894 2012-03-13  David S. Miller  <davem@davemloft.net>
39895
39896         [BZ #13840]
39897         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39898         double-precision for the calculation instead of scaling.
39899
39900 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
39901
39902         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39903         manipulate bits before adding and subtracting TWO52[sx].
39904         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39905         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39906         Likewise.
39907         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39908
39909 2012-03-13  David S. Miller  <davem@davemloft.net>
39910
39911         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39912         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39913         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39914         rtld-global-offsets.h
39915         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39916
39917         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39918         large parameters.
39919
39920         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39921
39922         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39923         'err' in the ifdef scope in which it is actually used.
39924
39925         * nss/nss_db/db-init.c: Include string.h
39926
39927 2012-03-12  David S. Miller  <davem@davemloft.net>
39928
39929         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39930         masking out of the most significant byte of random value used.
39931         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39932         Fix coding style in previous change.
39933
39934         * sysdeps/unix/sysv/linux/kernel-features.h
39935         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39936         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39937         expression.
39938         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39939         later.
39940
39941 2012-03-11  David S. Miller  <davem@davemloft.net>
39942
39943         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39944         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39945         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39946         for 'resultvar' otherwise things get truncated on 64-bit.
39947
39948         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39949         Fix masking out of the most significant byte of random value used.
39950
39951         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39952
39953 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
39954
39955         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39956
39957 2012-03-09  David S. Miller  <davem@davemloft.net>
39958
39959         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39960         variables with appropriate CPP guards.
39961         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39962         from the frame pointer, not the stack pointer.  Correct layout
39963         comments.  Fix test on resulting framesize and the management of
39964         the outregs buffer for pltexit.  Preserve floating point return
39965         values across _dl_call_pltexit call.
39966         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39967         framesize and the management of the outregs buffer for pltexit.
39968         Preserve floating point return values across _dl_call_pltexit
39969         call.
39970         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39971         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39972         (la_sparc64_gnu_pltexit): New functions.
39973         (print_exit): Fix format string for return register value.
39974
39975 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
39976
39977         * sunrpc/Makefile (others): Add rpcgen.
39978         ($(objpfx)rpcgen): Remove special build rule and dependency on
39979         libc.
39980         * sunrpc/rpcgen.c: New file.
39981
39982 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
39983
39984         [BZ #13673]
39985         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39986         * stdio-common/bug-vfprintf-nargs.c: Likewise.
39987         * sysdeps/i386/crti.S: Likewise.
39988         * sysdeps/i386/crtn.S: Likewise.
39989         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39990         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39991         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39992         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39993         * sysdeps/sh/crti.S: Likewise.
39994         * sysdeps/sh/crtn.S: Likewise.
39995         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39996
39997         [BZ #13673]
39998         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39999         with URL.
40000         * locale/programs/locfile-kw.gperf: Likewise.
40001         * locale/programs/charmap-kw.h: Regenerated.
40002         * locale/programs/locfile-kw.h: Likewise.
40003
40004         [BZ #13673]
40005         * intl/plural.y: Replace FSF snail mail address with URL.
40006         * intl/plural.c: Regenerated.
40007
40008 2012-03-09  Richard Henderson  <rth@twiddle.net>
40009
40010         * include/math_private.h: Remove file.
40011         * math/math_private.h: Move file ...
40012         * sysdeps/generic/math_private.h: ... here.
40013
40014         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40015         * sysdeps/powerpc/fpu/math_private.h: Likewise.
40016         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40017
40018         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40019         and <math_private.h>.
40020         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40021         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40022         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40023         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40024         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40025         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40026         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40027         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40028         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40029         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40030         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40031         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40032         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40033         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40034         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40035         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40036         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40037         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40038         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40039         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40040         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40041         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40042         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40043         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40044         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40045         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40046         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40047         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40048         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40049         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40050         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40051         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40052         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40053         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40054         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40055         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40056         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40057         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40058         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40059         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40060         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40061         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40062         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40063         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40064         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40065         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40066         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40067         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40068         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40069         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40070         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40071         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40072         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40073         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40074         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40075         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40076         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40077         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40078         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40079         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40080         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40081         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40082         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40083         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40084         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40085         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40086         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40087         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40088         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40089         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40090         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40091         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40092         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40093         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40094         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40095         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40096         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40097         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40098         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40099         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40100         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40101         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40102         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40103         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40104         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40105         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40106         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40107         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40108         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40109         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40110         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40111         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40112         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40113         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40114         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40115         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40116         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40117         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40118         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40119         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40120         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40121         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40122         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40123         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40124         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40125         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40126         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40127         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40128         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40129         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40130         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40131         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40132         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40133         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40134         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40135         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40136         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40137         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40138         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40139         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40140         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40141         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40142         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40143         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40144         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40145         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40146         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40147         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40148         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40149         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40150         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40151         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40152         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40153         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40154         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40155         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40156         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40157         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40158         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40159         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40160         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40161         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40162         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40163         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40164         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40165         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40166         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40167         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40168         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40169         * sysdeps/ieee754/k_standard.c: Likewise.
40170         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40171         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40172         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40173         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40174         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40175         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40176         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40177         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40178         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40179         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40180         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40181         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40182         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40183         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40184         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40185         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40186         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40187         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40188         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40189         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40190         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40191         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40192         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40193         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40194         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40195         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40196         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40197         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40198         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40199         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40200         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40201         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40202         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40203         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40204         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40205         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40206         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40207         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40208         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40209         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40210         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40211         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40212         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40213         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40214         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40215         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40216         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40217         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40218         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40219         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40220         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40221         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40222         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40223         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40224         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40225         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40226         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40227         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40228         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40229         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40230         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40231         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40232         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40233         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40234         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40235         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40236         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40237         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40238         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40239         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40240         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40241         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40242         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40243         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40244         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40245         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40246         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40247         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40248         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40249         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40250         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40251         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40252         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40253         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40254         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40255         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40256         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40257         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40258         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40259         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40260         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40261         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40262         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40263         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40264         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40265         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40266         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40267         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40268         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40269         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40270         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40271         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40272         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40273         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40274         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40275         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40276         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40277         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40278         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40279         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40280         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40281         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40282         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40283         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40284         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40285         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40286         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40287         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40288         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40289         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40290         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40291         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40292         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40293         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40294         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40295         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40296         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40297         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40298         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40299         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40300         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40301         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40302         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40303         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40304         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40305         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40306         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40307         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40308         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40309         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40310         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40311         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40312         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40313         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40314         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40315         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40316         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40317         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40318         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40319         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40320         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40321         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40322         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40323         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40324         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40325         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40326         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40327         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40328         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40329         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40330         * sysdeps/ieee754/s_lib_version.c: Likewise.
40331         * sysdeps/ieee754/s_matherr.c: Likewise.
40332         * sysdeps/ieee754/s_signgam.c: Likewise.
40333         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40334         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40335         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40336         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40337         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40338         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40339         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40340         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40341         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40342         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40343         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40344         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40345         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40346         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40347         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40348         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40349         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40350         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40351         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40352         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40353         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40354
40355 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40356
40357         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40358         * sunrpc/rpc_main.c: Likewise.
40359         * sunrpc/rpc_svcout.c: Likewise.
40360
40361 2012-03-09  David S. Miller  <davem@davemloft.net>
40362
40363         * include/math_private.h: New file.
40364
40365 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40366
40367         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40368         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40369         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40370         from <bits/socket_type.h>.
40371         (enum __socket_type): Don't define here.
40372         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40373         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40374         bits/socket_type.h.
40375
40376         [BZ #13566]
40377         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40378         checking __USE_GNU.
40379
40380         * Makerules ($(inst_includedir)/%.h): New rule.
40381         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40382         (install-others): Remove variable setting.
40383         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40384
40385 2012-03-08  Richard Henderson  <rth@twiddle.net>
40386
40387         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40388         from macro to inline function; merge with the
40389         !__LIBC_INTERNAL_MATH_INLINES version.
40390         (__ieee754_sqrtf): Likewise.
40391
40392         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40393         to inline function.
40394         (__rintf, __floor, __floorf): Likewise.
40395
40396         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40397         macro to inline function.
40398         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40399
40400         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40401         not <math/math_private.h>.
40402
40403 2012-03-08  David S. Miller  <davem@davemloft.net>
40404
40405         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40406         copyright year.
40407         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40408
40409 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
40410
40411         * resolv/gai_misc.c (handle_requests): Fix struct timespec
40412         normalization.
40413         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40414         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40415
40416 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
40417
40418         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
40419         be defined individually, they must be defined as a block.  Define
40420         S for printing a string instead of hidint the different by using a
40421         macro for adding the 'l'.
40422         * stdio-common/tst-fphex-wide.c: Adjust.
40423
40424 2012-03-07  Marek Polacek  <polacek@redhat.com>
40425
40426         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40427
40428 2012-03-08  Marek Polacek  <polacek@redhat.com>
40429
40430         [BZ #13806]
40431         * stdio-common/Makefile (tests): Add tst-fphex-wide.
40432         * stdio-common/tst-fphex.c: Define a few macros to make the
40433         test reusable.  Use them.
40434         * stdio-common/tst-fphex-wide.c: New file.
40435
40436 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
40437
40438         [BZ #6911]
40439         * manual/macros.texi (gnusystems): New macro.
40440         (nongnusystems): Likewise.
40441         (gnulinuxhurdsystems): Likewise.
40442         (gnuhurdsystems): Likewise..
40443         (gnulinuxsystems): Likewise.
40444         * manual/charset.texi: Use new macros or @theglibc{} to refer to
40445         variants of the GNU system, not "GNU system".
40446         * manual/conf.texi: Likewise.
40447         * manual/errno.texi: Likewise.  Update example of errno macro
40448         expansion.
40449         * manual/filesys.texi: Likewise.
40450         (getumask): Document as specific to GNU/Hurd.
40451         * manual/install.texi: Likewise.  Reword some references to
40452         GNU/Linux.
40453         * manual/intro.texi: Likewise.
40454         * manual/io.texi: Likewise.
40455         (File Name Portability): Detail which constraints are inapplicable
40456         to all GNU systems and which are only inapplicable to GNU/Hurd.
40457         * manual/job.texi: Likewise.
40458         * manual/llio.texi: Likewise.
40459         (O_NOCTTY): Document as present on GNU/Linux.
40460         * manual/maint.texi: Likewise.
40461         * manual/memory.texi: Likewise.
40462         * manual/pattern.texi: Likewise.
40463         * manual/pipe.texi: Likewise.
40464         * manual/process.texi: Likewise.
40465         * manual/resource.texi: Likewise.
40466         (RUSAGE_CHILDREN): Remove statement about specifying a particular
40467         child on GNU/Hurd.
40468         * manual/setjmp.texi: Likewise.
40469         * manual/signal.texi: Likewise.
40470         * manual/startup.texi: Likewise.
40471         * manual/stdio.texi: Likewise.
40472         * manual/terminal.texi: Likewise.
40473         (ONLCR): Document as POSIX.
40474         (OXTABS): Document availability on GNU/Linux as XTABS.
40475         (ONOEOT): Document availability separately from other bits.
40476         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40477         * manual/time.texi: Likewise.
40478         * manual/users.texi: Likewise.
40479         * INSTALL: Regenerated.
40480         * sysdeps/gnu/errlist.c: Regenerated.
40481
40482         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40483         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40484         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
40485         puts.
40486         * configure: Regenerated.
40487
40488 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
40489
40490         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40491         default includes instead of AC_HEADER_CHECK.
40492         * sysdeps/i386/configure: Regenerated.
40493
40494         [BZ #10716]
40495         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40496         * math/s_cacoshf.c (__cacoshf): Likewise.
40497         * math/s_cacoshl.c (__cacoshl): Likewise.
40498         * math/s_casinh.c (__casinh): Set signs of result from argument.
40499         * math/s_casinhf.c (__casinhf): Likewise.
40500         * math/s_casinhl.c (__casinhl): Likewise.
40501         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40502         (casinh_test): Add more tests.
40503         * sysdeps/i386/fpu/libm-test-ulps: Update.
40504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40505
40506 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
40507
40508         * po/zh_TW.po: Update from translation team.
40509
40510         * login/Makefile (distribute): Remove variable.
40511         * catgets/Makefile: Likewise.
40512         * mach/Makefile: Likewise.
40513         * malloc/Makefile: Likewise.
40514         * misc/Makefile: Likewise.
40515         * iconv/Makefile: Likewise.
40516         * nscd/Makefile: Likewise.
40517         * hurd/Makefile: Likewise.
40518         * manual/Makefile: Likewise.
40519         * locale/Makefile: Likewise.
40520         * intl/Makefile: Likewise.
40521         * conform/Makefile: Likewise.
40522         * nss/Makefile: Likewise.
40523         * time/Makefile: Likewise.
40524         * soft-fp/Makefile: Likewise.
40525         * dirent/Makefile: Likewise.
40526         * gmon/Makefile: Likewise.
40527         * po/Makefile: Likewise.
40528         * rt/Makefile: Likewise.
40529         * socket/Makefile: Likewise.
40530         * math/Makefile: Likewise.
40531         * signal/Makefile: Likewise.
40532         * debug/Makefile: Likewise.
40533         * elf/Makefile: Likewise.
40534         * timezone/Makefile: Likewise.
40535         * stdlib/Makefile: Likewise.
40536         * iconvdata/Makefile: Likewise.
40537         * sunrpc/Makefile: Likewise.
40538         * io/Makefile: Likewise.
40539         * argp/Makefile: Likewise.
40540         * inet/Makefile: Likewise.
40541         * hesiod/Makefile: Likewise.
40542         * grp/Makefile: Likewise.
40543         * csu/Makefile: Likewise.
40544         * wctype/Makefile: Likewise.
40545         * crypt/Makefile: Likewise.
40546         * libio/Makefile: Likewise.
40547         * string/Makefile: Likewise.
40548         * nis/Makefile: Likewise.
40549         * resolv/Makefile: Likewise.
40550         * stdio-common/Makefile: Likewise.
40551         * wcsmbs/Makefile: Likewise.
40552         * dlfcn/Makefile: Likewise.
40553         * posix/Makefile: Likewise.
40554
40555         [BZ #6959]
40556         * timezone/Makefile: Don't install timezone files, just the programs
40557         and scripts.
40558
40559 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
40560
40561         * nss/databases.def: Add missing gshadow entry.
40562
40563         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
40564
40565 2012-03-06  Marek Polacek  <polacek@redhat.com>
40566
40567         [BZ #13726]
40568         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40569         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40570         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40571         * stdio-common/tst-long-dbl-fphex.c: New file.
40572
40573 2012-03-06  David S. Miller  <davem@davemloft.net>
40574
40575         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40576         (set_obp_int): New function.
40577         (get_obp_int): New function.
40578         (__get_clockfreq_via_dev_openprom): Likewise.
40579         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40580         Avoid unused variable warnings on 'val' and use builtin_expect.
40581         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40582         __builtin_expect.
40583         (INLINE_CLONE_SYSCALL): Likewise.
40584
40585 2012-03-05  David S. Miller  <davem@davemloft.net>
40586
40587         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40588
40589 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
40590
40591         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40592
40593         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40594         only for |x| >= 40.
40595         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40596
40597 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
40598
40599         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40600         Replace gettimeofday with __vdso_gettimeofday.
40601
40602         * sysdeps/unix/sysv/linux/x86_64/init-first.c
40603         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40604         __vdso_clock_gettime and __vdso_getcpu.
40605
40606         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40607         time with __vdso_time.
40608
40609 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
40610
40611         * manual/lang.texi (size_t): Note types to which size_t may be
40612         equivalent with the GNU C Library, but do not describe when
40613         differences between them are significant.
40614
40615 2012-03-05  Andreas Jaeger  <aj@suse.de>
40616
40617         * sysdeps/i386/fpu/libm-test-ulps: Update.
40618
40619 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
40620
40621         [BZ #3976]
40622         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40623         (__ieee754_pow): Save and restore rounding mode and use
40624         round-to-nearest for main computations.
40625         * math/libm-test.inc (pow_test_tonearest): New function.
40626         (pow_test_towardzero): Likewise.
40627         (pow_test_downward): Likewise.
40628         (pow_test_upward): Likewise.
40629         (main): Call the new functions.
40630         * sysdeps/i386/fpu/libm-test-ulps: Update.
40631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40632
40633         [BZ #3976]
40634         * math/libm-test.inc (cosh_test_tonearest): New function.
40635         (cosh_test_towardzero): Likewise.
40636         (cosh_test_downward): Likewise.
40637         (cosh_test_upward): Likewise.
40638         (sinh_test_tonearest): Likewise.
40639         (sinh_test_towardzero): Likewise.
40640         (sinh_test_downward): Likewise.
40641         (sinh_test_upward): Likewise.
40642         (main): Call the new functions.
40643         * sysdeps/i386/fpu/libm-test-ulps: Update.
40644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40645
40646 2012-03-05  Tom de Vries  <tom@codesourcery.com>
40647
40648         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40649         default stack guard is set in last bytes.
40650         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40651
40652 2012-03-05  Kees Cook  <keescook@chromium.org>
40653
40654         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40655
40656         [BZ #13656]
40657         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40658         possibly allocate from heap instead of stack.
40659         * stdio-common/bug-vfprintf-nargs.c: New file.
40660         * stdio-common/Makefile (tests): Add nargs overflow test.
40661
40662 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
40663
40664         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40665
40666 2012-03-03  Marek Polacek  <polacek@redhat.com>
40667
40668         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40669         * math/math_private.h: Likewise.
40670         * stdlib/tst-strtod.c: Likewise.
40671         * sysdeps/i386/i486/bits/atomic.h: Likewise.
40672         * sysdeps/x86_64/bits/atomic.h: Likewise.
40673
40674 2012-03-02  David S. Miller  <davem@davemloft.net>
40675
40676         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40677         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40678         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40679         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40680         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40681         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40682         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40683         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40684
40685 2012-03-02  Roland McGrath  <roland@hack.frob.com>
40686
40687         [BZ #13792]
40688         * manual/examples/README: New file, says the example source files
40689         can be used under GPL>=2.
40690         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40691         line containing just "*/".
40692         * manual/examples/add.c: Add copyright header (GPL>=2).
40693         * manual/examples/argp-ex1.c: Likewise.
40694         * manual/examples/argp-ex2.c: Likewise.
40695         * manual/examples/argp-ex3.c: Likewise.
40696         * manual/examples/argp-ex4.c: Likewise.
40697         * manual/examples/atexit.c: Likewise.
40698         * manual/examples/db.c: Likewise.
40699         * manual/examples/dir.c: Likewise.
40700         * manual/examples/dir2.c: Likewise.
40701         * manual/examples/execinfo.c: Likewise.
40702         * manual/examples/filecli.c: Likewise.
40703         * manual/examples/filesrv.c: Likewise.
40704         * manual/examples/fmtmsgexpl.c: Likewise.
40705         * manual/examples/genpass.c: Likewise.
40706         * manual/examples/inetcli.c: Likewise.
40707         * manual/examples/inetsrv.c: Likewise.
40708         * manual/examples/isockad.c: Likewise.
40709         * manual/examples/longopt.c: Likewise.
40710         * manual/examples/memopen.c: Likewise.
40711         * manual/examples/memstrm.c: Likewise.
40712         * manual/examples/mkfsock.c: Likewise.
40713         * manual/examples/mkisock.c: Likewise.
40714         * manual/examples/mygetpass.c: Likewise.
40715         * manual/examples/pipe.c: Likewise.
40716         * manual/examples/popen.c: Likewise.
40717         * manual/examples/rprintf.c: Likewise.
40718         * manual/examples/search.c: Likewise.
40719         * manual/examples/select.c: Likewise.
40720         * manual/examples/setjmp.c: Likewise.
40721         * manual/examples/sigh1.c: Likewise.
40722         * manual/examples/sigusr.c: Likewise.
40723         * manual/examples/stpcpy.c: Likewise.
40724         * manual/examples/strdupa.c: Likewise.
40725         * manual/examples/strftim.c: Likewise.
40726         * manual/examples/strncat.c: Likewise.
40727         * manual/examples/subopt.c: Likewise.
40728         * manual/examples/swapcontext.c: Likewise.
40729         * manual/examples/termios.c: Likewise.
40730         * manual/examples/testopt.c: Likewise.
40731         * manual/examples/testpass.c: Likewise.
40732         * manual/examples/timeval_subtract.c: Likewise.
40733
40734         [BZ #13792]
40735         * manual/time.texi (Elapsed Time): Move timeval_subtract example
40736         function to ...
40737         * manual/timeval_subtract.c.texi: ... here, new file.
40738
40739 2012-03-02  David S. Miller  <davem@davemloft.net>
40740
40741         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40742
40743 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
40744
40745         [BZ #3976]
40746         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40747         (__sin): Save and restore rounding mode and use round-to-nearest
40748         for all computations.
40749         (__cos): Save and restore rounding mode and use round-to-nearest
40750         for all computations.
40751         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40752         <fenv.h>.
40753         (tan): Save and restore rounding mode and use round-to-nearest for
40754         all computations.
40755         * math/libm-test.inc (cos_test_tonearest): New function.
40756         (cos_test_towardzero): Likewise.
40757         (cos_test_downward): Likewise.
40758         (cos_test_upward): Likewise.
40759         (sin_test_tonearest): Likewise.
40760         (sin_test_towardzero): Likewise.
40761         (sin_test_downward): Likewise.
40762         (sin_test_upward): Likewise.
40763         (tan_test_tonearest): Likewise.
40764         (tan_test_towardzero): Likewise.
40765         (tan_test_downward): Likewise.
40766         (tan_test_upward): Likewise.
40767         (main): Call the new functions.
40768         * sysdeps/i386/fpu/libm-test-ulps: Update.
40769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40770
40771         [BZ #10135]
40772         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40773         small n, then large n, before computing and testing k+n.
40774         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40775         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40776         Likewise.
40777         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40778         Likewise.
40779         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40780         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40781         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40782         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40783         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40784         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40785         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40786         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40787         * math/libm-test.inc (scalbn_test): Add more tests.
40788         (scalbln_test): Likewise.
40789
40790         * manual/filesys.texi (mode_t): Describe constraints on size and
40791         signedness, not exact equivalence to a particular type.
40792         (ino_t): Likewise.
40793         (ino64_t): Likewise.
40794         (dev_t): Likewise.
40795         (nlink_t): Likewise.
40796         (blkcnt_t): Likewise.
40797         (blkcnt64_t): Likewise.
40798         * manual/llio.texi (off_t): Likewise.
40799
40800         [BZ #3976]
40801         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40802         (__ieee754_exp): Save and restore rounding mode and use
40803         round-to-nearest for all computations.
40804         * math/libm-test.inc (exp_test_tonearest): New function.
40805         (exp_test_towardzero): Likewise.
40806         (exp_test_downward): Likewise.
40807         (exp_test_upward): Likewise.
40808         (main): Call the new functions.
40809         * sysdeps/i386/fpu/libm-test-ulps: Update.
40810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40811
40812 2012-03-01  Chris Demetriou  <cgd@google.com>
40813
40814         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40815         have predictable order.
40816
40817 2012-03-01  David S. Miller  <davem@davemloft.net>
40818
40819         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40820
40821         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40822         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40823         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40824         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40825
40826         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40827         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40828         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40829         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40830         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40831         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40832         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40833         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40834         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40835
40836         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40837
40838         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40839         * sysdeps/sparc/fpu/libm-test-ulps: to here.
40840         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40841
40842         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40843         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40844         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40845         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40846         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40847         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40848         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40849         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40850         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40851         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40852         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40853         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40854         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40855         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40856         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40857         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40858         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40859         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40860         * sysdeps/sparc/elf/configure: Regenerated.
40861
40862 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
40863
40864         * configure.in (AS, LD): Require binutils 2.20 or later.
40865         * configure: Regenerated.
40866         * manual/install.texi (Tools for Compilation): Give binutils 2.20
40867         as required minimum version.
40868         * INSTALL: Regenerated.
40869
40870         [BZ #2541]
40871         [BZ #4108]
40872         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40873         before squaring exponent.
40874         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40875         bottom long double and 27 bits of top long double before squaring
40876         exponent.
40877         * math/libm-test.inc (erfc_test): Add more tests.
40878         * sysdeps/i386/fpu/libm-test-ulps: Update.
40879         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40881
40882 2012-03-01  Kai Tietz  <ktietz@redhat.com>
40883
40884         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40885         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40886         containing bit-fields.
40887         * soft-fp/extended.h (_FP_UNION_E): Likewise.
40888         * soft-fp/single.h (_FP_UNION_S): Likewise.
40889         * soft-fp/double.h (_FP_UNION_D): Likewise.
40890
40891 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
40892
40893         [BZ #13786]
40894         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40895         not include ../strcmp.S.
40896         [USE_AS_STRNCASECMP_L]: Likewise.
40897         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40898         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40899         * sysdeps/i386/i686/multiarch/strncase_l-c.c
40900         (__strncasecmp_l_ia32): Define as alias to
40901         __strncasecmp_l_nonascii.
40902
40903         [BZ #5794]
40904         * math/libm-test.inc (expm1_test): Add test for bug 5794.
40905         * sysdeps/i386/fpu/libm-test-ulps: Update.
40906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40907
40908         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40910
40911 2012-02-29  Jeff Law  <law@redhat.com>
40912
40913         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40914         out of bounds read.
40915
40916 2012-02-29  Marek Polacek  <polacek@redhat.com>
40917
40918         [BZ #13706]
40919         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40920         * elf/Makefile: Add rules to run tst-unused-dep.out.
40921
40922 2012-02-28  David S. Miller  <davem@davemloft.net>
40923
40924         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40925         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40926         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40927         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40928         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40929         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40930
40931 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
40932
40933         * math/libm-test.inc (llround_test): Move one test from
40934         lround_test.  Use TEST_f_L in moved test.
40935         (lround_test): Move misplaced test to llround_test.  Add testcase
40936         from bug 2561.
40937
40938 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
40939
40940         * sysdeps/x86_64/fpu/e_expf.S: New file.
40941         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40942
40943 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
40944
40945         [BZ #13637]
40946         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40947         of remain_len that may cause incomplete multi-byte character and
40948         false match.
40949         * posix/bug-regex33.c: New file.
40950         * posix/Makefile (tests): Add bug-regex33.
40951
40952 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
40953
40954         * manual/macros.texi: New file.
40955         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40956         * manual/libc.texinfo: Include macros.texi.
40957         * manual/creatute.texi: Likewise.
40958         * manual/install.texi: Likewise.
40959         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40960         @glibcadj{} in references to the GNU C Library.
40961         * manual/charset.texi: Likewise.
40962         * manual/conf.texi: Likewise.
40963         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
40964         when not using those macros.
40965         * manual/creature.texi: Likewise.
40966         * manual/crypt.texi: Likewise.
40967         * manual/errno.texi: Likewise.
40968         * manual/filesys.texi: Likewise.
40969         * manual/header.texi: Likewise.
40970         * manual/install.texi: Likewise.
40971         * manual/intro.texi: Likewise.
40972         * manual/io.texi: Likewise.
40973         * manual/job.texi: Likewise.
40974         * manual/lang.texi: Likewise.
40975         * manual/libc.texiinfo: Likewise.
40976         * manual/llio.texi: Likewise.
40977         * manual/locale.texi: Likewise.
40978         * manual/maint.texi: Likewise.
40979         * manual/math.texi: Likewise.
40980         * manual/memory.texi: Likewise.
40981         * manual/message.texi: Likewise.
40982         * manual/nss.texi: Likewise.
40983         * manual/pattern.texi: Likewise.
40984         * manual/process.texi: Likewise.
40985         * manual/resource.texi: Likewise.
40986         * manual/search.texi: Likewise.
40987         * manual/setjmp.texi: Likewise.
40988         * manual/signal.texi: Likewise.
40989         * manual/socket.texi: Likewise.
40990         * manual/startup.texi: Likewise.
40991         * manual/stdio.texi: Likewise.
40992         * manual/string.texi: Likewise.
40993         * manual/sysinfo.texi: Likewise.
40994         * manual/syslog.texi: Likewise.
40995         * manual/terminal.texi: Likewise.
40996         * manual/time.texi: Likewise.
40997         * manual/users.texi: Likewise.
40998         * INSTALL: Regenerated.
40999         * NOTES: Regenerated.
41000         * sysdeps/gnu/errlist.c: Regenerated.
41001
41002 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
41003
41004         * include/dirent.h: Include <dirstream.h> before
41005         <dirent/dirent.h>.
41006
41007 2012-02-28  David S. Miller  <davem@davemloft.net>
41008
41009         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41010         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41011         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41012         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41013
41014 2012-02-27  David S. Miller  <davem@davemloft.net>
41015
41016         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41017         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41018         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41019         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41020
41021         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41022         frame pointer instead of stack pointer relative arg slot.
41023         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41024         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41025         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41026
41027 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
41028
41029         [BZ #3992]
41030         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41031
41032 2012-02-27  David S. Miller  <davem@davemloft.net>
41033
41034         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41035         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41036         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41037         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41038         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41039         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41040         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41041         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41042
41043 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41044
41045         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41046         later.  Allow versions 5-9.
41047         * configure: Regenerated.
41048         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41049         required minimum version and 4.6 as recommended version.  Do not
41050         mention bugs in GCC 2.7 and 2.8.
41051         * INSTALL: Regenerated.
41052
41053 2012-02-27  David S. Miller  <davem@davemloft.net>
41054
41055         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41056         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41057         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41058         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41059         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41060         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41061         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41062         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41063
41064         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41065         manipulate bits before adding and subtracting TWO112[sx].
41066         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41067
41068 2012-02-27  Roland McGrath  <roland@hack.frob.com>
41069
41070         [BZ #13775]
41071         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41072         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41073         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41074         being in POSIX, because they are in 1003.1-2008.
41075
41076         * rt/tst-aio.c: Include <fcntl.h>.
41077         * rt/tst-aio7.c: Likewise.
41078         * rt/tst-aio64.c: Likewise.
41079
41080         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41081
41082 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41083
41084         * manual/install.texi (--with-headers): Describe headers as
41085         interface headers, not private headers.
41086         (Specific advice for GNU/Linux systems): Describe use of headers
41087         from "make headers_install", not private headers from older
41088         kernels.
41089         * INSTALL: Regenerated.
41090         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41091         Change to 2.6.19.
41092         * sysdeps/unix/sysv/linux/configure: Regenerated.
41093
41094         * manual/llio.texi (fclean): Remove documentation.
41095
41096         * manual/Makefile (libc-texi-generated): New variable.  Include
41097         version.texi.
41098         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41099         $(libc-texi-generated), not duplicated list of files.
41100         (version.texi, stamp-version): New rules.
41101         (realclean): Remove $(libc-texi-generated), not individual files
41102         from that list.  Do not remove dir-add.texinfo.
41103         * manual/libc.texinfo: Comment out uses of edition numbers and
41104         references to printed manual.  Remove last-updated dates.
41105         (EDITION): Comment out.
41106         (ISBN): Likewise.
41107         (VERSION, UPDATED): Remove.
41108         (version.texi): Include.
41109
41110 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
41111
41112         * sysdeps/posix/spawni.c: Include <signal.h>.
41113         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41114         * sysdeps/pthread/aio_fsync.c: Likewise.
41115
41116 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
41117
41118         * conform/Makefile (tests): Run only when not cross-compiling and
41119         when fast-check is not defined.
41120
41121         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41122         * conform/data/limits.h-data: Fixes for POSIX2008.
41123         * conform/run-conformtest.sh: Run all tests.
41124         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41125         headers.
41126         * include/bits/dlfcn.h: Likewise.
41127         * include/langinfo.h: Likewise.
41128         * include/monetary.h: Likewise.
41129         * include/sys/poll.h: Likewise.
41130
41131         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41132         for __USE_GNU.
41133         * posix/spawn.h: Define __need_sigset_t.
41134         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41135         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41136         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
41137         to get sigevent_t only.
41138         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41139         only for __USE_GNU.
41140         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41141         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41142         process_vm_writev only for __USE_GNU.
41143         * termios/termios.h: Declare tcgetsid also for POSIX2008.
41144
41145         * conform/Makefile: For now ignore errors from run-conformtest.
41146         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
41147         POSIX to avoid namespace pollution.  Don't prepend headers.
41148         * conform/data/aio.h-data: Fixes for POSIX testing.
41149         * conform/data/fcntl.h-data: Likewise.
41150         * conform/data/glob.h-data: Likewise.
41151         * conform/data/grp.h-data: Likewise.
41152         * conform/data/pthread.h-data: Likewise.
41153         * conform/data/pwd.h-data: Likewise.
41154         * conform/data/signal.h-data: Likewise.
41155         * conform/data/spawn.h-data: Likewise.
41156         * conform/data/stdio.h-data: Likewise.
41157         * conform/data/stdlib.h-data: Likewise.
41158         * conform/data/stropts.h-data: Likewise.
41159         * conform/data/sys/mman.h-data: Likewise.
41160         * conform/data/sys/stat.h-data: Likewise.
41161         * conform/data/sys/types.h-data: Likewise.
41162         * conform/data/sys/wait.h-data: Likewise.
41163         * conform/data/time.h-data: Likewise.
41164         * conform/data/unistd.h-data: Likewise.
41165         * conform/data/utime.h-data: Likewise.
41166
41167         * io/sys/stat.h: fchmod was always in POSIX.
41168         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41169         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41170         * rt/aio.h: Define __need_timespec before including <time.h>.
41171         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41172         struct.  Add forward declaration of pthread_attr_t and use it in
41173         sigevent.
41174         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41175         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41176         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41177         always remove CLK_TCK definition.
41178
41179 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
41180
41181         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41182
41183 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
41184
41185         * conform/run-conformtest.sh: New file.
41186         * conform/Makefile: Run run-conformtest for tests.
41187         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
41188         support.
41189
41190         * conform/data/uchar.h-data: New file.
41191         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41192         * conform/data/arpa/inet.h-data: Likewise.
41193         * conform/data/assert.h-data: Likewise.
41194         * conform/data/complex.h-data: Likewise.
41195         * conform/data/cpio.h-data: Likewise.
41196         * conform/data/ctype.h-data: Likewise.
41197         * conform/data/dirent.h-data: Likewise.
41198         * conform/data/dlfcn.h-data: Likewise.
41199         * conform/data/errno.h-data: Likewise.
41200         * conform/data/fcntl.h-data: Likewise.
41201         * conform/data/float.h-data: Likewise.
41202         * conform/data/fmtmsg.h-data: Likewise.
41203         * conform/data/fnmatch.h-data: Likewise.
41204         * conform/data/ftw.h-data: Likewise.
41205         * conform/data/glob.h-data: Likewise.
41206         * conform/data/grp.h-data: Likewise.
41207         * conform/data/iconv.h-data: Likewise.
41208         * conform/data/inttypes.h-data: Likewise.
41209         * conform/data/langinfo.h-data: Likewise.
41210         * conform/data/libgen.h-data: Likewise.
41211         * conform/data/limits.h-data: Likewise.
41212         * conform/data/locale.h-data: Likewise.
41213         * conform/data/math.h-data: Likewise.
41214         * conform/data/monetary.h-data: Likewise.
41215         * conform/data/mqueue.h-data: Likewise.
41216         * conform/data/ndbm.h-data: Likewise.
41217         * conform/data/net/if.h-data: Likewise.
41218         * conform/data/netdb.h-data: Likewise.
41219         * conform/data/netinet/in.h-data: Likewise.
41220         * conform/data/nl_types.h-data: Likewise.
41221         * conform/data/poll.h-data: Likewise.
41222         * conform/data/pthread.h-data: Likewise.
41223         * conform/data/pwd.h-data: Likewise.
41224         * conform/data/regex.h-data: Likewise.
41225         * conform/data/sched.h-data: Likewise.
41226         * conform/data/search.h-data: Likewise.
41227         * conform/data/semaphore.h-data: Likewise.
41228         * conform/data/setjmp.h-data: Likewise.
41229         * conform/data/signal.h-data: Likewise.
41230         * conform/data/spawn.h-data: Likewise.
41231         * conform/data/stdarg.h-data: Likewise.
41232         * conform/data/stdio.h-data: Likewise.
41233         * conform/data/stdlib.h-data: Likewise.
41234         * conform/data/string.h-data: Likewise.
41235         * conform/data/strings.h-data: Likewise.
41236         * conform/data/stropts.h-data: Likewise.
41237         * conform/data/sys/ipc.h-data: Likewise.
41238         * conform/data/sys/mman.h-data: Likewise.
41239         * conform/data/sys/msg.h-data: Likewise.
41240         * conform/data/sys/resource.h-data: Likewise.
41241         * conform/data/sys/select.h-data: Likewise.
41242         * conform/data/sys/sem.h-data: Likewise.
41243         * conform/data/sys/shm.h-data: Likewise.
41244         * conform/data/sys/socket.h-data: Likewise.
41245         * conform/data/sys/stat.h-data: Likewise.
41246         * conform/data/sys/statvfs.h-data: Likewise.
41247         * conform/data/sys/time.h-data: Likewise.
41248         * conform/data/sys/timeb.h-data: Likewise.
41249         * conform/data/sys/times.h-data: Likewise.
41250         * conform/data/sys/types.h-data: Likewise.
41251         * conform/data/sys/uio.h-data: Likewise.
41252         * conform/data/sys/un.h-data: Likewise.
41253         * conform/data/sys/utsname.h-data: Likewise.
41254         * conform/data/sys/wait.h-data: Likewise.
41255         * conform/data/syslog.h-data: Likewise.
41256         * conform/data/tar.h-data: Likewise.
41257         * conform/data/termios.h-data: Likewise.
41258         * conform/data/utime.h-data: Likewise.
41259         * conform/data/utmpx.h-data: Likewise.
41260         * conform/data/varargs.h-data: Likewise.
41261         * conform/data/wchar.h-data: Likewise.
41262         * conform/data/wctype.h-data: Likewise.
41263         * conform/data/wordexp.h-data: Likewise.
41264
41265         * include/stropts.h: New file.
41266         * include/uchar.h: New file.
41267         * include/aio.h: Changes to allow conformtest.pl to use the headers.
41268         * include/assert.h: Likewise.
41269         * include/ctype.h: Likewise.
41270         * include/dirent.h: Likewise.
41271         * include/dlfcn.h: Likewise.
41272         * include/fcntl.h: Likewise.
41273         * include/fnmatch.h: Likewise.
41274         * include/glob.h: Likewise.
41275         * include/grp.h: Likewise.
41276         * include/libio.h: Likewise.
41277         * include/locale.h: Likewise.
41278         * include/math.h: Likewise.
41279         * include/net/if.h: Likewise.
41280         * include/netdb.h: Likewise.
41281         * include/netinet/in.h: Likewise.
41282         * include/pthread.h: Likewise.
41283         * include/pwd.h: Likewise.
41284         * include/regex.h: Likewise.
41285         * include/sched.h: Likewise.
41286         * include/search.h: Likewise.
41287         * include/setjmp.h: Likewise.
41288         * include/signal.h: Likewise.
41289         * include/stdio.h: Likewise.
41290         * include/stdlib.h: Likewise.
41291         * include/string.h: Likewise.
41292         * include/sys/cdefs.h: Likewise.
41293         * include/sys/mman.h: Likewise.
41294         * include/sys/msg.h: Likewise.
41295         * include/sys/resource.h: Likewise.
41296         * include/sys/select.h: Likewise.
41297         * include/sys/socket.h: Likewise.
41298         * include/sys/stat.h: Likewise.
41299         * include/sys/statvfs.h: Likewise.
41300         * include/sys/time.h: Likewise.
41301         * include/sys/times.h: Likewise.
41302         * include/sys/uio.h: Likewise.
41303         * include/sys/utsname.h: Likewise.
41304         * include/sys/wait.h: Likewise.
41305         * include/termios.h: Likewise.
41306         * include/time.h: Likewise.
41307         * include/ulimit.h: Likewise.
41308         * include/unistd.h: Likewise.
41309         * include/utime.h: Likewise.
41310         * include/wchar.h: Likewise.
41311         * include/wctype.h: Likewise.
41312         * include/wordexp.h: Likewise.
41313
41314         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41315
41316         * time/time.h: TIME_UTC must be a macro.
41317         Make timespec_get available for ISO C11 only as well.
41318
41319 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
41320
41321         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41322         Reported by Peng Haitao <penght@cn.fujitsu.com>.
41323
41324 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41325
41326         * configure.in: Use -o not -a in test for unsupported multi-arch.
41327
41328 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41329
41330         * manual/texinfo.tex: Update to version 2012-01-19.16.
41331
41332 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41333
41334         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41335
41336 2012-02-24  Roland McGrath  <roland@hack.frob.com>
41337
41338         [BZ #13738]
41339         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41340         * manual/fdl-1.3.texi: New file.
41341         * manual/fdl-1.1.texi: File removed.
41342
41343         [BZ #13738]
41344         * manual/libc.texinfo (FDL_VERSION): New @set.
41345         Use it for mention of FDL in cover text.
41346         (Documentation License): Use it in @include file name.
41347
41348 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41349             Roland McGrath  <roland@hack.frob.com>
41350
41351         [BZ #5461]
41352         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41353         (not LONG_LONG_MAX and LONG_LONG_MIN.
41354         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41355         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
41356         name.
41357         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41358
41359 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41360
41361         [BZ #2547]
41362         [BZ #11365]
41363         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41364         manipulate bits before adding and subtracting TWO23[sx].
41365         * math/libm-test.inc (nearbyint_test): Add more tests.
41366
41367 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41368
41369         [BZ #2548]
41370         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41371         bits before adding and subtracting TWO23[sx].
41372         * math/libm-test.inc (rint_test): Add more tests.
41373         (rint_test_tonearest): Likewise.
41374         (rint_test_towardzero): Likewise.
41375         (rint_test_downward): Likewise.
41376         (rint_test_upward: Likewise.
41377
41378 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41379
41380         [BZ #10110]
41381         * include/stdc-predef.h: New file.  Extracted from features.h.
41382         * include/features.h: Include stdc-predef.h.
41383         * Makefile (headers): Add stdc-predef.h.
41384         * CONFORMANCE (Compiler limitations): Update.
41385
41386 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41387
41388         * manual/libc.texinfo (VERSION, UPDATED): Revert.
41389
41390 2012-02-21  David S. Miller  <davem@davemloft.net>
41391
41392         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41393         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41394
41395 2012-02-20  David S. Miller  <davem@davemloft.net>
41396
41397         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41398         using a normal save/restore sequence, rather than allocating a
41399         dummy stack frame just to store a frame pointer and restore.
41400         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41401
41402 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41403
41404         * manual/install.texi: Fix stray word in line-wrapped comment.
41405
41406 2012-02-20  David S. Miller  <davem@davemloft.net>
41407
41408         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41409         both binutils and gcc support GOTDATA.
41410
41411         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41412         "rd %pc" in the PIC register setup sequences.
41413
41414         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41415         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41416         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41417         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41418         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41419         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41420         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41421         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41422         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41423         (SYSCALL_ERROR_HANDLER): Likewise.
41424         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41425         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41426         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41427         (SYSCALL_ERROR_HANDLER): Likewise.
41428
41429         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41430         (HAVE_GCC_GOTDATA): New.
41431         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41432         relocation support in both binutils and gcc.
41433         * sysdeps/sparc/elf/configure: Regenerate.
41434
41435         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41436         * sysdeps/sparc/sparc32/elf/configure: Delete.
41437         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41438         * sysdeps/sparc/sparc64/elf/configure: Delete.
41439         * sysdeps/sparc/elf/configure.in: New file.
41440         * sysdeps/sparc/elf/configure: Generate.
41441
41442         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41443         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41444         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41445         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41446         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41447
41448 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41449
41450         * manual/install.texi: Do not mention specific glibc version
41451         numbers.
41452         * manual/libc.texinfo (VERSION, UPDATED): Update.
41453         (@copying): Use @copyright{} and range of years.
41454
41455 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41456
41457         [BZ #13695]
41458         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41459         [crti.S not in sysdirs] (generated): Do not append.
41460         [crti.S not in sysdirs] (omit-deps): Likewise.
41461         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41462         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41463         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41464         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41465         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41466         Likewise.
41467         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41468         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41469         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41470         * csu/defs.awk: Remove file.
41471         * sysdeps/generic/initfini.c: Likewise.
41472         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41473         variable.
41474         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41475         Likewise.
41476
41477 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41478
41479         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41480         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41481         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41482         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41483         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41484         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41485         <bits/epoll.h>.
41486         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41487         (__EPOLL_PACKED): Define to empty if not defined by
41488         <bits/epoll.h>.
41489         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41490         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41491         bits/epoll.h.
41492
41493 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41494
41495         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41496         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41497         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41498         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41499         <bits/timerfd.h>.
41500         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41501         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41502         bits/timerfd.h.
41503
41504 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41505
41506         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41507         in C locale.
41508         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41509         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41510         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41512
41513 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
41514
41515         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41516         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41517
41518 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
41519
41520         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41521         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41522         defined.
41523         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41524         Likewise.
41525         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41526         entry for 2.16.
41527
41528 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
41529
41530         * math/w_acos.c: Use non-signaling floating-point comparisons.
41531         * math/w_acosf.c: Likewise.
41532         * math/w_acosh.c: Likewise.
41533         * math/w_acoshf.c: Likewise.
41534         * math/w_acoshl.c: Likewise.
41535         * math/w_acosl.c: Likewise.
41536         * math/w_asin.c: Likewise.
41537         * math/w_asinf.c: Likewise.
41538         * math/w_asinl.c: Likewise.
41539         * math/w_atanh.c: Likewise.
41540         * math/w_atanhf.c: Likewise.
41541         * math/w_atanhl.c: Likewise.
41542         * math/w_exp2.c: Likewise.
41543         * math/w_exp2f.c: Likewise.
41544         * math/w_exp2l.c: Likewise.
41545         * math/w_j0.c: Likewise.
41546         * math/w_j0f.c: Likewise.
41547         * math/w_j0l.c: Likewise.
41548         * math/w_j1.c: Likewise.
41549         * math/w_j1f.c: Likewise.
41550         * math/w_j1l.c: Likewise.
41551         * math/w_jn.c: Likewise.
41552         * math/w_jnf.c: Likewise.
41553         * math/w_log.c: Likewise.
41554         * math/w_log10.c: Likewise.
41555         * math/w_log10f.c: Likewise.
41556         * math/w_log10l.c: Likewise.
41557         * math/w_log2.c: Likewise.
41558         * math/w_log2f.c: Likewise.
41559         * math/w_log2l.c: Likewise.
41560         * math/w_logf.c: Likewise.
41561         * math/w_logl.c: Likewise.
41562         * math/w_sqrt.c: Likewise.
41563         * math/w_sqrtf.c: Likewise.
41564         * math/w_sqrtl.c: Likewise.
41565         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41566         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41567         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41568         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41569         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41570
41571 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41572
41573         [BZ #9739]
41574         * manual/string.texi (strnlen): Use correct parameter name in
41575         equivalent expression.
41576
41577 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41578
41579         [BZ #11174]
41580         * manual/users.texi (seteuid): Consistently use neweuid for
41581         argument name.
41582
41583 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41584
41585         [BZ #13704]
41586         * manual/nss.texi (Services in the NSS configuration): Correct
41587         list of services in example configuration file.
41588
41589 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
41590
41591         [BZ #11322]
41592         * manual/arith.texi: Remove statements about negative zero
41593         behaving identically to zero.
41594
41595 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
41596
41597         [BZ #5993]
41598         * manual/install.texi: Do not document upgrading from libc5.
41599
41600 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
41601
41602         [BZ #4596]
41603         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41604
41605 2012-02-18  David S. Miller  <davem@davemloft.net>
41606
41607         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41608         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41609         %o7 across the call.
41610         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41611         instead.
41612         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41613         SETUP_PIC_REG_LEAF.
41614         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41615         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41616         * sysdeps/sparc/crtn.S: Likewise.
41617
41618 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
41619
41620         * aout/Makefile: Remove.
41621
41622 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
41623
41624         [BZ #13058]
41625         * manual/examples/argp-ex1.c (main): Format definition in GNU
41626         style.
41627         * manual/examples/argp-ex2.c (main): Likewise.
41628         * manual/examples/argp-ex3.c (main): Likewise.
41629         * manual/examples/argp-ex4.c (main): Likewise.
41630         * manual/examples/longopt.c (main): Use new-style prototype
41631         definition.
41632         * manual/examples/strncat.c (main): Specify return type and use
41633         (void) for arguments.
41634         * manual/examples/subopt.c (main): Use char **argv argument.
41635
41636 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41637
41638         [BZ #5077]
41639         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41640         rounding modes.
41641
41642 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
41643
41644         [BZ #6907]
41645         * manual/string.texi (strchr): Change when strchrnul is
41646         recommended.
41647
41648 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
41649
41650         [BZ #174]
41651         * manual/locale.texi (setlocale): Document LOCPATH.
41652
41653 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41654
41655         [BZ #10210]
41656         * manual/process.texi (execle): Move @dots{} before last argument.
41657
41658 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
41659
41660         [BZ #12047]
41661         * manual/charset.texi (Generic Charset Conversion): Fix typo
41662         (LC_TYPE -> LC_CTYPE).
41663
41664 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
41665
41666         [BZ #5805]
41667         * manual/arith.texi (scalbn): Use @var{} on parameter names.
41668         (scalbnf): Likewise.
41669         (scalbnl): Likewise.
41670         (scalbln): Likewise.
41671         (scalblnf): Likewise.
41672         (scalblnl): Likewise.
41673         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41674         (vwarnx): Likewise.
41675         (verr): Likewise.
41676         (verrx): Likewise.
41677         * manual/filesys.texi (telldir): Use braces around return type.
41678         * manual/llio.texi (mmap): Add space after comma.
41679         (mmap64): Likewise.
41680         * manual/math.texi (jn): Use @var{} on parameter names.
41681         (jnf): Likewise.
41682         (jnl): Likewise.
41683         (yn): Likewise.
41684         (ynf): Likewise.
41685         (ynl): Likewise.
41686         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41687         line.
41688         * manual/resource.texi (ulimit): Use @dots{} instead of literal
41689         "...".
41690         (sched_get_priority_min): Remove semicolon on @deftypefun line.
41691         (sched_get_priority_max): Likewise.
41692         * manual/signal.texi (sigvec): Add space after comma.
41693         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41694         names.
41695         (if_indextoname): Likewise.
41696         (if_freenameindex): Likewise.
41697         (sendto): Use ',' instead of '.' in prototype.
41698         * manual/startup.texi (syscall): Use @dots{} instead of literal
41699         "...".
41700         * manual/stdio.texi (__fpending): Separate initial words of
41701         paragraph from @deftypefun line.
41702         * manual/syslog.texi (syslog): Use @dots{} instead of literal
41703         "...".
41704         (vsyslog): Use @var{} on parameter names.
41705         * manual/terminal.texi (stty): Use @var{} on parameter names.
41706         * manual/users.texi (getutmp): Use @var{} on parameter names.
41707         (getutmpx): Likewise.
41708
41709 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41710
41711         [BZ #6884]
41712         * manual/stdio.texi (fopen): Fix typos in description of
41713         ",ccs=STRING".
41714
41715 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
41716
41717         [BZ #4026]
41718         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41719         get clock_id definition.
41720
41721 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
41722
41723         [BZ #4822]
41724         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41725         (madvise): Cast every argument to void on its own.
41726
41727 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41728
41729         [BZ #9902]
41730         * manual/startup.texi (Exit Status): Fix typo.
41731
41732 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41733
41734         [BZ #10140]
41735         * manual/examples/argp-ex1.c: Include <stdlib.h>.
41736         * manual/examples/argp-ex2.c: Likewise.
41737         * manual/examples/argp-ex3.c: Likewise.
41738
41739 2012-02-16  Richard Henderson  <rth@redhat.com>
41740
41741         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41742         * sysdeps/s390/s390-32/initfini.c: Remove.
41743         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41744         * sysdeps/s390/s390-64/initfini.c: Remove.
41745
41746 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41747
41748         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41749         compiler output for sysdeps/generic/initfini.c.
41750         * sysdeps/sh/elf/initfini.c: Remove file.
41751
41752 2012-02-16  David S. Miller  <davem@davemloft.net>
41753
41754         [BZ #11494]
41755         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41756
41757         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41758         * sysdeps/sparc/crti.S: New file.
41759         * sysdeps/sparc/crtn.S: New file.
41760         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41761         * sysdeps/sparc/sparc64/Makefile: Likewise.
41762
41763 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
41764
41765         [BZ #3335]
41766         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41767
41768 2012-02-15  Roland McGrath  <roland@hack.frob.com>
41769
41770         [BZ #4822]
41771         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41772
41773         * mach/devstream.c (cookie_io_functions_t): Macro removed.
41774         (write, read, close): Likewise.
41775         Patch by Aurelien Jarno <aurelien@aurel32.net>.
41776
41777 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
41778
41779         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41780         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41781         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41782         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41783         <bits/signalfd.h>.
41784         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41785         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41786         bits/signalfd.h.
41787
41788 2012-02-14  Marek Polacek  <polacek@redhat.com>
41789
41790         * sysdeps/x86_64/crti.S: New file.
41791         * sysdeps/x86_64/crtn.S: New file.
41792         * sysdeps/x86_64/elf/initfini.c: Remove file.
41793
41794 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
41795
41796         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41797         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41798         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41799         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41800         <bits/inotify.h>.
41801         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41802         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41803         bits/inotify.h.
41804
41805 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
41806
41807         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41808         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41809         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41810         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41811         <bits/eventfd.h>.
41812         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41813         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41814         bits/eventfd.h.
41815
41816 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
41817
41818         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41819         __feraiseexcept instead of feraiseexcept.
41820
41821         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41822         nanosleep invocations.
41823         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41824         strings, and add error checking for a nanosleep invocations.
41825
41826 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
41827
41828         Replace FSF snail mail address with URLs, as per GNU coding standards.
41829         Most of the snail mail addresses were wrong anyway, and omitting
41830         them makes the source code easier to maintain.  Almost all of the
41831         changes are to license notices and to locale LC_IDENTIFICATION
41832         addresses, except for this one:
41833         * manual/libc.texinfo: In "Published by", give the FSF's URL,
41834         not its snail mail address.
41835
41836 2012-02-09  Richard Henderson  <rth@twiddle.net>
41837
41838         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41839         of kernel-features.h.
41840
41841         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41842
41843 2012-02-08  Marek Polacek  <polacek@redhat.com>
41844
41845         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41846         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41847         * sysdeps/gnu/_G_config.h: Likewise.
41848         * sysdeps/generic/_G_config.h: Likewise.
41849
41850 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
41851
41852         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41853         tests.
41854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41855
41856         * sysdeps/powerpc/powerpc32/crti.S: New file.
41857         * sysdeps/powerpc/powerpc32/crtn.S: New file.
41858         * sysdeps/powerpc/powerpc64/crti.S: New file.
41859         * sysdeps/powerpc/powerpc64/crtn.S: New file.
41860
41861         * Makeconfig (have-initfini): Don't set.
41862         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41863         * configure.in (nopic_initfini): Don't substitute.
41864         * config.h.in (HAVE_INITFINI): Don't #undef.
41865         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41866         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41867
41868 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
41869
41870         Support crti.S and crtn.S provided directly by architectures.
41871         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41872         [crti.S in sysdirs] (omit-deps): Likewise.
41873         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41874         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41875         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41876         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41877         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41878         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41879         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41880         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41881         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41882         compiler output for sysdeps/generic/initfini.c.
41883         * sysdeps/i386/elf/Makefile: Remove file.
41884         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41885
41886 2012-02-07  Marek Polacek  <polacek@redhat.com>
41887
41888         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41889         * sysdeps/gnu/_G_config.h: Likewise.
41890         * sysdeps/mach/hurd/_G_config.h: Likewise.
41891
41892 2012-02-07  Marek Polacek  <polacek@redhat.com>
41893
41894         * math/Makefile (tests): Add tst-CMPLX2.
41895         * math/tst-CMPLX2.c: New file.
41896
41897 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
41898
41899         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41900
41901         * math/libm-test.inc (jn_test): Add missing L suffix.
41902
41903 2012-02-06  Marek Polacek  <polacek@redhat.com>
41904
41905         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41906         * sysdeps/i386/fpu/e_powf.S: Likewise.
41907         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41908         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41909         * sysdeps/i386/fpu/e_acosh.S: Likewise.
41910         * sysdeps/i386/fpu/e_pow.S: Likewise.
41911         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41912         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41913         * sysdeps/i386/fpu/s_expm1.S: Likewise.
41914         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41915         * sysdeps/i386/fpu/e_log2.S: Likewise.
41916         * sysdeps/i386/fpu/e_log2l.S: Likewise.
41917         * sysdeps/i386/fpu/e_scalb.S: Likewise.
41918         * sysdeps/i386/fpu/e_powl.S: Likewise.
41919         * sysdeps/i386/fpu/s_log1p.S: Likewise.
41920         * sysdeps/i386/fpu/e_log10f.S: Likewise.
41921         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41922         * sysdeps/i386/fpu/e_logl.S: Likewise.
41923         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41924         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41925         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41926         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41927         * sysdeps/i386/fpu/e_log2f.S: Likewise.
41928         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41929         * sysdeps/i386/fpu/e_log.S: Likewise.
41930         * sysdeps/i386/fpu/s_cexp.S: Likewise.
41931         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41932         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41933         * sysdeps/i386/fpu/e_logf.S: Likewise.
41934         * sysdeps/i386/fpu/e_log10l.S: Likewise.
41935         * sysdeps/i386/fpu/e_atanh.S: Likewise.
41936         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41937         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41938         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41939         * sysdeps/i386/fpu/e_log10.S: Likewise.
41940         * sysdeps/i386/fpu/s_frexp.S: Likewise.
41941         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41942         * sysdeps/i386/fpu/s_asinh.S: Likewise.
41943         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41944         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41945         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41946         * sysdeps/i386/asm-syntax.h: Likewise.
41947         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41948         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41949         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41950         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41951         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41952         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41953         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41954         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41955         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41956         * sysdeps/powerpc/sysdep.h: Likewise.
41957         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41958         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41959
41960 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
41961
41962         [BZ #411]
41963         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41964
41965 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
41966
41967         * sysdeps/i386/sysdep.h: Include <features.h>.
41968         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41969         version.
41970
41971 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
41972
41973         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41974         Define.
41975         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41976         LOAD_PIC_REG_STR.
41977
41978 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
41979
41980         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41981         (SETUP_PIC_REG): Use GET_PC_THUNK.
41982         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41983         macro.
41984
41985 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
41986
41987         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41988         for non-PIC compilation.
41989         (SETUP_PIC_REG): Add .p2align directive.
41990         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41991         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41992         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41993         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41994         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41995         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41996         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41997         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41998         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41999         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42000         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42001         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42002         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42003         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42004         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42005         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42006         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42007         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42008         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42009         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42010         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42011         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42012         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42013         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42014         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42015         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42016         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42017         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42018         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42019         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42020         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42021         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42022         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42023         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42024         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42025         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42026         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42027         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42028         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42029         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42030         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42031
42032 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42033
42034         * math/tst-CMPLX.c: Include <stdio.h>.
42035
42036 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
42037
42038         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42039         float.
42040         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42041         * sysdeps/sparc/bits/mathdef.h: Likewise.
42042
42043 2012-01-31  Marek Polacek  <polacek@redhat.com>
42044
42045         * libio/libio.h: Don't define _PARAMS.
42046         * locale/programs/config.h: Don't define PARAMS.
42047         * stdlib/strtol_l.c: Likewise.
42048         (__strtol_l): Remove PARAMS from the prototype.
42049
42050 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
42051
42052         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
42053         names.  Just use the correct names.  Remove unnecessary wrapper
42054         functions.
42055         * malloc/arena.c: Likewise.
42056         * malloc/hooks.c: Likewise.
42057
42058         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42059         ARENA_TEST says not to.  Simplify test for creation of a new arena.
42060         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42061
42062 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
42063
42064         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42065         into tail calls.
42066         (update_get_addr): New function.
42067         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42068         GET_ADDR_MODULE parameter.
42069
42070 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42071
42072         * crypt/cert.c: Remove __STDC__ conditionals.
42073         * crypt/crypt-entry.c: Likewise.
42074         * crypt/crypt_util.c: Likewise.
42075         * libio/filedoalloc.c: Likewise.
42076         * libio/fileops.c: Likewise.
42077         * libio/genops.c: Likewise.
42078         * libio/iofclose.c: Likewise.
42079         * libio/iofdopen.c: Likewise.
42080         * libio/iofopen.c: Likewise.
42081         * libio/iofopen64.c: Likewise.
42082         * libio/iogetdelim.c: Likewise.
42083         * libio/iopopen.c: Likewise.
42084         * libio/obprintf.c: Likewise.
42085         * libio/oldfileops.c: Likewise.
42086         * libio/oldiofclose.c: Likewise.
42087         * libio/oldiofdopen.c: Likewise.
42088         * libio/oldiofopen.c: Likewise.
42089         * libio/oldiopopen.c: Likewise.
42090         * libio/wfiledoalloc.c: Likewise.
42091         * libio/wgenops.c: Likewise.
42092         * locale/programs/xmalloc.c: Likewise.
42093         * misc/syslog.c: Likewise.
42094         * stdio-common/xbug.c: Likewise.
42095         * string/memchr.c: Likewise.
42096         * string/memcmp.c: Likewise.
42097         * string/memrchr.c: Likewise.
42098         * string/rawmemchr.c: Likewise.
42099         * sysdeps/posix/getcwd.c: Likewise.
42100         * time/strftime_l.c: Likewise.
42101
42102 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42103
42104         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42105         * config.make.in (config-cflags-sse2avx): Define.
42106         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42107         Fix typo.
42108
42109 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
42110
42111         * scripts/config.guess: Update from upstream config git repository.
42112         * scripts/config.sub: Likewise.
42113
42114 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
42115
42116         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42117         (EM_NUM): Update.
42118         (R_TILEPRO_*, R_TILEGX_*): New macros.
42119
42120         * scripts/firstversions.awk: Fix bug in version range handling.
42121
42122         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42123
42124         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42125
42126         * include/sys/epoll.h: New file.
42127         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42128         libc_hidden_def.
42129
42130 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
42131
42132         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42133         Avoid unnecessary __WORDSIZE == 64 test.
42134         (fmaxf): Use VEX format if possible.
42135         (fmax): Likewise.
42136         (fminf): Likewise.
42137         (fmin): Likewise.
42138
42139         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42140         * math/math_private.h: Remove libc_fegetround* and
42141         libc_fesetround*.
42142         * sysdeps/i386/configure.in: Check for -msse2avx.
42143         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42144         also if SSE2AVX is defined.
42145         Remove libc_fegetround* and libc_fesetround*.
42146         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42147         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
42148         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42149         of HAS_YMM_USABLE.
42150         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42151         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42152         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42153         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42154         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42155
42156         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42157
42158 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42159
42160         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42161         size is not set.
42162         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42163
42164 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
42165
42166         [BZ #13618]
42167         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42168         relocation.
42169         * Makeconfig (libm): Define.
42170         * elf/Makefile: Add rules to build and run tst-relsort1.
42171         * elf/tst-relsort1.c: New file.
42172         * elf/tst-relsort1mod1.c: New file.
42173         * elf/tst-relsort1mod2.c: New file.
42174
42175 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
42176
42177         * math/s_ldexp.c: Remove __STDC__ conditionals.
42178         * math/s_ldexpf.c: Likewise.
42179         * math/s_ldexpl.c: Likewise.
42180         * math/s_nextafter.c: Likewise.
42181         * math/s_nexttowardf.c: Likewise.
42182         * math/s_significand.c: Likewise.
42183         * math/s_significandf.c: Likewise.
42184         * math/s_significandl.c: Likewise.
42185         * math/w_jnl.c: Likewise.
42186         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42187         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42188         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42189         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42190         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42191         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42192         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42193         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42194         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42195         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42196         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42197         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42198         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42199         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42200         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42201         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42202         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42203         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42204         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42205         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42206         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42207         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42208         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42209         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42210         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42211         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42212         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42213         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42214         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42215         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42216         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42217         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42218         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42219         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42220         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42221         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42222         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42223         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42224         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42225         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42226         * sysdeps/ieee754/k_standard.c: Likewise.
42227         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42228         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42229         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42230         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42231         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42232         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42233         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42234         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42235         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42236         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42237         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42238         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42239         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42240         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42241         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42242         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42243         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42244         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42245         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42246         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42247         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42248         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42249         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42250         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42251         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42252         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42253         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42254         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42255         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42256         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42257         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42258         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42259         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42260         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42261         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42262         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42263         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42264         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42265         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42266         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42267         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42268         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42269         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42270         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42271         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42272         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42273         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42274         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42275         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42276         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42277         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42278         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42279         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42280         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42281         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42282         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42283         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42284         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42285         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42286         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42287         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42288         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42289         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42290         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42291         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42292         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42293         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42294         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42295         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42296         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42297         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42298         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42299         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42300         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42301         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42302         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42303         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42304         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42305         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42306         * sysdeps/ieee754/s_matherr.c: Likewise.
42307         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42308         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42309         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42310         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42311
42312 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42313
42314         * crypt/md5.h: Remove __STDC__ conditionals.
42315         * libio/libioP.h: Likewise.
42316         * locale/programs/config.h: Likewise.
42317         * sysdeps/generic/sysdep.h: Likewise.
42318         * sysdeps/i386/asm-syntax.h: Likewise.
42319         * sysdeps/s390/asm-syntax.h: Likewise.
42320         * sysdeps/unix/sysdep.h: Likewise.
42321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42323
42324 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42325
42326         * libio/libio.h: Remove __STDC__ conditionals.
42327         * malloc/obstack.h: Likewise.
42328         * math/complex.h: Likewise.
42329         * math/math.h: Likewise.
42330         * sysdeps/generic/_G_config.h: Likewise.
42331         * sysdeps/gnu/_G_config.h: Likewise.
42332         * sysdeps/mach/hurd/_G_config.h: Likewise.
42333         * sysdeps/powerpc/bits/mathdef.h: Likewise.
42334         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42335         * sysdeps/sparc/bits/mathdef.h: Likewise.
42336
42337 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
42338
42339         [BZ #13583]
42340         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42341         Clean up HAS_* macros.
42342         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42343         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42344         possible.
42345         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42346         HAS_AVX.
42347         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42348         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42349         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42350         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42351         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42352
42353 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
42354
42355         * elf/tst-unique3.cc (gets): Remove declaration.
42356         * elf/tst-unique3lib.cc (gets): Likewise.
42357         * elf/tst-unique3lib2.cc (gets): Likewise.
42358         * elf/tst-unique4.cc (gets): Likewise.
42359
42360 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
42361
42362         * include/stdio.h: Add C++ protection.  Add gets declarations and
42363         definitions.
42364         * debug/tst-chk1.c: Don't declare gets here.
42365         * stdio-common/tst-gets.c: Likewise.
42366
42367 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42368
42369         * posix/glob: Remove directory.
42370
42371 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42372
42373         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42374
42375 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
42376
42377         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42378         of the non-standard EPFNOSUPPORT.
42379
42380 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42381
42382         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42383         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42384         ANYWHERE set to 1 only on KERN_NO_SPACE error.
42385
42386 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
42387
42388         * wcsmbs/uchar.h: Test __STDC_VERSION__.
42389
42390 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
42391
42392         * nscd/aicache.c (addhstaiX): Do not cache negative results of
42393         transient errors.
42394         * nscd/grpcache.c (cache_addgr): Likewise.
42395         * nscd/hstcache.c (cache_addhst): Likewise.
42396         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42397         * nscd/pwdcache.c (cache_addpw): Likewise.
42398         * nscd/servicescache.c (cache_addserv): Likewise.
42399
42400 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
42401
42402         * malloc/malloc.c: Various cleanups.
42403         * malloc/hooks.c: Likewise.
42404
42405         * stdlib/Makefile (tests): Add bug-fmtmsg1.
42406         * stdlib/bug-fmtmsg1.c: New file.
42407
42408         * stdlib/fmtmsg.c (init): Add missing unlock.
42409         Patch by Peng Haitao <penght@cn.fujitsu.com>.
42410
42411 2012-01-12  Marek Polacek  <polacek@redhat.com>
42412
42413         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42414         and _GNU_SOURCE.
42415
42416 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
42417
42418         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42419         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42420         macro to ensure uniqueness of label name.
42421         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42422         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42423
42424 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
42425
42426         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42427
42428         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42429         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42430         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42431         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42432
42433 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
42434
42435         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42436
42437         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42438         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42439         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42440
42441         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42442
42443         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42444         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42445         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42446         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42447
42448         * math/bits/math-finite.h: Add ldexp support.
42449
42450 2012-01-10  Marek Polacek  <polacek@redhat.com>
42451
42452         * locale/programs/localedef.h (show_archive_content): Add noreturn
42453         attribute.
42454
42455 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
42456
42457         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42458
42459 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42460
42461         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42462
42463         * io/Makefile (headers): Add bits/poll2.h.
42464
42465 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
42466
42467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42468         typo #include statement.
42469
42470 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42471
42472         * include/sys/cdefs.h: Define __attribute_alloc_size.
42473         * catgets/gencat.c: Add alloc_size attribute and apply consistently
42474         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42475         * elf/pldd.c: Likewise.
42476         * iconv/iconv_charmap.c: Likewise.
42477         * iconv/iconvconfig.c: Likewise.
42478         * iconv/strtab.c: Likewise.
42479         * locale/programs/locale.c: Likewise.
42480         * locale/programs/localedef.h: Likewise.
42481         * locale/programs/simple-hash.c: Likewise.
42482         * nscd/nscd.h: Likewise.
42483         * nss/makedb.c: Likewise.
42484         * sysdeps/generic/ldconfig.h: Likewise.
42485         * locale/programs/localedef.c: Remove xmalloc prototype.
42486         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42487
42488 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42489
42490         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42491         appropriate.
42492
42493 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42494
42495         * math/Makefile (tests): Add tst-CMPLX.
42496         * math/tst-CMPLX.c: New file.
42497
42498         * math/complex.h (CMPLXL): Fix typo.
42499
42500         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42501         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42502         GLIBC_2.16.
42503         * debug/tst-chk1.c: Add poll and ppoll tests.
42504         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42505         * include/sys/poll.h: Add hidden proto for ppoll.
42506         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42507         * sysdeps/mach/hurd/ppoll.c: Likewise.
42508         * io/ppoll.c: Likewise.
42509         * debug/poll_chk.c: New file.
42510         * debug/ppoll_chk.c: New file.
42511         * include/bits/poll2.h: New file.
42512         * io/bits/poll2.h: New file.
42513
42514         [BZ #1350]
42515         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42516
42517         * configure.in: static is always set to yes.  Remove.
42518         * config.make.in: Don't set build-static.
42519         * Makeconfig: Remove use of build-static.
42520         * dlfcn/Makefile: Likewise.
42521         * elf/Makefile: Likewise.
42522         * math/Makefile: Likewise.
42523         * misc/Makefile: Likewise.
42524         * nptl/Makefile: Likewise.
42525         * sysdeps/mach/hurd/Makefile: Likewise.
42526
42527         * configure.in: PWD_P is not used anymore.
42528         * config.make.in: Remove PWD_P entry.
42529
42530         * configure.in: Remove last remnants of RANLIB.
42531         No need to check for signed size_t anymore.
42532         Don't set libc_commonpagesize and libc_relro_required here for Alpha
42533         and IA-64.
42534         Remove __builtin_expect test because we require at least gcc 3.4.
42535         * aclocal.m4: Likewise.
42536
42537         * wcsmbs/mbrtoc16.c: Implement using towc function.
42538         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42539         * wcsmbs/wcsmbsload.c: Likewise.
42540         * iconv/gconv_simple.c: Likewise.
42541         * iconv/gconv_int.h: Likewise.
42542         * iconv/gconv_builtin.h: Likewise.
42543         * iconv/iconv_prog.c: Remove CHAR16 handling.
42544
42545         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42546
42547         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42548
42549         * configure.in: Remove --with-elf and --enable-bounded options.
42550         Dont set base_machine for ia64.  More non-ELF conditions removed.
42551         Remove testing and setting of leading underscore information.
42552         * config.make.in (build-bounded): Set to no.
42553         * config.h.in: Remove NO_UNDERSCORES entry.
42554         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
42555         them.
42556         * csu/start.c: Remove !NO_UNDERSCORE code.
42557         * locale/localeinfo.h: Likewise.
42558         * sysdeps/generic/machine-gmon.h: Likewise.
42559         * sysdeps/generic/sysdep.h: Likewise.
42560         * sysdeps/i386/sysdep.h: Likewise.
42561         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42562         * sysdeps/mach/sysdep.h: Likewise.
42563         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42564         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42565         * sysdeps/sh/sysdep.h: Likewise.
42566         * sysdeps/sparc/sparc32/alloca.S: Likewise.
42567         * sysdeps/unix/i386/sysdep.S: Likewise.
42568         * sysdeps/unix/sparc/start.c: Likewise.
42569         * sysdeps/unix/sparc/sysdep.S: Likewise.
42570         * sysdeps/unix/sparc/sysdep.h: Likewise.
42571         * sysdeps/unix/start.c: Likewise.
42572         * sysdeps/unix/x86_64/sysdep.S: Likewise.
42573         * sysdeps/x86_64/sysdep.h: Likewise.
42574
42575 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
42576
42577         [BZ #13553]
42578         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42579         for non-gcc.
42580         * argp/argp-fmtstream.h: Use const instead __const.
42581         * argp/argp.h: Likewise.
42582         * assert/assert.h: Likewise.
42583         * bits/fenv.h: Likewise.
42584         * bits/sched.h: Likewise.
42585         * bits/sigset.h: Likewise.
42586         * bits/sigthread.h: Likewise.
42587         * catgets/nl_types.h: Likewise.
42588         * conform/data/pthread.h-data: Likewise.
42589         * crypt/crypt-private.h: Likewise.
42590         * crypt/crypt.h: Likewise.
42591         * crypt/crypt_util.c: Likewise.
42592         * ctype/ctype.h: Likewise.
42593         * debug/execinfo.h: Likewise.
42594         * debug/mbsnrtowcs_chk.c: Likewise.
42595         * debug/mbsrtowcs_chk.c: Likewise.
42596         * debug/wcsnrtombs_chk.c: Likewise.
42597         * debug/wcsrtombs_chk.c: Likewise.
42598         * debug/wcstombs_chk.c: Likewise.
42599         * dirent/dirent.h: Likewise.
42600         * dlfcn/dlfcn.h: Likewise.
42601         * elf/neededtest4.c: Likewise.
42602         * grp/grp.h: Likewise.
42603         * gshadow/gshadow.h: Likewise.
42604         * iconv/gconv.h: Likewise.
42605         * iconv/gconv_int.h: Likewise.
42606         * iconv/gconv_simple.c: Likewise.
42607         * iconv/iconv.h: Likewise.
42608         * iconv/loop.c: Likewise.
42609         * iconv/skeleton.c: Likewise.
42610         * include/aio.h: Likewise.
42611         * include/aliases.h: Likewise.
42612         * include/argz.h: Likewise.
42613         * include/arpa/inet.h: Likewise.
42614         * include/assert.h: Likewise.
42615         * include/dirent.h: Likewise.
42616         * include/dlfcn.h: Likewise.
42617         * include/execinfo.h: Likewise.
42618         * include/fcntl.h: Likewise.
42619         * include/fenv.h: Likewise.
42620         * include/glob.h: Likewise.
42621         * include/grp.h: Likewise.
42622         * include/libintl.h: Likewise.
42623         * include/mntent.h: Likewise.
42624         * include/netdb.h: Likewise.
42625         * include/pwd.h: Likewise.
42626         * include/rpc/netdb.h: Likewise.
42627         * include/sched.h: Likewise.
42628         * include/search.h: Likewise.
42629         * include/shadow.h: Likewise.
42630         * include/signal.h: Likewise.
42631         * include/stdio.h: Likewise.
42632         * include/stdlib.h: Likewise.
42633         * include/string.h: Likewise.
42634         * include/sys/socket.h: Likewise.
42635         * include/sys/stat.h: Likewise.
42636         * include/sys/statfs.h: Likewise.
42637         * include/sys/statvfs.h: Likewise.
42638         * include/sys/syslog.h: Likewise.
42639         * include/sys/time.h: Likewise.
42640         * include/sys/uio.h: Likewise.
42641         * include/time.h: Likewise.
42642         * include/unistd.h: Likewise.
42643         * include/utmp.h: Likewise.
42644         * include/wchar.h: Likewise.
42645         * include/wctype.h: Likewise.
42646         * inet/aliases.h: Likewise.
42647         * inet/arpa/inet.h: Likewise.
42648         * inet/netinet/ether.h: Likewise.
42649         * inet/netinet/in.h: Likewise.
42650         * intl/libintl.h: Likewise.
42651         * io/bits/fcntl2.h: Likewise.
42652         * io/fcntl.h: Likewise.
42653         * io/ftw.h: Likewise.
42654         * io/sys/poll.h: Likewise.
42655         * io/sys/stat.h: Likewise.
42656         * io/sys/statfs.h: Likewise.
42657         * io/sys/statvfs.h: Likewise.
42658         * io/utime.h: Likewise.
42659         * libio/bits/stdio.h: Likewise.
42660         * libio/bits/stdio2.h: Likewise.
42661         * libio/libio.h: Likewise.
42662         * libio/libioP.h: Likewise.
42663         * libio/stdio.h: Likewise.
42664         * locale/lc-ctype.c: Likewise.
42665         * locale/locale.h: Likewise.
42666         * login/utmp.h: Likewise.
42667         * malloc/arena.c: Likewise.
42668         * malloc/malloc.c: Likewise.
42669         * malloc/malloc.h: Likewise.
42670         * malloc/mcheck.c: Likewise.
42671         * malloc/mtrace.c: Likewise.
42672         * math/bits/mathcalls.h: Likewise.
42673         * math/fenv.h: Likewise.
42674         * math/math_private.h: Likewise.
42675         * misc/bits/error.h: Likewise.
42676         * misc/bits/syslog.h: Likewise.
42677         * misc/err.h: Likewise.
42678         * misc/error.h: Likewise.
42679         * misc/fstab.h: Likewise.
42680         * misc/mntent.h: Likewise.
42681         * misc/regexp.h: Likewise.
42682         * misc/search.h: Likewise.
42683         * misc/sgtty.h: Likewise.
42684         * misc/sys/mman.h: Likewise.
42685         * misc/sys/syslog.h: Likewise.
42686         * misc/sys/uio.h: Likewise.
42687         * misc/sys/xattr.h: Likewise.
42688         * misc/ttyent.h: Likewise.
42689         * nis/rpcsvc/ypclnt.h: Likewise.
42690         * nss/nss.h: Likewise.
42691         * posix/bits/unistd.h: Likewise.
42692         * posix/fnmatch.h: Likewise.
42693         * posix/glob.h: Likewise.
42694         * posix/sched.h: Likewise.
42695         * posix/spawn.h: Likewise.
42696         * posix/sys/wait.h: Likewise.
42697         * posix/unistd.h: Likewise.
42698         * posix/wordexp.h: Likewise.
42699         * pwd/pwd.h: Likewise.
42700         * resolv/netdb.h: Likewise.
42701         * resource/sys/resource.h: Likewise.
42702         * rt/aio.h: Likewise.
42703         * rt/bits/mqueue2.h: Likewise.
42704         * rt/mqueue.h: Likewise.
42705         * shadow/shadow.h: Likewise.
42706         * signal/signal.h: Likewise.
42707         * socket/send.c: Likewise.
42708         * socket/sendto.c: Likewise.
42709         * socket/sys/socket.h: Likewise.
42710         * stdio-common/printf.h: Likewise.
42711         * stdlib/bits/stdlib.h: Likewise.
42712         * stdlib/fmtmsg.h: Likewise.
42713         * stdlib/monetary.h: Likewise.
42714         * stdlib/stdlib.h: Likewise.
42715         * stdlib/ucontext.h: Likewise.
42716         * streams/stropts.h: Likewise.
42717         * string/argz.h: Likewise.
42718         * string/bits/string2.h: Likewise.
42719         * string/string.h: Likewise.
42720         * string/strings.h: Likewise.
42721         * sunrpc/rpc/auth.h: Likewise.
42722         * sunrpc/rpc/auth_des.h: Likewise.
42723         * sunrpc/rpc/clnt.h: Likewise.
42724         * sunrpc/rpc/netdb.h: Likewise.
42725         * sunrpc/rpc/pmap_clnt.h: Likewise.
42726         * sunrpc/rpc/xdr.h: Likewise.
42727         * sysdeps/generic/inttypes.h: Likewise.
42728         * sysdeps/generic/net/if.h: Likewise.
42729         * sysdeps/generic/sys/swap.h: Likewise.
42730         * sysdeps/gnu/net/if.h: Likewise.
42731         * sysdeps/gnu/utmpx.h: Likewise.
42732         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42733         * sysdeps/i386/i486/bits/string.h: Likewise.
42734         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42735         * sysdeps/s390/bits/string.h: Likewise.
42736         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42737         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42738         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42739         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42740         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42741         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42742         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42743         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42744         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42745         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42746         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42747         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42748         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42749         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42750         * sysdeps/unix/sysv/linux/readv.c: Likewise.
42751         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42752         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42753         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42754         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42755         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42756         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42757         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42758         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42759         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42760         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42761         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42762         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42763         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42764         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42765         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42766         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42767         * sysvipc/sys/ipc.h: Likewise.
42768         * sysvipc/sys/msg.h: Likewise.
42769         * sysvipc/sys/sem.h: Likewise.
42770         * sysvipc/sys/shm.h: Likewise.
42771         * termios/termios.h: Likewise.
42772         * time/sys/time.h: Likewise.
42773         * time/time.h: Likewise.
42774         * wcsmbs/bits/wchar2.h: Likewise.
42775         * wcsmbs/uchar.h: Likewise.
42776         * wcsmbs/wchar.h: Likewise.
42777         * wctype/wctype.h: Likewise.
42778
42779         [BZ #13551]
42780         * Makeconfig: Remove all but ELF support including AIX support.
42781         * Makerules: Likewise.
42782         * config.h.in: Likewise.
42783         * config.make.in: Likewise.
42784         * configure: Likewise.
42785         * configure.in: Likewise.
42786         * csu/Makefile: Likewise.
42787         * csu/version.c: Likewise.
42788         * debug/Makefile: Likewise.
42789         * dlfcn/Makefile: Likewise.
42790         * elf/Makefile: Likewise.
42791         * extra-lib.mk: Likewise.
42792         * iconv/Makefile: Likewise.
42793         * include/libc-symbols.h: Likewise.
42794         * include/shlib-compat.h: Likewise.
42795         * resolv/Makefile: Likewise.
42796         * resolv/res_libc.c: Likewise.
42797         * rt/Makefile: Likewise.
42798         * sysdeps/i386/asm-syntax.h: Likewise.
42799         * sysdeps/i386/sysdep.h: Likewise.
42800         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42801         * sysdeps/mach/sysdep.h: Likewise.
42802         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42803         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42804         * sysdeps/s390/asm-syntax.h: Likewise.
42805         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42806         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42807         * sysdeps/sh/sysdep.h: Likewise.
42808         * sysdeps/unix/sparc/sysdep.h: Likewise.
42809         * sysdeps/wordsize-32/divdi3.c: Likewise.
42810         * sysdeps/x86_64/sysdep.h: Likewise.
42811
42812         * argp/Versions: Remove _argp_unlock_xxx.
42813
42814         [BZ #13559]
42815         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
42816         * abilist/libBrokenLocale.abilist: Likewise.
42817         * abilist/libanl.abilist: Likewise.
42818         * abilist/libc.abilist: Likewise.
42819         * abilist/libcrypt.abilist: Likewise.
42820         * abilist/libdl.abilist: Likewise.
42821         * abilist/libm.abilist: Likewise.
42822         * abilist/libnsl.abilist: Likewise.
42823         * abilist/libpthread.abilist: Likewise.
42824         * abilist/libresolv.abilist: Likewise.
42825         * abilist/librt.abilist: Likewise.
42826         * abilist/libthread_db.abilist: Likewise.
42827         * abilist/libutil.abilist: Likewise.
42828         * abilist/libnss_db.abilist: New file.
42829
42830         * scripts/abilist.awk: Add support for indirect functions.
42831
42832         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42833
42834         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42835
42836         * shlib-versions: Remove entries for ports architectures.
42837
42838         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
42839         files in ports.
42840         * elf/stackguard-macros.h: Remove support for IA-64.
42841         * elf/tst-auditmod1.c: Likewise.
42842         * sysdeps/generic/ldsodefs.h: Likewise.
42843
42844         * sysdeps/unix/sysv/linux/configure.in: Ports should define
42845         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42846         configure files.
42847
42848         [BZ #13552]
42849         * configure.in: Remove --enable-omitfp support.
42850         * FAQ.in: Adjust.
42851         * config.make.in: Likewise.
42852         * Makeconfig: Likewise.
42853         * manual/install.texi: Likewise.
42854
42855         In case anyone cares, the IA-64 architecture could move to ports.
42856         * sysdeps/ia64/*: Removed.
42857         * sysdeps/unix/sysv/linux/ia64/*: Removed.
42858         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42859
42860         [BZ #13555]
42861         * configure.in: Remove entries for unsupported architectures.
42862
42863         [BZ #13533]
42864         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42865         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
42866         routines.
42867         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42868         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42869         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
42870         fall back to using wcrtomb.
42871         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42872         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
42873         renaming.
42874         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42875         * wcsmbs/tst-c16c32-1.c: New file.
42876
42877         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42878         local variable.
42879
42880         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42881
42882         * elf/tst-unique3.cc: Add explicit declaration of gets.
42883         * elf/tst-unique3lib.cc: Likewise.
42884         * elf/tst-unique3lib2.cc: Likewise.
42885         * elf/tst-unique4.cc: Likewise.
42886
42887         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42888
42889 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
42890
42891         [BZ #13566]
42892         * assert/assert.h (static_assert): Don't define for C++.
42893         * libio/stdio.h (gets): Do declare for C++ <= C++11.
42894         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42895
42896 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
42897
42898         * iconv/loop.c (single loop): Fix assertion in storing of
42899         remaining bytes.
42900
42901         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42902
42903 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
42904
42905         * posix/getconf.c: Update copyright year.
42906         * nss/getent.c: Likewise.
42907         * nss/makedb.c: Likewise.
42908         * iconv/iconvconfig.c: Likewise.
42909         * iconv/iconv_prog.c: Likewise.
42910         * elf/ldconfig.c: Likewise.
42911         * elf/pldd.c: Likewise.
42912         * elf/sotruss.ksh: Likewise.
42913         * catgets/gencat.c: Likewise.
42914         * csu/version.c: Likewise.
42915         * elf/ldd.bash.in: Likewise.
42916         * elf/sprof.c (print_version): Likewise.
42917         * locale/programs/locale.c: Likewise.
42918         * locale/programs/localedef.c: Likewise.
42919         * login/programs/pt_chown.c: Likewise.
42920         * nscd/nscd.c (print_version): Likewise.
42921         * debug/xtrace.sh: Likewise.
42922         * malloc/memusage.sh: Likewise.
42923         * malloc/mtrace.pl: Likewise.
42924         * debug/catchsegv.sh: Likewise.
42925
42926 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
42927
42928         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42929         pure attribute.
42930
42931 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
42932
42933         [BZ #13533]
42934         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42935         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42936         transformations.
42937         * iconv/gconv_int.h: Likewise.
42938         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42939         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42940         from libc for GLIBC_2.16.
42941         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42942         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42943         * wcsmbs/uchar.h: Really define mbstate_t.
42944         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42945         * wcsmbs/c16rtomb.c: New file.
42946         * wcsmbs/mbrtoc16.c: New file.
42947         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42948         for C/POSIX locale.
42949         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42950         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42951
42952         * wcsmbs/wchar.h: Add missing __restrict.
42953
42954 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
42955
42956         [BZ #13532]
42957         * time/Makefile (routines): Add timespec_get.
42958         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42959         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
42960         timespec for ISO C11.
42961         * time/timespec_get.c: New file.
42962         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42963         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42964
42965         [BZ #13531]
42966         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42967         * stdlib/stdlib.h: Declare aligned_alloc.
42968         * Versions.def: Add GLIBC_2.16 for libc.
42969         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42970
42971         [BZ 13527]
42972         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42973         ISO C11.
42974
42975         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
42976         code.
42977
42978         [BZ #13528]
42979         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42980
42981         [BZ #13529]
42982         * assert/assert.h (static_assert): Define.
42983
42984         * version.h: Update for 2.16 development version.
42985
42986         [BZ #13526]
42987         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42988         _ISOC11_SOURCE.
42989
42990         * version.h (RELEASE): Bump for 2.15 release.
42991         * include/features.h (__GLIBC_MINOR__): Bump to 15.
42992
42993         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42994         Patch by Marek Polacek <mpolacek@redhat.com>.
42995
42996         * bits/byteswap.h: Protect long long constants with __extension__.
42997         * sysdeps/i386/bits/byteswap.h: Likewise.
42998         * sysdeps/ia64/bits/byteswap.h: Likewise.
42999         * sysdeps/s390/bits/byteswap.h: Likewise.
43000         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43001
43002 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43003
43004         [BZ #13540]
43005         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43006         destination buffer.
43007         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43008
43009 2011-12-23  Marek Polacek  <polacek@redhat.com>
43010
43011         * elf/dl-addr.c (determine_info): Add inline keyword.
43012         * elf/tst-auditmod4b.c (check_avx): Likewise.
43013         * elf/tst-auditmod6b.c (check_avx): Likewise.
43014         * elf/tst-auditmod6c.c (check_avx): Likewise.
43015         * elf/tst-auditmod7b.c (check_avx): Likewise.
43016
43017 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43018
43019         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43020         !__SSE_MATH__.
43021
43022 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43023
43024         [BZ #13540]
43025         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43026         processing for last bytes.
43027
43028 2011-08-06  Bruno Haible  <bruno@clisp.org>
43029
43030         [BZ #13061]
43031         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43032         U+0385, not to U+1FEE.
43033
43034         [BZ #13062]
43035         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43036         entry for U+00A5 U+0301.
43037
43038 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43039
43040         [BZ #13166]
43041         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43042         buffer for the output is too small.
43043
43044         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43045         optimization.
43046
43047         [BZ #13185]
43048         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43049         SSE flags if possible.
43050
43051 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43052
43053         [BZ #13540]
43054         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43055         processing for last bytes.
43056
43057 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
43058
43059         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43060         (syscall-list-default-options, syscall-list-default-condition)
43061         (syscall-list-includes): Define.
43062         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43063         list of ABIs and options and #if conditions for each ABI.  Do not
43064         handle common syscalls between ABIs specially.
43065         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43066         Remove.
43067         (syscall-list-variants, syscall-list-32bit-options)
43068         (syscall-list-32bit-condition, syscall-list-64bit-options)
43069         (syscall-list-64bit-condition): Define.
43070         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43071         (syscall-list-variants, syscall-list-32bit-options)
43072         (syscall-list-32bit-condition, syscall-list-64bit-options)
43073         (syscall-list-64bit-condition): Define.
43074         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43075         Remove.
43076         (syscall-list-variants, syscall-list-32bit-options)
43077         (syscall-list-32bit-condition, syscall-list-64bit-options)
43078         (syscall-list-64bit-condition): Define.
43079         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43080         Remove.
43081         (syscall-list-variants, syscall-list-32bit-options)
43082         (syscall-list-32bit-condition, syscall-list-64bit-options)
43083         (syscall-list-64bit-condition): Define.
43084
43085 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43086
43087         * locale/iso-639.def: Add brx entry.
43088
43089         [BZ #13328]
43090         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43091         Proposed by Mariusz_Cukr <marcukr@op.pl>.
43092
43093         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43094         __feraiseexcept_renamed.
43095
43096 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43097
43098         [BZ #13538]
43099         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43100         EPOLLET with unsigned values.
43101         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43102         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43103
43104         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43105         to large cancellation.
43106         * math/s_cacoshf.c: Likewise.
43107         * math/s_cacoshl.c: Likewise.
43108
43109 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
43110
43111         [BZ #13305]
43112         [BZ #12786]
43113         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43114         * math/s_cacoshf.c: Likewise.
43115         * math/s_cacoshl.c: Likewise.
43116
43117 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43118
43119         [BZ #13439]
43120         * iconv/gconv.h: Define __GCONV_SWAP.
43121         * iconvdata/unicode.c: The swap bit must be stored in __flags.
43122         * iconvdata/utf-16.c: Likewise.
43123         * iconvdata/utf-32.c: Likewise.
43124
43125 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
43126
43127         [BZ #13524]
43128         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43129         numerator after shifting it by one limb.
43130
43131 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
43132
43133         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43134         under [__USE_EXTERN_INLINES].
43135
43136 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43137
43138         [BZ #13446]
43139         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43140
43141 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43142
43143         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43144         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43145         optimized code.
43146         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43147         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43148         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43149         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43150         for strncasecmp/strncasecmp_l compilation.
43151         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43152         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43153
43154 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
43155
43156         [BZ #13484]
43157         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43158         of __asm__.
43159
43160 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43161
43162         [BZ #13506]
43163         * time/tzfile.c (__tzfile_read): Check values from file header.
43164
43165 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
43166
43167         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43168         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43169         * powerpc/powerpc32/dl-start.S: Likewise.
43170         * powerpc/powerpc32/elf/start.S: Likewise.
43171         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43172         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43173         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43174         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43175         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43176         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43177         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43178         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43179         * powerpc/powerpc32/fpu/s_round.S: Likewise.
43180         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43181         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43182         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43183         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43184         * powerpc/powerpc32/memset.S: Likewise.
43185         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43186         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43187         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43188         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43189         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43190         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43191         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43192         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43193         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43194         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43195         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43196         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43197         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43198
43199 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43200
43201         * math/libm-test.inc: Added more nearbyint tests.
43202         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43203         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43204         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43205         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43206
43207 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
43208
43209         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43210         FD_CLOEXEC.
43211
43212 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43213
43214         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43215         Add wcscpy-ssse3 wcscpy-c.
43216         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43217         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43218         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43219         * sysdeps/x86_64/wcschr.S: New file.
43220         * sysdeps/x86_64/wcsrchr.S: New file.
43221         * string/test-strcmp.c: Remove checking of wcscmp function for
43222         wrong alignments.
43223         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43224         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43225         wcsrchr-sse2 wcsrchr-c.
43226         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43227         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43228         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43229         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43230         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43231         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43232         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43233         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43234         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43235         * wcsmbc/wcschr.c (WCSCHR): New macro.
43236
43237 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43238
43239         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43240         * wcsmbs/test-wcsrchr.c: New file.
43241         * string/test-strrchr.c: Add wcsrchr support.
43242         (WIDE): New macro.
43243         * wcsmbs/test-wcscpy.c: New file.
43244         * string/test-strcpy.c: Add wcscpy support.
43245         (WIDE): New macro.
43246
43247 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
43248
43249         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43250         the inner loop.
43251
43252 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
43253
43254         [BZ #13472]
43255         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43256
43257 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
43258
43259         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43260         Minor optimizations.
43261
43262         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43263         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43264         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43265
43266 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
43267
43268         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43269         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43270         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43271         for gcc to avoid warnings.
43272         * inet/Makefile (tests): Add tst-checks.
43273         * inet/tst-checks.c: New file.
43274
43275         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43276         warning.
43277
43278         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43279         __wmemcmp_sse2.
43280
43281         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43282         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43283
43284         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43285
43286 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
43287
43288         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43289         problem.
43290
43291         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43292
43293 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
43294
43295         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43296         conditional on GCC version.
43297         (__arch_compare_and_exchange_val_8_acq)
43298         (__arch_compare_and_exchange_val_16_acq)
43299         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43300         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43301         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43302
43303 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
43304
43305         * sysdeps/sh/backtrace.c: New file.
43306
43307 2011-12-02  Andreas Schwab  <schwab@redhat.com>
43308
43309         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
43310         parenthesis.
43311
43312 2011-12-01  Andreas Schwab  <schwab@redhat.com>
43313
43314         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43315         falling back to utime.
43316
43317 2011-11-30  Andreas Schwab  <schwab@redhat.com>
43318
43319         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43320         expectations for float.
43321
43322 2011-11-29  Andreas Schwab  <schwab@redhat.com>
43323
43324         * locale/weight.h (findidx): Add parameter len.
43325         * locale/weightwc.h (findidx): Likewise.
43326         * posix/fnmatch_loop.c (FCT): Adjust caller.
43327         * posix/regcomp.c (build_equiv_class): Likewise.
43328         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43329         * posix/regexec.c (check_node_accept_bytes): Likewise.
43330         * string/strcoll_l.c (STRCOLL): Likewise.
43331         * string/strxfrm_l.c (STRXFRM): Likewise.
43332
43333 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
43334
43335         * Makefile.in: Remove CVSOPT handling.
43336         * configure.in: Remove use of AC_REVISION.
43337         * iconvdata/Makefile (distribute): No need to filter out CVS.
43338         * scripts/list-sources.sh: Remove CVS, subversion and monotone
43339         handling.
43340
43341 2011-11-16  Andreas Schwab  <schwab@redhat.com>
43342
43343         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43344         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43345         [USE_AS_STRNCASECMP_L]: Likewise.
43346         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43347         NO_TLS_DIRECT_SEG_REFS.
43348         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43349         Fix argument offsets for non-PIC.
43350         [USE_AS_STRNCASECMP_L]: Likewise.
43351         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43352         NO_TLS_DIRECT_SEG_REFS.
43353
43354 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43355
43356         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43357         O_CLOEXEC.
43358         * locale/loadlocale.c (_nl_load_locale): Likewise.
43359
43360 2011-11-15  Andreas Schwab  <schwab@redhat.com>
43361
43362         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43363         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43364         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43365         (SYSCALL_GETTIME): Set errno on error.
43366
43367         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43368         count references to noai6ai_cached.
43369
43370 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43371
43372         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43373
43374         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43375         FD_CLOEXEC for /proc/self/maps.
43376
43377         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43378         FD_CLOEXEC for /proc/meminfo.
43379
43380         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43381         gai.conf.
43382
43383         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
43384         FD_CLOEXEC for given file.
43385
43386         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43387
43388         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43389         FD_CLOEXEC for /etc/hosts.
43390         (_gethtent): Likewise.
43391
43392         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43393
43394         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43395         cancellation and set FD_CLOEXEC for /etc/netgroup.
43396
43397         * nss/nss_files/files-key.c (search): Don't allow cancellation when
43398         reading /etc/publickey.
43399
43400         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43401         allow cancellation when reading /etc/group.
43402
43403         * nss/nss_files/files-alias.c (internal_setent): Don't allow
43404         cancellation.
43405         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
43406
43407         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43408         when using data file.
43409
43410         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43411
43412         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43413         (write_nis_obj): Use "c" and "e" in fopen.
43414
43415         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43416
43417         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43418
43419         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43420
43421         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43422
43423         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43424         locale.alias.
43425
43426         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43427
43428         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43429
43430         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43431
43432         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43433         file parsing and set FD_CLOEXEC.
43434
43435 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43436
43437         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43438
43439 2011-11-14  Andreas Schwab  <schwab@redhat.com>
43440
43441         * malloc/arena.c (arena_get2): Don't call reused_arena when
43442         _int_new_arena failed.
43443
43444 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43445
43446         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43447         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43448         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43449         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43450         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43451         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43452         to compile strcasecmp and strncasecmp.
43453         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43454         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43455
43456         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43457
43458 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
43459
43460         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43461         locale-defines.sym to gen-as-const-headers.
43462         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43463         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43464         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43465         to compile strcasecmp and strncasecmp.
43466         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43467         strcasecmp_l and strncasecmp_l.
43468         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43469         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43470         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43471         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43472         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43473         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43474         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43475         * sysdeps/i386/i686/multiarch/strncase.S: New file.
43476         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43477         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43478         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43479
43480 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
43481
43482         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43483         result of SYSDEP_GETTIME_CPU to retval.
43484         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43485         parameter list to macro.  Remove trailing semicolon.  Adjust users.
43486
43487         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43488         variable.
43489
43490         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43491         mantissa words.
43492         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43493
43494         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43495         from unused variable.
43496
43497         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43498         DWARF definitions.
43499         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43500         for assembling.
43501
43502         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43503         over namespaces.
43504
43505         * sunrpc/rpc_prot.c (rejected): Fix case value.
43506
43507         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43508         unsigned long long int to avoid warnings in shift.
43509
43510         * posix/regex_internal.c (re_string_reconstruct): Actually use result
43511         of use of trans.
43512         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43513         variable tmp.
43514
43515         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43516         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43517         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43518
43519         * nis/nis_table.c (nis_list): Use variable of correct type for
43520         result of __follow_path call.
43521
43522 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43523
43524         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43525         of math functions ceil, trunc, floor, round, and sqrt, when
43526         avaliable on the platform.
43527         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43528         name clash.
43529         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43530         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43531         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43532
43533 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
43534
43535         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43536         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43537
43538 2011-11-11  Roland McGrath  <roland@hack.frob.com>
43539
43540         * include/unistd.h: Fix __readlink return type.
43541         Reported by Chris Metcalf <cmetcalf@tilera.com>.
43542
43543 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
43544
43545         * stdlib/ucontext.h: Undo last change for makecontext.
43546
43547 2011-11-11  Andreas Schwab  <schwab@redhat.com>
43548
43549         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43550
43551         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43552         * setjmp/setjmp.h: Mark functions as non-leaf.
43553         * setjmp/bits/setjmp2.h: Likewise.
43554         * stdlib/ucontext.h: Likewise.
43555
43556 2011-11-10  Andreas Schwab  <schwab@redhat.com>
43557
43558         * malloc/arena.c (_int_new_arena): Don't increment narenas.
43559         (reused_arena): Don't check arena limit.
43560         (arena_get2): Atomically check arena limit.
43561
43562 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
43563
43564         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43565         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43566
43567         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43568         instructions.
43569
43570 2011-11-07  Andreas Schwab  <schwab@redhat.com>
43571
43572         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43573         handler when locking.
43574
43575         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43576         Fix size of allocated buffer.
43577
43578 2011-11-04  Andreas Schwab  <schwab@redhat.com>
43579
43580         [BZ #10103]
43581         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43582         declarations for long double functions.
43583         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43584
43585         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43586
43587 2011-11-03  Andreas Schwab  <schwab@redhat.com>
43588
43589         * nscd/nscd.c (main): Don't start AVC thread until credentials are
43590         installed.
43591
43592         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43593         is disabled.
43594
43595 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43596
43597         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43598
43599 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43600
43601         * include/alloca.h (stackinfo_alloca_round): Define.
43602         (extend_alloca): Use it.
43603         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43604         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43605         here.
43606
43607         * scripts/check-local-headers.sh: Ignore libaudit.h.
43608
43609         * nscd/Makefile (extra-objs): Make recursively expanded.
43610
43611 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
43612
43613         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43614         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43615
43616         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43617         * posix/tst-rfc3484-2.c: Likewise.
43618         * posix/tst-rfc3484-3.c: Likewise.
43619
43620         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43621         process_vm_writev.
43622         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43623         process_vm_writev.
43624         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43625         process_vm_writev from libc using GLIBC_2.15 version.
43626
43627         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43628
43629 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
43630
43631         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43632         stack usage.
43633
43634 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
43635
43636         [BZ #13367]
43637         * nss/getent.c (initgroups_keys): Show error message in case no group
43638         names are given.
43639
43640         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43641         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43642         __bump_nl_timestamp.
43643         * nscd/connections (nscd_init): When host database is served open
43644         netlink socket and request notification about configuration changes.
43645         (main_loop_poll): Track netlink file descriptor and bump timestamp
43646         in case data becomes available.
43647         (main_loop_epoll): Likewise.
43648         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43649         (database_pers_head): Add extra_data fileds.
43650         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43651         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43652         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43653         Adjust caller.
43654         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43655         in6ai data, call __free_in6ai.
43656         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43657         Add -DHAVE_NETLINK.
43658         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
43659         interface information.  Reuse previous data if netlink timestamp
43660         is not changed.
43661         (__bump_nl_timestamp): New function.
43662         (__free_in6ai): New function.
43663
43664 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
43665
43666         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43667         close_not_cancel_no_status here.
43668         (__check_pf): Reorganize code a bit to not call close twice if OOM.
43669
43670 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
43671
43672         [BZ #13276]
43673         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43674         return value.
43675
43676         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43677         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43678         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43679
43680 2011-07-03  Andreas Jaeger  <aj@suse.de>
43681
43682         [BZ #10709]
43683         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43684         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43685         * math/libm-test.inc (sin_test): Add test case.
43686
43687 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
43688
43689         [BZ #13337]
43690         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43691         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43692
43693         * elf/chroot_canon.c (chroot_canon): Cleanups.
43694
43695         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43696
43697         [BZ #13335]
43698         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43699         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43700
43701         * string/test-strchr.c: Make usable for strchrnul testing.
43702         * string/test-strchrnul.c: New file.
43703         * string/Makefile (strop-tests): Add strchrnul.
43704
43705         * po/it.po: Update from translation team.
43706         * po/es.po: Likewise.
43707
43708 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
43709
43710         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43711         the three constants needed as parameters.  Drop the others.
43712         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43713         __m128i_strloadu_tolower.
43714         Create and initialize variable zero and use it in all the places
43715         where _mm_setzero_si128 was used.
43716
43717         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43718         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43719         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43720         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43721         anymore.
43722         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43723         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43724         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43725         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43726         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43727         __mpranred, __mptan.
43728         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43729         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43730         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43731         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43732         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43733         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43734         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43735         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43736         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43737
43738 2011-10-28  Andreas Schwab  <schwab@redhat.com>
43739
43740         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43741         redefine if SHARED.
43742         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43743
43744         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43745         wide char related routines to wcsmbs subdir.
43746
43747 2011-10-27  Andreas Schwab  <schwab@redhat.com>
43748
43749         [BZ #13344]
43750         * misc/sys/cdefs.h (__THROWNL): Define.
43751         * posix/unistd.h: Use __THREADNL instead of __THREAD
43752         for memory synchronization functions.
43753
43754 2011-10-26  Roland McGrath  <roland@hack.frob.com>
43755
43756         [BZ #13349]
43757         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43758         doesn't exist.
43759         * manual/stdio.texi (Obstack Streams): Node removed.
43760
43761 2011-10-26  Andreas Schwab  <schwab@redhat.com>
43762
43763         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43764         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43765         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43766
43767         * math/math_private.h (math_force_eval): Allow non-addressable
43768         arguments.
43769         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43770
43771 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43772
43773         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43774         file is not needed.
43775
43776         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43777         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43778         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43779         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43780         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43781         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43782         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43783         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43784         Add AVX variants.
43785         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43786         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43787         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43788         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43789         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43790         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43791         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43792         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43793         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43794         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43795         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43796         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43797         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43798         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43799         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43800         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43801         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43802         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43803         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43804
43805         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43806         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
43807
43808         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43809         place.  Use VEX encoding when compiling for AVX.
43810
43811 2011-10-25  Andreas Schwab  <schwab@redhat.com>
43812
43813         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43814         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43815
43816         * string/test-strchr.c (do_test): Don't generate NUL bytes.
43817
43818 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43819
43820         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43821         useless if() expression.
43822         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43823         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43824         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43825         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43826         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43827         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43828         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43829         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43830         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43831         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43832         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43833         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43834         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43835         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43836         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43837         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43838         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43839         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43840         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43841
43842         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43843
43844 2011-10-25  Andreas Schwab  <schwab@redhat.com>
43845
43846         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43847         condition.
43848         * elf/dl-fini.c (_dl_sort_fini): Likewise.
43849
43850 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43851
43852         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43853         .text section.  Avoid duplicate constants.
43854         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43855         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43856         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43857         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43858         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43859         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43860         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43861         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43862         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43863         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43864         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43865         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43866         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43867         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43868         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43869         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43870         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43871         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43872         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43873         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43874         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43875         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43876         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43877         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43878         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43879         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43880         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43881         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43882         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43883         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43884         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43885         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43886         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43887         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43888         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43889         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43890         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43891         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43892         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43893         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43894         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43895         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43896         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43897         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43898         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43899
43900 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
43901
43902         * sysdeps/x86_64/dla.h: Move to ...
43903         * sysdeps/x86_64/fpu/dla.h: ...here.
43904         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43905         situations.  Use __builtin_fma only for gcc 4.6 and up.
43906
43907         * config.make.in: Add have-mfma4 entry.
43908         * configure.in: Substitute libc_cv_cc_fma4.
43909         * math/Makefile (dbl-only-routines): Add sincostab.
43910         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43911         Use __sincostab not sincos.
43912         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43913         name is a macro.
43914         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43915         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43916         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43917         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
43918         using __copysign.
43919         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
43920         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
43921         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43922         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43923         and __inv.
43924         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43925         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43926         __copysign.
43927         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
43928         define aliases when function name is a macro.
43929         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43930         sysdeps/ieee754/dbl-64/sincos.tbl.
43931         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43932         fma4-enabled routines.
43933         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43934         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43935         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43936         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43937         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43938         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43939         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43940         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43941         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43942         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43943         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43944         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43945         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43946         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43947         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43948         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43949         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43950         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43951         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43952         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43953         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43954         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43955         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43956         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43957         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43958         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43959         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43960         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43961         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43962         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43963
43964         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43965         rename.
43966         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43967         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43968         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43969         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43970         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43971         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43972         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43973         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43974
43975 2011-10-24  Andreas Schwab  <schwab@redhat.com>
43976
43977         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43978
43979 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
43980
43981         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43982
43983         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43984         prediction.
43985         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43986
43987         * string/strnlen.c: Don't define STRNLEN, reverse logic.
43988         Remove unused variable magic_bits.
43989         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43990
43991         * string/strnlen.c: Define and use STRNLEN macro.
43992         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43993         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43994         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43995         * wcsmbs/wcslen.c: Define and use WCSLEN.
43996         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43997         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43998         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43999         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44000         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44001         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44002         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44003
44004 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44005
44006         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44007         strnlen-sse2-no-bsf.
44008         Rename strlen-no-bsf to strlen-sse2-no-bsf.
44009         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44010         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44011         Add strnlen support.
44012         (USE_AS_STRNLEN): New macro.
44013         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44014         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44015         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44016         * sysdeps/x86_64/wcslen.S: New file.
44017
44018 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
44019
44020         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44021         XMM-moves are used for copying on small sizes.
44022
44023 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44024
44025         * wcsmbs/Makefile (strop-tests): Add wcschr.
44026         * wcsmbs/test-wcschr.c: New file.
44027         * string/test-strchr.c: Update.
44028         Add wcschr support.
44029         (WIDE): New macro.
44030
44031 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44032
44033         * wcsmbs/Makefile (strop-tests): Add wcslen.
44034         * wcsmbs/test-wcslen.c: New file.
44035         * string/test-strlen.c: Update.
44036         Add wcslen support.
44037         (WIDE): New macro.
44038
44039 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44040
44041         * po/it.po: Update from translation team.
44042
44043 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44044
44045         * sysdeps/x86_64/wcscmp.S: Update.
44046         Fix wrong comparison semantics.
44047         wcscmp shall use signed comparison not unsigned.
44048         Don't use substraction to avoid overflow bug.
44049         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44050         * wcsmbc/wcscmp.c: Likewise.
44051         * string/test-strcmp.c: Likewise.
44052         Add new tests to check cases with negative values.
44053
44054 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44055
44056         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44057         * sysdeps/x86_64/dla.h: ...here.  New file.
44058         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44059         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44060         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44061         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44062         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44063         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44064         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44065         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44066         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44067
44068 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
44069
44070         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44071         __ynl_finite aliases.
44072
44073 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44074
44075         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44076
44077         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44078         define DLA_FMA.
44079         [DLA_FMA] (EMULV): Use DLA_FMA.
44080         [DLA_FMA] (MUL12): Use EMULV.
44081         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44082         that are not needed.
44083         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44084         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44085         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44086         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44087         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44088         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44089         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44090
44091 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
44092
44093         * math/s_nan.c: Undef __nan.
44094         * math/s_nanf.c: Undef __nanf.
44095         * math/s_nanl.c: Undef __nanl.
44096         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44097         "math_private.h".
44098
44099 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44100
44101         * math/s_catan.c: Add branch predictions.
44102         * math/s_catanf.c: Likewise.
44103         * math/s_catanh.c: Likewise.
44104         * math/s_catanhf.c: Likewise.
44105         * math/s_catanhl.c: Likewise.
44106         * math/s_catanl.c: Likewise.
44107         * math/s_cexp.c: Likewise.
44108         * math/s_cexpf.c: Likewise.
44109         * math/s_cexpl.c: Likewise.
44110         * math/s_clog.c: Likewise.
44111         * math/s_clog10.c: Likewise.
44112         * math/s_clog10f.c: Likewise.
44113         * math/s_clog10l.c: Likewise.
44114         * math/s_clogf.c: Likewise.
44115         * math/s_clogl.c: Likewise.
44116         * math/s_csqrt.c: Likewise.
44117         * math/s_csqrtf.c: Likewise.
44118         * math/s_csqrtl.c: Likewise.
44119         * math/s_ctanf.c: Likewise.
44120         * math/s_ctanh.c: Likewise.
44121         * math/s_ctanhf.c: Likewise.
44122         * math/s_ctanhl.c: Likewise.
44123         * math/s_ctanl.c: Likewise.
44124
44125         * math/math_private.h: Define __nan, __nanf, __nanl.
44126         * math/s_cacosh.c: Include <math_private.h>.
44127         * math/s_cacoshl.c: Likewise.
44128         * math/s_casinh.c: Likewise.
44129         * math/s_casinhf.c: Likewise.
44130         * math/s_casinhl.c: Likewise.
44131         * math/s_ccos.c: Rely entire on ccosh.
44132         * math/s_ccosf.c: Rely entire on ccoshf.
44133         * math/s_ccosl.c: Rely entirely on ccoshl.
44134         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
44135         Remove tests for FE_INVALID.
44136         * math/s_ccoshf.c: Likewise.
44137         * math/s_ccoshl.c: Likewise.
44138         * math/s_csin.c: Likewise.
44139         * math/s_csinf.c: Likewise.
44140         * math/s_csinh.c Likewise.
44141         * math/s_csinhf.c: Likewise.
44142         * math/s_csinhl.c: Likewise.
44143         * math/s_csinl.c: Likewise.
44144         * math/s_ctan.c: Likewise.
44145         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44146         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44147         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44148
44149 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
44150
44151         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44152         compilation problems.
44153
44154         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44155         __builtin_expect.
44156
44157 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
44158
44159         * sysdeps/i386/configure.in: Test for -mfma4 option.
44160         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44161         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44162         COMMON_CPUID_INDEX_80000001.
44163         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44164         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44165         use it if FMA3 is not supported.
44166         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44167
44168         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44169         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44170
44171 2011-10-20  Andreas Schwab  <schwab@redhat.com>
44172
44173         [BZ #12892]
44174         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44175         it would create a cycle with a link time dependency.
44176
44177 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
44178
44179         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44180         instruction.
44181         * string/Makefile (strop-tests): Add rawmemchr.
44182         * string/test-rawmemchr.c: New file.
44183
44184         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44185         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
44186         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
44187         when compiling str{,n}casecmp and when AVX is available.  Hook up
44188         new optimized code in initializers.
44189
44190 2011-10-19  Andreas Schwab  <schwab@redhat.com>
44191
44192         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44193         __feraiseexcept instead of feraiseexcept.
44194
44195 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
44196
44197         * math/math_private.h: Define defaults for libc_fetestexcept and
44198         libc_feupdateenv.
44199         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44200         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44201         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44202         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44203         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44204         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44205         libc_fetestexcept and libc_feupdateenv.
44206
44207         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44208         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44209         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44210         * sysdeps/x86_64/fpu/math_private.h: Define special version of
44211         libc_feholdexcept_setround.
44212
44213         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44214         Add s_nearbyint-c and s_nearbyintf-c.
44215         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44216         nearbyintf inlines.
44217         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44218         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44219         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44220         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44221
44222         * math/math_private.h: Define defaults for libc_fegetround,
44223         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44224         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44225         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44226         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44227         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44228         standard functions.
44229         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44230         Remove comments and hacks for old compiler versions.
44231         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44232         libc_fegetround, libc_fesetround, libc_feholdexcept, and
44233         libc_feholdexceptl.
44234
44235 2011-10-18  Andreas Schwab  <schwab@redhat.com>
44236
44237         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44238         (__feraiseexcept_renamed): Add __NTH.
44239         (feraiseexcept): Add __NTH.  Rename local variables to fix
44240         namespace violations.
44241
44242 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
44243
44244         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44245
44246         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44247
44248         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44249         recently added interfaces.
44250         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44251
44252         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44253         about macro parameter expansion.
44254
44255         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44256         __NO_MATH_INLINES is defined.  Cleanups.
44257
44258         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44259         and __floorf is target has SSE4.1.
44260         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44261         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44262         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44263         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44264
44265         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44266         name.
44267         (floorf): Likewise.
44268
44269         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44270
44271 2011-10-17  Andreas Schwab  <schwab@redhat.com>
44272
44273         * misc/sys/cdefs.h: Fix last change.
44274
44275         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44276         database lookup.
44277
44278 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
44279
44280         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44281
44282         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44283         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44284         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44285         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44286         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44287         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44288         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44289         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44290         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44291         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44292         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44293         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44294         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44295         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44296         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44297         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44298         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44299         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44300         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44301         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44302         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44303         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44304
44305         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44306         ceil, ceilf, floor, floorf.
44307
44308         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44309         Perform IRELATIVE relocations last.
44310
44311         * elf/do-rel.h: Add another parameter nrelative, replacing the
44312         local variable with the same name.  Change name of the function
44313         to end in Rel or Rela (uppercase).
44314         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44315         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
44316         elf_dynamic_do_##reloc function.
44317
44318 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44319
44320         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44321         is sufficient, at least on modern CPUs.
44322
44323         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44324
44325         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44326         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44327
44328         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44329         __expl_finite.
44330         * math/bits/math-finite.h: Add entries for exp.
44331         * math/e_expl.c: Add __*_finite alias.
44332         * sysdeps/i386/fpu/e_exp.S: Likewise.
44333         * sysdeps/i386/fpu/e_expf.S: Likewise.
44334         * sysdeps/i386/fpu/e_expl.c: Likewise.
44335         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44336         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44337         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44338         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44339         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44340         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44341         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44342
44343         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44344         is sufficient, at least on modern CPUs.
44345
44346         * ctype/ctype-info.c (__ctype_init): Define.
44347         * include/ctype.h (__ctype_init): Declare.
44348         (__ctype_b_loc): The variable is always initialized.
44349         (__ctype_toupper_loc): Likewise.
44350         (__ctype_tolower_loc): Likewise.
44351         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44352         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44353
44354 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
44355
44356         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44357
44358         * configure.in: Also look in $cxxmachine/include for C++ system
44359         headers.
44360
44361 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44362
44363         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44364         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44365         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44366         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
44367         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44368         (USE_AS_WMEMCMP): New macro.
44369         Fixing indents.
44370         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44371         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44372         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44373         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44374         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44375         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44376         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44377         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44378         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44379         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44380         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44381         (USE_AS_WMEMCMP): New macro.
44382         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44383         * sysdeps/string/test-memcmp.c: Update.
44384         Fix simple_wmemcmp.
44385         Add new tests.
44386         * wcsmbs/wmemcmp.c: Update.
44387         (WMEMCMP): New macro.
44388         Fix overflow bug.
44389
44390 2011-10-12  Andreas Jaeger  <aj@suse.de>
44391
44392         [BZ #13268]
44393         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44394
44395 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44396
44397         * libio/iofwide.c (do_length): Avoid warning.
44398
44399         * ctype/ctype.h (__isctype_f): Add missing __THROW.
44400
44401 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
44402
44403         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44404
44405         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44406         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44407         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44408         * sysdeps/i386/i686/fpu/e_log.S: New file.
44409         * sysdeps/i386/i686/fpu/e_logf.S: New file.
44410         * sysdeps/i386/i686/fpu/e_logl.S: New file.
44411
44412         * ctype/ctype.h: Add support for inlined isXXX functions when
44413         compiling C++ code.
44414
44415 2011-10-14  Andreas Schwab  <schwab@redhat.com>
44416
44417         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44418
44419         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44420
44421 2011-10-13  Roland McGrath  <roland@hack.frob.com>
44422
44423         [BZ #13291]
44424         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44425
44426 2011-10-13  Andreas Schwab  <schwab@redhat.com>
44427
44428         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44429         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44430         feraiseexcept.
44431
44432         * sysdeps/x86_64/memrchr.S: Check for zero size.
44433
44434         * string/stratcliff.c: Add memrchr tests.
44435
44436 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44437
44438         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44439         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44440         rawmemchr-sse2 rawmemchr-sse2-bsf.
44441         * sysdeps/i386/i686/multiarch/memchr.S: New file.
44442         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44443         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44444         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44445         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44446         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44447         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44448         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44449         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44450         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44451         * string/memrchr.c (MEMRCHR): New macro.
44452
44453 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
44454
44455         Add integration with gcc's -ffinite-math-only and optimize wrapper
44456         functions in libm.
44457         * Versions.def: Define GLIBC_2.15 version for libm.
44458         * math/Makefile (headers): Add bits/math-finite.h.
44459         * math/bits/math-finite.h: New file.
44460         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44461         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44462         * math/e_acoshl.c: Add __*_finite alias.
44463         * math/e_acosl.c: Likewise.
44464         * math/e_asinl.c: Likewise.
44465         * math/e_atan2l.c: Likewise.
44466         * math/e_atanhl.c: Likewise.
44467         * math/e_coshl.c: Likewise.
44468         * math/e_exp10.c: Likewise.
44469         * math/e_exp10f.c: Likewise.
44470         * math/e_exp10l.c: Likewise.
44471         * math/e_exp2l.c: Likewise.
44472         * math/e_fmodl.c: Likewise.
44473         * math/e_gammal_r.c: Likewise.
44474         * math/e_hypotl.c: Likewise.
44475         * math/e_j0l.c: Likewise.
44476         * math/e_j1l.c: Likewise.
44477         * math/e_jnl.c: Likewise.
44478         * math/e_lgammal_r.c: Likewise.
44479         * math/e_log10l.c: Likewise.
44480         * math/e_log2l.c: Likewise.
44481         * math/e_logl.c: Likewise.
44482         * math/e_powl.c: Likewise.
44483         * math/e_sinhl.c: Likewise.
44484         * math/e_sqrtl.c: Likewise.
44485         * math/e_scalb.c: Completely rewritten and optimized.
44486         * math/e_scalbf.c: Likewise.
44487         * math/e_scalbl.c: Likewise.
44488         * math/w_acos.c: Likewise.
44489         * math/w_acosf.c: Likewise.
44490         * math/w_acosl.c: Likewise.
44491         * math/w_acosh.c: Likewise.
44492         * math/w_acoshf.c: Likewise.
44493         * math/w_acoshl.c: Likewise.
44494         * math/w_asin.c: Likewise.
44495         * math/w_asinf.c: Likewise.
44496         * math/w_asinl.c: Likewise.
44497         * math/w_atan2.c: Likewise.
44498         * math/w_atan2f.c: Likewise.
44499         * math/w_atan2l.c: Likewise.
44500         * math/w_atanh.c: Likewise.
44501         * math/w_atanhf.c: Likewise.
44502         * math/w_atanhl.c: Likewise.
44503         * math/w_exp10.c: Likewise.
44504         * math/w_exp10f.c: Likewise.
44505         * math/w_exp10l.c: Likewise.
44506         * math/w_fmod.c: Likewise.
44507         * math/w_fmodf.c: Likewise.
44508         * math/w_fmodl.c: Likewise.
44509         * math/w_j0.c: Likewise.
44510         * math/w_j0f.c: Likewise.
44511         * math/w_j0l.c: Likewise.
44512         * math/w_j1.c: Likewise.
44513         * math/w_j1f.c: Likewise.
44514         * math/w_j1l.c: Likewise.
44515         * math/w_jn.c: Likewise.
44516         * math/w_jnf.c: Likewise.
44517         * math/w_log.c: Likewise.
44518         * math/w_logf.c: Likewise.
44519         * math/w_logl.c: Likewise.
44520         * math/w_log10.c: Likewise.
44521         * math/w_log10f.c: Likewise.
44522         * math/w_log10l.c: Likewise.
44523         * math/w_log2.c: Likewise.
44524         * math/w_log2f.c: Likewise.
44525         * math/w_log2l.c: Likewise.
44526         * math/w_pow.c: Likewise.
44527         * math/w_powf.c: Likewise.
44528         * math/w_powl.c: Likewise.
44529         * math/w_remainder.c: Likewise.
44530         * math/w_remainderf.c: Likewise.
44531         * math/w_remainderl.c: Likewise.
44532         * math/w_scalb.c: Likewise.
44533         * math/w_scalbf.c: Likewise.
44534         * math/w_scalbl.c: Likewise.
44535         * math/w_sqrt.c: Likewise.
44536         * math/w_sqrtf.c: Likewise.
44537         * math/w_sqrtl.c: Likewise.
44538         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44539         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
44540         used.
44541         * math/math_private.h: Declare __kernel_standard_f.
44542         * math/w_cosh.c: Remove cruft and optimize a bit.
44543         * math/w_coshf.c: Likewise.
44544         * math/w_coshl.c: Likewise.
44545         * math/w_exp2.c: Likewise.
44546         * math/w_exp2f.c: Likewise.
44547         * math/w_exp2l.c: Likewise.
44548         * math/w_hypot.c: Likewise.
44549         * math/w_hypotf.c: Likewise.
44550         * math/w_hypotl.c: Likewise.
44551         * math/w_lgamma.c: Likewise.
44552         * math/w_lgamma_r.c: Likewise.
44553         * math/w_lgammaf.c: Likewise.
44554         * math/w_lgammaf_r.c: Likewise.
44555         * math/w_lgammal.c: Likewise.
44556         * math/w_lgammal_r.c: Likewise.
44557         * math/w_sinh.c: Likewise.
44558         * math/w_sinhf.c: Likewise.
44559         * math/w_sinhl.c: Likewise.
44560         * math/w_tgamma.c: Likewise.
44561         * math/w_tgammaf.c: Likewise.
44562         * math/w_tgammal.c: Likewise.
44563         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44564         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44565         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44566         Minor optimizations.  Pretty printing.  Remove cruft.
44567         * sysdeps/i386/fpu/e_acosf.S: Likewise.
44568         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44569         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44570         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44571         * sysdeps/i386/fpu/e_acosl.c: Likewise.
44572         * sysdeps/i386/fpu/e_asin.S: Likewise.
44573         * sysdeps/i386/fpu/e_asinf.S: Likewise.
44574         * sysdeps/i386/fpu/e_atan2.S: Likewise.
44575         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44576         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44577         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44578         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44579         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44580         * sysdeps/i386/fpu/e_exp10.S: Likewise.
44581         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44582         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44583         * sysdeps/i386/fpu/e_exp2.S: Likewise.
44584         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44585         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44586         * sysdeps/i386/fpu/e_fmod.S: Likewise.
44587         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44588         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44589         * sysdeps/i386/fpu/e_hypot.S: Likewise.
44590         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44591         * sysdeps/i386/fpu/e_log.S: Likewise.
44592         * sysdeps/i386/fpu/e_log10.S: Likewise.
44593         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44594         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44595         * sysdeps/i386/fpu/e_log2.S: Likewise.
44596         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44597         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44598         * sysdeps/i386/fpu/e_logf.S: Likewise.
44599         * sysdeps/i386/fpu/e_logl.S: Likewise.
44600         * sysdeps/i386/fpu/e_pow.S: Likewise.
44601         * sysdeps/i386/fpu/e_powf.S: Likewise.
44602         * sysdeps/i386/fpu/e_powl.S: Likewise.
44603         * sysdeps/i386/fpu/e_remainder.S: Likewise.
44604         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44605         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44606         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44607         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44608         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44609         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44610         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44611         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44612         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44613         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44614         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44615         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44616         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44617         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44618         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44619         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44620         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44621         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44622         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44623         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44624         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44625         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44626         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44627         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44628         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44629         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44630         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44631         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44632         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44633         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44634         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44635         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44636         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44637         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44638         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44639         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44640         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44641         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44642         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44643         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44644         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44645         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44646         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44647         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44648         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44649         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44650         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44651         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44652         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44653         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44654         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44655         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44656         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44657         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44658         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44659         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44660         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44661         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44662         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44663         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44664         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44665         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44666         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44667         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44668         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44669         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44670         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44671         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44672         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44673         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44674         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44675         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44676         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44677         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44678         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44679         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44680         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44681         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44682         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44683         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44684         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44685         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44686         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44687         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44688         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44689         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44690         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44691         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44692         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44693         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44694         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44695         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44696         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44697         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44698         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44699         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44700         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44701         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44702         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44703         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44704         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44705         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44706         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44707         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44708         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44709         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44710         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44711         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44712         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44713         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44714         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44715         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44716         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44717         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44718         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44719         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44720         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44721         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44722         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
44723         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44724         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44725         (__isnanf): Likewise.
44726         (__isinf_ns): Likewise.
44727         (__isinf_nsf): Likewise.
44728         (__finite): Likewise.
44729         (__finitef): Likewise.
44730         (__ieee754_sqrt): Define as macro.
44731         (__ieee754_sqrtf): Define as macro.
44732         (__ieee754_sqrtl): Define as macro.
44733         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44734         inlined copy.
44735         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44736         __FINITE_MATH_ONLY__ consistent.
44737         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44738
44739 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
44740
44741         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44742         of rawmemchr.
44743
44744         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44745
44746 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
44747
44748         * po/ja.po: Update from translation team.
44749
44750 2011-10-08  Roland McGrath  <roland@hack.frob.com>
44751
44752         * locale/programs/locarchive.c (prepare_address_space): New function.
44753         (create_archive, enlarge_archive, open_archive): Use it.
44754
44755         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44756         inside [SHARED], where it is used.
44757
44758         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44759
44760         * nss/getent.c (netgroup_keys): Remove unused variable.
44761         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44762
44763 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
44764
44765         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44766         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44767         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44768         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44769         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44770         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44771         * math/Makefile (libm-calls): Add s_isinf_ns.
44772         * math/divtc3.c: Use __isinf_nsl instead of isinf.
44773         * math/multc3.c: Likewise.
44774         * math/s_casin.c: Likewise.
44775         * math/s_casinf.c: Likewise.
44776         * math/s_casinl.c: Likewise.
44777         * math/s_ccos.c: Likewise.
44778         * math/s_ccosf.c: Likewise.
44779         * math/s_ccosl.c: Likewise.
44780         * math/s_ctan.c: Likewise.
44781         * math/s_ctanf.c: Likewise.
44782         * math/s_ctanh.c: Likewise.
44783         * math/s_ctanhf.c: Likewise.
44784         * math/s_ctanhl.c: Likewise.
44785         * math/s_ctanl.c: Likewise.
44786         * math/w_fmod.c: Likewise.
44787         * math/w_fmodf.c: Likewise.
44788         * math/w_fmodl.c: Likewise.
44789         * math/w_remainder.c: Likewise.
44790         * math/w_remainderf.c: Likewise.
44791         * math/w_remainderl.c: Likewise.
44792         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44793         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44794         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44795         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44796         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44797         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44798         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44799         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44800
44801         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44802         of the number.
44803         * stdio-common/printf_fphex.c: Likewise.
44804         * stdio-common/printf_size.c: Likewise.
44805
44806         * math/e_exp10.c: Include math_private.h using <...> not "...".
44807         * math/e_exp10f.c: Likewise.
44808         * math/e_exp10l.c: Likewise.
44809         * math/e_exp2l.c: Likewise.
44810         * math/e_j0l.c: Likewise.
44811         * math/e_j1l.c: Likewise.
44812         * math/e_jnl.c: Likewise.
44813         * math/e_lgammal_r.c: Likewise.
44814         * math/e_rem_pio2l.c: Likewise.
44815         * math/e_scalb.c: Likewise.
44816         * math/e_scalbf.c: Likewise.
44817         * math/e_scalbl.c: Likewise.
44818         * math/k_cosl.c: Likewise.
44819         * math/k_sinl.c: Likewise.
44820         * math/k_tanl.c: Likewise.
44821         * math/s_cacoshf.c: Likewise.
44822         * math/s_catan.c: Likewise.
44823         * math/s_catanf.c: Likewise.
44824         * math/s_catanh.c: Likewise.
44825         * math/s_catanhf.c: Likewise.
44826         * math/s_catanhl.c: Likewise.
44827         * math/s_catanl.c: Likewise.
44828         * math/s_ccosh.c: Likewise.
44829         * math/s_ccoshf.c: Likewise.
44830         * math/s_ccoshl.c: Likewise.
44831         * math/s_cexp.c: Likewise.
44832         * math/s_cexpf.c: Likewise.
44833         * math/s_cexpl.c: Likewise.
44834         * math/s_clog.c: Likewise.
44835         * math/s_clog10.c: Likewise.
44836         * math/s_clog10f.c: Likewise.
44837         * math/s_clog10l.c: Likewise.
44838         * math/s_clogf.c: Likewise.
44839         * math/s_clogl.c: Likewise.
44840         * math/s_csin.c: Likewise.
44841         * math/s_csinf.c: Likewise.
44842         * math/s_csinh.c: Likewise.
44843         * math/s_csinhf.c: Likewise.
44844         * math/s_csinhl.c: Likewise.
44845         * math/s_csinl.c: Likewise.
44846         * math/s_csqrt.c: Likewise.
44847         * math/s_csqrtf.c: Likewise.
44848         * math/s_csqrtl.c: Likewise.
44849         * math/s_ctan.c: Likewise.
44850         * math/s_ctanf.c: Likewise.
44851         * math/s_ctanh.c: Likewise.
44852         * math/s_ctanhf.c: Likewise.
44853         * math/s_ctanhl.c: Likewise.
44854         * math/s_ctanl.c: Likewise.
44855         * math/s_ldexp.c: Likewise.
44856         * math/s_ldexpf.c: Likewise.
44857         * math/s_ldexpl.c: Likewise.
44858         * math/s_significand.c: Likewise.
44859         * math/s_significandf.c: Likewise.
44860         * math/s_significandl.c: Likewise.
44861         * math/w_acos.c: Likewise.
44862         * math/w_acosf.c: Likewise.
44863         * math/w_acosh.c: Likewise.
44864         * math/w_acoshf.c: Likewise.
44865         * math/w_acoshl.c: Likewise.
44866         * math/w_acosl.c: Likewise.
44867         * math/w_asin.c: Likewise.
44868         * math/w_asinf.c: Likewise.
44869         * math/w_asinl.c: Likewise.
44870         * math/w_atan2.c: Likewise.
44871         * math/w_atan2f.c: Likewise.
44872         * math/w_atan2l.c: Likewise.
44873         * math/w_atanh.c: Likewise.
44874         * math/w_atanhf.c: Likewise.
44875         * math/w_atanhl.c: Likewise.
44876         * math/w_cosh.c: Likewise.
44877         * math/w_coshf.c: Likewise.
44878         * math/w_coshl.c: Likewise.
44879         * math/w_dremf.c: Likewise.
44880         * math/w_exp10.c: Likewise.
44881         * math/w_exp10f.c: Likewise.
44882         * math/w_exp10l.c: Likewise.
44883         * math/w_exp2.c: Likewise.
44884         * math/w_exp2f.c: Likewise.
44885         * math/w_fmod.c: Likewise.
44886         * math/w_fmodf.c: Likewise.
44887         * math/w_fmodl.c: Likewise.
44888         * math/w_hypot.c: Likewise.
44889         * math/w_hypotf.c: Likewise.
44890         * math/w_hypotl.c: Likewise.
44891         * math/w_j0.c: Likewise.
44892         * math/w_j0f.c: Likewise.
44893         * math/w_j0l.c: Likewise.
44894         * math/w_j1.c: Likewise.
44895         * math/w_j1f.c: Likewise.
44896         * math/w_j1l.c: Likewise.
44897         * math/w_jn.c: Likewise.
44898         * math/w_jnf.c: Likewise.
44899         * math/w_jnl.c: Likewise.
44900         * math/w_lgamma.c: Likewise.
44901         * math/w_lgamma_r.c: Likewise.
44902         * math/w_lgammaf.c: Likewise.
44903         * math/w_lgammaf_r.c: Likewise.
44904         * math/w_lgammal.c: Likewise.
44905         * math/w_lgammal_r.c: Likewise.
44906         * math/w_log.c: Likewise.
44907         * math/w_log10.c: Likewise.
44908         * math/w_log10f.c: Likewise.
44909         * math/w_log10l.c: Likewise.
44910         * math/w_log2.c: Likewise.
44911         * math/w_log2f.c: Likewise.
44912         * math/w_log2l.c: Likewise.
44913         * math/w_logf.c: Likewise.
44914         * math/w_logl.c: Likewise.
44915         * math/w_pow.c: Likewise.
44916         * math/w_powf.c: Likewise.
44917         * math/w_powl.c: Likewise.
44918         * math/w_remainder.c: Likewise.
44919         * math/w_remainderf.c: Likewise.
44920         * math/w_remainderl.c: Likewise.
44921         * math/w_scalb.c: Likewise.
44922         * math/w_scalbf.c: Likewise.
44923         * math/w_scalbl.c: Likewise.
44924         * math/w_sinh.c: Likewise.
44925         * math/w_sinhf.c: Likewise.
44926         * math/w_sinhl.c: Likewise.
44927         * math/w_sqrt.c: Likewise.
44928         * math/w_sqrtf.c: Likewise.
44929         * math/w_sqrtl.c: Likewise.
44930         * math/w_tgamma.c: Likewise.
44931         * math/w_tgammaf.c: Likewise.
44932         * math/w_tgammal.c: Likewise.
44933
44934         * po/ja.po: Update from translation team.
44935
44936 2011-09-29  Andreas Jaeger  <aj@suse.de>
44937
44938         [BZ #13179]
44939         * sunrpc/netname.c (netname2host): Fix logic.
44940
44941         [BZ #6779]
44942         [BZ #6783]
44943         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44944         correctly.
44945         * math/w_remainder.c (__remainder): Likewise.
44946         * math/w_remainderf.c (__remainderf): Likewise.
44947         * math/libm-test.inc (remainder_test): Add test cases.
44948
44949 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44950
44951         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
44952         sdiv_qrnnd.
44953
44954 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
44955
44956         * string/test-memcmp.c: Avoid unncessary #defines.
44957         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44958
44959 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44960
44961         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44962         Use new sse2 version for core i3 - i7 as it's faster
44963         than sse42 version.
44964         (bit_Prefer_PMINUB_for_stringop): New.
44965         * sysdeps/x86_64/rawmemchr.S: Update.
44966         Replace with faster SSE2 version.
44967         * sysdeps/x86_64/memrchr.S: New file.
44968         * sysdeps/x86_64/memchr.S: Update.
44969         Replace with faster SSE2 version.
44970
44971 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
44972
44973         * elf/dl-load.c (lose): Add cast to avoid warning.
44974
44975 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
44976
44977         * po/ca.po: Update from translation team.
44978
44979         * inet/getnetgrent_r.c: Hook up nscd.
44980         * nscd/Makefile (routines): Add nscd_netgroup.
44981         (nscd-modules): Add netgroupcache.
44982         (CFLAGS-netgroupcache.c): Define.
44983         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44984         (cache_search): Add const to second parameter.
44985         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44986         INNETGR.
44987         (dbs): Add netgrdb entry.
44988         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44989         (verify_persistent_db): Handle netgrdb.
44990         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44991         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44992         GETFDNETGR.
44993         (netgroup_response_header): Define.
44994         (innetgroup_response_header): Define.
44995         (datahead): Add netgroup_response_header and innetgroup_response_header
44996         elements.
44997         * nscd/nscd.conf: Add entries for netgroup cache.
44998         * nscd/nscd.h (dbtype): Add netgrdb.
44999         (_PATH_NSCD_NETGROUP_DB): Define.
45000         (netgroup_iov_disabled): Declare.
45001         (xmalloc, xcalloc, xrealloc): Move declarations here.
45002         (cache_search): Adjust prototype.
45003         Add netgroup-related prototypes.
45004         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45005         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45006         (__nscd_innetgr): Declare.
45007         * nscd/selinux.c (perms): Use access_vector_t as element type and
45008         add netgroup-related initializers.
45009         * nscd/netgroupcache.c: New file.
45010         * nscd/nscd_netgroup.c: New file.
45011         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45012         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45013         For four parameters use innetgr.
45014         * nss/nss_files/files-init.c: Add definition and callback for netgr.
45015         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45016         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45017         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45018
45019         * nscd/connections.c (register_traced_file): Don't register file
45020         for disabled databases.
45021
45022 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
45023
45024         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45025
45026         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45027         from tree and freeing node.
45028
45029 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
45030
45031         * nss/nsswitch.c (__nss_database_lookup): Handle
45032         nss_parse_service_list out of memory case.
45033
45034 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
45035
45036         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45037         out of memory case.
45038
45039 2011-10-04  Andreas Schwab  <schwab@redhat.com>
45040
45041         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45042         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45043         pass it down.
45044         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45045         elf_machine_rela, elf_machine_lazy_rel.
45046         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45047         (ELF_DYNAMIC_DO_REL): Likewise.
45048         (ELF_DYNAMIC_DO_RELA): Likewise.
45049         (ELF_DYNAMIC_RELOCATE): Likewise.
45050         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45051         to ELF_DYNAMIC_DO_REL.
45052         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45053         (dl_main): In trace mode always set __RTLD_NOIFUNC.
45054         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45055         elf_machine_rela.
45056         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45057         skip_ifunc, don't call ifunc function if non-zero.
45058         (elf_machine_rela): Likewise.
45059         (elf_machine_lazy_rel): Likewise.
45060         (elf_machine_lazy_rela): Likewise.
45061         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45062         (elf_machine_lazy_rel): Likewise.
45063         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45064         Likewise.
45065         (elf_machine_lazy_rel): Likewise.
45066         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45067         Likewise.
45068         (elf_machine_lazy_rel): Likewise.
45069         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45070         (elf_machine_lazy_rel): Likewise.
45071         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45072         (elf_machine_lazy_rel): Likewise.
45073         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45074         (elf_machine_lazy_rel): Likewise.
45075         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45076         (elf_machine_lazy_rel): Likewise.
45077         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45078         (elf_machine_lazy_rel): Likewise.
45079         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45080         (elf_machine_lazy_rel): Likewise.
45081
45082 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
45083
45084         * nss/nss_files/files-init.c (_nss_files_init): Use static
45085         initialization for all the *_traced_file variables.
45086
45087 2011-09-28  Andreas Schwab  <schwab@redhat.com>
45088
45089         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45090
45091 2011-09-27  Roland McGrath  <roland@hack.frob.com>
45092
45093         [BZ #13226]
45094         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45095
45096 2011-09-27  Andreas Schwab  <schwab@redhat.com>
45097
45098         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45099         Reread the line before reparsing it.
45100
45101 2011-09-26  Andreas Schwab  <schwab@redhat.com>
45102
45103         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45104
45105 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
45106             Maxim Kuvyrkov  <maxim@codesourcery.com>
45107             Joseph Myers  <joseph@codesourcery.com>
45108
45109         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45110         if needed for __stack_chk_guard.
45111
45112 2011-09-19  Roland McGrath  <roland@hack.frob.com>
45113
45114         * sysdeps/posix/spawni.c (script_execute): Always define it.
45115         It will be optimized away if unused.
45116         (maybe_script_execute): New function.
45117         (__spawni): Call it.
45118
45119         * Makerules: Don't include tls.make.
45120         (config-tls): Always set to thread.
45121         * tls.make.c: File removed.
45122
45123 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
45124
45125         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45126         * config.make.in (CPPFLAGS-config): New substituted variable.
45127
45128 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45129
45130         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45131
45132         [BZ #13192]
45133         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45134         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45135
45136 2011-09-15  Roland McGrath  <roland@hack.frob.com>
45137
45138         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45139         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45140         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45141         (CALL_FAIL): Likewise.
45142         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45143         (CALL_FAIL): Macro removed.
45144         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45145
45146 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45147
45148         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45149         for __FINITE_MATH_ONLY__ == 1.
45150
45151 2011-09-15  Andreas Schwab  <schwab@redhat.com>
45152
45153         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45154         __ieee754_sqrt instead of sqrt.
45155         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45156         __ieee754_sqrtf instead of sqrtf.
45157         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45158         __floorf instead of floorf.
45159         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45160         __floorf, __truncf instead of floorf, truncf.
45161
45162 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
45163
45164         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45165
45166         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45167         __extern_always_inline.
45168         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45169         32-bit.
45170
45171 2011-09-14  Andreas Schwab  <schwab@redhat.com>
45172
45173         * elf/rtld.c (dl_main): Also relocate in dependency order when
45174         doing symbol dependency testing.
45175
45176 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
45177
45178         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45179         Always define `refsym'.
45180
45181 2011-09-13  Andreas Schwab  <schwab@redhat.com>
45182
45183         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45184         (__FD_ELT): Renamed from __FDELT.
45185         * misc/bits/select2.h (__FD_ELT): Likewise.
45186         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45187         __FD_MASK instead of __FDELT, __FDMASK.
45188         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45189         Likewise.
45190         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45191         Likewise.
45192
45193         * elf/Makefile (gen-ldd): Fix pattern.
45194
45195         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45196         (init_tls): Likewise.
45197
45198 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
45199
45200         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45201
45202 2011-09-12  Andreas Schwab  <schwab@redhat.com>
45203
45204         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45205         `struct cmsghdr *' instead of `void *'.
45206         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45207         Likewise.
45208
45209 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
45210
45211         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45212         if non-absolute.
45213         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45214         ldd_rewrite_script.
45215
45216 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
45217
45218         * configure.in: Remove --with-tls option.
45219         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45220         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45221         out in case it is missing.
45222         * sysdeps/ia64/elf/configure.in: Likewise.
45223         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45224         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45225         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45226         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45227         * sysdeps/sh/elf/configure.in: Likewise.
45228         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45229         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45230         * sysdeps/x86_64/elf/configure.in: Likewise.
45231         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45232         * sysdeps/mach/hurd/tls.h: Likewise.
45233
45234         [BZ #13067]
45235         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45236
45237         [BZ #13090]
45238         * configure.in: Fix use of AC_INIT.
45239
45240         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45241
45242 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
45243
45244         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45245         __set_errno.
45246         * malloc/hooks.c: Likewise.
45247
45248         [BZ #11929]
45249         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
45250         variables statically.
45251         (narenas): Initialize.
45252         (list_lock): Initialize.
45253         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
45254         initializtion of main_arena and list_lock.  Small cleanups.
45255         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45256         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
45257         Add initializers to main_arena and mp_.
45258         (malloc_state): Remove pagesize member.  Change all users to use
45259         GLRO(dl_pagesize).
45260
45261         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45262         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
45263         is always initialized.
45264
45265         * malloc/malloc.c: Removed unused configurations and dead code.
45266         * malloc/arena.c: Likewise.
45267         * malloc/hooks.c: Likewise.
45268         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45269
45270         * include/tls.h: Removed.  USE___THREAD must always be defined.
45271         * bits/libc-tsd.h: Don't handle !USE___THREAD.
45272         * elf/dl-libc.c: Likewise.
45273         * elf/dl-tsd.c: Likewise.
45274         * include/errno.h: Likewise.
45275         * include/netdb.h: Likewise.
45276         * include/resolv.h: Likewise.
45277         * inet/herrno-loc.c: Likewise.
45278         * inet/herrno.c: Likewise.
45279         * malloc/arena.c: Likewise.
45280         * malloc/hooks.c: Likewise.
45281         * malloc/malloc.c: Likewise.
45282         * resolv/res-state.c: Likewise.
45283         * resolv/res_libc.c: Likewise.
45284         * sysdeps/i386/dl-machine.h: Likewise.
45285         * sysdeps/ia64/dl-machine.h: Likewise.
45286         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45287         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45288         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45289         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45290         * sysdeps/sh/dl-machine.h: Likewise.
45291         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45292         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45293         * sysdeps/unix/i386/sysdep.S: Likewise.
45294         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45295         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45296         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45297         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45298         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45299         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45300         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45301         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45302         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45303         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45304         * sysdeps/unix/x86_64/sysdep.S: Likewise.
45305         * sysdeps/x86_64/dl-machine.h: Likewise.
45306         * tls.make.c: Likewise.
45307
45308         * configure.in: Remove --with-__thread option.  Make tests for
45309         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45310         tls_model attribute fail if no support is available.  Remove
45311         USE_IN_LIBIO.
45312         * Makeconfig: Adjust for dropped configure option.  All features are
45313         now mandatory.
45314         * Makerules: Likewise.
45315         * Versions.def: Likewise.
45316         * argp/argp-fmtstream.c: Likewise.
45317         * argp/argp-fmtstream.h: Likewise.
45318         * argp/argp-help.c: Likewise.
45319         * assert/assert.c: Likewise.
45320         * config.h.in: Likewise.
45321         * config.make.in: Likewise.
45322         * configure: Likewise.
45323         * configure.in: Likewise.
45324         * csu/Versions: Likewise.
45325         * csu/init.c: Likewise.
45326         * elf/tst-audit2.c: Likewise.
45327         * elf/tst-tls10.c: Likewise.
45328         * elf/tst-tls10.h: Likewise.
45329         * elf/tst-tls11.c: Likewise.
45330         * elf/tst-tls12.c: Likewise.
45331         * elf/tst-tls14.c: Likewise.
45332         * elf/tst-tlsmod11.c: Likewise.
45333         * elf/tst-tlsmod12.c: Likewise.
45334         * elf/tst-tlsmod13.c: Likewise.
45335         * elf/tst-tlsmod13a.c: Likewise.
45336         * elf/tst-tlsmod14a.c: Likewise.
45337         * elf/tst-tlsmod15b.c: Likewise.
45338         * elf/tst-tlsmod16a.c: Likewise.
45339         * elf/tst-tlsmod16b.c: Likewise.
45340         * elf/tst-tlsmod7.c: Likewise.
45341         * elf/tst-tlsmod8.c: Likewise.
45342         * elf/tst-tlsmod9.c: Likewise.
45343         * gmon/gmon.c: Likewise.
45344         * grp/fgetgrent_r.c: Likewise.
45345         * grp/putgrent.c: Likewise.
45346         * hurd/fopenport.c: Likewise.
45347         * include/libc-symbols.h: Likewise.
45348         * include/tls.h: Likewise.
45349         * intl/gettextP.h: Likewise.
45350         * intl/loadinfo.h: Likewise.
45351         * locale/global-locale.c: Likewise.
45352         * locale/localeinfo.h: Likewise.
45353         * mach/devstream.c: Likewise.
45354         * malloc/arena.c: Likewise.
45355         * malloc/set-freeres.c: Likewise.
45356         * misc/err.c: Likewise.
45357         * misc/getttyent.c: Likewise.
45358         * misc/mntent_r.c: Likewise.
45359         * posix/getopt.c: Likewise.
45360         * posix/wordexp.c: Likewise.
45361         * pwd/fgetpwent_r.c: Likewise.
45362         * resolv/Versions: Likewise.
45363         * resolv/res_hconf.c: Likewise.
45364         * shadow/fgetspent_r.c: Likewise.
45365         * shadow/putspent.c: Likewise.
45366         * stdio-common/printf_fphex.c: Likewise.
45367         * stdio-common/tmpfile.c: Likewise.
45368         * stdlib/abort.c: Likewise.
45369         * stdlib/fmtmsg.c: Likewise.
45370         * sunrpc/auth_unix.c: Likewise.
45371         * sunrpc/clnt_perr.c: Likewise.
45372         * sunrpc/clnt_tcp.c: Likewise.
45373         * sunrpc/clnt_udp.c: Likewise.
45374         * sunrpc/clnt_unix.c: Likewise.
45375         * sunrpc/openchild.c: Likewise.
45376         * sunrpc/svc_simple.c: Likewise.
45377         * sunrpc/svc_tcp.c: Likewise.
45378         * sunrpc/svc_udp.c: Likewise.
45379         * sunrpc/svc_unix.c: Likewise.
45380         * sunrpc/xdr.c: Likewise.
45381         * sunrpc/xdr_array.c: Likewise.
45382         * sunrpc/xdr_rec.c: Likewise.
45383         * sunrpc/xdr_ref.c: Likewise.
45384         * sunrpc/xdr_stdio.c: Likewise.
45385
45386 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45387
45388         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45389
45390 2011-07-03  Andreas Jaeger  <aj@suse.de>
45391
45392         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45393         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45394         regenerate with gen-libm-tests.pl.
45395
45396 2010-05-12  Petr Baudis  <pasky@suse.cz>
45397
45398         [BZ #11589]
45399         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45400         around j0() zero points by switching to j1().
45401         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45402         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45403         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45404         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45405
45406 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45407
45408         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45409         instead of 0.
45410         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45411         instead of 0.
45412         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45413         Patch in part by Pavel Roskin <proski@gnu.org>.
45414
45415         [BZ #13138]
45416         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45417         realloc.
45418         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
45419         Free memory block if necessary.
45420
45421         [BZ #12847]
45422         * libio/genops.c (INTDEF): For string streams the _lock pointer can
45423         be NULL.  Don't lock in this case.
45424
45425 2011-09-09  Roland McGrath  <roland@hack.frob.com>
45426
45427         * elf/elf.h (ELFOSABI_GNU): New macro.
45428         (ELFOSABI_LINUX): Define to that.
45429
45430 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
45431
45432         * string/strncat.c (strncat): Undef the symbol in case it has been
45433         defined in bits/string.h.
45434
45435 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45436
45437         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45438
45439         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45440         link map.
45441
45442 2011-08-17  Andreas Jaeger  <aj@suse.de>
45443
45444         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45445
45446 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
45447             Ian Lance Taylor  <iant@google.com>
45448
45449         * math/libm-test.inc (lround_test): New testcase.
45450         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45451
45452 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
45453
45454         * Makefile: Remove support for automatic cvs check-ins.
45455         * Makerules: Likewise.
45456         * config.make.in: Likewise.
45457         * configure.in: Likewise.
45458         * intl/Makefile: Likewise.
45459         * locale/Makefile: Likewise.
45460         * po/Makefile: Likewise.
45461         * posix/Makefile: Likewise.
45462         * sysdeps/gnu/Makefile: Likewise.
45463         * sysdeps/mach/hurd/Makefile: Likewise.
45464         * sysdeps/sparc/sparc32/Makefile: Likewise.
45465
45466         [BZ #13118]
45467         * posix/Makefile (bug-regex32-ENV): Define.
45468         Patch by John Stanley <jpsinthemix@verizon.net>.
45469
45470         * misc/Makefile (headers): Add bits/select2.h.
45471         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45472         * misc/bits/select2.h: New file.
45473         * include/bits/select2.h: New file.
45474         * debug/Makefile (routines): Add fdelt_chk.
45475         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45476         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45477         FD_ISSET.
45478         * debug/fdelt_chk.c: New file.
45479
45480         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
45481         * wcsmbs/test-wmemcmp.c: Likewise.
45482         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45483         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45484
45485 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45486
45487         * string/Makefile (strop-tests): Add memcmp.
45488         * string/test-wmemcmp.c: New file.
45489         * string/test-memcmp.c: Add wmemcmp support.
45490
45491 2011-09-08  Roland McGrath  <roland@hack.frob.com>
45492
45493         [BZ #13153]
45494         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45495         2011-07-19 change.
45496
45497         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45498         garbage value in a __mach_port_mod_refs call in the cases of the
45499         task-self and thread-self ports.
45500
45501 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45502
45503         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45504
45505 2011-09-08  Andreas Schwab  <schwab@redhat.com>
45506
45507         * elf/dl-load.c (lose): Check for non-null L.
45508
45509 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45510
45511         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45512
45513         * elf/dl-libc.c (dlerror_run): Pass back error code from
45514         dl_catch_error.
45515
45516         [BZ #13123]
45517         * elf/dl-load.c (lose): Free l_origin if it is valid.
45518
45519         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45520         names.
45521         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45522         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45523         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45524         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45525         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45526         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45527
45528 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45529
45530         * sysdeps/powerpc/fpu/e_hypot.c: New file.
45531         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45532         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45533         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45534         * sysdeps/powerpc/fpu/k_cosf.c: New file.
45535         * sysdeps/powerpc/fpu/k_sinf.c: New file.
45536         * sysdeps/powerpc/fpu/s_cosf.c: New file.
45537         * sysdeps/powerpc/fpu/s_sinf.c: New file.
45538         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45539         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45540
45541 2011-08-15  Alan Modra  <amodra@gmail.com>
45542
45543         [BZ #13092]
45544         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45545         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45546         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
45547         ppc_mcount to static-only-routines.
45548         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45549         __mcount_internal.
45550         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45551         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
45552
45553 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
45554
45555         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45556         for finite and infinity parameters.
45557
45558 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
45559
45560         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45561         and add nop instructions for throughput optimization.
45562         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45563
45564 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
45565
45566         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45567         aligned copy for power7 with vector-scalar instructions.
45568         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45569
45570 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
45571
45572         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45573         AVX check.
45574
45575 2011-09-07  Andreas Schwab  <schwab@redhat.com>
45576
45577         [BZ #13144]
45578         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45579         last change.
45580
45581 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45582
45583         * sysdeps/unix/sysv/linux/x86_64/init-first.c
45584         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45585         syscall wrapper around clock_gettime in __vdso_clock_gettime.
45586         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45587         clock_gettime.
45588
45589 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
45590
45591         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45592         Forgot to demangle the pointer.
45593
45594         * sysdeps/i386/sysdep.h: Define atom_text_section.
45595         * sysdeps/x86_64/sysdep.h: Likewise.
45596         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45597         section with atom_text_section.
45598         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45599         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45600         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45601         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45602         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45603
45604         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45605         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45606         already be defined.  Change to take two parameters and don't assign
45607         result to variable.  Adjust all users.
45608         Define INTERNAL_GETTIME if not already defined.
45609         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45610         call.
45611         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45612         HAVE_CLOCK_GETTIME_VSYSCALL.
45613         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45614
45615         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45616         gettimeofday vsyscall, just use time.
45617
45618 2011-09-06  Andreas Schwab  <schwab@redhat.com>
45619
45620         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45621         <errno.h>.
45622
45623 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
45624
45625         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45626         syscall on x86-64.
45627         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45628         syscall.
45629         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45630         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45631         syscall if possible.
45632
45633 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45634
45635         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45636         e_ident.  Don't pass to find_mapsXX.
45637         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45638
45639 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45640
45641         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45642         strchr-sse2-no-bsf strrchr-sse2-no-bsf
45643         * sysdeps/x86_64/multiarch/strchr.S: Update.
45644         Check bit_slow_BSF bit.
45645         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45646         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45647         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45648
45649 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45650
45651         [BZ #13134]
45652         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45653         before glibc 2.15.
45654         (tryshell): Define.
45655         (__spawni): Change last parameter to be flag.  Test
45656         SPAWN_XFLAGS_USE_PATH flag to use path or not.
45657         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45658         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45659         * posix/spawni.c: Likewise.
45660         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45661         * posix/spawnp.c: Likewise.  Change normal version to use
45662         SPAWN_XFLAGS_USE_PATH.
45663         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45664         SPAWN_XFLAGS_TRY_SHELL.
45665
45666         [BZ #13150]
45667         * posix/glob.h: Remove gcc 1.x support.
45668
45669         [BZ #13068]
45670         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45671
45672 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45673
45674         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45675         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45676         strrchr-sse2-bsf
45677         * sysdeps/i386/i686/multiarch/strchr.S: New file.
45678         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45679         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45680         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45681         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45682         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45683
45684 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45685
45686         * sysdeps/x86_64/wcscmp.S: New file.
45687
45688         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45689         wcscmp-c wcscmp-sse2
45690         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45691         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45692         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45693         * wcsmbs/wcscmp.c: Allow renaming.
45694
45695 2011-09-05  David S. Miller  <davem@davemloft.net>
45696
45697         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45698         stack slot, rather than the struct return pointer slot.
45699         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45700         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45701         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45702         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45703
45704 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45705
45706         * po/ja.po: Update from translation team.
45707
45708         [BZ #13144]
45709         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45710         kernel in 64-bit binaries.
45711
45712 2011-09-01  David S. Miller  <davem@davemloft.net>
45713
45714         * elf/elf.h (HWCAP_SPARC_*): Move to..
45715         * sysdeps/sparc/sysdep.h: this new file and add new values.
45716         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45717         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45718         _DL_HWCAP_COUNT to 24.
45719         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45720         entries.
45721         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45722         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45723         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45724         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45725         instead of magic constants.
45726         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45727
45728 2011-08-31  David S. Miller  <davem@davemloft.net>
45729
45730         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45731         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45732         Reimplement to do errno handling inline.
45733         (SYSCALL_ERROR_HANDLER): New macro.
45734         (__SYSCALL_STRING): Do not do errno handling in asm.
45735         (__CLONE_SYSCALL_STRING): Delete.
45736         (__INTERNAL_SYSCALL_STRING): Delete.
45737         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45738         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45739         (PSEUDO): Reimplement to do errno handling inline.
45740         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45741         (SYSCALL_ERROR_HANDLER): New macro.
45742         (__SYSCALL_STRING): Do not do errno handling in asm.
45743         (__CLONE_SYSCALL_STRING): Delete.
45744         (__INTERNAL_SYSCALL_STRING): Delete.
45745         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45746         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45747         i386.
45748         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45749         (inline_syscall*): Add 'err' argument.
45750         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45751         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45752         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45753         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45754
45755         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45756         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45757
45758 2011-08-30  Andreas Schwab  <schwab@redhat.com>
45759
45760         * elf/rtld.c (dl_main): Relocate objects in dependency order.
45761
45762 2011-08-29  Jiri Olsa <jolsa@redhat.com>
45763
45764         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45765         directive.
45766
45767 2011-08-24  David S. Miller  <davem@davemloft.net>
45768
45769         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45770
45771 2011-08-24  Andreas Schwab  <schwab@redhat.com>
45772
45773         * elf/Makefile: Add rules to build and run unload8 test.
45774         * elf/unload8.c: New file.
45775         * elf/unload8mod1.c: New file.
45776         * elf/unload8mod1x.c: New file.
45777         * elf/unload8mod2.c: New file.
45778         * elf/unload8mod3.c: New file.
45779
45780         * elf/dl-close.c (_dl_close_worker): Reset private search list if
45781         it wasn't used.
45782
45783 2011-08-23  David S. Miller  <davem@davemloft.net>
45784
45785         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45786         subtract stack bias.
45787         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45788         %sp not %fp in calculations.
45789         (_JMPBUF_UNWINDS_ADJ): Likewise.
45790
45791         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45792         (aio_suspend): Call it to force an exception region around the
45793         AIO_MISC_WAIT() invocation.
45794
45795 2011-08-23  Andreas Schwab  <schwab@redhat.com>
45796
45797         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45798         backslash.
45799
45800 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
45801
45802         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45803         protection macro.
45804         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45805         and <dl-machine.h>.
45806         (Elf64_FuncDesc): Remove.
45807
45808 2011-08-22  David S. Miller  <davem@davemloft.net>
45809
45810         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45811         sigaltstack check, add missing cfi directives.
45812         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45813         missing cfi directives, and sigaltstack handling.
45814
45815 2011-08-16  Andreas Schwab  <schwab@redhat.com>
45816
45817         [BZ #11724]
45818         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45819         object is seen twice.
45820         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45821
45822         * elf/Makefile (distribute): Add tst-initorder2.c.
45823         (tests): Add tst-initorder2.
45824         (modules-names): Add tst-initorder2a tst-initorder2b
45825         tst-initorder2c tst-initorder2d.  Add rules to build them.
45826         ($(objpfx)tst-initorder2.out): New rule.
45827         * elf/tst-initorder2.c: New file.
45828         * elf/tst-initorder2.exp: New file.
45829
45830 2011-08-22  Andreas Schwab  <schwab@redhat.com>
45831
45832         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45833
45834         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45835         dependencies back to end of function.
45836
45837         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45838         $(elfobjdir)/ld.so.
45839
45840 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
45841
45842         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45843         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45844         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45845         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45846         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45847         of __vdso_gettimeofday.
45848         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45849         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
45850         attribute_hidden.
45851         (_libc_vdso_platform_setup): Remove initialization of
45852         __vdso_gettimeofday and __vdso_time.
45853
45854 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
45855
45856         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45857         and fgetc_unlocked.
45858         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45859         getc_unlocked.
45860
45861         * elf/dl-open.c (add_to_global): Report additions to the global scope
45862         for LD_DEBUG=scopes.
45863         (dl_open_worker): Also print scope of newly loaded dependencies.
45864         (_dl_show_scope): Indicate if there is no scope.
45865
45866         [BZ #13114]
45867         * stdio-common/Makefile (tests): Add bug24.
45868         * stdio-common/bug24.c: New file.
45869
45870 2011-08-19  Andreas Jaeger  <aj@suse.de>
45871
45872         [BZ #13114]
45873         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45874         non-existant file when using close-on-exec mode.
45875
45876 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
45877
45878         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45879         the very first instruction.
45880
45881         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45882         the CFI state in the end.
45883         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45884         inclusion of dl-trampoline.h.
45885         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45886
45887 2011-08-19  Andreas Schwab  <schwab@redhat.com>
45888
45889         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45890         expectations for long double.
45891
45892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45893         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45894
45895 2011-08-14  David S. Miller  <davem@davemloft.net>
45896
45897         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45898         artificual limit depends upon the system page size.
45899
45900 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
45901
45902         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45903         * resolv/Makefile: Define CFLAGS-libresolv.
45904
45905 2011-08-17  Andreas Schwab  <schwab@redhat.com>
45906
45907         * nss/makedb.c (compute_tables): Make variables used in nested
45908         function static.
45909
45910 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
45911
45912         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45913         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45914         if buffer was too small.
45915
45916         * elf/pldd.c (main): Attach to all threads in the process.
45917         Rewrite /proc handling to use *at functions.
45918
45919 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
45920
45921         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45922         specifies first scope to show.
45923         (dl_open_worker): Update callers.  Move printing scope of new
45924         object to before the relocation.
45925         * elf/rtld.c (dl_main): Update _dl_show_scope call.
45926         * sysdeps/generic/ldsodefs.h: Update declaration.
45927
45928         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45929         string for the scope number.
45930
45931 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
45932
45933         * nscd/servicescache.c (cache_addserv): Make sure written is always
45934         initialized.
45935
45936 2011-08-14  Roland McGrath  <roland@hack.frob.com>
45937
45938         * sysdeps/i386/i486/bits/atomic.h
45939         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45940         statement expression, so as to suppress "set but not used" warning.
45941         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45942
45943         * string/strncat.c (STRNCAT): Use prototype definition.
45944
45945         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45946         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45947         -Iprograms here.
45948         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45949         (localedef-modules): Add localedef.
45950         (locale-modules): Add locale.
45951
45952         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45953         * elf/rtld.c (dl_main): Invert order of assignment in last change,
45954         to avoid a warning.
45955
45956 2011-08-14  David S. Miller  <davem@davemloft.net>
45957
45958         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45959         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45960
45961 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
45962
45963         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
45964         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45965         * elf/rtld.c (dl_main): Set l_name of vDSO.
45966         Call _dl_show_scope when DL_DEBUG_SCOPES.
45967         (process_dl_debug): Recognize scopes flag and also set it for all.
45968         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45969         Declare _dl_show_scope.
45970
45971         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45972         (do_dlopen): Pass caller_dlopen to dl_open.
45973         (__libc_dlopen_mode): Initialize caller_dlopen.
45974
45975         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45976         of libc.  Make tolower call locale-independent.  Optimize a bit by
45977         using isdigit instead of isalnum.
45978         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45979
45980 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
45981
45982         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45983         was a dependency or dynamically loaded.
45984
45985 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
45986
45987         * intl/l10nflist.c: Allow architecture-specific pop function.
45988         * sysdeps/x86_64/l10nflist.c: New file.
45989
45990         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45991         classification.
45992
45993 2011-08-10  Andreas Schwab  <schwab@redhat.com>
45994
45995         * include/dirent.h: Add libc_hidden_proto for scandirat and
45996         scandirat64.  Don't declare __scandirat64.
45997         * dirent/scandirat.c: Add libc_hidden_def.
45998         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45999         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46000
46001 2011-08-10  David S. Miller  <davem@davemloft.net>
46002
46003         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46004         enum.
46005         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46006         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46007         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46008
46009 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
46010
46011         * Versions.def [libc]: Add GLIBC_2.15.
46012         * dirent/Makefile (routines): Add scandirat and scandirat64.
46013         * dirent/Versions [libc]: Export scandirat and scandirat64 for
46014         GLIBC_2.15.
46015         * dirent/dirent.h: Declare scandirat and scandirat64.
46016         * dirent/scandirat.c: New file.
46017         * dirent/scandirat64.c: New file.
46018         * sysdeps/wordsize-64/scandirat.c: New file.
46019         * sysdeps/wordsize-64/scandirat64.c: New file.
46020         * dirent/opendir.c: Define opendirat.
46021         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
46022         using scandirat.
46023         * dirent/scandir64.c: Adjust for scandir.c change.
46024         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
46025         __scandirat64, and __scandir_cancel_handler.
46026         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
46027         additional parameter and use openat instead of open (outside of ld.so).
46028         Add new __opendir as wrapper around __opendirat.
46029         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46030         here without requiring old scandirat implementation.
46031
46032 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
46033
46034         * dirent/scandir.c (cancel_handler): Renamed to
46035         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
46036         defined.  Adjust users.
46037         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46038         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46039
46040 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
46041
46042         * string/test-string.h (IMPL): Use __STRING to expand name and then
46043         stringify it.
46044
46045         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
46046         of cleanups.
46047
46048 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46049
46050         * string/Makefile: Update.
46051         (strop-tests): Append strncat.
46052         * string/test-wcscmp.c: New file.
46053         New comprehensive test for wcscmp.
46054         * string/test-strcmp.c: Update.
46055         (WIDE): New define.
46056
46057 2011-07-22  Andreas Schwab  <schwab@redhat.com>
46058
46059         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46060         line.
46061
46062 2011-07-26  Andreas Schwab  <schwab@redhat.com>
46063
46064         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46065         encoding to ACE if AI_IDN.
46066
46067 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
46068
46069         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46070         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46071
46072 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46073
46074         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46075         Fix overflow bug in strncat.
46076         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46077
46078         * string/test-strncat.c: Update.
46079         Add new tests for checking overflow bugs.
46080
46081 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46082
46083         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46084         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46085         * sysdeps/i386/i686/multiarch/strcat.S: New file.
46086         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46087         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46088         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46089         * sysdeps/i386/i686/multiarch/strncat.S: New file.
46090         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46091         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46092
46093         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46094         (USE_AS_STRCAT): Define.
46095         Add strcat and strncat support.
46096         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46097
46098 2011-07-25  Andreas Schwab  <schwab@redhat.com>
46099
46100         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46101         __n bigger than INT_MAX+1.
46102         (__strncmp_g): Likewise.
46103
46104 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
46105
46106         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46107         * libio/stido.h: Likewise.
46108
46109         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46110         (AF_NFC): Define.
46111         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46112         (AF_NFC): Define.
46113
46114         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46115         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46116         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46117         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46118         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46119
46120         [BZ #13021]
46121         * scripts/test-installation.pl: Don't expect libnss_test1 to be
46122         installed.
46123
46124         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46125         typo.
46126         (_dl_x86_64_save_sse): Likewise.
46127
46128 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
46129
46130         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46131         OSXSAVE.
46132         (_dl_x86_64_save_sse): Likewise.
46133
46134         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46135
46136         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46137
46138 2011-07-21  Andreas Schwab  <schwab@redhat.com>
46139
46140         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46141         change.
46142         (_dl_x86_64_save_sse): Use correct AVX check.
46143
46144 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46145
46146         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46147         bug in strncpy/strncat.
46148         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46149
46150 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
46151
46152         * string/tester.c (test_strcat): Add tests for different alignments
46153         of source and destination.
46154         (test_strncat): Likewise.
46155
46156 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46157
46158         [BZ #12852]
46159         * posix/glob.c (glob): Check passed in values before using them in
46160         expressions to avoid some overflows.
46161         (glob_in_dir): Likewise.
46162
46163         [BZ #13007]
46164         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46165         check for AVX enablement so that we don't crash with old kernels and
46166         new hardware.
46167         * elf/tst-audit4.c: Add same checks here.
46168         * elf/tst-audit6.c: Likewise.
46169
46170         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46171
46172 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
46173
46174         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46175
46176 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46177
46178         * po/cs.po: Update from translation team.
46179         * po/bg.po: Likewise.
46180
46181 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
46182
46183         * misc/sys/cdefs.h: Add support for const attribute.
46184         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46185         to gnu_dev_{major,minor,makedev} functions.
46186
46187 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
46188
46189         * intl/dcigettext.c (get_output_charset): Add missing bracket.
46190
46191 2011-07-20  Andreas Schwab  <schwab@redhat.com>
46192
46193         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46194         strlen results.
46195
46196 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46197
46198         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46199         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46200         register in order to avoid conflicts with the soft frame pointer
46201         being held in r11 when necessary.
46202         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46203         (INTERNAL_VSYSCALL_NCS): Likewise.
46204
46205 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
46206
46207         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46208         * elf/dl-fini.c (_dl_fini): Adjust caller.
46209         * elf/dl-close.c (_dl_close_worker): Likewise.
46210         * sysdeps/generic/ldsodefs.h: Adjust declaration.
46211
46212 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46213
46214         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46215         "aux_cache->nlibs < 0".
46216
46217         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46218         in the reload-count case.
46219
46220 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46221
46222         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46223         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46224         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46225         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46226         * sysdeps/x86_64/multiarch/strcat.S: New file.
46227         * sysdeps/x86_64/multiarch/strncat.S: New file.
46228         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46229         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46230         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46231         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46232         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46233         (USE_AS_STRCAT): Define.
46234         Add strcat and strncat support.
46235         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46236         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46237         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46238         * string/strncat.c: Update.
46239         (USE_AS_STRNCAT): Define.
46240         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46241         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46242         and i7.
46243         * sysdeps/x86_64/multiarch/init-arch.h
46244         (bit_Prefer_PMINUB_for_stringop): New.
46245         (index_Prefer_PMINUB_for_stringop): Likewise.
46246         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46247         bit_Prefer_PMINUB_for_stringop.
46248
46249 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46250
46251         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46252         buffer64.
46253         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46254         of casting of buffer.
46255         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46256         buffer32 and buffer64.
46257         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46258         writes instead of casting of buffer.
46259         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46260         buffer32.
46261         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46262         casting of buffer.
46263
46264 2011-07-19  Andreas Schwab  <schwab@redhat.com>
46265
46266         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46267
46268 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46269
46270         * nscd/nscd.c (termination_handler): Don't do anything for a database
46271         if it has not yet been initialized.
46272
46273 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46274
46275         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46276
46277 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46278
46279         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46280
46281 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46282
46283         * po/nl.po: Update from translation team.
46284         * po/sv.po: Likewise.
46285
46286 2011-07-16  Roland McGrath  <roland@hack.frob.com>
46287
46288         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46289         now disallowed by GCC.
46290
46291         * configure.in (use-default-link): Default to yes if a test -shared
46292         link meets our qualifications.
46293         * configure: Regenerated.
46294
46295         * config.make.in (output-format): New variable.
46296         * configure.in: Check for ld --print-output-format support.
46297         * configure: Regenerated.
46298         * Makerules ($(common-objpfx)format.lds)
46299         [$(output-format) != unknown]: Just use $(output-format),
46300         instead of the linker-script munging.
46301
46302 2011-07-14  Roland McGrath  <roland@hack.frob.com>
46303
46304         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46305         of $(common-objpfx)shlib.lds.
46306         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46307
46308         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46309         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46310
46311         * configure.in (-z relro check): Adjust test code to add a large
46312         writable data section after it.
46313         * configure: Regenerated.
46314
46315 2011-07-11  Roland McGrath  <roland@hack.frob.com>
46316
46317         * configure.in (-z relro check): Fix test code to make the variable
46318         truly const.
46319         * configure: Regenerated.
46320
46321 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
46322
46323         * nscd/nscd.h (struct traced_file): Define.
46324         (struct database_dyn): Remove inotify_descr, reset_res, and filename
46325         elements.  Add traced_files.
46326         (inotify_fd): Declare.
46327         (register_traced_file): Declare.
46328         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46329         (inotify_fd): Export.
46330         (resolv_conf_descr): Remove.
46331         (nscd_init): Move inotify descriptor creation to main.
46332         Don't register files for notification here.
46333         (register_traced_file): New function.
46334         (invalidate_cache): Don't use reset_res to determine whether to call
46335         res_init, go through the list of registered files.
46336         (main_loop_poll): The inotify descriptors are now stored in the
46337         structures for the traced files.
46338         (main_loop_epoll): Likewise
46339         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
46340         to __nss_disable_nscd.
46341         * nscd/cache.c (prune_cache): There is no single inotify descriptor
46342         for a database anymore.  Check the records for all the registered
46343         files instead.
46344         * nss/Makefile (libnss_files-routines): Add files-init.
46345         (libnss_db-routines): Add db-init.
46346         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46347         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46348         * nss/nss_db/db-init.c: New file.
46349         * nss/nss_files/files-init.c: New file.
46350         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
46351         __nss_lookup_function.
46352         (__nss_lookup_function): Call nss_load_library.
46353         (nss_load_all_libraries): New function.
46354         (__nss_disable_nscd): Take parameter with callback function for files
46355         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
46356         used for the cached services.
46357         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46358         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46359         options for features to all the files in nscd.
46360
46361         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46362
46363 2011-07-10  Roland McGrath  <roland@hack.frob.com>
46364
46365         * csu/elf-init.c (__libc_csu_init): Comment typo.
46366
46367 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
46368
46369         * po/pl.po: Update from translation team.
46370         * po/ja.po: Likewise.
46371         * po/ru.po: Likewise.
46372         * po/ko.po: Likewise.
46373         * po/fr.po: Likewise.
46374
46375 2011-07-09  Roland McGrath  <roland@hack.frob.com>
46376
46377         * configure.in (.ctors/.dtors header and trailer check):
46378         Use an empirical test on a built program.
46379         * configure: Regenerated.
46380
46381         * configure.in (-z relro check): Use an empirical test on a built DSO.
46382         Detect, but do not require, on ia64.
46383         * configure: Regenerated.
46384
46385         * configure.in (READELF): Find it with AC_CHECK_TOOL.
46386         Update tests that use readelf to use $READELF instead.
46387         * configure: Regenerated.
46388
46389 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
46390
46391         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46392         if the result is not used.
46393
46394 2011-07-05  Andreas Jaeger  <aj@suse.de>
46395
46396         [BZ#9696]
46397         * stdlib/tst-strtod.c: Add testcase.
46398
46399 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
46400
46401         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46402         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46403         The latter has a higher limit.  Take additional parameter to pass to
46404         the new function.
46405         (__pathconf): Pass file to __statfs_link_max.
46406         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46407         __statfs_link_max.
46408         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46409         __statfs_link_max.
46410
46411         [BZ #12868]
46412         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46413         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46414         Handle Lustre.
46415         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46416         (__statfs_filesize_max): Likewise.
46417         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46418
46419 2011-07-05  Andreas Jaeger  <aj@suse.de>
46420
46421         * resolv/res_comp.c (dn_skipname): Remove unused variable.
46422
46423 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
46424
46425         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46426         `status' variable.
46427         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46428         Likewise.
46429
46430 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
46431
46432         * Makefile (strop-tests): Add strncat.
46433         * string/test-strncat.c: New file.
46434
46435 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
46436
46437         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46438
46439 2011-06-21  Andreas Jaeger  <aj@suse.de>
46440
46441         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46442         Copy rule from iconvdata/Makefile.
46443
46444 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46445
46446         [BZ #12922]
46447         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46448         but no long options are defined, just return 'W'.
46449
46450 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
46451
46452         [BZ #9696]
46453         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46454
46455 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46456
46457         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46458         netgroups to read.
46459         (innetgr): Likewise.
46460
46461 2011-07-05  Roland McGrath  <roland@hack.frob.com>
46462
46463         * config.make.in (install_root): Default to $(DESTDIR).
46464
46465 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
46466
46467         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46468
46469 2011-07-02  Roland McGrath  <roland@hack.frob.com>
46470
46471         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46472
46473         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46474         containing directory rather than embedding absolute directory names.
46475
46476         * scripts/check-local-headers.sh: Rewritten using awk.
46477         Match by word, not by line.  Print error messages for matches.
46478         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46479
46480         * Makerules [shlib-lds-flags empty]:
46481         ($(common-objpfx)libc_pic.opts): New target.
46482         ($(common-objpfx)libc_pic.os.clean): New target.
46483         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46484
46485         * config.make.in (OBJCOPY): New variable.
46486         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46487         * configure: Regenerated.
46488
46489         * config.make.in (use-default-link): New variable.
46490         * configure.in (use_default_link): Grok --with-default-link to set it.
46491         * configure: Regenerated.
46492         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46493         (shlib-lds, shlib-lds-flags): Define to empty.
46494
46495         * Makerules (shlib-lds): New variable.
46496         (shlib-lds-flags): New variable.
46497         (build-shlib, build-moduile, build-module-asneeded): Use it.
46498         ($(common-objpfx)libc.so): Use $(shlib-lds).
46499         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46500         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46501
46502         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46503         DT_FLAGS/DT_FLAGS_1 with zero flags.
46504
46505         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46506         linker script munging.
46507
46508 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
46509
46510         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46511         as 128-bit value.
46512         * crypt/sha512.c (sha512_process_block): Perform total addition using
46513         128-bit if possible.
46514         (__sha512_finish_ctx): Likewise.
46515         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46516         as 64-bit value.
46517         * crypt/sha256.c (SWAP64): Define.
46518         (sha256_process_block): Perform total addition using 64-bit if
46519         possible.
46520         (__sha256_finish_ctx): Likewise.
46521
46522 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
46523
46524         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
46525         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46526         * nscd/hstcache.c (cache_addhst): Likewise.
46527         * nscd/grpcache.c (cache_addgr): Likewise.
46528         * nscd/aicache.c (addhstaiX): Likewise
46529         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46530
46531 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
46532
46533         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46534         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46535         * nscd/hstcache.c (cache_addhst): Likewise.
46536         * nscd/grpcache.c (cache_addgr): Likewise.
46537         * nscd/aicache.c (addhstaiX): Likewise
46538
46539 2011-07-01  Andreas Schwab  <schwab@redhat.com>
46540
46541         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46542         domain only when needed.
46543
46544 2011-06-30  Andreas Schwab  <schwab@redhat.com>
46545
46546         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46547         is always restored.
46548
46549 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
46550
46551         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46552         are re-adding the entry.
46553         * nscd/servicescache.c (cache_addserv): Likewise.
46554
46555 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
46556
46557         * sysdeps/generic/dl-irel.h: fix protection against multiple
46558         inclusions.
46559         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46560
46561 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
46562
46563         [BZ #12935]
46564         * malloc/memusage.sh: Fix quoting in message.
46565         * debug/xtrace.sh: Likewise.
46566
46567         * configure.in: Remove support for --experimental-malloc option, make
46568         it the default.
46569         * config.make.in: Likewise.
46570         * malloc/Makefile: Likewise.
46571
46572 2011-06-27  Andreas Schwab  <schwab@redhat.com>
46573
46574         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46575         two-byte characters.
46576
46577 2011-06-27  Roland McGrath  <roland@hack.frob.com>
46578
46579         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46580         AC_CACHE_CHECK invocation.
46581         * configure: Regenerated.
46582
46583         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46584
46585 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
46586
46587         [BZ #12350]
46588         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
46589         bit from old_res_options.
46590
46591         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46592
46593         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46594         value type for setfct.
46595
46596 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
46597
46598         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46599         __gettimeofday instead of gettimeofday.
46600
46601 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
46602
46603         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46604
46605 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
46606
46607         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46608
46609         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46610         info.
46611
46612 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
46613
46614         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46615         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46616         strcpy-sse2-unaligned strncpy-sse2-unaligned
46617         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46618         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46619         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46620         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46621         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46622         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46623         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46624         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46625         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46626         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46627         (STRCPY): Support SSE2 and SSSE3 versions.
46628
46629 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
46630
46631         [BZ #12874]
46632         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46633         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46634         kernels which artificially limit size of requests.
46635
46636 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
46637
46638         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46639         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46640         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46641         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46642         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46643         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46644         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46645         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46646         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46647         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46648         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46649         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46650         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46651         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46652         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46653         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46654         Enable unaligned load optimization for Intel Core i3, i5 and i7
46655         processors.
46656         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46657         Define.
46658         (index_Fast_Unaligned_Load): Define.
46659         (HAS_FAST_UNALIGNED_LOAD): Define.
46660
46661 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
46662
46663         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46664
46665 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
46666
46667         [BZ #12907]
46668         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46669         until it is clear that the information is realy needed.
46670         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46671
46672 2011-06-22  Andreas Schwab  <schwab@redhat.com>
46673
46674         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46675
46676 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
46677
46678         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46679         /sys/devices/system/cpu/online if it is usable.
46680
46681         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46682         reading the information from the /proc filesystem to once a second.
46683
46684 2011-06-21  Andreas Jaeger  <aj@suse.de>
46685
46686         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46687         NULL after inclusion of kernel headers.
46688
46689 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
46690
46691         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46692         calls to internal_setent.
46693
46694         [BZ #12885]
46695         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46696         addresses using gethostbyname4_r ignore IPv4 addresses.
46697
46698         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46699         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
46700
46701         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46702
46703 2011-06-20  David S. Miller  <davem@davemloft.net>
46704
46705         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46706         inclusions.
46707         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46708
46709         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46710         (elf_irel): Use it.
46711         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46712         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46713         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46714         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46715         * sysdeps/x86_64/dl-irel.h: Likewise.
46716
46717         * elf/dl-runtime.c: Use elf_ifunc_invoke.
46718         * elf/dl-sym.c: Likewise.
46719
46720 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
46721
46722         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
46723         need to dereference resplen2.
46724
46725 2011-06-14  Andreas Schwab  <schwab@redhat.com>
46726
46727         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46728
46729 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
46730
46731         * Makeconfig: Define vardbdir and inst_vardbdir.
46732         * nss/Makefile: Add rules to install db-Makefile.
46733
46734         * nss/nss_db/db-XXX.c: Cleanup.
46735
46736         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46737         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46738         GLIBC_PRIVATE.
46739         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46740         * nss/makedb.c: Implement -g option to specify that value strings
46741         are generated and should not be added to table iterated over for
46742         get*ent calls.
46743         * nss/nss_db/db-initgroups.c: New file.
46744
46745         * nss/getent.c: Add support for initgroups lookups through getgrouplist
46746         interface.
46747
46748         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46749         (internal_getgrouplist): Adjust to name change.
46750         Update use_initgroups_entry if this is not the first call.
46751         * nss/databases.def: Add initgroups entry.
46752
46753         * nss/makedb.c (compute_tables): Check result of multiple hash table
46754         sizes to minimize maximum chain length.
46755
46756 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
46757
46758         * Versions.def: Add entry for libnss_db.
46759         * shlib-versions: Likewise.
46760         * nss/Makefile: Add rules to build libnss_db.
46761         * nss/Versions: Add libnss_db information.  Organize libnss_files
46762         entries better.
46763         * nss/db-Makefile: Add gshadow support.  Change rules for the new
46764         makedb progra.  Some minor improvements to generate smaller files.
46765         * nss/nss_db/nss_db.h: Move NSS database header data structures to
46766         here from...
46767         * nss/makedb.c: ...here.
46768         Improve database format to be smaller and require less memory at
46769         runtime.
46770         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
46771         db anymore.
46772         * nss/nss_db/db-netgrp.c: Likewise.
46773         * nss/nss_db/db-open.c: Likewise.
46774         * nss/nss_files/flies-XXX.x: Adjust comments.
46775         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46776         * nss/nss_files/files-grp.c: Likewise.
46777         * nss/nss_files/files-hosts.c: Likewise.
46778         * nss/nss_files/files-network.c: Likewise.
46779         * nss/nss_files/files-proto.c: Likewise.
46780         * nss/nss_files/files-pwd.c: Likewise.
46781         * nss/nss_files/files-rpc.c: Likewise.
46782         * nss/nss_files/files-service.c: Likewise.
46783         * nss/nss_files/files-sgrp.c: Likewise.
46784         * nss/nss_files/files-spwd.c: Likewise.
46785         * nss/nss_db/db-alias.c: Removed.
46786         * nss/nss_db/dummy-db.h: Removed.
46787
46788 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
46789
46790         * nss/makedb.c: Rewritten to not use database library.
46791         * nss/Makefile: Update to build new makedb program.
46792
46793 2011-06-14  Andreas Jaeger  <aj@suse.de>
46794
46795         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46796         memset declaration.
46797
46798 2011-06-10  Andreas Schwab  <schwab@redhat.com>
46799
46800         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46801         tmpbuf.
46802
46803 2011-06-10  Roland McGrath  <roland@hack.frob.com>
46804
46805         * Makerules (shlib.lds): Fail if the linker script comes out empty.
46806         * elf/Makefile ($(objpfx)ld.so): Likewise.
46807
46808         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46809         Don't list ld.so twice in dependencies.
46810
46811         * posix/bug-regex31.c: Include <stdlib.h>.
46812
46813         * nscd/hstcache.c (cache_addhst): Remove unused variable.
46814
46815         * nis/nss_compat/compat-spwd.c
46816         (getspent_next_nss_netgr): Remove unused variable.
46817         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46818
46819         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46820         nonmembers" output to use the right array.
46821
46822         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46823
46824         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46825
46826         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46827         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46828         * catgets/gencat.c (read_input_file): Likewise.
46829         * locale/programs/locarchive.c (enlarge_archive): Likewise.
46830
46831         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46832         variable definition inside #if's controlling its use.
46833
46834         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46835
46836         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46837
46838         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46839
46840         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46841         unreachable code.
46842
46843         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46844
46845         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46846         * configure: Regenerated.
46847
46848         * Makerules: Revert last change.
46849         * elf/Makefile: Likewise.
46850
46851 2011-06-09  Roland McGrath  <roland@hack.frob.com>
46852
46853         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46854         * elf/Makefile ($(objpfx)librtld.os): Likewise.
46855         (reloc-link): Likewise.
46856
46857 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
46858
46859         * elf/Makefile: Add rules to build pldd.
46860         * elf/pldd.c: New file.
46861         * elf/pldd-xx.c: New file.
46862
46863 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
46864
46865         * version.h: Update for 2.15 development version.
46866
46867 2011-06-07  David S. Miller  <davem@davemloft.net>
46868
46869         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46870         ifuncs.
46871         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46872         elf_machine_lazy_rel): Likewise.
46873         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46874         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46875         elf_machine_lazy_rel): Likewise.
46876         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46877         dl_hwcap via passed in argument.
46878         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46879         Likewise.
46880
46881 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46882
46883         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
46884
46885 2011-06-06  Roland McGrath  <roland@hack.frob.com>
46886
46887         [BZ #12849]
46888         * manual/fdl-1.1.texi: New file, verbatim from:
46889         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46890         * manual/lgpl-2.1.texi: New file, verbatim from:
46891         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46892         * manual/Makefile (licenses): New variable, list those new file names.
46893         (texis): Use it.
46894         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46895
46896         * manual/fdl.texi: File removed.
46897         * manual/lesser.texi: File removed.
46898         * manual/libc.texinfo (Copying, Documentation License):
46899         Use new @include file names, put @appendix directive before @include.
46900
46901 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
46902
46903         [BZ #12841]
46904         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46905         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46906         (mq_open): Add __NTH.
46907
46908 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
46909
46910         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46911         Assume Intel Core i3/i5/i7 processor if AVX is available.
46912
46913 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
46914
46915         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46916         typo.
46917
46918 2011-05-31  Andreas Schwab  <schwab@redhat.com>
46919
46920         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46921         memory.  Use alloca_account.  Fix memory leak when retrying.
46922
46923 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
46924
46925         * version.h (RELEASE): Bump for 2.14 release.
46926         * include/features.h (__GLIBC_MINOR__): Bump to 14.
46927
46928         * config.make.in (RANLIB): Remove entry.
46929
46930 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
46931
46932         * po/Makefile (po-sed-cmd): Add ksh to extensions.
46933         (libc.pot): Work around missing support for .ksh extension in xgettext.
46934
46935         [BZ #12684]
46936         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46937         if both request failed.
46938         (send_dg): In case of server errors clear resplen or *resplen2.
46939
46940         [BZ #12454]
46941         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46942         when there are multiple maps.
46943         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46944         (_dl_fini): Remove test here.
46945
46946         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46947
46948 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
46949
46950         [BZ #12350]
46951         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46952         bit from old_res_options.
46953         (gaih_inet): Likewise.
46954
46955         [BZ #11099]
46956         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
46957         as signed.
46958
46959         * resolv/res_init.c (res_setoptions): Make the code more compact.
46960
46961         [BZ #11558]
46962         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46963         set RES_USEVC.
46964
46965         [BZ #11634]
46966         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46967
46968         * malloc/malloc.h: Mark malloc hook variables as deprecated.
46969
46970         [BZ #11781]
46971         * malloc/malloc.h: Declare malloc hook variables as volatile.
46972
46973         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46974         in last patch.
46975
46976         [BZ #11799]
46977         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
46978         raise in the comment.
46979         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46980         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46981         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
46982
46983 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
46984
46985         [BZ #12811]
46986         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46987         grow the buffers more if it already has to be sufficient.
46988         (build_wcs_upper_buffer): Likewise.
46989         * posix/regexec.c (check_matching): Likewise.
46990         (clean_state_log_if_needed): Likewise.
46991         (extend_buffers): Don't enlarge buffers beyond size of the input
46992         buffer.
46993         Patches mostly by Emil Wojak <emil@wojak.eu>.
46994         * posix/bug-regex32.c: New file.
46995         * posix/Makefile (tests): Add bug-regex32.
46996
46997         * locale/findlocale.c (_nl_find_locale): Return right away if
46998         _nl_explode_name failed.
46999         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47000
47001         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47002
47003         * debug/xtrace.sh: Unify messages.
47004         * malloc/memusage.sh: Likewise.
47005
47006         [BZ #12813]
47007         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47008         time symbol from vDSO.  Substitute with vsyscall if not available.
47009         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47010         __vdso_time.
47011
47012         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47013         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47014         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47015         Add sendmmsg and internal_sendmmsg.
47016         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47017         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47018         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47019
47020         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47021         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47022         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47023
47024 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
47025
47026         [BZ #12813]
47027         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47028         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
47029         available.
47030         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47031         __vdso_getcpu.
47032
47033         [BZ #12814]
47034         * iconvdata/Makefile (tests): Add bug-iconv9.
47035         * iconvdata/bug-iconv9.c: New file.
47036
47037 2011-05-27  Andreas Schwab  <schwab@redhat.com>
47038
47039         [BZ #12814]
47040         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47041
47042 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
47043
47044         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47045         (struct user_regs_struct): Change intcs field back to cs.
47046
47047 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
47048
47049         * po/ja.po: Update from translation team.
47050
47051 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
47052
47053         [BZ #12795]
47054         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47055         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47056
47057 2011-05-20  Andreas Schwab  <schwab@redhat.com>
47058
47059         * stdlib/longlong.h: Update from GCC.
47060
47061 2011-05-23  Andreas Schwab  <schwab@redhat.com>
47062
47063         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47064         parameter name.
47065         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47066         Add parameter name.
47067         (__sysconf): Pass it down.
47068
47069 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
47070
47071         [BZ #12671]
47072         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47073         some situations.
47074         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47075         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47076         add in in __libc_use_alloca calls.  Adjust callers.
47077         (glob): Use malloc in some situations.
47078
47079         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47080         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47081         pltexit.
47082
47083 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
47084
47085         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47086         and CLOCK_BOOTTIME_ALARM.
47087
47088         [BZ #12782]
47089         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47090         is returned.
47091
47092         * string/_strerror.c (__strerror_r): Print negative errors as signed
47093         numbers.
47094
47095         [BZ #12777]
47096         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47097         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47098         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47099
47100         * configure.in: Fix typo in redirection and correct removal of test
47101         files in two cases.
47102
47103         [BZ #12788]
47104         * locale/setlocale.c (new_composite_name): Fix test to check for
47105         identical name of all categories.
47106
47107         [BZ #12792]
47108         * libio/filedoalloc.c (local_isatty): New function.
47109         (_IO_file_doallocate): Use local_isatty.
47110         * stdio-common/perror.c (perror): In case a new stream is used
47111         forward the stream error.
47112         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47113         error flag.
47114
47115 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
47116
47117         [BZ #11869]
47118         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47119         alloca.
47120         * include/alloca.h (extend_alloca_account): Define.
47121
47122         [BZ #11857]
47123         * posix/regex.h: Fix comments with documentation of user-accessible
47124         fields after compilation and describe correct free'ing of pattern
47125         after re_compile_pattern.
47126         Patch by Reuben Thomas <rrt@sc3d.org>.
47127
47128 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
47129
47130         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47131         and -mno-altivec to prevent the compiler from using Altivec and/or
47132         VSX instructions when the corresponding registers are not available.
47133
47134 2011-05-19  Andreas Schwab  <schwab@redhat.com>
47135
47136         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47137
47138 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
47139
47140         * libio/freopen.c (freopen): Use __dup2, not dup2.
47141         * libio/freopen64.c (freopen64): Likewise.
47142
47143 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47144
47145         [BZ #12775]
47146         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47147         * math/Makefile (tests): Add test-powl.
47148         (CFLAGS-test-powl.c): Define.
47149         * math/test-powl.c: New file.
47150
47151 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47152
47153         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47154
47155 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
47156
47157         [BZ #11837]
47158         * iconvdata/gb18030.c: Update to GB18020-2005.
47159
47160 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
47161
47162         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47163         RE_SYNTAX_POSIX_AWK): Update to match recent development.
47164         Patch by Aharon Robbins <arnold@skeeve.com>.
47165
47166         [BZ #11892]
47167         * stdlib/putenv.c (putenv): Don't always create copy of the variable
47168         on the stack.
47169
47170         [BZ #11895]
47171         * misc/pselect.c (__pselect): Handle timeout value errors hidden
47172         through underflows.
47173
47174         [BZ #12766]
47175         * misc/error.c (error_at_line): Ensure file_name and old_file_name
47176         point to strings before performing equality test for error_one_per_line
47177         mode.
47178
47179         [BZ #11697]
47180         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47181
47182         [BZ #11820]
47183         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47184         (struct user_fpregs_struct): Avoid __uint*_t types.
47185
47186         [BZ #6420]
47187         * malloc/mtrace.c (tr_where): Add additional parameter to point to
47188         symbol info.  Use it instead of calling _dl_addr locally.
47189         (lock_and_info): New function.
47190         (tr_freehook): Call lock_and_info and pass symbol info as additional
47191         parameter to tr_where.
47192         (tr_mallochook): Likewise.
47193         (tr_reallochook): Likewise.
47194         (tr_memalignhook): Likewise.
47195
47196         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
47197         used and couldn't be at all thread-safe.
47198
47199 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
47200
47201         * libio/freopen.c (freopen): Don't close old file descriptor
47202         before the new one is opened.  Instead dup the new file descriptor
47203         to the old one after the new stream is created.
47204         * libio/freopen64.c (freopen64): Likewise.
47205         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47206         * libio/fileops.c (_IO_new_file_close_it): Handle new
47207         _IO_FLAGS2_NOCLOSE flag.
47208         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47209         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47210         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47211         _IO_FLAGS2_NOCLOSE flag.
47212         * include/unistd.h: Add hidden_proto for dup3.
47213         Define __have_dup3.
47214         * io/dup3.c: Define hidden symbol.
47215         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47216
47217         [BZ #7101]
47218         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47219         when an incomplete long option is used.
47220         * posix/tst-getopt_long1.c: New file.
47221         * posix/Makefile (tests): Add tst-getopt_long1.
47222
47223         [BZ #10138]
47224         * scripts/config.guess: Update from autoconf-2.68.
47225         * scripts/config.sub: Likewise.
47226
47227         [BZ #10157]
47228         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47229         tests into ...
47230         (has_cpuclock): ...this.  New function.
47231         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47232         macro here based on has_cpuclock code.
47233
47234         [BZ #10149]
47235         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47236         First byte (not low byte) is now always NUL.
47237         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47238
47239         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47240         Use non-cancelable interfaces.
47241
47242         [BZ #9809]
47243         * locale/iso-639.def: Add entry for Sorani.
47244
47245         [BZ #11901]
47246         * include/stdlib.h: Move include protection to the right place.
47247         Define abort_msg_s.  Declare __abort_msg with it.
47248         * stdlib/abort.c (__abort_msg): Adjust type.
47249         * assert/assert.c (__assert_fail_base): New function.  Majority
47250         of code from __assert_fail.  Allocate memory for __abort_msg with
47251         mmap.
47252         (__assert_fail): Now call __assert_fail_base.
47253         * assert/assert-perr.c: Remove bulk of implementation.  Use
47254         __assert_fail_base.
47255         * include/assert.hL Declare __assert_fail_base.
47256         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47257         mmap.
47258         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47259
47260 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
47261
47262         [BZ #11952]
47263         [BZ #12453]
47264         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47265         until all modules are registered in the DTV.
47266         * elf/Makefile: Add rules to build and run tst-tls19.
47267         * elf/tst-tls19.c: New file.
47268         * elf/tst-tls19mod1.c: New file.
47269         * elf/tst-tls19mod2.c: New file.
47270         * elf/tst-tls19mod3.c: New file.
47271         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47272
47273         [BZ #12083]
47274         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47275         correctly.
47276
47277         [BZ #12601]
47278         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47279         two-byte sequence errors.
47280         * iconvdata/Makefile (tests): Add bug-iconv8.
47281         * iconvdata/bug-iconv8.c: New file.
47282
47283         [BZ #12626]
47284         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47285         buf2 definition.
47286
47287         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47288
47289         [BZ #12432]
47290         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47291         (dummy_getcfa): New function.
47292         (init): Get _Unwind_GetCFA address, use dummy if not found.
47293         (backtrace_helper): In recursion check, also check whether CFA changes.
47294         (__backtrace): Completely initialize arg.
47295
47296         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47297         storing incomplete byte sequence in state object.  Avoid testing for
47298         guaranteed too small input if we know there is enough data available.
47299
47300 2011-05-11  Andreas Schwab  <schwab@redhat.com>
47301
47302         * Makeconfig (+link-pie): Indent.
47303         * Rules (binaries-pie): Define if $(have-fpie) and
47304         $(build-shared).
47305         (binaries-shared): Also filter out $(binaries-pie).
47306         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47307         * nscd/Makefile (others-pie): Add nscd.
47308         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47309         ($(objpfx)nscd): Remove command override.
47310         * login/Makefile (others-pie): Add pt_chown.
47311         ($(objpfx)pt_chown): Remove command override.
47312         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47313         remove command overrides.
47314
47315 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
47316
47317         * libio/tst_putwc.c: Fix error messages.
47318
47319         [BZ #12724]
47320         * libio/fileops.c (_IO_new_file_close_it): Always flush when
47321         currently writing and seek to current position when not.
47322         * libio/Makefile (tests): Add bug-fclose1.
47323         * libio/bug-fclose1.c: New file.
47324
47325 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
47326
47327         [BZ #12511]
47328         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47329         don't set DF_1_NODELETE here.
47330         (do_lookup_x): When entering new entry test for copy relocation
47331         and if necessary set DF_1_NODELETE flag.
47332         * elf/tst-unique4.cc: New file.
47333         * elf/tst-unique4.h: New file.
47334         * elf/tst-unique4lib.cc: New file.
47335         * elf/Makefile: Add rules to build and run tst-unique4.
47336         Patch by Piotr Bury <pbury@goahead.com>.
47337
47338 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
47339
47340         [BZ #12052]
47341         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47342
47343         [BZ #12625]
47344         * misc/mntent_r.c (addmntent): Flush the stream after the output
47345
47346         [BZ #12393]
47347         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47348         (is_trusted_path_normalize): Skip initial colon.  Append slash
47349         to empty buffer.  Duplicate is_trusted_path code but allow
47350         constructed patch to be prefix.
47351         (is_dst): Allow $ORIGIN followed by /.
47352         (_dl_dst_substitute): Correct clearing of check_for_trusted.
47353         Correct testing of result of is_trusted_path_normalize
47354         (decompose_rpath): Fix warning.
47355
47356 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
47357
47358         [BZ #11257]
47359         * grp/initgroups.c (internal_getgrouplist): When we found the service
47360         list through the initgroups entry in nsswitch.conf do not always
47361         continue on a successful lookup.  Don't always use the
47362         __nss_group_database value if it is set.
47363         * nss/nsswitch.conf (initgroups): Change action for successful db
47364         lookup to continue for compatibility.
47365
47366 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
47367
47368         [BZ #11532]
47369         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47370         and CP774 modules.
47371         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47372         and CP774 modules.
47373         * iconvdata/tst-tables.sh: Likewise.
47374         * iconvdata/cp770.c: New file.
47375         * iconvdata/cp771.c: New file.
47376         * iconvdata/cp772.c: New file.
47377         * iconvdata/cp773.c: New file.
47378         * iconvdata/cp774.c: New file.
47379         * iconvdata/testdata/CP770: New file.
47380         * iconvdata/testdata/CP770..UTF8: New file.
47381         * iconvdata/testdata/CP771: New file.
47382         * iconvdata/testdata/CP771..UTF8: New file.
47383         * iconvdata/testdata/CP772: New file.
47384         * iconvdata/testdata/CP772..UTF8: New file.
47385         * iconvdata/testdata/CP773: New file.
47386         * iconvdata/testdata/CP773..UTF8: New file.
47387         * iconvdata/testdata/CP774: New file.
47388         * iconvdata/testdata/CP774..UTF8: New file.
47389
47390         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47391         END CHARMAP line.
47392         * iconvdata/gen-8bit-gap.sh: Likewise.
47393         * iconvdata/gen-8bit.sh: Likewise.
47394
47395         * locale/iso-639.def: Add ary entry.
47396
47397         [BZ #11258]
47398         * locale/C-translit.h.in: Add U20A1 transliteration.
47399
47400         [BZ #12178]
47401         * locale/iso-639.def: Add wae entry.
47402         Patch by Kevin Bortis <bortis@translate-wae.ch>.
47403
47404         [BZ #12545]
47405         * locale/programs/localedef.c (construct_output_path): Use ssize_t
47406         for n.
47407
47408         [BZ #12711]
47409         * locale/C-translit.h.in: Add entry for U20B9.
47410         Patch by pravin.d.s@gmail.com.
47411
47412 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
47413
47414         [BZ #12713]
47415         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47416         ENAMETOOLONG use generic getcwd.
47417         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
47418         in rtld.  Use *stat64.
47419         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47420         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47421         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47422         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47423         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47424         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47425         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47426         __fstatat64 macros.
47427         * include/dirent.h: Add libc_hidden_proto for rewinddir.
47428         * dirent/rewinddir.c: Add libc_hidden_def.
47429         * sysdeps/mach/hurd/rewinddir.c: Likewise.
47430         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
47431
47432         * include/dirent.h (__alloc_dir): Add flags parameter.
47433         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47434         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47435         __alloc_dir.
47436         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
47437         from fdopendir if O_CLOEXEC is already set.
47438
47439 2011-03-15  Alan Modra  <amodra@gmail.com>
47440
47441         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47442         l_tls_firstbyte_offset non-zero.  Save padding offset in
47443         l_tls_firstbyte_offset for later use.
47444         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47445         freeing static tls block.
47446
47447 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
47448
47449         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47450         where #ifdef was intended.  The intent is to prevent ARG_MAX from
47451         being defined by the kernel headers.
47452
47453 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
47454
47455         [BZ #12734]
47456         * resolv/resolv.h: Define RES_NOTLDQUERY.
47457         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47458         no-tld-query and set RES_NOTLDQUERY.
47459         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47460         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47461         modern BIND to search name as TLD unless forbidden.
47462
47463 2011-05-07  Petr Baudis  <pasky@suse.cz>
47464             Ulrich Drepper  <drepper@gmail.com>
47465
47466         [BZ #12393]
47467         * elf/dl-load.c (fillin_rpath): Move trusted path check...
47468         (is_trusted_path): ...to here.
47469         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47470         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47471         using is_trusted_path_normalize() in setuid scripts.
47472
47473 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
47474
47475         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47476         __BEGIN/__END_DECLS.
47477
47478 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
47479
47480         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47481         NSS_STATUS_NOTFOUND if no record was found.
47482
47483 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47484
47485         * sunrpc/Makefile (headers): Add rpc/netdb.h.
47486         (headers-not-in-tirpc): Remove rpc/netdb.h
47487         * resolv/netdb.h: Revert last change.
47488
47489 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47490
47491         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47492         circular dependency between libgcc.a and libc.a.
47493
47494 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47495
47496         * resolv/netdb.h: Don't include <rpc/netdb.h>.
47497         * nis/Makefile: Don't install rpcsvc/*.
47498         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47499         instead of <rpc/types.h>.
47500         (MAXHOSTNAMELEN): Define.
47501
47502 2011-05-03  Andreas Schwab  <schwab@redhat.com>
47503
47504         * elf/ldconfig.c (add_dir): Don't crash on empty path.
47505
47506 2011-04-28  Maciej Babinski  <mbabinski@google.com>
47507
47508         [BZ #12714]
47509         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47510         gethostbyname4_r when IPv6 results are possible.
47511
47512 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
47513
47514         [BZ #12723]
47515         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47516         _PC_PIPE_BUF handling.
47517
47518 2011-04-30  Bruno Haible  <bruno@clisp.org>
47519
47520         [BZ #12717]
47521         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47522         * resolv/netdb.h (getnameinfo): Change type of flags parameter
47523         to 'int'.
47524         * inet/getnameinfo.c (getnameinfo): Likewise.
47525
47526 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
47527
47528         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47529         to groups setting in database lookup.
47530         * nss/nsswitch.conf: Add initgroups entry.
47531
47532 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
47533
47534         [BZ #12685]
47535         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47536         mode string.
47537         Patch by Eric Blake <eblake@redhat.com>.
47538
47539 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
47540
47541         * sunrpc/Makefile (need-export-routines): Add svc_run.
47542         (routines): Remove svc_run.
47543         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47544         * sunrpc/clnt_perr.c (clnt_perrno): Export.
47545         * sunrpc/svc_run.c (svc_run): Likewise.
47546         * sunrpc/svc_udp.c (svcudp_create): Likewise.
47547
47548 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
47549
47550         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47551         problem in reallocation in last patch.
47552
47553 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
47554
47555         * sunrpc/Makefile: Move inclusion of Rules.
47556
47557 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47558
47559         * nss/nss_files/files-initgroups.c: New file.
47560         * nss/Makefile (libnss_files-routines): Add files-initgroups.
47561         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47562         _nss_files_initgroups_dyn.
47563
47564 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
47565
47566         * elf/elf.h (R_ARM_IRELATIVE): Define.
47567
47568 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47569
47570         * po/ru.po: Update from translation team.
47571
47572 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47573
47574         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47575         dependencies.
47576
47577 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
47578
47579         [BZ #12653]
47580         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47581         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47582         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47583         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47584         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47585
47586 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
47587
47588         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47589         differing bytes.
47590         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47591         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47592         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47593
47594 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47595
47596         [BZ #12420]
47597         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47598         storing it.
47599         * stdlib/bug-getcontext.c: New file.
47600         * stdlib/Makefile: Add rules to build and run bug-getcontext.
47601
47602 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47603
47604         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47605         instructions into .machine "z9-109".
47606         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47607         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47608
47609 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47610
47611         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47612         between environment variables and auxiliary vector.
47613
47614 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
47615
47616         * Makefile: Add rules to build linkobj/libc.so.
47617         * include/libc-symbols.h: Define libc_hidden_nolink.
47618         * include/rpc/auth.h: Mark functions which are to be hidden.
47619         * include/rpc/auth_des.h: Likewise.
47620         * include/rpc/auth_unix.h: Likewise.
47621         * include/rpc/clnt.h: Likewise.
47622         * include/rpc/des_crypt.h: Likewise.
47623         * include/rpc/key_prot.h: Likewise.
47624         * include/rpc/pmap_clnt.h: Likewise.
47625         * include/rpc/pmap_prot.h: Likewise.
47626         * include/rpc/pmap_rmt.h: Likewise.
47627         * include/rpc/rpc_msg.h: Likewise.
47628         * include/rpc/svc.h: Likewise.
47629         * include/rpc/svc_auth.h: Likewise.
47630         * include/rpc/xdr.h: Likewise.
47631         * nis/Makefile: Link all DSOs against linkobj/libc.so.
47632         * nss/Makefile: Likewise.
47633         * sunrpc/Makefile: Don't install headers.  Build library with normal
47634         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
47635         * sunrpc/auth_des.c: Hide exported symbols by default, export some
47636         for the compat linking library.  Remove use of INTDEF/INTUSE.
47637         * sunrpc/auth_none.c: Likewise.
47638         * sunrpc/auth_unix.c: Likewise.
47639         * sunrpc/authdes_prot.c: Likewise.
47640         * sunrpc/authuxprot.c: Likewise.
47641         * sunrpc/clnt_gen.c: Likewise.
47642         * sunrpc/clnt_perr.c: Likewise.
47643         * sunrpc/clnt_raw.c: Likewise.
47644         * sunrpc/clnt_simp.c: Likewise.
47645         * sunrpc/clnt_tcp.c: Likewise.
47646         * sunrpc/clnt_udp.c: Likewise.
47647         * sunrpc/clnt_unix.c: Likewise.
47648         * sunrpc/des_crypt.c: Likewise.
47649         * sunrpc/des_soft.c: Likewise.
47650         * sunrpc/get_myaddr.c: Likewise.
47651         * sunrpc/key_call.c: Likewise.
47652         * sunrpc/key_prot.c: Likewise.
47653         * sunrpc/netname.c: Likewise.
47654         * sunrpc/pm_getmaps.c: Likewise.
47655         * sunrpc/pm_getport.c: Likewise.
47656         * sunrpc/pmap_clnt.c: Likewise.
47657         * sunrpc/pmap_prot.c: Likewise.
47658         * sunrpc/pmap_prot2.c: Likewise.
47659         * sunrpc/pmap_rmt.c: Likewise.
47660         * sunrpc/publickey.c: Likewise.
47661         * sunrpc/rpc_cmsg.c: Likewise.
47662         * sunrpc/rpc_common.c: Likewise.
47663         * sunrpc/rpc_dtable.c: Likewise.
47664         * sunrpc/rpc_prot.c: Likewise.
47665         * sunrpc/rpc_thread.c: Likewise.
47666         * sunrpc/rtime.c: Likewise.
47667         * sunrpc/svc.c: Likewise.
47668         * sunrpc/svc_auth.c: Likewise.
47669         * sunrpc/svc_authux.c: Likewise.
47670         * sunrpc/svc_raw.c: Likewise.
47671         * sunrpc/svc_run.c: Likewise.
47672         * sunrpc/svc_simple.c: Likewise.
47673         * sunrpc/svc_tcp.c: Likewise.
47674         * sunrpc/svc_udp.c: Likewise.
47675         * sunrpc/svc_unix.c: Likewise.
47676         * sunrpc/svcauth_des.c: Likewise.
47677         * sunrpc/xcrypt.c: Likewise.
47678         * sunrpc/xdr.c: Likewise.
47679         * sunrpc/xdr_array.c: Likewise.
47680         * sunrpc/xdr_float.c: Likewise.
47681         * sunrpc/xdr_intXX_t.c: Likewise.
47682         * sunrpc/xdr_mem.c: Likewise.
47683         * sunrpc/xdr_rec.c: Likewise.
47684         * sunrpc/xdr_ref.c: Likewise.
47685         * sunrpc/xdr_sizeof.c: Likewise.
47686         * sunrpc/xdr_stdio.c: Likewise.
47687
47688 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
47689
47690         [BZ #12650]
47691         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47692         * sysdeps/ia64/dl-tls.h: Likewise.
47693         * sysdeps/powerpc/dl-tls.h: Likewise.
47694         * sysdeps/s390/dl-tls.h: Likewise.
47695         * sysdeps/sh/dl-tls.h: Likewise.
47696         * sysdeps/sparc/dl-tls.h: Likewise.
47697         * sysdeps/x86_64/dl-tls.h: Likewise.
47698         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47699
47700 2011-03-14  Andreas Schwab  <schwab@redhat.com>
47701
47702         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47703         rpath element also skip the following colon.
47704         (expand_dynamic_string_token): Add is_path parameter and pass
47705         down to DL_DST_REQUIRED and _dl_dst_substitute.
47706         (decompose_rpath): Call expand_dynamic_string_token with
47707         non-zero is_path.  Ignore empty rpaths.
47708         (_dl_map_object_from_fd): Call expand_dynamic_string_token
47709         with zero is_path.
47710
47711 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
47712
47713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47714         Make cancelable.
47715
47716 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
47717
47718         [BZ #12655]
47719         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47720         Patch by Filipe David Manana <fdmanana@apache.org>.
47721
47722 2011-04-07  Andreas Schwab  <schwab@redhat.com>
47723
47724         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47725         Maintain aligned stack.
47726         (CHECK_RSP): Remove unused macro.
47727
47728 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
47729
47730         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47731         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47732
47733 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
47734
47735         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47736
47737         * include/features.h: Mention __USE_XOPEN2K8 in comment.
47738
47739 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
47740
47741         [BZ #12518]
47742         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47743         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47744         * sysdeps/x86_64/memmove.c: New file.
47745         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47746         (memcpy): Renamed to ...
47747         (__new_memcpy): This.
47748         (memcpy): Provide GLIBC_2_14 memcpy.
47749         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47750         (memcpy): Provide GLIBC_2_2_5 memcpy.
47751
47752 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47753
47754         [BZ #12631]
47755         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47756
47757 2011-03-30  Andreas Schwab  <schwab@redhat.com>
47758
47759         * misc/syncfs.c: New file.
47760         * misc/Makefile (routines): Add syncfs.
47761         * posix/unistd.h: Declare syncfs.
47762         * sysdeps/unix/syscalls.list: Add syncfs.
47763
47764 2011-04-01  Andreas Schwab  <schwab@redhat.com>
47765
47766         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47767         open_by_handle_at.
47768         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47769         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47770         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47771         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47772         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47773         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47774         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47775
47776 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47777
47778         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47779         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47780         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47781         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47782         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47783         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47784         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47785
47786         * io/Makefile: Compile fallocate.c, fallocate64.c, and
47787         sync_file_range.c with -fexceptions.
47788         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47789         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47790         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47791         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47792         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47793         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47794         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47795         sync_file_range as cancellation point
47796         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
47797         now a wrapper around __call_sync_file_range with cancellation handling.
47798         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47799         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
47800         function name to __call_sync_file_range.
47801         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47802         Add call_sync_file_range.
47803
47804 2011-04-01  Andreas Schwab  <schwab@redhat.com>
47805
47806         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47807         bits/timex.h.
47808
47809 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47810
47811         * iconv/iconv.h: Fix typo in comment.
47812         * io/fcntl.h: Likewise.
47813         * libio/stdio.h: Likewise.
47814         * posix/spawn.h: Likewise.
47815         * posix/unistd.h: Likewise.
47816         * stdlib/stdlib.h: Likewise.
47817         * time/time.h: Likewise.
47818         * wcsmbs/wchar.h: Likewise.
47819
47820         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47821         open_by_handle): Add.
47822         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47823         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
47824         Augment a few comments.
47825         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47826         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47827         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47828         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47829         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47830         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47831         open_by_handle.
47832
47833         * io/fcntl.h (AT_EMPTY_PATH): Define.
47834
47835 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
47836
47837         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47838         * sysdeps/unix/sysv/linux/bits/time.h: New file.
47839         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47840         to...
47841         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
47842         * Versions.def: Add GLIBC_2.14.
47843         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47844         Export.
47845
47846 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
47847
47848         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47849         round counter.
47850         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47851
47852 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47853
47854         [BZ #12597]
47855         * string/test-strncmp.c (do_page_test): New function.
47856         (check2): Likewise.
47857         (test_main): Call check2.
47858         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47859
47860 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
47861
47862         [BZ #12587]
47863         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47864         Handle cache information in CPU leaf 4.
47865         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47866
47867 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
47868
47869         [BZ #12583]
47870         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47871         character representation.
47872         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47873
47874 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
47875
47876         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47877         END(__isnan) to END(__isnanf) to match function entry point/label
47878         EALIGN(__isnanf,...).
47879
47880 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
47881
47882         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47883
47884 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
47885
47886         [BZ #12510]
47887         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47888         copy from the symbol referenced in the relocation to initialize the
47889         used variable.
47890         Patch by Piotr Bury <pbury@goahead.com>.
47891         * elf/Makefile: Add rules to build and tst-unique3.
47892         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47893         * elf/tst-unique3.cc: New file.
47894         * elf/tst-unique3.h: New file.
47895         * elf/tst-unique3lib.cc: New file.
47896         * elf/tst-unique3lib2.cc: New file.
47897
47898         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47899
47900 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
47901
47902         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47903         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
47904         to _start.
47905
47906 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
47907
47908         * elf/dl-load.c (_dl_map_object): If we are looking for the first
47909         to-be-loaded object along a path to loader is ld.so.
47910
47911 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
47912             Ulrich Drepper  <drepper@gmail.com>
47913
47914         * sysdeps/x86_64/memset.S: After aligning destination, code
47915         branches to different locations depending on the value of
47916         misalignment, when multiarch is enabled. Fix this.
47917
47918 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
47919
47920         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47921         Set _x86_64_preferred_memory_instruction for AMD processsors.
47922         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47923         Set bit_Prefer_SSE_for_memop for AMD processors.
47924
47925 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
47926
47927         * libio/fmemopen.c (fmemopen): Optimize a bit.
47928
47929 2011-03-03  Andreas Schwab  <schwab@redhat.com>
47930
47931         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47932
47933 2011-03-03  Roland McGrath  <roland@redhat.com>
47934
47935         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47936
47937 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
47938
47939         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
47940         __bzero_ultra1 instead of __memset_ultra1.
47941
47942 2011-02-23  Andreas Schwab  <schwab@redhat.com>
47943             Ulrich Drepper  <drepper@gmail.com>
47944
47945         [BZ #12509]
47946         * include/link.h (struct link_map): Add l_orig_initfini.
47947         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47948         returning unsuccessfully.
47949         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47950         close of a file loaded at startup, restore the original l_initfini
47951         list.
47952         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47953         list, store the pointer.
47954         * elf/Makefile ($(objpfx)noload-mem): New rule.
47955         (noload-ENV): Define.
47956         (tests): Add $(objpfx)noload-mem.
47957         * elf/noload.c: Include <memcheck.h>.
47958         (main): Call mtrace.  Close all opened handles.
47959
47960 2011-02-17  Andreas Schwab  <schwab@redhat.com>
47961
47962         [BZ #12454]
47963         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47964         dependencies are missing.
47965
47966 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47967
47968         Fix __if_freereq crash: Unlike the generic version which uses free,
47969         Hurd needs munmap.
47970         * sysdeps/mach/hurd/ifreq.h: New file.
47971
47972 2011-01-27  Petr Baudis  <pasky@suse.cz>
47973             Ulrich Drepper  <drepper@gmail.com>
47974
47975         [BZ 12445]#
47976         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47977         to extend_alloca().
47978         * stdio-common/bug23.c: New file.
47979         * stdio-common/Makefile (tests): Add bug23.
47980
47981 2010-09-28  Andreas Schwab  <schwab@redhat.com>
47982             Ulrich Drepper  <drepper@gmail.com>
47983
47984         [BZ #12489]
47985         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47986         before performing relro protection.  At old place add assertion
47987         to make sure nothing changed.
47988
47989 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
47990             Glauber de Oliveira Costa  <glommer@gmail.com>
47991
47992         * elf/elf.h: Add new ARM TLS relocs.
47993
47994 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
47995
47996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47997         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47998         cast from r3.
47999         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
48000         'tests' variable.
48001         * sysdeps/wordsize-64/tst-writev.c: New file.
48002
48003 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
48004
48005         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48006         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48007         insns in _dl_start to prevent a TOC reference before relocs are
48008         resolved.
48009
48010 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
48011
48012         [BZ #12469]
48013         * Makeconfig: Remove RANLIB definition.
48014         * Makerules: Don't use RANLIB.
48015         * aclocal.m4: Remove ranlib test.
48016         * configure.in: No need to check for ranlib.
48017         * elf/rtld-Rules: Don't use RANLIB.
48018
48019 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48020
48021         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48022         protection macro.
48023         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48024         inclusion protection macro.
48025
48026         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48027         SIGRTMIN and SIGRTMAX and print information in that case only when
48028         SIGRTMIN is defined.
48029
48030 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
48031
48032         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48033         arginfo fn returning -1.
48034
48035         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48036         and thousands string is zero terminated.
48037
48038 2011-02-03  Andreas Schwab  <schwab@redhat.com>
48039
48040         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48041         sysdeps/unix/sysv/linux/bits/socket.h.
48042
48043 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48044
48045         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48046         (__CPU_COUNT): Remove old macros.
48047         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48048         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48049         (__CPU_ALLOC, __CPU_FREE): Add macros.
48050         (__sched_cpualloc, __sched_cpufree): Add declarations.
48051
48052 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
48053
48054         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48055         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48056         * nscd/aicache.c (addhstaiX): Return timeout of added value.
48057         (readdhstai): Return value of addhstaiX call.
48058         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48059         (addgrbyX): Return value returned by cache_addgr.
48060         (readdgrbyname): Return value returned by addgrbyX.
48061         (readdgrbygid): Likewise.
48062         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48063         (addpwbyX): Return value returned by cache_addpw.
48064         (readdpwbyname): Return value returned by addhstbyX.
48065         (readdpwbyuid): Likewise.
48066         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48067         (addservbyX): Return value returned by cache_addserv.
48068         (readdservbyname): Return value returned by addservbyX:
48069         (readdservbyport): Likewise.
48070         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48071         (addhstbyX): Return value returned by cache_addhst.
48072         (readdhstbyname): Return value returned by addhstbyX.
48073         (readdhstbyaddr): Likewise.
48074         (readdhstbynamev6): Likewise.
48075         (readdhstbyaddrv6): Likewise.
48076         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48077         (readdinitgroups): Return value returned by addinitgroupsX.
48078         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48079         (prune_cache): Keep track of timeout value of re-added entries.
48080         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48081         * nscd/nscd.h: Adjust prototypes of readd* functions.
48082
48083 2011-02-04  Roland McGrath  <roland@redhat.com>
48084
48085         * nis/nis_server.c (nis_servstate): Use the right name for 0.
48086         (nis_stats): Likewise.
48087         * nis/nis_modify.c (nis_modify): Likewise.
48088         * nis/nis_remove.c (nis_remove): Likewise.
48089         * nis/nis_add.c (nis_add): Likewise.
48090
48091         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48092
48093         * posix/fnmatch_loop.c: Add some consts.
48094
48095         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48096
48097 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
48098
48099         [BZ #12460]
48100         * config.make.in (config-cflags-novzeroupper): Define.
48101         * configure.in: Substitute libc_cv_cc_novzeroupper.
48102         * elf/Makefile (AVX-CFLAGS): Define.
48103         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48104         (CFLAGS-tst-auditmod4a.c): Likewise.
48105         (CFLAGS-tst-auditmod4b.c): Likewise.
48106         (CFLAGS-tst-auditmod6b.c): Likewise.
48107         (CFLAGS-tst-auditmod6c.c): Likewise.
48108         (CFLAGS-tst-auditmod7b.c): Likewise.
48109         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48110
48111 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
48112
48113         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48114         function to the callback.
48115         Patch partly by Jiri Olsa <jolsa@redhat.com>.
48116
48117 2011-02-02  Andreas Schwab  <schwab@redhat.com>
48118
48119         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48120         of errno.
48121
48122 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
48123
48124         [BZ #11724]
48125         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48126         of constructors.
48127         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48128         of destructors.
48129         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48130
48131         [BZ #11724]
48132         * elf/Makefile: Add rules to build and run new test.
48133         * elf/tst-initorder.c: New file.
48134         * elf/tst-initorder.exp: New file.
48135         * elf/tst-initordera1.c: New file.
48136         * elf/tst-initordera2.c: New file.
48137         * elf/tst-initordera3.c: New file.
48138         * elf/tst-initordera4.c: New file.
48139         * elf/tst-initorderb1.c: New file.
48140         * elf/tst-initorderb2.c: New file.
48141         * elf/tst-order-a1.c: New file.
48142         * elf/tst-order-a2.c: New file.
48143         * elf/tst-order-a3.c: New file.
48144         * elf/tst-order-a4.c: New file.
48145         * elf/tst-order-b1.c: New file.
48146         * elf/tst-order-b2.c: New file.
48147         * elf/tst-order-main.c: New file.
48148         New test case by George Gensure <werkt0@gmail.com>.
48149
48150 2010-10-01  Andreas Schwab  <schwab@redhat.com>
48151
48152         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48153         decoding ACE if AI_CANONIDN.
48154
48155 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
48156
48157         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48158
48159 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
48160
48161         * version.h (RELEASE): Bump for 2.13 release.
48162         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48163
48164         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48165
48166         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48167         MADV_NOHUGEPAGE.
48168         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48169         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48170         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48171         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48172         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48173         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48174
48175         * posix/getconf.c: Update copyright year.
48176         * catgets/gencat.c: Likewise.
48177         * csu/version.c: Likewise.
48178         * debug/catchsegv.sh: Likewise.
48179         * debug/xtrace.sh: Likewise.
48180         * elf/ldconfig.c: Likewise.
48181         * elf/ldd.bash.in: Likewise.
48182         * elf/sprof.c (print_version): Likewise.
48183         * iconv/iconv_prog.c: Likewise.
48184         * iconv/iconvconfig.c: Likewise.
48185         * locale/programs/locale.c: Likewise.
48186         * locale/programs/localedef.c: Likewise.
48187         * malloc/memusage.sh: Likewise.
48188         * malloc/mtrace.pl: Likewise.
48189         * nscd/nscd.c (print_version): Likewise.
48190         * nss/getent.c: Likewise.
48191
48192         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48193         PF_CAIF, and PF_ALG.
48194         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48195
48196 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
48197
48198         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48199         (modules-names): Use them.
48200         (ifunc-test-modules, ifunc-pie-tests): Define.
48201         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48202         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48203         (test-extras): Likewise.
48204         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48205         $(compile-command.c).
48206         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48207         (all-built-dso): Define.
48208         (check-textrel.out, check-execstack.out): Depend on it.
48209
48210         * configure.in: Don't override --enable-multi-arch.
48211
48212 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
48213
48214         [BZ #6812]
48215         * nscd/hstcache.c (tryagain): Define.
48216         (cache_addhst): Return tryagain not notfound for temporary errors.
48217         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48218         failed.
48219
48220 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
48221
48222         [BZ #10563]
48223         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48224         to make the syscall.
48225         * sysdeps/unix/sysv/linux/setgroups.c: New file.
48226
48227         [BZ #12378]
48228         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48229         and fall back to matching as normal character if the string ends before
48230         the matching ']' is found.  This is what POSIX requires.
48231         * posix/testfnm.c: Adjust test result.
48232         * posix/globtest.sh: Adjust test result.  Add new test.
48233         * posix/tst-fnmatch.input: Likewise.
48234         * posix/tst-fnmatch2.c: Add new test.
48235
48236 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
48237
48238         * elf/Makefile (check-execstack): Revert last change.  Depend on
48239         check-execstack.h.
48240         (check-execstack.h): New target.
48241         (generated): Add check-execstack.h.
48242         * elf/check-execstack.c: Include "check-execstack.h".
48243         (main): Revert last change.
48244         (handle_file): Return zero if GNU_STACK is absent and
48245         DEFAULT_STACK_PERMS doesn't include PF_X.
48246
48247 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
48248
48249         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48250         in child fails because the descriptor is already closed.
48251         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48252         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48253         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48254
48255         [BZ #12397]
48256         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48257         syscall.
48258
48259         [BZ #10484]
48260         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48261         temporary buffer used to handle multi lookups locally.
48262         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48263
48264 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48265
48266         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48267         loader is ld.so.
48268
48269 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
48270
48271         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48272         alignment for SSE2.
48273
48274 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48275
48276         [BZ #12394]
48277         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48278         characters.  When rounding increased number of integer digits recompute
48279         number of groups.
48280         * stdio-common/tst-grouping.c: New file.
48281         * stdio-common/Makefile: Add rules to build and run tst-grouping.
48282
48283 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
48284
48285         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48286         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
48287
48288         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48289         void.
48290         * bits/select.h: Likewise.
48291
48292 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
48293
48294         * po/ja.po: Update from translation team.
48295
48296 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
48297
48298         [BZ #11155]
48299         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48300         implementation just like for lxstat, fxstatat, et al.
48301
48302 2010-12-27  Jim Meyering  <meyering@redhat.com>
48303
48304         [BZ #12348]
48305         * posix/regexec.c (build_trtable): Return failure indication upon
48306         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
48307
48308 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
48309
48310         [BZ #12201]
48311         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48312         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48313         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48314         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48315
48316         [BZ #12207]
48317         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48318
48319         [BZ #12204]
48320         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48321         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48322
48323 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
48324
48325         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48326         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48327         script has SORT_BY_INIT_PRIORITY.
48328         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48329         NO_CTORS_DTORS_SECTIONS is defined.
48330         * elf/soinit.c: Likewise.
48331         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48332         NO_CTORS_DTORS_SECTIONS is defined.
48333         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48334         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48335         * sysdeps/sh/init-first.c: Likewise.
48336         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48337
48338 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
48339
48340         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48341         always use the slow path.
48342
48343 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
48344
48345         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48346         similar rule which adds the sysdep directories to the header search in
48347         order to pick up the correct platform stackinfo.h.
48348         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48349         perform test if it is, otherwise return successfully without testing.
48350         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48351         DEFAULT_STACK_PERMS define in stackinfo.h.
48352         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48353         defined in stackinfo.h.
48354         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48355         DEFAULT_STACK_PERMS defined in stackinfo.h.
48356         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48357         * sysdeps/ia64/stackinfo.h: Likewise.
48358         * sysdeps/s390/stackinfo.h: Likewise.
48359         * sysdeps/sh/stackinfo.h: Likewise.
48360         * sysdeps/sparc/stackinfo.h: Likewise.
48361         * sysdeps/x86_64/stackinfo.h: Likewise.
48362         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48363         PF_X for powerpc64.  Retain PF_X for powerpc32.
48364
48365 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
48366
48367         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48368         accurately.
48369         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48370         GETDENTS_64BIT_ALIGNED.
48371
48372 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
48373
48374         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48375
48376 2010-12-10  Andreas Schwab  <schwab@redhat.com>
48377
48378         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48379         _GNU_SOURCE.
48380
48381         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48382         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48383         Remove __restrict.
48384         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48385         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48386
48387 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
48388
48389         [BZ #11655]
48390         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48391         are initialized.
48392
48393 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
48394
48395         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48396
48397 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
48398
48399         * po/it.po: Update from translation team.
48400
48401 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
48402
48403         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48404         unused codes.
48405
48406 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
48407
48408         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48409
48410 2010-11-24  Andreas Schwab  <schwab@redhat.com>
48411
48412         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48413         specially.
48414         (gaih_getanswer_slice): Likewise.
48415
48416 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
48417
48418         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48419
48420 2010-05-31  Petr Baudis  <pasky@suse.cz>
48421
48422         [BZ #11149]
48423         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48424         silently even in the chroot mode.
48425
48426 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
48427
48428         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48429         last patch a bit.  Pretty printing
48430
48431 2010-05-31  Petr Baudis <pasky@suse.cz>
48432
48433         [BZ #10085]
48434         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48435         initialization of skip_initgroups_dyn.
48436
48437 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
48438
48439         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48440         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48441
48442 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
48443
48444         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48445
48446 2010-11-11  Andreas Schwab  <schwab@redhat.com>
48447
48448         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48449         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48450         (tst-fnmatch-ENV): Set MALLOC_TRACE.
48451         ($(objpfx)tst-fnmatch-mem): New rule.
48452         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48453         * posix/tst-fnmatch.c (main): Call mtrace.
48454
48455 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
48456
48457         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48458         Support Intel processor model 6 and model 0x2c.
48459
48460 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
48461
48462         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48463           signed comparison.
48464
48465 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
48466
48467         [BZ #12205]
48468         * string/test-strncasecmp.c (check_result): New function.
48469         (do_one_test): Use it.
48470         (check1): New function.
48471         (test_main): Use it.
48472         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48473         Support strcasecmp and strncasecmp.
48474
48475 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
48476
48477         [BZ #12194]
48478         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48479         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48480
48481 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
48482
48483         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48484         IFUNC support.
48485         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48486         memset-x86-64.
48487         * sysdeps/x86_64/multiarch/bzero.S: New file.
48488         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48489         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48490         * sysdeps/x86_64/multiarch/memset.S: New file.
48491         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48492         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48493         Set bit_Prefer_SSE_for_memop for Intel processors.
48494         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48495         Define.
48496         (index_Prefer_SSE_for_memop): Define.
48497         (HAS_PREFER_SSE_FOR_MEMOP): Define.
48498
48499 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
48500
48501         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48502         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48503
48504 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
48505
48506         [BZ #12191]
48507         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48508         (__x86_64_raw_data_cache_size_half): Likewise.
48509         (__x86_64_raw_shared_cache_size): Likewise.
48510         (__x86_64_raw_shared_cache_size_half): Likewise.
48511
48512         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48513         (__x86_64_raw_data_cache_size_half): Likewise.
48514         (__x86_64_raw_shared_cache_size): Likewise.
48515         (__x86_64_raw_shared_cache_size_half): Likewise.
48516         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48517         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48518         and __x86_64_raw_shared_cache_size_half.  Round
48519         __x86_64_data_cache_size_half, __x86_64_data_cache_size
48520         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48521         to multiple of 256 bytes.
48522
48523 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
48524
48525         [BZ #12167]
48526         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48527         of inacessible symlinks.  Verify result of symlink before returning it.
48528         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48529         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48530
48531 2010-10-28  Erich Ritz  <erichritz@gmail.com>
48532
48533         * math/math.h (isinf): Fix typo in comment.
48534
48535 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
48536
48537         * po/da.po: Update from translation team.
48538
48539 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
48540
48541         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48542         is added to the list.
48543
48544 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48545             Ulrich Drepper  <drepper@gmail.com>
48546
48547         * elf/dl-object.c (_dl_new_object): Don't append the new object to
48548         the global list here.  Move code to...
48549         (_dl_add_to_namespace_list): ...here.  New function.
48550         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48551         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48552         * elf/dl-load.c (lose): Don't remove the element from the list.
48553         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48554         (_dl_map_object): Likewise.
48555
48556 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
48557
48558         [BZ #12159]
48559         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48560         into all bytes of SSE register.
48561         Patch by Richard Li <richardpku@gmail.com>.
48562
48563 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
48564
48565         [BZ #12140]
48566         * malloc/malloc.c (_int_free): Fill correct number of bytes when
48567         perturbing.
48568
48569 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
48570
48571         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48572         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48573         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48574         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48576         submachine.
48577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48578
48579 2010-10-22  Andreas Schwab  <schwab@redhat.com>
48580
48581         * include/dlfcn.h (__RTLD_SECURE): Define.
48582         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
48583         mode & __RTLD_SECURE instead.
48584         (open_path): Rename preloaded parameter to secure.
48585         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48586         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48587         * elf/dl-deps.c (openaux): Likewise.
48588         * elf/rtld.c (struct map_args): Remove is_preloaded.
48589         (map_doit): Don't use it.
48590         (dl_main): Likewise.
48591         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48592         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48593
48594 2010-09-09  Andreas Schwab  <schwab@redhat.com>
48595
48596         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48597         (sysd-rules-targets): Remove duplicates.
48598         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48599         rtld-%.$o dependency.
48600
48601 2010-10-18  Andreas Schwab  <schwab@redhat.com>
48602
48603         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48604         _dl_map_object do it.
48605
48606 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
48607
48608         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48609         fast fma builtins, define the macros in the C99 standard.
48610         (FP_FAST_FMAF): Likewise.
48611         (FP_FAST_FMAL): Likewise.
48612         * sysdeps/x86_64/bits/mathdef.h: Likewise.
48613
48614         * bits/mathdef.h: Update copyright year.
48615         * sysdeps/powerpc/bits/mathdef.h: Likewise.
48616
48617 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
48618
48619         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48620         builtins, define the macros in the C99 standard.
48621         (FP_FAST_FMAF): Likewise.
48622         (FP_FAST_FMAL): Likewise.
48623         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48624         multiply/add.
48625         (FP_FAST_FMAF): Likewise.
48626
48627 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
48628
48629         [BZ #3268]
48630         * math/libm-test.inc (fma_test): Some new testcases.
48631         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48632         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48633         y and infinite z.  Do multiplication by C already in long double.
48634         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48635         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48636         y and infinite z.  Do bitwise or of inexact bit into u.d.
48637         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48638         * sysdeps/i386/fpu/s_fmaf.S: Removed.
48639         * sysdeps/i386/fpu/s_fma.S: Removed.
48640         * sysdeps/i386/fpu/s_fmal.S: Removed.
48641
48642 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
48643
48644         [BZ #3268]
48645         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48646         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48647         computation is not scheduled after fetestexcept.  Fix value
48648         of minimum denormal long double.
48649
48650 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
48651
48652         [BZ #3268]
48653         * math/libm-test.inc (fma_test): Add some more tests.
48654         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48655         correctly.
48656
48657 2010-10-15  Andreas Schwab  <schwab@redhat.com>
48658
48659         * scripts/data/localplt-s390-linux-gnu.data: New file.
48660         * scripts/data/localplt-s390x-linux-gnu.data: New file.
48661
48662 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
48663
48664         [BZ #3268]
48665         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48666         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48667         instead of dbl-64.
48668         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48669         inlines.
48670         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48671         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48672         if one of x and y is very large and the other is subnormal.
48673         * sysdeps/s390/fpu/s_fmaf.c: New file.
48674         * sysdeps/s390/fpu/s_fma.c: New file.
48675         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48676         * sysdeps/powerpc/fpu/s_fma.S: New file.
48677         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48678         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48679         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48680
48681 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
48682
48683         [BZ #3268]
48684         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48685         fma tests.
48686         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48687         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48688         * sysdeps/i386/i686/multiarch/s_fma.c: Include
48689         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48690         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48691         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48692         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48693
48694 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
48695
48696         [BZ #12078]
48697         * posix/regcomp.c (parse_branch): One more memory leak plugged.
48698         * posix/bug-regex31.input: Add test case.
48699
48700 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
48701
48702         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48703         * posix/bug-regex31.input: New file.
48704
48705         [BZ #12078]
48706         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48707         (parse_sub_exp): Fix last change, use postorder.
48708
48709         * posix/bug-regex31.c: New file.
48710         * posix/Makefile: Add rules to build and run bug-regex31.
48711
48712         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48713
48714         [BZ #12078]
48715         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48716
48717         [BZ #12108]
48718         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48719         to have entries in sys_siglist.
48720
48721         [BZ #12093]
48722         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48723         be NULL.
48724
48725 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
48726
48727         [BZ #3268]
48728         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48729         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48730         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48731         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48732         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48733         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48734         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48735         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48736         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48737         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48738         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48739         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48740         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48741         * math/ftestexcept.c (fetestexcept): Likewise.
48742         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48743         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48744         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48745         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48746         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48747         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48748         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48749
48750 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
48751
48752         [BZ #12107]
48753         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48754         newline.
48755
48756 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
48757
48758         * string/bug-strstr1.c: New file.
48759         * string/Makefile: Add rules to build and run bug-strstr1.
48760
48761 2010-10-05  Eric Blake  <eblake@redhat.com>
48762
48763         [BZ #12092]
48764         * string/str-two-way.h (two_way_long_needle): Always clear memory
48765         when skipping input due to the shift table.
48766
48767 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
48768
48769         [BZ #12005]
48770         * malloc/mcheck.c: Handle large requests.
48771
48772         [BZ #12077]
48773         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48774         for strncmp and strncasecmp.
48775         * string/stratcliff.c: Add tests for strcmp and strncmp.
48776         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48777
48778 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
48779
48780         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48781         __set_fpscr.
48782
48783 2010-09-30  Andreas Jaeger  <aj@suse.de>
48784
48785         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48786         (CGROUP_SUPER_MAGIC): Define.
48787         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48788         Handle btrfs and cgroup file systems.
48789         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48790         Likewise.
48791
48792 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
48793
48794         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48795         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48796
48797 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48798
48799         [BZ #12067]
48800         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48801         trying to locate the ELF header.
48802
48803 2010-09-27  Andreas Schwab  <schwab@redhat.com>
48804
48805         [BZ #11611]
48806         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48807         Mask out sign-bit copies when constructing f_fsid.
48808
48809 2010-09-24  Petr Baudis <pasky@suse.cz>
48810
48811         * debug/stack_chk_fail_local.c: Add missing licence exception.
48812         * debug/warning-nop.c: Likewise.
48813
48814 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
48815
48816         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48817         implementing getdents64 using getdents syscall, set d_type if
48818         __ASSUME_GETDENTS32_D_TYPE.
48819
48820 2010-09-16  Andreas Schwab  <schwab@redhat.com>
48821
48822         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48823         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48824
48825 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
48826
48827         [BZ #12037]
48828         * posix/unistd.h: Undo change of feature selection for ftruncate from
48829         2010-01-11.
48830
48831 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
48832
48833         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48834         detection.
48835
48836 2010-09-20  Andreas Schwab  <schwab@redhat.com>
48837
48838         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48839         fanotify_mark.
48840         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48841
48842 2010-09-14  Andreas Schwab  <schwab@redhat.com>
48843
48844         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48845         variables after CHECK_SP call.
48846         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48847
48848 2010-09-13  Andreas Schwab  <schwab@redhat.com>
48849             Ulrich Drepper  <drepper@redhat.com>
48850
48851         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48852         re-relocationg ld.so.
48853         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48854         _dl_init_paths call.
48855         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
48856         here anymore.
48857
48858 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
48859
48860         * resolv/res_init.c (__res_vinit): Count the default server we added.
48861
48862 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
48863             Ulrich Drepper  <drepper@redhat.com>
48864
48865         [BZ #11968]
48866         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48867         (____longjmp_chk): Use %ebx for saving value across system call.
48868         Add unwind info.
48869
48870 2010-09-06  Andreas Schwab  <schwab@redhat.com>
48871
48872         * manual/Makefile: Don't mix pattern rules with normal rules.
48873
48874 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
48875
48876         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48877         operation.
48878         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48879         * libio/iofopncook.c (_IO_cookie_init): Likewise.
48880         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48881         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48882         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48883         Likewise.
48884
48885 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
48886
48887         [BZ #11979]
48888         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48889         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48890
48891 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
48892
48893         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48894         * sysdeps/x86_64/addmul_1.S: Likewise.
48895         * sysdeps/x86_64/lshift.S: Likewise.
48896         * sysdeps/x86_64/mul_1.S: Likewise.
48897         * sysdeps/x86_64/rshift.S: Likewise.
48898         * sysdeps/x86_64/sub_n.S: Likewise.
48899         * sysdeps/x86_64/submul_1.S: Likewise.
48900
48901 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48902
48903         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48904         Define __sched_param instead of SCHED_* and sched_param when
48905         <bits/sched.h> is included with __need_schedparam defined.
48906         * bits/sched.h [__need_schedparam]
48907         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48908         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48909         (__defined_schedparam): Define to 1.
48910         (__sched_param): New structure, identical to sched_param.
48911         (__need_schedparam): Undefine.
48912
48913 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
48914
48915         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48916         (epoll_create1): Declare.
48917
48918         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48919
48920 2010-08-31  Andreas Schwab  <schwab@redhat.com>
48921
48922         [BZ #7066]
48923         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48924         shifting retval into place.
48925
48926 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
48927
48928         * nis/rpcsvc/nis.h: Update copyright notice.
48929         * nis/rpcsvc/nis.x: Likewise.
48930         * nis/rpcsvc/nis_callback.h: Likewise.
48931         * nis/rpcsvc/nis_callback.x: Likewise.
48932         * nis/rpcsvc/nis_object.x: Likewise.
48933         * nis/rpcsvc/nis_tags.h: Likewise.
48934         * nis/rpcsvc/yp.h: Likewise.
48935         * nis/rpcsvc/yp.x: Likewise.
48936         * nis/rpcsvc/ypupd.h: Likewise.
48937         * nis/yp_xdr.c: Likewise.
48938         * nis/ypupdate_xdr.c: Likewise.
48939
48940         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
48941         mainly the body of pmap_getport.  Add parameters to specify timeouts.
48942         (pmap_getport): Use __libc_rpc_getport.
48943         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48944         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48945         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48946
48947 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
48948
48949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48950         fanotify_mark.
48951
48952 2010-08-27  Roland McGrath  <roland@redhat.com>
48953
48954         * sysdeps/i386/i686/multiarch/Makefile
48955         (CFLAGS-varshift.c): New variable.
48956
48957 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
48958
48959         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48960         * sysdeps/i386/i686/multiarch/varshift.c: New file.
48961
48962         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48963
48964         * sysdeps/x86_64/strlen.S: Minimal code improvement.
48965
48966 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
48967
48968         * sysdeps/x86_64/strlen.S: Unroll the loop.
48969         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48970         strlen-sse2 strlen-sse2-bsf.
48971         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48972         __strlen_no_bsf if bit_Slow_BSF is set.
48973         (__strlen_sse42): Removed.
48974         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48975         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48976
48977 2010-08-25  Roland McGrath  <roland@redhat.com>
48978
48979         * sysdeps/x86_64/multiarch/varshift.S: File removed.
48980         * sysdeps/x86_64/multiarch/varshift.c: New file.
48981         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48982         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48983         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48984         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48985
48986 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
48987
48988         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48989         strlen-sse2 strlen-sse2-bsf.
48990         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48991         __strlen_sse2_bsf if bit_Slow_BSF is unset.
48992         (__strlen_sse2): Removed.
48993         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48994         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48995         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48996         bit_Slow_BSF for Atom.
48997         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48998         (index_Slow_BSF): Define.
48999         (HAS_SLOW_BSF): Define.
49000
49001 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
49002
49003         [BZ #10851]
49004         * resolv/res_init.c (__res_vinit): When no server address at all
49005         is given default to loopback.
49006
49007 2010-08-24  Roland McGrath  <roland@redhat.com>
49008
49009         * configure.in: Remove config-name.h generation.
49010         * configure: Regenerated.
49011         * config-name.in: File removed.
49012         * scripts/config-uname.sh: New file.
49013         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49014         ($(objdir)config-name.h): New target.
49015
49016         * sunrpc/rpc_parse.h: Avoid nested comment.
49017
49018 2010-08-24  Richard Henderson  <rth@redhat.com>
49019             Ulrich Drepper  <drepper@redhat.com>
49020             H.J. Lu  <hongjiu.lu@intel.com>
49021
49022         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49023         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49024         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49025         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
49026         _mm_alignr_epi8 with _mm_loadu_si128.
49027         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49028         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49029         (__m128i_shift_right): Removed.
49030         * sysdeps/i386/i686/multiarch/varshift.h: New file.
49031         * sysdeps/i386/i686/multiarch/varshift.S: New file.
49032         * sysdeps/x86_64/multiarch/varshift.h: New file.
49033         * sysdeps/x86_64/multiarch/varshift.S: New file.
49034
49035 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
49036
49037         * configure.in: Move assembler checks to before sysdep dir checking.
49038
49039 2010-08-20  Petr Baudis  <pasky@suse.cz>
49040
49041         * LICENSES: Sync the sunrpc license.
49042
49043 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
49044
49045         * sunrpc/auth_des.c: Update copyright notice once again.
49046         * sunrpc/auth_none.c: Likewise.
49047         * sunrpc/auth_unix.c: Likewise.
49048         * sunrpc/authdes_prot.c: Likewise.
49049         * sunrpc/authuxprot.c: Likewise.
49050         * sunrpc/bindrsvprt.c: Likewise.
49051         * sunrpc/clnt_gen.c: Likewise.
49052         * sunrpc/clnt_perr.c: Likewise.
49053         * sunrpc/clnt_raw.c: Likewise.
49054         * sunrpc/clnt_simp.c: Likewise.
49055         * sunrpc/clnt_tcp.c: Likewise.
49056         * sunrpc/clnt_udp.c: Likewise.
49057         * sunrpc/clnt_unix.c: Likewise.
49058         * sunrpc/des_crypt.c: Likewise.
49059         * sunrpc/des_soft.c: Likewise.
49060         * sunrpc/get_myaddr.c: Likewise.
49061         * sunrpc/getrpcport.c: Likewise.
49062         * sunrpc/key_call.c: Likewise.
49063         * sunrpc/key_prot.c: Likewise.
49064         * sunrpc/openchild.c: Likewise.
49065         * sunrpc/pm_getmaps.c: Likewise.
49066         * sunrpc/pm_getport.c: Likewise.
49067         * sunrpc/pmap_clnt.c: Likewise.
49068         * sunrpc/pmap_prot.c: Likewise.
49069         * sunrpc/pmap_prot2.c: Likewise.
49070         * sunrpc/pmap_rmt.c: Likewise.
49071         * sunrpc/rpc/auth.h: Likewise.
49072         * sunrpc/rpc/auth_unix.h: Likewise.
49073         * sunrpc/rpc/clnt.h: Likewise.
49074         * sunrpc/rpc/des_crypt.h: Likewise.
49075         * sunrpc/rpc/key_prot.h: Likewise.
49076         * sunrpc/rpc/netdb.h: Likewise.
49077         * sunrpc/rpc/pmap_clnt.h: Likewise.
49078         * sunrpc/rpc/pmap_prot.h: Likewise.
49079         * sunrpc/rpc/pmap_rmt.h: Likewise.
49080         * sunrpc/rpc/rpc.h: Likewise.
49081         * sunrpc/rpc/rpc_des.h: Likewise.
49082         * sunrpc/rpc/rpc_msg.h: Likewise.
49083         * sunrpc/rpc/svc.h: Likewise.
49084         * sunrpc/rpc/svc_auth.h: Likewise.
49085         * sunrpc/rpc/types.h: Likewise.
49086         * sunrpc/rpc/xdr.h: Likewise.
49087         * sunrpc/rpc_clntout.c: Likewise.
49088         * sunrpc/rpc_cmsg.c: Likewise.
49089         * sunrpc/rpc_common.c: Likewise.
49090         * sunrpc/rpc_cout.c: Likewise.
49091         * sunrpc/rpc_dtable.c: Likewise.
49092         * sunrpc/rpc_hout.c: Likewise.
49093         * sunrpc/rpc_main.c: Likewise.
49094         * sunrpc/rpc_parse.c: Likewise.
49095         * sunrpc/rpc_parse.h: Likewise.
49096         * sunrpc/rpc_prot.c: Likewise.
49097         * sunrpc/rpc_sample.c: Likewise.
49098         * sunrpc/rpc_scan.c: Likewise.
49099         * sunrpc/rpc_scan.h: Likewise.
49100         * sunrpc/rpc_svcout.c: Likewise.
49101         * sunrpc/rpc_tblout.c: Likewise.
49102         * sunrpc/rpc_util.c: Likewise.
49103         * sunrpc/rpc_util.h: Likewise.
49104         * sunrpc/rpcinfo.c: Likewise.
49105         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49106         * sunrpc/rpcsvc/key_prot.x: Likewise.
49107         * sunrpc/rpcsvc/klm_prot.x: Likewise.
49108         * sunrpc/rpcsvc/mount.x: Likewise.
49109         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49110         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49111         * sunrpc/rpcsvc/rex.x: Likewise.
49112         * sunrpc/rpcsvc/rstat.x: Likewise.
49113         * sunrpc/rpcsvc/rusers.x: Likewise.
49114         * sunrpc/rpcsvc/sm_inter.x: Likewise.
49115         * sunrpc/rpcsvc/spray.x: Likewise.
49116         * sunrpc/rpcsvc/yppasswd.x: Likewise.
49117         * sunrpc/rtime.c: Likewise.
49118         * sunrpc/svc.c: Likewise.
49119         * sunrpc/svc_auth.c: Likewise.
49120         * sunrpc/svc_authux.c: Likewise.
49121         * sunrpc/svc_raw.c: Likewise.
49122         * sunrpc/svc_run.c: Likewise.
49123         * sunrpc/svc_simple.c: Likewise.
49124         * sunrpc/svc_tcp.c: Likewise.
49125         * sunrpc/svc_udp.c: Likewise.
49126         * sunrpc/svc_unix.c: Likewise.
49127         * sunrpc/svcauth_des.c: Likewise.
49128         * sunrpc/xcrypt.c: Likewise.
49129         * sunrpc/xdr.c: Likewise.
49130         * sunrpc/xdr_array.c: Likewise.
49131         * sunrpc/xdr_float.c: Likewise.
49132         * sunrpc/xdr_mem.c: Likewise.
49133         * sunrpc/xdr_rec.c: Likewise.
49134         * sunrpc/xdr_ref.c: Likewise.
49135         * sunrpc/xdr_sizeof.c: Likewise.
49136         * sunrpc/xdr_stdio.c: Likewise.
49137
49138         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49139         handling.
49140
49141 2010-08-19  Andreas Schwab  <schwab@redhat.com>
49142
49143         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49144
49145 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
49146
49147         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49148         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49149         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49150         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49151         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49152         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49153         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49154         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49155         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49156         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49157         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49158         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49159         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49160         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49161
49162 2010-07-26  Anton Blanchard  <anton@samba.org>
49163
49164         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49165         * malloc/arena.c (heap_trim): Likewise.
49166
49167 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
49168
49169         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49170         here.  Not...
49171         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49172         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49173
49174 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
49175
49176         * sysdeps/i386/elf/Makefile: New file.
49177
49178 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49179
49180         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49181         from fanotify_init.
49182         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49183         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49184
49185 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
49186
49187         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49188         of strncasecmp_l.
49189         * sysdeps/multiarch/strcmp.S: Likewise.
49190
49191 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
49192
49193         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49194         strncase_l-nonascii.
49195         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49196         Add strncase_l-ssse3.
49197         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49198         * sysdeps/x86_64/strcmp.S: Likewise.
49199         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49200         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49201         * sysdeps/x86_64/strncase.S: New file.
49202         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49203         * sysdeps/x86_64/strncase_l.S: New file.
49204         * string/Makefile (strop-tests): Add strncasecmp.
49205         * string/test-strncasecmp.c: New file.
49206
49207         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49208         warning.
49209
49210         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49211         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49212
49213 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49214
49215         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49216
49217 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
49218
49219         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49220         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49221         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49222
49223 2010-05-01  Alan Modra  <amodra@gmail.com>
49224
49225         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49226         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49227         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49228         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49229         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49230         tidying.  Don't tail-call __sigjmp_save for static lib.
49231         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49232         save location.
49233         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49234         (CALL_MCOUNT): Add eh info, and nop after bl.
49235         (TAIL_CALL_SYSCALL_ERROR): New macro.
49236         (PSEUDO_RET): Use it.
49237         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49238         Correct save location of integer regs and cr.
49239         (_dl_profile_resolve): Correct cr save location.  Delete nops
49240         after bl when SHARED.  Reduce cfi size a little by better
49241         placement of cfi directives.
49242         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49243         make a stack frame.  Instead use parm save area as a temp.
49244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49245         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
49246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49247         Don't make a stack frame for parent, use parm save area.
49248         Increase child stack frame to 112 bytes.  Don't save unused reg,
49249         and adjust reg usage.  Set up cfi on error recovery and
49250         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49252         (__makecontext): Add dummy nop after jump to exit.
49253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49254         Use correct parm save area and cr save, reduce stack frame.
49255         Correct cfi for possible PSEUDO_RET frame setup.
49256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49257         Branch to local label emitted by PSEUDO_RET rather than
49258         __syscall_error.
49259
49260 2010-08-12  Andreas Schwab  <schwab@redhat.com>
49261
49262         [BZ #11904]
49263         * locale/programs/locale.c (print_assignment): New function.
49264         (show_locale_vars): Use it.
49265
49266 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
49267
49268         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49269         field.
49270         (struct statfs64): Likewise.
49271         (_STATFS_F_FLAGS): Define.
49272         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49273         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49274         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49275         (ST_VALID): Define locally.
49276         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49277         __statvfs_getflags, use the provided value.
49278         * sysdeps/unix/sysv/linux/kernel-features.h: Define
49279         __ASSUME_STATFS_F_FLAGS.
49280
49281         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49282
49283         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49284         Add sys/fanotify.h.
49285         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49286         fanotify_mask for GLIBC_2.13.
49287         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49288         fanotify_init and fanotify_mark.
49289         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49290         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49291
49292         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49293         Add prlimit.
49294         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49295         prlimit64 for GLIBC_2.13.
49296         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49297         prlimit64.
49298         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49299         syscall.
49300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49301         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49302         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49303         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49304         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
49305         add prlimit alias.
49306         * sysdeps/unix/sysv/linux/prlimit.c: New file.
49307
49308         [BZ #11903]
49309         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49310         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49311
49312         * nss/Makefile: Add rules to build and run tst-nss-test1.
49313         * shlib-versions: Add entry for libnss_test1.
49314         * nss/nss_test1.c: New file.
49315         * nss/tst-nss-test1.c: New file.
49316
49317         * nss/nsswitch.c (__nss_database_custom): Define new variable.
49318         (__nss_configure_lookup): Set appropriate entry in
49319         __nss_configure_lookup to true.
49320         * nss/nsswitch.h: Define enum with indeces of databases in
49321         databases and __nss_database_custom arrays.  Declare
49322         __nss_database_custom.
49323         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49324         to avoid using nscd when custom rules are installed.
49325         * nss/getXXbyYY_r.c: Likewise.
49326         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49327
49328         * nss/nss_files/files-parse.c: Whitespace fixes.
49329
49330 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
49331
49332         [BZ #11883]
49333         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49334         * posix/fnmatch_loop.c: Likewise.
49335
49336 2010-07-17  Andi Kleen  <ak@linux.intel.com>
49337
49338         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49339         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49340         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49341         * Versions.def [GLIBC_2.13]: Add.
49342
49343 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
49344
49345         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49346         Also fail if tpwd after pwuid call is NULL.
49347
49348 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49349
49350         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49351         when converting to ms.
49352
49353 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49354
49355         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49356         EOPNOTSUPP errors with ENOTTY.
49357         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49358         EOPNOTSUPP errors with ENOTTY.
49359
49360 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
49361
49362         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49363         Add strcasecmp_l-ssse3.
49364         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49365         strcasecmp.
49366         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49367         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49368         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49369
49370 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
49371
49372         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49373
49374         * string/Makefile (strop-tests): Add strcasecmp.
49375         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49376         strcasecmp_l-nonascii.
49377         (gen-as-const-headers): Add locale-defines.sym.
49378         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49379         * sysdeps/x86_64/strcasecmp.S: New file.
49380         * sysdeps/x86_64/strcasecmp_l.S: New file.
49381         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49382         * sysdeps/x86_64/locale-defines.sym: New file.
49383         * string/test-strcasecmp.c: New file.
49384
49385         * string/test-strcasestr.c: Test both ends of the range of characters.
49386         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49387
49388 2010-07-29  Roland McGrath  <roland@redhat.com>
49389
49390         [BZ #11856]
49391         * manual/locale.texi (Yes-or-No Questions): Fix example code.
49392
49393 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
49394
49395         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49396         for ld.so.
49397
49398 2010-07-27  Andreas Schwab  <schwab@redhat.com>
49399
49400         * manual/memory.texi (Malloc Tunable Parameters): Document
49401         M_PERTURB.
49402
49403 2010-07-26  Roland McGrath  <roland@redhat.com>
49404
49405         [BZ #11840]
49406         * configure.in (-fgnu89-inline check): Set and substitute
49407         gnu89_inline, not libc_cv_gnu89_inline.
49408         * configure: Regenerated.
49409         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49410
49411 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
49412
49413         * string/test-strnlen.c: New file.
49414         * string/Makefile (strop-tests): Add strnlen.
49415         * string/tester.c (test_strnlen): Add a few more test cases.
49416         * string/tst-strlen.c: Better error reporting.
49417
49418         * sysdeps/x86_64/strnlen.S: New file.
49419
49420 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
49421
49422         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49423         lower-latency instructions.
49424
49425 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
49426
49427         * string/test-strcasestr.c: New file.
49428         * string/test-strstr.c: New file.
49429         * string/Makefile (strop-tests): Add strstr and strcasestr.
49430         * string/str-two-way.h: Don't undefine MAX.
49431         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49432
49433 2010-07-21  Andreas Schwab  <schwab@redhat.com>
49434
49435         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49436         strcasestr-nonascii.
49437         (CFLAGS-strcasestr-nonascii.c): Define.
49438         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49439         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49440         Remove unused attribute.
49441
49442 2010-07-20  Roland McGrath  <roland@redhat.com>
49443
49444         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49445         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
49446         ld.so.cache was broken.  With it, there is no way to disable dsocaps
49447         like LD_HWCAP_MASK can disable hwcaps.
49448
49449 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
49450
49451         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49452
49453 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
49454
49455         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49456         call in strcasestr.
49457         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49458         __strcasestr_sse42_nonascii.
49459         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49460         strcasestr-nonascii.c.
49461         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49462
49463 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
49464
49465         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49466         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49467         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49468         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49469
49470 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
49471
49472         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49473         fcntl.
49474
49475 2010-07-06  Andreas Schwab  <schwab@redhat.com>
49476
49477         [BZ #11577]
49478         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49479         dl_signal_cerror.
49480
49481 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
49482
49483         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49484         _PC_PIPE_BUF using F_GETPIPE_SZ.
49485
49486 2010-07-05  Roland McGrath  <roland@redhat.com>
49487
49488         * manual/arith.texi (Rounding Functions): Fix rint description
49489         implicit in round description.
49490
49491 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
49492
49493         * elf/Makefile: Fix linking for a few tests to make recent linker
49494         happy.
49495
49496 2010-06-30  Andreas Schwab  <schwab@redhat.com>
49497
49498         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49499         $(common-objpfx)libc_nonshared.a.
49500
49501 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
49502
49503         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49504         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49505         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49506         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49507         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49508         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49509         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49510         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49525         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49526         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49527         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49528         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49529         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49530         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49531         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49532         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49533         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49534         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49535         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49536         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49551
49552 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
49553
49554         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49555         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
49556         * string/memmove.c (memmove): Renamed to ...
49557         (MEMMOVE): ...this.  Default to memmove.
49558         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49559         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49560         (END_CHK): Define.
49561         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49562         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49563         mempcpy-ssse3-back memmove-ssse3-back.
49564         * sysdeps/x86_64/multiarch/bcopy.S: New file .
49565         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49566         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49567         * sysdeps/x86_64/multiarch/memcpy.S: New file.
49568         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49569         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49570         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49571         * sysdeps/x86_64/multiarch/memmove.c: New file.
49572         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49573         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49574         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49575         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49576         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49577         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49578         Define.
49579         (index_Fast_Copy_Backward): Define.
49580         (HAS_ARCH_FEATURE): Define.
49581         (HAS_FAST_REP_STRING): Define.
49582         (HAS_FAST_COPY_BACKWARD): Define.
49583
49584 2010-06-21  Andreas Schwab  <schwab@redhat.com>
49585
49586         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49587         Restore proper fallback handling.
49588
49589 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
49590
49591         [BZ #11701]
49592         * posix/group_member.c (__group_member): Correct checking loop.
49593
49594         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49595         OOM in getpwuid_r correctly.  Return error number when the caller
49596         should return, otherwise -1.
49597         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49598         call returning > 0 value.
49599         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49600
49601 2010-06-07  Andreas Schwab  <schwab@redhat.com>
49602
49603         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49604         libc_nonshared.a from targets in modules-names.
49605
49606 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
49607
49608         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49609         requires it.
49610
49611 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
49612
49613         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49614         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49615         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49616         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49617
49618 2010-06-02  Andreas Schwab  <schwab@redhat.com>
49619
49620         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49621
49622 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
49623
49624         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49625         and F_GETPIPE_SZ.
49626         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49627         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49628         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49629         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49630         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49631         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49632
49633 2010-06-14  Roland McGrath  <roland@redhat.com>
49634
49635         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49636
49637 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
49638
49639         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49640         __REDIRECT followed by __THROW.
49641         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49642         * posix/getopt.h (getopt): Likewise.
49643
49644 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
49645
49646         * hurd/lookup-at.c (__file_name_lookup_at): Accept
49647         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
49648         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49649         in AT_FLAGS.
49650         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49651         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49652
49653 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
49654
49655         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49656
49657 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
49658
49659         [BZ #11640]
49660         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49661         Properly check family and model.
49662
49663 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
49664
49665         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49666
49667 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
49668
49669         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49670
49671 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
49672
49673         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49674         symbol reference.
49675
49676 2010-05-19  Andreas Schwab  <schwab@redhat.com>
49677
49678         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49679         symbol reference.
49680
49681 2010-05-21  Andreas Schwab  <schwab@redhat.com>
49682
49683         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49684         and internal_recvmmsg.
49685         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49686         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49687         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49688         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49689
49690         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49691         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49692         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49693
49694 2010-05-20  Andreas Schwab  <schwab@redhat.com>
49695
49696         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49697
49698 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
49699
49700         POWER7 optimizations.
49701         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49702         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49703
49704 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
49705
49706         * version.h: Update for 2.13 development version.
49707
49708 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
49709
49710         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49711         exceptions.  Return 0.
49712
49713 2010-05-07  Roland McGrath  <roland@redhat.com>
49714
49715         * elf/ldconfig.c (main): Add a const.
49716
49717 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
49718
49719         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49720         (args_options): Add no-idn option.
49721         (ahosts_keys_int): Add idn_flags to ai_flags.
49722         (parse_option): Handle 'i' option to clear idn_flags.
49723
49724         * malloc/malloc.c (_int_free): Possible race in the most recently
49725         added check.  Only act on the data if no current modification
49726         happened.
49727
49728 See ChangeLog.17 for earlier changes.