Fix __ASSUME_RECVMMSG issues (bug 16610).
[glibc.git] / ChangeLog
blob73f614b64af60c4cf49673e42965b061a0b11473
1 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #16610]
4         * sysdeps/unix/sysv/linux/kernel-features.h
5         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
7         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10         [__i386__ || __sparc__]
11         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
13         (__ASSUME_RECVMMSG): Define instead of using previous
14         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
15         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16         (__ASSUME_RECVMMSG_SYSCALL): Define.
17         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19         Likewise.
20         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22         Likewise.
23         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25         Likewise.
26         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
27         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
28         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
29         [__ASSUME_RECVMMSG]: Change condition to
30         [__ASSUME_RECVMMSG_SOCKETCALL].
31         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33         Define.
34         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37         Likewise.
38         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
39         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
40         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
41         [!__ASSUME_RECVMMSG]: Change condition to
42         [!__ASSUME_RECVMMSG_SOCKETCALL].
43         * sysdeps/unix/sysv/linux/tile/kernel-features.h
44         (__ASSUME_RECVMMSG_SYSCALL): Define.
46         [BZ #16609]
47         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
48         __powerpc__ || __s390__ || __sh__ || __sparc__]
49         (__ASSUME_SOCKETCALL): Define.
50         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
51         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
52         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
53         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
54         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
55         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
56         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
57         (__ASSUME_ACCEPT4): Define instead of using previous
58         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
59         __powerpc__ || __sparc__ || __s390__)] condition.
60         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
61         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
62         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
63         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
64         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
65         [!__ASSUME_ACCEPT4]: Change condition to
66         [!__ASSUME_ACCEPT4_SOCKETCALL].
67         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
68         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
69         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
70         * sysdeps/unix/sysv/linux/arm/kernel-features.h
71         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
72         __ASSUME_ACCEPT4_SYSCALL.
73         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
74         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
75         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
76         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
77         __ASSUME_ACCEPT4_SYSCALL.
78         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
79         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
80         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
81         [__ASSUME_ACCEPT4]: Change condition to
82         [__ASSUME_ACCEPT4_SOCKETCALL].
83         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
84         (__ASSUME_SOCKETCALL): Define.
85         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
86         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
87         (__ASSUME_SOCKETCALL): Define.
88         (__ASSUME_ACCEPT4): Remove.
89         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
90         Define.
91         * sysdeps/unix/sysv/linux/mips/kernel-features.h
92         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
93         Likewise.
94         * sysdeps/unix/sysv/linux/tile/kernel-features.h
95         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
97         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
98         macro.
99         (HWCAP_ARM_LPAE): Likewise.
100         (HWCAP_ARM_EVTSTRM): Likewise.
101         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
102         Add vpfd32, lpae and evtstrm.
103         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
104         Increase to 22.
106 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
108         * math/auto-libm-test-in: Add tests of clog10.
109         * math/auto-libm-test-out: Regenerated.
110         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
111         * sysdeps/i386/fpu/libm-test-ulps: Update.
112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
114 2014-02-18  Andreas Schwab  <schwab@suse.de>
116         [BZ #16574]
117         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
118         Store non-zero if the second buffer was newly allocated.
119         (send_dg): Likewise.
120         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
121         to send_vc and send_dg.
122         (res_nsend): Pass NULL for ansp2_malloced.
123         * resolv/res_query.c (__libc_res_nquery): Add parameter
124         answerp2_malloced and pass it down to __libc_res_nsend.
125         (res_nquery): Pass additional NULL to __libc_res_nquery.
126         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
127         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
128         second answer buffer if answerp2_malloced was set.
129         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
130         (__libc_res_nquerydomain): Add parameter
131         answerp2_malloced and pass it down to __libc_res_nquery.
132         (res_nquerydomain): Pass additional NULL to
133         __libc_res_nquerydomain.
134         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
135         additional NULL to __libc_res_nsend and __libc_res_nquery.
136         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
137         additional NULL to __libc_res_nsearch.
138         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
139         parameter of __libc_res_nsearch to check for separately allocated
140         second buffer.
141         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
142         __libc_res_nquery.
143         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
144         additional NULL to __libc_res_nquery.
145         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
146         __libc_res_nsearch.
147         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
148         * include/resolv.h: Update prototypes of __libc_res_nquery,
149         __libc_res_nsearch, __libc_res_nsend.
151 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
153         * math/auto-libm-test-in: Add tests of fma.
154         * math/auto-libm-test-out: Regenerated.
155         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
156         (fma_towardzero_test_data): Likewise.
157         (fma_downward_test_data): Likewise.
158         (fma_upward_test_data): Likewise.
159         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
160         mpc_mode.
161         (rounding_modes): Add values for new field.
162         (func_calc_method): Add value mpfr_fff_f.
163         (func_calc_desc): Add mpfr_fff_f union field.
164         (test_function): Add field exact_args.
165         (FUNC): Add macro argument EXACT_ARGS.
166         (FUNC_mpfr_f_f): Update call to FUNC.
167         (FUNC_mpfr_f_f): Likewise.
168         (FUNC_mpfr_ff_f): Likewise.
169         (FUNC_mpfr_if_f): Likewise.
170         (FUNC_mpc_c_f): Likewise.
171         (FUNC_mpc_c_c): Likewise.
172         (test_functions): Add fma.  Update calls to FUNC.
173         (handle_input_arg): Add argument exact_args.
174         (add_test): Update call to handle_input_arg.
175         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
176         (output_for_one_input_case): Update call to calc_generic_results.
177         Recalculate exact zero results in each rounding mode.
179         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
180         non-negative before setting low bit.
181         * math/auto-libm-test-in: Mark one asin test possibly having
182         spurious underflow.
183         * math/auto-libm-test-out: Regenerated.
184         * sysdeps/i386/fpu/libm-test-ulps: Update.
185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
187 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
189         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
190         * sysdeps/unix/sysv/linux/microblaze: Move directory from
191           ports/sysdeps/unix/sysv/linux/microblaze.
192         * README: Add missing listing for microblaze*-*-linux-gnu.
194 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
196         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
197         * sysdeps/unix/sysv/linux/ia64: Move directory from
198         ports/sysdeps/unix/sysv/linux/ia64.
199         * README: Update listing for ia64-*-linux-gnu.
201 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
202             Joseph Myers  <joseph@codesourcery.com>
204         * Makeconfig (test-name): New variable.
205         (evaluate-test): Likewise.
206         * Makerules (do-test-clean): Remove .test-result files.
207         (common-mostlyclean): Likewise.
208         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
209         * scripts/evaluate-test.sh: New file.
211 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
213         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
214         separate $(objpfx)tst-fopenloc-cmp.out and
215         $(objpfx)tst-fopenloc-mem.out targets.
216         (tests): Update dependencies.
217         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
218         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
219         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
220         (tst-rxspencer-no-utf8-ARGS): New variable.
221         (tst-rxspencer-no-utf8-ENV): Likewise.
222         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
223         instead of $(objpfx)tst-rxspencer-mem.
224         ($(objpfx)tst-rxspencer-mem): Change target to
225         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
226         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
227         * posix/tst-rxspencer-no-utf8.c: New file.
229         * elf/Makefile ($(objpfx)order.out): Remove rule.
230         [$(run-built-tests) = yes] (tests): Depend on
231         $(objpfx)order-cmp.out.
232         ($(objpfx)order-cmp.out): New rule.
233         [$(run-built-tests) = yes] (tests): Depend on
234         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
235         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
236         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
237         $(objpfx)tst-array5-static-cmp.out.
238         ($(objpfx)tst-array1.out): Remove rule.
239         ($(objpfx)tst-array1-cmp.out): New rule.
240         ($(objpfx)tst-array1-static.out): Remove rule.
241         ($(objpfx)tst-array1-static-cmp.out): New rule.
242         ($(objpfx)tst-array2.out): Remove rule.
243         ($(objpfx)tst-array2-cmp.out): New rule.
244         ($(objpfx)tst-array3.out): Remove rule.
245         ($(objpfx)tst-array3-cmp.out): New rule.
246         ($(objpfx)tst-array4.out): Remove rule.
247         ($(objpfx)tst-array4-cmp.out): New rule.
248         ($(objpfx)tst-array5.out): Remove rule.
249         ($(objpfx)tst-array5-cmp.out): New rule.
250         ($(objpfx)tst-array5-static.out): Remove rule.
251         ($(objpfx)tst-array5-static-cmp.out): New rule.
252         [$(run-built-tests) = yes] (tests): Depend on
253         $(objpfx)order2-cmp.out.
254         ($(objpfx)order2.out): Remove rule.
255         ($(objpfx)order2-cmp.out): New rule.
256         ($(objpfx)tst-initorder.out): Remove rule.
257         [$(run-built-tests) = yes] (tests): Depend on
258         $(objpfx)tst-initorder-cmp.out.
259         ($(objpfx)tst-initorder-cmp.out): New rule.
260         ($(objpfx)tst-initorder2.out): Remove rule.
261         [$(run-built-tests) = yes] (tests): Depend on
262         $(objpfx)tst-initorder2-cmp.out.
263         ($(objpfx)tst-initorder2-cmp.out): New rule.
264         [$(run-built-tests) = yes] (tests): Depend on
265         $(objpfx)tst-unused-dep-cmp.out.
266         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
267         ($(objpfx)tst-unused-dep-cmp.out): New rule.
268         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
269         on $(objpfx)tst-setvbuf1-cmp.out.
270         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
271         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
272         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
273         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
274         ($(objpfx)tst-svc.out): Remove rule.
275         ($(objpfx)tst-svc-cmp.out): New rule.
277 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
279         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
280         * ctype/ctype.h [__USE_MISC]: Likewise.
281         * dirent/dirent.h [__USE_MISC]: Likewise.
282         * grp/grp.h [__USE_MISC]: Likewise.
283         * io/fcntl.h [__USE_MISC]: Likewise.
284         * io/sys/stat.h [__USE_MISC]: Likewise.
285         * libio/stdio.h [__USE_MISC]: Likewise.
286         * posix/unistd.h [__USE_MISC]: Likewise.
287         * pwd/pwd.h [__USE_MISC]: Likewise.
288         * stdlib.h [__USE_MISC]: Likewise.
289         * string/bits/string2.h [__USE_MISC]: Likewise.
290         * string/string.h [__USE_MISC]: Likewise.
291         * time/time.h [__USE_MISC]: Likewise.
293 2014-02-13  Andreas Schwab  <schwab@suse.de>
295         [BZ #16574]
296         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
297         second answer buffer if it was separately allocated.
299 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
301         * sysdeps/mips/math-tests.h: Include <features.h>.
302         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
303         (ROUNDING_TESTS_long_double): Do not define.
304         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
305         (EXCEPTION_TESTS_long_double): Likewise.
306         * sysdeps/mips/mips64/libm-test-ulps: Update.
308         * include/features.h (__USE_BSD): Remove macro definitions.
309         (__USE_SVID): Likewise.
310         (_BSD_SOURCE): Likewise.
311         (_SVID_SOURCE): Likewise.
312         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
313         from definition of _DEFAULT_SOURCE.
314         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
315         [_DEFAULT_SOURCE].
316         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
317         * bits/mman.h [__USE_BSD]: Likewise.
318         * bits/termios.h [__USE_BSD]: Likewise.
319         * bits/waitstatus.h [__USE_BSD]: Likewise.
320         * ctype/ctype.h [__USE_SVID]: Likewise.
321         * dirent/dirent.h [__USE_BSD]: Likewise.
322         * grp/grp.h [__USE_SVID]: Likewise.
323         [__USE_BSD]: Likewise.
324         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
325         * io/fcntl.h [__USE_BSD]: Likewise.
326         * io/ftw.h [__USE_BSD]: Likewise.
327         * io/sys/stat.h [__USE_BSD]: Likewise.
328         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
329         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
330         * libio/stdio.h [__USE_SVID]: Likewise.
331         [__USE_BSD]: Likewise.
332         * math/math.h [__USE_SVID]: Likewise.
333         [__USE_BSD]: Likewise.
334         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
335         * misc/bits/syslog.h [__USE_BSD]: Likewise.
336         * misc/search.h [__USE_SVID]: Likewise.
337         * misc/sys/mman.h [__USE_BSD]: Likewise.
338         * misc/sys/syslog.h [__USE_BSD]: Likewise.
339         * misc/sys/uio.h [__USE_BSD]: Likewise.
340         * posix/bits/unistd.h [__USE_BSD]: Likewise.
341         * posix/glob.h [__USE_BSD]: Likewise.
342         * posix/regex.h [__USE_BSD]: Likewise.
343         * posix/sys/types.h [__USE_BSD]: Likewise.
344         [__USE_SVID]: Likewise.
345         * posix/sys/utsname.h [__USE_SVID]: Likewise.
346         * posix/sys/wait.h [__USE_BSD]: Likewise.
347         [__USE_SVID]: Likewise.
348         * posix/unistd.h [__USE_BSD]: Likewise.
349         [__USE_SVID]: Likewise.
350         * pwd/pwd.h [__USE_SVID]: Likewise.
351         * resolv/netdb.h [__USE_BSD]: Likewise.
352         * setjmp/setjmp.h [__USE_BSD]: Likewise.
353         * signal/signal.h [__USE_BSD]: Likewise.
354         [__USE_SVID]: Likewise.
355         * socket/sys/socket.h [__USE_BSD]: Likewise.
356         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
357         * stdlib/stdlib.h [__USE_BSD]: Likewise.
358         [__USE_SVID]: Likewise.
359         * string/bits/string2.h [__USE_BSD]: Likewise.
360         [__USE_SVID]: Likewise.
361         * string/bits/string3.h [__USE_BSD]: Likewise.
362         * string/endian.h [__USE_BSD]: Likewise.
363         * string/string.h [__USE_SVID]: Likewise.
364         [__USE_BSD]: Likewise.
365         * string/strings.h [__USE_BSD]: Likewise.
366         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
367         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
368         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
369         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
370         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
371         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
372         Likewise.
373         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
374         Likewise.
375         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
376         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
377         Likewise.
378         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
379         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
380         Likewise.
381         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
382         Likewise.
383         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
384         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
385         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
386         Likewise.
387         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
388         Likewise.
389         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
390         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
391         * termios/termios.h [__USE_BSD]: Likewise.
392         * time/sys/time.h [__USE_BSD]: Likewise.
393         * time/time.h [__USE_BSD]: Likewise.
394         [__USE_SVID]: Likewise.
396         * Makefile (subdir_targets): Remove subdir_lint.out.
398         * stdio-common/Makefile (do-tst-unbputc): Remove target.
399         (do-tst-printf): Likewise.
400         (tests): Depend directly on $(objpfx)tst-unbputc.out and
401         $(objpfx)tst-printf.out.
403         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
405         * Makerules (check-abi-%): Change target to
406         $(objpfx)check-abi-%.out.
407         (check-abi target): Update dependencies.
408         (check-abi-pattern variable): Redirect output of diff to $@.
409         (check-abi variable): Likewise.
410         * elf/Makefile (check-abi): Update dependencies.
412         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
413         unused.
414         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
415         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
416         subnormal range.
417         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
418         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
419         value has largest subnormal exponent.
420         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
421         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
422         * sysdeps/aarch64/soft-fp/sfp-machine.h
423         (_FP_TININESS_AFTER_ROUNDING): New macro.
424         * sysdeps/alpha/soft-fp/sfp-machine.h
425         (_FP_TININESS_AFTER_ROUNDING): Likewise.
426         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
427         Likewise.
428         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
429         (_FP_TININESS_AFTER_ROUNDING): Likewise.
430         * sysdeps/mips/soft-fp/sfp-machine.h
431         (_FP_TININESS_AFTER_ROUNDING): Likewise.
432         * sysdeps/powerpc/soft-fp/sfp-machine.h
433         (_FP_TININESS_AFTER_ROUNDING): Likewise.
434         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
435         Likewise.
436         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
437         (_FP_TININESS_AFTER_ROUNDING): Likewise.
438         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
439         (_FP_TININESS_AFTER_ROUNDING): Likewise.
440         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
441         Likewise.
443 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
445         [BZ #16545]
446         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
447         model 1.
449 2014-02-12  Richard Henderson  <rth@redhat.com>
451         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
452         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
453         * sysdeps/unix/sysv/linux/alpha: Move directory from
454         ports/sysdeps/unix/sysv/linux/alpha.
455         * README: Update listing for alpha-*-linux-gnu.
457 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
459         * include/features.h: Update comment documenting feature test
460         macros.
461         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
462         _DEFAULT_SOURCE.
463         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
464         (_SVID_SOURCE): Likewise.
465         (_DEFAULT_SOURCE): Update description of default features.
466         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
467         with _GNU_SOURCE.
468         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
469         (S_ISVTX): Likewise.
470         * manual/math.texi (Mathematical Constants): Likewise.
471         * manual/signal.texi (Interrupted Primitives): Likewise.
472         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
473         * math/test-matherr.c (_SVID_SOURCE): Do not define.
474         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
475         Don't refer to _SVID_SOURCE in warning text.
477         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
479         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
480         already defined.
481         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
482         * sysdeps/mips/dl-lookup.c: Remove.
483         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
485 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
487         [BZ #16447]
488         * math/auto-libm-test-in: Add testcase for expl.
489         * math/auto-libm-test-out: Regenerate.
490         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
491         calculation of unsafe.
492         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
494 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
496         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
497         * sysdeps/unix/sysv/linux/aarch64: Move directory from
498         ports/sysdeps/unix/sysv/linux/aarch64.
499         * README: Update listing for aarch64*-*-linux-gnu.
501 2014-02-11  Will Newton  <will.newton@linaro.org>
503         * manual/probes.texi (Mathematical Function Probes): Use
504         "triggered" instead of "hit".
506 2014-02-11  Will Newton  <will.newton@linaro.org>
508         * manual/probes.texi (Internal Probes): Add documentation
509         of setjmp, longjmp and longjmp_target probes.
511 2014-02-11  Will Newton  <will.newton@linaro.org>
513         * include/stap-probe.h: Add comment about probe argument
514         format.
516 2014-02-11  Will Newton  <will.newton@linaro.org>
518         * malloc/mtrace.c (attribute_hidden): Remove unused macro
519         definition.  (tr_where, tr_freehook, tr_mallochook,
520         tr_reallochook, tr_memalignhook): Use ANSI protoype.
522 2014-02-11  David S. Miller  <davem@davemloft.net>
524         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
525         processing int_tests.
527 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
529         * sysdeps/mips: Move directory from ports/sysdeps/mips.
530         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
531         * sysdeps/unix/sysv/linux/mips: Move directory from
532         ports/sysdeps/unix/sysv/linux/mips.
533         * README: Update listing for mips-*-linux-gnu and
534         mips64-*-linux-gnu.
536 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
538         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
539         * sysdeps/unix/sysv/linux/m68k: Move directory from
540         ports/sysdeps/unix/sysv/linux/m68k.
541         * README: Update listing for m68k-*-linux-gnu.
543 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
545         * sysdeps/tile: Move directory from ports/sysdeps/tile.
546         * sysdeps/unix/sysv/linux/generic: Move directory from
547         ports/sysdeps/unix/sysv/linux/generic.
548         * sysdeps/unix/sysv/linux/tile: Move directory from
549         ports/sysdeps/unix/sysv/linux/tile.
550         * README: Update listing for tile*-*-linux-gnu.
552 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
554         * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
555         * benchtests/bench-memmem.c (simple_memmem): Likewise.
556         * catgets/open_catalog.c (__open_catalog): Likewise.
557         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
558         * debug/confstr_chk.c: Likewise.
559         * debug/fread_chk.c (__fread_chk): Likewise.
560         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
561         * debug/getgroups_chk.c: Likewise.
562         * debug/mbsnrtowcs_chk.c: Likewise.
563         * debug/mbsrtowcs_chk.c: Likewise.
564         * debug/mbstowcs_chk.c: Likewise.
565         * debug/memcpy_chk.c: Likewise.
566         * debug/memmove_chk.c: Likewise.
567         * debug/mempcpy_chk.c: Likewise.
568         * debug/memset_chk.c: Likewise.
569         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
570         * debug/strcat_chk.c (__strcat_chk): Likewise.
571         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
572         * debug/strncat_chk.c (__strncat_chk): Likewise.
573         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
574         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
575         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
576         * debug/wcpncpy_chk.c: Likewise.
577         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
578         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
579         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
580         * debug/wcsncpy_chk.c: Likewise.
581         * debug/wcsnrtombs_chk.c: Likewise.
582         * debug/wcsrtombs_chk.c: Likewise.
583         * debug/wcstombs_chk.c: Likewise.
584         * debug/wmemcpy_chk.c: Likewise.
585         * debug/wmemmove_chk.c: Likewise.
586         * debug/wmempcpy_chk.c: Likewise.
587         * debug/wmemset_chk.c: Likewise.
588         * dirent/scandirat.c (SCANDIRAT): Likewise.
589         * dlfcn/dladdr1.c (dladdr1): Likewise.
590         * dlfcn/dladdr.c (dladdr): Likewise.
591         * dlfcn/dlclose.c (dlclose_doit): Likewise.
592         * dlfcn/dlerror.c (__dlerror): Likewise.
593         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
594         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
595         * dlfcn/dlopen.c (dlopen_doit): Likewise.
596         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
597         * dlfcn/dlsym.c (dlsym_doit): Likewise.
598         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
599         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
600         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
601         Likewise.
602         * elf/dl-conflict.c: Likewise.
603         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
604         * elf/dl-dst.h: Likewise.
605         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
606         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
607         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
608         * elf/dl-init.c (call_init, _dl_init): Likewise.
609         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
610         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
611         _dl_map_object_from_fd, open_verify, open_path,
612         _dl_map_object): Likewise.
613         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
614         Likewise.
615         * elf/dl-minimal.c (__libc_memalign): Likewise.
616         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
617         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
618         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
619         * elf/dl-sym.c (do_sym): Likewise.
620         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
621         _dl_tls_get_addr_soft): Likewise.
622         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
623         * elf/dl-writev.h (_dl_writev): Likewise.
624         * elf/ldconfig.c (search_dir): Likewise.
625         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
626         dl_main): Likewise.
627         * elf/setup-vdso.h (setup_vdso): Likewise.
628         * grp/compat-initgroups.c (compat_call): Likewise.
629         * grp/fgetgrent.c (fgetgrent): Likewise.
630         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
631         * grp/putgrent.c (putgrent): Likewise.
632         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
633         Likewise.
634         * hurd/hurdinit.c: Likewise.
635         * iconvdata/8bit-gap.c (struct): Likewise.
636         * iconvdata/ansi_x3.110.c : Likewise.
637         * iconvdata/big5.c : Likewise.
638         * iconvdata/big5hkscs.c : Likewise.
639         * iconvdata/cp1255.c: Likewise.
640         * iconvdata/cp1258.c : Likewise.
641         * iconvdata/cp932.c : Likewise.
642         * iconvdata/euc-cn.c: Likewise.
643         * iconvdata/euc-jisx0213.c : Likewise.
644         * iconvdata/euc-jp.c: Likewise.
645         * iconvdata/euc-jp-ms.c : Likewise.
646         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
647         * iconvdata/gb18030.c : Likewise.
648         * iconvdata/gbbig5.c (const): Likewise.
649         * iconvdata/gbgbk.c: Likewise.
650         * iconvdata/gbk.c : Likewise.
651         * iconvdata/ibm1364.c : Likewise.
652         * iconvdata/ibm930.c : Likewise.
653         * iconvdata/ibm932.c: Likewise.
654         * iconvdata/ibm933.c : Likewise.
655         * iconvdata/ibm935.c : Likewise.
656         * iconvdata/ibm937.c : Likewise.
657         * iconvdata/ibm939.c : Likewise.
658         * iconvdata/ibm943.c: Likewise.
659         * iconvdata/iso_11548-1.c: Likewise.
660         * iconvdata/iso-2022-cn.c : Likewise.
661         * iconvdata/iso-2022-cn-ext.c : Likewise.
662         * iconvdata/iso-2022-jp-3.c: Likewise.
663         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
664         * iconvdata/iso-2022-kr.c : Likewise.
665         * iconvdata/iso646.c (gconv_end): Likewise.
666         * iconvdata/iso_6937-2.c : Likewise.
667         * iconvdata/iso_6937.c : Likewise.
668         * iconvdata/iso8859-1.c: Likewise.
669         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
670         * iconvdata/shift_jisx0213.c : Likewise.
671         * iconvdata/sjis.c : Likewise.
672         * iconvdata/t.61.c : Likewise.
673         * iconvdata/tcvn5712-1.c : Likewise.
674         * iconvdata/tscii.c: Likewise.
675         * iconvdata/uhc.c : Likewise.
676         * iconvdata/unicode.c (gconv_end): Likewise.
677         * iconvdata/utf-16.c (gconv_end): Likewise.
678         * iconvdata/utf-32.c (gconv_end): Likewise.
679         * iconvdata/utf-7.c (base64): Likewise.
680         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
681         * iconv/gconv_close.c (__gconv_close): Likewise.
682         * iconv/gconv_open.c (__gconv_open): Likewise.
683         * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
684         ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
685         internal_ucs4le_loop_single, ucs4le_internal_loop,
686         ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
687         * iconv/iconv.c (iconv): Likewise.
688         * iconv/iconv_close.c: Likewise.
689         * iconv/loop.c (SINGLE): Likewise.
690         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
691         * include/atomic.h: Likewise.
692         * inet/inet6_option.c (option_alloc): Likewise.
693         * intl/bindtextdom.c (set_binding_values): Likewise.
694         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
695         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
696         * intl/localealias.c (read_alias_file): Likewise.
697         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
698         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
699         _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
700         * libio/fmemopen.c (fmemopen): Likewise.
701         * libio/iofgets.c (_IO_fgets): Likewise.
702         * libio/iofgets_u.c (fgets_unlocked): Likewise.
703         * libio/iofgetws.c (fgetws): Likewise.
704         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
705         * libio/iogetdelim.c (_IO_getdelim): Likewise.
706         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
707         adjust_wide_data, _IO_wfile_seekoff): Likewise.
708         * locale/findlocale.c (_nl_find_locale): Likewise.
709         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
710         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
711         Likewise.
712         * locale/setlocale.c (setlocale): Likewise.
713         * login/programs/pt_chown.c (main): Likewise.
714         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
715         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
716         * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
717         mmap, mmap64, mremap, munmap): Likewise.
718         * math/e_exp2l.c: Likewise.
719         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
720         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
721         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
722         * math/s_catan.c (__catan): Likewise.
723         * math/s_catanf.c (__catanf): Likewise.
724         * math/s_catanh.c (__catanh): Likewise.
725         * math/s_catanhf.c (__catanhf): Likewise.
726         * math/s_catanhl.c (__catanhl): Likewise.
727         * math/s_catanl.c (__catanl): Likewise.
728         * math/s_ccosh.c (__ccosh): Likewise.
729         * math/s_ccoshf.c (__ccoshf): Likewise.
730         * math/s_ccoshl.c (__ccoshl): Likewise.
731         * math/s_cexp.c (__cexp): Likewise.
732         * math/s_cexpf.c (__cexpf): Likewise.
733         * math/s_cexpl.c (__cexpl): Likewise.
734         * math/s_clog10.c (__clog10): Likewise.
735         * math/s_clog10f.c (__clog10f): Likewise.
736         * math/s_clog10l.c (__clog10l): Likewise.
737         * math/s_clog.c (__clog): Likewise.
738         * math/s_clogf.c (__clogf): Likewise.
739         * math/s_clogl.c (__clogl): Likewise.
740         * math/s_csin.c (__csin): Likewise.
741         * math/s_csinf.c (__csinf): Likewise.
742         * math/s_csinh.c (__csinh): Likewise.
743         * math/s_csinhf.c (__csinhf): Likewise.
744         * math/s_csinhl.c (__csinhl): Likewise.
745         * math/s_csinl.c (__csinl): Likewise.
746         * math/s_csqrt.c (__csqrt): Likewise.
747         * math/s_csqrtf.c (__csqrtf): Likewise.
748         * math/s_csqrtl.c (__csqrtl): Likewise.
749         * math/s_ctan.c (__ctan): Likewise.
750         * math/s_ctanf.c (__ctanf): Likewise.
751         * math/s_ctanh.c (__ctanh): Likewise.
752         * math/s_ctanhf.c (__ctanhf): Likewise.
753         * math/s_ctanhl.c (__ctanhl): Likewise.
754         * math/s_ctanl.c (__ctanl): Likewise.
755         * math/w_pow.c: Likewise.
756         * math/w_powf.c: Likewise.
757         * math/w_powl.c: Likewise.
758         * math/w_scalb.c (sysv_scalb): Likewise.
759         * math/w_scalbf.c (sysv_scalbf): Likewise.
760         * math/w_scalbl.c (sysv_scalbl): Likewise.
761         * misc/error.c (error_tail): Likewise.
762         * misc/pselect.c (__pselect): Likewise.
763         * nis/nis_callback.c (__nis_create_callback): Likewise.
764         * nis/nis_call.c (__nisfind_server): Likewise.
765         * nis/nis_creategroup.c (nis_creategroup): Likewise.
766         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
767         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
768         * nis/nis_getservlist.c (nis_getservlist): Likewise.
769         * nis/nis_lookup.c (nis_lookup): Likewise.
770         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
771         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
772         nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
773         * nis/nis_xdr.c (xdr_endpoint): Likewise.
774         * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
775         internal_getgrgid_r): Likewise.
776         * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
777         Likewise.
778         * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
779         internal_getpwuid_r): Likewise.
780         * nis/nss_compat/compat-spwd.c (getspent_next_file,
781         internal_getspnam_r): Likewise.
782         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
783         _nss_nis_getaliasbyname_r): Likewise.
784         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
785         _nss_nis_getntohost_r): Likewise.
786         * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
787         internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
788         Likewise.
789         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
790         internal_nis_gethostent_r, internal_gethostbyname2_r,
791         _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
792         _nss_nis_gethostbyname4_r): Likewise.
793         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
794         initgroups_netid): Likewise.
795         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
796         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
797         _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
798         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
799         _nss_nis_getprotobynumber_r): Likewise.
800         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
801         _nss_nis_getsecretkey): Likewise.
802         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
803         internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
804         Likewise.
805         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
806         _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
807         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
808         _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
809         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
810         _nss_nis_getspnam_r): Likewise.
811         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
812         Likewise.
813         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
814         _nss_nisplus_getntohost_r): Likewise.
815         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
816         _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
817         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
818         _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
819         * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
820         Likewise.
821         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
822         _nss_nisplus_getnetbyaddr_r): Likewise.
823         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
824         _nss_nisplus_getprotobynumber_r): Likewise.
825         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
826         _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
827         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
828         Likewise.
829         * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
830         _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
831         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
832         _nss_nisplus_getspnam_r): Likewise.
833         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
834         * nscd/aicache.c (addhstaiX): Likewise.
835         * nscd/cache.c (cache_search, prune_cache): Likewise.
836         * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
837         nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
838         * nscd/grpcache.c (addgrbyX): Likewise.
839         * nscd/hstcache.c (addhstbyX): Likewise.
840         * nscd/initgrcache.c (addinitgroupsX): Likewise.
841         * nscd/mem.c (gc, mempool_alloc): Likewise.
842         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
843         Likewise.
844         * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
845         Likewise.
846         * nscd/nscd_getai.c (__nscd_getai): Likewise.
847         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
848         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
849         Likewise.
850         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
851         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
852         * nscd/nscd_helper.c (__readvall, open_socket,
853         __nscd_get_mapping, __nscd_get_map_ref): Likewise.
854         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
855         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
856         * nscd/pwdcache.c (addpwbyX): Likewise.
857         * nscd/selinux.c (preserve_capabilities): Likewise.
858         * nscd/servicescache.c (addservbyX): Likewise.
859         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
860         * posix/fnmatch.c (fnmatch): Likewise.
861         * posix/getopt.c (_getopt_internal_r): Likewise.
862         * posix/glob.c (glob, glob_in_dir): Likewise.
863         * posix/wordexp.c (exec_comm_child): Likewise.
864         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
865         gaih_getanswer_slice): Likewise.
866         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
867         * resolv/res_init.c: Likewise.
868         * resolv/res_mkquery.c (res_nmkquery): Likewise.
869         * resolv/res_query.c (__libc_res_nquery): Likewise.
870         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
871         Likewise.
872         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
873         * stdio-common/perror.c (perror): Likewise.
874         * stdio-common/printf_fp.c (___printf_fp): Likewise.
875         * stdio-common/tmpnam.c (tmpnam): Likewise.
876         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
877         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
878         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
879         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
880         * stdlib/putenv.c (putenv): Likewise.
881         * stdlib/setenv.c (__add_to_environ): Likewise.
882         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
883         * stdlib/strtol_l.c (INTERNAL): Likewise.
884         * string/memmem.c (memmem): Likewise.
885         * string/strerror.c (strerror): Likewise.
886         * string/strnlen.c (__strnlen): Likewise.
887         * string/test-memmem.c (simple_memmem): Likewise.
888         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
889         * sunrpc/pm_getport.c (__get_socket): Likewise.
890         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
891         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
892         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
893         elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
894         Likewise.
895         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
896         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
897         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
898         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
899         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
900         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
901         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
902         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
903         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
904         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
905         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
906         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
907         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
908         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
909         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
910         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
911         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
912         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
913         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
914         Likewise.
915         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
916         Likewise.
917         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
918         Likewise.
919         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
920         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
921         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
922         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
923         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
924         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
925         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
926         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
927         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
928         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
929         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
930         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
931         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
932         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
933         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
934         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
935         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
936         Likewise.
937         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
938         Likewise.
939         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
940         Likewise.
941         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
942         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
943         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
944         Likewise.
945         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
946         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
947         * sysdeps/posix/opendir.c (__opendirat): Likewise.
948         * sysdeps/posix/sleep.c: Likewise.
949         * sysdeps/posix/tempname.c: Likewise.
950         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
951         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
952         Likewise.
953         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
954         elf_machine_rela): Likewise.
955         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
956         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
957         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
958         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
959         Likewise.
960         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
961         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
962         elf_machine_rela, elf_machine_lazy_rel): Likewise.
963         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
964         elf_machine_rela, elf_machine_lazy_rel): Likewise.
965         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
966         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
967         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
968         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
969         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
970         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
971         elf_machine_lazy_rel): Likewise.
972         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
973         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
974         elf_machine_lazy_rel): Likewise.
975         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
976         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
977         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
978         * sysdeps/unix/grantpt.c (grantpt): Likewise.
979         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
980         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
981         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
982         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
983         Likewise.
984         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
985         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
986         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
987         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
988         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
989         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
990         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
991         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
992         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
993         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
994         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
995         Likewise.
996         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
997         (__posix_fallocate64_l64): Likewise.
998         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
999         (posix_fallocate): Likewise.
1000         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
1001         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1002         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
1003         getifaddrs_internal): Likewise.
1004         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
1005         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
1006         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
1007         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1008         * sysdeps/unix/sysv/linux/posix_fallocate64.c
1009         (__posix_fallocate64_l64): Likewise.
1010         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1011         Likewise.
1012         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
1013         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1014         Likewise.
1015         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
1016         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1017         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
1018         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1019         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1020         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
1021         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
1022         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
1023         Likewise.
1024         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
1025         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
1026         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
1027         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
1028         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1029         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
1030         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
1031         Likewise.
1032         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1033         (posix_fallocate): Likewise.
1034         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1035         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
1036         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
1037         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
1038         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
1039         Likewise.
1040         * time/asctime.c (asctime_internal): Likewise.
1041         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
1042         * time/tzset.c (__tzset_parse_tz): Likewise.
1043         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1044         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1045         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
1046         * wcsmbs/wcsmbsload.h: Likewise.
1048 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
1050         [BZ #15894]
1051         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
1053 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
1055         * malloc/arena.c (grow_heap, get_free_list, reused_arena,
1056         arena_get2): Remove THREAD_STATS conditionals.
1057         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
1058         __malloc_stats, int): Likewise.
1060 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
1062         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
1063         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
1065 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
1067         * manual/setjmp.texi: Fix typos/grammar errors.
1069 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
1071         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
1072         Only return early when n is <= 0.  Delete unused return statement.
1074 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
1076         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
1077         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
1078         * debug/tst-longjmp_chk3.c: New file.
1080 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
1082         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
1083         (test_main): Replace code with set_fortify_handler call.
1084         * debug/test-strcpy_chk.c: Likewise.
1085         * debug/tst-chk1.c: Likewise.
1086         * debug/tst-longjmp_chk.c: Likewise.
1087         * test-skeleton.c: Include fcntl.h & paths.h
1088         (set_fortify_handler): Define.
1090 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
1092         * debug/tst-longjmp_chk.c: Add header comment and include
1093         ../test-skeleton.c.
1094         (do_test): Mark static.
1095         (TEST_FUNCTION): Define.
1097 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
1099         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
1100         (IP_PMTUDISC_INTERFACE): Likewise.
1101         (IP_MULTICAST_IF): Likewise.
1102         (IP_MULTICAST_TTL): Likewise.
1103         (IP_MULTICAST_LOOP): Likewise.
1104         (IP_ADD_MEMBERSHIP): Likewise.
1105         (IP_DROP_MEMBERSHIP): Likewise.
1106         (IP_UNBLOCK_SOURCE): Likewise.
1107         (IP_BLOCK_SOURCE): Likewise.
1108         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
1109         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
1110         (IP_MSFILTER): Likewise.
1111         (MCAST_JOIN_GROUP): Likewise.
1112         (MCAST_BLOCK_SOURCE): Likewise.
1113         (MCAST_UNBLOCK_SOURCE): Likewise.
1114         (MCAST_LEAVE_GROUP): Likewise.
1115         (MCAST_JOIN_SOURCE_GROUP): Likewise.
1116         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1117         (MCAST_MSFILTER): Likewise.
1118         (IP_MULTICAST_ALL): Likewise.
1119         (IP_UNICAST_IF): Likewise.
1121 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
1123         * timezone/Makefile: Delete $(have-ksh) check.
1124         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
1125         * timezone/tzselect.ksh: Add +x mode bits.
1127 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
1129         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
1130         (ANON_INODE_FS_MAGIC): Likewise.
1131         (BDEVFS_MAGIC): Likewise.
1132         (BINFMTFS_MAGIC): Likewise.
1133         (BTRFS_TEST_MAGIC): Likewise.
1134         (CRAMFS_MAGIC_WEND): Likewise.
1135         (DEBUGFS_MAGIC): Likewise.
1136         (ECRYPTFS_SUPER_MAGIC): Likewise.
1137         (EXT3_SUPER_MAGIC): Likewise.
1138         (EXT4_SUPER_MAGIC): Likewise.
1139         (FUTEXFS_SUPER_MAGIC): Likewise.
1140         (HOSTFS_SUPER_MAGIC): Likewise.
1141         (HUGETLBFS_MAGIC): Likewise.
1142         (MINIX3_SUPER_MAGIC): Likewise.
1143         (MTD_INODE_FS_MAGIC): Likewise.
1144         (NILFS_SUPER_MAGIC): Likewise.
1145         (OPENPROM_SUPER_MAGIC): Likewise.
1146         (PIPEFS_MAGIC): Likewise.
1147         (PSTOREFS_MAGIC): Likewise.
1148         (QNX6_SUPER_MAGIC): Likewise.
1149         (RAMFS_MAGIC): Likewise.
1150         (REISERFS_SUPER_MAGIC_STRING): Likewise.
1151         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
1152         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
1153         (SECURITYFS_MAGIC): Likewise.
1154         (SELINUX_MAGIC): Likewise.
1155         (SMACK_MAGIC): Likewise.
1156         (SOCKFS_MAGIC): Likewise.
1157         (SQUASHFS_MAGIC): Likewise.
1158         (STACK_END_MAGIC): Likewise.
1159         (TMPFS_MAGIC): Likewise.
1160         (USBDEVICE_SUPER_MAGIC): Likewise.
1161         (V9FS_MAGIC): Likewise.
1162         (XENFS_SUPER_MAGIC): Likewise.
1163         (CRAMFS_MAGIC): Fix typo in comment.
1164         (EXT2_SUPER_MAGIC): Update comment.
1165         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
1167 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
1169         * sysdeps/arm: Move directory from ports/sysdeps/arm.
1170         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
1171         * sysdeps/unix/sysv/linux/arm: Move directory from
1172         ports/sysdeps/unix/sysv/linux/arm.
1173         * README: Update listing for arm-*-linux-gnueabi.
1175         * README: Remove mention of am33.
1177 2014-02-07  Roland McGrath  <roland@hack.frob.com>
1179         * bits/sigset.h (__sigemptyset): Use a statement expression rather
1180         than the comma operator, to avoid "rhs of comma has no effect"
1181         compiler warnings.
1182         (__sigfillset, __sigandset, __sigorset): Likewise.
1183         * include/signal.h (__sigemptyset): Likewise.
1184         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
1186 2014-02-07  Allan McRae  <allan@archlinux.org>
1188         * version.h (RELEASE): Set to "development".
1189         (VERSION): Set to "2.19.90"
1190         * NEWS: Add 2.20 section.
1192 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
1194         [BZ #16529]
1195         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
1197 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
1199         * manual/contrib.texi: Update entry for Carlos O'Donell,
1200         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
1202 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
1204         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
1206         * sysdeps/unix/sysv/linux/kernel-features.h
1207         [__LINUX_KERNEL_VERSION >= 0x020621]
1208         (__ASSUME_PROC_PID_TASK_COMM): Define.
1210 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
1212         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
1213         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
1214         Leonard and Allan McRae.
1216 2014-02-04  David S. Miller  <davem@davemloft.net>
1218         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
1219         32-bit.
1221 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
1224         file
1225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1226         New file
1227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
1228         file.
1229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
1230         file.
1231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1232         New file.
1233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
1234         file.
1235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
1236         file.
1237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1238         New file.
1239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1240         New file.
1241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1242         New file.
1243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1244         New file.
1245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1246         New file.
1247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1248         New file.
1250 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1252         * nptl/shlib-versions: Change powerpc*le start to 2.17.
1253         * shlib-versions: Likewise.
1255 2014-02-04  Roland McGrath  <roland@hack.frob.com>
1256             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1258         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
1259         (abilist-pattern): New variable, set to %-le.abilist.
1261         * Makerules (abilist-pattern): New variable.
1262         (vpath): Use $(abilist-pattern) in place of %.abilist.
1263         (check-abi-% pattern rule): Likewise.
1264         (check-abi, update-abi): Likewise.
1266 2014-02-04  Eric Wong  <normalperson@yhbt.net>
1268         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1270 2014-02-04  Eric Wong  <normalperson@yhbt.net>
1272         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1274 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
1276         * manual/startup.texi: Add next, previous, and top entries for
1277         the `Program Arguments' and `Environment Variables' nodes.
1279 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
1281         * manual/macros.texi: Add comments before MTASC-safety macros.
1283         * manual/users.texi: Document MTASC-safety properties.
1285         * manual/threads.texi (pthread_key_create, pthread_key_delete,
1286         pthread_getspecific, pthread_setspecific): Format with
1287         @deftypefun, and add @safety note.
1288         * manual/signal.texi: Move comments that analyze the above
1289         functions to their home place.
1291 2014-02-03  Allan McRae  <allan@archlinux.org>
1293         * po/sl.po: Update Slovenian translation from translation project.
1295 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
1297         * manual/time.texi (timegm): Add missing blank after @c.
1298         Reported by Joseph Myers <joseph@codesourcery.com>.
1300 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
1302         * manual/check-safety.sh: New.
1303         * manual/Makefile ($(objpfx)stamp-summary): Run it.
1305         * manual/terminal.texi: Document MTASC-safety properties.
1307         * manual/filesys.texi: Document MTASC-safety properties.
1309         * manual/errno.texi: Document MTASC-safety properties.
1311         * manual/intro.texi: Document safety identifiers and
1312         conditionals.
1314         * manual/string.texi (wcstok): Fix prototype.
1315         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
1317         * manual/time.texi: Document MTASC-safety properties.
1319         * manual/string.texi: Document MTASC-safety properties.
1321         * manual/threads.texi: Document MTASC-safety properties.
1323         * manual/stdio.texi: Document MTASC-safety properties.
1325         * manual/syslog.texi: Document MTASC-safety properties.
1327         * manual/sysinfo.texi: Document MTASC-safety properties.
1329         * manual/startup.texi: Document MTASC-safety properties.
1331         * manual/socket.texi: Document MTASC-safety properties.
1333         * manual/signal.texi: Document MTASC-safety properties.
1335 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
1337         * manual/setjmp.texi: Document MTASC-safety properties.
1339         * manual/search.texi: Document MTASC-safety properties.
1341         * manual/resource.texi: Document MTASC-safety properties.
1343         * manual/process.texi: Document MTASC-safety properties.
1345         * manual/platform.texi: Document MTASC-safety properties.
1347         * manual/pipe.texi: Document MTASC-safety properties.
1349         * manual/pattern.texi: Document MTASC-safety properties.
1351         * manual/message.texi: Document MTASC-safety properties.
1353         [BZ #12751]
1354         * manual/memory.texi: Document MTASC-safety properties.
1356         * manual/math.texi: Document MTASC-safety properties.
1358         * manual/locale.texi: Document MTASC-safety properties.
1360         * manual/llio.texi: Document MTASC-safety properties.
1362         * manual/libdl.texi: New.
1364         * manual/lang.texi: Document MTASC-safety properties.
1366         * manual/job.texi: Document MTASC-safety properties.
1368         * manual/getopt.texi: Document MTASC-safety properties.
1370         * manual/ctype.texi: Document MTASC-safety properties.
1372 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
1374         [BZ #16046]
1375         * csu/libc-tls.c (static_map): Remove variable.
1376         (__libc_setup_tls): Use main executable's link map for TLS data.
1377         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
1378         casing for LM_ID_BASE and GL(dl_nns).
1379         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
1380         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
1381         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
1382         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
1383         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
1384         member.
1385         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
1386         l_phnum members.
1388 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
1390         * manual/debug.texi: Document MTASC-safety properties.
1392 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
1394         [BZ #16510]
1395         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
1396         of __x86_64__ when disabling x87 inline functions.
1398 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
1400         * manual/charset.texi: Document MTASC-safety properties.
1402         * manual/crypt.texi: Document MTASC-safety properties.
1404         * manual/conf.texi: Document MTASC-safety properties.
1406         * manual/arith.texi: Document MTASC-safety properties.
1408         * manual/argp.texi: Document MTASC-safety properties.
1410         * manual/macros.texi: Introduce macros to document multi
1411         thread, asynchronous signal and asynchronous cancellation
1412         safety properties.
1413         * manual/intro.texi: Introduce the properties themselves.
1415 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1417         * sysdeps/sh/sh4/Makefile: New file.
1419 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
1421         * math/gen-libm-test.pl ($srcdir): New variable.
1422         ($auto_input): Use it.
1424 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1426         [BZ #16506]
1427         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
1428         access beyond array bounds when parsing netgroups file.
1430         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
1431         the old buffer before realloc.
1433 2014-01-27  Allan McRae  <allan@archlinux.org>
1435         * po/fr.po: Update French translation from translation project.
1437 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1439         * sysdeps/sh/libm-test-ulps: Regenerate.
1441 2014-01-24  David S. Miller  <davem@davemloft.net>
1443         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
1445 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1447         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
1448         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
1450 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1452         [BZ #16474]
1453         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
1454         string pointers after reallocation.
1456 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1458         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
1459         __SH4A__ instead of __SH_FPU_ANY__.
1461 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1463         * sysdeps/sh/fpu_control.h: New file.
1464         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
1465         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
1466         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
1467         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
1468         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
1469         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
1470         * sysdeps/sh/sys/ucontext.h: Remove.
1471         * sysdeps/sh/sys: Remove directory.
1473 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1475         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
1476         s390/sys/ucontext.h.
1477         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1478         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
1480 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
1482         [BZ #15605]
1483         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
1485 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1487         [BZ#16431]
1488         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1489         Adjust the vDSO correctly for internal calls.
1490         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
1492 2014-01-20  Allan McRae  <allan@archlinux.org>
1494         * po/ca.po: Update Catalan translation from translation project.
1496 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
1498         * sysdeps/s390/sotruss-lib.c: New file.
1500 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1502         [BZ#16430]
1503         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
1504         (__GI___gettimeofday): Alias for a different internal symbol to avoid
1505         local calls issues by not having a PLT stub required for IFUNC calls.
1506         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
1508 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
1510         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
1511         * math/test-fpucw-static.c: Likewise.
1513 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1515         [BZ #16453]
1516         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
1518 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1520         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
1521         implementation for powerpc.
1523 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
1525         [BZ #14782]
1526         * sysdeps/posix/system.c (__libc_system): Do not enable
1527         asynchronous cancellation.
1529 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1531         [BZ #16427]
1532         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
1533         handling only for numbers special also in the IEEE case.
1535 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1537         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1539 2014-01-11  Allan McRae  <allan@archlinux.org>
1541         * po/bg.po: Update Bulgarian translation from translation project.
1543         * po/de.po: Update German translation from translation project.
1545 2014-01-10  Roland McGrath  <roland@hack.frob.com>
1547         * sysdeps/generic/gcc-compat.h: New file.
1549 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1551         * benchtests/asin-inputs: Correct slow inputs.
1552         * benchtests/acos-inputs: Likewise.
1554 2014-01-10  Allan McRae  <allan@archlinux.org>
1556         * po:sv.po: Update Swedish translation from translation project.
1558         * po/vi.po: Update Vietnamese translation from translation project.
1560         * po/eo.po: Update Esperanto translation from translation project.
1562         * po/cs.po: Update Czech translation from translation project.
1564         * po/nl.po: Update Dutch translation from translation project.
1566         * po/pl.po: Update Polish translation from translation project.
1568         * po/ru.po: Update Russian translation from translation project.
1570         * po/uk.po: Update Ukrainian translation from translation project.
1572 2014-01-08  Brooks Moses  <bmoses@google.com>
1574         * elf/dl-load.c: Fix comment typo.
1576 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
1578         * po/header.pot: Rename to...
1579         * po/pot.header: ... this.
1580         * po/Makefile: Use pot.header.
1582 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
1583             Maxim Kuvyrkov  <maxim@kugelworks.com>
1585         [BZ #16394]
1586         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
1587         SRC and DEST against LEN.
1589 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1591         [BZ #16414]
1592         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
1593         implementation.
1594         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
1596 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1598         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1600 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
1602         [BZ #16408]
1603         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
1604         for large positive arguments.
1606 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
1608         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1610         * math/auto-libm-test-in: Mark various tests with
1611         xfail-rounding:ldbl-128ibm.
1612         * math/auto-libm-test-out: Regenerated.
1614         [BZ #16407]
1615         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1616         Increase overflow threshold.
1618 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
1620         [BZ #14286]
1621         * stdio-common/vfprintf.c: Check for integer overflow.
1623 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1625         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
1626         the first argument and return value of __tls_get_addr_internal.
1628 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1630         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
1631         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
1633 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1635         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
1636         * sysdeps/s390/rtld-global-offsets.sym: New file.
1637         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
1638         GLIBC_2.19 symbol.
1639         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
1640         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
1641         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1642         ... this.
1643         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
1644         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1645         ... this.
1646         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1647         Regenerate.
1648         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1649         Regenerate.
1650         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
1651         halfs of GPRs for high_gprs contexts.
1652         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
1653         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
1654         field.
1655         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
1656         uc_flags field.
1657         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
1658         64 bit versions:
1659         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
1660         for high GPRs (uc_high_gprs) and for future extensions
1661         (__reserved).
1662         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
1663         for future extensions (__reserved).
1664         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
1665         64 bit versions:
1666         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
1667         SC_HIGHGPRS offset definition.
1668         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
1669         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
1671 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1673         * Versions.def: Add GLIBC_2.19 for libpthread.
1674         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
1675         siglongjmp for libpthread with GLIBC_2.19 symver.
1676         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
1677         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
1678         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
1679         * sysdeps/s390/__longjmp.c: New file.
1680         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
1681         * sysdeps/s390/longjmp.c: New file.
1682         * sysdeps/s390/setjmp.S: New file.
1683         * sysdeps/s390/sigjmp.S: New file.
1684         * sysdeps/s390/v1-longjmp.c: New file.
1685         * sysdeps/s390/v1-setjmp.h: New file.
1686         * sysdeps/s390/v1-sigjmp.c: New file.
1687         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
1688         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
1689         GLIBC_2.19 version.
1690         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
1691         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
1692         versioned symbols for ____longjmp_chk.
1693         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1694         Likewise.
1695         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1696         Regenerate.
1697         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1698         Regenerate.
1699         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1700         Regenerate.
1701         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1702         Regenerate.
1703         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
1704         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
1705         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
1706         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
1707         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
1708         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
1709         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
1710         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
1711         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
1712         * sysdeps/s390/rtld-__longjmp.c: New file.
1713         * sysdeps/s390/rtld-setjmp.S: New file.
1715 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
1717         [BZ #16400]
1718         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1719         Return -__logl (x) for small positive arguments without evaluating
1720         a polynomial.
1722 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
1724         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
1725         Rename to ...
1726         (__ptrace_peeksiginfo_args): ... this.
1727         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1728         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1729         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1731 2014-01-06  Allan McRae  <allan@archlinux.org>
1733         * inet/netinet/in.h: Fix typo in comment.
1735 2014-01-05  Andreas Jaeger  <aj@suse.de>
1737         * sysdeps/i386/fpu/libm-test-ulps: Update.
1739 2014-01-05  Allan McRae  <allan@archlinux.org>
1741         * po/libc.pot: Regenerated.
1743         * malloc/memusagestat.c: Fix gettext call formatting.
1745 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
1747         * nscd/nscd.c: Improve usage() output.
1749 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
1751         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
1752         * sysdeps/unix/sysv/linux/configure: Regenerated.
1753         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
1754         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
1756 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
1758         [BZ #16390]
1759         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1760         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
1762 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1764         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
1765         extra tokens at end of #undef directive.
1766         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
1767         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
1768         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1770 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
1772         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1774         * math/auto-libm-test-in: Mark various tests with
1775         xfail-rounding:ldbl-128ibm.
1776         * math/auto-libm-test-out: Regenerated.
1778 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
1780         [BZ #16386]
1781         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
1782         numbers with subnormal high part when calculating exponent.
1784         [BZ #16385]
1785         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
1786         fabs.
1788         [BZ #16384]
1789         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
1790         M_LN2l.
1791         (__ieee754_acoshl): Use __log1pl not __log1p.
1793 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
1795         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
1796         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
1797         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
1798         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
1799         Convert to GNU style.
1800         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
1801         mem2mem_check, mem2chunk_check, top_check, realloc_check,
1802         memalign_check, __malloc_set_state): Likewise.
1803         * malloc/mallocbug.c (main): Likewise.
1804         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
1805         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
1806         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
1807         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
1808         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
1809         * malloc/malloc.h: Likewise.
1810         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
1811         memalignhook, reallochook, mabort): Likewise.
1812         * malloc/mcheck.h: Likewise.
1813         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
1814         mmap64, mremap, munmap, dest): Likewise.
1815         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
1816         * malloc/morecore.c (__default_morecore): Likewise.
1817         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
1818         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
1819         _obstack_allocated_p, obstack_free, _obstack_memory_used,
1820         print_and_abort): Likewise.
1821         * malloc/obstack.h: Likewise.
1822         * malloc/set-freeres.c (__libc_freeres): Likewise.
1823         * malloc/tst-mallocstate.c (main): Likewise.
1824         * malloc/tst-mtrace.c (main): Likewise.
1825         * malloc/tst-realloc.c (do_test): Likewise.
1827 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1829         [BZ #16366]
1830         * nscd/netgroupcache.c (do_notfound): New function.
1831         (addgetnetgrentX): Use it.
1833         [BZ # 16365]
1834         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
1835         NSS_STATUS_NOTFOUND.
1837 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
1839         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1842 2014-01-01  Allan McRae  <allan@archlinux.org>
1844         * scripts/update-copyrights: Update configure input file suffix.
1846         * NEWS: Update copyright year.
1847         * catgets/gencat.c: Likewise.
1848         * csu/version.c: Likewise.
1849         * debug/catchsegv.sh: Likewise.
1850         * debug/pcprofiledump.c: Likewise.
1851         * debug/xtrace.sh: Likewise.
1852         * elf/ldconfig.c: Likewise.
1853         * elf/ldd.bash.in: Likewise.
1854         * elf/pldd.c: Likewise.
1855         * elf/sotruss.ksh: Likewise.
1856         * elf/sprof.c: Likewise.
1857         * iconv/iconv_prog.c: Likewise.
1858         * iconv/iconvconfig.c: Likewise.
1859         * locale/programs/locale.c: Likewise.
1860         * locale/programs/localedef.c: Likewise.
1861         * login/programs/pt_chown.c: Likewise.
1862         * malloc/memusage.sh: Likewise.
1863         * malloc/memusagestat.c: Likewise.
1864         * malloc/mtrace.pl: Likewise.
1865         * manual/libc.texinfo: Likewise.
1866         * nscd/nscd.c: Likewise.
1867         * nss/getent.c: Likewise.
1868         * nss/makedb.c: Likewise.
1869         * posix/getconf.c: Likewise.
1870         * scripts/test-installation.pl: Likewise.
1872         * All files with FSF copyright notices: Update copyright dates
1873         using scripts/update-copyrights.
1874         * intl/plural.c: Regenerated.
1875         * locale/programs/charmap-kw.h: Likewise.
1876         * locale/programs/locfile-kw.h: Likewise.
1878 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
1880         * sysdeps/unix/sysv/linux/configure: Regenerated.
1881         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
1882         the linux/fanotify.h header.
1883         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
1884         HAVE_LINUX_FANOTIFY_H is defined.
1886 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
1888         * benchtests/cos-inputs: New inputs.
1889         * benchtests/sin-inputs: Likewise.
1891         * benchtests/atan-inputs: New inputs. Fix name of multiple
1892         precision fallback inputs.
1894         * benchtests/atanh-inputs: New inputs.
1895         * benchtests/tanh-inputs: Likewise.
1897         * benchtests/acosh-inputs: New inputs.
1898         * benchtests/asinh-inputs: Likewise.
1900         * benchtests/cosh-inputs: New inputs.
1901         * benchtests/sinh-inputs: Likewise.
1903         * benchtests/acos-inputs: Add more inputs.
1904         * benchtests/asin-inputs: Likewise.
1906 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
1908         [BZ #16375]
1909         * manual/arith.texi: Fix spelling.
1910         * manual/charset.texi: Likewise.
1911         * manual/errno.texi: Likewise.
1912         * manual/filesys.texi: Likewise.
1913         * manual/lang.texi: Likewise.
1914         * manual/llio.texi: Likewise.
1915         * manual/locale.texi: Likewise.
1916         * manual/message.texi: Likewise.
1917         * manual/resource.texi: Likewise.
1918         * manual/search.texi: Likewise.
1919         * manual/setjmp.texi: Likewise.
1920         * manual/stdio.texi: Likewise.
1921         * manual/string.texi: Likewise.
1922         * manual/sysinfo.texi: Likewise.
1923         * manual/time.texi: Likewise.
1925 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
1927         * po/sl.po: New file.
1929 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
1931         * .gitignore: Add core/.gdbinit/.gdb_history.
1933 2013-12-27  Allan McRae  <allan@archlinux.org>
1935         [BZ #16369]
1936         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
1937         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
1939 2013-12-24  Brooks Moses  <bmoses@google.com>
1941         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
1942         all compilers that claim C++98 compliance, not just GCC.
1943         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
1944         Likewise.
1946 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
1948         * NEWS: Restore accidentally deleted bug-fix entries.
1950 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
1951             Ondřej Bílka  <neleai@seznam.cz>
1953         [BZ #15073]
1954         * malloc/malloc.c (_int_free): Perform sanity check only if we
1955         have_lock.
1957 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
1959         [BZ #12986]
1960         * manual/stdio.texi (String Input Conversions): Clarify that character
1961         classes are not supported.
1963 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1965         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1967 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
1969         [BZ #16337]
1970         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1971         Calculate results for small negative arguments directly rather
1972         than using reflection formula with special underflow handling.
1974         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
1975         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
1976         sysdeps/unix/bsd/bsd4.4/syscalls.list.
1977         (fchflags): Likewise.
1978         (revoke): Likewise.
1979         (setlogin): Likewise.
1980         (sigaltstack): Likewise.
1981         (wait4): Likewise.
1982         (sigblock): Remove.
1983         (sigsetmask): Likewise.
1984         (wait3): Likewise.
1985         (waitpid): Likewise.
1986         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
1987         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
1988         file.
1989         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
1990         * sysdeps/unix/bsd/Makefile: ... here.
1991         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
1992         * sysdeps/unix/bsd/Versions: ... here.
1993         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
1994         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
1995         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
1996         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
1997         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
1998         * sysdeps/unix/bsd/sigblock.c: ... here.
1999         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
2000         * sysdeps/unix/bsd/sigsetmask.c: ... here.
2001         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
2002         * sysdeps/unix/bsd/sigvec.c: ... here.
2003         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
2004         * sysdeps/unix/bsd/tcdrain.c: ... here.
2005         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
2006         * sysdeps/unix/bsd/tcgetattr.c: ... here.
2007         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
2008         * sysdeps/unix/bsd/tcsetattr.c: ... here.
2009         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
2010         * sysdeps/unix/bsd/wait.c: ... here.
2011         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
2012         * sysdeps/unix/bsd/wait3.c: ... here.
2013         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
2014         * sysdeps/unix/bsd/waitpid.c: ... here.
2016 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
2018         [BZ #16356]
2019         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
2020         round-to-nearest for [!USE_AS_EXPM1L].
2021         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
2022         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
2023         more tests of exp and exp10.  Expect some exp10 tests to miss
2024         exceptions or fail in directed rounding modes.
2025         * math/auto-libm-test-out: Regenerated.
2026         * math/libm-test.inc (exp10_tonearest_test_data): New array.
2027         (exp10_test_tonearest): New function.
2028         (exp10_towardzero_test_data): New array.
2029         (exp10_test_towardzero): New function.
2030         (exp10_downward_test_data): New array.
2031         (exp10_test_downward): New function.
2032         (exp10_upward_test_data): New array.
2033         (exp10_test_upward): New function.
2034         (main): Call the new functions.
2035         * sysdeps/i386/fpu/libm-test-ulps: Update.
2036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2038 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
2040         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2041         asinh, atan, atan2, atanh, cbrt, cos and cosh.
2042         * math/auto-libm-test-out: Regenerated.
2043         * math/libm-test.inc (acosh_test_data): Add more tests.
2044         (atanh_test_data): Likewise.
2045         (ceil_test_data): Likewise.
2046         (copysign_test_data): Likewise.
2047         * sysdeps/i386/fpu/libm-test-ulps: Update.
2048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2050         * timezone/checktab.awk: Update from tzcode 2013i.
2051         * timezone/private.h: Likewise.
2052         * timezone/scheck.c: Likewise.
2053         * timezone/tzfile.h: Likewise.
2054         * timezone/tzselect.ksh: Likewise.
2055         * timezone/zdump.c: Likewise.
2056         * timezone/zic.c: Likewise.
2058         * math/auto-libm-test-in: Add tests of cpow.
2059         * math/auto-libm-test-out: Regenerated.
2060         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
2061         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
2062         mpc_cc_c.
2063         (func_calc_desc): Add mpc_cc_c union field.
2064         (test_functions): Add cpow.
2065         (special_fill_2pi): New function.
2066         (special_real_inputs): Add 2pi.
2067         (calc_generic_results): Handle mpc_cc_c.
2068         * sysdeps/i386/fpu/libm-test-ulps: Update.
2069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2071         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
2072         csqrt, ctan and ctanh.
2073         * math/auto-libm-test-out: Regenerated.
2074         * math/libm-test.inc (TEST_COND_x86_64): New macro.
2075         (TEST_COND_x86): Likewise.
2076         (ccos_test_data): Use AUTO_TESTS_c_c.
2077         (ccosh_test_data): Likewise.
2078         (cexp_test_data): Likewise.
2079         (clog_test_data): Likewise.
2080         (csqrt_test_data): Likewise.
2081         (ctan_test_data): Likewise.
2082         (ctan_tonearest_test_data): Likewise.
2083         (ctan_towardzero_test_data): Likewise.
2084         (ctan_downward_test_data): Likewise.
2085         (ctan_upward_test_data): Likewise.
2086         (ctanh_test_data): Likewise.
2087         (ctanh_tonearest_test_data): Likewise.
2088         (ctanh_towardzero_test_data): Likewise.
2089         (ctanh_downward_test_data): Likewise.
2090         (ctanh_upward_test_data): Likewise.
2091         * math/gen-auto-libm-tests.c (func_calc_method): Add value
2092         mpc_c_c.
2093         (func_calc_desc): Add mpc_c_c union field.
2094         (FUNC_mpc_c_c): New macro.
2095         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
2096         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
2097         ctanh.
2098         (special_fill_min_subnorm_p120): New function.
2099         (special_real_inputs): Add min_subnorm_p120.
2100         (calc_generic_results): Handle mpc_c_c.
2101         * sysdeps/i386/fpu/libm-test-ulps: Update.
2102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2104 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2106         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
2107         do_sin_slow): New functions.
2108         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
2109         cslow2, csloww1, csloww2): Use the new functions.
2111         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
2112         Use M to change sign of result instead of X.  Assume X is
2113         positive.
2114         (csloww1): Likewise.
2115         (__sin): Adjust.
2116         (__cos): Adjust.
2118         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
2119         arguments A and DA.
2120         (__sin): Adjust.
2121         (__cos): Likewise.
2123         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
2124         (__cos): Likewise.
2125         (sloww1): Don't adjust sign of DX.
2126         (csloww1): Likewise.
2127         (sloww2): Use X directly and don't adjust sign of DX.
2128         (csloww2): Likewise.
2130 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
2132         * math/auto-libm-test-in: Add tests of cabs and carg.
2133         * math/auto-libm-test-out: Regenerated.
2134         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
2135         (carg_test_data): Likewise.
2136         * math/gen-auto-libm-tests.c (func_calc_method): Add value
2137         mpc_c_f.
2138         (func_calc_desc): Add mpc_c_f union field.
2139         (test_functions): Add cabs and carg.
2140         (calc_generic_results): Handle mpc_c_f.
2142         * sysdeps/powerpc/powerpc32/libgcc-compat.S
2143         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
2144         as a macro and a compat symbol.
2145         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2146         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2147         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2148         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2149         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
2150         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
2151         not use .hidden.
2152         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
2153         Likewise.
2154         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
2155         Likewise.
2156         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
2157         Likewise.
2158         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
2159         Likewise.
2160         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
2161         Likewise.
2162         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
2163         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
2164         from GLIBC_2.3.2.
2166 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2168         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2170 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
2172         * manual/texinfo.tex: Update to version 2013-11-26.10 with
2173         trailing whitespace removed.
2174         * scripts/config.guess: Update to version 2013-11-29.
2175         * scripts/config.sub: Update to version 2013-10-01.
2177         * math/auto-libm-test-in: Add tests of sincos.
2178         * math/auto-libm-test-out: Regenerated.
2179         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
2180         * math/gen-auto-libm-tests.c (func_calc_method): Add value
2181         mpfr_f_11.
2182         (func_calc_desc): Add mpfr_f_11 union field.
2183         (test_functions): Add sincos.
2184         (calc_generic_results): Handle mpfr_f_11.
2185         * sysdeps/i386/fpu/libm-test-ulps: Update.
2186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2188 2013-12-19  Andreas Schwab  <schwab@suse.de>
2190         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
2191         CALL_MCOUNT.
2192         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2193         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
2194         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
2196 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
2198         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
2199         * sysdeps/i386/fpu/libm-test-ulps: Update.
2200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2202         [BZ #16293]
2203         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
2204         round-to-nearest mode when using frndint.
2205         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
2206         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2207         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2208         Likewise.
2209         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
2210         sinh test to fail.
2211         * math/auto-libm-test-out: Regenerated.
2212         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
2213         (TEST_COND_x86): Likewise.
2214         (expm1_tonearest_test_data): New array.
2215         (expm1_test_tonearest): New function.
2216         (expm1_towardzero_test_data): New array.
2217         (expm1_test_towardzero): New function.
2218         (expm1_downward_test_data): New array.
2219         (expm1_test_downward): New function.
2220         (expm1_upward_test_data): New array.
2221         (expm1_test_upward): New function.
2222         (main): Run the new test functions.
2223         * sysdeps/i386/fpu/libm-test-ulps: Update.
2224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2226         * include/features.h: Update comment documenting feature test
2227         macros.  Mention _DEFAULT_SOURCE in comment.
2228         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
2229         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
2230         _BSD_SOURCE and _SVID_SOURCE.
2231         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
2232         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
2233         !_SVID_SOURCE]: Likewise.
2234         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2235         (__USE_POSIX_IMPLICITLY): Define.
2236         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2237         (_POSIX_SOURCE): Undefine and redefine.
2238         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2239         (_POSIX_C_SOURCE): Likewise.
2240         * manual/creature.texi (_DEFAULT_SOURCE): Document.
2241         (Feature Test Macros): Update documentation of default features.
2243 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2245         * benchtests/Makefile: Add bench-strtok.
2246         * benchtests/bench-strtok.c: New file: strtok benchtest.
2248 2013-12-19  Allan McRae  <allan@archlinux.org>
2250         * manual/install.texi: Suppress menu for plain text output.
2251         * INSTALL: Regenerated.
2253 2013-12-18  Brooks Moses  <bmoses@google.com>
2255         [BZ #15846]
2256         * misc/getauxval.c: Include errno.h.
2257         (__getauxval): Set errno to ENOENT if the requested type is not
2258         found.
2259         * misc/sys/auxv.h (getauxval): Document that it may set errno;
2260         don't declare with __attribute_const__.
2261         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
2262         * manual/startup.texi: Document that getauxval sets errno.
2264 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
2266         * math/auto-libm-test-in: Add tests of jn and yn.
2267         * math/auto-libm-test-out: Regenerated.
2268         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
2269         (yn_test_data): Likewise.
2270         * math/gen-auto-libm-tests.c (func_calc_method): Add value
2271         mpfr_if_f.
2272         (func_calc_desc): Add mpfr_if_f union field.
2273         (FUNC_mpfr_if_f): New macro.
2274         (test_functions): Add jn and yn.
2275         (calc_generic_results): Assert type of second input for
2276         mpfr_ff_f.  Handle mpfr_if_f.
2277         (output_for_one_input_case): Disable all checking for arguments
2278         fitting floating-point types in case of an integer argument.
2279         * sysdeps/i386/fpu/libm-test-ulps: Update.
2280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2283         Don't expect fegetround reference in libm.so.
2285 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2287         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
2288         $(config-cflags-nofma).
2290 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
2292         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
2293         * math/auto-libm-test-out: Regenerated.
2295         [BZ #16338]
2296         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
2297         to determine exponent and adjust argument to have exponent of -1.
2298         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
2299         log2.
2300         * math/auto-libm-test-out: Regenerated.
2301         * sysdeps/i386/fpu/libm-test-ulps: Update.
2302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2304 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
2306         * manual/probes.texi: Remove cases when per-thread arenas are
2307         disabled.
2309 2013-12-18  Andreas Schwab  <schwab@suse.de>
2311         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
2312         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
2313         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
2314         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
2315         * sysdeps/i386/i686/multiarch/Makefile: Update.
2316         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
2318 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
2320         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
2321         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
2323 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
2325         [BZ #15968]
2326         Support TZ transition times < 00:00:00.
2327         This is needed for version-3 tz-format files; it supports time
2328         stamps past 2037 for America/Godthab (the only entry in the tz
2329         database for which this change is relevant).
2330         * manual/time.texi (TZ Variable): Document transition times
2331         from -167:59:59 through -00:00:01.
2332         * time/tzset.c (tz_rule): Time of day is now signed.
2333         (__tzset_parse_tz): Parse negative time of day.
2335         Document TZ transition times >= 25:00:00.
2336         * manual/time.texi (TZ Variable): Document transition times from
2337         25:00:00 through 167:59:59.  These are already supported, and this
2338         support will help with version-3 tz-format files.
2340         * manual/time.texi (TZ Variable): Modernize North America example
2341         to reflect current (i.e., 2007-and-later) daylight saving rules.
2343         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
2345 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
2347         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
2348         * sysdeps/unix/bsd/bits/stat.h: Likewise.
2349         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
2350         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2351         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
2352         * sysdeps/unix/bsd/bsdstat.h: Likewise.
2353         * sysdeps/unix/bsd/clock.c: Likewise.
2354         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
2355         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
2356         * sysdeps/unix/bsd/init-posix.c: Likewise.
2357         * sysdeps/unix/bsd/poll.c: Likewise.
2358         * sysdeps/unix/bsd/ptsname.c: Likewise.
2359         * sysdeps/unix/bsd/seekdir.c: Likewise.
2360         * sysdeps/unix/bsd/setegid.c: Likewise.
2361         * sysdeps/unix/bsd/seteuid.c: Likewise.
2362         * sysdeps/unix/bsd/setgid.c: Likewise.
2363         * sysdeps/unix/bsd/setrgid.c: Likewise.
2364         * sysdeps/unix/bsd/setruid.c: Likewise.
2365         * sysdeps/unix/bsd/setsid.c: Likewise.
2366         * sysdeps/unix/bsd/setuid.c: Likewise.
2367         * sysdeps/unix/bsd/sigaction.c: Likewise.
2368         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
2369         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
2370         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
2371         * sysdeps/unix/bsd/telldir.c: Likewise.
2372         * sysdeps/unix/bsd/times.c: Likewise.
2373         * sysdeps/unix/bsd/usleep.c: Likewise.
2375         * misc/Makefile (install-lib): Remove libbsd-compat.a.
2376         ($(objpfx)libbsd-compat.a): Remove rule.
2378         * include/features.h (__FAVOR_BSD): Do not define.
2379         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
2380         features conflicting with POSIX.
2381         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
2382         (_BSD_SOURCE): Remove description of not being a subset of other
2383         feature test macros.
2384         * manual/job.texi (getpgrp): Do not document BSD version.
2385         (getpgid): Do not document by reference to BSD getpgrp.
2386         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
2387         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
2388         * signal/signal.h [__FAVOR_BSD]: Likewise.
2389         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
2390         instead of making contents conditional on [__FAVOR_BSD].
2391         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
2393 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2395         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2397 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
2399         [BZ #16314]
2400         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
2401         values below 2**-450, not 2**-500.
2402         * math/auto-libm-test-in: Don't allow spurious underflow from
2403         hypot.
2404         * math/auto-libm-test-out: Regenerated.
2406         [BZ #16316]
2407         [BZ #16330]
2408         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
2409         values of ha and hb and sort them after adjusting subnormal
2410         arguments.
2411         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2412         Likewise.
2413         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
2414         values of ea and eb and sort them after adjusting subnormal
2415         arguments.
2416         * math/auto-libm-test-in: Do not expect some hypot tests of
2417         subnormals to fail.  Add more hypot tests.
2418         * math/auto-libm-test-out: Regenerated.
2420 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2422         [BZ #13304]
2423         * sysdeps/sh/s_fma.c: New file.
2424         * sysdeps/sh/s_fmaf.c: New file.
2425         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
2426         version.
2427         * sysdeps/sh/Implies: Add sh/soft-fp.
2429 2013-12-16  Roland McGrath  <roland@hack.frob.com>
2431         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
2432         level of indirection to members `objname', `errstring', `malloced'.
2433         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
2434         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
2435         it as the __longjmp argument (just pass 1 instead).
2436         (_dl_catch_error): Initialize C with argument pointers and address of
2437         volatile local ERRCODE rather than copying values out of C at return.
2439 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
2441         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
2442         * math/auto-libm-test-out: Regenerated.
2443         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
2444         (hypot_test_data): Likewise.
2445         (pow_test_data): Likewise.
2446         (pow_tonearest_test_data): Likewise.
2447         * math/gen-auto-libm-tests.c (func_calc_method): Add value
2448         mpfr_ff_f.
2449         (func_calc_desc): Add mpfr_ff_f union field.
2450         (FUNC_mpfr_ff_f): New macro.
2451         (test_functions): Add atan2, hypot and pow.
2452         (special_fill_min): New function.
2453         (special_fill_minus_min): Likewise.
2454         (special_fill_min_subnorm): Likewise.
2455         (special_fill_minus_min_subnorm): Likewise.
2456         (special_real_inputs): Add min, -min, min_subnorm and
2457         -min_subnorm.
2458         (calc_generic_results): Handle mpfr_ff_f.
2459         * sysdeps/i386/fpu/libm-test-ulps: Update.
2460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2462 2013-12-16  Will Newton  <will.newton@linaro.org>
2464         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
2465         (Aligned Memory Blocks): Add documentation for aligned_alloc
2466         and suggest it as an alternative to posix_memalign.
2467         (Hooks for Malloc): Document __memalign_hook is also called
2468         for aligned_alloc.  (Summary of Malloc): Add summary for
2469         aligned alloc.  Document __memalign_hook is also called
2470         for aligned_alloc.
2472 2013-12-16  Will Newton  <will.newton@linaro.org>
2474         * manual/memory.texi (Malloc Examples): Clarify default
2475         alignment documentation.  Suggest posix_memalign rather
2476         than memalign or valloc.
2477         (Aligned Memory Blocks): Remove suggestion to use memalign
2478         or valloc.  Remove obsolete comment about BSD.
2479         Document memalign errno values and mark the function obsolete.
2480         Document posix_memalign returned error codes.  Mark valloc
2481         as obsolete.  (Hooks for Malloc): __memalign_hook is also
2482         called for posix_memalign and valloc.
2483         (Summary of Malloc): Add posix_memalign to function summary.
2484         __memalign_hook is also called for posix_memalign and valloc.
2486 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2488         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
2489         TAYLOR_SIN.
2490         (__sin): Adjust.
2491         (__cos): Likewise.
2492         (sloww): Use mynumber union.  Expand ternary operator into
2493         if-else statements.
2494         (cslow): use mynumber union.
2496 2013-12-16  Allan McRae  <allan@archlinux.org>
2498         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
2499         * configure: Regenerated.
2501         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
2503         [BZ #14120]
2504         * configure.ac: Added --enable-maintainer-mode. Check for
2505         autoconf when enabled.
2506         * configure: Regenerated.
2508         * nscd/nscd.service: New file.
2509         * nscd/nscd.tmpfiles: New file.
2511 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
2513         [BZ #12100]
2514         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
2515         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
2516         * sysdeps/x86_64/multiarch/strstr.c: ... here.
2517         (strstr): Add __strstr_sse2_unaligned ifunc.
2518         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
2519         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
2520         (strcasestr): Remove __strcasestr_sse42 ifunc.
2521         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
2522         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2523         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2525 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2527         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
2528         * sysdeps/sh/bits/fenv.h: ... here.
2529         * sysdeps/sh/sh4/fpu/bits: Remove directory.
2531 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2533         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
2535 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2537         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
2538         hypotf multiarch implementations.
2539         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
2540         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
2541         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
2542         multiarch hypot for PPC64.
2543         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
2544         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
2545         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
2546         multiarch hypotf for PPC64.
2548 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2550         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
2551         modff multiarch implementations.
2552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
2553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
2554         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
2555         multiarch modf for PPC64.
2556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
2557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
2558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
2559         multiarch modff for PPC64.
2561 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2563         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
2564         and logl multiarch implementations.
2565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
2566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
2567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
2568         multiarch logb for PPC64.
2569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
2570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
2571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
2572         multiarch logb for PPC64.
2573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
2574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
2575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
2576         multiarch logb for PPC64.
2578 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2580         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
2581         isinff multiarch implementation.
2582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
2583         file.
2584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
2585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
2586         multiarch isinf for PPC64.
2587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
2588         file.
2589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
2590         multiarch isinff for PPC64.
2592 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2594         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
2595         finitef multiarch implementation.
2596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
2597         file.
2598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
2599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
2600         multiarch finite for PPC64.
2601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
2602         file.
2603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
2604         multiarch finitef for PPC64.
2606 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2608         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
2609         lrint multiarch implementation.
2610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
2611         file.
2612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
2613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
2614         multiarch llrint for PPC64.
2615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
2616         multiarch lrint for PPC64.
2618 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2620         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
2621         copysignf multiarch implementation.
2622         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
2623         file.
2624         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
2625         file.
2626         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
2627         multiarch copysign for PPC64.
2628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
2629         multiarch copysignf for PPC64.
2631 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2633         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
2634         multiarch implementation.
2635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
2636         file.
2637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
2638         file.
2639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
2640         file.
2641         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
2642         file.
2643         multiarch llround for PPC64.
2644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
2645         multiarch trunc for PPC64.
2646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
2647         multiarch truncf for PPC64.
2649 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2651         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
2652         multiarch implementation.
2653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
2654         file.
2655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
2656         file.
2657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
2658         file.
2659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
2660         file.
2661         multiarch llround for PPC64.
2662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
2663         multiarch round for PPC64.
2664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
2665         multiarch roundf for PPC64.
2667 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2669         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
2670         multiarch implementation.
2671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
2672         file.
2673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
2674         file.
2675         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
2676         file.
2677         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
2678         file.
2679         multiarch llround for PPC64.
2680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
2681         multiarch floor for PPC64.
2682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
2683         multiarch floorf for PPC64.
2685 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2687         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
2688         multiarch implementation.
2689         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
2690         file.
2691         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
2692         file.
2693         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
2694         file.
2695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
2696         file.
2697         multiarch llround for PPC64.
2698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
2699         multiarch ceil for PPC64.
2700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
2701         multiarch ceilf for PPC64.
2703 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2705         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
2706         multiarch implementation.
2707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
2708         file.
2709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
2710         file.
2711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
2712         file.
2713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
2714         multiarch llround for PPC64.
2715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
2716         multiarch lround for PPC64.
2718 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2720         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
2721         multiarch implementation.
2722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
2723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
2724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
2725         file.
2726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
2727         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
2728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
2729         multiarch isnan for PPC64.
2730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
2731         multiarch isnanf for PPC64.
2733 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2735         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
2736         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
2737         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
2738         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
2739         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
2740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
2742 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2744         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
2745         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2746         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2747         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2749 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2751         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
2752         multiarch implementations.
2753         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2754         (__libc_ifunc_impl_list): Likewise.
2755         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2756         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
2757         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
2758         multiarch stpcpy for PPC64.
2760 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2762         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
2763         multiarch implementations.
2764         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2765         (__libc_ifunc_impl_list): Likewise.
2766         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
2767         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
2768         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
2769         multiarch strcpy for PPC64.
2771 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2773         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
2774         redefine function name.
2775         (_wordcopy_fwd_dest_aligned): Likewise.
2776         (_wordcopy_bwd_aligned): Likewise.
2777         (_wordcopy_bwd_dest_aligned): Likewise.
2778         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
2779         multiarch implementations.
2780         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2781         (__libc_ifunc_impl_list): Likewise.
2782         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
2783         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
2784         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
2785         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
2786         multiarch wcscpy for PPC64.
2788 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2790         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
2791         multiarch implementations.
2792         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2793         (__libc_ifunc_impl_list): Likewise.
2794         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
2795         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
2796         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
2797         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
2798         multiarch wcscpy for PPC64.
2800 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2802         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
2803         multiarch implementations.
2804         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2805         (__libc_ifunc_impl_list): Likewise.
2806         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
2807         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
2808         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
2809         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
2810         multiarch wcsrchr for PPC64.
2812 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2814         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
2815         multiarch implementations.
2816         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2817         (__libc_ifunc_impl_list): Likewise.
2818         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
2819         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
2820         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
2821         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
2822         multiarch wcschr for PPC64.
2824 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2826         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
2827         multiarch implementations.
2828         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2829         (__libc_ifunc_impl_list): Likewise.
2830         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
2831         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
2832         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
2833         multiarch strchrnul for PPC64.
2835 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2837         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
2838         implementations.
2839         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2840         (__libc_ifunc_impl_list): Likewise.
2841         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
2842         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
2843         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
2844         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
2845         strchr for PPC64.
2847 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2849         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
2850         implementations.
2851         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2852         (__libc_ifunc_impl_list): Likewise.
2853         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
2854         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
2855         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
2856         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
2857         strncmp for PPC64.
2859 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2861         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
2862         multiarch implementations.
2863         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2864         (__libc_ifunc_impl_list): Likewise.
2865         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
2866         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
2867         strncasecmp for PPC64.
2868         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
2869         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
2870         multiarch strncasecmp_l for PPC64.
2872 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2874         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
2875         multiarch implementations.
2876         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2877         (__libc_ifunc_impl_list): Likewise.
2878         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
2879         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
2880         multiarch strcasecmp for PPC64.
2881         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
2882         file.
2883         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
2884         multiarch strcasecmp_l for PPC64.
2886 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2888         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
2889         implementations.
2890         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2891         (__libc_ifunc_impl_list): Likewise.
2892         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
2893         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
2894         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
2895         strnlen for PPC64.
2897 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2899         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
2900         implementations.
2901         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2902         (__libc_ifunc_impl_list): Likewise.
2903         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
2904         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
2905         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
2906         strlen for PPC64.
2908 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2910         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
2911         implementations.
2912         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2913         (__libc_ifunc_impl_list): Likewise.
2914         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
2915         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
2916         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
2917         rawmemrchr for PPC64.
2919 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2921         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
2922         implementation.
2923         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2924         (__libc_ifunc_impl_list): Likewise.
2925         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
2926         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
2927         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
2928         memrchr for PPC64.
2930 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2932         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
2933         implementation.
2934         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2935         (__libc_ifunc_impl_list): Likewise.
2936         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
2937         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
2938         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
2939         memchr for PPC64.
2941 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2943         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
2944         implementation.
2945         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2946         (__libc_ifunc_impl_list): Likewise.
2947         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
2948         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
2949         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
2950         mempcpy for PPC64.
2952 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2954         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
2955         avoid cretion of __bzero symbol.
2956         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
2957         Likewise.
2958         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
2959         Likewise.
2960         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
2961         Likewise.
2962         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
2963         multiarch implementations.
2964         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2965         (__libc_ifunc_impl_list): Likewise.
2966         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
2967         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
2968         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
2969         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
2970         bzero for PPC32.
2971         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
2972         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
2973         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
2974         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
2975         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
2976         memset for PPC64.
2977         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
2979 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2981         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
2982         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
2983         implementations.
2984         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2985         (__libc_ifunc_impl_list): Likewise.
2986         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
2987         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
2988         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
2989         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
2990         memcmp for PPC64.
2992 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2994         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
2995         multiarch for POWER/PPC64.
2996         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2997         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
2998         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
2999         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
3000         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
3001         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
3002         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
3003         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
3004         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
3005         memcpy for PPC64.
3007 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3009         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
3010         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
3011         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
3012         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
3013         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
3014         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
3015         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
3016         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
3017         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
3018         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
3019         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
3020         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
3021         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
3022         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
3023         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
3024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
3025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
3026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
3027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
3028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
3029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
3030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
3032 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3034         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
3036 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3038         * benchtests/Makefile (bench): Add exp2 and log2.
3039         (LDLIBS-bench-exp2): Add -lm.
3040         (LDLIBS-bench-log2): Likewise.
3041         * benchtests/exp2-inputs: New inputs file.
3042         * benchtests/log2-inputs: New inputs file.
3043         * benchtests/log-inputs: Add new inputs.
3044         * benchtests/tan-inputs: Likewise.
3046 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3048         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
3049         definition...
3050         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
3051         csloww1, csloww2): ... from here.
3053         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
3054         instead of structures.
3055         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
3056         (POLYNOMIAL): Likewise.
3057         (TAYLOR_SLOW): Likewise.
3058         (__sin): Likewise.
3059         (__cos): Likewise.
3060         (slow1): Likewise.
3061         (slow2): Likewise.
3062         (sloww): Likewise.
3063         (sloww1); Likewise.
3064         (sloww2): Likewise.
3065         (bsloww1): Likewise.
3066         (bsloww2): Likewise.
3067         (cslow2): Likewise.
3068         (csloww): Likewise.
3069         (csloww1): Likewise.
3070         (csloww2): Likewise.
3072 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
3074         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
3075         (__malloc_assert, __libc_realloc, __libc_calloc,
3076         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
3077         memcpy and memset.
3078         * malloc/hooks.c (realloc_check): Likewise.
3080 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
3082         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
3083         * malloc/arena.c: Remove PER_THREAD conditional.
3084         [!PER_THREAD]: Remove code.
3085         (ptmalloc_unlock_all2): Likewise.
3086         (ptmalloc_init): Likewise.
3087         (_int_new_arena): Likewise.
3088         (arena_get2): Likewise.
3089         * malloc/hooks.c (__malloc_get_state): Likewise.
3090         (__malloc_set_state): Likewise.
3091         * malloc/malloc.c: Likewise.
3092         (struct malloc_state): Likewise.
3093         (struct malloc_par): Likewise.
3094         (__libc_realloc): Likewise.
3095         (__libc_mallopt): Likewise.
3097 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3099         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
3101 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
3103         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
3104         macro to a function.  Check for zero perturb_byte.
3105         (_int_malloc, _int_free): Remove zero perturb_byte checks.
3107 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
3109         * malloc/malloc.c: (force_reg): Remove.
3110         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
3111         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
3112         force_reg by atomic_forced_read.
3113         * malloc/arena.c (ptmalloc_init): Likewise.
3114         * malloc/hooks.c (top_check): Likewise.
3116 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3118         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3120 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
3122         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3124 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
3126         * math/auto-libm-test-in: Add tests of lgamma.
3127         * math/auto-libm-test-out: Regenerated.
3128         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
3129         (M_LOG_2_SQRT_PIl): Likewise.
3130         (lgamma_test_data): Use AUTO_TESTS_f_f1.
3131         * math/gen-auto-libm-tests.c (func_calc_method): Add value
3132         mpfr_f_f1.
3133         (func_calc_desc): Add mpfr_f_f1 union field.
3134         (ARGS1): New macro.
3135         (ARGS2): Likewise.
3136         (ARGS3): Likewise.
3137         (ARGS4): Likewise.
3138         (RET1): Likewise.
3139         (RET2): Likewise.
3140         (CALC): Likewise.
3141         (FUNC): Likewise.
3142         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
3143         (test_functions): Add lgamma.
3144         (calc_generic_results): Handle mpfr_f_f1.
3145         * sysdeps/i386/fpu/libm-test-ulps: Update.
3146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3148 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3150         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
3151         __mpn_add_n for PowerPC64/POWER7.
3152         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
3153         __mpn_sub_n for PowerPC64/POWER7.
3155 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3157         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
3158         __mpn_addmul_1 for PowerPC64.
3159         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
3160         __mpn_submul_1 for PowerPC64.
3161         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
3162         for PowerPC64.
3163         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
3164         for PowerPC64.
3166 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
3168         [BZ #15089]
3169         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
3171 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3173         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
3175 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3177         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
3178         add multiarch folders.
3179         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
3180         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
3181         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
3182         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
3183         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
3184         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
3185         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
3186         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
3187         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
3188         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
3189         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
3190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
3191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
3192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
3193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
3194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
3195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
3197 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3200         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
3201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
3202         New file.
3203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
3204         New file.
3205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
3206         multiarch __ieee754_hypot for PowerPC32.
3207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
3208         New file.
3209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
3210         New file.
3211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
3212         multiarch __ieee754_hypotf for PowerPC32.
3214 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3216         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
3217         long_double_symbol only if __logbl is defined.
3218         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
3219         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
3220         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
3221         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
3222         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
3223         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
3224         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
3225         path for implementation.
3226         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
3227         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
3228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
3229         logb, and logbl multiarch implementations for PowerPC32.
3230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
3231         file.
3232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
3233         file.
3234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
3235         multiarch logb for PowerPC32.
3236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
3237         file.
3238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
3239         file.
3240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
3241         multiarch logbf for PowerPC32.
3242         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
3243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
3244         file.
3245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
3246         multiarch logbl implementation for PowerPC32.
3248 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
3251         and modff multiarch implementations.
3252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
3253         New file.
3254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
3255         New file.
3256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
3257         multiarch modf for PowerPC32.
3258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
3259         New file.
3260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
3261         New file.
3262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
3263         multiarch modff for PowerPC32.
3265 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
3268         and lrintf multiarch implementations.
3269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
3270         New file.
3271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3272         New file.
3273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
3274         multiarch lrint for PowerPC32.
3275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
3276         file: multiarch lrintf for PowerPC32.
3278 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
3281         and lroundf multiarch implementations.
3282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3283         New file.
3284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
3285         New file.
3286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3287         New file.
3288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
3289         multiarch lround for PowerPC32.
3290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
3291         file: multiarch lroundf for PowerPC32.
3293 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3296         copysign and copysignf multiarch implementations.
3297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3298         New file.
3299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3300         New file.
3301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
3302         file: multiarch copysign for PowerPC32.
3303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
3304         file: multiarch copysignf for PowerPC32.
3306 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
3309         and truncf multiarch implementations.
3310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
3311         New file.
3312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
3313         file.
3314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
3315         multiarch trunc for PowerPC32.
3316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
3317         New file.
3318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
3319         New file.
3320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
3321         multiarch truncf for PowerPC32.
3323 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
3326         and roundf multiarch implementations.
3327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
3328         New file.
3329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
3330         file.
3331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
3332         multiarch round for PowerPC32.
3333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
3334         New file.
3335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
3336         New file.
3337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
3338         multiarch roundf for PowerPC32.
3340 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
3343         and floorf multiarch implementations.
3344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
3345         New file.
3346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
3347         file.
3348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
3349         multiarch floor for PowerPC32.
3350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
3351         New file.
3352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
3353         New file.
3354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
3355         multiarch floorf for PowerPC32.
3357 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
3360         and ceilf multiarch implementations.
3361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
3362         New file.
3363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
3364         file.
3365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
3366         multiarch ceil for PowerPC32.
3367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
3368         New file.
3369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
3370         file.
3371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
3372         multiarch ceilf for PowerPC32.
3374 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3376         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
3377         is defined.
3378         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
3379         FINITEF is defined.
3380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
3381         and finitef multiarch implementations.
3382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3383         New file.
3384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
3385         file.
3386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
3387         multiarch finite for PowerPC32.
3388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3389         New file.
3390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
3391         file: multiarch finitef for PowerPC32.
3393 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
3396         and isinff multiarch implementations.
3397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
3398         file.
3399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
3400         file.
3401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
3402         multiarch isinf for PowerPC32.
3403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3404         New file.
3405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
3406         multiarch isinff for PowerPC32.
3408 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3410         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
3411         alias when __isnan is defined.
3412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
3413         and isnanf multiarch implementations.
3414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
3415         file.
3416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
3417         file.
3418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
3419         file.
3420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
3421         file.
3422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
3423         multiarch isnan for PowerPC32.
3424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3425         New file.
3426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
3427         New file.
3428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
3429         multiarch isnanf for PowerPC32.
3431 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
3434         and sqrtf multiarch implementations.
3435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
3436         file.
3437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
3438         file.
3439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
3440         multiarch sqrt for PowerPC32.
3441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
3442         file.
3443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
3444         file.
3445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
3446         multiarch sqrtf for PowerPC32.
3448 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
3451         and llroundf multiarch implementations.
3452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3453         New file.
3454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3455         New file.
3456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3457         New file.
3458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
3459         file: multiarch llround for PowerPC32.
3460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
3461         file: multiarch llroundf for PowerPC32.
3463 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
3466         multiarch PowerPC32 fpu implementations.
3467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3468         New file.
3469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3470         New file.
3471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
3472         multiarch llrint for PowerPC32.
3473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3474         New file.
3475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3476         New file.
3477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
3478         file.
3480 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
3484 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3486         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
3487         file.
3488         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
3489         file.
3490         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
3491         file.
3492         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
3493         multiarch wordcopy for PPC32.
3494         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3495         wordcopy objects.
3496         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3497         (__libc_ifunc_impl_list): Likewise.
3498         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
3499         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
3500         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
3501         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
3502         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
3503         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
3505 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3507         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
3508         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
3509         file.
3510         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
3511         file.
3512         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
3513         file.
3514         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
3515         multiarch wcscpy for PPC32.
3516         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3517         multiarch objects.
3518         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3519         (__libc_ifunc_impl_list): Likewise.
3520         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3521         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3522         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
3523         sysdeps/powerpc/power6/wcscpy.c.
3525 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3527         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
3528         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
3529         file.
3530         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
3531         file.
3532         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
3533         file.
3534         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
3535         multiarch wcsrchr for PPC32.
3536         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3537         multiarch objects.
3538         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3539         (__libc_ifunc_impl_list): Likewise.
3540         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3541         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3542         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
3543         sysdeps/powerpc/power6/wcsrchr.c.
3545 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3547         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
3548         file.
3549         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
3550         file.
3551         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
3552         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
3553         multiarch wcschr for PPc32.
3554         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3555         multiarch objects.
3556         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3557         (__libc_ifunc_impl_list): Likewise.
3558         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
3559         * sysdeps/powerpc/power6/wcschr.c: ... to here.
3560         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
3561         sysdeps/powerpc/power6/wcschr.c.
3563 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3565         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
3566         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
3567         file.
3568         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
3569         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
3570         file: multiarch strchr for PPC32.
3571         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
3572         multiarch objects.
3573         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3574         (__libc_ifunc_impl_list): Likewise.
3576 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3578         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
3579         name.
3580         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
3581         file.
3582         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
3583         file.
3584         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
3585         multiarch strchrnul for PPC32.
3586         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
3587         multiarch objects.
3588         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3589         (__libc_ifunc_impl_list): Likewise.
3591 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3593         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
3594         file.
3595         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
3596         multiarch strncasecmp for PPC32.
3597         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
3598         file.
3599         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
3600         multiarch strncasecmp_l for PPC32.
3601         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
3602         strncasecmp multiarch objects.
3603         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3604         (__libc_ifunc_impl_list): Likewise.
3606 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3608         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
3609         file.
3610         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
3611         multiarch strncasecmp for PPC32.
3612         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3613         New file.
3614         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
3615         multiarch strcasecmp_l for PPC32.
3616         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
3617         multiarch objects.
3618         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3619         (__libc_ifunc_impl_list): Likewise.
3621 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3623         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
3624         file.
3625         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
3626         file.
3627         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
3628         multiarch strncmp for PPC32.
3629         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
3630         multiarch objects.
3631         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3632         (__libc_ifunc_impl_list): Likewise.
3634 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3636         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
3637         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
3638         file.
3639         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
3640         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
3641         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
3642         multiarch objects.
3643         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3644         (__libc_ifunc_impl_list): Likewise.
3646 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3648         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
3649         file.
3650         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
3651         file.
3652         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
3653         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
3654         multiarch objects.
3655         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3656         (__libc_ifunc_impl_list): Likewise.
3658 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3660         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
3661         file.
3662         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
3663         file.
3664         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
3665         multiarch rawmemchr for PPC32.
3666         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
3667         multiarch objects.
3668         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3669         (__libc_ifunc_impl_list): Likewise.
3671 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3673         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
3674         file.
3675         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
3676         file.
3677         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
3678         file: memrchr multiarch for PPC32.
3679         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
3680         multiarch objects.
3681         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3682         (__libc_ifunc_impl_list): Likewise.
3684 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3686         * string/memchr.c (__memchr): Using macro to redefine symbol name.
3687         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
3688         file.
3689         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
3690         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
3691         multiarch memchr for PPC32.
3692         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
3693         multiarch objects.
3694         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3695         (__libc_ifunc_impl_list): Likewise.
3697 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3699         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
3700         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
3701         file.
3702         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
3703         file.
3704         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
3705         file: multiarch mempcpy for PPC32.
3706         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
3707         multiarch objects.
3708         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3709         (__libc_ifunc_impl_list): Likewise.
3711 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3713         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
3714         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
3715         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
3716         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
3717         multiarch bzero for PPC32.
3718         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
3719         file.
3720         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
3721         file.
3722         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
3723         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
3724         file: multiarch memset for PPC32.
3725         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
3726         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
3727         memset multiarch objects.
3728         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3729         (__libc_ifunc_impl_list): Likewise.
3731 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3733         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
3734         file.
3735         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
3736         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
3737         memcmp for PPC32.
3738         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
3739         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
3740         multiarch objects.
3741         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3742         (__libc_ifunc_impl_list): Likewise.
3744 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3746         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
3747         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
3748         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
3749         file.
3750         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
3751         file.
3752         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
3753         file.
3754         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
3755         multiarch memcpy for PPC32.
3756         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
3757         multiarch objects.
3758         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3759         (__libc_ifunc_impl_list): Likewise.
3761 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3763         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
3764         support multiarch for POWER/PPC32.
3765         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3766         Likewise.
3767         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
3769         Implies file to make multiarch folder appers before the fpu and
3770         default folder for power4 configuration.
3772 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
3774         * scripts/bench.pl: Append volatile keyword to type.
3776 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3778         * sysdeps/sh/sotruss-lib.c: New file.
3779         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
3781 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3783         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3785 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
3787         [BZ #6810]
3788         * math/w_tgamma.c: Include <errno.h>.
3789         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
3790         * math/w_tgammaf.c: Include <errno.h>.
3791         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
3792         * math/w_tgammal.c: Include <errno.h>.
3793         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
3794         * math/auto-libm-test-in: Do not allow missing errno on tgamma
3795         underflow.  Add more tgamma tests.
3796         * math/auto-libm-test-out: Regenerated.
3797         * sysdeps/i386/fpu/libm-test-ulps: Update.
3798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3800         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
3801         sin, sinh, tan, tanh, tgamma, y0 and y1.
3802         * math/auto-libm-test-out: Regenerated.
3803         * math/libm-test.inc (TEST_COND_x86_64): New macro.
3804         (TEST_COND_x86): Likewise.
3805         (M_E2l): Remove macro.
3806         (M_E3l): Likewise.
3807         (M_2_SQRT_PIl): Likewise.
3808         (M_SQRT_PIl): Likewise.
3809         (M_1_DIV_El): Likewise.
3810         (log_test_data): Use AUTO_TESTS_f_f.
3811         (log10_test_data): Likewise.
3812         (log1p_test_data): Likewise.
3813         (log2_test_data): Likewise.
3814         (sin_test_data): Likewise.
3815         (sin_tonearest_test_data): Likewise.
3816         (sin_towardzero_test_data): Likewise.
3817         (sin_downward_test_data): Likewise.
3818         (sin_upward_test_data): Likewise.
3819         (sinh_test_data): Likewise.
3820         (sinh_tonearest_test_data): Likewise.
3821         (sinh_towardzero_test_data): Likewise.
3822         (sinh_downward_test_data): Likewise.
3823         (sinh_upward_test_data): Likewise.
3824         (tan_test_data): Likewise.
3825         (tan_tonearest_test_data): Likewise.
3826         (tan_towardzero_test_data): Likewise.
3827         (tan_downward_test_data): Likewise.
3828         (tan_upward_test_data): Likewise.
3829         (tanh_test_data): Likewise.
3830         (tgamma_test_data): Likewise.
3831         (y0_test_data): Likewise.
3832         (y1_test_data): Likewise.
3833         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
3834         (special_real_inputs): Add pi/4.
3835         * sysdeps/i386/fpu/libm-test-ulps: Update.
3836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3838 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3840         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
3841         "longjmp_target" static probes.
3842         (__longjmp): Rename to __longjmp_symbol.
3843         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3844         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
3845         on which longjmp to generate.
3846         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3847         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
3848         probe.
3849         (__sigsetjmp): Rename to __sigsetjmp_symbol.
3850         (__sigjmp_save): Rename to __sigjmp_save_symbol.
3851         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3852         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
3853         and __sigjmp_save_symbol based on which sigsetjmp to generated.
3854         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
3855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
3856         __longjmp_symbol based on which __longjmp to generate.
3857         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
3858         probe.
3859         (setjmp): Rename to setjmp_symbol.
3860         (__sigsetjmp): Rename to __sigsetjmp_symbol.
3861         (_setjmp): Rename to _setjmp_symbol.
3862         (__sigsetjmp): Rename to __sigsetjmp_symbol.
3863         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
3864         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
3865         which setjmp to generate.
3866         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
3867         "longjmp_target" static probes.
3869 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3871         * benchtests/README: Add note about output arguments.
3872         * benchtests/bench-sincos.c: Remove file.
3873         * benchtests/sincos-inputs: New file.
3874         * scripts/bench.pl: Identify output arguments and define
3875         static variables for them.
3877         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
3879         [BZ #15941]
3880         * Makefile (INSTALL): Add install-plain.texi as the primary
3881         dependency.
3882         * manual/install-plain.texi: New file.
3883         * manual/install.texi: Include node directive only for
3884         non-plaintext output.
3886 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
3888         * stdlib/longlong.h: Update from GCC.
3890         [BZ #6807]
3891         [BZ #15901]
3892         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
3893         * math/w_j0f.c (y0f): Likewise.
3894         * math/w_j0l.c (__y0l): Likewise.
3895         * math/w_j1.c (y1): Likewise.
3896         * math/w_j1f.c (y1f): Likewise.
3897         * math/w_j1l.c (__y1l): Likewise
3898         * math/w_jn.c (yn): Likewise.
3899         * math/w_jnf.c (ynf): Likewise.
3900         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
3901         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
3902         value for Bessel function domain errors outside _SVID_ mode.
3903         Adjust sign of return value for yn (negative integer, 0).
3904         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
3905         by zero in return for negative x and set sign appropriately for
3906         negative n.
3907         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
3908         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3909         * math/libm-test.inc (y0_test_data): Add more tests and adjust
3910         expectations in error cases.
3911         (y1_test_data): Likewise.
3912         (yn_test_data): Likewise.
3913         * sysdeps/i386/fpu/libm-test-ulps: Update.
3914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3916 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3918         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
3919         "64" to "64-v1".  Add "64-v2".
3920         (abi-64-options): Rename to ...
3921         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
3922         (abi-64-condition): Rename to ...
3923         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
3924         (abi-64-ld-soname): Rename to ...
3925         (abi-64-v1-ld-soname): ... this.
3926         (abi-64-v2-options): Define.
3927         (abi-64-v2-condition): Likewise.
3928         (abi-64-v2-ld-soname): Likewise.
3929         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
3930         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
3931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
3932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
3933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
3935 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3936             Alan Modra  <amodra@gmail.com>
3938         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
3939         New versions for use with the ELFv2 ABI.
3940         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
3941         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
3942         declaration.
3943         (struct La_ppc64v2_retval): Likewise.
3944         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
3945         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
3946         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
3947         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
3948         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
3949         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
3950         Do not save or restore CR.
3951         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
3952         (_dl_profile_resolve): Do no save or restore CR.  Support extended
3953         return values for ELFv2 ABI.  Fix location of FPR return registers.
3954         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
3955         updated values for _CALL_ELF == 2.
3956         (La_regs, La_retval, int_retval): Likewise.
3958 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3960         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
3961         (FRAME_MIN_SIZE_PARM): Likewise.
3962         (FRAME_BACKCHAIN): Likewise.
3963         (FRAME_CR_SAVE): Likewise.
3964         (FRAME_LR_SAVE): Likewise.
3965         (FRAME_TOC_SAVE): Likewise.
3966         (FRAME_PARM_SAVE): Likewise.
3967         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3968         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3969         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3970         (call_mcount_parm_offset): New macro.
3971         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
3972         (PROF): Use symbolic stack frame offsets.
3973         (TAIL_CALL_SYSCALL_ERROR): Likewise.
3974         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
3975         Redefine in terms of FRAME_MIN_SIZE.
3976         (_dl_runtime_resolve): Use symbolic stack frame offsets.
3977         (_dl_profile_resolve): Likewise.  Update comment.
3978         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
3979         symbols stack frame offsets.
3980         (__sigsetjmp): Likewise.
3981         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
3982         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
3983         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
3984         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
3986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
3987         (FRAME_BACKCHAIN): Remove.
3988         (FRAME_CR_SAVE): Likewise.
3989         (FRAME_LR_SAVE): Likewise.
3990         (FRAME_COMPILER_DW): Likewise.
3991         (FRAME_LINKER_DW): Likewise.
3992         (FRAME_TOC_SAVE): Likewise.
3993         (FRAME_PARM_SAVE): Likewise.
3994         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3995         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3996         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
3998         (CHECK_SP): Use symbolic stack frame offsets.
3999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
4000         zone" instead of caller's parameter save area for temp storage.
4001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4002         Likewise.  Also, use symbolic stack frame offsets.
4003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
4004         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
4005         our own stack frame instead of the caller's.
4006         (__socket): Use symbolic stack frame offsets.
4008 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4009             Alan Modra  <amodra@gmail.com>
4011         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
4012         Define.
4013         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
4014         PPC64_LOCAL_ENTRY_OFFSET): Define.
4015         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
4016         New function.
4017         (elf_machine_fixup_plt): Call it.
4018         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
4019         reloc arguments.
4020         (elf_machine_rela): Update call to elf_machine_plt_conflict.
4021         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4022         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
4023         r2 before calling target.
4025 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4026             Alan Modra  <amodra@gmail.com>
4028         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
4029         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
4030         versions of macros to support ELFv2 ABI.
4031         (LOCALENTRY): New macro.
4032         (ENTRY, EALIGN): Use it.
4033         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
4034         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
4035         fall through into ENTRY entry point.
4036         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
4037         Only define if _CALL_ELF != 2.
4039         (elf_machine_matches_host): Verify ABI version matches.
4040         (RTLD_START): Use LOCALENTRY.
4041         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
4042         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
4043         (PLT_ENTRY_WORDS): New macro.
4044         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
4045         (elf_machine_runtime_setup): Support ELFv2 ABI.
4046         (elf_machine_fixup_plt): Likewise.
4047         (elf_machine_plt_conflict): Likewise.
4048         (resolve_ifunc): Likewise.
4049         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4050         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4051         Likewise.
4052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
4053         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
4054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4055         (makecontext): Support ELFv2 ABI.
4056         * elf/elf.h (EF_PPC64_ABI): Define.
4058 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4060         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
4061         New assembler macro.
4062         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
4063         [ASSEMBLER] (ENTRY): ... but instead here ...
4064         [ASSEMBLER] (EALIGN): ... and here.
4065         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
4066         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
4067         [!ASSEMBLER] (ENTRY_2): Use it.
4068         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
4069         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
4070         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4071         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
4072         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
4073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
4074         Use PPC64_LOAD_FUNCPTR.
4076 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4078         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
4080 2013-12-04  Alan Modra  <amodra@gmail.com>
4082         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
4083         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
4084         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
4085         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
4087         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
4088         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
4089         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
4090         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
4091         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
4092         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
4094 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4097         (__makecontext): Fix incorrect CFI when backtracing out of
4098         context created via makecontext.
4099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
4100         (__setcontext): Fix incorrect CFI during switch to new context.
4101         (__novec_setcontext): Likewise.
4103 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
4105         [BZ #4772]
4106         * time/strptime_l.c (__strptime_internal): Allow modifiers
4107         in strptime.
4108         * time/tst-strptime.c (day_tests): Add testcase.
4111 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4113         * scripts/bench.pl: Skip over blank lines.
4115 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
4117         [BZ #926]
4118         * manual/time.texi (Calendar Time): Clarify what timezone functions
4119         use.
4121 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4123         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4125 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
4127         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
4128         implementation.
4129         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
4130         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
4131         * debug/memset_chk.c (__memset_chk): Likewise.
4132         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
4133         * debug/strncpy_chk.c: Likewise.
4135 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
4137         [BZ #15268]
4138         [BZ #15425]
4139         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
4140         (__ieee754_exp): For possibly underflowing results, check size of
4141         result and force underflow exception if required.
4142         * math/auto-libm-test-in: Add more tests of exp.
4143         * math/auto-libm-test-out: Regenerated.
4144         * sysdeps/i386/fpu/libm-test-ulps: Update.
4145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4147         [BZ #16283]
4148         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
4149         * math/w_exp2f.c (__exp2f): Likewise.
4150         * math/w_exp2l.c (__exp2l): Likewise.
4151         * math/auto-libm-test-in: Do not allow missing errno on exp2
4152         underflow.
4153         * math/auto-libm-test-out: Regenerated.
4155 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
4157         [BZ #16274]
4158         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
4159         handle filename validation.
4160         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
4161         (do_open): Delete.
4163 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
4165         [BZ #6786]
4166         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
4167         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
4168         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
4169         <float.h>.
4170         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
4171         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
4172         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4173         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
4174         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4175         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
4176         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4177         * math/auto-libm-test-in: Don't allow missing errno from erfc.
4178         Add more erfc tests.
4179         * math/auto-libm-test-out: Regenerated.
4180         * sysdeps/i386/fpu/libm-test-ulps: Update.
4181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4183         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
4184         exp2, expm1, j0 and j1.
4185         * math/auto-libm-test-out: Regenerated.
4186         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
4187         (erfc_test_data): Likewise.
4188         (exp_test_data): Likewise.
4189         (exp_tonearest_test_data): Likewise.
4190         (exp_towardzero_test_data): Likewise.
4191         (exp_downward_test_data): Likewise.
4192         (exp_upward_test_data): Likewise.
4193         (exp10_test_data): Likewise.
4194         (exp2_test_data): Likewise.
4195         (expm1_test_data): Likewise.
4196         (j0_test_data): Likewise.
4197         (j1_test_data): Likewise.
4198         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
4199         (input_flag_type): Add flag_xfail_rounding.
4200         (input_flags): Add xfail-rounding.
4201         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
4202         (output_for_one_input_case): Handle flag_xfail_rounding.
4203         * sysdeps/i386/fpu/libm-test-ulps: Update.
4204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4206 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
4208         [BZ #16289]
4209         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
4210         division by 0.
4212 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
4214         [BZ #16195]
4215         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4216         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
4217         (STAP_PROBE0): New macro.
4218         (STAP_PROBE1): Likewise.
4219         (STAP_PROBE2): Likewise.
4220         (STAP_PROBE3): Likewise.
4221         (STAP_PROBE4): Likewise.
4223 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
4225         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
4227 2013-12-02  Steve Ellcey  <sellcey@mips.com>
4229         * benchtests/Makefile (bench): Add sqrt.
4230         (LDLIBS-bench-sqrt): New.
4231         * benchtests/sqrt-input: New.
4233 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
4235         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
4236         (GAIH_EAI): Likewise.
4237         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
4238         (gaih_inet): Likewise.
4239         (getaddrinfo): Don't use GAIH_EAI.
4241         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
4242         (struct gaih): Remove definition.
4244 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4246         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
4247         Use HERRNOP directly.
4249 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4251         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4253 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
4255         * math/gen-auto-libm-tests.c (test_functions): Add more
4256         single-argument functions.
4257         (special_fill_pi_2): New function.
4258         (special_fill_minus_pi_2): Likewise.
4259         (special_fill_pi_6): Likewise.
4260         (special_fill_minus_pi_6): Likewise.
4261         (special_fill_pi_3): Likewise.
4262         (special_fill_2pi_3): Likewise.
4263         (special_fill_e): Likewise.
4264         (special_fill_1_e): Likewise.
4265         (special_fill_e_minus_1): Likewise.
4266         (special_real_inputs): Add more special inputs.
4267         (output_for_one_input_case): Do not require ERANGE on underflow to
4268         zero if round-to-nearest result does not underflow to zero, unless
4269         exact results required.
4270         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
4271         atan, atanh, cbrt, cos and cosh.
4272         * math/auto-libm-test-out: Regenerated.
4273         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
4274         (acos_tonearest_test_data): Likewise.
4275         (acos_towardzero_test_data): Likewise.
4276         (acos_downward_test_data): Likewise.
4277         (acos_upward_test_data): Likewise.
4278         (acosh_test_data): Likewise.
4279         (asin_test_data): Likewise.
4280         (asin_tonearest_test_data): Likewise.
4281         (asin_towardzero_test_data): Likewise.
4282         (asin_upward_test_data): Likewise.
4283         (asinh_test_data): Likewise.
4284         (atan_test_data): Likewise.
4285         (atanh_test_data): Likewise.
4286         (cbrt_test_data): Likewise.
4287         (cos_test_data): Likewise.
4288         (cos_tonearest_test_data): Likewise.
4289         (cos_towardzero_test_data): Likewise.
4290         (cos_downward_test_data): Likewise.
4291         (cos_upward_test_data): Likewise.
4292         (cosh_test_data): Likewise.
4293         (cosh_tonearest_test_data): Likewise.
4294         (cosh_towardzero_test_data): Likewise.
4295         (cosh_downward_test_data): Likewise.
4296         (cosh_upward_test_data): Likewise.
4297         * sysdeps/i386/fpu/libm-test-ulps: Update.
4298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4300 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
4302         [BZ #6787]
4303         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
4304         * math/w_exp10f.c (__exp10f): Likewise.
4305         * math/w_exp10l.c (__exp10l): Likewise.
4306         * math/libm-test.inc (exp10_test_data): Add more tests and expect
4307         errno settings in existing tests.
4309         [BZ #14032]
4310         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
4311         precision control set to double precision.
4312         * sysdeps/i386/fpu/w_sqrt.c: New file.
4313         * math/auto-libm-test-in: Add more tests.
4314         * math/auto-libm-test-out: Update.
4316         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
4317         (sqrt_test_tonearest): New function.
4318         (sqrt_towardzero_test_data): New variable.
4319         (sqrt_test_towardzero): New function.
4320         (sqrt_downward_test_data): New variable.
4321         (sqrt_test_downward): New function.
4322         (sqrt_upward_test_data): New variable.
4323         (sqrt_test_upward): New function.
4324         (main): Call the new functions.
4326         * math/gen-auto-libm-tests.c: New file.
4327         * math/auto-libm-test-in: Likewise.
4328         * math/auto-libm-test-out: New generated file.
4329         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
4330         variables.
4331         (%beautify): Add generated representations of zero.
4332         (top level): Set $auto_input and call parse_auto_input.
4333         (beautify): Remove trailing "f" from hex float constants.
4334         (parse_args): Handle XFAIL_TEST.
4335         (convert_condition): New function.
4336         (or_value): Likewise.
4337         (or_cond_value): Likewise.
4338         (generate_testfile): Handle AUTO_TESTS_* lines.
4339         (parse_auto_input): New function.
4340         * math/libm-test.inc (XFAIL_TEST): New macro.
4341         (ERRNO_UNCHANGED): Update value.
4342         (ERRNO_EDOM): Likewise.
4343         (ERRNO_ERANGE): Likewise.
4344         (IGNORE_RESULT): Likewise.
4345         (TEST_COND_flt_32): New macro.
4346         (TEST_COND_dbl_64): Likewise.
4347         (TEST_COND_ldbl_96_intel): Likewise.
4348         (TEST_COND_ldbl_96_m68k): Likewise.
4349         (TEST_COND_ldbl_128): Likewise.
4350         (TEST_COND_ldbl_128ibm): Likewise.
4351         (TEST_COND_long32): Likewise.
4352         (TEST_COND_long64): Likewise.
4353         (TEST_COND_before_rounding): Likewise.
4354         (TEST_COND_after_rounding): Likewise.
4355         (enable_test): Handle XFAIL_TEST flag.
4356         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
4357         with finite results.
4358         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
4359         auto-libm-test-out.
4361 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4362             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4364         [BZ #16214]
4365         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
4366         __tls_get_addr_internal instead of __tls_get_offset in order to
4367         avoid GOT pointer dependency.  Make rtld export
4368         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
4369         __tls_get_addr since we are a __tls_get_offset platform.
4370         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
4371         GOT pointer being set up before.
4372         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
4374 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
4376         * manual/math.texi (Errors in Math Functions): Document accuracy
4377         goals.
4379         [BZ #15004]
4380         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
4381         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
4382         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4383         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4384         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4385         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4386         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4387         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4388         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4389         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4390         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4391         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4392         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4393         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4394         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4395         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4397         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
4398         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
4399         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
4400         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
4401         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
4402         Likewise.
4403         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
4404         Likewise.
4405         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
4406         Likewise.
4407         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
4408         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
4409         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
4410         atomic-feupdateenv and flt-rounds.
4411         * sysdeps/powerpc/nofpu/Versions (libc): Add
4412         __atomic_feholdexcept, __atomic_feclearexcept,
4413         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
4414         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
4415         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
4416         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
4417         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
4418         here.
4419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4420         Update.
4422         * manual/arith.texi (FP Exceptions): Document that exceptions may
4423         not be raised when matherr is used.
4424         (Math Error Reporting): Document overflow in directed rounding
4425         modes.  Document that errno may not be set when finite values are
4426         returned on overflow.  Document intent to set errno on underflow
4427         only for underflow to zero.
4429         [BZ #16271]
4430         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
4431         round-to-nearest then adjust result for other rounding modes.
4432         * include/fenv.h (fegetround): Use libm_hidden_proto.
4433         * math/fegetround.c (fegetround): Use libm_hidden_def.
4434         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
4435         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
4436         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4437         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
4438         Likewise.
4439         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
4440         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4441         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
4442         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
4444 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4446         [BZ #16077]
4447         * nss/Versions (libnss_files): Add
4448         _nss_files_gethostbyname3_r.
4449         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
4450         New function.
4451         (HOST_DB_LOOKUP): Remove macro.
4452         (_nss_files_gethostbyname_r): Implement function without the
4453         HOST_DB_LOOKUP macro.
4454         (_nss_files_gethostbyname2_r): Likewise.
4456 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
4458         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
4460 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
4462         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
4463         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
4464         warning.
4466 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4468         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
4469         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
4470         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4471         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4472         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
4473         __fe_nomask_env_priv and attribute_hidden.
4474         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
4475         (libc_feupdateenv_test_ppc): Likewise.
4476         (libc_feresetround_ppc): Likewise.
4477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4478         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
4479         compat_symbol macro.
4480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4481         (__fe_nomask_env): Likewise.
4482         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
4484 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
4486         * string/Makefile: Remove ifunc tests.
4487         * string/test-string.h: Define TEST_IFUNC.
4488         * string/test-bcopy-ifunc.c: Remove.
4489         * string/test-bzero-ifunc.c: Likewise.
4490         * string/test-memccpy-ifunc.c: Likewise.
4491         * string/test-memchr-ifunc.c: Likewise.
4492         * string/test-memcmp-ifunc.c: Likewise.
4493         * string/test-memcpy-ifunc.c: Likewise.
4494         * string/test-memmem-ifunc.c: Likewise.
4495         * string/test-memmove-ifunc.c: Likewise.
4496         * string/test-mempcpy-ifunc.c: Likewise.
4497         * string/test-memrchr-ifunc.c: Likewise.
4498         * string/test-memset-ifunc.c: Likewise.
4499         * string/test-rawmemchr-ifunc.c: Likewise.
4500         * string/test-stpcpy-ifunc.c: Likewise.
4501         * string/test-stpncpy-ifunc.c: Likewise.
4502         * string/test-strcasecmp-ifunc.c: Likewise.
4503         * string/test-strcasestr-ifunc.c: Likewise.
4504         * string/test-strcat-ifunc.c: Likewise.
4505         * string/test-strchr-ifunc.c: Likewise.
4506         * string/test-strchrnul-ifunc.c: Likewise.
4507         * string/test-strcmp-ifunc.c: Likewise.
4508         * string/test-strcpy-ifunc.c: Likewise.
4509         * string/test-strcspn-ifunc.c: Likewise.
4510         * string/test-strlen-ifunc.c: Likewise.
4511         * string/test-strncasecmp-ifunc.c: Likewise.
4512         * string/test-strncat-ifunc.c: Likewise.
4513         * string/test-strncmp-ifunc.c: Likewise.
4514         * string/test-strncpy-ifunc.c: Likewise.
4515         * string/test-strnlen-ifunc.c: Likewise.
4516         * string/test-strpbrk-ifunc.c: Likewise.
4517         * string/test-strrchr-ifunc.c: Likewise.
4518         * string/test-strspn-ifunc.c: Likewise.
4519         * string/test-strstr-ifunc.c: Likewise.
4521 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
4523         * benchtests/Makefile: Remove ifunc tests.
4524         * benchtests/bench-string.h: Define TEST_IFUNC.
4525         * benchtests/bench-bcopy-ifunc.c: Remove.
4526         * benchtests/bench-bzero-ifunc.c: Likewise.
4527         * benchtests/bench-memccpy-ifunc.c: Likewise.
4528         * benchtests/bench-memchr-ifunc.c: Likewise.
4529         * benchtests/bench-memcmp-ifunc.c: Likewise.
4530         * benchtests/bench-memcpy-ifunc.c: Likewise.
4531         * benchtests/bench-memmem-ifunc.c: Likewise.
4532         * benchtests/bench-memmove-ifunc.c: Likewise.
4533         * benchtests/bench-mempcpy-ifunc.c: Likewise.
4534         * benchtests/bench-memrchr-ifunc.c: Likewise.
4535         * benchtests/bench-memset-ifunc.c: Likewise.
4536         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
4537         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
4538         * benchtests/bench-stpcpy-ifunc.c: Likewise.
4539         * benchtests/bench-stpncpy-ifunc.c: Likewise.
4540         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
4541         * benchtests/bench-strcasestr-ifunc.c: Likewise.
4542         * benchtests/bench-strcat-ifunc.c: Likewise.
4543         * benchtests/bench-strchr-ifunc.c: Likewise.
4544         * benchtests/bench-strchrnul-ifunc.c: Likewise.
4545         * benchtests/bench-strcmp-ifunc.c: Likewise.
4546         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
4547         * benchtests/bench-strcpy-ifunc.c: Likewise.
4548         * benchtests/bench-strcspn-ifunc.c: Likewise.
4549         * benchtests/bench-strlen-ifunc.c: Likewise.
4550         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
4551         * benchtests/bench-strncat-ifunc.c: Likewise.
4552         * benchtests/bench-strncmp-ifunc.c: Likewise.
4553         * benchtests/bench-strncpy-ifunc.c: Likewise.
4554         * benchtests/bench-strnlen-ifunc.c: Likewise.
4555         * benchtests/bench-strpbrk-ifunc.c: Likewise.
4556         * benchtests/bench-strrchr-ifunc.c: Likewise.
4557         * benchtests/bench-strsep-ifunc.c: Likewise.
4558         * benchtests/bench-strspn-ifunc.c: Likewise.
4559         * benchtests/bench-strstr-ifunc.c: Likewise.
4561 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
4563         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
4565 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
4567         * resolv/netdb.h: Use __glibc_reserved instead __unused.
4568         * rt/aio.h: Likewise.
4569         * sysdeps/gnu/bits/utmp.h: Likewise.
4570         * sysdeps/gnu/bits/utmpx.h: Likewise.
4571         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4572         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
4573         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4574         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4575         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4576         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4577         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
4578         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
4579         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4580         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4581         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4582         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4583         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
4585         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4586         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
4587         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4588         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4589         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4590         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4591         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
4592         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
4593         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
4594         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4595         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4596         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4597         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
4598         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4599         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4600         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4601         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4602         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
4603         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
4604         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4605         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
4606         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4607         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4608         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4609         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4610         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
4611         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4612         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4614 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
4616         [BZ #16245]
4617         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
4618         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
4620 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
4622         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
4623         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4624         Likewise.
4626 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4628         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
4629         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
4630         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
4631         (__fesetround): Remove define.
4632         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
4633         rounding and exceptions handling.
4634         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
4635         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
4636         (__fe_nomask_env): Likewise.
4637         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
4638         __fegetround instead of fegetround.
4639         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4640         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4642 2013-11-21  Roland McGrath  <roland@hack.frob.com>
4644         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
4645         it's there.
4647         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
4649 2013-11-21  Meador Inge  <meadori@codesourcery.com>
4651         [BZ #11157]
4652         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
4653         (encrypt_r): Likewise.
4654         * malloc/obstack.h (obstack_free): Likewise.
4655         * posix/unistd.h (encrypt): Likewise.
4657 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
4659         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
4660         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
4661         DL_CALL_DT_FINI() that call the functions directly.
4662         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
4663         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
4664         * elf/dl-fini.c: Likewise.
4666 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
4668         * malloc/hooks.c (memalign_check): Add alignment rounding.
4669         * malloc/malloc.c (_mid_memalign): New function.
4670         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
4671         Implement by calling _mid_memalign.
4672         * manual/probes.texi (Memory Allocation Probes): Remove
4673         memory_valloc_retry and memory_pvalloc_retry.
4675 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
4677         * locale/programs/locarchive.c (open_archive): Add const
4678         qualifier to ARCHIVEFNAME and copy default fname to
4679         DEFAULT_FNAME.
4681         [BZ #15601]
4682         * libio/tst-widetext.input: Rename Oriya to Odia.
4683         * locale/iso-639.def: Likewise.
4685         * manual/probes.texi (Mathematical Function Probes): Add
4686         documentation for sin, cos, asin and acos probes.
4687         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
4688         (__sin32): Add slowasin probe.
4689         (__cos32): Add slowacos probe.
4690         (__mpsin): Add slowsin probe.
4691         (__mpcos): Add slowcos probe.
4693 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
4695         [BZ #15483]
4696         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
4697         thread-local __sim_exceptions_thread and global
4698         __sim_exceptions_global.
4699         (__sim_disabled_exceptions): Change to thread-local
4700         __sim_disabled_exceptions_thread and global
4701         __sim_disabled_exceptions_global.
4702         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4703         and global __sim_round_mode_global.
4704         (__simulate_exceptions): Use thread-local floating-point state and
4705         set global state from it as needed.
4706         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
4707         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
4708         __sim_round_mode_thread.
4709         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
4710         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
4711         and global __sim_exceptions_global.
4712         (__sim_disabled_exceptions): Change to thread-local
4713         __sim_disabled_exceptions_thread and global
4714         __sim_disabled_exceptions_global.
4715         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4716         and global __sim_round_mode_global.
4717         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
4718         (SIM_SET_GLOBAL): Likewise.
4719         * sysdeps/powerpc/soft-fp/sfp-machine.h
4720         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
4721         __sim_round_mode_thread.
4722         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
4723         __sim_disabled_exceptions_thread.
4724         (__sim_exceptions): Change to __sim_exceptions_thread.
4725         (__sim_disabled_exceptions): Change to
4726         __sim_disabled_exceptions_thread.
4727         (__sim_round_mode): Change to __sim_round_mode_thread.
4728         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
4729         thread-local floating-point state and set global state from it as
4730         needed.
4731         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
4732         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
4733         (__sim_disabled_exceptions): Remove extern declaration.
4734         (feenableexcept): Use thread-local floating-point state and set
4735         global state from it as needed.
4736         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
4737         extern declaration.
4738         (__sim_disabled_exceptions): Likewise.
4739         (__sim_round_mode): Likewise.
4740         (__fegetenv): Use thread-local floating-point state.
4741         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
4742         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4743         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
4744         floating-point state and set global state from it as needed.
4745         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
4746         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4747         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
4748         Likewise.
4749         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
4750         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
4751         Likewise.
4752         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
4753         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
4754         Use __sim_round_mode_thread.
4755         * math/test-fenv-tls.c: New file.
4756         * math/Makefile (tests): Add test-fenv-tls.
4757         ($(objpfx)test-fenv-tls): Depend on
4758         $(common-objpfx)nptl/libpthread.so.
4760 2013-11-19  Andreas Schwab  <schwab@suse.de>
4762         * locale/programs/locale.c (show_info): Decode wordarray elements.
4763         * locale/categories.def (LC_MONETARY): Add element for
4764         _NL_MONETARY_CRNCYSTR.
4765         * locale/C-monetary.c (conversion_rate): New variable.
4766         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
4767         element.
4769 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
4771         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
4772         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
4774 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
4776         * elf/Makefile (tst-auxv): New test.
4777         * elf/tst-auxv.c: New
4778         * elf/rtld.c (dl_main): Adjust AT_EXECFN
4780 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
4782         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
4783         (hidden_proto): Caller changed.
4784         (hidden_tls_proto): New macro.
4785         (libc_hidden_tls_proto): Likewise.
4786         (rtld_hidden_tls_proto): Likewise.
4787         (libm_hidden_tls_proto): Likewise.
4788         (libresolv_hidden_tls_proto): Likewise.
4789         (librt_hidden_tls_proto): Likewise.
4790         (libdl_hidden_tls_proto): Likewise.
4791         (libnss_files_hidden_tls_proto): Likewise.
4792         (libnsl_hidden_tls_proto): Likewise.
4793         (libnss_nisplus_hidden_tls_proto): Likewise.
4794         (libutil_hidden_tls_proto): Likewise.
4796 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
4798         [BZ #10253]
4799         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
4800         (decompose_rpath): Defer expansion to fillin_rpath.
4801         (_dl_init_paths): Pass linkmap to fillin_rpath.
4803 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4805         * benchtests/Makefile: Add strsep.
4806         * benchtests/bench-strsep.c: New file: strsep benchtest.
4807         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
4809 2013-11-18  Andreas Schwab  <schwab@suse.de>
4811         * locale/programs/locale.c (show_info) [case byte]: Check for
4812         '\377' instead of '\177'.
4813         * locale/C-monetary.c (not_available): Always use "\377".
4814         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
4815         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
4816         detect unavailable sign_posn locale elements.
4817         * locale/localeconv.c (__localeconv): For grouping and
4818         mon_grouping handle "\177" and "\377" like no grouping.
4819         (INT_ELEM): New macro.  Use it to set all numeric members.
4820         * locale/programs/ld-monetary.c (monetary_read)
4821         <tok_mon_grouping>: Normalize single -1 to the empty string.
4822         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
4823         Likewise.
4825 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
4827         [BZ #16055]
4828         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
4829         when we match (nil).
4830         * stdio-common/tst-sscanf.c (struct test): Add testcase.
4832 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
4834         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
4835         (NO_TEST_INLINE): Update value.
4836         (ERRNO_UNCHANGED): Likewise.
4837         (ERRNO_EDOM): Likewise.
4838         (ERRNO_ERANGE): Likewise.
4839         (IGNORE_RESULT): Likewise.
4840         (check_float_internal): Check signs of NaN results if
4841         TEST_NAN_SIGN used.
4842         (check_complex): Pass TEST_NAN_SIGN flag through to second
4843         check_float_internal call.
4844         (copysign_test_data): Add tests with quiet NaNs as second
4845         argument.  Use TEST_NAN_SIGN.
4846         (fabs_test_data): Add test of negative quiet NaN argument.  Use
4847         TEST_NAN_SIGN.
4848         (signbit_test_data): Add tests of quiet NaN argument.
4849         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
4851         * math/gen-libm-test.pl (show_exceptions): Take extra argument
4852         $ignore_result.
4853         (parse_args): Handle function results specified as IGNORE.
4854         * math/libm-test.inc (IGNORE_RESULT): New macro.
4855         (check_float_internal): Do not check numerical result if flag
4856         IGNORE_RESULT set.
4857         (check_complex): Pass through IGNORE_RESULT to second
4858         check_float_internal call.
4859         (check_int): Do not check numerical result if flag IGNORE_RESULT
4860         set.
4861         (check_long): Likewise.
4862         (check_bool): Likewise.
4863         (check_longlong): Likewise.
4864         (lrint_test_data): Add tests of infinite and NaN arguments.
4865         (lrint_tonearest_test_data): Likewise.
4866         (lrint_towardzero_test_data): Likewise.
4867         (lrint_downward_test_data): Likewise.
4868         (lrint_upward_test_data): Likewise.
4869         (llrint_test_data): Likewise.
4870         (llrint_tonearest_test_data): Likewise.
4871         (llrint_towardzero_test_data): Likewise.
4872         (llrint_downward_test_data): Likewise.
4873         (llrint_upward_test_data): Likewise.
4874         (lround_test_data): Likewise.
4875         (llround_test_data): Likewise.
4877         * math/libm-test.inc (NO_TEST_INLINE): New macro.
4878         (ERRNO_UNCHANGED): Update value.
4879         (ERRNO_EDOM): Likewise.
4880         (ERRNO_ERANGE): Likewise.
4881         (NO_TEST_INLINE_FLOAT): New macro.
4882         (NO_TEST_INLINE_DOUBLE): Likewise.
4883         (enable_test): New function.
4884         (RUN_TEST_f_f): Check enable_test before running test.
4885         (RUN_TEST_2_f): Likewise.
4886         (RUN_TEST_fff_f): Likewise.
4887         (RUN_TEST_c_f): Likewise.
4888         (RUN_TEST_f_f1): Likewise.
4889         (RUN_TEST_fF_f1): Likewise.
4890         (RUN_TEST_fI_f1): Likewise.
4891         (RUN_TEST_ffI_f1): Likewise.
4892         (RUN_TEST_c_c): Likewise.
4893         (RUN_TEST_cc_c): Likewise.
4894         (RUN_TEST_f_i): Likewise.
4895         (RUN_TEST_f_i_tg): Likewise.
4896         (RUN_TEST_ff_i_tg): Likewise.
4897         (RUN_TEST_f_b): Likewise.
4898         (RUN_TEST_f_b_tg): Likewise.
4899         (RUN_TEST_f_l): Likewise.
4900         (RUN_TEST_f_L): Likewise.
4901         (RUN_TEST_fFF_11): Likewise.
4902         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
4903         conditionals.
4904         (cosh_test_data): Likewise.
4905         (exp_test_data): Likewise.
4906         (expm1_test_data): Likewise.
4907         (hypot_test_data): Likewise.
4908         (pow_test_data): Likewise.
4909         (sinh_test_data): Likewise.
4910         (tanh_test_data): Likewise.
4911         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
4912         flags argument.
4914         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
4915         tests with quiet NaN input and output.
4916         (acosh_test_data): Likewise.
4917         (asin_test_data): Likewise.
4918         (asinh_test_data): Likewise.
4919         (atan_test_data): Likewise.
4920         (atanh_test_data): Likewise.
4921         (atan2_test_data): Likewise.
4922         (cbrt_test_data): Likewise.
4923         (cos_test_data): Likewise.
4924         (cosh_test_data): Likewise.
4925         (erf_test_data): Likewise.
4926         (erfc_test_data): Likewise.
4927         (exp_test_data): Likewise.
4928         (exp10_test_data): Likewise.
4929         (exp2_test_data): Likewise.
4930         (expm1_test_data): Likewise.
4931         (hypot_test_data): Likewise.
4932         (j0_test_data): Likewise.
4933         (j1_test_data): Likewise.
4934         (jn_test_data): Likewise.
4935         (lgamma_test_data): Likewise.
4936         (log_test_data): Likewise.
4937         (log10_test_data): Likewise.
4938         (log1p_test_data): Likewise.
4939         (log2_test_data): Likewise.
4940         (pow_test_data): Likewise.
4941         (scalb_test_data): Likewise.
4942         (sin_test_data): Likewise.
4943         (sincos_test_data): Likewise.
4944         (sinh_test_data): Likewise.
4945         (tan_test_data): Likewise.
4946         (tanh_test_data): Likewise.
4947         (tgamma_test_data): Likewise.
4948         (y0_test_data): Likewise.
4949         (y1_test_data): Likewise.
4950         (yn_test_data): Likewise.
4952         [BZ #16167]
4953         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
4954         argument being NaN and avoid computations with second argument in
4955         that case.
4956         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4957         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4958         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4960 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
4962         * locale/iso-639.def: Add Chitwani Tharu (the).
4964 2013-11-14  Andreas Schwab  <schwab@suse.de>
4966         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
4967         word instead of empty string.
4969 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4972         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
4973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4974         (__fe_nomask_env): Likewise.
4976 2013-11-13  Steve Ellcey  <sellcey@mips.com>
4978         * benchtests/bench-timing.h: Include time.h.
4980 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
4982         [BZ #15997]
4983         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
4984         to 3.4.0 for x32.
4985         * sysdeps/unix/sysv/linux/configure: Regenerated.
4987 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
4989         [BZ #16151]
4990         * stdlib/strtod_l.c (round_and_return): Do not consider
4991         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
4992         exponent one less than half the least subnormal exponent.
4993         * stdlib/test-strtod-round-data: Add more tests.
4994         * stdlib/tst-strtod-round.c (tests): Regenerated.
4996 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4998         [BZ #14143]
4999         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
5000         (__fe_mask_env): Likewise.
5001         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
5002         libm_hidden_proto and add function prototype.
5003         (__fe_mask_env): Add function prototype.
5004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5005         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
5006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5007         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
5008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5009         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
5011 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5013         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
5014         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
5016 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5018         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
5019         of htab_find_slot().
5021 2013-11-11  David S. Miller  <davem@davemloft.net>
5023         [BZ #16150]
5024         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
5025         symbol in the non-vis3 case in static builds.
5026         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
5027         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
5028         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
5029         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
5031 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
5033         [BZ #387]
5034         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
5035         it is empty.
5037 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5039         * benchtests/Makefile: Add bench-strtod.
5040         * benchtests/bench-strtod.c: New file: strtod benchtest
5042 2013-11-11  Andreas Schwab  <schwab@suse.de>
5044         [BZ #16153]
5045         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
5046         terminating NUL in key length.
5048 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5050         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
5051         Add artificial ODP entry for vDSO symbol for PPC64.
5052         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
5053         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5055 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
5057         [BZ #15374]
5058         * nss/getent.c (services_keys): Recognize services starting with digit.
5060 2013-11-06  David S. Miller  <davem@davemloft.net>
5062         [BZ #15985]
5063         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
5064         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
5066 2013-11-06  Will Newton  <will.newton@linaro.org>
5068         * manual/memory.texi (Malloc Examples): Remove register
5069         keyword from examples.
5071 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
5073         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
5075 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
5077         [BZ #6981]
5078         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
5079         depending on [__GCC_IEC_559 > 0].
5080         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
5081         depending on [__GCC_IEC_559_COMPLEX > 0].
5083 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
5085         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
5086         to iso-639.def.
5088 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
5090         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
5092 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
5094         [BZ #16112]
5095         * malloc/malloc (malloc_info): Do not handle first bin as
5096         special case.
5098 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
5100         * locale/iso-639.def: Add Central Nahuatl (nhn).
5102 2013-11-01  Bruno Haible  <bruno@clisp.org>
5104         [BZ #7003]
5105         * manual/math.texi (BSD Random): Specify range upper bound as
5106         in POSIX.
5108 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
5110         * locale/iso-639.def: Add Meadow Mari (mhr).
5112 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
5114         [BZ #14752], [BZ #15763]
5115         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
5116         Validate name.
5117         * rt/tst_shm.c: Add test for escaping directory.
5119 2013-10-31  Andreas Schwab  <schwab@suse.de>
5121         [BZ #15917]
5122         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
5123         followed by 'x' as part of digit sequence.
5124         * stdio-common/tst-sscanf.c (double_tests2): New tests.
5126 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
5128         [BZ #16037]
5129         * configure.ac: allow GNU Make 4.0 and greater.
5130         * configure: Regenerated.
5132 2013-10-30  Will Newton  <will.newton@linaro.org>
5134         [BZ #16038]
5135         * malloc/hooks.c (memalign_check): Limit alignment to the
5136         maximum representable power of two.
5137         * malloc/malloc.c (__libc_memalign): Likewise.
5138         * malloc/tst-memalign.c (do_test): Add test for very
5139         large alignment values.
5140         * malloc/tst-posix_memalign.c (do_test): Likewise.
5142 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
5144         [BZ #11087]
5145         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
5146         (munmap_chunk): Likewise.
5147         (mremap_chunk): Likewise.
5149 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
5151         [BZ #15799]
5152         * stdlib/div.c (div): Remove obsolete code.
5153         * stdlib/ldiv.c (ldiv): Likewise.
5154         * stdlib/lldiv.c (lldiv): Likewise.
5156 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5158         [BZ #16071]
5159         * nss/nss_files/files-XXX.c (get_contents_ret): New
5160         enumerator.
5161         (get_contents): New function.
5162         (internal_getent): Use it.  Expand size of LINEBUFLEN.
5164 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
5166         * configure.in: Moved to ...
5167         * configure.ac: ... here. Change reference to configure.in
5168         to configure.ac.
5169         * sysdeps/arm/preconfigure.ac: ... here.
5170         configure.in to configure.ac.
5171         * sysdeps/gnu/configure.in: Moved to ...
5172         * sysdeps/gnu/configure.ac: ... here.
5173         * sysdeps/i386/configure.in: Moved to ...
5174         * sysdeps/i386/configure.ac: ... here.
5175         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
5176         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
5177         * sysdeps/mach/configure.in: Moved to ...
5178         * sysdeps/mach/configure.ac: ... here.
5179         * sysdeps/mach/hurd/configure.in: Moved to ...
5180         * sysdeps/mach/hurd/configure.ac: ... here.
5181         * sysdeps/powerpc/configure.in: Moved to ...
5182         * sysdeps/powerpc/configure.ac: ... here.
5183         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
5184         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
5185         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
5186         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
5187         * sysdeps/s390/s390-32/configure.in: Moved to ...
5188         * sysdeps/s390/s390-32/configure.ac: ... here.
5189         * sysdeps/s390/s390-64/configure.in: Moved to ...
5190         * sysdeps/s390/s390-64/configure.ac: ... here.
5191         * sysdeps/sh/configure.in: Moved to ...
5192         * sysdeps/sh/configure.ac: ... here.
5193         * sysdeps/sparc/configure.in: Moved to ...
5194         * sysdeps/sparc/configure.ac: ... here.
5195         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
5196         * sysdeps/unix/sysv/linux/configure.ac: ... here.
5197         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
5198         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
5199         * sysdeps/x86_64/configure.in: Moved to ...
5200         * sysdeps/x86_64/configure.ac: ... here.
5201         * sysdeps/x86_64/preconfigure.in: Moved to ...
5202         * sysdeps/x86_64/preconfigure.ac: ... here.
5203         * aclocal.m4: Change reference to configure.in to configure.ac.
5204         * config.h.in: Likewise.
5205         * manual/install.texi: Likewise.
5206         * manual/maint.texi: Likewise.
5207         * Makefile: Likewise.
5208         * malloc/Makefile: Likewise.
5209         * nscd/Makefile: Likewise.
5210         * Makeconfig: Change reference to configure.in and
5211         preconfigure.in to configure.ac and preconfigure.ac
5212         respectively.
5213         * INSTALL: Regenerated.
5214         * configure: Likewise.
5215         * sysdeps/gnu/configure: Likewise.
5216         * sysdeps/i386/configure: Likewise.
5217         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
5218         * sysdeps/mach/configure: Likewise.
5219         * sysdeps/mach/hurd/configure: Likewise.
5220         * sysdeps/powerpc/configure: Likewise.
5221         * sysdeps/powerpc/powerpc32/configure: Likewise.
5222         * sysdeps/powerpc/powerpc64/configure: Likewise.
5223         * sysdeps/s390/s390-32/configure: Likewise.
5224         * sysdeps/s390/s390-64/configure: Likewise.
5225         * sysdeps/sh/configure: Likewise.
5226         * sysdeps/sparc/configure: Likewise.
5227         * sysdeps/unix/sysv/linux/configure: Likewise.
5228         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
5229         * sysdeps/x86_64/configure: Likewise.
5230         * sysdeps/x86_64/preconfigure: Likewise.
5232 2013-10-29  Andreas Schwab  <schwab@suse.de>
5234         * stdio-common/Makefile (tst-swscanf-ENV): Define.
5236 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5238         * benchtests/pow-inputs: Add new inputs.
5240         * benchtests/exp-inputs: Add new inputs.
5242         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
5243         conditional check for return value.
5244         (__cos32): Likewise.
5246 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5248         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
5249         to provide a boost for large inputs with word alignment.
5250         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
5251         implementation based on optimized PPC64 strcpy.
5252         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
5253         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
5254         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
5255         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
5257 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
5259         [BZ #2801]
5260         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
5262 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
5264         [BZ #14876]
5265         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
5266         * time/tst-strptime.c (day_tests): Add testcase.
5268 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
5270         [BZ #14029]
5271         * manual/pattern.texi: Acknowledge that fnmatch can fail.
5273 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
5275         [BZ #16074]
5276         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
5277         MAP_FAILED on error.
5279 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
5281         [BZ #16072]
5282         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
5283         heap for large requests.
5285 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
5287         [BZ #9954]
5288         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
5289         result if the result has no associated interface.
5290         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
5291         interface for all 127.X.Y.Z addresses.
5293 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
5295         * locale/iso-639.def: Add Ligurian (lij)
5297 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
5299         [BZ #15825]
5300         * sunrpc/rpc_main.c: Document rpcgen -5.
5302 2013-10-19  Michael Stahl  <mstahl@redhat.com>
5304         * elf/rtld.c (do_preload): Print the reason why preloading failed.
5306 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
5308         [BZ #10278]
5309         * posix/glob.c: Match only directories when trailing slash is present.
5310         * posix/tst-gnuglob.c (my_opendir): Do not open files.
5311         (main): Add testcase.
5313 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
5315         [BZ #15670]
5316         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
5318 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
5320         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
5321         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
5322         AUTH_DES and cindex for FIPS 140-2.
5323         (DES Encryption): Add cindex FIPS 46-3.
5325         * locale/locarchive.h (struct locarhandle): Add fname.
5326         * locale/programs/localedef.c (main): Pass ARGV[remaining]
5327         if an optional argument was specified to --list-archive,
5328         otherwise NULL.
5329         * locale/programs/locarchive.c (show_archive_content): Take new
5330         argument fname and pass it via ah.fname to open_archive.
5331         * locale/programs/localedef.h: Update decl.
5332         (open_archive): If AH->fname is non-null, open that file
5333         rather than the default file name, and don't ignore ENOENT.
5334         (create_archive): Set AH.fname to NULL.
5335         (delete_locales_from_archive): Likewise.
5336         (add_locales_to_archive): Likewise.
5337         * locale/programs/locfile.c (write_all_categories): Likewise.
5339 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
5340             Aldy Hernandez  <aldyh@redhat.com>
5342         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
5343         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
5344         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
5345         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
5346         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
5347         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
5348         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
5349         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
5350         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
5351         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
5352         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
5353         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
5354         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
5355         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
5356         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
5357         Likewise.
5358         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
5359         Likewise.
5360         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
5361         Likewise.
5362         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
5363         Likewise.
5364         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
5365         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
5366         Likewise.
5367         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
5368         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
5369         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
5370         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
5371         Likewise.
5372         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
5373         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
5374         * sysdeps/powerpc/preconfigure: Likewise.
5375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
5376         Likewise.
5377         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
5378         Replace contents of file by #include of <fenv_libc.h>.
5379         * sysdeps/powerpc/soft-fp/sfp-machine.h
5380         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
5381         and <sys/prctl.h>.
5382         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
5383         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
5384         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
5385         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
5386         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
5387         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
5388         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
5389         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
5390         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
5391         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
5392         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
5393         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
5394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5395         Allow copysignl PLT reference to be missing.
5397 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
5398             Joseph Myers  <joseph@codesourcery.com
5400         [BZ #15948]
5401         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
5402         single character.
5403         (add_to_tablewc): Assert sequence of wide characters is nonempty.
5405 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5407         * elf/tst-tls-dlinfo.c: Don't include tls.h.
5408         * elf/tst-tls1.c: Likewise.
5409         * elf/tst-tls10.h: Likewise.
5410         * elf/tst-tls14.c: Likewise.
5411         * elf/tst-tls2.c: Likewise.
5412         * elf/tst-tls3.c: Likewise.
5413         * elf/tst-tls4.c: Likewise.
5414         * elf/tst-tls5.c: Likewise.
5415         * elf/tst-tls6.c: Likewise.
5416         * elf/tst-tls7.c: Likewise.
5417         * elf/tst-tls8.c: Likewise.
5418         * elf/tst-tls9.c: Likewise.
5419         * elf/tst-tlsmod1.c: Likewise.
5420         * elf/tst-tlsmod13.c: Likewise.
5421         * elf/tst-tlsmod13a.c: Likewise.
5422         * elf/tst-tlsmod14a.c: Likewise.
5423         * elf/tst-tlsmod16a.c: Likewise.
5424         * elf/tst-tlsmod16b.c: Likewise.
5425         * elf/tst-tlsmod2.c: Likewise.
5426         * elf/tst-tlsmod3.c: Likewise.
5427         * elf/tst-tlsmod4.c: Likewise.
5428         * elf/tst-tlsmod5.c: Likewise.
5429         * elf/tst-tlsmod6.c: Likewise.
5431 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
5433         [BZ #12486]
5434         * malloc/malloc.c: remove checks for statistics.
5436 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
5438         [BZ #15277]
5439         * inet/inet_net.c (inet_network): Detect additional invalid strings.
5440         * inet/tst-network.c: Add testcase.
5442 2013-10-17  Andreas Schwab  <schwab@suse.de>
5444         [BZ #15218]
5445         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
5446         to determine canonical name.
5448 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
5450         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
5451         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
5452         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5453         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5454         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5455         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5456         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5457         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5458         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5459         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5460         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5461         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5462         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5463         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5464         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5465         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5466         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5467         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5468         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5469         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5470         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5471         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5472         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5473         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
5474         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
5475         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5476         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5477         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
5478         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5479         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
5480         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5481         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5482         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5483         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5484         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5485         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5486         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5487         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5488         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5489         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5490         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5491         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5492         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5493         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5494         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5495         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5496         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5497         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5498         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5499         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5500         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5501         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5502         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5503         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5504         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5505         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5506         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5507         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5509 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
5511         [BZ #16041]
5512         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
5513         make result into a quiet NaN.
5515 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
5517         * soft-fp/adddf3.c: Fix horizontal whitespace.
5518         * soft-fp/addsf3.c: Likewise.
5519         * soft-fp/addtf3.c: Likewise.
5520         * soft-fp/divdf3.c: Likewise.
5521         * soft-fp/divsf3.c: Likewise.
5522         * soft-fp/divtf3.c: Likewise.
5523         * soft-fp/double.h: Likewise.
5524         * soft-fp/eqdf2.c: Likewise.
5525         * soft-fp/eqsf2.c: Likewise.
5526         * soft-fp/eqtf2.c: Likewise.
5527         * soft-fp/extenddftf2.c: Likewise.
5528         * soft-fp/extended.h: Likewise.
5529         * soft-fp/extendsfdf2.c: Likewise.
5530         * soft-fp/extendsftf2.c: Likewise.
5531         * soft-fp/extendxftf2.c: Likewise.
5532         * soft-fp/fixdfdi.c: Likewise.
5533         * soft-fp/fixdfsi.c: Likewise.
5534         * soft-fp/fixdfti.c: Likewise.
5535         * soft-fp/fixsfdi.c: Likewise.
5536         * soft-fp/fixsfsi.c: Likewise.
5537         * soft-fp/fixsfti.c: Likewise.
5538         * soft-fp/fixtfdi.c: Likewise.
5539         * soft-fp/fixtfsi.c: Likewise.
5540         * soft-fp/fixtfti.c: Likewise.
5541         * soft-fp/fixunsdfdi.c: Likewise.
5542         * soft-fp/fixunsdfsi.c: Likewise.
5543         * soft-fp/fixunsdfti.c: Likewise.
5544         * soft-fp/fixunssfdi.c: Likewise.
5545         * soft-fp/fixunssfsi.c: Likewise.
5546         * soft-fp/fixunssfti.c: Likewise.
5547         * soft-fp/fixunstfdi.c: Likewise.
5548         * soft-fp/fixunstfsi.c: Likewise.
5549         * soft-fp/fixunstfti.c: Likewise.
5550         * soft-fp/floatdidf.c: Likewise.
5551         * soft-fp/floatdisf.c: Likewise.
5552         * soft-fp/floatditf.c: Likewise.
5553         * soft-fp/floatsidf.c: Likewise.
5554         * soft-fp/floatsisf.c: Likewise.
5555         * soft-fp/floatsitf.c: Likewise.
5556         * soft-fp/floattidf.c: Likewise.
5557         * soft-fp/floattisf.c: Likewise.
5558         * soft-fp/floattitf.c: Likewise.
5559         * soft-fp/floatundidf.c: Likewise.
5560         * soft-fp/floatundisf.c: Likewise.
5561         * soft-fp/floatunditf.c: Likewise.
5562         * soft-fp/floatunsidf.c: Likewise.
5563         * soft-fp/floatunsisf.c: Likewise.
5564         * soft-fp/floatunsitf.c: Likewise.
5565         * soft-fp/floatuntidf.c: Likewise.
5566         * soft-fp/floatuntisf.c: Likewise.
5567         * soft-fp/floatuntitf.c: Likewise.
5568         * soft-fp/fmadf4.c: Likewise.
5569         * soft-fp/fmasf4.c: Likewise.
5570         * soft-fp/fmatf4.c: Likewise.
5571         * soft-fp/gedf2.c: Likewise.
5572         * soft-fp/gesf2.c: Likewise.
5573         * soft-fp/getf2.c: Likewise.
5574         * soft-fp/ledf2.c: Likewise.
5575         * soft-fp/lesf2.c: Likewise.
5576         * soft-fp/letf2.c: Likewise.
5577         * soft-fp/muldf3.c: Likewise.
5578         * soft-fp/mulsf3.c: Likewise.
5579         * soft-fp/multf3.c: Likewise.
5580         * soft-fp/negdf2.c: Likewise.
5581         * soft-fp/negsf2.c: Likewise.
5582         * soft-fp/negtf2.c: Likewise.
5583         * soft-fp/op-1.h: Likewise.
5584         * soft-fp/op-2.h: Likewise.
5585         * soft-fp/op-4.h: Likewise.
5586         * soft-fp/op-8.h: Likewise.
5587         * soft-fp/op-common.h: Likewise.
5588         * soft-fp/quad.h: Likewise.
5589         * soft-fp/single.h: Likewise.
5590         * soft-fp/soft-fp.h: Likewise.
5591         * soft-fp/sqrtdf2.c: Likewise.
5592         * soft-fp/sqrtsf2.c: Likewise.
5593         * soft-fp/sqrttf2.c: Likewise.
5594         * soft-fp/subdf3.c: Likewise.
5595         * soft-fp/subsf3.c: Likewise.
5596         * soft-fp/subtf3.c: Likewise.
5597         * soft-fp/truncdfsf2.c: Likewise.
5598         * soft-fp/trunctfdf2.c: Likewise.
5599         * soft-fp/trunctfsf2.c: Likewise.
5600         * soft-fp/trunctfxf2.c: Likewise.
5601         * soft-fp/unorddf2.c: Likewise.
5602         * soft-fp/unordsf2.c: Likewise.
5603         * soft-fp/unordtf2.c: Likewise.
5605 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
5607         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
5608         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
5610 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
5612         * elf/dl-libc.c: Clear initfini list after freeing.
5614 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
5616         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
5617         * soft-fp/addsf3.c: Likewise.
5618         * soft-fp/addtf3.c: Likewise.
5619         * soft-fp/divdf3.c: Likewise.
5620         * soft-fp/divsf3.c: Likewise.
5621         * soft-fp/divtf3.c: Likewise.
5622         * soft-fp/double.h: Likewise.
5623         * soft-fp/eqdf2.c: Likewise.
5624         * soft-fp/eqsf2.c: Likewise.
5625         * soft-fp/eqtf2.c: Likewise.
5626         * soft-fp/extenddftf2.c: Likewise.
5627         * soft-fp/extended.h: Likewise.
5628         * soft-fp/extendsfdf2.c: Likewise.
5629         * soft-fp/extendsftf2.c: Likewise.
5630         * soft-fp/extendxftf2.c: Likewise.
5631         * soft-fp/fixdfdi.c: Likewise.
5632         * soft-fp/fixdfsi.c: Likewise.
5633         * soft-fp/fixdfti.c: Likewise.
5634         * soft-fp/fixsfdi.c: Likewise.
5635         * soft-fp/fixsfsi.c: Likewise.
5636         * soft-fp/fixsfti.c: Likewise.
5637         * soft-fp/fixtfdi.c: Likewise.
5638         * soft-fp/fixtfsi.c: Likewise.
5639         * soft-fp/fixtfti.c: Likewise.
5640         * soft-fp/fixunsdfdi.c: Likewise.
5641         * soft-fp/fixunsdfsi.c: Likewise.
5642         * soft-fp/fixunsdfti.c: Likewise.
5643         * soft-fp/fixunssfdi.c: Likewise.
5644         * soft-fp/fixunssfsi.c: Likewise.
5645         * soft-fp/fixunssfti.c: Likewise.
5646         * soft-fp/fixunstfdi.c: Likewise.
5647         * soft-fp/fixunstfsi.c: Likewise.
5648         * soft-fp/fixunstfti.c: Likewise.
5649         * soft-fp/floatdidf.c: Likewise.
5650         * soft-fp/floatdisf.c: Likewise.
5651         * soft-fp/floatditf.c: Likewise.
5652         * soft-fp/floatsidf.c: Likewise.
5653         * soft-fp/floatsisf.c: Likewise.
5654         * soft-fp/floatsitf.c: Likewise.
5655         * soft-fp/floattidf.c: Likewise.
5656         * soft-fp/floattisf.c: Likewise.
5657         * soft-fp/floattitf.c: Likewise.
5658         * soft-fp/floatundidf.c: Likewise.
5659         * soft-fp/floatundisf.c: Likewise.
5660         * soft-fp/floatunsidf.c: Likewise.
5661         * soft-fp/floatunsisf.c: Likewise.
5662         * soft-fp/floatuntidf.c: Likewise.
5663         * soft-fp/floatuntisf.c: Likewise.
5664         * soft-fp/floatuntitf.c: Likewise.
5665         * soft-fp/fmadf4.c: Likewise.
5666         * soft-fp/fmasf4.c: Likewise.
5667         * soft-fp/fmatf4.c: Likewise.
5668         * soft-fp/gedf2.c: Likewise.
5669         * soft-fp/gesf2.c: Likewise.
5670         * soft-fp/getf2.c: Likewise.
5671         * soft-fp/ledf2.c: Likewise.
5672         * soft-fp/lesf2.c: Likewise.
5673         * soft-fp/letf2.c: Likewise.
5674         * soft-fp/muldf3.c: Likewise.
5675         * soft-fp/mulsf3.c: Likewise.
5676         * soft-fp/multf3.c: Likewise.
5677         * soft-fp/negdf2.c: Likewise.
5678         * soft-fp/negsf2.c: Likewise.
5679         * soft-fp/negtf2.c: Likewise.
5680         * soft-fp/op-1.h: Likewise.
5681         * soft-fp/op-2.h: Likewise.
5682         * soft-fp/op-4.h: Likewise.
5683         * soft-fp/op-8.h: Likewise.
5684         * soft-fp/op-common.h: Likewise.
5685         * soft-fp/quad.h: Likewise.
5686         * soft-fp/single.h: Likewise.
5687         * soft-fp/soft-fp.h: Likewise.
5688         * soft-fp/sqrtdf2.c: Likewise.
5689         * soft-fp/sqrtsf2.c: Likewise.
5690         * soft-fp/sqrttf2.c: Likewise.
5691         * soft-fp/subdf3.c: Likewise.
5692         * soft-fp/subsf3.c: Likewise.
5693         * soft-fp/subtf3.c: Likewise.
5694         * soft-fp/truncdfsf2.c: Likewise.
5695         * soft-fp/trunctfdf2.c: Likewise.
5696         * soft-fp/trunctfsf2.c: Likewise.
5697         * soft-fp/trunctfxf2.c: Likewise.
5698         * soft-fp/unorddf2.c: Likewise.
5699         * soft-fp/unordsf2.c: Likewise.
5700         * soft-fp/unordtf2.c: Likewise.
5702 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
5704         [BZ #15672]
5705         * misc/error.c (error_tail): Fix possible buffer overflow.
5707 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
5709         [BZ #13028]
5710         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
5711         address.
5713 2013-10-14  P. J. McDermott  <pj@pehjota.net>
5715         [BZ #832]
5716         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
5717         testing pipefail option.
5719 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
5721         * soft-fp/double.h: Indent preprocessor directives inside #if.
5722         * soft-fp/extended.h: Likewise.
5723         * soft-fp/op-2.h: Likewise.
5724         * soft-fp/op-4.h: Likewise.
5725         * soft-fp/op-common.h: Likewise.
5726         * soft-fp/quad.h: Likewise.
5727         * soft-fp/single.h: Likewise.
5728         * soft-fp/soft-fp.h: Likewise.
5730 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
5732         * iconv/iconv_prog.c: Fix typos.
5733         * stdio-common/psiginfo-data.h: Likewise.
5735 2013-10-12   Reuben Thomas <rrt@sc3d.org>
5737         [BZ #15764]
5738         * locale/setlocale.c: Fix typo.
5740 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
5742         [BZ #16036]
5743         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
5744         signaling NaN arguments.
5745         * soft-fp/unordsf2.c (__unordsf2): Likewise.
5746         * soft-fp/unordtf2.c (__unordtf2): Likewise.
5748         [BZ #14910]
5749         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
5750         unordered operands.
5751         * soft-fp/gesf2.c (__gesf2): Likewise.
5752         * soft-fp/getf2.c (__getf2): Likewise.
5753         * soft-fp/ledf2.c (__ledf2): Likewise.
5754         * soft-fp/lesf2.c (__lesf2): Likewise.
5755         * soft-fp/letf2.c (__letf2): Likewise.
5757         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
5758         * soft-fp/eqsf2.c (__eqsf2): Likewise.
5759         * soft-fp/eqtf2.c (__eqtf2): Likewise.
5760         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
5761         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
5762         * soft-fp/fixdfti.c (__fixdfti): Likewise.
5763         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
5764         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
5765         * soft-fp/fixsfti.c (__fixsfti): Likewise.
5766         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
5767         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
5768         * soft-fp/fixtfti.c (__fixtfti): Likewise.
5769         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
5770         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
5771         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
5772         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
5773         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
5774         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
5775         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
5776         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
5777         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
5778         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
5779         * soft-fp/floatdisf.c (__floatdisf): Likewise.
5780         * soft-fp/floatsisf.c (__floatsisf): Likewise.
5781         * soft-fp/floattidf.c (__floattidf): Likewise.
5782         * soft-fp/floattisf.c (__floattisf): Likewise.
5783         * soft-fp/floattitf.c (__floattitf): Likewise.
5784         * soft-fp/floatundidf.c (__floatundidf): Likewise.
5785         * soft-fp/floatundisf.c (__floatundisf): Likewise.
5786         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
5787         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
5788         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
5789         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
5790         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
5791         * soft-fp/gesf2.c (__gesf2): Likewise.
5792         * soft-fp/getf2.c (__getf2): Likewise.
5793         * soft-fp/ledf2.c (__ledf2): Likewise.
5794         * soft-fp/lesf2.c (__lesf2): Likewise.
5795         * soft-fp/letf2.c (__letf2): Likewise.
5797         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
5798         Undefine and redefine.
5799         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
5800         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
5801         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
5802         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
5803         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5804         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
5805         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5806         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
5807         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5808         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
5809         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5810         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
5811         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5812         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
5813         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5815         [BZ #16032]
5816         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
5817         without decrementing exponent if mantissa >= that for the
5818         denominator, not >.
5819         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
5820         denominator, not >.  Decrement exponent in < case instead of
5821         incrementing in >= case.
5822         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
5823         without decrementing exponent if mantissa >= that for the
5824         denominator, not >.
5826         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
5827         computing saturated result for unsigned overflow.
5829 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5830             Jeff Law  <law@redhat.com>
5832         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
5833         (atan2Mp): Add systemtap probe marker.
5834         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
5835         (__ieee754_log): Add systemtap probe marker.
5836         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
5837         (atanMp): Add systemtap probe marker.
5838         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
5839         (tanMp): Add systemtap probe marker.
5840         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
5841         (__slowexp): Add systemtap probe marker.
5842         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
5843         (__slowpow): Add systemtap probe marker.
5844         * manual/probes.texi: Document probes.
5846 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
5848         [BZ #15362]
5849         * libio/fileops.c (_IO_new_file_write): Return count of bytes
5850         written.
5851         (_IO_new_file_xsputn): Don't return EOF if nothing has been
5852         written.
5853         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
5854         written to buffer but not flushed.
5855         * libio/iofwrite_u.c:  Likewise.
5856         * libio/iopadn.c:  Return bytes returned even if EOF was
5857         encountered.
5858         * libio/iowpadn.c:  Likewise.
5859         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
5860         if _IO_padn does not write the whole buffer.
5861         [!COMPILE_WPRINTF] (PAD): Likewise.
5863 2013-10-10  David S. Miller  <davem@davemloft.net>
5865         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
5866         directory block.
5868 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
5870         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
5871         instead of FSF address.
5872         * soft-fp/fixdfti.c: Likewise.
5873         * soft-fp/fixsfti.c: Likewise.
5874         * soft-fp/fixtfti.c: Likewise.
5875         * soft-fp/fixunsdfti.c: Likewise.
5876         * soft-fp/fixunssfti.c: Likewise.
5877         * soft-fp/fixunstfti.c: Likewise.
5878         * soft-fp/floattidf.c: Likewise.
5879         * soft-fp/floattisf.c: Likewise.
5880         * soft-fp/floattitf.c: Likewise.
5881         * soft-fp/floatuntidf.c: Likewise.
5882         * soft-fp/floatuntisf.c: Likewise.
5883         * soft-fp/floatuntitf.c: Likewise.
5884         * soft-fp/trunctfxf2.c: Likewise.
5886         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
5887         * soft-fp/fixdfti.c: Likewise.
5888         * soft-fp/fixsfti.c: Likewise.
5889         * soft-fp/fixtfti.c: Likewise.
5890         * soft-fp/fixunsdfti.c: Likewise.
5891         * soft-fp/fixunssfti.c: Likewise.
5892         * soft-fp/fixunstfti.c: Likewise.
5893         * soft-fp/floattidf.c: Likewise.
5894         * soft-fp/floattisf.c: Likewise.
5895         * soft-fp/floattitf.c: Likewise.
5896         * soft-fp/floatuntidf.c: Likewise.
5897         * soft-fp/floatuntisf.c: Likewise.
5898         * soft-fp/floatuntitf.c: Likewise.
5899         * soft-fp/trunctfxf2.c: Likewise.
5901 2013-10-10  David S. Miller  <davem@davemloft.net>
5903         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5905 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
5907         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5908         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
5909         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
5910         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
5911         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
5912         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
5913         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
5915         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
5916         for NaNs before doing comparisons on argument.
5917         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5918         Likewise.
5920 2013-10-10  Will Newton  <will.newton@linaro.org>
5922         * malloc/hooks.c (memalign_check): Ensure the value of bytes
5923         passed to _int_memalign does not overflow.
5925 2013-10-10  Torvald Riegel  <triegel@redhat.com>
5927         * scripts/bench.pl: Add include-sources directive.
5928         * benchtests/README: Update documentation.
5930 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
5932         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
5933         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
5934         instead of FP_INIT_ROUNDMODE.
5935         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
5936         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
5938         [BZ #16034]
5939         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
5940         copy class of input value.
5941         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
5942         not handle exceptions.
5943         * soft-fp/negsf2.c (__negsf2): Likewise.
5944         * soft-fp/negtf2.c (__negtf2): Likewise.
5945         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
5947 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
5949         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
5950         semicolon.  From Linux kernel.
5952 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
5954         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
5956 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
5958         [BZ #156]
5959         * manual/socket.texi: Added statement about buffer
5960         for gethostbyname2_r.
5962 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
5964         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
5965         Use .p2align directive instead, throughout.
5966         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5967         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5968         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
5969         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5970         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5971         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
5972         * sysdeps/x86_64/strchr.S: Likewise.
5973         * sysdeps/x86_64/strrchr.S: Likewise.
5975 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5977         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
5979         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
5981         * sysdeps/generic/math_private.h (__mpsin1): Remove
5982         declaration.
5983         (__mpcos1): Likewise.
5984         (__mpsin): New argument __range_reduce.
5985         (__mpcos): Likewise.
5986         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5987         (slow): Use __mpsin and __mpcos.
5988         (slow1): Likewise.
5989         (slow2): Likewise.
5990         (sloww): Likewise.
5991         (sloww1): Likewise.
5992         (sloww2): Likewise.
5993         (bsloww): Likewise.
5994         (bsloww1): Likewise.
5995         (bsloww2): Likewise.
5996         (cslow2): Likewise.
5997         (csloww): Likewise.
5998         (csloww1): Likewise.
5999         (csloww2): Likewise.
6000         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
6001         range_reduce.  Merge in __mpsin1.
6002         (__mpcos): Likewise.
6003         (__mpsin1): Remove.
6004         (__mpcos1): Likewise.
6006 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
6008         * locale/loadlocale.c (_nl_intern_locale_data): Use
6009         LOCFILE_ALIGNED_P.
6010         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
6011         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
6012         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
6013         obstack data is appropriately aligned.
6014         (obstack_int32_grow_fast): Likewise.
6015         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
6016         * locale/programs/locfile.c (add_locale_uint32): Likewise.
6017         (add_locale_uint32_array): Likewise.
6019 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
6021         * benchtests/Makefile: Remove ARGLIST and RET variables.
6022         ($(objpfx)bench-%.c): Pass only function name to the script.
6023         * benchtests/README: Update documentation.
6024         * benchtests/acos-inputs: Add new directives.
6025         * benchtests/acosh-inputs: Likewise.
6026         * benchtests/asin-inputs: Likewise.
6027         * benchtests/asinh-inputs: Likewise.
6028         * benchtests/atan-inputs: Likewise.
6029         * benchtests/atanh-inputs: Likewise.
6030         * benchtests/cos-inputs: Likewise.
6031         * benchtests/cosh-inputs: Likewise.
6032         * benchtests/exp-inputs: Likewise.
6033         * benchtests/log-inputs: Likewise.
6034         * benchtests/pow-inputs: Likewise.
6035         * benchtests/rint-inputs: Likewise.
6036         * benchtests/sin-inputs: Likewise.
6037         * benchtests/sinh-inputs: Likewise.
6038         * benchtests/tan-inputs: Likewise.
6039         * benchtests/tanh-inputs: Likewise.
6040         * scripts/bench.pl: Add support for new directives.
6042 2013-10-07  Alan Modra  <amodra@gmail.com>
6044         * README: Fix careless merge.
6046 2013-10-05  Alan Modra  <amodra@gmail.com>
6048         * NEWS: Mention powerpc64le support and bugs fixed.
6049         * README: Both big-endian and little-endian powerpc64 supported.
6051 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6053         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
6054         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
6055         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
6056         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
6058 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
6060         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
6061         match prototype.
6063 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
6065         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
6066         Move -mhard-float appending from
6067         ports/sysdeps/powerpc/powerpc32/Makefile.
6068         [$(with-fp) = yes] (ASFLAGS): Likewise.
6069         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
6070         * sysdeps/powerpc/nofpu: Move directory from
6071         ports/sysdeps/powerpc/nofpu.
6072         * sysdeps/powerpc/soft-fp: Move directory from
6073         ports/sysdeps/powerpc/soft-fp.
6074         * sysdeps/powerpc/powerpc32/405: Move directory from
6075         ports/sysdeps/powerpc/powerpc32/405.
6076         * sysdeps/powerpc/powerpc32/440: Move directory from
6077         ports/sysdeps/powerpc/powerpc32/440.
6078         * sysdeps/powerpc/powerpc32/464: Move directory from
6079         ports/sysdeps/powerpc/powerpc32/464.
6080         * sysdeps/powerpc/powerpc32/476: Move directory from
6081         ports/sysdeps/powerpc/powerpc32/476.
6082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
6083         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
6084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
6085         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
6086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
6087         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
6088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
6089         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
6090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
6091         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
6092         * README: Update for powerpc-*-linux-gnu software floating point
6093         support in libc.
6095         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
6096         case to powerpc/powerpc32*.
6097         * sysdeps/unix/sysv/linux/configure: Regenerated.
6099         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
6100         (_FPU_MASK_OM): Define as 0x04.
6101         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
6102         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
6103         0x00c10080.
6104         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
6105         0x0000003c.
6106         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
6108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
6109         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6110         getcontext_e500.
6111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
6112         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6113         setcontext_e500.
6114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
6115         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
6116         and setcontext_e500.
6118 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
6120         * locale/iso-3166.def: Update iso-1366.def and related occurrences
6122 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6124         * manual/threads.texi (Default Thread Attributes): Fix typo.
6126 2013-10-04  Will Newton  <will.newton@linaro.org>
6128         * malloc/Makefile: Add tst-memalign.
6129         * malloc/tst-memalign.c: New file.
6131         * malloc/tst-posix_memalign.c: Add comments.
6132         (do_test): Add comments and call free on all potentially
6133         allocated pointers. Add space after cast.
6135         * malloc/tst-pvalloc.c: Add comments.
6136         (do_test): Add comments and call free on all potentially
6137         allocated pointers. Remove duplicate check for NULL pointer.
6138         Add space after cast.
6140         * malloc/tst-valloc.c: Add comments.
6141         (do_test): Add comments and call free on all potentially
6142         allocated pointers. Remove duplicate check for NULL pointer.
6143         Add space after cast.
6145 2013-10-04  Alan Modra  <amodra@gmail.com>
6147         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6148         Use stdint types in rather than __attribute__((mode())).
6149         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6151 2013-10-04  Alan Modra  <amodra@gmail.com>
6153         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6154         Correct handling of unaligned relocs for little-endian.
6155         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6157 2013-10-04  Alan Modra  <amodra@gmail.com>
6159         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
6160         * configure: Regenerate.
6161         * nptl/shlib-versions: Powerpc*le starts at 2.18.
6162         * shlib-versions: Likewise.
6164 2013-10-04  Alan Modra  <amodra@gmail.com>
6166         * string/tester.c (test_memrchr): Increment reported test cycle.
6168 2013-10-04  Alan Modra  <amodra@gmail.com>
6170         * string/test-memcpy.c (do_one_test): When reporting errors, print
6171         string address and don't overrun end of string.
6173 2013-10-04  Alan Modra  <amodra@gmail.com>
6175         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
6176         insrdi.  Make better use of reg selection to speed exit slightly.
6177         Schedule entry path a little better.  Remove useless "are we done"
6178         checks on entry to main loop.  Handle wrapping around zero address.
6179         Correct main loop count.  Handle single left-over word from main
6180         loop inline rather than by using loop_small.  Remove extra word
6181         case in loop_small caused by wrong loop count.  Add little-endian
6182         support.
6183         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6184         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
6185         cache hint.
6186         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6187         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
6188         support.  Avoid rlwimi.
6189         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
6191 2013-10-04  Alan Modra  <amodra@gmail.com>
6193         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
6194         insrdi.  Formatting.
6195         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6196         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6197         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6198         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6199         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6200         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
6202 2013-10-04  Alan Modra  <amodra@gmail.com>
6204         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
6205         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6206         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6207         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
6208         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6209         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6210         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6211         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6212         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
6213         use of regs.  Use power7 mtocrf.  Tidy function tails.
6215 2013-10-04  Alan Modra  <amodra@gmail.com>
6217         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
6218         Formatting.  Consistently use rXXX register defines or rN defines.
6219         Use early exit labels that avoid restoring unused non-volatile regs.
6220         Make cr field use more consistent with rWORDn compares.  Rename
6221         regs used as shift registers for unaligned loop, using rN defines
6222         for short lifetime/multiple use regs.
6223         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6224         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
6225         addi 1,1,64 to pop stack frame.  Simplify return value code.
6226         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6228 2013-10-04  Alan Modra  <amodra@gmail.com>
6230         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
6231         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
6232         rather than rlwimi.
6233         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
6234         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
6235         little-endian support.  Correct typos.
6236         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
6237         rather than rlwimi.
6238         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
6239         in loop and entry code to keep "and." results.
6240         (strchr): Add little-endian support.  Comment.  Move cntlzd
6241         earlier in tail.
6242         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
6244 2013-10-04  Alan Modra  <amodra@gmail.com>
6246         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
6247         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
6248         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
6249         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
6251 2013-10-04  Alan Modra  <amodra@gmail.com>
6253         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
6254         (rTMP): Define as r11.
6255         (strcmp): Add little-endian support.  Optimise tail.
6256         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
6257         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6258         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6259         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6260         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6261         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6262         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6264 2013-10-04  Alan Modra  <amodra@gmail.com>
6266         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
6267         little-endian support.  Remove unnecessary "are we done" tests.
6268         Handle "s" wrapping around zero and extremely large "size".
6269         Correct main loop count.  Handle single left-over word from main
6270         loop inline rather than by using small_loop.  Correct comments.
6271         Delete "zero" tail, use "end_max" instead.
6272         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
6274 2013-10-04  Alan Modra  <amodra@gmail.com>
6276         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
6277         support.  Don't branch over align.
6278         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
6279         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
6280         support.  Rearrange tmp reg use to suit.  Comment.
6281         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
6283 2013-10-04  Alan Modra  <amodra@gmail.com>
6285         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
6287 2013-10-04  Alan Modra  <amodra@gmail.com>
6289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
6290         conditional form of branch and link when obtaining pc.
6291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6293 2013-10-04  Alan Modra  <amodra@gmail.com>
6295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
6296         HIWORD/LOWORD.
6297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
6298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
6300 2013-10-04  Alan Modra  <amodra@gmail.com>
6302         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
6303         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
6304         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6305         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
6306         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6307         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6308         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
6309         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6310         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
6311         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
6313 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
6314             Alistair Popple <alistair@ozlabs.au.ibm.com>
6315             Alan Modra <amodra@gmail.com>
6317         [BZ #15723]
6318         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
6319         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
6320         _dl_hwcap access for little-endian.
6321         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
6322         destroy vmx regs when saving unaligned.
6323         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
6324         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
6325         destroy vmx regs when saving unaligned.
6327 2013-10-04  Alan Modra  <amodra@gmail.com>
6329         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
6330         Don't use a union to pack hi/low value.
6332 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
6334         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
6335         for little-endian.
6336         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6337         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
6338         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6339         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6340         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6342 2013-10-04  Alan Modra  <amodra@gmail.com>
6344         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
6345         constants to usual value for .cst8 section, and remove redundant
6346         high address load.
6347         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
6348         constant for 0x1p52.  Load little-endian words of double from
6349         correct stack offsets.
6351 2013-10-04  Alan Modra  <amodra@gmail.com>
6353         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
6354         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
6355         words of double from correct stack offsets.
6356         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
6357         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
6358         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6359         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6360         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6361         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6362         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6363         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
6364         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
6365         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6366         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6367         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6368         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6369         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6370         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6371         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
6372         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
6374 2013-10-04  Alan Modra  <amodra@gmail.com>
6376         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
6377         64-bit int/double union.
6378         (_FPU_SETCW): Likewise.
6379         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
6380         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
6382 2013-10-04  Alan Modra  <amodra@gmail.com>
6384         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
6385         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
6387 2013-10-04  Alan Modra  <amodra@gmail.com>
6389         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
6390         use vector int constants.
6391         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
6393 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
6395         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
6396         array with long long.
6397         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
6398         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
6399         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
6400         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
6401         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
6402         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
6403         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
6404         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
6405         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
6406         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
6407         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
6408         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
6409         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
6411 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
6413         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
6414         (__signbit): Likewise.  Correct for little-endian.
6415         (__signbitl): Call __signbit.
6416         (lrint): Correct for little-endian.
6417         (lrintf): Call lrint.
6419 2013-10-04  Alan Modra  <amodra@gmail.com>
6421         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
6422         union 32-bit int array member with 64-bit int array.
6423         (t515, tm256): Double rather than long double.
6424         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
6426 2013-10-04  Alan Modra  <amodra@gmail.com>
6428         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
6429         Delete.
6430         (IEEE854_LONG_DOUBLE_BIAS): Delete.
6431         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
6432         version of math_ldbl.h.
6434 2013-10-04  Alan Modra  <amodra@gmail.com>
6436         [BZ #15734], [BZ #15735]
6437         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
6438         all uses of ieee875 long double macros and unions.  Simplify test
6439         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
6440         ldbl_extract_mantissa value for ix,iy exponents.  Properly
6441         normalize after ldbl_extract_mantissa, and don't add hidden bit
6442         already handled.  Don't treat low word of ieee854 mantissa like
6443         low word of IBM long double and mask off bit when testing for
6444         zero.
6445         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
6446         all uses of ieee875 long double macros and unions.  Simplify tests
6447         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
6448         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
6449         two1022, instead use their values.  Recognise that tests for large
6450         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
6451         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
6452         Rewrite all uses of ieee875 long double macros and unions.  Simplify
6453         test for 0.0L and nan.  Correct negation.
6454         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
6455         ieee875 long double macros and unions.  Correct output for large
6456         magnitude x.  Correct absolute value calculation.
6457         (__erfcl): Likewise.
6458         * math/libm-test.inc: Add tests for errors discovered in IBM long
6459         double versions of fmodl, remainderl, erfl and erfcl.
6461 2013-10-04  Alan Modra  <amodra@gmail.com>
6463         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
6464         all uses of ieee854 long double macros and unions.  Simplify tests
6465         for long doubles that are fully specified by the high double.
6466         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6467         Likewise.
6468         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
6469         Remove dead code too.
6470         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6471         (__ieee754_ynl): Likewise.
6472         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
6473         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
6474         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6475         Remove dead code too.
6476         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
6477         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6478         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
6479         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
6480         Simplify.
6481         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
6482         Simplify.
6483         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
6484         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
6485         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
6486         Comment on variable precision.
6487         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
6488         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6489         Likewise.
6490         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6491         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6492         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6493         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6494         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
6496 2013-10-04  Alan Modra  <amodra@gmail.com>
6498         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
6499         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
6500         all uses of ieee854 long double macros and unions.
6501         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
6502         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6503         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
6504         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
6505         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
6506         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6507         Likewise.
6508         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
6509         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6510         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
6511         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6512         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6513         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6514         Simplify sign and nan test too.
6515         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
6516         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
6517         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
6518         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
6519         Likewise.
6520         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6521         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
6522         Likewise.
6523         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6524         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6525         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
6526         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
6527         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
6528         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
6530 2013-10-04  Alan Modra  <amodra@gmail.com>
6532         * stdio-common/printf_size.c (__printf_size): Don't use
6533         union ieee854_long_double in fpnum union.
6534         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
6535         signbit macro to retrieve sign from long double.
6536         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
6537         retrieve sign from long double.
6538         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
6539         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
6540         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
6541         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6542         * math/test-misc.c (main): Don't use union ieee854_long_double.
6544 2013-10-04  Alan Modra  <amodra@gmail.com>
6546         [BZ #15680]
6547         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
6548         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
6549         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
6550         calculation.  Remove unnecessary test for denormal exponent.
6551         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
6552         Correct handling of denormals.  Avoid undefined shift behaviour.
6553         Correct normalisation of low mantissa when low double is denormal.
6554         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6555         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
6556         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
6557         Correct normalisation of low mantissa.  Test for overflow of high
6558         mantissa and normalise.
6559         (ldbl_nearbyint): Use more readable constant for two52.
6560         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
6561         (__mpn_construct_long_double): Fix test for overflow of high
6562         mantissa and correct normalisation.  Avoid undefined shift.
6564 2013-10-04  Alan Modra  <amodra@gmail.com>
6566         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6567         (union ibm_extended_long_double): Define as an array of ieee754_double.
6568         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
6569         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
6570         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
6571         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6572         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6573         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
6574         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6575         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6576         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6577         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
6578         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6580 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
6582         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
6583         page size instead of calling getpagesize.
6585         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
6586         (LOCFILE_ALIGN_MASK): Likewise.
6587         (LOCFILE_ALIGN_UP): Likewise.
6588         (LOCFILE_ALIGNED_P): Likewise.
6589         * locale/programs/ld-collate.c (collate_output): Use the new
6590         macros instead of __alignof__ (int32_t).
6591         * locale/weight.h (findidx): Likewise.
6593 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
6595         [BZ #431]
6596         * manual/string.texi: Fix strncat and wcsncat.
6598 2013-10-03  Brooks Moses  <bmoses@google.com>
6600         [BZ #15915]
6601         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
6602         * Makerules: ...here, and adjust associated comments.
6604 2013-10-02  Will Newton  <will.newton@linaro.org>
6606         * malloc/Makefile: Add tst-pvalloc.
6607         * malloc/tst-pvalloc.c: New file.
6609 2013-10-02  Will Newton  <will.newton@linaro.org>
6611         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
6612         improve test coverage.
6614 2013-10-02  Will Newton  <will.newton@linaro.org>
6616         * malloc/Makefile: Add tst-posix_memalign.
6617         * malloc/tst-posix_memalign.c: New file.
6619 2013-10-01  Eric Blake  <eblake@redhat.com>
6621         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
6622         Use __THROWNL rather than __THROW on static functions.
6624 2013-09-30  Petr Machata  <pmachata@redhat.com>
6626         * elf/elf.h (R_AARCH64_ABS16): New macro.
6627         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
6628         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
6629         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
6630         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
6631         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
6632         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
6633         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
6634         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
6635         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
6636         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
6637         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
6638         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
6639         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
6640         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
6641         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
6642         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
6643         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
6644         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
6645         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
6646         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
6647         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
6648         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
6649         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
6650         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
6651         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
6652         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
6653         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
6654         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
6655         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
6656         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
6657         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
6658         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
6659         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
6660         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
6661         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
6662         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
6663         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
6664         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
6665         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
6666         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
6667         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
6668         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
6669         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
6670         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
6671         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
6672         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
6673         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
6674         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
6675         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
6676         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
6677         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
6678         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
6679         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
6680         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
6681         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
6682         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
6683         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
6684         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
6685         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
6686         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
6687         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
6688         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
6689         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
6690         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
6691         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
6692         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
6693         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
6694         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
6695         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
6696         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
6697         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
6698         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
6699         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
6700         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
6701         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
6702         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
6703         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
6704         (R_AARCH64_TLSDESC_LDR): Likewise.
6705         (R_AARCH64_TLSDESC_ADD): Likewise.
6706         (R_AARCH64_TLSDESC_CALL): Likewise.
6708 2013-09-30  Andreas Schwab  <schwab@suse.de>
6710         [BZ #15048]
6711         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
6712         the nss database lookup.
6713         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6714         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6716 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
6718         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
6720 2013-09-28  P. J. McDermott  <pj@pehjota.net>
6722         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
6723         ${Bash-specific parameter/pattern/string} parameter expansion.
6724         * sysdeps/unix/make-syscalls.sh: Likewise.
6726 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6728         * sysdeps/sh/stackguard-macros.h: New file.
6730 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
6732         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6733         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
6734         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
6735         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
6736         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6737         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
6739 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6741         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
6742         Fix thread ID register.
6744 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
6746         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
6747         [POSIX || UNIX98]: Require rather than permitting all symbols from
6748         <time.h>.
6749         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
6750         element of struct sched_param.
6751         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
6752         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
6753         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
6754         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
6755         constant.
6757 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
6759         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
6760         argument calculation.
6762 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
6764         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
6765         Expect macro.
6766         [POSIX] (pthread_attr_t): Do not require type.
6767         [POSIX] (pthread_cond_t): Likewise.
6768         [POSIX] (pthread_condattr_t): Likewise.
6769         [POSIX] (pthread_key_t): Likewise.
6770         [POSIX] (pthread_mutex_t): Likewise.
6771         [POSIX] (pthread_mutexattr_t): Likewise.
6772         [POSIX] (pthread_once_t): Likewise.
6773         [POSIX] (pthread_t): Likewise.
6774         [POSIX-based standards] (pthread_atfork): Expect function.
6776 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
6777             Richard Sandiford  <richard@codesourcery.com>
6779         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
6780         (swap_endianness_p): New extern variable.
6781         (set_big_endian): New inline function.
6782         (maybe_swap_uint32): Likewise.
6783         (maybe_swap_uint32_array): Likewise.
6784         (maybe_swap_uint32_obstack): Likewise.
6785         * locale/programs/locfile.c: Include <stdbool.h>.
6786         (swap_endianness_p): New variable.
6787         (add_locale_uint32): Call maybe_swap_uint32.
6788         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
6789         (write_locale_data): Call maybe_swap_uint32_array.
6790         * locale/programs/ld-collate.c (obstack_int32_grow): Call
6791         maybe_swap_uint32.
6792         (obstack_int32_grow_fast): Likewise.
6793         (output_weightwc): Call maybe_swap_uint32_obstack.
6794         (collate_output): Likewise.
6795         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
6796         (OPT_LITTLE_ENDIAN): Likewise.
6797         (options): Add --little-endian and --big-endian options.
6798         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
6799         * locale/programs/locarchive.c: Include "locfile.h".
6800         (GET): New macro.
6801         (SET): Likewise.
6802         (INC): Likewise.
6803         (create_archive): Use the new macros to access fields of
6804         structures directly mapped from or written to locale archives.
6805         (oldlocrecentcmp): Likewise.
6806         (enlarge_archive): Likewise.
6807         (insert_name): Likewise.
6808         (add_alias): Likewise.
6809         (add_locale): Likewise.
6810         (delete_locales_from_archive): Likewise.
6811         (show_archive_content): Likewise.
6812         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
6813         locale data.
6815 2013-09-24  Roland McGrath  <roland@hack.frob.com>
6817         * manual/freemanuals.texi: Updated from (newly) canonical copy at
6818         http://www.gnu.org/doc/freemanuals.texi.
6819         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
6821 2013-09-24  Will Newton  <will.newton@linaro.org>
6823         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
6824         macro.
6826 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
6828         * locale/hashval.h (compute_hashval): Interpret bytes of key as
6829         unsigned char.
6831 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
6833         * manual/threads.texi (POSIX Threads): Fix a typo.
6835 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6837         [BZ #14547]
6838         * string/tst-strcoll-overflow.c: New test case.
6839         * string/Makefile (xtests): Add tst-strcoll-overflow.
6840         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
6841         cache if string sizes may cause integer overflow.
6843         [BZ #14547]
6844         * string/strcoll_l.c (coll_seq): New members rule, idx,
6845         save_idx and back_us.
6846         (get_next_seq_nocache): New function.
6847         (do_compare_nocache): New function.
6848         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
6849         when malloc fails.
6851 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
6853         [BZ #15754]
6854         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
6855         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
6856         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
6858         [BZ #15754]
6859         * elf/Makefile (tests): Add tst-ptrguard1.
6860         (tests-static): Add tst-ptrguard1-static.
6861         (tst-ptrguard1-ARGS): Define.
6862         (tst-ptrguard1-static-ARGS): Define.
6863         * elf/tst-ptrguard1.c: New file.
6864         * elf/tst-ptrguard1-static.c: New file.
6865         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
6866         * sysdeps/i386/stackguard-macros.h: Likewise.
6867         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6868         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6869         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6870         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6871         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6872         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6874 2013-09-23  Hector Marco  <hecmargi@upv.es>
6875             Ismael Ripoll  <iripoll@disca.upv.es>
6876             Carlos O'Donell  <carlos@redhat.com>
6878         [BZ #15754]
6879         * sysdeps/generic/stackguard-macros.h: Define
6880         __pointer_chk_guard_local and POINTER_CHK_GUARD.
6881         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
6882         Define __pointer_chk_guard_local.
6883         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
6884         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
6886 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
6888         [BZ #15859]
6889         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
6891 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
6893         * include/string.h (__ffs): Declare as hidden.
6894         * string/ffs.c (__ffs): Define as hidden.
6895         * sysdeps/i386/ffs.c (__ffs): Likewise.
6896         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
6897         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
6898         * sysdeps/s390/ffs.c (__ffs): Likewise.
6899         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
6901 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
6903         * NEWS: Mention malloc probes.
6905         * malloc/arena.c (new_heap): New memory_heap_new probe.
6906         (grow_heap): New memory_heap_more probe.
6907         (shrink_heap): New memory_heap_less probe.
6908         (heap_trim): New memory_heap_free probe.
6909         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
6910         (systrim): New memory_sbrk_less probe.
6911         * manual/probes.texi: Document them.
6913         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
6914         * manual/probes.texi: Document it.
6916         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
6917         (__libc_realloc): Add memory_realloc_retry probe.
6918         (__libc_memalign): Add memory_memalign_retry probe.
6919         (__libc_valloc): Add memory_valloc_retry probe.
6920         (__libc_pvalloc): Add memory_pvalloc_retry probe.
6921         (__libc_calloc): Add memory_calloc_retry probe.
6922         * manual/probes.texi: Document them.
6924         * malloc/arena.c (get_free_list): Add probe
6925         memory_arena_reuse_free_list.
6926         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
6927         and memory_arena_reuse.
6928         (arena_get2) [!PER_THREAD]: Likewise.
6929         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
6930         memory_arena_reuse_realloc.
6931         * manual/probes.texi: Document them.
6933         * malloc/malloc.c (__libc_free): Add
6934         memory_mallopt_free_dyn_thresholds probe.
6935         (__libc_mallopt): Add multiple memory_mallopt probes.
6936         * manual/probes.texi: Document them.
6938         * malloc/malloc.c: Include stap-probe.h.
6939         (__libc_mallopt): Add memory_mallopt probe.
6940         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
6941         * manual/probes.texi: New.
6942         * manual/Makefile (chapters): Add probes.
6943         * manual/threads.texi: Set next node.
6945 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
6947         [BZ #15963, #13985]
6948         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
6949         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
6950         Add `Chinese' to `nan' entry name.
6952 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6954         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
6955         (POLYNOMIAL): Likewise.
6956         (TAYLOR_SINCOS): Likewise.
6957         (TAYLOR_SLOW): Likewise.
6958         (__sin): Use TAYLOR_SINCOS.
6959         (__cos): Likewise.
6960         (slow): Use TAYLOR_SLOW.
6961         (sloww): Likewise.
6962         (bsloww): Likewise.
6963         (csloww): Likewise.
6965 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6967         * stdlib/strtod_l.c: Fix buffer overrun.
6969 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6971         * benchtests/Makefile (bench): Add sincos.
6972         * benchtests/bench-sincos.c: New file.
6974         * math/libm-test.inc (cos_test_data): New test inputs.
6975         (sin_test_data): Likewise.
6977         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
6978         macro.
6979         (__sin): Use it.
6980         (__cos): Likewise.
6981         (slow1): Likewise.
6982         (slow2): Likewise.
6983         (sloww1): Likewise.
6984         (sloww2): Likewise.
6985         (bsloww1): Likewise.
6986         (bsloww2): Likewise.
6987         (cslow2): Likewise.
6988         (csloww1): Likewise.
6989         (csloww2): Likewise.
6991         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
6992         function.
6993         (__sin): Use it.
6994         (__cos): Likewise.
6996         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
6997         gotos.
6998         (__cos): Likewise.
7000 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
7002         * config.h.in (HAVE_MIPS_NAN2008): New macro.
7003         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
7004         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
7005         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
7006         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
7007         * elf/cache.c (print_entry): Handle the new cache flags.
7009 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
7010             Aldy Hernandez  <aldyh@redhat.com>
7012         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
7013         Change condition to [_SOFT_FLOAT].
7014         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
7015         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
7016         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
7017         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
7018         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
7019         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
7020         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
7021         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
7022         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
7023         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
7024         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
7025         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
7026         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
7027         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
7028         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
7029         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
7030         declaration.
7032 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
7034         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
7035         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7036         (__longjmp): Use LOAD_GP to load saved GPRs.
7037         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
7038         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7039         (__sigsetjmp): Use SAVE_GP to save GPRs.
7041         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
7042         Do not append -msoft-float.
7043         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
7045 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7047         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
7049 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
7051         [BZ #15966]
7052         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
7053         (_FPU_GETCW): Use initial "__" on variable and field names but not
7054         on macro parameter name.
7055         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
7056         parentheses around reference to macro parameter.
7058 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
7060         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
7061         prototype.
7062         (ctype_startup): Use uint32_t in cast and sizeof for
7063         ctype->charnames.
7065 2013-09-11  Jia Liu  <proljc@gmail.com>
7067         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
7068         __daddr_t_defined.
7069         [__FreeBSD__]: Likewise.
7071 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
7073         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7074         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
7075         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
7076         (strchr): Remove __strchr_sse42 ifunc selection.
7077         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
7078         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
7080 2013-09-11  Will Newton  <will.newton@linaro.org>
7082         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
7083         parameter to RES. Remove hardcoded 1000 value.
7084         * benchtests/bench-skeleton.c (main): Pass RES parameter
7085         to TIMING_INIT and multiply result by 1000.
7087 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7089         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7091 2013-09-11  Andreas Schwab  <schwab@suse.de>
7093         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7094         if not defined.
7095         (O_TMPFILE) [__USE_GNU]: Define.
7096         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
7097         Define.
7099 2013-09-11  Will Newton  <will.newton@linaro.org>
7101         [BZ #15857]
7102         * malloc/malloc.c (__libc_memalign): Check the value of bytes
7103         does not overflow.
7105 2013-09-11  Will Newton  <will.newton@linaro.org>
7107         [BZ #15856]
7108         * malloc/malloc.c (__libc_valloc): Check the value of bytes
7109         does not overflow.
7111 2013-09-11  Will Newton  <will.newton@linaro.org>
7113         [BZ #15855]
7114         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
7115         does not overflow.
7117 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
7119         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
7120         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7121         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7122         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7123         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7125 2013-09-10  Allan McRae  <allan@archlinux.org>
7127         [BZ #15748]
7128         * manual/arith.texi (Parsing of Floats): Clarify
7129         cross-reference.
7131         [BZ #15849]
7132         * manual/install.texi (Running make install): Mention
7133         --enable-pt-chown.
7134         * INSTALL: Regenerated.
7136 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
7138         * csu/init-first.c (_init): Remove the !SHARED condition around
7139         FPU control word initialization.
7140         * elf/dl-support.c (_dl_fpu_control): New variable.
7141         (_dl_aux_init) <AT_FPUCW>: Initialize it.
7142         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
7143         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
7144         * math/test-fpucw-static.c: New file.
7145         * math/test-fpucw-ieee.c: New file.
7146         * math/test-fpucw-ieee-static.c: New file.
7147         * math/Makefile (tests): Add `test-fpucw-ieee' and
7148         `$(tests-static)'.
7149         (tests-static): New variable.
7150         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
7151         dependency to...
7152         [($(build-shared),yes)]
7153         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7154         ... this.
7155         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
7156         New dependency.
7158 2013-09-09  Allan McRae  <allan@archlinux.org>
7160         [BZ #15939]
7161         * manual/string.texi (Collation Functions): Fix typo in
7162         strcoll example.
7163         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
7165         [BZ #15893]
7166         * stdlib/isomac.c (get_null_defines): Fix memory leak.
7168         [BZ #15892]
7169         * libio/memstream.c (open_memstream): Fix memory leak.
7170         * libio/wmemstream.c (open_wmemstream): Likewise.
7172         [BZ #15895]
7173         * nscd/netgroupcache.c: Fix nesting of ifdefs.
7175 2013-09-09  Will Newton  <will.newton@linaro.org>
7177         * malloc/Makefile: Add tst-realloc to tests.
7178         * malloc/tst-realloc.c: New file.
7180 2013-09-09  Allan McRae  <allan@archlinux.org>
7182         [BZ #15844]
7183         * COPYING: Update from GNU website to fix FSF address.
7184         * COPYING.LIB: Likewise.
7186 2013-09-06  David S. Miller  <davem@davemloft.net>
7188         * po/zh_TW.po: Update Chinese (traditional) translation from
7189         translation project.
7191 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
7192             Joseph Myers  <joseph@codesourcery.com>
7194         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
7195         "localeinfo.h".
7196         (obstack_chunk_alloc): New macro.
7197         (obstack_chunk_free): Likewise.
7198         (record_offset): New function.
7199         (init_locale_data): Likewise.
7200         (align_locale_data): Likewise.
7201         (add_locale_empty): Likewise.
7202         (add_locale_raw_data): Likewise.
7203         (add_locale_raw_obstack): Likewise.
7204         (add_locale_string): Likewise.
7205         (add_locale_wstring): Likewise.
7206         (add_locale_uint32): Likewise.
7207         (add_locale_uint32_array): Likewise.
7208         (add_locale_char): Likewise.
7209         (start_locale_structure): Likewise.
7210         (end_locale_structure): Likewise.
7211         (start_locale_prelude): Likewise.
7212         (end_locale_prelude): Likewise.
7213         (write_locale_data): Take locale_file structure rather than an
7214         iovec.
7215         * locale/programs/locfile.h: Include "obstack.h".
7216         (struct locale_file): Change to store locale file contents instead
7217         of header.
7218         (init_locale_data): New prototype.
7219         (align_locale_data): Likewise.
7220         (add_locale_empty): Likewise.
7221         (add_locale_raw_data): Likewise.
7222         (add_locale_raw_obstack): Likewise.
7223         (add_locale_string): Likewise.
7224         (add_locale_wstring): Likewise.
7225         (add_locale_uint32): Likewise.
7226         (add_locale_uint32_array): Likewise.
7227         (add_locale_char): Likewise.
7228         (start_locale_structure): Likewise.
7229         (end_locale_structure): Likewise.
7230         (start_locale_prelude): Likewise.
7231         (end_locale_prelude): Likewise.
7232         (write_locale_data): Update prototype.
7233         * locale/programs/3level.h (struct TABLE): Remove result field.
7234         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
7235         Use new locale_file interface.
7236         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
7237         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
7238         * locale/programs/ld-address.c (address_output): Use new
7239         locale_file interface.
7240         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
7241         NO_ADD_LOCALE.
7242         (collate_finish): Don't call collseq_table_finalize.
7243         (collate_output): Use new locale_file interface.
7244         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
7245         in file.
7246         (NO_FINALIZE): Change to NO_ADD_LOCALE.
7247         (TABLE): Move defines earlier in file.
7248         (ELEMENT): Likewise.
7249         (DEFAULT): Likewise.
7250         (wctrans_table_add): Move macro and inline function earlier in
7251         file.
7252         (struct wctype_table): Move type earlier in file.
7253         (add_locale_wctype_table): New static prototype.
7254         (struct locale_ctype_t): Use logical types instead of struct iovec
7255         pointers for members.
7256         (ctype_output): Use new locale_file interface.
7257         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
7258         new locale_file interface.
7259         (allocate_arrays): Update for use of new locale_file interface.
7260         * locale/programs/ld-identification.c (identification_output): Use
7261         new locale_file interface.
7262         * locale/programs/ld-measurement.c (measurement_output): Likewise.
7263         * locale/programs/ld-messages.c (messages_output): Likewise.
7264         * locale/programs/ld-monetary.c (monetary_output): Likewise.
7265         * locale/programs/ld-name.c (name_output): Likewise.
7266         * locale/programs/ld-numeric.c (numeric_output): Likewise.
7267         * locale/programs/ld-paper.c (paper_output): Likewise.
7268         * locale/programs/ld-telephone.c (telephone_output): Likewise.
7269         * locale/programs/ld-time.c (time_output): Likewise.
7271 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7273         * benchtests/Makefile: Add memrchr benchmark.
7274         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
7275         benchmark as memrchr.
7276         * benchtests/bench-memrchr-ifunc.c: New file.
7277         * benchtests/bench-memrchr.c: New file.
7279 2013-09-06   Will Newton  <will.newton@linaro.org>
7281         * benchtests/Makefile (string-bench): Add memcpy.
7283 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
7284             Cong Wang  <amwang@redhat.com>
7286         [BZ #15850]
7287         * sysdeps/unix/sysv/linux/bits/in.h
7288         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
7289         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
7290         before __USE_KERNEL_IPV6_DEFS uses.
7291         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
7292         IPPROTO_BEETPH.
7293         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
7294         sockaddr_in6, or ipv6_mreq.
7296 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7298         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
7299         memory access for final bytes in some large inputs.
7300         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
7302 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7304         * string/test-memrchr.c: New file.
7305         * string/test-memrchr-ifunc.c: New file.
7306         * string/Makefile: Add new memrchr testcase.
7308 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
7310         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
7311         fanotify_init returns EPERM.
7313 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
7315         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
7316         errors.
7317         (top level): Treat second token from macro or constant entries for
7318         allowed headers as allowed.
7319         * include/complex.h: Condition internal declarations on
7320         [!_ISOMAC].
7321         * include/fenv.h: Condition include of <stdbool.h> and internal
7322         declarations on [!_ISOMAC].
7324 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
7326         [BZ #15923]
7327         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
7329 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
7331         * configure.in (--enable-versioning): Remove configure option.
7332         (libc_cv_asm_symver_directive): Remove configure test.
7333         (libc_cv_ld_version_script_option): Likewise.
7334         (VERSIONING): Remove variable and AC_SUBST.
7335         (DO_VERSIONING): Remove AC_DEFINE.
7336         * configure: Regenerated.
7337         * config.h.in (DO_VERSIONING): Remove macro.
7338         * Makerules [$(versioning) = yes]: Change conditionals to
7339         [$(build-shared) = yes].
7340         * config.make.in (versioning): Remove variable.
7341         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
7342         [$(build-shared) = yes].
7343         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
7344         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
7345         * elf/Makefile [$(versioning) = yes]: Change conditionals to
7346         [$(build-shared) = yes].
7347         * extra-lib.mk [$(versioning) = yes]: Likewise.
7348         * hurd/Makefile [$(versioning) = yes]: Likewise.
7349         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
7350         [SHARED].
7351         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
7352         [SHARED].
7353         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7354         [SHARED && !NO_HIDDEN].
7355         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
7356         [SHARED].
7357         [SHARED && DO_VERSIONING]: Likewise..
7358         * libio/Makefile [$(versioning) = yes]: Change conditionals to
7359         [$(build-shared) = yes].
7360         * manual/install.texi (--disable-versioning): Remove
7361         documentation.
7362         * INSTALL: Regenerated.
7363         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
7364         to [SHARED].
7365         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
7366         [$(build-shared) = yes].
7367         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
7368         * sysdeps/i386/i686/multiarch/strstr-c.c
7369         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7370         [SHARED && !NO_HIDDEN].
7371         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
7372         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
7373         * sysdeps/powerpc/powerpc32/dl-machine.c
7374         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
7375         * sysdeps/powerpc/powerpc32/sysdep.h
7376         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
7377         to [SHARED && PIC && !NO_HIDDEN].
7378         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
7379         conditional to [SHARED].
7381 2013-09-04   Will Newton  <will.newton@linaro.org>
7383         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
7384         * benchtests/bench-string.h: Include bench-timing.h instead
7385         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
7386         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
7387         call to HP_TIMING_DIFF_INIT.
7388         * benchtests/bench-memccpy.c: Use bench-timing.h macros
7389         instead of hp-timing.h macros.
7390         * benchtests/bench-memchr.c: Likewise.
7391         * benchtests/bench-memcmp.c: Likewise.
7392         * benchtests/bench-memcpy.c: Likewise.
7393         * benchtests/bench-memmem.c: Likewise.
7394         * benchtests/bench-memmove.c: Likewise.
7395         * benchtests/bench-memset.c: Likewise.
7396         * benchtests/bench-rawmemchr.c: Likewise.
7397         * benchtests/bench-strcasecmp.c: Likewise.
7398         * benchtests/bench-strcasestr.c: Likewise.
7399         * benchtests/bench-strcat.c: Likewise.
7400         * benchtests/bench-strchr.c: Likewise.
7401         * benchtests/bench-strcmp.c: Likewise.
7402         * benchtests/bench-strcpy.c: Likewise.
7403         * benchtests/bench-strcpy_chk.c: Likewise.
7404         * benchtests/bench-strlen.c: Likewise.
7405         * benchtests/bench-strncasecmp.c: Likewise.
7406         * benchtests/bench-strncat.c: Likewise.
7407         * benchtests/bench-strncmp.c: Likewise.
7408         * benchtests/bench-strncpy.c: Likewise.
7409         * benchtests/bench-strnlen.c: Likewise.
7410         * benchtests/bench-strpbrk.c: Likewise.
7411         * benchtests/bench-strrchr.c: Likewise.
7412         * benchtests/bench-strspn.c: Likewise.
7413         * benchtests/bench-strstr.c: Likewise.
7415 2013-09-04  Will Newton  <will.newton@linaro.org>
7417         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
7419 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
7421         [BZ #15427]
7422         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7423         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
7424         * math/libm-test.inc (lgamma_test_data): Add more tests.
7425         * sysdeps/i386/fpu/libm-test-ulps: Update.
7426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7428 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
7430         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
7431         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7432         Add ifunc.
7433         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7434         Add strcmp-sse2-unaligned
7435         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
7437 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
7439         * Versions.def (libc): Add GLIBC_2.19.
7441 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
7443         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
7444         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
7446 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
7448         [BZ #14155]
7449         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
7450         intermediate calculations in recurrence.
7451         (__ieee754_ynf): Likewise.
7452         * math/libm-test.inc (jn_test_data): Do not allow spurious
7453         underflow exception.  Add more tests.
7454         (yn_test_data): Add more tests.
7455         * sysdeps/i386/fpu/libm-test-ulps: Update.
7456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7458 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
7460         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
7462 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
7464         * csu/init-first.c: Fix then/than typos.
7465         * locale/programs/ld-collate.c: Likewise.
7466         * locale/programs/linereader.h: Likewise.
7467         * manual/charset.texi: Likewise.
7468         * manual/filesys.texi: Likewise.
7469         * manual/stdio.texi: Likewise.
7470         * manual/string.texi: Likewise.
7471         * stdlib/fmtmsg.c: Likewise.
7472         * sysdeps/i386/stpncpy.S: Likewise.
7473         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7474         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7475         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7476         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7478 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
7480         * elf/dl-open.c: Fix typos.
7481         * iconvdata/gbbig5.c: Likewise.
7482         * iconvdata/iso-2022-jp.c: Likewise.
7483         * iconv/gconv_int.h: Likewise.
7484         * iconv/loop.c: Likewise.
7485         * nis/rpcsvc/nis.h: Likewise.
7486         * resolv/ns_name.c: Likewise.
7487         * stdio-common/vfscanf.c: Likewise.
7488         * streams/stropts.h: Likewise.
7489         * sunrpc/rpc_thread.c: Likewise.
7490         * sysdeps/i386/strpbrk.S: Likewise.
7491         * sysdeps/ieee754/k_standard.c: Likewise.
7492         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7493         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7494         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7495         * sysdeps/mach/hurd/profil.c: Likewise.
7496         * sysdeps/s390/dl-procinfo.h: Likewise.
7497         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7498         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7499         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
7500         * sysdeps/x86_64/dl-trampoline.S: Likewise.
7501         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7503 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
7505         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
7506         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
7508 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
7510         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
7511         aix specific files.
7512         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
7513         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
7514         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
7515         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
7516         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
7517         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
7518         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
7519         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
7521 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
7522             Roland McGrath  <roland@hack.frob.com>
7524         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
7525         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7527 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7529         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
7530         __executable_start symbol instead of _start.
7532 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
7534         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
7535         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
7536         Move macros to...
7537         * sysdeps/gnu/ldsodefs.h: ... this new file.
7539         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
7540         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
7541         instead of ELFOSABI_LINUX.
7543         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
7544         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
7545         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
7546         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
7547         Likewise.
7548         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
7549         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
7550         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
7551         Likewise.
7552         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7553         (ibm_extended_long_double): Add ieee_nan member.
7554         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
7555         (do_test): New function.
7557         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
7558         TEST_TRUNC.
7559         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
7560         functions, renamed from truncdfsf_test, trunctfsf_test,
7561         trunctfdf_test.
7562         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
7563         functions.
7564         (do_test): Run all these.
7566 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
7568         * argp/argp-help.c: Fix typos.
7569         * argp/argp-parse.c: Likewise.
7570         * debug/backtracesyms.c: Likewise.
7571         * elf/elf.h: Likewise.
7572         * malloc/malloc.c: Likewise.
7573         * nis/nis_print.c: Likewise.
7574         * resolv/res_comp.c: Likewise.
7575         * stdlib/stdlib.h: Likewise.
7576         * sunrpc/clnt_tcp.c: Likewise.
7577         * sunrpc/clnt_udp.c: Likewise.
7578         * sunrpc/clnt_unix.c: Likewise.
7579         * sysdeps/unix/bsd/ptsname.c: Likewise.
7580         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7581         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
7582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
7583         Likewise.
7584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
7585         Likewise.
7586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7587         Likewise.
7588         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7590 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7592         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
7593         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7595 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
7597         [BZ #15897]
7598         * dlfcn/Makefile (tests): Add bug-dl-leaf.
7599         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
7600         ($(objpfx)bug-dl-leaf): New rule.
7601         ($(objpfx)bug-dl-leaf.so): Likewise.
7602         ($(objpfx)bug-dl-leaf.out): Likewise.
7603         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
7604         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
7605         * dlfcn/bug-dl-leaf.c: New test.
7606         * dlfcn/bug-dl-leaf-lib.c: Likewise.
7607         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
7608         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
7609         (dlclose): Likewise.
7610         (dlmopen): Likewise.
7612 2013-08-27  Roland McGrath  <roland@hack.frob.com>
7614         * include/netdb.h [!_ISOMAC]:
7615         Don't include <tls.h>.
7616         (h_errno, __libc_h_errno): Move declaration and macros out of
7617         [_LIBC_REENTRANT].
7619         * include/resolv.h [_RESOLV_H_]:
7620         Don't include <tls.h>.
7621         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
7622         * resolv/res_libc.c: Don't include <tls.h>.
7623         (_res): Use __attribute__ ((nocommon)) in place of
7624         __attribute__ ((section (".bss"))).
7626         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
7627         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
7629         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
7631         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
7632         only under [SIOCGIFCONF && SIOCGIFNETMASK].
7634         * resolv/res_mkquery.c: Include <sys/time.h>.
7636         * inet/ifreq.c: Moved to ...
7637         * sysdeps/unix/ifreq.c: ... here.
7638         * inet/ifreq.c: New file, true stub version.
7640         * socket/sa_len.c: New file.
7641         * socket/Makefile (aux): Add it.
7642         * sysdeps/unix/sysv/linux/Makefile
7643         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
7644         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
7645         and #include <socket/sa_len.c>.
7646         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
7647         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
7649         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
7650         * bits/socket.h: ... here.
7652         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
7653         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
7654         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
7656 2013-08-27  Andreas Schwab  <schwab@suse.de>
7658         [BZ #15736]
7659         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
7660         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
7661         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
7662         * string/test-strcasecmp.c (test_main): Run tests in several
7663         locales.
7664         * string/test-strncasecmp.c (test_main): Likewise.
7666         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
7667         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
7668         to __strcasecmp_nonascii and __strncasecmp_nonascii.
7669         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
7670         (__strncasecmp_ssse3) [PIC]: Likewise.
7672 2013-08-26  Roland McGrath  <roland@hack.frob.com>
7674         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
7676         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
7677         instead of explicitly declaring xdecrypt.
7678         * nis/nss_nis/nis-publickey.c: Likewise.
7680 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7682         [BZ #15890]
7683         * nscd/aicache.c: Include res_hconf.h.
7684         (addhstaiX): Initialize res_hconf.
7686 2013-08-26  Andreas Schwab  <schwab@suse.de>
7688         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
7689         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
7691 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7693         * nscd/aicache.c (addhstaiX): Fix indentation.
7695 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
7697         * configure.ac: Quote $build_pt_chown test.
7698         * configure: Regenerated.
7700 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
7702         [BZ #15532]
7703         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
7704         * math/s_cexpf.c (__cexpf): Likewise.
7705         * math/s_cexpl.c (__cexpl): Likewise.
7706         * math/libm-test.inc (cexp_test_data): Correct expected return
7707         value for NaN + i0.  Add another test.
7709 2013-08-22  David S. Miller  <davem@davemloft.net>
7711         * po/ca.po: Update Catalan translation from translation project.
7712         * po/uk.po: Add Ukrainian translations from translation project.
7714 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
7716         [BZ #15797]
7717         * math/s_fdim.c (__fdim): Check for infinite arguments if result
7718         is infinite, not alongside NaN test.
7719         * math/s_fdimf.c (__fdimf): Likewise.
7720         * math/s_fdiml.c (__fdiml): Likewise.
7721         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
7722         errno is unchanged.
7724 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
7726         * argp/argp-help.c: Fix typos.
7727         * crypt/speeds.c: Likewise.
7728         * csu/check_fds.c: Likewise.
7729         * elf/dl-load.c: Likewise.
7730         * elf/dl-open.c: Likewise.
7731         * elf/reldep3.c: Likewise.
7732         * elf/reldep.c: Likewise.
7733         * elf/sprof.c: Likewise.
7734         * iconv/iconv_charmap.c: Likewise.
7735         * iconv/skeleton.c: Likewise.
7736         * iconv/strtab.c: Likewise.
7737         * io/lockf64.c: Likewise.
7738         * libio/libioP.h: Likewise.
7739         * resolv/gai_notify.c: Likewise.
7740         * resolv/ns_name.c: Likewise.
7741         * resolv/ns_samedomain.c: Likewise.
7742         * resolv/res_send.c: Likewise.
7743         * stdlib/random.c: Likewise.
7744         * sunrpc/rpc/xdr.h: Likewise.
7745         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
7746         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7747         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7748         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7749         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7750         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7751         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7752         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7753         * sysdeps/mach/hurd/check_fds.c: Likewise.
7754         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7755         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7756         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7757         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7758         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7759         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7760         * sysdeps/pthread/aio_notify.c: Likewise.
7761         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
7762         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
7763         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
7764         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7765         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7767 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7769         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
7770         version if bit_Slow_SSE4_2 is set.
7771         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7772         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7774 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7776         [BZ #15867]
7777         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
7778         trampoline stack frame information.
7779         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
7780         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
7781         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
7782         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
7783         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
7784         * sysdeps/unix/sysv/linux/powerpc/init-first.c
7785         (_libc_vdso_platform_setup): Initialize the signal trampolines.
7786         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
7787         sa_flags value.
7788         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
7789         interrupting a syscall and set with option SA_SIGINFO.
7791 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
7793         [BZ #15531]
7794         * math/s_cproj.c (__cproj): Only return an infinity if one part of
7795         argument is infinite.
7796         * math/s_cprojf.c (__cprojf): Likewise.
7797         * math/s_cprojl.c (__cprojl): Likewise.
7798         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
7799         * math/libm-test.inc (cproj_test_data): Add more tests.
7801         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
7803         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
7804         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
7805         size.  Use __ffs to determine corresponding shift.
7807 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
7808             Roland McGrath  <roland@hack.frob.com>
7810         * Makefile (INSTALL): Remove trailing blank lines from output of
7811         makeinfo.
7813 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7815         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
7816         Align 32 bit compat elf_greg to 8 bytes.
7818 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7820         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
7822 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7824         * string/strcoll_l.c (coll_seq): New structure.
7825         (get_next_seq_cached): New function.
7826         (get_next_seq): New function.
7827         (do_compare): New function.
7828         (STRCOLL): Use GNU style definition.  Simplify implementation
7829         by using get_next_seq, get_next_seq_cached and do_compare.
7831 2013-08-16  Florian Weimer  <fweimer@redhat.com>
7833         [BZ #14699]
7834         CVE-2013-4237
7835         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
7836         member.
7837         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
7838         member.
7839         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
7840         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
7841         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
7842         conditional.
7843         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
7844         GETDENTS_64BIT_ALIGNED.
7845         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7846         * manual/filesys.texi (Reading/Closing Directory): Document
7847         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
7848         strongly.
7849         * manual/conf.texi (Limits for Files): Add portability note to
7850         NAME_MAX, PATH_MAX.
7851         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
7853 2013-08-13  Andreas Schwab  <schwab@suse.de>
7855         [BZ #15749]
7856         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
7857         of fabs.
7858         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
7859         LDBL_MAX_EXP >= 16384]: Add tests for it.
7861 2013-08-12  David S. Miller  <davem@davemloft.net>
7863         * version.h (RELEASE): Set to "development".
7864         (VERSION): Set to "2.18.90".
7865         * NEWS: Add 2.19 section.
7867 2013-08-03  David S. Miller  <davem@davemloft.net>
7869         * po/ko.po: Update Korean translation from translation project.
7871 2013-08-01  David S. Miller  <davem@davemloft.net>
7873         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
7874         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
7875         Bilka.
7877 2013-07-30  David S. Miller  <davem@davemloft.net>
7879         * po/fr.po: Update French translation from translation project.
7881 2013-07-28  David S. Miller  <davem@davemloft.net>
7883         * po/cs.po: Update Czech translation from translation project.
7885         * po/sv.po: Update Swedish translation from translation project.
7887 2013-07-27  David S. Miller  <davem@davemloft.net>
7889         * po/eo.po: Update Esperanto translation from translation project.
7891         * po/vi.po: Update Vietnamese translation from translation project.
7893         * po/de.po: Update German translation from translation project.
7895 2013-07-26  David S. Miller  <davem@davemloft.net>
7897         * po/bg.po: Update Bulgarian translation from translation project.
7899         * po/nl.po: Update Dutch translation from translation project.
7900         * po/pl.po: Update Polish translation from translation project.
7901         * po/ru.po: Update Russian translation from translation project.
7903 2013-07-24  David S. Miller  <davem@davemloft.net>
7905         * po/libc.pot: Update.
7907 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7909         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
7910         variable page size.
7911         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
7912         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
7913         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
7915 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7917         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
7919 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7920             Andreas Schwab  <schwab@suse.de>
7921             Roland McGrath  <roland@hack.frob.com>
7922             Joseph Myers  <joseph@codesourcery.com>
7923             Carlos O'Donell  <carlos@redhat.com>
7925         [BZ #15755]
7926         * config.h.in: Define HAVE_PT_CHOWN.
7927         * config.make.in (build-pt-chown): New variable.
7928         * configure.in (--enable-pt_chown): New configure option.
7929         * configure: Regenerate.
7930         * login/Makefile: Include Makeconfig.  Build pt_chown only if
7931         build-pt-chown is enabled.
7932         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
7933         pt_chown to fix pty ownership.
7934         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
7935         CLOSE_ALL_FDS.
7936         * manual/install.texi (Configuring and compiling): Mention
7937         --enable-pt_chown. Add @findex for grantpt.
7938         * INSTALL: Regenerate.
7940 2013-07-20  David S. Miller  <davem@davemloft.net>
7942         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
7943         difference between 32-bit and 64-bit.
7945 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
7947         [BZ #15711]
7948         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
7949         Avoid system header dependency with -ffreestanding.
7950         ($(objpfx)bits/syscall%d): Likewise.
7952 2013-07-13  David S. Miller  <davem@davemloft.net>
7954         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
7955         underflows from atanl/atan2l due to bug 15319.
7956         (casinh_test_data): Likewise.
7958 2013-07-07  David S. Miller  <davem@davemloft.net>
7960         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7962 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
7964         * sysdeps/i386/fpu/libm-test-ulps: Update.
7965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7967 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7969         * configure.in (--enable-lock-elision): Fix message text.
7970         * INSTALL: Regenerate.
7971         * configure: Regenerate.
7973 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7975         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7977 2013-07-03  Andreas Jaeger  <aj@suse.de>
7979         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
7980         define.
7981         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
7982         (ptrace_peeksiginfo_args): Add.
7983         (__ptrace_peeksiginfo_flags): Add.
7984         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7985         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7986         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7988 2013-07-03  Allan McRae  <allan@archlinux.org>
7990         * sysdeps/i386/fpu/libm-test-ulps: Update.
7992 2013-07-02  David S. Miller  <davem@davemloft.net>
7994         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7996 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
7998         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8000 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
8002         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8005 2013-07-02  Andi Kleen <ak@linux.intel.com>
8007         * config.h.in (ENABLE_LOCK_ELISION): Add.
8008         * configure.in (--enable-lock-elision): Add option.
8009         * manual/install.texi: Document --enable lock elision.
8010         * configure: Regenerate
8011         * INSTALL: Regenerate.
8013 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
8015         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
8016         SSE4.2 strcasecmp for libc.a.
8017         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8019 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
8021         [BZ #13304]
8022         * soft-fp/op-common.h (_FP_FMA): New macro.
8023         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
8024         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
8025         (_FP_MUL_MEAT_1_imm): ... here.
8026         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
8027         (_FP_MUL_MEAT_1_wide): ... here.
8028         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
8029         (_FP_MUL_MEAT_1_hard): ... here.
8030         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
8031         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
8032         (_FP_MUL_MEAT_2_wide): ... here.
8033         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
8034         (_FP_MUL_MEAT_2_wide_3mul): ... here.
8035         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
8036         (_FP_MUL_MEAT_2_gmp): ... here.
8037         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
8038         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
8039         (_FP_MUL_MEAT_4_wide): ... here.
8040         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
8041         (_FP_MUL_MEAT_4_gmp): ... here.
8042         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
8043         (_FP_WFRACBITS_DW_S): Likewise.
8044         (_FP_WFRACXBITS_DW_S): Likewise.
8045         (_FP_HIGHBIT_DW_S): Likewise.
8046         (FP_FMA_S): Likewise.
8047         (_FP_FRAC_HIGH_DW_S): Likewise.
8048         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
8049         (_FP_WFRACBITS_DW_D): Likewise.
8050         (_FP_WFRACXBITS_DW_D): Likewise.
8051         (_FP_HIGHBIT_DW_D): Likewise.
8052         (FP_FMA_D): Likewise.
8053         (_FP_FRAC_HIGH_DW_D): Likewise.
8054         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
8055         (_FP_WFRACBITS_DW_E): Likewise.
8056         (_FP_WFRACXBITS_DW_E): Likewise.
8057         (_FP_HIGHBIT_DW_E): Likewise.
8058         (FP_FMA_E): Likewise.
8059         (_FP_FRAC_HIGH_DW_E): Likewise.
8060         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
8061         (_FP_WFRACBITS_DW_Q): Likewise.
8062         (_FP_WFRACXBITS_DW_Q): Likewise.
8063         (_FP_HIGHBIT_DW_Q): Likewise.
8064         (FP_FMA_Q): Likewise.
8065         (_FP_FRAC_HIGH_DW_Q): Likewise.
8066         * soft-fp/fmasf4.c: New file.
8067         * soft-fp/fmadf4.c: Likewise.
8068         * soft-fp/fmatf4.c: Likewise.
8070 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8072         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8073         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
8074         Silvermont.
8075         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
8076         macro.
8077         (index_Slow_SSE4_2): Likewise.
8078         (index_Prefer_PMINUB_for_stringop): Likewise.
8079         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
8080         bit_Slow_SSE4_2 is set.
8081         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8082         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8084 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8086         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
8087         rtld_global._dl_hwcap2.
8088         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
8089         POWER8.
8090         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
8091         POWER8 feature descriptions defined in _dl_hwcap2.
8092         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
8093         string handling for POWER8 feature bits.
8094         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
8095         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
8096         _dl_powerpc_cap_flags.
8097         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
8098         * sysdeps/powerpc/rtld-global-offsets.sym
8099         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
8100         _dl_hwcap2 in the rtld_global_ro structure.
8102 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8104         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
8105         hardware capabilities in support of AT_HWCAP2.
8106         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
8107         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
8108         GLRO(dl_hwcap2).
8109         (_dl_show_auxv): Add support for calling _dl_procinfo to display
8110         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
8111         explicitly the unknown a_type display mechanism is used.
8112         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
8113         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
8114         struct member.
8115         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
8116         to macro prototype for AT_HWCAP2 support.
8117         * sysdeps/i386/dl-procinfo.h: Likewise.
8118         * sysdeps/s390/dl-procinfo.h: Likewise.
8119         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
8120         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
8121         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
8122         return -1 for unknown a_type display fallback.
8123         * sysdeps/sparc/dl-procinfo.h: Likewise.
8124         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
8125         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
8127 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
8129         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
8130         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
8132 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
8134         [BZ #12492]
8135         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
8136         mprotect making __stack_prot writable.
8138 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
8139             Joseph Myers  <joseph@codesourcery.com>
8141         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
8142         as being properly aligned.
8144 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
8146         * dlfcn/modstatic5.c: New file.
8147         * dlfcn/tststatic5.c: New file.
8148         * dlfcn/Makefile (tests): Add tststatic5.
8149         (tests-static): Likewise.
8150         (modules-names): Add modstatic5.
8151         (tststatic5-ENV): New variable.
8152         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
8154         [BZ #15022]
8155         * elf/dl-support.c (_dl_main_map): New variable.
8156         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
8157         (_dl_nns, _dl_load_adds): Set to 1.
8158         (_dl_initial_searchlist): Refer to _dl_main_map.
8159         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
8160         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
8161         call to _dl_get_origin.
8162         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
8163         around call_map.
8164         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
8165         * dlfcn/modstatic3.c: New file.
8166         * dlfcn/tststatic3.c: New file.
8167         * dlfcn/tststatic4.c: New file.
8168         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
8169         (tests-static): Likewise.
8170         (modules-names): Add modstatic3.
8171         (tststatic3-ENV, tststatic4-ENV): New variables.
8172         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
8173         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
8175 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
8177         * configure.in (CC): Require GCC version 4.4 or later.
8178         * configure: Regenerated.
8179         * manual/install.texi (Tools for Compilation): Update GCC version
8180         requirement.
8181         * INSTALL: Regenerated.
8183 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8185         [BZ #15674]
8186         * string/test-memcmp.c (check2): New.
8187         (main): Call check2.
8189         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
8191 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
8193         [BZ #15022]
8194         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
8195         over to...
8196         (dl_open_worker) [!SHARED]: ... here.
8198 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8200         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
8202 2013-06-25  Richard Henderson  <rth@redhat.com>
8204         * locale/programs/locarchive.c: Include <libc-internal.h>
8206 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
8208         * manual/texinfo.tex: Update to version 2013-06-21.17, with
8209         trailing whitespace removed.
8211 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
8213         [BZ #10283]
8214         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
8215         * locale/programs/locarchive.c: Include libc-mmap.h.
8216         (prepare_address_space): Take two new outputs (the mmap base and len).
8217         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
8218         values.
8219         (create_archive): Declare new mmap base and len values for
8220         prepare_address_space, and store the result in ah.
8221         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
8222         (enlarge_archive): If ah->mmap_base is not NULL, use that and
8223         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8224         Declare new mmap base and len values for
8225         prepare_address_space, and store the result in new_ah.
8226         (open_archive): Declare new mmap base and len values for
8227         prepare_address_space, and store the result in ah.
8228         (close_archive): If ah->mmap_base is not NULL, use that and
8229         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8230         * sysdeps/generic/libc-mmap.h: New file.
8232 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
8234         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
8235         (ALIGN_UP): Likewise.
8236         (PTR_ALIGN_DOWN): Likewise.
8237         (PTR_ALIGN_UP): Likewise.
8239 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8241         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
8242         entry mapped to PPC_PLATFORM_POWER8.
8243         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
8244         POWER8.
8245         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
8246         (_dl_string_platform): Add case for exporting platform position for
8247         POWER8.
8248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
8249         search path to sysdeps/powerpc/powerpc32/power8 directory.
8250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
8251         search path to sysdeps/powerpc/powerpc64/power8 directory.
8252         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
8253         power7 directories.
8254         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
8255         power7 directories.
8257 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8259         * INSTALL: Regenerate.
8261         * nscd/connections.c (nscd_init): Fix comment.
8263 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
8265         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
8267         [BZ #15667]
8268         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
8269         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
8271 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
8273         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
8274         DL_DST_REQ_STATIC.
8275         (DL_DST_REQ_STATIC): Remove macro.
8277 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
8279         [BZ #7006]
8280         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
8281         with a shift of 0 bits.
8283 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
8285         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
8286         $(tststatic-ENV).
8288 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8290         [BZ #15655]
8291         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
8293 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8295         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
8296         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
8297         accepts -fno-tree-loop-distribute-patterns.
8298         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
8299         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
8300         recursive call.
8301         * string/memset.c (memset): Likewise.
8302         * string/test-memmove.c (simple_memmove): Disable loop transformation
8303         to library calls.
8304         * string/test-memset.c (simple_memset): Likewise.
8305         * benchtests/bench-memmove.c (simple_memmove): Likewise.
8306         * benchtests/bench-memset.c (simple_memset): Likewise.
8307         * configure: Regenerated.
8309 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
8311         * math/test-misc.c (main): Ignore fesetround failure when failures
8312         of subsequent rounding tests would be ignored.
8314         [BZ #15654]
8315         * math/fedisblxcpt.c (fedisableexcept): Return 0.
8316         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
8317         * math/fegetenv.c (__fegetenv): Return 0.
8318         * math/fegetexcept.c (fegetexcept): Return 0.
8319         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
8320         FE_TONEAREST.
8321         * math/feholdexcpt.c (feholdexcept): Return 0.
8322         * math/fesetenv.c (__fesetenv): Return 0.
8323         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
8324         argument FE_TONEAREST.
8325         * math/feupdateenv.c (__feupdateenv): Return 0.
8326         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
8328 2013-06-18  Roland McGrath  <roland@hack.frob.com>
8330         * elf/rtld-Rules (rtld-compile-command.S): New variable.
8331         (rtld-compile-command.s, rtld-compile-command.c): New variables.
8332         ($(objpfx)rtld-%.os rules): Use them.
8334 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8336         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
8337         fields.
8339 2013-06-17  Roland McGrath  <roland@hack.frob.com>
8341         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
8342         length of target pattern, then descending length of dependency pattern.
8343         * configure.in (AWK): Require gawk 3.1.2 or newer.
8344         * manual/install.texi (Tools for Compilation): Say that we do.
8345         * configure: Regenerated.
8347         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
8348         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
8349         * scripts/sysd-rules.awk: ... this new script.
8350         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
8351         than a glob-style pattern.
8353 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
8355         * math/test-misc.c (main): Do not treat incorrectly rounded
8356         conversions as failure unless ROUNDING_TESTS passes.
8358 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
8360         [BZ #15631]
8361         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
8362         restore exception state around main square root computation, then
8363         check for inexactness explicitly.
8365         * math/libm-test.inc (fma_test_data): Add another test.
8367 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8369         * manual/threads.texi (Non-POSIX Extensions): New document
8370         node.  Document pthread_getattr_default_np and
8371         pthread_setattr_default_np.
8373         * Versions.def (libpthread): Add GLIBC_2.18.
8374         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
8375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8376         Likewise.
8377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8378         Likewise.
8379         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8380         Likewise.
8381         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8382         Likewise.
8383         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
8384         Likewise.
8385         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8386         Likewise.
8387         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8388         Likewise.
8389         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8390         Likewise.
8391         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8392         Likewise.
8394 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8396         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8397         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
8399 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8400             H.J. Lu  <hjl.tools@gmail.com>
8402         [BZ #15627]
8403         * sysdeps/x86_64/rtld-memset.c: Remove file.
8404         * sysdeps/x86_64/rtld-memset.S: New file.
8406 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
8408         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
8409         (test_in_one_mode): Take arguments for whether the rounding mode
8410         is supported for each floating-point type.
8411         (do_test): Pass new arguments to test_in_one_mode using
8412         ROUNDING_TESTS.
8414 2013-06-13  Roland McGrath  <roland@hack.frob.com>
8416         * posix/tst-waitid.c (do_test): Distinguish different instances of
8417         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
8418         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
8419         before entering the kernel for waitpid.
8421 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
8423         * NEWS: Fix note on clock function precision.  Text by Roland
8424         McGrath.
8426 2013-06-13  Roland McGrath  <roland@hack.frob.com>
8428         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
8429         it into place only when and if the sanity check passes.
8431 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
8433         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
8434         output for whether conversion result is exact.  Take argument
8435         indicating whether type is IBM long double.
8436         (round_for_all): Change need_exact field to ibm_ld.
8437         * stdlib/tst-strtod-round.c (struct exactness): New type.
8438         (struct test): Change bool ld_ok field to struct exactness exact.
8439         (TEST): Update all definitions for change to field.
8440         (tests): Regenerate array contents.
8441         (test_in_one_mode): Take pointer to new field instead of old ld_ok
8442         field value.  Check for IBM long double here.
8443         (do_test): Update calls to test_in_one_mode.
8445 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
8447         [BZ #12515]
8448         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
8449         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
8451 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8453         [BZ #15605]
8454         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
8455         generated by the compiler on loop optimizations.
8456         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
8457         general definitions.
8459 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
8461         * math/bug-nextafter.c: Include <math-tests.h>.
8462         (main): Only test for exceptions if EXCEPTION_TESTS is true for
8463         the relevant type.
8464         * math/bug-nexttoward.c: Include <math-tests.h>.
8465         (main): Only test for exceptions if EXCEPTION_TESTS is true for
8466         the relevant type.
8467         * math/test-misc.c: Include <math-tests.h>.
8468         (main): Only test for exceptions if EXCEPTION_TESTS is true for
8469         the relevant type.
8471 2013-06-12  Andreas Jaeger  <aj@suse.de>
8473         * po/ia.po: Update Interlingua translation from translation
8474         project.
8476 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8478         * include/fenv.h: Include stdbool.h.
8479         (struct rm_ctx): New structure.
8480         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
8481         Define macro.
8482         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
8483         (SET_RESTORE_ROUNDF): Likewise.
8484         (SET_RESTORE_ROUNDL): Likewise.
8485         (SET_RESTORE_ROUND_NOEX): Likewise.
8486         (SET_RESTORE_ROUND_NOEXF): Likewise.
8487         (SET_RESTORE_ROUND_NOEXL): Likewise.
8488         (SET_RESTORE_ROUND_53BIT): Likewise.
8489         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
8490         (libc_feresetround_noexf_ctx): Likewise.
8491         (libc_feresetround_noexl_ctx): Likewise.
8492         (libc_feholdsetround_53bit_ctx): Likewise.
8493         (libc_feresetround_53bit_ctx): Likewise.
8494         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
8495         (libc_feholdexcept_setround_sse_ctx): New function.
8496         (libc_fesetenv_sse_ctx): Likewise.
8497         (libc_feupdateenv_sse_ctx): Likewise.
8498         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
8499         (libc_feholdexcept_setround_387_ctx): Likewise.
8500         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
8501         (libc_feholdsetround_387_prec_ctx): Likewise.
8502         (libc_feholdsetround_387_ctx): Likewise.
8503         (libc_feholdsetround_387_53bit_ctx): Likewise.
8504         (libc_feholdsetround_sse_ctx): Likewise.
8505         (libc_feresetround_sse_ctx): Likewise.
8506         (libc_feresetround_387_ctx): Likewise.
8507         (libc_feupdateenv_387_ctx): Likewise.
8508         (libc_feholdexcept_setroundf_ctx): Define macro.
8509         (libc_fesetenvf_ctx): Likewise.
8510         (libc_feupdateenvf_ctx): Likewise.
8511         (libc_feholdsetroundf_ctx): Likewise.
8512         (libc_feresetroundf_ctx): Likewise.
8513         (libc_feholdexcept_setround_ctx): Likewise.
8514         (libc_fesetenv_ctx): Likewise.
8515         (libc_feupdateenv_ctx): Likewise.
8516         (libc_feholdsetround_ctx): Likewise.
8517         (libc_feresetround_ctx): Likewise.
8518         (libc_feholdexcept_setroundl_ctx): Likewise.
8519         (libc_feupdateenvl_ctx): Likewise.
8520         (libc_feholdsetroundl_ctx): Likewise.
8521         (libc_feresetroundl_ctx): Likewise.
8522         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
8523         (libc_feresetround_53bit_ctx): Likewise.
8525 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8527         * locale/iso-639.def: Convert to UTF-8.
8529 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
8531         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
8532         (EXCEPTION_TESTS_double): Likewise.
8533         (EXCEPTION_TESTS_long_double): Likewise.
8534         (EXCEPTION_TESTS): Likewise.
8535         * math/libm-test.inc (test_exceptions): Only test exceptions if
8536         EXCEPTION_TESTS (FLOAT).
8538 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8540         * benchtests/Makefile (string-bench): Add strcpy_chk and
8541         stpcpy_chk.
8542         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
8543         * benchtests/bench-stpcpy_chk.c: New file.
8544         * benchtests/bench-strcpy_chk-ifunc.c: New file.
8545         * benchtests/bench-strcpy_chk.c: New file.
8546         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
8547         code.
8548         (do_test): Likewise.
8550 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8552         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
8553         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
8554         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
8555         with tabs where appropriate.
8556         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
8557         dl-procinfo.h.
8558         [PPC_PLATFORM_PPC440]: Likewise.
8559         [PPC_PLATFORM_PPC464]: Likewise.
8560         [PPC_PLATFORM_PPC476]: Likewise.
8561         (_dl_string_platform): Add support for detecting ppc405, ppc440,
8562         ppc464, and ppc476 platform strings merging from ports/
8563         dl-procinfo.h.
8565 2013-06-11  Andreas Schwab  <schwab@suse.de>
8567         [BZ #14991]
8568         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
8569         (from_ucs4_idx): Regenerate.
8570         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
8571         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
8572         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
8573         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
8574         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
8575         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
8576         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
8577         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
8578         from FROM_LOOP and TO_LOOP specific macros.
8579         (BODY): Handle combining characters.
8580         * iconvdata/BIG5HKSCS.irreversible: Update.
8581         * iconvdata/BIG5HKSCS.precomposed: New file.
8582         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
8583         characters.
8584         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
8586 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8588         * include/sys/time.h: Fix indentation and add copyright header.
8590         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
8591         (do_test): Likewise.
8592         * string/test-memchr.c (do_one_test): Likewise.
8593         (do_test): Likewise.
8594         * string/test-memcmp.c (do_one_test): Likewise.
8595         (do_test): Likewise.
8596         * string/test-memcpy.c (do_one_test): Likewise.
8597         (do_test): Likewise.
8598         * string/test-memmem.c (do_one_test): Likewise.
8599         (do_test): Likewise.
8600         (do_random_tests): Likewise.
8601         * string/test-memmove.c (do_one_test): Likewise.
8602         (do_test): Likewise.
8603         * string/test-memset.c (do_one_test): Likewise.
8604         (do_test): Likewise.
8605         * string/test-rawmemchr.c (do_one_test): Likewise.
8606         (do_test): Likewise.
8607         * string/test-strcasecmp.c (do_one_test): Likewise.
8608         (do_test): Likewise.
8609         * string/test-strcasestr.c (do_one_test): Likewise.
8610         (do_test): Likewise.
8611         * string/test-strcat.c (do_one_test): Likewise.
8612         (do_test): Likewise.
8613         * string/test-strchr.c (do_one_test): Likewise.
8614         (do_test): Likewise.
8615         * string/test-strcmp.c (do_one_test): Likewise.
8616         (do_test): Likewise.
8617         * string/test-strcpy.c (do_one_test): Likewise.
8618         (do_test): Likewise.
8619         * string/test-string.h: Likewise.
8620         (test_init): Likewise.
8621         * string/test-strlen.c (do_one_test): Likewise.
8622         (do_test): Likewise.
8623         * string/test-strncasecmp.c (do_one_test): Likewise.
8624         (do_test): Likewise.
8625         * string/test-strncat.c (do_one_test): Likewise.
8626         (do_test): Likewise.
8627         * string/test-strncmp.c (do_one_test): Likewise.
8628         (do_test_limit): Likewise.
8629         (do_test): Likewise.
8630         * string/test-strncpy.c (do_one_test): Likewise.
8631         (do_test): Likewise.
8632         * string/test-strnlen.c (do_one_test): Likewise.
8633         (do_test): Likewise.
8634         * string/test-strpbrk.c (do_one_test): Likewise.
8635         (do_test): Likewise.
8636         * string/test-strrchr.c (do_one_test): Likewise.
8637         (do_test): Likewise.
8638         * string/test-strspn.c (do_one_test): Likewise.
8639         (do_test): Likewise.
8640         * string/test-strstr.c (do_one_test): Likewise.
8641         (do_test): Likewise.
8643         * benchtests/Makefile (string-bench): Add string benchmarks.
8644         * benchtests/bench-bcopy-ifunc.c: New file.
8645         * benchtests/bench-bcopy.c: New file.
8646         * benchtests/bench-bzero-ifunc.c: New file.
8647         * benchtests/bench-bzero.c: New file.
8648         * benchtests/bench-memccpy-ifunc.c: New file.
8649         * benchtests/bench-memccpy.c: New file.
8650         * benchtests/bench-memchr-ifunc.c: New file.
8651         * benchtests/bench-memchr.c: New file.
8652         * benchtests/bench-memcmp-ifunc.c: New file.
8653         * benchtests/bench-memcmp.c: New file.
8654         * benchtests/bench-memmem-ifunc.c: New file.
8655         * benchtests/bench-memmem.c: New file.
8656         * benchtests/bench-memmove-ifunc.c: New file.
8657         * benchtests/bench-memmove.c: New file.
8658         * benchtests/bench-mempcpy-ifunc.c: New file.
8659         * benchtests/bench-mempcpy.c: New file.
8660         * benchtests/bench-memset-ifunc.c: New file.
8661         * benchtests/bench-memset.c: New file.
8662         * benchtests/bench-rawmemchr-ifunc.c: New file.
8663         * benchtests/bench-rawmemchr.c: New file.
8664         * benchtests/bench-stpcpy-ifunc.c: New file.
8665         * benchtests/bench-stpcpy.c: New file.
8666         * benchtests/bench-stpncpy-ifunc.c: New file.
8667         * benchtests/bench-stpncpy.c: New file.
8668         * benchtests/bench-strcasecmp-ifunc.c: New file.
8669         * benchtests/bench-strcasecmp.c: New file.
8670         * benchtests/bench-strcasestr-ifunc.c: New file.
8671         * benchtests/bench-strcasestr.c: New file.
8672         * benchtests/bench-strcat-ifunc.c: New file.
8673         * benchtests/bench-strcat.c: New file.
8674         * benchtests/bench-strchr-ifunc.c: New file.
8675         * benchtests/bench-strchr.c: New file.
8676         * benchtests/bench-strchrnul-ifunc.c: New file.
8677         * benchtests/bench-strchrnul.c: New file.
8678         * benchtests/bench-strcmp-ifunc.c: New file.
8679         * benchtests/bench-strcmp.c: New file.
8680         * benchtests/bench-strcpy-ifunc.c: New file.
8681         * benchtests/bench-strcpy.c: New file.
8682         * benchtests/bench-strcspn-ifunc.c: New file.
8683         * benchtests/bench-strcspn.c: New file.
8684         * benchtests/bench-strlen-ifunc.c: New file.
8685         * benchtests/bench-strlen.c: New file.
8686         * benchtests/bench-strncasecmp-ifunc.c: New file.
8687         * benchtests/bench-strncasecmp.c: New file.
8688         * benchtests/bench-strncat-ifunc.c: New file.
8689         * benchtests/bench-strncat.c: New file.
8690         * benchtests/bench-strncmp-ifunc.c: New file.
8691         * benchtests/bench-strncmp.c: New file.
8692         * benchtests/bench-strncpy-ifunc.c: New file.
8693         * benchtests/bench-strncpy.c: New file.
8694         * benchtests/bench-strnlen-ifunc.c: New file.
8695         * benchtests/bench-strnlen.c: New file.
8696         * benchtests/bench-strpbrk-ifunc.c: New file.
8697         * benchtests/bench-strpbrk.c: New file.
8698         * benchtests/bench-strrchr-ifunc.c: New file.
8699         * benchtests/bench-strrchr.c: New file.
8700         * benchtests/bench-strspn-ifunc.c: New file.
8701         * benchtests/bench-strspn.c: New file.
8702         * benchtests/bench-strstr-ifunc.c: New file.
8703         * benchtests/bench-strstr.c: New file.
8705         * benchtests/Makefile: Disable parallel execution of targets.
8706         (string-bench): Add memcpy.
8707         (benchset): New variable to store a list of benchmark sets.
8708         (bench-func): Renamed from bench.
8709         (bench-set): New target.
8710         (bench): Depend on bench-func and bench-set.
8711         * benchtests/README: Add section on benchmark sets.
8712         * benchtests/bench-memcpy-ifunc.c: New file.
8713         * benchtests/bench-memcpy.c: New file.
8714         * benchtests/bench-string.h: New file.
8716 2013-06-11  Andreas Schwab  <schwab@suse.de>
8718         [BZ #15577]
8719         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
8720         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
8721         values in the triple.
8722         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
8723         terminator in the group key.
8725 2013-06-11  Andreas Jaeger  <aj@suse.de>
8727         * po/zh_TW.po: Update Chinese (traditional) translation from
8728         translation project.
8730 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8732         * include/time.h (__clock_gettime): Add libc_hidden_proto.
8733         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
8734         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
8735         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8736         (clock_getcpuclockid): Likewise.
8737         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
8738         Add weak_alias and libc_hidden_def.
8739         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
8740         * rt/clock_gettime.c (clock_gettime): Rename to
8741         __clock_gettime.  Add weak_alias and libc_hidden_def.
8742         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
8743         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
8744         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
8745         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
8746         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
8747         Likewise.
8748         * rt/clock_settime.c (clock_settime): Rename to
8749         __clock_settime.  Add weak_alias and libc_hidden_def.
8750         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
8752 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
8754         * mach/err_boot.sub: Remove trailing whitespace.
8755         * mach/err_ipc.sub: Likewise.
8756         * mach/err_mach.sub: Likewise.
8758         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
8759         (ROUNDING_TESTS_double): Likewise.
8760         (ROUNDING_TESTS_long_double): Likewise.
8761         (ROUNDING_TESTS): Likewise.
8762         * math/libm-test.inc: Include <math-tests.h>.
8763         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
8764         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8765         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8766         (IF_ROUND_INIT_FE_UPWARD): Likewise.
8768 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8770         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
8771         of assigning.
8773 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
8775         * sysdeps/gnu/errlist.awk: Do not generate space at end of
8776         otherwise empty TRANS lines.
8777         * sysdeps/gnu/errlist.c: Regenerated.
8779         * catgets/gencat.c (error_print): Use (void) in function
8780         definition.
8781         * crypt/crypt_util.c (__init_des): Likewise.
8782         * crypt/speeds.c (Stop): Likewise.
8783         (main): Likewise.
8784         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
8785         * inet/ruserpass.c (token): Likewise.
8786         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
8787         * intl/localealias.c (extend_alias_table): Likewise.
8788         * intl/plural-exp.c (init_germanic_plural): Likewise.
8789         * libio/fcloseall.c (__fcloseall): Likewise.
8790         * libio/genops.c (_IO_flush_all): Likewise.
8791         (_IO_flush_all_linebuffered): Likewise.
8792         (_IO_cleanup): Likewise.
8793         (_IO_iter_begin): Likewise.
8794         (_IO_iter_end): Likewise.
8795         (_IO_list_lock): Likewise.
8796         (_IO_list_unlock): Likewise.
8797         (_IO_list_resetlock): Likewise.
8798         * libio/getchar.c (getchar): Likewise.
8799         * libio/getchar_u.c (getchar_unlocked): Likewise.
8800         * libio/getwchar.c (getwchar): Likewise.
8801         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
8802         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
8803         * login/getpt.c (__getpt): Likewise.
8804         * login/tst-utmp.c (main): Likewise.
8805         * malloc/hooks.c (__malloc_check_init): Likewise.
8806         * malloc/malloc.c (__malloc_stats): Likewise.
8807         * malloc/mtrace.c (tr_break): Likewise.
8808         (mtrace): Likewise.
8809         (muntrace): Likewise.
8810         * misc/fstab.c (endfsent): Likewise.
8811         * misc/getclktck.c (__getclktck): Likewise.
8812         * misc/getdtsz.c (__getdtablesize): Likewise.
8813         * misc/gethostid.c (gethostid): Likewise.
8814         * misc/getpagesize.c (__getpagesize): Likewise.
8815         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
8816         (__get_nprocs): Likewise.
8817         (__get_phys_pages): Likewise.
8818         (__get_avphys_pages): Likewise.
8819         * misc/getttyent.c (getttyent): Likewise.
8820         (setttyent): Likewise.
8821         (endttyent): Likewise.
8822         * misc/getusershell.c (getusershell): Likewise.
8823         (endusershell): Likewise.
8824         (setusershell): Likewise.
8825         (initshells): Likewise.
8826         * misc/hsearch.c (__hdestroy): Likewise.
8827         * misc/sync.c (sync): Likewise.
8828         * misc/syslog.c (closelog_internal): Likewise.
8829         (closelog): Likewise.
8830         * misc/ttyslot.c (ttyslot): Likewise.
8831         * misc/vhangup.c (vhangup): Likewise.
8832         * posix/fork.c (__fork): Likewise.
8833         * posix/getegid.c (__getegid): Likewise.
8834         * posix/geteuid.c (__geteuid): Likewise.
8835         * posix/getgid.c (__getgid): Likewise.
8836         * posix/getpid.c (__getpid): Likewise.
8837         * posix/getppid.c (__getppid): Likewise.
8838         * posix/getuid.c (__getuid): Likewise.
8839         * posix/pause.c (pause): Likewise.
8840         * posix/setpgrp.c (setpgrp): Likewise.
8841         * posix/setsid.c (__setsid): Likewise.
8842         * posix/test-vfork.c (noop): Likewise.
8843         * resolv/gethnamaddr.c (_endhtent): Likewise.
8844         (_gethtent): Likewise.
8845         (ht_endhostent): Likewise.
8846         (gethostent): Likewise.
8847         (dns_service): Likewise.
8848         * stdlib/drand48.c (drand48): Likewise.
8849         * stdlib/lrand48.c (lrand48): Likewise.
8850         * stdlib/mrand48.c (mrand48): Likewise.
8851         * stdlib/rand.c (rand): Likewise.
8852         * stdlib/random.c (__random): Likewise.
8853         * stdlib/setenv.c (clearenv): Likewise.
8854         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
8855         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
8856         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
8857         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
8858         (__get_nprocs): Likewise.
8859         (__get_phys_pages): Likewise.
8860         (__get_avphys_pages): Likewise.
8861         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
8862         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
8863         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
8864         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
8865         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
8866         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
8867         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
8868         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
8869         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
8870         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
8871         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
8872         * sysdeps/mach/hurd/sync.c (sync): Likewise.
8873         * sysdeps/posix/clock.c (clock): Likewise.
8874         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
8875         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
8876         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
8877         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
8878         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
8879         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
8880         (__get_nprocs_conf): Likewise.
8881         (__get_phys_pages): Likewise.
8882         (__get_avphys_pages): Likewise.
8883         * time/clock.c (clock): Likewise.
8884         * time/tzset.c (__tzname_max): Likewise.
8886 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
8888         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
8889         (__bswap_32): Do not use "register".
8890         * crypt/crypt.c (_ufc_doit_r): Likewise.
8891         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8892         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8893         * gmon/gmon.c (__monstartup): Likewise.
8894         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
8895         * hurd/hurdmalloc.c (more_memory): Likewise.
8896         (malloc): Likewise.
8897         (free): Likewise.
8898         (realloc): Likewise.
8899         (malloc_fork_prepare): Likewise.
8900         (malloc_fork_parent): Likewise.
8901         (malloc_fork_child): Likewise.
8902         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
8903         (_svcauth_des): Likewise.
8904         * inet/inet_lnaof.c (inet_lnaof): Likewise.
8905         * inet/inet_net.c (inet_network): Likewise.
8906         * inet/inet_netof.c (inet_netof): Likewise.
8907         * inet/rcmd.c (__validuser2_sa): Likewise.
8908         * io/fts.c (fts_open): Likewise.
8909         (fts_load): Likewise.
8910         (fts_close): Likewise.
8911         (fts_read): Likewise.
8912         (fts_children): Likewise.
8913         (fts_build): Likewise.
8914         (fts_stat): Likewise.
8915         (fts_sort): Likewise.
8916         (fts_alloc): Likewise.
8917         (fts_lfree): Likewise.
8918         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
8919         (_IO_file_xsgetn): Likewise.
8920         (_IO_file_xsgetn_mmap): Likewise.
8921         * libio/iofopncook.c (_IO_cookie_read): Likewise.
8922         (_IO_cookie_write): Likewise.
8923         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
8924         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
8925         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
8926         * malloc/obstack.c (_obstack_begin): Likewise.
8927         (_obstack_begin_1): Likewise.
8928         (_obstack_newchunk): Likewise.
8929         (_obstack_allocated_p): Likewise.
8930         (obstack_free): Likewise.
8931         (_obstack_memory_used): Likewise.
8932         * misc/getttyent.c (getttynam): Likewise.
8933         (getttyent): Likewise.
8934         (skip): Likewise.
8935         (value): Likewise.
8936         * misc/getusershell.c (initshells): Likewise.
8937         * misc/syslog.c (__vsyslog_chk): Likewise.
8938         * misc/ttyslot.c (ttyslot): Likewise.
8939         * nis/nis_hash.c (__nis_hash): Likewise.
8940         * posix/fnmatch_loop.c (FCT): Likewise.
8941         * posix/getconf.c (print_all): Likewise.
8942         (main): Likewise.
8943         * posix/getopt.c (exchange): Likewise.
8944         * posix/glob.c (globfree): Likewise.
8945         (prefix_array): Likewise.
8946         (__glob_pattern_type): Likewise.
8947         * resolv/arpa/nameser.h (NS_GET16): Likewise.
8948         (NS_GET32): Likewise.
8949         (NS_PUT16): Likewise.
8950         (NS_PUT32): Likewise.
8951         * resolv/gethnamaddr.c (getanswer): Likewise.
8952         (gethostbyname2): Likewise.
8953         (gethostbyaddr): Likewise.
8954         (_gethtent): Likewise.
8955         (_gethtbyname2): Likewise.
8956         (_gethtbyaddr): Likewise.
8957         * resolv/ns_print.c (dst_s_get_int16): Likewise.
8958         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8959         * resolv/res_init.c (__res_vinit): Likewise.
8960         (net_mask): Likewise.
8961         * resolv/res_mkquery.c (outchar): Likewise.
8962         (PRINT): Likewise.
8963         * stdio-common/printf_fp.c (outchar): Likewise.
8964         (PRINT): Likewise.
8965         * stdio-common/printf_fphex.c (outchar): Likewise.
8966         (PRINT): Likewise.
8967         * stdio-common/printf_size.c (outchar): Likewise.
8968         (PRINT): Likewise.
8969         * stdio-common/test_rdwr.c (main): Likewise.
8970         * stdio-common/tfformat.c (matches): Likewise.
8971         * stdio-common/vfprintf.c (outchar): Likewise.
8972         (printf_unknown): Likewise.
8973         (buffered_vfprintf): Likewise.
8974         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8975         * stdio-common/xbug.c (AppendToBuffer): Likewise.
8976         (ReadFile): Likewise.
8977         * stdlib/qsort.c (SWAP): Likewise.
8978         (_quicksort): Likewise.
8979         * stdlib/setenv.c (__add_to_environ): Likewise.
8980         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8981         * stdlib/strtol_l.c (__strtol_l): Likewise.
8982         * stdlib/tst-strtod.c (main): Likewise.
8983         * stdlib/tst-strtol.c (main): Likewise.
8984         * stdlib/tst-strtoll.c (main): Likewise.
8985         * string/bits/string2.h (__strcmp_cc): Likewise.
8986         (__strcmp_cg): Likewise.
8987         (__strcspn_c1): Likewise.
8988         (__strcspn_c2): Likewise.
8989         (__strcspn_c3): Likewise.
8990         (__strspn_c1): Likewise.
8991         (__strspn_c2): Likewise.
8992         (__strspn_c3): Likewise.
8993         (__strsep_1c): Likewise.
8994         (__strsep_2c): Likewise.
8995         (__strsep_3c): Likewise.
8996         * string/memccpy.c (__memccpy): Likewise.
8997         * string/stpcpy.c (__stpcpy): Likewise.
8998         * string/strcmp.c (strcmp): Likewise.
8999         * string/strrchr.c (strrchr): Likewise.
9000         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
9001         Likewise.
9002         * sysdeps/mach/hurd/getcwd.c
9003         (_hurd_canonicalize_directory_name_internal): Likewise.
9004         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
9005         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
9006         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
9007         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
9008         Likewise, in both definitions.
9009         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
9010         definitions.
9011         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
9012         64] (__bswap_64): Likewise.
9013         * time/test_time.c (main): Likewise.
9014         * time/tzfile.c (__tzfile_read): Likewise.
9015         (__tzfile_compute): Likewise.
9016         * time/tzset.c (__tzset_parse_tz): Likewise.
9017         (tzset_internal): Likewise.
9018         (compute_change): Likewise.
9019         * wcsmbs/wcscat.c (__wcscat): Likewise.
9020         * wcsmbs/wcschr.c (wcschr): Likewise.
9021         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
9022         * wcsmbs/wcscspn.c (wcscspn): Likewise.
9023         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
9024         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
9025         * wcsmbs/wcsspn.c (wcsspn): Likewise.
9026         * wcsmbs/wcsstr.c (wcsstr): Likewise.
9027         * wcsmbs/wmemchr.c (wmemchr): Likewise.
9028         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9029         * wcsmbs/wmemset.c (wmemset): Likewise.
9031 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
9033         * scripts/config.guess: Update to version 2013-05-16.
9034         * scripts/config.sub: Update to version 2013-04-24.
9035         * scripts/install-sh: Update to version 2011-11-20.07.
9036         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
9037         * scripts/move-if-change: Update to version 2012-01-06 07:23.
9039 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
9041         * debug/fgetws_u_chk.c: Fix leading whitespaces.
9042         * elf/sln.c: Likewise.
9043         * hurd/hurd/ioctl.h: Likewise.
9044         * hurd/hurdmalloc.c: Likewise.
9045         * hurd/xattr.c: Likewise.
9046         * include/shlib-compat.h: Likewise.
9047         * inet/ruserpass.c: Likewise.
9048         * libio/iofgets_u.c: Likewise.
9049         * libio/iofgetws_u.c: Likewise.
9050         * locale/programs/ld-identification.c: Likewise.
9051         * locale/programs/ld-time.c: Likewise.
9052         * mach/msg-destroy.c: Likewise.
9053         * nss/nss_files/files-netgrp.c: Likewise.
9054         * resolv/res_data.c: Likewise.
9055         * soft-fp/op-1.h: Likewise.
9056         * soft-fp/op-2.h: Likewise.
9057         * soft-fp/op-4.h: Likewise.
9058         * soft-fp/op-common.h: Likewise.
9059         * stdio-common/printf_fphex.c: Likewise.
9060         * stdlib/strtod_l.c: Likewise.
9061         * sunrpc/rpc/clnt.h: Likewise.
9062         * sysdeps/generic/framestate.c: Likewise.
9063         * sysdeps/i386/bsd-_setjmp.S: Likewise.
9064         * sysdeps/i386/bsd-setjmp.S: Likewise.
9065         * sysdeps/i386/__longjmp.S: Likewise.
9066         * sysdeps/i386/setjmp.S: Likewise.
9067         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9068         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9069         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9070         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9071         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9072         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9073         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9074         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9075         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9076         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9077         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9078         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9079         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9080         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9081         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9082         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9083         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9084         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
9085         * sysdeps/ieee754/support.c: Likewise.
9086         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9087         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
9088         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
9089         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
9090         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
9091         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
9092         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
9093         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
9094         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
9095         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
9096         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
9097         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
9098         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
9099         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
9100         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
9101         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
9102         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9105 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
9107         * posix/transbug.c: Remove executable mode.
9109 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
9111         * crypt/speeds.c: Remove trailing whitespace.
9112         * dlfcn/default.c: Likewise.
9113         * elf/ifuncdep2.c: Likewise.
9114         * elf/ifuncmain1.c: Likewise.
9115         * elf/ifuncmain1vis.c: Likewise.
9116         * elf/testobj.h: Likewise.
9117         * elf/tst-stackguard1.c: Likewise.
9118         * gmon/sys/gmon.h: Likewise.
9119         * hurd/hurdmsg.c: Likewise.
9120         * hurd/new-fd.c: Likewise.
9121         * hurd/ports-get.c: Likewise.
9122         * iconvdata/ibm1008_420.c: Likewise.
9123         * inet/tst-getni1.c: Likewise.
9124         * inet/tst-getni2.c: Likewise.
9125         * libio/ioungetc.c: Likewise.
9126         * libio/wfiledoalloc.c: Likewise.
9127         * manual/libm-err-tab.pl: Likewise.
9128         * math/w_dremf.c: Likewise.
9129         * misc/ftruncate.c: Likewise.
9130         * posix/bug-glob2.c: Likewise.
9131         * posix/tst-pcre.c: Likewise.
9132         * posix/wait4.c: Likewise.
9133         * resolv/README: Likewise.
9134         * resolv/res_debug.h: Likewise.
9135         * resolv/tst-inet_ntop.c: Likewise.
9136         * setjmp/bug269-setjmp.c: Likewise.
9137         * soft-fp/extended.h: Likewise.
9138         * soft-fp/op-1.h: Likewise.
9139         * soft-fp/op-2.h: Likewise.
9140         * soft-fp/op-4.h: Likewise.
9141         * soft-fp/op-8.h: Likewise.
9142         * soft-fp/testit.c: Likewise.
9143         * stdio-common/bug16.c: Likewise.
9144         * stdlib/random.c: Likewise.
9145         * sunrpc/rpcsvc/rquota.x: Likewise.
9146         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
9147         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9148         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9149         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9150         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9151         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9152         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9153         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9154         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9155         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9156         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9157         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9158         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9159         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9160         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9161         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9162         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9163         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9164         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9165         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9166         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9167         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9168         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9169         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9170         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9171         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9172         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9173         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9174         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9175         * sysdeps/ieee754/s_lib_version.c: Likewise.
9176         * sysdeps/mach/hurd/check_fds.c: Likewise.
9177         * sysdeps/mach/hurd/getsockname.c: Likewise.
9178         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
9179         * sysdeps/mach/hurd/recvfrom.c: Likewise.
9180         * sysdeps/powerpc/bits/link.h: Likewise.
9181         * sysdeps/powerpc/dl-procinfo.c: Likewise.
9182         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
9183         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
9184         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
9185         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9186         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9187         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
9188         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9189         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
9190         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9191         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9192         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9193         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
9194         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9195         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9196         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9197         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9198         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9199         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9200         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9201         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9202         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
9203         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9204         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9205         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
9206         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9207         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9208         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9209         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9210         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9211         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9212         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9213         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9214         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9215         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
9216         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9217         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
9218         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9219         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9220         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
9221         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
9222         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
9223         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
9224         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
9225         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9226         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
9227         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
9228         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9229         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
9230         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
9231         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9232         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9233         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9234         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9235         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
9236         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9237         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9238         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9239         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
9240         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9241         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
9242         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
9243         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
9244         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9245         * sysdeps/powerpc/sysdep.h: Likewise.
9246         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9247         * sysdeps/s390/s390-64/sub_n.S: Likewise.
9248         * sysdeps/sh/dl-trampoline.S: Likewise.
9249         * sysdeps/sh/memset.S: Likewise.
9250         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
9251         * sysdeps/sh/strlen.S: Likewise.
9252         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
9253         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
9254         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
9255         * sysdeps/sparc/sparc32/rem.S: Likewise.
9256         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
9257         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
9258         * sysdeps/sparc/sparc32/strchr.S: Likewise.
9259         * sysdeps/sparc/sparc32/udiv.S: Likewise.
9260         * sysdeps/sparc/sparc32/urem.S: Likewise.
9261         * sysdeps/sparc/sparc64/add_n.S: Likewise.
9262         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9263         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
9264         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
9265         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
9266         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
9267         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
9268         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
9269         * sysdeps/unix/bsd/times.c: Likewise.
9270         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
9271         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
9272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9275         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9276         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9277         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
9278         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
9279         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
9280         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
9281         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9282         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
9283         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9284         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9285         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
9286         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9287         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
9288         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
9289         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
9290         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
9291         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
9292         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9293         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
9294         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
9295         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9296         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
9297         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9298         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
9299         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
9300         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
9301         * sysdeps/x86_64/strcspn.S: Likewise.
9303 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9305         * locale/C-translit.h: Revert #include <stdint.h> because this is a
9306         generated file.  Regenerate properly from gen-translit.pl.
9307         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
9308         locale/C-translit.h.
9310 2013-06-05  Andreas Schwab  <schwab@suse.de>
9312         [BZ #15100]
9313         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
9314         week as 6 instead of -1.
9315         * time/tst-strptime.c (day_tests): Add test case.
9317 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9319         * sysdeps/generic/math_private.h
9320         (libc_feholdexcept_setround_53bit): Replace with
9321         libc_feholdsetround_53bit.
9322         (libc_feupdateenv_53bit): Replace with
9323         libc_feresetround_53bit.
9324         (SET_RESTORE_ROUND_53BIT): Adjust.
9326 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9328         * string/test-strchrnul.c: Add copyright header.
9330         * posix/tst-getaddrinfo4.c: Increase test timeout.
9332 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
9334         [BZ #15536]
9335         * math/libm-test.inc (MAX_EXP): Remove
9336         (MIN_EXP): Define.
9337         (ulp): Use MIN_EXP - MANT_DIG.
9338         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
9340 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
9342         * po/be.po: Revert last change.
9343         * po/zh_CN.po: Likewise.
9344         * po/header.pot: Likewise.
9346 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
9348         * Makefile ($(common-objpfx)linkobj/libc.so): Define
9349         link-libc-deps to empty as target-specific variable.
9350         * Makerules (link-libc-args): New variable.
9351         (libc-for-link): Likewise.
9352         (link-libc-deps): Likewise.
9353         (lib%.so): Depend on $(link-libc-deps).  Link with
9354         $(link-libc-args).
9355         (build-module): Link with $(link-libc-args).
9356         (build-module-asneeded): Likewise.
9357         (build-module-helper-objlist): Filter out $(link-libc-deps) from
9358         list of objects.
9359         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
9360         target-specific variable.
9361         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
9362         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
9363         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
9364         libc.
9365         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
9366         libc and ld.so.
9367         ($(objpfx)libpcprofile.so): Likewise.
9368         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
9369         libc_nonshared.a.
9370         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
9371         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
9372         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
9373         $(link-libc-deps).
9374         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
9375         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
9376         * login/Makefile ($(objpfx)libutil.so): Likewise.
9377         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
9378         * math/Makefile ($(objpfx)libm.so): Likewise.
9379         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
9380         $(objpfx)libnsl.so): Define libc-for-link as target-specific
9381         variable instead of depending directly on libc.
9382         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
9383         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
9384         $(link-libc-deps).
9385         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
9386         libc.
9387         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
9388         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
9389         ($(objpfx)libanl.so): Likewise.
9390         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
9391         ld.so.
9392         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
9393         $(link-libc-deps).
9394         * sysdeps/i386/fpu/Makefile: Remove file.
9395         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
9396         ($(objpfx)libm.so): Remove dependency on ld.so.
9398 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
9400         [BZ # 15553]
9401         * nis/yp_xdr.c (XDRMAXNAME): Define.
9402         (XDRMAXRECORD): Define.
9403         (xdr_domainname): Use XDRMAXNAME.
9404         (xdr_mapname): Likewise.
9405         (xdr_peername): Likewise.
9406         (xdr_keydat): Use XDRMAXRECORD.
9407         (xdr_valdat): Likewise.
9409 2013-05-30  Jeff Law  <law@redhat.com>
9411         [BZ #14256]
9412         * manual/errno.texi (ESTALE): Update to account for more than
9413         just NFS file systems.
9414         * sysdeps/gnu/errlist.c: Regenerated.
9416 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9418         [BZ #15465]
9419         * elf/Makefile (tests): Add tst-null-argv.
9420         (modules-names):  Add tst-null-argv-lib.
9421         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
9422         (tst-null-argv-ENV): Set environment for tst-null-argv.
9423         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
9424         (RTLD_PROGNAME): New macro.
9425         * elf/tst-null-argv.c: New test case.
9426         * elf/tst-null-argv-lib.c: Library for test case.
9427         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
9428         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9429         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
9430         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
9431         * elf/dl-init.c (call_init): Likewise.
9432         (_dl_init): Likewise.
9433         * elf/dl-load.c (print_search_path): Likewise.
9434         (_dl_map_object): Likewise.
9435         * elf/dl-lookup.c (do_lookup_x): Likewise.
9436         (add_dependency): Likewise.
9437         (_dl_lookup_symbol_x): Likewise.
9438         (_dl_debug_bindings): Likewise.
9439         * elf/dl-open.c (_dl_show_scope): Likewise.
9440         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9441         * elf/dl-version.c (match_symbol): Likewise.
9442         (_dl_check_map_versions): Likewise.
9443         * elf/rtld.c (dl_main): Likewise.
9444         (print_unresolved): Use RTLD_PROGNAME.
9445         (print_missing_version): Likewise.
9446         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
9447         (elf_machine_rela): Likewise.
9448         * sysdeps/powerpc/powerpc32/dl-machine.c
9449         (__process_machine_rela): Likewise.
9450         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9451         Likewise.
9452         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9453         Likewise.
9454         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9455         Likewise.
9456         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9457         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
9458         Likewise.
9459         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
9460         Likewise.
9461         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9463 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
9465         * po/be.po: Add descriptive title.
9466         * po/zh_CN.po: Likewise.
9467         * po/header.pot: Likewise.
9469 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
9471         * locale/programs/locarchive.c (create_archive): Inlucde fname in
9472         error message.
9473         (enlarge_archive): Likewise.
9475 2013-05-28  Ben North  <ben@redfrontdoor.org>
9477         * manual/arith.texi (frexp): It is the magnitude of the return
9478         value which lies in [0.5, 1), not the return value itself.
9480 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9482         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9484 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
9486         * stdio-common/bug26.c (main): Correct fscanf template.
9488         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
9489         declare _dl_skip_args.
9491         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
9492         Don't declare.
9494         * manual/platform.texi: Add missing @end deftypefun.
9496 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
9498         [BZ #15529]
9499         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
9500         bit of mantissa of 2^16382.
9501         * math/libm-test.inc (hypot_test_data): Add more tests.
9503         * math/libm-test.inc: Add drem and pow10 to list of tested
9504         functions.
9505         (pow10_test): New function.
9506         (drem_test): Likewise.
9507         (drem_test_tonearest): Likewise.
9508         (drem_test_towardzero): Likewise.
9509         (drem_test_downward): Likewise.
9510         (drem_test_upward): Likewise.
9511         (main): Call the new functions.
9513         * math/libm-test.inc (finite_test_data): Remove.
9514         (finite_test): Run tests from isfinite_test_data.
9515         (gamma_test_data): Remove.
9516         (gamma_test): Run tests from lgamma_test_data.
9517         * sysdeps/i386/fpu/libm-test-ulps: Update.
9518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9520 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9522         * manual/platform.texi: Add PowerPC PPR function set documentation.
9523         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
9524         implementation.
9526 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
9528         * math/libm-test.inc (MAX_EXP): Define.
9529         (ULPDIFF): Define.
9530         (ulp): New function.
9531         (check_float_internal): Use ULPDIFF.
9532         (cpow_test): Disable failing test.
9533         (check_ulp): Test ulp() implemetnation.
9534         (main): Call check_ulp before starting tests.
9536 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
9538         * math/gen-libm-test.pl (generate_testfile): Do not handle
9539         START_DATA and END_DATA.
9540         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
9541         END_DATA.
9542         (acos_tonearest_test_data): Likewise.
9543         (acos_towardzero_test_data): Likewise.
9544         (acos_downward_test_data): Likewise.
9545         (acos_upward_test_data): Likewise.
9546         (acosh_test_data): Likewise.
9547         (asin_test_data): Likewise.
9548         (asin_tonearest_test_data): Likewise.
9549         (asin_towardzero_test_data): Likewise.
9550         (asin_downward_test_data): Likewise.
9551         (asin_upward_test_data): Likewise.
9552         (asinh_test_data): Likewise.
9553         (atan_test_data): Likewise.
9554         (atanh_test_data): Likewise.
9555         (atan2_test_data): Likewise.
9556         (cabs_test_data): Likewise.
9557         (cacos_test_data): Likewise.
9558         (cacosh_test_data): Likewise.
9559         (carg_test_data): Likewise.
9560         (casin_test_data): Likewise.
9561         (casinh_test_data): Likewise.
9562         (catan_test_data): Likewise.
9563         (catanh_test_data): Likewise.
9564         (cbrt_test_data): Likewise.
9565         (ccos_test_data): Likewise.
9566         (ccosh_test_data): Likewise.
9567         (ceil_test_data): Likewise.
9568         (cexp_test_data): Likewise.
9569         (cimag_test_data): Likewise.
9570         (clog_test_data): Likewise.
9571         (clog10_test_data): Likewise.
9572         (conj_test_data): Likewise.
9573         (copysign_test_data): Likewise.
9574         (cos_test_data): Likewise.
9575         (cos_tonearest_test_data): Likewise.
9576         (cos_towardzero_test_data): Likewise.
9577         (cos_downward_test_data): Likewise.
9578         (cos_upward_test_data): Likewise.
9579         (cosh_test_data): Likewise.
9580         (cosh_tonearest_test_data): Likewise.
9581         (cosh_towardzero_test_data): Likewise.
9582         (cosh_downward_test_data): Likewise.
9583         (cosh_upward_test_data): Likewise.
9584         (cpow_test_data): Likewise.
9585         (cproj_test_data): Likewise.
9586         (creal_test_data): Likewise.
9587         (csin_test_data): Likewise.
9588         (csinh_test_data): Likewise.
9589         (csqrt_test_data): Likewise.
9590         (ctan_test_data): Likewise.
9591         (ctan_tonearest_test_data): Likewise.
9592         (ctan_towardzero_test_data): Likewise.
9593         (ctan_downward_test_data): Likewise.
9594         (ctan_upward_test_data): Likewise.
9595         (ctanh_test_data): Likewise.
9596         (ctanh_tonearest_test_data): Likewise.
9597         (ctanh_towardzero_test_data): Likewise.
9598         (ctanh_downward_test_data): Likewise.
9599         (ctanh_upward_test_data): Likewise.
9600         (erf_test_data): Likewise.
9601         (erfc_test_data): Likewise.
9602         (exp_test_data): Likewise.
9603         (exp_tonearest_test_data): Likewise.
9604         (exp_towardzero_test_data): Likewise.
9605         (exp_downward_test_data): Likewise.
9606         (exp_upward_test_data): Likewise.
9607         (exp10_test_data): Likewise.
9608         (exp2_test_data): Likewise.
9609         (expm1_test_data): Likewise.
9610         (fabs_test_data): Likewise.
9611         (fdim_test_data): Likewise.
9612         (finite_test_data): Likewise.
9613         (floor_test_data): Likewise.
9614         (fma_test_data): Likewise.
9615         (fma_towardzero_test_data): Likewise.
9616         (fma_downward_test_data): Likewise.
9617         (fma_upward_test_data): Likewise.
9618         (fmax_test_data): Likewise.
9619         (fmin_test_data): Likewise.
9620         (fmod_test_data): Likewise.
9621         (fpclassify_test_data): Likewise.
9622         (frexp_test_data): Likewise.
9623         (gamma_test_data): Likewise.
9624         (hypot_test_data): Likewise.
9625         (ilogb_test_data): Likewise.
9626         (isfinite_test_data): Likewise.
9627         (isgreater_test_data): Likewise.
9628         (isgreaterequal_test_data): Likewise.
9629         (isinf_test_data): Likewise.
9630         (isless_test_data): Likewise.
9631         (islessequal_test_data): Likewise.
9632         (islessgreater_test_data): Likewise.
9633         (isnan_test_data): Likewise.
9634         (isnormal_test_data): Likewise.
9635         (issignaling_test_data): Likewise.
9636         (isunordered_test_data): Likewise.
9637         (j0_test_data): Likewise.
9638         (j1_test_data): Likewise.
9639         (jn_test_data): Likewise.
9640         (ldexp_test_data): Likewise.
9641         (lgamma_test_data): Likewise.
9642         (lrint_test_data): Likewise.
9643         (lrint_tonearest_test_data): Likewise.
9644         (lrint_towardzero_test_data): Likewise.
9645         (lrint_downward_test_data): Likewise.
9646         (lrint_upward_test_data): Likewise.
9647         (llrint_test_data): Likewise.
9648         (llrint_tonearest_test_data): Likewise.
9649         (llrint_towardzero_test_data): Likewise.
9650         (llrint_downward_test_data): Likewise.
9651         (llrint_upward_test_data): Likewise.
9652         (log_test_data): Likewise.
9653         (log10_test_data): Likewise.
9654         (log1p_test_data): Likewise.
9655         (log2_test_data): Likewise.
9656         (logb_test_data): Likewise.
9657         (logb_downward_test_data): Likewise.
9658         (lround_test_data): Likewise.
9659         (llround_test_data): Likewise.
9660         (modf_test_data): Likewise.
9661         (nearbyint_test_data): Likewise.
9662         (nextafter_test_data): Likewise.
9663         (nexttoward_test_data): Likewise.
9664         (pow_test_data): Likewise.
9665         (pow_tonearest_test_data): Likewise.
9666         (pow_towardzero_test_data): Likewise.
9667         (pow_downward_test_data): Likewise.
9668         (pow_upward_test_data): Likewise.
9669         (remainder_test_data): Likewise.
9670         (remainder_tonearest_test_data): Likewise.
9671         (remainder_towardzero_test_data): Likewise.
9672         (remainder_downward_test_data): Likewise.
9673         (remainder_upward_test_data): Likewise.
9674         (remquo_test_data): Likewise.
9675         (rint_test_data): Likewise.
9676         (rint_tonearest_test_data): Likewise.
9677         (rint_towardzero_test_data): Likewise.
9678         (rint_downward_test_data): Likewise.
9679         (rint_upward_test_data): Likewise.
9680         (round_test_data): Likewise.
9681         (scalb_test_data): Likewise.
9682         (scalbn_test_data): Likewise.
9683         (scalbln_test_data): Likewise.
9684         (signbit_test_data): Likewise.
9685         (sin_test_data): Likewise.
9686         (sin_tonearest_test_data): Likewise.
9687         (sin_towardzero_test_data): Likewise.
9688         (sin_downward_test_data): Likewise.
9689         (sin_upward_test_data): Likewise.
9690         (sincos_test_data): Likewise.
9691         (sinh_test_data): Likewise.
9692         (sinh_tonearest_test_data): Likewise.
9693         (sinh_towardzero_test_data): Likewise.
9694         (sinh_downward_test_data): Likewise.
9695         (sinh_upward_test_data): Likewise.
9696         (sqrt_test_data): Likewise.
9697         (tan_test_data): Likewise.
9698         (tan_tonearest_test_data): Likewise.
9699         (tan_towardzero_test_data): Likewise.
9700         (tan_downward_test_data): Likewise.
9701         (tan_upward_test_data): Likewise.
9702         (tanh_test_data): Likewise.
9703         (tgamma_test_data): Likewise.
9704         (trunc_test_data): Likewise.
9705         (y0_test_data): Likewise.
9706         (y1_test_data): Likewise.
9707         (yn_test_data): Likewise.
9708         (significand_test_data): Likewise.
9710         * math/gen-libm-test.pl (@functions): Remove variable.
9711         (generate_testfile): Don't handle START and END lines.
9712         * math/libm-test.inc (START): New macro.
9713         (END): Likewise.
9714         (END_COMPLEX): Likewise.
9715         (acos_test): Use END macro without arguments.
9716         (acos_test_tonearest): Likewise.
9717         (acos_test_towardzero): Likewise.
9718         (acos_test_downward): Likewise.
9719         (acos_test_upward): Likewise.
9720         (acosh_test): Likewise.
9721         (asin_test): Likewise.
9722         (asin_test_tonearest): Likewise.
9723         (asin_test_towardzero): Likewise.
9724         (asin_test_downward): Likewise.
9725         (asin_test_upward): Likewise.
9726         (asinh_test): Likewise.
9727         (atan_test): Likewise.
9728         (atanh_test): Likewise.
9729         (atan2_test): Likewise.
9730         (cabs_test): Likewise.
9731         (cacos_test): Use END_COMPLEX macro without arguments.
9732         (cacosh_test): Likewise.
9733         (carg_test): Use END macro without arguments.
9734         (casin_test): Use END_COMPLEX macro without arguments.
9735         (casinh_test): Likewise.
9736         (catan_test): Likewise.
9737         (catanh_test): Likewise.
9738         (cbrt_test): Use END macro without arguments.
9739         (ccos_test): Use END_COMPLEX macro without arguments.
9740         (ccosh_test): Likewise.
9741         (ceil_test): Use END macro without arguments.
9742         (cexp_test): Use END_COMPLEX macro without arguments.
9743         (cimag_test): Use END macro without arguments.
9744         (clog_test): Use END_COMPLEX macro without arguments.
9745         (clog10_test): Likewise.
9746         (conj_test): Likewise.
9747         (copysign_test): Use END macro without arguments.
9748         (cos_test): Likewise.
9749         (cos_test_tonearest): Likewise.
9750         (cos_test_towardzero): Likewise.
9751         (cos_test_downward): Likewise.
9752         (cos_test_upward): Likewise.
9753         (cosh_test): Likewise.
9754         (cosh_test_tonearest): Likewise.
9755         (cosh_test_towardzero): Likewise.
9756         (cosh_test_downward): Likewise.
9757         (cosh_test_upward): Likewise.
9758         (cpow_test): Use END_COMPLEX macro without arguments.
9759         (cproj_test): Likewise.
9760         (creal_test): Use END macro without arguments.
9761         (csin_test): Use END_COMPLEX macro without arguments.
9762         (csinh_test): Likewise.
9763         (csqrt_test): Likewise.
9764         (ctan_test): Likewise.
9765         (ctan_test_tonearest): Likewise.
9766         (ctan_test_towardzero): Likewise.
9767         (ctan_test_downward): Likewise.
9768         (ctan_test_upward): Likewise.
9769         (ctanh_test): Likewise.
9770         (ctanh_test_tonearest): Likewise.
9771         (ctanh_test_towardzero): Likewise.
9772         (ctanh_test_downward): Likewise.
9773         (ctanh_test_upward): Likewise.
9774         (erf_test): Use END macro without arguments.
9775         (erfc_test): Likewise.
9776         (exp_test): Likewise.
9777         (exp_test_tonearest): Likewise.
9778         (exp_test_towardzero): Likewise.
9779         (exp_test_downward): Likewise.
9780         (exp_test_upward): Likewise.
9781         (exp10_test): Likewise.
9782         (exp2_test): Likewise.
9783         (expm1_test): Likewise.
9784         (fabs_test): Likewise.
9785         (fdim_test): Likewise.
9786         (finite_test): Likewise.
9787         (floor_test): Likewise.
9788         (fma_test): Likewise.
9789         (fma_test_towardzero): Likewise.
9790         (fma_test_downward): Likewise.
9791         (fma_test_upward): Likewise.
9792         (fmax_test): Likewise.
9793         (fmin_test): Likewise.
9794         (fmod_test): Likewise.
9795         (fpclassify_test): Likewise.
9796         (frexp_test): Likewise.
9797         (gamma_test): Likewise.
9798         (hypot_test): Likewise.
9799         (ilogb_test): Likewise.
9800         (isfinite_test): Likewise.
9801         (isgreater_test): Likewise.
9802         (isgreaterequal_test): Likewise.
9803         (isinf_test): Likewise.
9804         (isless_test): Likewise.
9805         (islessequal_test): Likewise.
9806         (islessgreater_test): Likewise.
9807         (isnan_test): Likewise.
9808         (isnormal_test): Likewise.
9809         (issignaling_test): Likewise.
9810         (isunordered_test): Likewise.
9811         (j0_test): Likewise.
9812         (j1_test): Likewise.
9813         (jn_test): Likewise.
9814         (ldexp_test): Likewise.
9815         (lgamma_test): Likewise.
9816         (lrint_test): Likewise.
9817         (lrint_test_tonearest): Likewise.
9818         (lrint_test_towardzero): Likewise.
9819         (lrint_test_downward): Likewise.
9820         (lrint_test_upward): Likewise.
9821         (llrint_test): Likewise.
9822         (llrint_test_tonearest): Likewise.
9823         (llrint_test_towardzero): Likewise.
9824         (llrint_test_downward): Likewise.
9825         (llrint_test_upward): Likewise.
9826         (log_test): Likewise.
9827         (log10_test): Likewise.
9828         (log1p_test): Likewise.
9829         (log2_test): Likewise.
9830         (logb_test): Likewise.
9831         (logb_test_downward): Likewise.
9832         (lround_test): Likewise.
9833         (llround_test): Likewise.
9834         (modf_test): Likewise.
9835         (nearbyint_test): Likewise.
9836         (nextafter_test): Likewise.
9837         (nexttoward_test): Likewise.
9838         (pow_test): Likewise.
9839         (pow_test_tonearest): Likewise.
9840         (pow_test_towardzero): Likewise.
9841         (pow_test_downward): Likewise.
9842         (pow_test_upward): Likewise.
9843         (remainder_test): Likewise.
9844         (remainder_test_tonearest): Likewise.
9845         (remainder_test_towardzero): Likewise.
9846         (remainder_test_downward): Likewise.
9847         (remainder_test_upward): Likewise.
9848         (remquo_test): Likewise.
9849         (rint_test): Likewise.
9850         (rint_test_tonearest): Likewise.
9851         (rint_test_towardzero): Likewise.
9852         (rint_test_downward): Likewise.
9853         (rint_test_upward): Likewise.
9854         (round_test): Likewise.
9855         (scalb_test): Likewise.
9856         (scalbn_test): Likewise.
9857         (scalbln_test): Likewise.
9858         (signbit_test): Likewise.
9859         (sin_test): Likewise.
9860         (sin_test_tonearest): Likewise.
9861         (sin_test_towardzero): Likewise.
9862         (sin_test_downward): Likewise.
9863         (sin_test_upward): Likewise.
9864         (sincos_test): Likewise.
9865         (sinh_test): Likewise.
9866         (sinh_test_tonearest): Likewise.
9867         (sinh_test_towardzero): Likewise.
9868         (sinh_test_downward): Likewise.
9869         (sinh_test_upward): Likewise.
9870         (sqrt_test): Likewise.
9871         (tan_test): Likewise.
9872         (tan_test_tonearest): Likewise.
9873         (tan_test_towardzero): Likewise.
9874         (tan_test_downward): Likewise.
9875         (tan_test_upward): Likewise.
9876         (tanh_test): Likewise.
9877         (tgamma_test): Likewise.
9878         (trunc_test): Likewise.
9879         (y0_test): Likewise.
9880         (y1_test): Likewise.
9881         (yn_test): Likewise.
9882         (significand_test): Likewise.
9884 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
9886         [BZ #15381]
9887         * libio/genops.c (_IO_no_init): Initialize wide struct info.
9889 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
9891         [BZ #14894]
9892         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
9893         __ppc_mdoio and __ppc_mdoom.
9894         * manual/platform.texi: Document new functions __ppc_yield,
9895         __ppc_mdoio and __ppc_mdoom.
9897 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
9899         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
9900         (main): Mention "tls" pseudo-hwcap is legacy.
9901         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
9903 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
9905         * math/gen-libm-test.pl (parse_args): Output only string of
9906         arguments as text for test name, not full call or descriptions of
9907         tests for extra outputs.
9908         (generate_testfile): Do not pass function name to parse_args.
9909         Generate this_func variable from START.
9910         * math/libm-test.inc (struct test_f_f_data): Rename test_name
9911         field to arg_str.
9912         (struct test_ff_f_data): Likewise.
9913         (test_ff_f_data_nexttoward): Likewise.
9914         (struct test_fi_f_data): Likewise.
9915         (struct test_fl_f_data): Likewise.
9916         (struct test_if_f_data): Likewise.
9917         (struct test_fff_f_data): Likewise.
9918         (struct test_c_f_data): Likewise.
9919         (struct test_f_f1_data): Likewise.  Remove field extra_name.
9920         (struct test_fF_f1_data): Likewise.
9921         (struct test_ffI_f1_data): Likewise.
9922         (struct test_c_c_data): Rename test_name field to arg_str.
9923         (struct test_cc_c_data): Likewise.
9924         (struct test_f_i_data): Likewise.
9925         (struct test_ff_i_data): Likewise.
9926         (struct test_f_l_data): Likewise.
9927         (struct test_f_L_data): Likewise.
9928         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
9929         and extra2_name.
9930         (COMMON_TEST_SETUP): New macro.
9931         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
9932         (COMMON_TEST_CLEANUP): Likewise.
9933         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
9934         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
9935         macros.
9936         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
9937         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
9938         macros.
9939         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
9940         (RUN_TEST_fff_f): Take argument string.  Call new setup and
9941         cleanup macros.
9942         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
9943         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
9944         macros.
9945         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
9946         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
9947         macros.
9948         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9949         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
9950         cleanup macros.
9951         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9952         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
9953         cleanup macros.
9954         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9955         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
9956         cleanup macros.
9957         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9958         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
9959         macros.
9960         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
9961         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
9962         macros.
9963         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
9964         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
9965         macros.
9966         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
9967         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
9968         cleanup macros.
9969         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
9970         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
9971         cleanup macros.
9972         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
9973         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
9974         macros.
9975         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
9976         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
9977         cleanup macros.
9978         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
9979         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
9980         macros.
9981         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
9982         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
9983         macros.
9984         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
9985         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
9986         cleanup macros.
9987         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
9989 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
9991         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
9992         to _sifields.sigfault.
9993         (si_addr_lsb): Define new macro.
9994         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9995         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9996         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
9998 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
10000         [BZ #15441]
10001         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
10002         returns -1.
10003         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
10004         null return -1.
10005         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
10006         loading the domain.
10008 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
10010         * math/gen-libm-test.pl (parse_args): Do not include expected
10011         result in test name.
10012         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
10013         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10014         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10015         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10016         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10019 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10021         * benchtests/Makefile: Sort function entries.
10023         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
10024         tanh, asinh, acosh, atanh.
10025         * benchtests/acos-inputs: New file.
10026         * benchtests/acosh-inputs: New file.
10027         * benchtests/asin-inputs: New file.
10028         * benchtests/asinh-inputs: New file.
10029         * benchtests/atanh-inputs: New file.
10030         * benchtests/cosh-inputs: New file.
10031         * benchtests/log-inputs: New file.
10032         * benchtests/sinh-inputs: New file.
10033         * benchtests/tanh-inputs: New file.
10035 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
10037         [BZ #15339]
10038         * posix/tst-getaddrinfo4.c: New test.
10039         * posix/Makefile (tests): Add it.
10041 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10043         [BZ #15339]
10044         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
10045         when no services were used.
10046         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
10047         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
10049 2013-05-21  Andreas Schwab  <schwab@suse.de>
10051         [BZ #15014]
10052         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
10053         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
10054         successful.
10055         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
10056         redundant variable declarations and reallocation of buffer when
10057         parsing as IPv6 address.  Always set NSS status when called from
10058         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
10059         buffer too small.  Correct computation of needed size.
10060         * nss/Makefile (tests): Add test-digits-dots.
10061         * nss/test-digits-dots.c: New test.
10063 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10065         * benchtests/Makefile: Remove instructions for adding
10066         benchmark tests.
10067         * benchtests/README: New file to explain how to execute and
10068         enhance the benchmark tests.
10070 2013-05-21  Andreas Schwab  <schwab@suse.de>
10072         [BZ #15493]
10073         * setjmp/Makefile (tests): Add tst-sigsetjmp.
10074         * setjmp/tst-sigsetjmp.c: New test.
10076 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
10078         * sysdeps/x86_64/memset.S (memset): New implementation.
10079         (__bzero): Likewise.
10080         (__memset_tail): New function.
10082 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
10084         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
10085         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
10086         __memcpy_sse2_unaligned ifunc selection.
10087         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10088         Add memcpy-sse2-unaligned.S.
10089         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10090         Add: __memcpy_sse2_unaligned.
10092 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
10094         [BZ #15490]
10095         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10096         math_force_eval before restoring floating-point envrionment.
10097         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
10098         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
10099         Likewise.
10100         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
10101         <math_private.h>.
10102         (__nearbyintl): Use math_force_eval before restoring
10103         floating-point environment.
10104         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
10106         * math/gen-libm-test.pl (special_functions): Remove.
10107         (parse_args): Don't handle TEST_extra.  Handle functions with no
10108         return value.
10109         * math/libm-test.inc (struct test_sincos_data): Replace with
10110         struct test_fFF_11_data.
10111         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
10112         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
10113         (sincos_test_data): Change element type to struct
10114         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
10115         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
10116         RUN_TEST_LOOP_sincos.
10117         * math/README.libm-test: Don't mention special handling of
10118         individual functions.
10119         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
10120         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10121         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10122         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10123         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10126         * math/gen-libm-test.pl (get_variable): Remove function.
10127         (parse_args): Don't show pointer parameters to call in test
10128         names.  Use "extra output N" in test names for extra outputs
10129         rather than naming variables.
10131 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
10133         [BZ #15488]
10134         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
10135         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
10136         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
10137         double tests.
10138         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
10139         disable.
10140         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
10141         check_long_double.
10143         * math/gen-libm-test.pl (@tests): Remove variable.
10144         ($count): Likewise.
10145         (new_test): Remove function.
10146         (show_exceptions): New function.
10147         (special_functions): Use show_exceptions instead of new_test.
10148         (parse_args): Likewise.
10149         (generate_testfile): Pass only function name in generated call to
10150         print_max_error or print_complex_max_error.
10151         (get_ulps): Do not handle complex tests specially.
10152         (output_test): Rename to ...
10153         (get_all_ulps_for_test): ... this.  Return a string rather than
10154         printing to a file.  Require ulps to be present.
10155         (output_ulps): Generate arrays rather than #defines.
10156         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
10157         (struct ulp_data): New type.
10158         (BUILD_COMPLEX_ULP): Remove macro.
10159         (compare_ulp_data): New function.
10160         (find_ulps): Likewise.
10161         (find_test_ulps): Likewise.
10162         (find_function_ulps): Likewise.
10163         (find_complex_function_ulps): Likewise.
10164         (print_max_error): Determine allowed ulps using
10165         find_function_ulps.
10166         (print_complex_max_error): Determine allowed ulps using
10167         find_complex_function_ulps.
10168         (check_float_internal): Determine max ulps using find_test_ulps.
10169         (check_float): Do not take max_ulp parameter.  Update call to
10170         check_float_internal.
10171         (check_complex): Likewise.
10172         (check_int): Do not take max_ulp parameter.
10173         (check_long): Likewise.
10174         (check_bool): Likewise.
10175         (check_longlong): Likewise.
10176         (struct test_f_f_data): Remove max_ulp field.
10177         (struct test_ff_f_data): Likewise.
10178         (struct test_ff_f_data_nexttoward): Likewise.
10179         (struct test_fi_f_data): Likewise.
10180         (struct test_fl_f_data): Likewise.
10181         (struct test_if_f_data): Likewise.
10182         (struct test_fff_f_data): Likewise.
10183         (struct test_c_f_data): Likewise.
10184         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
10185         (struct test_fF_f1_data): Likewise.
10186         (struct test_ffI_f1_data): Likewise.
10187         (struct test_c_c_data): Remove max_ulp field.
10188         (struct test_cc_c_data): Likewise.
10189         (struct test_f_i_data): Likewise.
10190         (struct test_ff_i_data): Likewise.
10191         (struct test_f_l_data): Likewise.
10192         (struct test_f_L_data): Likewise.
10193         (struct test_sincos_data): Likewise.
10194         (RUN_TEST_f_f): Do not handle ulps.
10195         (RUN_TEST_LOOP_f_f): Likewise.
10196         (RUN_TEST_2_f): Likewise.
10197         (RUN_TEST_LOOP_2_f): Likewise.
10198         (RUN_TEST_fff_f): Likewise.
10199         (RUN_TEST_LOOP_fff_f): Likewise.
10200         (RUN_TEST_c_f): Likewise.
10201         (RUN_TEST_LOOP_c_f): Likewise.
10202         (RUN_TEST_f_f1): Likewise.
10203         (RUN_TEST_LOOP_f_f1): Likewise.
10204         (RUN_TEST_fF_f1): Likewise.
10205         (RUN_TEST_LOOP_fF_f1): Likewise.
10206         (RUN_TEST_fI_f1): Likewise.
10207         (RUN_TEST_LOOP_fI_f1): Likewise.
10208         (RUN_TEST_ffI_f1): Likewise.
10209         (RUN_TEST_LOOP_ffI_f1): Likewise.
10210         (RUN_TEST_c_c): Likewise.
10211         (RUN_TEST_LOOP_c_c): Likewise.
10212         (RUN_TEST_cc_c): Likewise.
10213         (RUN_TEST_LOOP_cc_c): Likewise.
10214         (RUN_TEST_f_i): Likewise.
10215         (RUN_TEST_LOOP_f_i): Likewise.
10216         (RUN_TEST_f_i_tg): Likewise.
10217         (RUN_TEST_LOOP_f_i_tg): Likewise.
10218         (RUN_TEST_ff_i_tg): Likewise.
10219         (RUN_TEST_LOOP_ff_i_tg): Likewise.
10220         (RUN_TEST_f_b): Likewise.
10221         (RUN_TEST_LOOP_f_b): Likewise.
10222         (RUN_TEST_f_b_tg): Likewise.
10223         (RUN_TEST_LOOP_f_b_tg): Likewise.
10224         (RUN_TEST_f_l): Likewise.
10225         (RUN_TEST_LOOP_f_l): Likewise.
10226         (RUN_TEST_f_L): Likewise.
10227         (RUN_TEST_LOOP_f_L): Likewise.
10228         (RUN_TEST_sincos): Likewise.
10229         (RUN_TEST_LOOP_sincos): Likewise.
10231 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
10233         [BZ #15480]
10234         [BZ #15485]
10235         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
10236         main case of finite arguments, set rounding mode to FE_TONEAREST
10237         and discard exceptions.
10238         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
10239         exceptions.
10240         (remainder_tonearest_test_data): New variable.
10241         (remainder_test_tonearest): New function.
10242         (remainder_towardzero_test_data): New variable.
10243         (remainder_test_towardzero): New function.
10244         (remainder_downward_test_data): New variable.
10245         (remainder_test_downward): New function.
10246         (remainder_upward_test_data): New variable.
10247         (remainder_test_upward): New function.
10248         (main): Call the new test functions.
10250         * math/libm-test.inc (struct test_f_f1_data): Remove field
10251         extra_init.
10252         (struct test_fF_f1_data): Likewise.
10253         (struct test_ffI_f1_data): Likewise.
10254         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
10255         based on value of EXTRA_EXPECTED.
10256         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10257         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
10258         EXTRA_VAR based on value of EXTRA_EXPECTED.
10259         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10260         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
10261         EXTRA_VAR based on value of EXTRA_EXPECTED.
10262         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10263         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
10264         EXTRA_VAR based on value of EXTRA_EXPECTED.
10265         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10266         * math/gen-libm-test.pl (parse_args): Don't output initializers
10267         for extra output values.
10269         * math/libm-test.inc (check_int): Expect result to be exactly
10270         equal to expected value and do not handle ulps.
10271         (check_long): Likewise.
10272         (check_longlong): Likewise.
10274         * math/libm-test.inc (ceil_test_data): Test for "inexact"
10275         exceptions.
10276         (cimag_test_data): Likewise.
10277         (conj_test_data): Likewise.
10278         (copysign_test_data): Likewise.
10279         (cproj_test_data): Likewise.
10280         (creal_test_data): Likewise.
10281         (fabs_test_data): Likewise.
10282         (fdim_test_data): Likewise.
10283         (finite_test_data): Likewise.
10284         (floor_test_data): Likewise.
10285         (fmax_test_data): Likewise.
10286         (fmin_test_data): Likewise.
10287         (fmod_test_data): Likewise.
10288         (fpclassify_test_data): Likewise.
10289         (frexp_test_data): Likewise.
10290         (ilogb_test_data): Likewise.
10291         (isfinite_test_data): Likewise.
10292         (isgreater_test_data): Likewise.
10293         (isgreaterequal_test_data): Likewise.
10294         (isinf_test_data): Likewise.
10295         (isless_test_data): Likewise.
10296         (islessequal_test_data): Likewise.
10297         (islessgreater_test_data): Likewise.
10298         (isnan_test_data): Likewise.
10299         (isnormal_test_data): Likewise.
10300         (issignaling_test_data): Likewise.
10301         (isunordered_test_data): Likewise.
10302         (ldexp_test_data): Likewise.
10303         (lrint_test_data): Likewise.
10304         (lrint_test_data) [TEST_FLOAT]: Disable one test.
10305         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
10306         (lrint_tonearest_test_data): Test for "inexact" exceptions.
10307         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10308         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
10309         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10310         test input.
10311         (lrint_towardzero_test_data): Test for "inexact" exceptions.
10312         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10313         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
10314         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
10315         that test input.
10316         (lrint_downward_test_data): Test for "inexact" exceptions.
10317         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10318         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
10319         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10320         test input.
10321         (lrint_upward_test_data): Test for "inexact" exceptions.
10322         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
10323         test input.
10324         (llrint_test_data): Test for "inexact" exceptions.
10325         (llrint_test_data) [TEST_FLOAT]: Disable one test.
10326         (llrint_tonearest_test_data): Test for "inexact" exceptions.
10327         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10328         (llrint_towardzero_test_data): Test for "inexact" exceptions.
10329         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10330         (llrint_downward_test_data): Test for "inexact" exceptions.
10331         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10332         (llrint_upward_test_data): Test for "inexact" exceptions.
10333         (logb_test_data): Likewise.
10334         (logb_downward_test_data): Likewise.
10335         (nextafter_test_data): Likewise.
10336         (nexttoward_test_data): Likewise.
10337         (remainder_test_data): Likewise.
10338         (remquo_test_data): Likewise.
10339         (scalbn_test_data): Likewise.
10340         (scalbln_test_data): Likewise.
10341         (signbit_test_data): Likewise.
10342         (sqrt_test_data): Likewise.
10343         (significand_test_data): Likewise.
10345 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10347         [BZ #15424]
10348         * benchtests/bench-modf.c (struct args): Mark arg0 as
10349         volatile.
10350         * scripts/bench.pl: Mark members of struct args as volatile.
10352 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10354         [BZ # 15497]
10355         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
10356         negative infinity on POWER6 or lower.
10357         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
10359 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
10361         [BZ #15442]
10362         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
10363         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
10364         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
10365         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
10366         (_FP_SETQNAN): New macro.
10367         (_FP_SETQNAN_SEMIRAW): Likewise.
10368         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
10369         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
10370         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
10371         (FP_EXTEND): Use _FP_FRAC_SNANP.
10372         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
10373         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
10374         into account.
10375         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10376         New macro.
10377         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10378         Likewise.
10380 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
10382         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
10383         with DIVIDE_BY_ZERO_EXCEPTION.
10384         (gamma_test_data): Likewise.
10385         (lgamma_test_data): Likewise.
10386         (log_test_data): Likewise.
10387         (log10_test_data): Likewise.
10388         (log2_test_data): Likewise.
10389         (tgamma_test_data): Likewise.
10391         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
10392         (acos_test_tonearest): Likewise.
10393         (acos_test_towardzero): Likewise.
10394         (acos_test_downward): Likewise.
10395         (acos_test_upward): Likewise.
10396         (acosh_test): Likewise.
10397         (asin_test): Likewise.
10398         (asin_test_tonearest): Likewise.
10399         (asin_test_towardzero): Likewise.
10400         (asin_test_downward): Likewise.
10401         (asin_test_upward): Likewise.
10402         (asinh_test): Likewise.
10403         (atan_test): Likewise.
10404         (atanh_test): Likewise.
10405         (atan2_test): Likewise.
10406         (cabs_test): Likewise.
10407         (cacos_test): Likewise.
10408         (cacosh_test): Likewise.
10409         (casin_test): Likewise.
10410         (casinh_test): Likewise.
10411         (catan_test): Likewise.
10412         (catanh_test): Likewise.
10413         (cbrt_test): Likewise.
10414         (ccos_test): Likewise.
10415         (ccosh_test): Likewise.
10416         (cexp_test): Likewise.
10417         (clog_test): Likewise.
10418         (clog10_test): Likewise.
10419         (cos_test): Likewise.
10420         (cos_test_tonearest): Likewise.
10421         (cos_test_towardzero): Likewise.
10422         (cos_test_downward): Likewise.
10423         (cos_test_upward): Likewise.
10424         (cosh_test): Likewise.
10425         (cosh_test_tonearest): Likewise.
10426         (cosh_test_towardzero): Likewise.
10427         (cosh_test_downward): Likewise.
10428         (cosh_test_upward): Likewise.
10429         (cpow_test): Likewise.
10430         (csin_test): Likewise.
10431         (csinh_test): Likewise.
10432         (csqrt_test): Likewise.
10433         (ctan_test): Likewise.
10434         (ctan_test_tonearest): Likewise.
10435         (ctan_test_towardzero): Likewise.
10436         (ctan_test_downward): Likewise.
10437         (ctan_test_upward): Likewise.
10438         (ctanh_test): Likewise.
10439         (ctanh_test_tonearest): Likewise.
10440         (ctanh_test_towardzero): Likewise.
10441         (ctanh_test_downward): Likewise.
10442         (ctanh_test_upward): Likewise.
10443         (erf_test): Likewise.
10444         (erfc_test): Likewise.
10445         (exp_test): Likewise.
10446         (exp_test_tonearest): Likewise.
10447         (exp_test_towardzero): Likewise.
10448         (exp_test_downward): Likewise.
10449         (exp_test_upward): Likewise.
10450         (exp10_test): Likewise.
10451         (exp2_test): Likewise.
10452         (expm1_test): Likewise.
10453         (fmod_test): Likewise.
10454         (gamma_test): Likewise.
10455         (hypot_test): Likewise.
10456         (j0_test): Likewise.
10457         (j1_test): Likewise.
10458         (jn_test): Likewise.
10459         (lgamma_test): Likewise.
10460         (log_test): Likewise.
10461         (log10_test): Likewise.
10462         (log1p_test): Likewise.
10463         (log2_test): Likewise.
10464         (logb_test_downward): Likewise.
10465         (pow_test): Likewise.
10466         (pow_test_tonearest): Likewise.
10467         (pow_test_towardzero): Likewise.
10468         (pow_test_downward): Likewise.
10469         (pow_test_upward): Likewise.
10470         (remainder_test): Likewise.
10471         (remquo_test): Likewise.
10472         (sin_test): Likewise.
10473         (sin_test_tonearest): Likewise.
10474         (sin_test_towardzero): Likewise.
10475         (sin_test_downward): Likewise.
10476         (sin_test_upward): Likewise.
10477         (sincos_test): Likewise.
10478         (sinh_test): Likewise.
10479         (sinh_test_tonearest): Likewise.
10480         (sinh_test_towardzero): Likewise.
10481         (sinh_test_downward): Likewise.
10482         (sinh_test_upward): Likewise.
10483         (sqrt_test): Likewise.
10484         (tan_test): Likewise.
10485         (tan_test_tonearest): Likewise.
10486         (tan_test_towardzero): Likewise.
10487         (tan_test_downward): Likewise.
10488         (tan_test_upward): Likewise.
10489         (tanh_test): Likewise.
10490         (tgamma_test): Likewise.
10491         (y0_test): Likewise.
10492         (y1_test): Likewise.
10493         (yn_test): Likewise.
10495         * math/gen-libm-test.pl (adjust_arg): Remove function.
10496         (special_function): Remove argument $in_func.  Only handle
10497         generating output for tables of tests, not inside functions.
10498         (parse_args): Likewise.
10499         (generate_testfile): Remove variable $in_func.  Update call to
10500         parse_args.
10501         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
10502         (MINUS_ZERO_INIT): Rename macro to minus_zero.
10503         (PLUS_INFTY_INIT): Rename macro to plus_infty.
10504         (MINUS_INFTY_INIT): Rename macro to minus_infty.
10505         (QNAN_VALUE_INIT): Rename macro to qnan_value.
10506         (MAX_VALUE_INIT): Rename macro to max_value.
10507         (MIN_VALUE_INIT): Rename macro to min_value.
10508         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
10509         (plus_zero): Remove variable.
10510         (minus_zero): Likewise.
10511         (plus_infty): Likewise.
10512         (minus_infty): Likewise.
10513         (qnan_value): Likewise.
10514         (max_value): Likewise.
10515         (min_value): Likewise.
10516         (min_subnorm_value): Likewise.
10518 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10520         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
10521         uint64_t or uint32_t usage.
10522         * crypt/sha256-block.c: Likewise.
10523         * crypt/sha256-crypt.c: Likewise.
10524         * crypt/sha256.c: Likewise.
10525         * crypt/sha512-block.c: Likewise.
10526         * crypt/sha512-crypt.c: Likewise.
10527         * crypt/sha512.c: Likewise.
10528         * debug/backtrace-tst.c: Likewise.
10529         * debug/pcprofiledump.c: Likewise.
10530         * elf/cache.c: Likewise.
10531         * elf/dl-cache.c: Likewise.
10532         * elf/dl-misc.c: Likewise.
10533         * elf/dl-profile.c: Likewise.
10534         * elf/dl-support.c: Likewise.
10535         * elf/ldconfig.c: Likewise.
10536         * elf/sprof.c: Likewise.
10537         * iconv/dummy-repertoire.c: Likewise.
10538         * iconv/iconv_charmap.c: Likewise.
10539         * iconv/skeleton.c: Likewise.
10540         * iconvdata/8bit-generic.c: Likewise.
10541         * iconvdata/cp737.h: Likewise.
10542         * iconvdata/cp775.h: Likewise.
10543         * iconvdata/ibm1008.h: Likewise.
10544         * iconvdata/ibm1025.h: Likewise.
10545         * iconvdata/ibm1046.h: Likewise.
10546         * iconvdata/ibm1097.h: Likewise.
10547         * iconvdata/ibm1112.h: Likewise.
10548         * iconvdata/ibm1122.h: Likewise.
10549         * iconvdata/ibm1123.h: Likewise.
10550         * iconvdata/ibm1124.h: Likewise.
10551         * iconvdata/ibm1129.h: Likewise.
10552         * iconvdata/ibm1130.h: Likewise.
10553         * iconvdata/ibm1132.h: Likewise.
10554         * iconvdata/ibm1133.h: Likewise.
10555         * iconvdata/ibm1137.h: Likewise.
10556         * iconvdata/ibm1140.h: Likewise.
10557         * iconvdata/ibm1141.h: Likewise.
10558         * iconvdata/ibm1142.h: Likewise.
10559         * iconvdata/ibm1143.h: Likewise.
10560         * iconvdata/ibm1144.h: Likewise.
10561         * iconvdata/ibm1145.h: Likewise.
10562         * iconvdata/ibm1146.h: Likewise.
10563         * iconvdata/ibm1147.h: Likewise.
10564         * iconvdata/ibm1148.h: Likewise.
10565         * iconvdata/ibm1149.h: Likewise.
10566         * iconvdata/ibm1153.h: Likewise.
10567         * iconvdata/ibm1154.h: Likewise.
10568         * iconvdata/ibm1155.h: Likewise.
10569         * iconvdata/ibm1156.h: Likewise.
10570         * iconvdata/ibm1157.h: Likewise.
10571         * iconvdata/ibm1158.h: Likewise.
10572         * iconvdata/ibm1160.h: Likewise.
10573         * iconvdata/ibm1161.h: Likewise.
10574         * iconvdata/ibm1162.h: Likewise.
10575         * iconvdata/ibm1163.h: Likewise.
10576         * iconvdata/ibm1164.h: Likewise.
10577         * iconvdata/ibm1166.h: Likewise.
10578         * iconvdata/ibm1167.h: Likewise.
10579         * iconvdata/ibm12712.h: Likewise.
10580         * iconvdata/ibm1390.h: Likewise.
10581         * iconvdata/ibm1399.h: Likewise.
10582         * iconvdata/ibm16804.h: Likewise.
10583         * iconvdata/ibm4517.h: Likewise.
10584         * iconvdata/ibm4899.h: Likewise.
10585         * iconvdata/ibm4909.h: Likewise.
10586         * iconvdata/ibm4971.h: Likewise.
10587         * iconvdata/ibm5347.h: Likewise.
10588         * iconvdata/ibm803.h: Likewise.
10589         * iconvdata/ibm856.h: Likewise.
10590         * iconvdata/ibm901.h: Likewise.
10591         * iconvdata/ibm902.h: Likewise.
10592         * iconvdata/ibm9030.h: Likewise.
10593         * iconvdata/ibm9066.h: Likewise.
10594         * iconvdata/ibm921.h: Likewise.
10595         * iconvdata/ibm922.h: Likewise.
10596         * iconvdata/ibm9448.h: Likewise.
10597         * iconvdata/isiri-3342.h: Likewise.
10598         * iconvdata/jis0201.h: Likewise.
10599         * include/link.h: Likewise.
10600         * include/netdb.h: Likewise.
10601         * inet/check_native.c: Likewise.
10602         * inet/check_pf.c: Likewise.
10603         * inet/getipv4sourcefilter.c: Likewise.
10604         * inet/getnameinfo.c: Likewise.
10605         * inet/getsourcefilter.c: Likewise.
10606         * inet/htonl.c: Likewise.
10607         * inet/setipv4sourcefilter.c: Likewise.
10608         * inet/setsourcefilter.c: Likewise.
10609         * inet/test-inet6_opt.c: Likewise.
10610         * inet/tst-network.c: Likewise.
10611         * locale/C-collate.c: Likewise.
10612         * locale/C-ctype.c: Likewise.
10613         * locale/C-time.c: Likewise.
10614         * locale/C-translit.h: Likewise.
10615         * locale/loadarchive.c: Likewise.
10616         * locale/programs/3level.h: Likewise.
10617         * locale/programs/charmap.c: Likewise.
10618         * locale/programs/charmap.h: Likewise.
10619         * locale/programs/ld-address.c: Likewise.
10620         * locale/programs/ld-collate.c: Likewise.
10621         * locale/programs/ld-ctype.c: Likewise.
10622         * locale/programs/ld-identification.c: Likewise.
10623         * locale/programs/ld-measurement.c: Likewise.
10624         * locale/programs/ld-messages.c: Likewise.
10625         * locale/programs/ld-monetary.c: Likewise.
10626         * locale/programs/ld-name.c: Likewise.
10627         * locale/programs/ld-numeric.c: Likewise.
10628         * locale/programs/ld-paper.c: Likewise.
10629         * locale/programs/ld-telephone.c: Likewise.
10630         * locale/programs/ld-time.c: Likewise.
10631         * locale/programs/linereader.c: Likewise.
10632         * locale/programs/locale.c: Likewise.
10633         * locale/programs/locarchive.c: Likewise.
10634         * locale/programs/locfile.h: Likewise.
10635         * locale/programs/repertoire.c: Likewise.
10636         * locale/programs/simple-hash.c: Likewise.
10637         * locale/programs/simple-hash.h: Likewise.
10638         * malloc/memusage.c: Likewise.
10639         * malloc/memusagestat.c: Likewise.
10640         * nis/nis_defaults.c: Likewise.
10641         * nis/nis_hash.c: Likewise.
10642         * nis/nis_print.c: Likewise.
10643         * nis/nis_xdr.c: Likewise.
10644         * nscd/connections.c: Likewise.
10645         * nscd/hstcache.c: Likewise.
10646         * nscd/nscd_gethst_r.c: Likewise.
10647         * nscd/nscd_getserv_r.c: Likewise.
10648         * nscd/nscd_helper.c: Likewise.
10649         * nscd/servicescache.c: Likewise.
10650         * nss/makedb.c: Likewise.
10651         * nss/nss_db/db-XXX.c: Likewise.
10652         * nss/nss_db/db-initgroups.c: Likewise.
10653         * nss/nss_db/db-netgrp.c: Likewise.
10654         * nss/nss_files/files-network.c: Likewise.
10655         * nss/nss_files/files-parse.c: Likewise.
10656         * posix/bug-regex5.c: Likewise.
10657         * posix/fnmatch_loop.c: Likewise.
10658         * posix/regcomp.c: Likewise.
10659         * posix/regexec.c: Likewise.
10660         * posix/tst-rfc3484-2.c: Likewise.
10661         * posix/tst-rfc3484-3.c: Likewise.
10662         * posix/tst-rfc3484.c: Likewise.
10663         * resolv/nss_dns/dns-canon.c: Likewise.
10664         * resolv/nss_dns/dns-network.c: Likewise.
10665         * resolv/res_init.c: Likewise.
10666         * resolv/res_mkquery.c: Likewise.
10667         * resolv/tst-aton.c: Likewise.
10668         * stdlib/cxa_atexit.c: Likewise.
10669         * stdlib/cxa_finalize.c: Likewise.
10670         * stdlib/gen-fpioconst.c: Likewise.
10671         * stdlib/strtol_l.c: Likewise.
10672         * string/tst-endian.c: Likewise.
10673         * sunrpc/auth_des.c: Likewise.
10674         * sunrpc/clnt_udp.c: Likewise.
10675         * sunrpc/rtime.c: Likewise.
10676         * sunrpc/svcauth_des.c: Likewise.
10677         * sunrpc/xdr.c: Likewise.
10678         * sunrpc/xdr_intXX_t.c: Likewise.
10679         * sunrpc/xdr_rec.c: Likewise.
10680         * sysdeps/generic/ldconfig.h: Likewise.
10681         * sysdeps/generic/ldsodefs.h: Likewise.
10682         * sysdeps/generic/memusage.h: Likewise.
10683         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10684         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
10685         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
10686         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10687         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10688         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10689         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10690         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10691         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10692         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10693         * sysdeps/posix/getaddrinfo.c: Likewise.
10694         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10695         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10696         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10697         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10698         * sysdeps/powerpc/test-gettimebase.c: Likewise.
10699         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10700         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
10701         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
10702         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10703         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
10704         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10705         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10706         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
10707         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
10708         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
10709         * sysdeps/x86_64/dl-tls.h: Likewise.
10710         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
10711         * time/alt_digit.c: Likewise.
10712         * time/era.c: Likewise.
10713         * wcsmbs/tst-c16c32-1.c: Likewise.
10715 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
10717         * math/libm-test.inc (struct test_sincos_data): New type.
10718         (RUN_TEST_LOOP_sincos): New macro.
10719         (sincos_test_data): New variable.
10720         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
10722 2013-05-16  Richard Henderson  <rth@redhat.com>
10724         * math/atest-exp2.c (LIMB64): New macro.
10725         (CONSTSZ): New macro.
10726         (mp_exp1, mp_exp_m1, mp_log2): New variables.
10727         (hexdig): Move ...
10728         (print_mpn_fp): ... to function scope.
10729         (read_mpn_hex): Remove.
10730         (get_log2): Remove.
10731         (exp2_mpn): Use mp_log2.
10732         (main): Use mp_exp1.
10734 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
10736         * math/libm-test.inc: Remove comment about not testing "inexact"
10737         exceptions.
10738         (INEXACT_EXCEPTION): New macro.
10739         (NO_INEXACT_EXCEPTION): Likewise.
10740         (INVALID_EXCEPTION_OK): Update value.
10741         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10742         (OVERFLOW_EXCEPTION_OK): Likewise.
10743         (UNDERFLOW_EXCEPTION_OK): Likewise.
10744         (IGNORE_ZERO_INF_SIGN): Likewise.
10745         (ERRNO_UNCHANGED): Likewise.
10746         (ERRNO_EDOM): Likewise.
10747         (ERRNO_ERANGE): Likewise.
10748         (test_exceptions): Handle testing "inexact" exceptions.
10749         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
10750         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
10751         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
10752         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
10753         INEXACT_EXCEPTION.
10754         (rint_towardzero_test_data): Likewise.
10755         (rint_downward_test_data): Likewise.
10756         (rint_upward_test_data): Likewise.
10758         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
10759         with OVERFLOW_EXCEPTION.
10760         (exp10_test_data): Likewise.
10761         (exp2_test_data): Likewise.
10762         (expm1_test_data): Likewise.
10763         (lgamma_test_data): Likewise.
10764         (pow_test_data): Likewise.
10765         (tgamma_test_data): Likewise.
10766         (yn_test_data): Remove duplicate test of overflow.
10768         * math/libm-test.inc (struct test_cc_c_data): New type.
10769         (RUN_TEST_LOOP_cc_c): New macro.
10770         (cpow_test_data): New variable.
10771         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
10773         * math/libm-test.inc (struct test_f_L_data): New type.
10774         (RUN_TEST_LOOP_f_L): New macro.
10775         (llrint_test_data): New variable.
10776         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
10777         (llrint_tonearest_test_data): New variable.
10778         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
10779         (llrint_towardzero_test_data): New variable.
10780         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
10781         (llrint_downward_test_data): New variable.
10782         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
10783         (llrint_upward_test_data): New variable.
10784         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
10785         (llround_test_data): New variable.
10786         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
10788 2013-05-13  Peter Collingbourne  <pcc@google.com>
10790         * math/atest-exp2.c (get_log2): Remove const attribute.
10792 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
10794         * math/libm-test.inc (struct test_f_l_data): New type.
10795         (RUN_TEST_LOOP_f_l): New macro.
10796         (lrint_test_data): New variable.
10797         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
10798         (lrint_tonearest_test_data): New variable.
10799         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
10800         (lrint_towardzero_test_data): New variable.
10801         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
10802         (lrint_downward_test_data): New variable.
10803         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
10804         (lrint_upward_test_data): New variable.
10805         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
10806         (lround_test_data): New variable.
10807         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
10809 2013-05-15  Peter Collingbourne  <pcc@google.com>
10811         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
10812         (EXTRACT_WORDS64) Use where appropriate.
10813         (INSERT_WORDS64) Likewise.
10815         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
10816         constraints with x constraints.
10817         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
10819         * malloc/obstack.c (_obstack_compat): Add initializer.
10821 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
10823         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
10824         si_trapno and add si_addr_lsb to _sifields.sigfault.
10825         (si_trapno): Remove macro.
10826         (si_addr_lsb): Define new macro.
10827         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10829 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
10831         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
10832         instead of TEST_f_l.
10833         (llrint_test_tonearest): Likewise.
10834         (llrint_test_towardzero): Likewise.
10835         (llrint_test_downward): Likewise.
10836         (llrint_test_upward): Likewise.
10837         (llround_test): Likewise.
10839         * math/libm-test.inc (struct test_f_i_data): Add comment.
10840         (RUN_TEST_LOOP_f_b): New macro.
10841         (RUN_TEST_LOOP_f_b_tg): Likewise.
10842         (finite_test_data): New variable.
10843         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
10844         (isfinite_test_data): New variable.
10845         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10846         (isinf_test_data): New variable.
10847         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10848         (isnan_test_data): New variable.
10849         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10850         (isnormal_test_data): New variable.
10851         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10852         (issignaling_test_data): New variable.
10853         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10854         (signbit_test_data): New variable.
10855         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10857         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
10858         with INVALID_EXCEPTION.
10859         (acosh_test_data): Likewise.
10860         (asin_test_data): Likewise.
10861         (atanh_test_data): Likewise.
10862         (fmod_test_data): Likewise.
10863         (log_test_data): Likewise.
10864         (log10_test_data): Likewise.
10865         (log2_test_data): Likewise.
10866         (pow_test_data): Likewise.
10867         (sqrt_test_data): Likewise.
10868         (y0_test_data): Likewise.
10869         (y1_test_data): Likewise.
10870         (yn_test_data): Likewise.
10872         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
10873         function contents.
10875         * math/libm-test.inc (struct test_ff_i_data): New type.
10876         (RUN_TEST_LOOP_ff_i_tg): New macro.
10877         (isgreater_test_data): New variable.
10878         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10879         (isgreaterequal_test_data): New variable.
10880         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10881         (isless_test_data): New variable.
10882         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10883         (islessequal_test_data): New variable.
10884         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10885         (islessgreater_test_data): New variable.
10886         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10887         (isunordered_test_data): New variable.
10888         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10890 2013-05-14  David S. Miller  <davem@davemloft.net>
10892         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10894 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
10896         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
10898         * math/libm-test.inc (struct test_fF_f1_data): Change type of
10899         extra_test to int.
10900         (struct test_f_i_data): Change type of max_ulp to int.
10902         * math/libm-test.inc (test_ffI_f1_data): New type.
10903         (RUN_TEST_LOOP_ffI_f1): New macro.
10904         (remquo_test_data): New variable.
10905         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
10907         * setjmp/tst-setjmp-fp.c: New file.
10908         * setjmp/Makefile (tests): Add tst-setjmp-fp.
10909         (link-libm): New variable.
10910         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
10912         * math/libm-test.inc (struct test_f_i_data): New type.
10913         (RUN_TEST_LOOP_f_i): New macro.
10914         (RUN_TEST_LOOP_f_i_tg): Likewise.
10915         (fpclassify_test_data): New variable.
10916         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
10917         (ilogb_test_data): New variable.
10918         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
10920         * math/libm-test.inc (scalbln_test): Correct function name in END
10921         call.
10923         * math/libm-test.inc (struct test_f_f1_data): Add comment.
10924         (RUN_TEST_LOOP_fI_f1): New macro.
10925         (frexp_test_data): New variable.
10926         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
10928         * math/libm-test.inc (struct test_fF_f1_data): New type.
10929         (RUN_TEST_LOOP_fF_f1): New macro.
10930         (modf_test_data): New variable.
10931         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
10933         * math/libm-test.inc (struct test_f_f1_data): New type.
10934         (RUN_TEST_LOOP_f_f1): New macro.
10935         (gamma_test_data): New variable.
10936         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10937         (lgamma_test_data): New variable.
10938         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10940 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
10942         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
10943         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
10944         (main): Comment "tls" pseudo-hwcap.
10946 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
10948         * math/libm-test.inc (struct test_fl_f_data): New type.
10949         (RUN_TEST_LOOP_fl_f): New variable.
10950         (scalbln_test_data): New variable.
10951         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
10953         * math/libm-test.inc (struct test_fi_f_data): New type.
10954         (RUN_TEST_LOOP_fi_f): New macro.
10955         (ldexp_test_data): New variable.
10956         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
10957         (scalbn_test_data): New variable.
10958         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
10960         * math/libm-test.inc (struct test_c_f_data): New type.
10961         (RUN_TEST_LOOP_c_f): New macro.
10962         (cabs_test_data): New variable.
10963         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
10964         (carg_test_data): New variable.
10965         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
10966         (cimag_test_data): New variable.
10967         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
10968         (creal_test_data): New variable.
10969         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
10971         * math/libm-test.inc (struct test_if_f_data): New type.
10972         (RUN_TEST_LOOP_if_f): New macro.
10973         (jn_test_data): New variable.
10974         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
10975         (yn_test_data): New variable.
10976         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
10978         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
10980 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10982         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
10983         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
10985 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
10987         * benchtests/Makefile (CPPFLAGS-nonlib): Add
10988         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
10989         (bench-deps): Add bench-timing.h.
10990         * benchtests-bench-skeleton.c: Include bench-timing.h.
10991         (main): Use TIMING_* macros instead of clock_gettime.
10992         * benchtests/bench-timing.h: New file.
10994         [BZ #14582]
10995         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
10996         Renamed from _LIB_VERSION.
10997         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
10999 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
11001         * math/libm-test.inc (struct test_fff_f_data): New type.
11002         (RUN_TEST_LOOP_fff_f): New macro.
11003         (fma_test_data): New variable.
11004         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
11005         (fma_towardzero_test_data): New variable.
11006         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
11007         (fma_downward_test_data): New variable.
11008         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
11009         (fma_upward_test_data): New variable.
11010         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
11012         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
11013         (struct test_c_c_data): New type.
11014         (RUN_TEST_LOOP_c_c): New macro.
11015         (cacos_test_data): New variable.
11016         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
11017         (cacosh_test_data): New variable.
11018         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
11019         (casin_test_data): New variable.
11020         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
11021         (casinh_test_data): New variable.
11022         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
11023         (catan_test_data): New variable.
11024         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
11025         (catanh_test_data): New variable.
11026         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
11027         (ccos_test_data): New variable.
11028         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
11029         (ccosh_test_data): New variable.
11030         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
11031         (cexp_test_data): New variable.
11032         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
11033         (clog_test_data): New variable.
11034         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
11035         (clog10_test_data): New variable.
11036         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
11037         (conj_test_data): New variable.
11038         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
11039         (cproj_test_data): New variable.
11040         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
11041         (csin_test_data): New variable.
11042         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
11043         (csinh_test_data): New variable.
11044         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
11045         (csqrt_test_data): New variable.
11046         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
11047         (ctan_test_data): New variable.
11048         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
11049         (ctan_tonearest_test_data): New variable.
11050         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11051         (ctan_towardzero_test_data): New variable.
11052         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11053         (ctan_downward_test_data): New variable.
11054         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11055         (ctan_upward_test_data): New variable.
11056         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11057         (ctanh_test_data): New variable.
11058         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
11059         (ctanh_tonearest_test_data): New variable.
11060         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11061         (ctanh_towardzero_test_data): New variable.
11062         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11063         (ctanh_downward_test_data): New variable.
11064         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11065         (ctanh_upward_test_data): New variable.
11066         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11067         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
11068         of BUILD_COMPLEX.
11070         * math/libm-test.inc (struct test_ff_f_data): New type.
11071         (struct test_ff_f_data_nexttoward): Likewise.
11072         (RUN_TEST_LOOP_2_f): New macro.
11073         (RUN_TEST_LOOP_ff_f): Likewise.
11074         (atan2_test_data): New variable.
11075         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
11076         (copysign_test_data): New variable.
11077         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
11078         (fdim_test_data): New variable.
11079         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
11080         (fmax_test_data): New variable.
11081         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
11082         (fmin_test_data): New variable.
11083         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
11084         (fmod_test_data): New variable.
11085         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
11086         (hypot_test_data): New variable.
11087         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
11088         (nextafter_test_data): New variable.
11089         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
11090         (nexttoward_test_data): New variable.
11091         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
11092         (pow_test_data): New variable.
11093         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
11094         (pow_tonearest_test_data): New variable.
11095         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
11096         (pow_towardzero_test_data): New variable.
11097         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
11098         (pow_downward_test_data): New variable.
11099         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
11100         (pow_upward_test_data): New variable.
11101         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
11102         (remainder_test_data): New variable.
11103         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
11104         (scalb_test_data): New variable.
11105         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
11106         * sysdeps/i386/fpu/libm-test-ulps: Update.
11108 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
11110         * math/libm-test.inc (fma_test): Use max_value instead of local
11111         variable fltmax.
11112         (nextafter_test): Likewise.
11114         * math/libm-test.inc (acos_towardzero_test_data): New variable.
11115         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11116         (acos_downward_test_data): New variable.
11117         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11118         (acos_upward_test_data): New variable.
11119         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11120         (acosh_test_data): New variable.
11121         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
11122         (asin_test_data): New variable.
11123         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
11124         (asin_tonearest_test_data): New variable.
11125         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11126         (asin_towardzero_test_data): New variable.
11127         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11128         (asin_downward_test_data): New variable.
11129         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11130         (asin_upward_test_data): New variable.
11131         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11132         (asinh_test_data): New variable.
11133         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
11134         (atan_test_data): New variable.
11135         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
11136         (atanh_test_data): New variable.
11137         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
11138         (cbrt_test_data): New variable.
11139         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
11140         (ceil_test_data): New variable.
11141         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
11142         (cos_test_data): New variable.
11143         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
11144         (cos_tonearest_test_data): New variable.
11145         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11146         (cos_towardzero_test_data): New variable.
11147         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11148         (cos_downward_test_data): New variable.
11149         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11150         (cos_upward_test_data): New variable.
11151         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11152         (cosh_test_data): New variable.
11153         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
11154         (cosh_tonearest_test_data): New variable.
11155         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11156         (cosh_towardzero_test_data): New variable.
11157         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11158         (cosh_downward_test_data): New variable.
11159         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11160         (cosh_upward_test_data): New variable.
11161         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11162         (erf_test_data): New variable.
11163         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
11164         (erfc_test_data): New variable.
11165         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
11166         (exp_test_data): New variable.
11167         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
11168         (exp_tonearest_test_data): New variable.
11169         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11170         (exp_towardzero_test_data): New variable.
11171         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11172         (exp_downward_test_data): New variable.
11173         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11174         (exp_upward_test_data): New variable.
11175         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11176         (exp10_test_data): New variable.
11177         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
11178         (exp2_test_data): New variable.
11179         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
11180         (expm1_test_data): New variable.
11181         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
11182         (fabs_test_data): New variable.
11183         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
11184         (floor_test_data): New variable.
11185         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
11186         (j0_test_data): New variable.
11187         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
11188         (j1_test_data): New variable.
11189         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
11190         (log_test_data): New variable.
11191         (log_test): Run tests with RUN_TEST_LOOP_f_f.
11192         (log10_test_data): New variable.
11193         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
11194         (log1p_test_data): New variable.
11195         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
11196         (log2_test_data): New variable.
11197         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
11198         (logb_test_data): New variable.
11199         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
11200         (logb_downward_test_data): New variable.
11201         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11202         (nearbyint_test_data): New variable.
11203         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
11204         (rint_test_data): New variable.
11205         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
11206         (rint_tonearest_test_data): New variable.
11207         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11208         (rint_towardzero_test_data): New variable.
11209         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11210         (rint_downward_test_data): New variable.
11211         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11212         (rint_upward_test_data): New variable.
11213         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11214         (round_test_data): New variable.
11215         (round_test): Run tests with RUN_TEST_LOOP_f_f.
11216         (sin_test_data): New variable.
11217         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
11218         (sin_tonearest_test_data): New variable.
11219         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11220         (sin_towardzero_test_data): New variable.
11221         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11222         (sin_downward_test_data): New variable.
11223         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11224         (sin_upward_test_data): New variable.
11225         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11226         (sinh_test_data): New variable.
11227         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
11228         (sinh_tonearest_test_data): New variable.
11229         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11230         (sinh_towardzero_test_data): New variable.
11231         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11232         (sinh_downward_test_data): New variable.
11233         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11234         (sinh_upward_test_data): New variable.
11235         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11236         (sqrt_test_data): New variable.
11237         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
11238         (tan_test_data): New variable.
11239         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
11240         (tan_tonearest_test_data): New variable.
11241         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11242         (tan_towardzero_test_data): New variable.
11243         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11244         (tan_downward_test_data): New variable.
11245         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11246         (tan_upward_test_data): New variable.
11247         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11248         (tanh_test_data): New variable.
11249         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
11250         (tgamma_test_data): New variable.
11251         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
11252         (trunc_test_data): New variable.
11253         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
11254         (y0_test_data): New variable.
11255         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
11256         (y1_test_data): New variable.
11257         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
11258         (significand_test_data): New variable.
11259         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
11261 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
11263         [BZ #12387]
11264         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
11266 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
11268         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
11270 2013-05-10  Andreas Jaeger  <aj@suse.de>
11272         [BZ #15448]
11273         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
11274         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
11276 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
11278         * math/gen-libm-test.pl (adjust_arg): New function.
11279         (special_functions): Handle generating output in both functions
11280         and arrays.
11281         (parse_args): Likewise.
11282         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
11283         $in_func argument to parse_args.
11284         * math/libm-test.inc (struct test_f_f_data): New type.
11285         (IF_ROUND_INIT_): New macro.
11286         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
11287         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11288         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11289         (IF_ROUND_INIT_FE_UPWARD): Likewise.
11290         (ROUND_RESTORE_): Likewise.
11291         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
11292         (ROUND_RESTORE_FE_TONEAREST): Likewise.
11293         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
11294         (ROUND_RESTORE_FE_UPWARD): Likewise.
11295         (RUN_TEST_LOOP_f_f): New macro.
11296         (acos_test_data): New variable.
11297         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
11298         (acos_tonearest_test_data): New variable.
11299         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11301 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11303         * benchtests/bench-skeleton.c (startup): Fix coding style.
11305 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
11307         [BZ #6809]
11308         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
11309         negative infinity argument.
11310         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
11311         negative infinity argument.
11312         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
11313         negative infinity argument.
11314         * math/libm-test.inc (tgamma_test): Expect errno to be set for
11315         domain errors.
11317 2013-05-10  Florian Weimer  <fweimer@redhat.com>
11319         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
11320         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
11321         * iconv/iconv_prog.c (main): Likewise.
11322         * locale/programs/charmap-dir.c (charmap_readdir)
11323         (fopen_uncompressed): Likewise.
11324         * locale/programs/locfile.c (siblings_uncached)
11325         (write_locale_data): Use lstat64 instead of lstat.
11326         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
11327         stat.
11329 2013-05-10  Andreas Jaeger  <aj@suse.de>
11331         [BZ #15395]
11332         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
11333         localization.
11334         Include <locale.h>.
11336 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
11338         * elf/dl-close.c (_dl_close_worker): Add comments.
11340 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
11342         [BZ #15359]
11343         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
11344         high part of pi/2.
11345         (__ieee754_rem_pio2l): Update comments.
11347         [BZ #15429]
11348         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
11349         high part of pi/2.
11350         (__ieee754_rem_pio2l): Update comments.
11352         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
11353         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
11355         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
11356         M_PI_4l.
11358         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
11359         (M_PI_34_LOG10El): Likewise.
11360         (M_PI2_LOG10El): Likewise.
11361         (M_PI4_LOG10El): Likewise.
11362         (M_PI_LOG10El): Likewise.
11364 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11366         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11368 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
11370         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
11371         (MINUS_ZERO_INIT): Likewise.
11372         (PLUS_INFTY_INIT): Likewise.
11373         (MINUS_INFTY_INIT): Likewise.
11374         (QNAN_VALUE_INIT): Likewise.
11375         (MAX_VALUE_INIT): Likewise.
11376         (MIN_VALUE_INIT): Likewise.
11377         (MIN_SUBNORM_VALUE_INIT): Likewise.
11378         (plus_zero): Initialize with PLUS_ZERO_INIT.
11379         (minus_zero): Initialize with MINUS_ZERO_INIT.
11380         (plus_infty): Initialize with PLUS_INFTY_INIT.
11381         (minus_infty): Initialize with MINUS_INFTY_INIT.
11382         (qnan_value): Initialize with QNAN_VALUE_INIT.
11383         (max_value): Initialize with MAX_VALUE_INIT.
11384         (min_value): Initialize with MIN_VALUE_INIT.
11385         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
11387         * math/libm-test.inc (RUN_TEST_if_f): New macro.
11388         (jn_test): Use TEST_if_f instead of TEST_ff_f.
11389         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
11390         (yn_test): Use TEST_if_f instead of TEST_ff_f.
11392         * math/libm-test.inc (RUN_TEST_f_f): New macro.
11393         (RUN_TEST_2_f): Likewise.
11394         (RUN_TEST_ff_f): Likewise.
11395         (RUN_TEST_fi_f): Likewise.
11396         (RUN_TEST_fl_f): Likewise.
11397         (RUN_TEST_fff_f): Likewise.
11398         (RUN_TEST_c_f): Likewise.
11399         (RUN_TEST_f_f1): Likewise.
11400         (RUN_TEST_fF_f1): Likewise.
11401         (RUN_TEST_fI_f1): Likewise.
11402         (RUN_TEST_ffI_f1): Likewise.
11403         (RUN_TEST_c_c): Likewise.
11404         (RUN_TEST_cc_c): Likewise.
11405         (RUN_TEST_f_i): Likewise.
11406         (RUN_TEST_f_i_tg): Likewise.
11407         (RUN_TEST_ff_i_tg): Likewise.
11408         (RUN_TEST_f_b): Likewise.
11409         (RUN_TEST_f_b_tg): Likewise.
11410         (RUN_TEST_f_l): Likewise.
11411         (RUN_TEST_f_L): Likewise.
11412         (RUN_TEST_sincos): Likewise.
11413         * math/gen-libm-test.pl (new_test): Take new argument to indicate
11414         whether to show exceptions.  Do not include ");\n" in return
11415         value.
11416         (special_functions): Output call to RUN_TEST_sincos instead of
11417         check_float calls.  Update calls to new_test.
11418         (parse_args): Output call to single RUN_TEST_* macro instead of
11419         check_* calls and other assignments.  Update calls to new_test.
11421         [BZ #2546]
11422         [BZ #2560]
11423         [BZ #5159]
11424         [BZ #15426]
11425         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
11426         input to result for tgamma overflow.
11427         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
11428         (gamma_coeff): New variable.
11429         (NCOEFF): New macro.
11430         (gamma_positive): New function.
11431         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
11432         underflow here.  Use gamma_positive instead of exp (lgamma) for
11433         other arguments.
11434         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
11435         (gamma_coeff): New variable.
11436         (NCOEFF): New macro.
11437         (gammaf_positive): New function.
11438         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
11439         underflow here.  Use gamma_positive instead of exp (lgamma) for
11440         other arguments.
11441         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
11442         (gamma_coeff): New variable.
11443         (NCOEFF): New macro.
11444         (gammal_positive): New function.
11445         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
11446         underflow here.  Use gamma_positive instead of exp (lgamma) for
11447         other arguments.
11448         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
11449         (gamma_coeff): New variable.
11450         (NCOEFF): New macro.
11451         (gammal_positive): New function.
11452         (__ieee754_gammal_r): Handle positive infinity, overflow and
11453         underflow here.  Handle NaN the same as positive infinity.  Remove
11454         check x < 0xffffffff for negative integers.  Use gamma_positive
11455         instead of exp (lgamma) for other arguments.
11456         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
11457         (gamma_coeff): New variable.
11458         (NCOEFF): New macro.
11459         (gammal_positive): New function.
11460         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
11461         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11462         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11463         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
11464         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11465         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
11466         * sysdeps/generic/math_private.h (__gamma_productf): New
11467         prototype.
11468         (__gamma_product): Likewise.
11469         (__gamma_productl): Likewise.
11470         * math/Makefile (libm-calls): Add gamma_product.
11471         * math/libm-test.inc (tgamma_test): Add more tests.
11472         * sysdeps/i386/fpu/libm-test-ulps: Update.
11473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11475 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
11477         * benchtests/bench-skeleton.c (main): Preheat CPU.
11479 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
11481         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
11483 2013-05-07  Roland McGrath  <roland@hack.frob.com>
11485         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
11486         and _dl_skip_args_internal.
11488 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
11490         * manual/message.texi (Message Translation): Talk about users.
11491         Message to key mapping impacts design.
11493 2013-05-06  Roland McGrath  <roland@hack.frob.com>
11495         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
11497         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
11499         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
11500         * sysdeps/wordsize-64/glob64.c: ... here.
11502         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
11503         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
11504         New macros.
11506         * debug/getlogin_r_chk.c: Moved to ...
11507         * login/getlogin_r_chk.c: ... here.
11508         * debug/Makefile (routines): Move getlogin_r_chk to ...
11509         * login/Makefile (routines): ... here.
11510         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
11511         * login/Versions (libc: GLIBC_2.4): ... here.
11513         * io/poll.c (__poll): Renamed from poll.
11514         Add libc_hidden_def.
11515         (poll): Define as weak alias.
11517         * debug/ptsname_r_chk.c: Moved to ...
11518         * login/ptsname_r_chk.c: ... here.
11519         * debug/Makefile (routines): Move ptsname_r_chk to ...
11520         * login/Makefile (routines): ... here.
11521         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
11522         * login/Versions (libc: GLIBC_2.4): ... here.
11524         * posix/getlogin.c: Moved to ...
11525         * login/getlogin.c: ... here.
11526         * posix/getlogin_r.c: Moved to ...
11527         * login/getlogin_r.c: ... here.
11528         * posix/getlogin_r.c: Moved to ...
11529         * login/getlogin_r.c: ... here.
11530         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
11531         * login/Makefile (routines): ... here.
11532         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
11533         * login/Versions (libc: GLIBC_2.0): ... here.
11535         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
11536         (setrlimit): Define as weak alias.
11538         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
11539         Call __ names for open, ftruncate, and close.
11540         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
11541         (truncate): Define as weak alias.
11543 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
11545         * math/gen-libm-test.pl (parse_args): Initialize x before each
11546         test of frexp, modf and remquo.
11548         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
11549         test signgam value.
11551 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11553         [BZ #15418]
11554         [BZ #15419]
11555         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
11556         internal tests.
11557         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11559 2013-05-06  Roland McGrath  <roland@hack.frob.com>
11561         * elf/dl-writev.h: New file.
11562         * elf/dl-misc.c: Include it.
11563         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
11564         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
11566 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
11568         * math/libm-test.inc (noXFails): Remove variable.
11569         (noXPasses): Likewise.
11570         (BUILD_COMPLEX_INT): Remove macro.
11571         (print_screen): Remove xfail argument.
11572         (print_screen_max_error): Likewise.
11573         (update_stats): Likewise.
11574         (print_max_error): Likewise.  Update calls to other affected
11575         functions.
11576         (print_complex_max_error): Likewise.
11577         (test_single_exception): Update calls to print_screen.
11578         (test_single_errno): Likewise.
11579         (check_float_internal): Remove xfail argument.  Update calls to
11580         other affected functions.
11581         (check_float): Likewise.
11582         (check_complex): Likewise.
11583         (check_int): Likewise.
11584         (check_long): Likewise.
11585         (check_bool): Likewise.
11586         (check_longlong): Likewise.
11587         (main): Don't print noXFails and noXPasses.
11588         * math/gen-libm-test.pl (top level): Don't mention expected
11589         failure handling in comment.
11590         (new_test): Don't handle expected failures.
11591         (parse_args): Don't mention expected failure handling in comment.
11592         (generate_testfile): Don't handle expected failures.
11593         (parse_ulps): Likewise.
11594         (print_ulps_file): Likewise.
11595         (get_failure): Remove function.
11596         (output_test): Don't handle expected failures.
11597         * make/README.libm-test: Don't mention expected failure handling.
11599         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
11600         (minus_zero): Likewise.
11601         (plus_infty): Likewise.
11602         (minus_infty): Likewise.
11603         (qnan_value): Likewise.
11604         (max_value): Likewise.
11605         (min_value): Likewise.
11606         (min_subnorm_value): Likewise.
11607         (initialize): Do not initialize those variables dynamically.
11609 2013-05-03  Roland McGrath  <roland@hack.frob.com>
11611         * io/open.c (__open_2): Moved to ...
11612         * io/open_2.c: ... this new file.
11613         * io/open64.c (__open64_2): Moved to ...
11614         * io/open64_2.c: ... this new file.
11615         * io/openat.c (__openat_2): Moved to ...
11616         * io/openat_2.c: ... this new file.
11617         * io/openat64.c (__openat64_2): Moved to ...
11618         * io/openat64_2.c: ... this new file.
11619         * io/Makefile (routines): Add them.
11620         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
11621         * sysdeps/unix/sysv/linux/open_2.c: File removed.
11622         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
11623         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
11624         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
11625         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
11626         (__openat64): Add hidden_ver.
11627         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
11628         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
11630         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
11631         Separately conditionalize setting of GLRO(dl_sysinfo) so
11632         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
11633         as well, but the actual setting is only under [NEED_DL_SYSINFO].
11635 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11637         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
11638         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
11639         definition.
11640         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
11641         * sysdeps/unix/sysv/linux/powerpc/init-first.c
11642         (_libc_vdso_platform_setup): Add __vdso_time initialization.
11643         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
11644         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
11646 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
11648         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
11649         test signgam value.
11651         * math/libm-test.inc (hypot_test): Do not use
11652         IGNORE_ZERO_INF_SIGN.
11654 2013-05-03  Andreas Jaeger  <aj@suse.de>
11656         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
11657         Linux 3.9.
11658         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
11659         (PF_MAX): Adjust for VSOCK change.
11661 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11663         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11665 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
11667         [BZ #15264]
11668         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
11669         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
11670         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
11672 2013-05-02  David S. Miller  <davem@davemloft.net>
11674         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11676 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
11678         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
11680 2013-05-01  Roland McGrath  <roland@hack.frob.com>
11682         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
11684 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
11686         [BZ #14952]
11687         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
11688         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11689         Use __attribute__ ((__gnu_inline__)).
11690         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11691         Don't use __attribute__ ((__gnu_inline__)).
11693 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
11695         [BZ #15423]
11696         * math/s_catan.c (__catan): Handle small real or imaginary part of
11697         input specially to avoid spurious underflow.
11698         * math/s_catanf.c (__catanf): Likewise.
11699         * math/s_catanh.c (__catanh): Likewise.
11700         * math/s_catanhf.c (__catanhf): Likewise.
11701         * math/s_catanhl.c (__catanhl): Likewise.
11702         * math/s_catanl.c (__catanl): Likewise.
11703         * math/libm-test.inc (catan_test): Add more tests.
11704         (catanh_test): Likewise.
11705         * sysdeps/i386/fpu/libm-test-ulps: Update.
11706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11708 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11710         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11712 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
11714         [BZ #15416]
11715         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
11716         accurately for denominator in atan2.
11717         * math/s_catanf.c (__catanf): Likewise.
11718         * math/s_catanh.c (__catanh): Likewise.
11719         * math/s_catanhf.c (__catanhf): Likewise.
11720         * math/s_catanhl.c (__catanhl): Likewise.
11721         * math/s_catanl.c (__catanl): Likewise.
11722         * math/libm-test.inc (catan_test): Add more tests.
11723         (catanh_test): Likewise.
11724         * sysdeps/i386/fpu/libm-test-ulps: Update.
11725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11727 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11729         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
11731         * benchtests/Makefile (bench): Remove slow benchmarks.
11732         * benchtests/atan-inputs: Add slow benchmark inputs.
11733         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
11734         (BENCH_FUNC): Accept variant offset.
11735         (VARIANT): Define.
11736         * benchtests/bench-skeleton.c (main): Run benchmark for each
11737         variant.
11738         * benchtests/cos-inputs: Add slow benchmark inputs.
11739         * benchtests/exp-inputs: Likewise.
11740         * benchtests/pow-inputs: Likewise.
11741         * benchtests/sin-inputs: Likewise.
11742         * benchtests/slowatan-inputs: Remove.
11743         * benchtests/slowatan.c: Remove.
11744         * benchtests/slowcos-inputs: Remove.
11745         * benchtests/slowcos.c: Remove.
11746         * benchtests/slowexp-inputs: Remove.
11747         * benchtests/slowexp.c: Remove.
11748         * benchtests/slowpow-inputs: Remove.
11749         * benchtests/slowpow.c: Remove.
11750         * benchtests/slowsin-inputs: Remove.
11751         * benchtests/slowsin.c: Remove.
11752         * benchtests/slowtan-inputs: Remove.
11753         * benchtests/slowtan.c: Remove.
11754         * benchtests/tan-inputs: Add slow benchmark inputs.
11755         * scripts/bench.pl: Parse comments and directives.
11757         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
11758         in CPPFLAGS.
11759         ($(objpfx)bench-%.c): Remove *-ITER.
11760         * benchtests/bench-modf.c: Remove definition of ITER.
11761         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
11762         (main): Loop for DURATION seconds instead of fixed number of
11763         iterations.
11764         * scripts/bench.pl: Don't expect iterations in parameters.
11766 2013-04-29  Roland McGrath  <roland@hack.frob.com>
11768         * io/fchdir.c (__fchdir): Renamed from fchdir.
11769         (fchdir): Define as weak alias.
11771 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
11773         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
11774         (ERRNO_EDOM): Likewise.
11775         (ERRNO_ERANGE): Likewise.
11776         (noErrnoTests): New variable.
11777         (init_max_error): Set errno to 0.
11778         (test_single_errno): New function.
11779         (test_errno): Likewise.
11780         (check_float_internal): Call test_errno.  Set errno to 0.
11781         (check_complex): Refer to errno tests in comment.
11782         (check_int): Call test_errno.  Set errno to 0.
11783         (check_long): Likewise.
11784         (check_bool): Likewise.
11785         (check_longlong): Likewise.
11786         (cos_test): Use ERRNO_* flags for errno tests instead of
11787         check_int.
11788         (expm1_test): Likewise.
11789         (fmod_test): Likewise.
11790         (ilogb_test): Likewise.
11791         (lgamma_test): Likewise.
11792         (pow_test): Likewise.
11793         (remainder_test): Likewise.
11794         (sin_test): Likewise.
11795         (tan_test): Likewise.
11796         (yn_test): Likewise.
11797         (initialize): Set errno to 0.
11798         (main): Print number of errno tests.
11799         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
11801 2013-04-29  Andreas Jaeger  <aj@suse.de>
11803         [BZ #15084]
11804         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
11805         and RES_USEVC.
11807         [BZ #15085]
11808         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
11809         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
11810         unimplemented.
11812         [BZ #15380]
11813         * stdlib/random.c (__initstate): Return NULL if
11814         __initstate fails.
11816         [BZ #15086]
11817         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
11818         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
11819         RES_SNGLKUPREOP.
11821 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11823         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11825 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
11827         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
11828         of individual tests.
11829         (casin_test): Likewise.
11830         (casinh_test): Likewise.
11832 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
11834         [BZ #15409]
11835         * math/s_catan.c (__catan): Handle arguments with large real or
11836         imaginary part separately without squaring.
11837         * math/s_catanf.c (__catanf): Likewise.
11838         * math/s_catanh.c (__catanh): Likewise.
11839         * math/s_catanhf.c (__catanhf): Likewise.
11840         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11841         and redefine.
11842         (__catanhl): Handle arguments with large real or imaginary part
11843         separately without squaring.
11844         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11845         and redefine.
11846         (__catanl): Handle arguments with large real or imaginary part
11847         separately without squaring.
11848         * math/libm-test.inc (catan_test): Add more tests.
11849         (catanh_test): Likewise.
11850         * sysdeps/i386/fpu/libm-test-ulps: Update.
11851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11853 2013-04-27  Andreas Jaeger  <aj@suse.de>
11855         [BZ #15007]
11856         * stdlib/stdlib.h: Update guards for qecvt.
11857         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
11858         <stdlib.h>.
11860 2013-04-27  Allan McRae  <allan@archlinux.org>
11862         * sysdeps/i386/fpu/libm-test-ulps: Update.
11864 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
11866         [BZ #15406]
11867         * math/s_catan.c: Include <float.h>.
11868         (__catan): Ensure underflow exception occurs for underflowed
11869         result.
11870         * math/s_catanf.c: Include <float.h>.
11871         (__catanf): Ensure underflow exception occurs for underflowed
11872         result.
11873         * math/s_catanh.c: Include <float.h>.
11874         (__catanh): Ensure underflow exception occurs for underflowed
11875         result.
11876         * math/s_catanhf.c: Include <float.h>.
11877         (__catanhf): Ensure underflow exception occurs for underflowed
11878         result.
11879         * math/s_catanhl.c: Include <float.h>.
11880         (__catanhl): Ensure underflow exception occurs for underflowed
11881         result.
11882         * math/s_catanl.c: Include <float.h>.
11883         (__catanl): Ensure underflow exception occurs for underflowed
11884         result.
11885         * math/libm-test.inc (catan_test): Add more tests.
11886         (catanh_test): Likewise.
11888         [BZ #15405]
11889         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
11890         underflowed result.
11891         * math/s_ccoshf.c (__ccoshf): Likewise.
11892         * math/s_ccoshl.c (__ccoshl): Likewise.
11893         * math/s_csin.c (__csin): Likewise.
11894         * math/s_csinf.c (__csinf): Likewise.
11895         * math/s_csinh.c (__csinh): Likewise.
11896         * math/s_csinhf.c (__csinhf): Likewise.
11897         * math/s_csinhl.c (__csinhl): Likewise.
11898         * math/s_csinl.c (__csinl): Likewise.
11899         * math/libm-test.inc (ccos_test): Add more tests.
11900         (ccosh_test): Likewise.
11901         (csin_test): Likewise.
11902         (csinh_test): Likewise.
11904 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11906         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
11907         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
11908         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
11909         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
11910         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
11911         powerpc/power5+/fpu folders.
11912         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11915 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
11917         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11919 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
11921         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
11922         additions to variable.
11923         [$(config-machine) = x86_64] (modules-names): Likewise.
11924         ($(objpfx)tst-audit3): Remove dependency.
11925         ($(objpfx)tst-audit3.out): Likewise.
11926         ($(objpfx)tst-audit4): Likewise.
11927         ($(objpfx)tst-audit4.out): Likewise.
11928         ($(objpfx)tst-audit5): Likewise.
11929         ($(objpfx)tst-audit5.out): Likewise.
11930         ($(objpfx)tst-audit6): Likewise.
11931         ($(objpfx)tst-audit6.out): Likewise.
11932         ($(objpfx)tst-audit7): Likewise.
11933         ($(objpfx)tst-audit7.out): Likewise.
11934         (tst-audit3-ENV): Remove variable.
11935         (tst-audit4-ENV): Likewise.
11936         (tst-audit5-ENV): Likewise.
11937         (tst-audit6-ENV): Likewise.
11938         (tst-audit7-ENV): Likewise.
11939         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
11940         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
11941         addition to variable.
11942         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
11943         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
11944         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
11945         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
11946         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
11947         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
11948         tst-audit3, tst-audit4 and tst-audit5.
11949         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
11950         tst-audit6 and tst-audit7.
11951         [$(subdir) = elf] (modules-names): Add audit modules for those
11952         tests.
11953         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
11954         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
11955         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
11956         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
11957         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
11958         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
11959         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
11960         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
11961         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
11962         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
11963         [$(subdir) = elf] (tst-audit3-ENV): New variable.
11964         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
11965         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
11966         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
11967         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
11968         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
11969         Likewise.
11970         [$(subdir) = elf && $(config-cflags-avx) = yes]
11971         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
11972         [$(subdir) = elf && $(config-cflags-avx) = yes]
11973         (CFLAGS-tst-auditmod4a.c): Likewise.
11974         [$(subdir) = elf && $(config-cflags-avx) = yes]
11975         (CFLAGS-tst-auditmod4b.c): Likewise.
11976         [$(subdir) = elf && $(config-cflags-avx) = yes]
11977         (CFLAGS-tst-auditmod6b.c): Likewise.
11978         [$(subdir) = elf && $(config-cflags-avx) = yes]
11979         (CFLAGS-tst-auditmod6c.c): Likewise.
11980         [$(subdir) = elf && $(config-cflags-avx) = yes]
11981         (CFLAGS-tst-auditmod7b.c): Likewise.
11982         * elf/tst-audit3.c: Move to ...
11983         * sysdeps/x86_64/tst-audit3.c: ... here.
11984         * elf/tst-audit4.c: Move to ...
11985         * sysdeps/x86_64/tst-audit4.c: ... here.
11986         * elf/tst-audit5.c: Move to ...
11987         * sysdeps/x86_64/tst-audit5.c: ... here.
11988         * elf/tst-audit6.c: Move to ...
11989         * sysdeps/x86_64/tst-audit6.c: ... here.
11990         * elf/tst-audit7.c: Move to ...
11991         * sysdeps/x86_64/tst-audit7.c: ... here.
11992         * elf/tst-auditmod3a.c: Move to ...
11993         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
11994         * elf/tst-auditmod3b.c: Move to ...
11995         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
11996         * elf/tst-auditmod4a.c: Move to ...
11997         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
11998         * elf/tst-auditmod4b.c: Move to ...
11999         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
12000         * elf/tst-auditmod5a.c: Move to ...
12001         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
12002         * elf/tst-auditmod5b.c: Move to ...
12003         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
12004         * elf/tst-auditmod6a.c: Move to ...
12005         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
12006         * elf/tst-auditmod6b.c: Move to ...
12007         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
12008         * elf/tst-auditmod6c.c: Move to ...
12009         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
12010         * elf/tst-auditmod7a.c: Move to ...
12011         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
12012         * elf/tst-auditmod7b.c: Move to ...
12013         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
12015 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
12017         [BZ #15366]
12018         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
12019         define unconditionally.
12020         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
12021         define unconditionally.
12022         (INT8_C, INT16_C, etc.): Likewise.
12024 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
12026         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
12027         __ehdr_start with hidden visibility.
12029         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
12031 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
12033         * math/libm-test.inc (cos_test): Use accurate hex constants.
12034         (sincost_test): Likewise.
12036 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
12038         * math/libm-test.inc (catan_test): Add more tests.
12039         (catanh_test): Likewise.
12041         * math/s_catanf.c (__catanf): Use suffixed floating-point
12042         constants.
12043         * math/s_catanhf.c (__catanhf): Likewise.
12044         * math/s_catanhl.c (__catanhl): Likewise.
12045         * math/s_catanl.c (__catanl): Likewise.
12047         [BZ #15394]
12048         * math/s_catan.c (__catan): Calculate imaginary part of result
12049         with log1p not log unless computing log of number close to 0.
12050         * math/s_catanf.c (__catanf): Likewise.
12051         * math/s_catanl.c (__catanl): Likewise.
12052         * math/s_catanh.c (__catanh): Calculate real part of result with
12053         log1p not log unless computing log of number close to 0.
12054         * math/s_catanhf.c (__catanhf): Likewise.
12055         * math/s_catanhl.c (__catanhl): Likewise.
12056         * math/libm-test.inc (catan_test): Add more tests.
12057         (catanh_test): Likewise.
12058         * sysdeps/i386/fpu/libm-test-ulps: Update.
12059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12061 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12063         * benchtests/Makefile: Mention files in which fast and slow
12064         paths of math functions are implemented.
12066 2013-04-23  Roland McGrath  <roland@hack.frob.com>
12068         * sysdeps/posix/timespec_get.c: New file.
12070 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12072         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
12073         POWER.
12074         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
12075         for POWER.
12076         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
12077         powerpc/power5/fpu folders.
12078         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
12079         * benchtests/Makefile: Add modf testcase.
12080         * benchtests/bench-modf.c: New file: Benchmark test for mo
12082 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
12084         [BZ #14888]
12085         * time/Makefile (tests): Add tst-strptime-whitespace.
12086         * time/strptime_l.c (get_number): Use ISSPACE.
12087         (__strptime_internal): Likewise.
12088         * time/tst-strptime-whitespace.c: New test case.
12090 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
12092         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
12093         member.
12094         (_nss_files_init): Set it here.
12096 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
12098         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
12099         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
12100         unsigned.
12102 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
12104         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
12106 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
12108         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
12109         size just once.
12111 2013-04-21  David S. Miller  <davem@davemloft.net>
12113         * po/ru.po: Update Russion translation from translation project.
12115 2013-04-17  Adam Conrad  <adconrad@0c3.net>
12117         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
12118         and setfsgid.
12120 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
12122         * configure.in: Remove i386 configure warning. Remove i386 case.
12123         * configure: Regenerate.
12124         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
12125         Add example to error message.
12126         * sysdeps/i386/configure: Regenerate.
12128 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12130         * benchtests/Makefile (bench): Add cos, tan, slowcos and
12131         slowtan.
12132         * benchtests/cos-inputs: New file.
12133         * benchtests/slowcos-inputs: New file.
12134         * benchtests/slowcos.c: New file.
12135         * benchtests/slowtan-inputs: New file.
12136         * benchtests/slowtan.c: New file.
12137         * benchtests/tan-inputs: New file.
12139 2013-04-16  Roland McGrath  <roland@hack.frob.com>
12141         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
12142         considered kosher.
12144 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12146         * benchtests/Makefile: Include cppflags-iterator.mk to add
12147         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
12149         * Makefile.in (bench-clean): New target.
12150         * benchtests/Makefile (bench-clean): Likewise.
12152 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
12154         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
12156 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
12158         * stdio-common/tstdiomisc.c: Fix coding-style violation.
12160 2013-04-15  Andreas Schwab  <schwab@suse.de>
12162         * nscd/grpcache.c (cache_addgr): Properly check for short write.
12163         * nscd/initgrcache.c (addinitgroupsX): Likewise.
12164         * nscd/pwdcache.c (cache_addpw): Likewise.
12165         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
12166         more than recsize.
12168 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12170         * benchtests/Makefile (bench): Write all output to
12171         bench-out.tmp together.
12173 2013-04-15  Andreas Schwab  <schwab@suse.de>
12175         * nscd/nscd.c (main): Don't fork again after closing files.
12177 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12179         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
12181         * benchtests/Rules (bench-deps): Collect dependencies into a
12182         single variable.  Add Makefile to dependencies.
12183         ($(objpfx)bench-%.c): Depend on bench-deps.
12185 2013-04-12  Roland McGrath  <roland@hack.frob.com>
12186             Xavier Roche  <roche+kml2@exalead.com>
12188         [BZ #15361]
12189         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
12190         just that it's a file descriptor.
12191         * manual/llio.texi (Synchronizing AIO Operations): Update description
12192         for EBADF error from aio_fsync.
12194 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12196         * Rules (bench): Move target definition...
12197         * benchtests/Makefile: ... here.
12199 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
12201         * math/libm-test.inc (cos_test): Fix PI/2 test.
12202         (sincos_test): Likewise.
12203         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12204         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12206 2013-04-11  Andreas Schwab  <schwab@suse.de>
12208         [BZ #13988]
12209         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
12210         accept exponent character only when digits were seen.
12211         * stdio-common/Makefile (tests): Add bug26.
12212         * stdio-common/bug26.c: New file.
12214         [BZ #14293]
12215         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
12216         non-freeable.
12218 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12220         * Makeconfig (rtld-prefix): Define built linker prefix.
12221         * Rules (run-bench): Use it.
12222         * math/Makefile (run-regen-ulps): Likewise.
12224         * Rules (bench): Remove eval.
12226 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12227             Roland McGrath  <roland@hack.frob.com>
12228             Ondrej Bilka  <neleai@seznam.cz>
12230         [BZ #15346]
12231         * time/getdate.c: Include ctype.h and alloca.h.
12232         (__getdate_r): Trim leading and trailing spaces of input.
12233         * time/tst-getdate.c (tests): Add tests with leading and
12234         trailing spaces.
12236 2013-04-08  Roland McGrath  <roland@hack.frob.com>
12238         [BZ #14280]
12239         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
12240         when computing value.
12242 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
12244         * math/README.libm-test (How can I generate "libm-test-ulps"?):
12245         Use testrun.sh to run libm tests.
12247         [BZ #15309]
12248         * elf/dl-open.c (dl_open_worker): memset all of seen array.
12250 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
12252         [BZ #15264]
12253         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
12255 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
12257         * Makefile.in (regen-ulps): New target.
12258         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
12259         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
12260         [ifneq (no,$(PERL)] (regen-ulps): New target.
12261         [ifeq (no,$(PERL)] (regen-ulps): New target.
12262         * math/libm-test.inc (ulps_file_name): Define.
12263         (output_dir): New variable.
12264         (options): Add "output-dir" option.
12265         (parse_opt): Handle 'o' case.
12266         (main): If output_dir is non-NULL use it as a prefix
12267         otherwise use "".
12268         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
12270 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
12272         [BZ #10060, #10062]
12273         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
12274         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
12275         fail configure if __sync_val_compare_and_swap is not inlined.
12276         * sysdeps/i386/configure: Regenerate.
12277         * configure.in: Build for i686 when configured for i386.
12278         * configure: Regenerate.
12279         * README: Remove i386 reference.
12281 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
12283         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
12284         * sysdeps/s390/s390-64/sysdep.h: Likewise.
12286 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
12288         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
12289         (lmsnanval): New variables.
12290         (F): Add conversion tests.
12291         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
12292         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
12294         * stdio-common/tstdiomisc.c (F): Properly collect individual
12295         tests' results.
12297         [BZ #14686, #15336]
12298         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
12299         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
12300         Instead, use input NaN values or generate a qNaN by arithmetic
12301         operation.  Also fix bugs to comply with the standard.
12302         * math/libm-test.inc (remainder_test): Add more tests.
12304         [BZ #15335, #15342]
12305         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
12306         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
12307         input NaN values or generate a qNaN by arithmetic operation.
12309         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
12310         unreachable code.
12312         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
12313         definitions.
12315 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
12317         [BZ #14478]
12318         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
12319         underflowed result.
12320         * math/s_cexpf.c (__cexpf): Likewise.
12321         * math/s_cexpl.c (__cexpl): Likewise.
12322         * math/libm-test.inc (cexp_test): Add more tests.
12324 2013-04-03  Andreas Schwab  <schwab@suse.de>
12326         [BZ #15330]
12327         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
12328         order arrays from heap if bigger than alloca cutoff.
12330 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
12332         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
12333         (SNAN_TESTS_double): Refer to GCC PR56831.
12334         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
12335         GCC PR56828.
12337 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12339         * Rules (bench): Move bench.out after the run is complete.
12341         * Rules (bench): Echo currently running benchmark.
12343         * benchtests/Makefile (bench): Add atan and slowatan.
12344         * benchtests/atan-inputs: New file.
12345         * benchtests/slowatan-inputs: New file.
12346         * benchtests/slowatan.c: New file.
12348         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
12349         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
12350         its value.
12352         [BZ #15305]
12353         * sysdeps/unix/sysv/linux/kernel-features.h
12354         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
12355         __ASSUME_XFS_RESTRICTED_CHOWN.
12356         * sysdeps/unix/sysv/linux/pathconf.c
12357         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12358         Save and restore errno.
12360 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
12362         [BZ #15327]
12363         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
12364         arguments using __kernel_casinh.
12365         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
12366         arguments using __kernel_casinhf.
12367         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
12368         arguments using __kernel_casinhl.
12369         * math/libm-test.inc (cacosh_test): Add more tests.
12370         * sysdeps/i386/fpu/libm-test-ulps: Update.
12371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12373 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12375         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
12376         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
12378         * bench/Makefile (bench): Add sin and slowsin.
12379         * benchtests/sin-inputs: New file.
12380         * benchtests/slowsin-inputs: New file.
12381         * benchtests/slowsin.c: New file.
12383         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
12384         (bench): Add slowexp and slowpow.
12385         (exp-ITER): Increase iterations.
12386         (pow-ITER): Likewise.
12387         * benchtests/exp-inputs: Change input.
12388         * benchtests/pow-inputs: Likewise.
12389         * benchtests/slowexp-inputs: New file.
12390         * benchtests/slowexp.c: New file.
12391         * benchtests/slowpow-inputs: New file.
12392         * benchtests/slowpow.c: New file.
12394 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12396         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
12397         instructions.
12398         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12399         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
12400         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12401         * benchtests/Makefile: Add rint benchtest.
12402         * benchtests/rint-inputs: Input for rint benchtest.
12404 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
12406         * Versions.def (libm): Add GLIBC_2.18.
12407         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
12408         hidden libm prototypes.
12409         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
12410         * math/Makefile (libm-calls): Add s_issignaling.
12411         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
12412         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
12413         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
12414         declaration.
12415         * math/math.h [__USE_GNU] (issignaling): New macro.
12416         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
12417         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
12418         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
12419         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
12420         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
12421         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
12422         * manual/arith.texi (issignaling): New section.
12423         * manual/libm-err-tab.pl (@all_functions): Update comment.
12424         * math/gen-libm-test.pl (parse_args): Apply special handling for
12425         issignaling.
12426         * math/libm-test.inc (print_float, issignaling_test): New
12427         functions.
12428         (check_float_internal): Add issignaling checks.
12429         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
12430         default definition.
12431         * sysdeps/powerpc/math-tests.h: New file.
12432         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
12433         tests.
12434         * math/test-snan.c (TEST_FUNC): Likewise.
12436 2013-03-30  David S. Miller  <davem@davemloft.net>
12438         * po/de.po: Update from translation team.
12440 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
12442         [BZ #10357]
12443         * math/k_casinh.c (__kernel_casinh): Handle arguments with
12444         imaginary part less than 1.0 and real part less than 0.5
12445         specially.
12446         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12447         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12448         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
12449         (cacos_test): Add more tests.
12450         (casin_test): Likewise.
12451         (casinh_test): Likewise.
12452         * sysdeps/i386/fpu/libm-test-ulps: Update.
12453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12455 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12457         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
12458         ONE with its value.
12460         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
12461         (__pow_mp): Replace ONE and MONE with their values.
12462         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12463         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
12464         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12465         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
12466         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12467         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12469         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
12471         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
12472         (__pow_mp): Replace ZERO and MZERO with their values.
12473         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12474         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12475         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12476         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12477         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12478         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
12479         (__sqr): Likewise.
12481         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
12483         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
12485 2013-03-28  Roland McGrath  <roland@hack.frob.com>
12487         * include/stdlib.h [!SHARED] (__call_tls_dtors):
12488         Declare with __attribute__ ((weak)).
12489         * stdlib/exit.c (__libc_atexit) [!SHARED]:
12490         Call __call_tls_dtors only if it's not NULL.
12492 2013-03-28  Roland McGrath  <roland@hack.frob.com>
12494         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
12495         didn't do it already, then set _dl_phdr and _dl_phnum based on the
12496         magic __ehdr_start linker symbol if it's defined.
12497         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
12498         them up here if it was already done.
12500         * elf/dl-support.c (_dl_phdr): Make pointer to const.
12501         (_dl_aux_init): Use const in cast when setting it.
12502         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
12503         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
12504         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
12506         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
12507         Declare them here.
12508         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
12509         * csu/libc-tls.c: Nor here.
12510         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
12512         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
12513         (__libc_message): Never call vsyslog.
12515 2013-03-28  Alan Modra  <amodra@gmail.com>
12517         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
12518         Define as empty.
12519         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
12520         Likewise.
12522 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12524         [BZ #15214]
12525         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
12526         underflow.
12527         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12529 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12531         [BZ #15304]
12532         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12533         Don't add gid passed as argument.
12535         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
12537 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
12539         [BZ #15307]
12540         * math/k_casinh.c (__kernel_casinh): Handle arguments with
12541         imaginary part between 1.0 and 1.5 and real part less than 0.5
12542         specially.
12543         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12544         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12545         * math/libm-test.inc (cacos_test): Add more tests.
12546         (casin_test): Likewise.
12547         (casinh_test): Likewise.
12548         * sysdeps/i386/fpu/libm-test-ulps: Update.
12549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12551 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12553         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
12554         constants.
12555         (norm): Likewise.
12556         (denorm): Likewise.
12557         (__dbl_mp): Likewise.
12558         (add_magnitudes): Likewise.
12559         (sub_magnitudes): Likewise.
12560         (__add): Likewise.
12561         (__sub): Likewise.
12562         (__mul): Likewise.
12563         (__sqr): Likewise.
12564         (__inv): Likewise.
12565         (__dvd): Likewise.
12567         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
12568         commented code.
12569         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
12570         (__dubcos): Likewise.
12571         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
12572         (__ieee754_acos): Likewise.
12573         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12574         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
12575         (__exp1): Likewise.
12576         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12577         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12578         (log1): Likewise.
12579         (my_log2): Likewise.
12580         (checkint): Likewise.
12581         * sysdeps/ieee754/dbl-64/e_remainder.c
12582         (__ieee754_remainder): Likewise.
12583         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12584         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12585         (bsloww): Likewise.
12586         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12588         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12589         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
12590         MANTISSA_STORE_T to store computations on mantissa.  Use
12591         macros for rounding and division.
12592         (denorm): Likewise.
12593         (__dbl_mp): Likewise.
12594         (add_magnitudes): Likewise.
12595         (sub_magnitudes): Likewise.
12596         (__mul): Likewise.
12597         (__sqr): Likewise.
12598         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
12599         powers of two in terms of TWOPOW macro.
12600         (mp_no): Make type of mantissa as MANTISSA_T.
12601         [!RADIXI]: Define RADIXI.
12602         [!TWO52]: Define TWO52.
12603         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12605 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12607         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
12608         llroundl symbol when building for PPC32.
12610 2013-03-24  Mark H Weaver  <mhw@netris.org>
12612         * manual/arith.texi (Normalization Functions): Fix prototypes for
12613         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
12615 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12617         [BZ #13889]
12618         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
12619         high value to check if expl overflow.
12620         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
12621         to check for underflow and overflow.
12622         * math/libm-test.inc: Add exp test.
12624 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
12626         [BZ #11120]
12627         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
12628         with NOT_IN_libc.
12630 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12632         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
12633         symbol.
12635 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
12637         * math/gen-libm-test.pl (parse_args, special_functions): Properly
12638         wrap blocks consisting of several statements.
12640         * sysdeps/generic/math-tests.h: New file.
12641         * sysdeps/i386/fpu/math-tests.h: Likewise.
12642         * math/test-snan.c: Include it.
12643         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
12645 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
12647         [BZ #15285]
12648         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
12649         (__ieee754_j0l): Do not improve calculations using cos of twice
12650         input for inputs above LDBL_MAX / 2.0L.
12651         (__ieee754_y0l): Likewise.
12652         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
12653         (__ieee754_j1l): Do not improve calculations using cos of twice
12654         input for inputs above LDBL_MAX / 2.0L.
12655         (__ieee754_y1l): Likewise.
12656         * math/libm-test.inc (j0_test): Add another test.
12657         (j1_test): Likewise.
12658         (y0_test): Likewise.
12659         (y1_test): Likewise.
12660         * sysdeps/i386/fpu/libm-test-ulps: Update.
12662 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12664         * Rules ($(objpfx)bench-%.c): Include code from a C source
12665         file.
12667 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
12669         [BZ #15287]
12670         * math/k_casinh.c (__kernel_casinh): Handle arguments with
12671         imaginary part 1.0 and real part less than 0.5 specially.
12672         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12673         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12674         * math/libm-test.inc (cacos_test): Add more tests.
12675         (casin_test): Likewise.
12676         (casinh_test): Likewise.
12677         * sysdeps/i386/fpu/libm-test-ulps: Update.
12678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12680 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12682         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
12683         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
12685 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
12687         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
12688         * config.make.in (config-cflags-sse4): Remove variable.
12689         (config-cflags-avx): Likewise.
12690         (config-cflags-sse2avx): Likewise.
12691         (config-cflags-novzeroupper): Likewise.
12692         (config-asflags-i686): Likewise.
12693         (have-mfma4): Likewise.
12694         (have-as-vis3): Likewise.
12695         (MIG): Likewise.
12696         * configure.in (MIG): Do not AC_SUBST.
12697         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
12698         (libc_cv_cc_sse4): Do not AC_SUBST.
12699         (libc_cv_cc_avx): Likewise.
12700         (libc_cv_cc_sse2avx): Likewise.
12701         (libc_cv_cc_novzeroupper): Likewise.
12702         (libc_cv_cc_fma4): Likewise.
12703         (libc_cv_as_i686): Likewise.
12704         (libc_cv_sparc_as_vis3): Likewise.
12705         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
12706         LIBC_CONFIG_VAR.
12707         (config-asflags-i686): Likewise.
12708         (config-cflags-avx): Likewise.
12709         (config-cflags-sse2avx): Likewise.
12710         (have-mfma4): Likewise.
12711         (config-cflags-novzeroupper): Likewise.
12712         * sysdeps/mach/configure.in (MIG): Likewise.
12713         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
12714         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
12715         LIBC_CONFIG_VAR.
12716         (config-cflags-avx): Likewise.
12717         (config-cflags-sse2avx): Likewise.
12718         (have-mfma4): Likewise.
12719         (config-cflags-novzeroupper): Likewise.
12720         * configure: Regenerated.
12721         * sysdeps/i386/configure: Likewise.
12722         * sysdeps/mach/configure: Likewise.
12723         * sysdeps/sparc/configure: Likewise.
12724         * sysdeps/x86_64/configure: Likewise.
12726 2013-03-20  Roland McGrath  <roland@hack.frob.com>
12728         [BZ #14812]
12729         * locale/programs/localedef.c (options): Put N_ translation marker
12730         on argument names, not just descriptions.
12732 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12734         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
12736 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
12738         [BZ #14176]
12739         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
12741 2013-03-19  Roland McGrath  <roland@hack.frob.com>
12743         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
12744         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
12745         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
12746         [!BEFORE_ABORT] (before_abort): New function.
12747         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
12748         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
12749         (writev_for_fatal): New function.
12750         (WRITEV_FOR_FATAL): New macro; call that.
12751         (backtrace_and_maps): New function.
12752         (BEFORE_ABORT): New macro; call that.
12753         (struct str_list): Type removed.
12754         (__libc_message, __libc_fatal): Functions removed.
12755         Include <sysdeps/posix/libc_fatal.c> instead.
12757 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
12759         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
12760         constants.
12761         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
12762         double constants.
12764 2013-03-19  Andreas Schwab  <schwab@suse.de>
12766         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
12767         * sysdeps/gnu/configure: Regenerate.
12769         * configure.in: Substitute libc_cv_rtlddir.
12770         * configure: Regenerate.
12771         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
12772         * Makeconfig (rtlddir, inst_rtlddir): New variables.
12773         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
12774         * elf/Makefile (install-others, CFLAGS-interp.c)
12775         (ldso_install, common-ldd-rewrite): Likewise.
12776         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
12777         $(inst_slibdir)/$(rtld-installed-name).
12778         * scripts/rellns-sh: Add -p option.
12779         * Makerules (make-shlib-link): Use rellns-sh to get relative name
12780         for source.
12782 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12784         * manual/nptl.texi: Renamed to ...
12785         * manual/threads.texi: ... this.
12786         * manual/Makefile (chapters): Update.
12788 2013-03-18  Roland McGrath  <roland@hack.frob.com>
12790         [BZ #14812]
12791         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
12792         on argument names, not just descriptions.
12793         * malloc/memusagestat.c (options): Likewise.
12794         * nss/getent.c (options): Likewise.
12796 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
12798         [BZ #14812]
12799         * iconv/iconv_prog.c (options): Put N_ translation marker
12800         on argument names, not just descriptions.
12801         * iconv/iconvconfig.c (options): Likewise.
12803 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
12805         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
12806         implementation which is faster on all x86_64 architectures.
12807         Tested on AMD, Intel Nehalem, SNB, IVB.
12808         * sysdeps/x86_64/strnlen.S: Likewise.
12810         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12811         Remove all multiarch strlen and strnlen versions.
12812         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12813         Remove strlen and strnlen related parts.
12815         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
12816         Inline strlen part.
12817         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12819         * sysdeps/x86_64/multiarch/strlen.S: Remove.
12820         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
12821         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
12822         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
12823         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12824         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
12826 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
12828         * manual/memory.texi (Malloc Tunable Parameters):
12829         Sort parameters alphabetically. Add comments for missing entries.
12831 2013-03-17  David S. Miller  <davem@davemloft.net>
12833         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12835 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
12837         [BZ #15283]
12838         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
12839         for arguments at most half maximum finite value.
12840         * math/libm-test.inc (j0_test): Add more tests.
12841         (j1_test): Likewise.
12842         (y0_test): Likewise.
12843         (y1_test): Likewise.
12844         * sysdeps/i386/fpu/libm-test-ulps: Update.
12845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12847         [BZ #14155]
12848         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
12849         1 / x and functions P and Q for arguments above 0x1p256L.
12850         (__ieee754_y0l): Likewise.
12851         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12852         (__ieee754_y1l): Likewise.
12853         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
12854         (j1_test): Likewise.
12855         (y0_test): Likewise.
12856         (y1_test): Likewise.
12858 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
12860         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
12861         variable.
12863 2013-03-15  Roland McGrath  <roland@hack.frob.com>
12865         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
12866         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
12867         zero since it's initialized to EXEC_PAGESIZE.
12869         * sysdeps/unix/sysv/linux/ldsodefs.h
12870         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
12871         * sysdeps/generic/ldsodefs.h: ... here.
12873 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
12875         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
12877         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
12878         math/test-snan.c.
12879         * math/test-snan.c: Renamed from
12880         sysdeps/powerpc/fpu/test-powerpc-snan.c.
12881         * math/Makefile (tests): Add test-snan.
12882         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
12883         test-powerpc-snan.
12885         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
12886         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
12887         functions.
12888         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
12889         __builtin_nan family of functions.
12890         * math/libm-test.inc (initialize): Initialize qnan_value with
12891         __builtin_nan family of functions.
12892         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
12893         Remove variables.
12894         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
12895         Remove functions.
12896         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
12897         storage class.  Initialize qNaN_var and sNaN_var with
12898         __builtin_nan and __builtin_nans families of functions,
12899         respectively.
12901         * math/libm-test.inc (acosh_test): Also test with qNaN input.
12902         (sqrt_test): Remove duplicate test with qNaN input.
12903         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
12904         (round_test, signbit_test, significand_test): Note missing +/-Inf
12905         as well as qNaN tests.
12907         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
12908         qNaN_var.  Fix a few strings, too.
12909         * math/libm-test.inc (nan_value): Rename to qnan_value.
12910         * math/gen-libm-test.pl (%beautify): Adjust to that.
12911         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
12912         * math/test-misc.c (main): Likewise.
12913         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
12914         to __qnan_bytes, and __qnan_union, respectively.
12915         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
12916         Likewise.
12917         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
12918         and lqnanval, respectively.
12919         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
12920         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
12921         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
12922         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
12924         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
12925         * math/test-misc.c (main) [__x86_64__]: Enable test for long
12926         doubles.
12928         * math/test-misc.c (main): Fix copy'n'pastos.
12929         * misc/tst-efgcvt.c (special): Likewise.
12931         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
12932         Remove declarations.
12934 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12936         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
12937         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
12938         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
12939         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
12941 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12943         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
12944         macro to return vdso values correctly in IFUNC implementations.
12945         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12946         Optimization by using IFUNC.
12948 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12949             Richard Henderson  <rth@redhat.com>
12950             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12952         * Makefile.in (bench): New target.
12953         * NEWS: Mention the benchmark framework.
12954         * Rules (bench): Likewise.
12955         (binaries-bench): Generate binaries for functions to
12956         benchmark.
12957         * benchtests/Makefile: New makefile for benchmark tests.
12958         * benchtests/bench-skeleton.c: New skeleton file for benchmark
12959         programs.
12960         * benchtests/exp-inputs: New input file for EXP function.
12961         * benchtests/pow-inputs: New input file for POW function.
12962         * scripts/bench.pl: New script to generate source files for
12963         benchmark programs.
12965 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12967         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12968         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
12969         computations on mantissa.  Use macros for rounding and
12970         division.
12971         (denorm): Likewise.
12972         (__dbl_mp): Likewise.
12973         (add_magnitudes): Likewise.
12974         (sub_magnitudes): Likewise.
12975         (__mul): Likewise.
12976         (__sqr): Likewise.
12977         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
12978         powers of two in terms of TWOPOW macro.
12979         (mp_no): Make type of mantissa as MANTISSA_T.
12980         [!RADIXI]: Define RADIXI.
12981         [!TWO52]: Define TWO52.
12982         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12984         * manual/nptl.texi (cindex): Modify threads to pthreads.
12986 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
12988         * sysdeps/x86_64/preconfigure: Regenerated.
12990 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
12992         [BZ #14155]
12993         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
12994         0x1p28 and above.
12995         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
12996         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
12997         0x1p28 and above.
12998         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
12999         * math/libm-test.inc (j0_test): Do not allow one spurious
13000         underflow exception.
13001         (y1_test): Likewise.
13003 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13005         * manual/Makefile (chapters): Add nptl.
13006         * manual/debug.texi (Debugging Support): Add link to Threads
13007         chapter.
13008         * manual/nptl.texi: New file.
13010         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
13012 2013-03-14  Petr Baudis  <pasky@ucw.cz>
13014         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
13015         for non-NULL pointer before the memory validity test. Pointed
13016         out by Holger Brunck <holger.brunck@keymile.com>.
13018 2013-03-13  Andreas Schwab  <schwab@suse.de>
13020         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
13021         instead of .os.
13023 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
13025         * timezone/zic.c: Update from tzcode 2013b.
13027 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
13029         * manual/install.texi (Configuring and compiling):
13030         Mention i686 and i586.
13031         * INSTALL: Regenerate.
13033 2013-03-12  Roland McGrath  <roland@hack.frob.com>
13035         * sysdeps/init_array/elf-init.c: New file.
13036         * csu/elf-init.c
13037         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
13038         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
13040         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
13041         __gmon_start__ as global, but as static with a .preinit_array pointer.
13042         * sysdeps/init_array/gmon-start.c: New file.  Use that.
13043         * sysdeps/init_array/crti.S: New file, empty except for comments.
13044         * sysdeps/init_array/crtn.S: Likewise.
13046 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
13048         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
13049         definining bcopy.
13050         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13051         Remove Prefer_SSE_for_memop.
13052         * sysdeps/x86_64/multiarch/init-arch.h: Remove
13053         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
13054         HAS_PREFER_SSE_FOR_MEMOP.
13055         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13056         memset-x86-64.
13057         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13058         Remove bzero, memset ifunc support.
13059         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
13060         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
13061         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13062         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13064 2013-03-11  Andreas Schwab  <schwab@suse.de>
13066         [BZ #15234]
13067         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
13068         by SHLIB_COMPAT.
13069         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
13070         (GLIBC_2.16): Remove pthread_atfork.
13072 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
13074         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
13075         (ptestcases.h): Likewise.
13077 2013-03-08  Roland McGrath  <roland@hack.frob.com>
13079         * Makeconfig ($(common-objpfx)config.status): Depend on
13080         sysdeps/*/preconfigure{,.in} too.
13082 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
13084         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
13085         (__free_hook): Use void * instead of __malloc_ptr_t.
13086         (__malloc_hook): Likewise.
13087         (__realloc_hook): Likewise.
13088         (__memalign_hook): Likewise.
13089         (__after_morecore_hook): Likewise.
13090         * malloc/arena.c (save_malloc_hook): Likewise.
13091         (save_free_hook): Likewise.
13092         * malloc/hooks.c (malloc_hook_ini): Likewise.
13093         (realloc_hook_ini): Likewise.
13094         (memalign_hook_ini): Likewise.
13095         * malloc/malloc.c (malloc_hook_ini): Likewise.
13096         (realloc_hook_ini): Likewise.
13097         (memalign_hook_ini): Likewise.
13098         (__free_hook): Likewise.
13099         (__malloc_hook): Likewise.
13100         (__realloc_hook): Likewise.
13101         (__memalign_hook): Likewise.
13102         (__libc_malloc): Likewise.
13103         (__libc_free): Likewise.
13104         (__libc_realloc): Likewise.
13105         (__libc_memalign): Likewise.
13106         (__libc_valloc): Likewise.
13107         (__libc_pvalloc): Likewise.
13108         (__libc_calloc): Likewise.
13109         (__posix_memalign): Likewise.
13110         * malloc/morecore.c (__sbrk): Likewise.
13111         (__default_morecore): Likewise.
13113         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
13115         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
13116         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
13117         __malloc_ptrdiff_t.
13119         * malloc/malloc.h (__malloc_size_t): Remove macro.
13120         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
13121         __malloc_size_t.
13122         (old_memalign_hook): Likewise.
13123         (old_realloc_hook): Likewise.
13124         (struct hdr): Likewise.
13125         (flood): Likewise.
13126         (mallochook): Likewise.
13127         (memalignhook): Likewise.
13128         (reallochook): Likewise.
13129         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
13130         (tr_old_realloc_hook): Likewise.
13131         (tr_old_memalign_hook): Likewise.
13132         (tr_mallochook): Likewise.
13133         (tr_reallochook): Likewise.
13134         (tr_memalignhook): Likewise.
13136 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13138         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
13139         default_ldbl_pack and using as default implementation.
13140         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
13141         implementation.
13142         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
13143         redundant definition.
13144         (ldbl_insert_mantissa): Likewise.
13145         (ldbl_canonicalize): Likewise.
13146         (ldbl_nearbyint): Likewise.
13147         (ldbl_pack): Rename to ldbl_pack_ppc.
13148         (ldbl_unpack): Rename to ldbl_unpack_ppc.
13149         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
13150         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
13152 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13154         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
13155         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
13156         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
13157         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
13158         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
13159         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
13160         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
13161         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
13163 2013-03-07  Andreas Jaeger  <aj@suse.de>
13165         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13166         bits/mman-linux.h.
13168 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
13170         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
13171         Include mpa.h and declare __MPEXP.
13172         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
13173         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13174         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13175         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
13176         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13177         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13178         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
13180         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
13181         (__slowpow): Use long double EXPL and LOGL functions to
13182         compute POW.
13183         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13184         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13185         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
13186         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13187         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13188         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
13190         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
13191         intermediate variable to calculate exponent.
13192         (__sqr): Likewise.
13193         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13194         Likewise.
13195         (__sqr): Likewise.
13197         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
13198         [!NO__SQR]: Define __sqr.
13199         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
13200         and NO__SQR.  Remove all code except __mul and __sqr.  Include
13201         sysdeps/ieee754/dbl-64/mpa.c.
13202         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13204         [BZ #12723]
13205         * posix/Makefile (tests): Add tst-pathconf.
13206         * posix/tst-pathconf.c: New test case.
13207         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
13208         _PC_PIPE_BUF.
13209         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
13211 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
13213         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
13215 2013-03-06  Andreas Jaeger  <aj@suse.de>
13217         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
13218         definition via __MAP_ANONYMOUS.
13220         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
13221         it's not part of Linux headers.
13223         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
13224         (MAP_HUGE_MASK): Define.
13226         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13227         Define.
13228         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13229         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13230         Define.
13231         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13232         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13233         Define.
13234         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13235         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
13236         Define.
13237         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13239         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
13240         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
13241         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
13242         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
13243         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
13244         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
13246         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13247         Handle f2fs.
13249         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13250         Handle f2fs and efivarfs.
13252         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
13253         f2fs.
13255         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
13256         (EFIVARFS_MAGIC): Add.
13257         (F2FS_LINK_MAX): Add.
13259 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
13261         * stdio-common/vfprintf.c: Replace __builtin_expect with
13262         __glibc_unlikely.
13264 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
13266         [BZ #13550]
13267         * sysdeps/generic/bp-sym.h: Remove file.
13268         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
13269         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
13270         <bp-sym.h> and <bp-asm.h>.
13271         (__longjmp): Don't use BP_SYM.
13272         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
13273         and <bp-asm.h>.
13274         (memcpy): Don't use BP_SYM.
13275         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
13276         <bp-sym.h> and <bp-asm.h>.
13277         (memcpy): Don't use BP_SYM.
13278         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
13279         <bp-asm.h>.
13280         (memcpy): Don't use BP_SYM.
13281         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
13282         <bp-asm.h>.
13283         (memset): Don't use BP_SYM.
13284         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13285         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13286         (__bzero): Don't use BP_SYM.
13287         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13288         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13289         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
13290         <bp-sym.h> and <bp-asm.h>.
13291         (memcmp): Don't use BP_SYM.  Remove comment about bounded
13292         pointers.
13293         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
13294         <bp-sym.h> and <bp-asm.h>.
13295         (memcpy): Don't use BP_SYM.
13296         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
13297         <bp-sym.h> and <bp-asm.h>.
13298         (memset): Don't use BP_SYM.
13299         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13300         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13301         (__bzero): Don't use BP_SYM.
13302         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13303         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13304         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
13305         <bp-sym.h> and <bp-asm.h>.
13306         (strncmp): Don't use BP_SYM.  Remove comment about bounded
13307         pointers.
13308         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
13309         <bp-sym.h> and <bp-asm.h>.
13310         (memcpy): Don't use BP_SYM.
13311         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
13312         <bp-sym.h> and <bp-asm.h>.
13313         (memset): Don't use BP_SYM.
13314         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13315         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13316         (__bzero): Don't use BP_SYM.
13317         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13318         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13319         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
13320         <bp-sym.h> and <bp-asm.h>.
13321         (__memchr): Don't use BP_SYM.
13322         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
13323         <bp-sym.h> and <bp-asm.h>.
13324         (memcmp): Don't use BP_SYM.  Remove comment about bounded
13325         pointers.
13326         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
13327         <bp-sym.h> and <bp-asm.h>.
13328         (memcpy): Don't use BP_SYM.
13329         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
13330         <bp-sym.h> and <bp-asm.h>.
13331         (__mempcpy): Don't use BP_SYM.
13332         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
13333         <bp-sym.h> and <bp-asm.h>.
13334         (__memrchr): Don't use BP_SYM.
13335         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
13336         <bp-sym.h> and <bp-asm.h>.
13337         (memset): Don't use BP_SYM.
13338         (__bzero): Likewise.
13339         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
13340         <bp-sym.h> and <bp-asm.h>.
13341         (__rawmemchr): Don't use BP_SYM.
13342         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
13343         <bp-sym.h> and <bp-asm.h>.
13344         (__STRCMP): Don't use BP_SYM.
13345         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
13346         <bp-sym.h> and <bp-asm.h>.
13347         (strchr): Don't use BP_SYM.
13348         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
13349         <bp-sym.h> and <bp-asm.h>.
13350         (__strchrnul): Don't use BP_SYM.
13351         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
13352         <bp-sym.h> and <bp-asm.h>.
13353         (strlen): Don't use BP_SYM.
13354         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
13355         <bp-sym.h> and <bp-asm.h>.
13356         (strncmp): Don't use BP_SYM.  Remove comment about bounded
13357         pointers.
13358         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
13359         <bp-sym.h> and <bp-asm.h>.
13360         (__strnlen): Don't use BP_SYM.
13361         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
13362         <bp-sym.h> and <bp-asm.h>.
13363         (__GI__setjmp): Don't use BP_SYM.
13364         (_setjmp): Likewise.
13365         (__sigsetjmp): Likewise.
13366         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
13367         (L(start_addresses)): Don't use BP_SYM.
13368         (_start): Likewise.
13369         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
13370         <bp-asm.h>.
13371         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
13372         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
13373         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13374         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13375         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
13376         <bp-asm.h>.
13377         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
13378         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
13379         about bounded pointers.
13380         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13381         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13382         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
13383         <bp-asm.h>.
13384         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
13385         about bounded pointers.  Remove GKM FIXME comments.
13386         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13387         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
13388         <bp-asm.h>.
13389         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
13390         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
13391         Remove GKM FIXME comments.
13392         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13393         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13394         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
13395         <bp-asm.h>.
13396         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
13397         about bounded pointers.  Remove GKM FIXME comment.
13398         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
13399         and <bp-asm.h>.
13400         (strncmp): Don't use BP_SYM.  Remove comment about bounded
13401         pointers.
13402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
13403         <bp-sym.h> and <bp-asm.h>.
13404         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
13406         <bp-sym.h> and <bp-asm.h>.
13407         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
13408         comment.
13410 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13412         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
13413         call free(NULL).
13415 2013-03-05  David S. Miller  <davem@davemloft.net>
13417         * po/es.po: Update from translation team.
13419 2013-03-05  Andreas Jaeger  <aj@suse.de>
13421         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
13422         <bits/mman-linux.h>.
13423         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13424         is fine.
13425         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
13426         <bits/mman-linux.h> to end of file.
13427         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13428         is fine.
13429         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
13430         <bits/mman-linux.h> to end of file.
13431         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13432         is fine.
13433         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
13434         <bits/mman-linux.h> to end of file.
13436         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
13437         (MCL_CURRENT, MCL_FUTURE): Define here.
13439 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13441         [BZ #15232]
13442         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
13443         attribute_hidden.
13444         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13446 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13448         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
13449         fourth parameter needed for rt_sigprocmask syscall.
13450         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13451         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13452         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
13453         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13454         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13455         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
13457 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
13459         [BZ #13550]
13460         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
13461         comment about bounded pointers.
13462         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
13463         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
13465 2013-03-04  Andreas Jaeger  <aj@suse.de>
13467         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
13468         common definitions.
13470         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
13471         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
13472         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
13473         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13474         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13475         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13477 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13479         [BZ #15055]
13480         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
13481         __ieee754_sqrl instead of __sqrl.
13483 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
13485         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
13486         * sysdeps/powerpc/fpu_control.h: ... here.
13487         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
13488         * sysdeps/powerpc/bits/fenvinline.h: ... here.
13489         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
13490         * sysdeps/powerpc/bits/mathinline.h: ... here.
13492 2013-03-01  Roland McGrath  <roland@hack.frob.com>
13494         * elf/dl-hwcaps.c (_dl_important_hwcaps):
13495         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
13496         to just [NEED_DL_SYSINFO_DSO].
13497         * elf/dl-support.c: Likewise.
13498         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13499         * elf/rtld.c (dl_main): Likewise.
13500         * elf/setup-vdso.h (setup_vdso): Likewise.
13501         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
13502         * sysdeps/unix/sysv/linux/dl-sysdep.c
13503         (_dl_discover_osversion): Likewise.
13505 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
13507         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
13508         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13510 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13512         * NEWS: Mention libm performance improvements and non-x86 PI
13513         futex support.
13515         * csu/libc-start.c (__pthread_initialize_minimal): Change
13516         function arguments.
13517         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13519 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
13521         [BZ #13550]
13522         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
13523         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
13524         <bp-sym.h> and <bp-asm.h>.
13525         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13526         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
13527         and <bp-asm.h>.
13528         (memcpy): Don't use BP_SYM.
13529         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
13530         <bp-asm.h>.
13531         (__mpn_add_n): Don't use BP_SYM.
13532         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
13533         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
13534         and <bp-asm.h>.
13535         (__mpn_addmul_1): Don't use BP_SYM.
13536         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13537         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
13538         <bp-sym.h>.
13539         (_setjmp): Don't use BP_SYM.
13540         (__novmx_setjmp): Likewise.
13541         (__GI__setjmp): Likewise.
13542         (__vmx_setjmp): Likewise.
13543         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
13544         <bp-sym.h>.
13545         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
13546         (__bzero): Don't use BP_SYM.
13547         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13548         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13549         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
13550         <bp-sym.h> and <bp-asm.h>.
13551         (memcpy): Don't use BP_SYM.
13552         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
13553         <bp-sym.h> and <bp-asm.h>.
13554         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13555         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
13556         <bp-sym.h> and <bp-asm.h>.
13557         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13558         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
13559         <bp-asm.h>.
13560         (__mpn_lshift): Don't use BP_SYM.
13561         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13562         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
13563         <bp-asm.h>.
13564         (memset): Don't use BP_SYM.
13565         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13566         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13567         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
13568         <bp-asm.h>.
13569         (__mpn_mul_1): Don't use BP_SYM.
13570         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13571         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
13572         <bp-sym.h> and <bp-asm.h>.
13573         (memcmp): Don't use BP_SYM.
13574         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
13575         <bp-sym.h> and <bp-asm.h>.
13576         (memcpy): Don't use BP_SYM.
13577         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
13578         <bp-sym.h> and <bp-asm.h>.
13579         (memset): Don't use BP_SYM.
13580         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
13581         <bp-sym.h> and <bp-asm.h>.
13582         (strncmp): Don't use BP_SYM.
13583         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
13584         <bp-sym.h> and <bp-asm.h>.
13585         (memcpy): Don't use BP_SYM.
13586         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
13587         <bp-sym.h> and <bp-asm.h>.
13588         (memset): Don't use BP_SYM.
13589         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
13590         <bp-sym.h> and <bp-asm.h>.
13591         (__memchr): Don't use BP_SYM.
13592         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
13593         <bp-sym.h> and <bp-asm.h>.
13594         (memcmp): Don't use BP_SYM.
13595         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
13596         <bp-sym.h> and <bp-asm.h>.
13597         (memcpy): Don't use BP_SYM.
13598         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
13599         <bp-sym.h> and <bp-asm.h>.
13600         (__mempcpy): Don't use BP_SYM.
13601         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
13602         <bp-sym.h> and <bp-asm.h>.
13603         (__memrchr): Don't use BP_SYM.
13604         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
13605         <bp-sym.h> and <bp-asm.h>.
13606         (memset): Don't use BP_SYM.
13607         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
13608         <bp-sym.h> and <bp-asm.h>.
13609         (__rawmemchr): Don't use BP_SYM.
13610         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
13611         <bp-sym.h> and <bp-asm.h>.
13612         (__STRCMP): Don't use BP_SYM.
13613         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
13614         <bp-sym.h> and <bp-asm.h>.
13615         (strchr): Don't use BP_SYM.
13616         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
13617         <bp-sym.h> and <bp-asm.h>.
13618         (__strchrnul): Don't use BP_SYM.
13619         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
13620         <bp-sym.h> and <bp-asm.h>.
13621         (strlen): Don't use BP_SYM.
13622         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
13623         <bp-sym.h> and <bp-asm.h>.
13624         (strncmp): Don't use BP_SYM.
13625         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
13626         <bp-sym.h> and <bp-asm.h>.
13627         (__strnlen): Don't use BP_SYM.
13628         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
13629         <bp-asm.h>.
13630         (__mpn_rshift): Don't use BP_SYM.
13631         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13632         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
13633         <bp-sym.h> and <bp-asm.h>.
13634         (__sigsetjmp): Don't use BP_SYM.
13635         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
13636         (L(start_addresses)): Don't use BP_SYM.
13637         (_start): Likewise.
13638         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
13639         <bp-asm.h>.
13640         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
13641         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13642         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13643         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
13644         <bp-asm.h>.
13645         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
13646         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13647         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13648         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
13649         <bp-asm.h>.
13650         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
13651         comments.
13652         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13653         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
13654         <bp-asm.h>.
13655         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
13656         FIXME comments.
13657         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13658         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13659         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
13660         <bp-asm.h>.
13661         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
13662         comment.
13663         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
13664         and <bp-asm.h>.
13665         (strncmp): Don't use BP_SYM,
13666         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
13667         <bp-asm.h>.
13668         (__mpn_sub_n): Don't use BP_SYM.
13669         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13670         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
13671         and <bp-asm.h>.
13672         (__mpn_submul_1): Don't use BP_SYM.
13673         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
13675         <bp-sym.h> and <bp-asm.h>.
13676         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
13678         <bp-sym.h> and <bp-asm.h>.
13679         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
13680         comment.
13682 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13684         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
13685         Use ZK to minimize writes to Z.
13686         (sub_magnitudes): Simplify code a bit.
13687         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
13688         Use ZK to minimize writes to Z.
13689         (sub_magnitudes): Simplify code a bit.
13691 2013-02-27  Roland McGrath  <roland@hack.frob.com>
13693         * csu/gmon-start.c: Add special exception to license text.
13695 2013-02-27  Richard Henderson  <rth@redhat.com>
13697         * scripts/config.guess: Update from config.git.
13698         * scripts/config.sub: Likewise.
13700 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13702         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
13704         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
13706         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
13708         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
13710         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
13712 2013-02-26  Roland McGrath  <roland@hack.frob.com>
13714         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
13715         [$(build-shared = yes].
13717 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13719         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
13720         (__mul): Reduce iterations for calculating mantissa.
13722         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
13723         MPTWO.
13724         (__mpranred): Likewise.
13726         [BZ #15160]
13727         * malloc/memusagestat.c (main): Draw graphs for heap and stack
13728         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
13730 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
13732         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
13733         Define __attribute__.
13735 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13737         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
13738         unused.
13739         * posix/regex_internal.h (__attribute): Remove.
13740         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
13741         (re_string_context_at): Likewise.
13742         (bitset_not): Use __attribute__ and mark function as possibly
13743         unused.
13744         (bitset_merge): Likewise.
13745         (bitset_mask): Likewise.
13746         (re_string_char_size_at): Likewise.
13747         (re_string_wchar_at): Likewise.
13748         (re_string_elem_size_at): Likewise.
13750 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13752         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
13753         code.
13754         (cc32): Likewise.
13756         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
13757         (__acr): Likewise.
13758         (__cpy): Likewise.
13759         (norm): Likewise.
13760         (denorm): Likewise.
13761         (__dbl_mp): Likewise.
13762         (add_magnitudes): Likewise.
13763         (sub_magnitudes): Likewise.
13764         (__mul): Likewise.
13765         (__inv): Likewise.
13767         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
13768         style.
13770         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
13771         style.
13773         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
13774         code.
13776         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
13777         up changes with default code.
13778         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
13779         Likewise.
13781 2013-02-24  Allan McRae  <allan@archlinux.org>
13783         * manual/socket.texi (The Internet Namespace): Order menu items
13784         to match that in the file.
13786         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
13787         node listing of the info page menu.
13789 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
13791         [BZ #13550]
13792         * sysdeps/i386/bp-asm.h: Remove file.
13793         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13794         (PARMS): Do not use macros from bp-asm.h.
13795         (S1): Likewise.
13796         (S2): Likewise.
13797         (SIZE): Likewise.
13798         (__mpn_add_n): Do not use BP_SYM
13799         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
13800         "bp-asm.h".
13801         (PARMS): Do not use macros from bp-asm.h.
13802         (S1): Likewise.
13803         (SIZE): Likewise.
13804         (__mpn_addmul_1): Do not use BP_SYM
13805         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
13806         "bp-asm.h".
13807         (PARMS): Do not use macros from bp-asm.h.
13808         (SIGMSK): Likewise.
13809         (_setjmp): Likewise.  Do not use BP_SYM.
13810         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
13811         "bp-asm.h".
13812         (PARMS): Do not use macros from bp-asm.h.
13813         (SIGMSK): Likewise.
13814         (setjmp): Likewise.  Do not use BP_SYM.
13815         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
13816         "bp-asm.h".
13817         (PARMS): Do not use macros from bp-asm.h.
13818         (__frexp): Do not use BP_SYM.
13819         (frexp): Likewise.
13820         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
13821         "bp-asm.h".
13822         (PARMS): Do not use macros from bp-asm.h.
13823         (__frexpf): Do not use BP_SYM.
13824         (frexpf): Likewise.
13825         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
13826         "bp-asm.h".
13827         (PARMS): Do not use macros from bp-asm.h.
13828         (__frexpl): Do not use BP_SYM.
13829         (frexpl): Likewise.
13830         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
13831         "bp-asm.h".
13832         (PARMS): Do not use macros from bp-asm.h.
13833         (__remquo): Do not use BP_SYM.
13834         (remquo): Likewise.
13835         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
13836         "bp-asm.h".
13837         (PARMS): Do not use macros from bp-asm.h.
13838         (__remquof): Do not use BP_SYM.
13839         (remquof): Likewise.
13840         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
13841         "bp-asm.h".
13842         (PARMS): Do not use macros from bp-asm.h.
13843         (__remquol): Do not use BP_SYM.
13844         (remquol): Likewise.
13845         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
13846         "bp-asm.h".
13847         (PARMS): Do not use macros from bp-asm.h.
13848         (DEST): Likewise.
13849         (SRC): Likewise.
13850         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
13851         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
13852         "bp-asm.h".
13853         (PARMS): Do not use macros from bp-asm.h.
13854         (strlen): Do not use BP_SYM.
13855         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
13856         "bp-asm.h".
13857         (PARMS): Do not use macros from bp-asm.h.
13858         (S1): Likewise.
13859         (S2): Likewise.
13860         (SIZE): Likewise.
13861         (__mpn_add_n): Do not use BP_SYM.
13862         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
13863         "bp-asm.h".
13864         (PARMS): Do not use macros from bp-asm.h.
13865         (S1): Likewise.
13866         (SIZE): Likewise.
13867         (__mpn_addmul_1): Do not use BP_SYM.
13868         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
13869         weak_alias.
13870         (bzero): Likewise.
13871         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
13872         "bp-asm.h".
13873         (PARMS): Do not use macros from bp-asm.h.
13874         (S): Likewise.
13875         (SIZE): Likewise.
13876         (__mpn_lshift): Do not use BP_SYM.
13877         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
13878         "bp-asm.h".
13879         (PARMS): Do not use macros from bp-asm.h.
13880         (DEST): Likewise.
13881         (SRC): Likewise.
13882         (LEN): Likewise.
13883         (memcpy): Likewise.  Do not use BP_SYM.
13884         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
13885         libc_hidden_def and weak_alias.
13886         (mempcpy): Do not use BP_SYM in weak_alias.
13887         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
13888         "bp-asm.h".
13889         (PARMS): Do not use macros from bp-asm.h.
13890         (DEST): Likewise.
13891         (LEN): Likewise.
13892         [!BZERO_P] (CHR): Likewise.
13893         (memset): Likewise.  Do not use BP_SYM.
13894         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
13895         "bp-asm.h".
13896         (PARMS): Do not use macros from bp-asm.h.
13897         (S1): Likewise.
13898         (SIZE): Likewise.
13899         (__mpn_mul_1): Do not use BP_SYM.
13900         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
13901         "bp-asm.h".
13902         (PARMS): Do not use macros from bp-asm.h.
13903         (S): Likewise.
13904         (SIZE): Likewise.
13905         (__mpn_rshift): Do not use BP_SYM.
13906         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
13907         "bp-asm.h".
13908         (PARMS): Do not use macros from bp-asm.h.
13909         (STR): Likewise.
13910         (CHR): Likewise.
13911         (strchr): Likewise.  Do not use BP_SYM.
13912         (index): Do not use BP_SYM in weak_alias.
13913         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
13914         "bp-asm.h".
13915         (PARMS): Do not use macros from bp-asm.h.
13916         (DEST): Likewise.
13917         (SRC): Likewise.
13918         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
13919         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
13920         "bp-asm.h".
13921         (PARMS): Do not use macros from bp-asm.h.
13922         (strlen): Do not use BP_SYM.
13923         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
13924         "bp-asm.h".
13925         (PARMS): Do not use macros from bp-asm.h.
13926         (S1): Likewise.
13927         (S2): Likewise.
13928         (SIZE): Likewise.
13929         (__mpn_sub_n): Do not use BP_SYM.
13930         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
13931         "bp-asm.h".
13932         (PARMS): Do not use macros from bp-asm.h.
13933         (S1): Likewise.
13934         (SIZE): Likewise.
13935         (__mpn_submul_1): Do not use BP_SYM.
13936         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
13937         "bp-asm.h".
13938         (PARMS): Do not use macros from bp-asm.h.
13939         (S1): Likewise.
13940         (S2): Likewise.
13941         (SIZE): Likewise.
13942         (__mpn_add_n): Do not use BP_SYM.
13943         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
13944         weak_alias.
13945         (bzero): Likewise.
13946         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
13947         "bp-asm.h".
13948         (PARMS): Do not use macros from bp-asm.h.
13949         (BLK2): Likewise.
13950         (LEN): Likewise.
13951         (memcmp): Do not use BP_SYM.
13952         (bcmp): Do not use BP_SYM in weak_alias.
13953         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
13954         "bp-asm.h".
13955         (PARMS): Do not use macros from bp-asm.h.
13956         (DEST): Likewise.
13957         (SRC): Likewise.
13958         (LEN): Likewise.
13959         (memcpy): Likewise.  Do not use BP_SYM.
13960         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
13961         "bp-asm.h".
13962         (PARMS): Do not use macros from bp-asm.h.
13963         (DEST): Likewise.
13964         (SRC): Likewise.
13965         (LEN): Likewise.
13966         (memmove): Likewise.  Do not use BP_SYM.
13967         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
13968         "bp-asm.h".
13969         (PARMS): Do not use macros from bp-asm.h.
13970         (DEST): Likewise.
13971         (SRC): Likewise.
13972         (LEN): Likewise.
13973         (__mempcpy): Likewise.  Do not use BP_SYM.
13974         (mempcpy): Do not use BP_SYM in weak_alias.
13975         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
13976         "bp-asm.h".
13977         (PARMS): Do not use macros from bp-asm.h.
13978         (DEST): Likewise.
13979         (LEN): Likewise.
13980         [!BZERO_P] (CHR): Likewise.
13981         (memset): Likewise.  Do not use BP_SYM.
13982         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
13983         "bp-asm.h".
13984         (PARMS): Do not use macros from bp-asm.h.
13985         (STR2): Likewise.
13986         (strcmp): Do not use BP_SYM.
13987         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
13988         "bp-asm.h".
13989         (PARMS): Do not use macros from bp-asm.h.
13990         (STR): Likewise.
13991         (DELIM): Likewise.
13992         [USE_AS_STRTOK_R] (SAVE): Likewise.
13993         (FUNCTION): Likewise.  Do not use BP_SYM.
13994         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
13995         aliases.
13996         (strtok_r): Likewise.
13997         (__GI___strtok_r): Likewise.
13998         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13999         (PARMS): Do not use macros from bp-asm.h.
14000         (S): Likewise.
14001         (SIZE): Likewise.
14002         (__mpn_lshift): Do not use BP_SYM.
14003         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14004         (PARMS): Do not use macros from bp-asm.h.
14005         (STR): Likewise.
14006         (CHR): Likewise.
14007         (__memchr): Do not use BP_SYM.
14008         (memchr): Do not use BP_SYM in weak_alias.
14009         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14010         (PARMS): Do not use macros from bp-asm.h.
14011         (BLK2): Likewise.
14012         (LEN): Likewise.
14013         (memcmp): Do not use BP_SYM.
14014         (bcmp): Do not use BP_SYM in weak_alias.
14015         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
14016         (PARMS): Do not use macros from bp-asm.h.
14017         (S1): Likewise.
14018         (SIZE): Likewise.
14019         (__mpn_mul_1): Do not use BP_SYM.
14020         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
14021         "bp-asm.h".
14022         (PARMS): Do not use macros from bp-asm.h.
14023         (STR): Likewise.
14024         (CHR): Likewise.
14025         (__rawmemchr): Do not use BP_SYM.
14026         (rawmemchr): Do not use BP_SYM in weak_alias.
14027         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14028         (PARMS): Do not use macros from bp-asm.h.
14029         (S): Likewise.
14030         (SIZE): Likewise.
14031         (__mpn_rshift): Do not use BP_SYM.
14032         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14033         (PARMS): Do not use macros from bp-asm.h.
14034         (SIGMSK): Likewise.
14035         (__sigsetjmp): Likewise.  Do not use BP_SYM.
14036         * sysdeps/i386/start.S: Do not include "bp-sym.h".
14037         (_start): Do not use BP_SYM.
14038         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
14039         (PARMS): Do not use macros from bp-asm.h.
14040         (DEST): Likewise.
14041         (SRC): Likewise.
14042         (__stpcpy): Likewise.  Do not use BP_SYM.
14043         (stpcpy): Do not use BP_SYM in weak_alias.
14044         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
14045         "bp-asm.h".
14046         (PARMS): Do not use macros from bp-asm.h.
14047         (DEST): Likewise.
14048         (SRC): Likewise.
14049         (LEN): Likewise.
14050         (__stpncpy): Likewise.  Do not use BP_SYM.
14051         (stpncpy): Do not use BP_SYM in weak_alias.
14052         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14053         (PARMS): Do not use macros from bp-asm.h.
14054         (STR): Likewise.
14055         (CHR): Likewise.
14056         (strchr): Likewise.  Do not use BP_SYM.
14057         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
14058         "bp-asm.h".
14059         (PARMS): Do not use macros from bp-asm.h.
14060         (STR): Likewise.
14061         (CHR): Likewise.
14062         (__strchrnul): Likewise.  Do not use BP_SYM.
14063         (strchrnul): Do not use BP_SYM in weak_alias.
14064         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
14065         "bp-asm.h".
14066         (PARMS): Do not use macros from bp-asm.h.
14067         (STOP): Likewise.
14068         (strcspn): Do not use BP_SYM.
14069         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
14070         "bp-asm.h".
14071         (PARMS): Do not use macros from bp-asm.h.
14072         (STR): Likewise.
14073         (STOP): Likewise.
14074         (strpbrk): Likewise.  Do not use BP_SYM.
14075         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
14076         "bp-asm.h".
14077         (PARMS): Do not use macros from bp-asm.h.
14078         (STR): Likewise.
14079         (CHR): Likewise.
14080         (strrchr): Likewise.  Do not use BP_SYM.
14081         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
14082         (PARMS): Do not use macros from bp-asm.h.
14083         (SKIP): Likewise.
14084         (strspn): Do not use BP_SYM.
14085         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
14086         (PARMS): Do not use macros from bp-asm.h.
14087         (STR): Likewise.
14088         (DELIM): Likewise.
14089         (SAVE): Likewise.
14090         (FUNCTION): Likewise.  Do not use BP_SYM.
14091         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
14092         aliases.
14093         (strtok_r): Likewise.
14094         (__GI___strtok_r): Likewise.
14095         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14096         (PARMS): Do not use macros from bp-asm.h.
14097         (S1): Likewise.
14098         (S2): Likewise.
14099         (SIZE): Likewise.
14100         (__mpn_sub_n): Do not use BP_SYM.
14101         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
14102         "bp-asm.h".
14103         (PARMS): Do not use macros from bp-asm.h.
14104         (S1): Likewise.
14105         (SIZE): Likewise.
14106         (__mpn_submul_1): Do not use BP_SYM.
14107         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
14108         <bp-sym.h>.
14109         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
14110         and <bp-asm.h>.
14111         (PARMS): Do not use macros from bp-asm.h.
14112         (FLAGS): Likewise.
14113         (PTID): Likewise.
14114         (TLS): Likewise.
14115         (CTID): Likewise.
14116         (__clone): Do not use BP_SYM.
14117         (clone): Do not use BP_SYM in weak_alias.
14118         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
14119         and <bp-asm.h>.
14120         (PARMS): Do not use macros from bp-asm.h.
14121         (LEN): Likewise.
14122         (__mmap64): Do not use BP_SYM.
14123         (mmap64): Do not use BP_SYM in weak_alias.
14124         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14125         <bp-sym.h> and <bp-asm.h>.
14126         (PARMS): Do not use macros from bp-asm.h.
14127         (__posix_fadvise64_l64): Do not use BP_SYM.
14128         * sysdeps/unix/sysv/linux/i386/semtimedop.S
14129         (PARMS): Do not use macros from bp-asm.h.
14130         (NSOPS): Likewise.
14131         (semtimedop): Do not use BP_SYM.
14132         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
14133         and <bp-asm.h>.
14135 2013-02-21  Allan McRae  <allan@archlinux.org>
14137         * manual/message.texi (Charset conversion in gettext):
14138         Move @end statement to beginning of line.
14140 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14142         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
14143         static.
14144         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14145         Likewise.
14147         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
14148         (denorm): Likewise.
14149         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
14150         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
14152 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14154         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
14155         tail-call to the resolved function if pltexit isn't needed.
14157 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14159         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
14160         or Y being zero as being unlikely.
14161         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
14162         Likewise.
14164 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
14166         * manual/nss.texi (System Databases and Name Service Switch):
14167         Remove frobnicate @pxref.
14169 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
14171         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14172         __attribute__ ((unused)) to __attribute__ ((__unused__)).
14174 2013-02-20  Petr Machata  <pmachata@redhat.com>
14176         * elf/elf.h (R_ARM_TARGET1): New macro.
14177         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
14178         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
14179         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
14180         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
14181         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
14182         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
14183         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
14184         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
14185         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
14186         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
14187         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
14188         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
14189         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
14190         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
14191         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
14192         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
14193         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
14194         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
14195         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
14196         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
14197         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
14198         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
14199         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
14200         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
14201         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
14202         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
14203         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
14204         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
14205         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
14206         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
14207         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
14208         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
14209         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
14210         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
14211         (R_ARM_THM_GOT_BREL12): Likewise.
14212         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
14213         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
14214         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
14215         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
14216         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
14217         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
14218         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
14219         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
14220         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
14222 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
14224         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14225         __attribute_used__ to __attribute__ ((unused)).
14227 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14229         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
14230         powerpc mpa.c.
14231         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
14232         comment formatting.
14233         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
14235 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
14237         [BZ #13550]
14238         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
14239         Remove macro.
14240         (ENTER): Remove both macro definitions.
14241         (LEAVE): Likewise.
14242         (CHECK_BOUNDS_LOW): Likewise.
14243         (CHECK_BOUNDS_HIGH): Likewise.
14244         (CHECK_BOUNDS_BOTH): Likewise.
14245         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
14246         (RETURN_BOUNDED_POINTER): Likewise.
14247         (RETURN_NULL_BOUNDED_POINTER): Likewise.
14248         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
14249         (POP_ERRNO_LOCATION_RETURN): Likewise.
14250         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
14251         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14252         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
14253         macros.
14254         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14255         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
14256         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
14257         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
14258         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
14259         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
14260         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
14261         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
14262         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
14263         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
14264         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
14265         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
14266         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14267         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
14268         removed macros.
14269         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14270         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
14271         macros.
14272         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14273         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
14274         * sysdeps/i386/i586/memset.S (memset): Likewise.
14275         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
14276         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14277         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
14278         macros.
14279         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14280         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
14281         Change uses of L(2) to L(out).
14282         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
14283         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
14284         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
14285         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14286         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
14287         removed macros.
14288         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14289         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
14290         macros.
14291         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14292         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
14293         (RETURN): Do not use macro LEAVE.
14294         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
14295         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
14296         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
14297         * sysdeps/i386/i686/memset.S (memset): Likewise.
14298         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
14299         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
14300         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14301         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
14302         Likewise.
14303         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14304         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
14305         L(1_2) and L(1_3) into L(1).
14306         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14307         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
14308         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14309         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
14310         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14311         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
14312         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
14313         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14314         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
14315         macros.
14316         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
14317         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14318         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
14319         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
14320         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
14321         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14322         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
14323         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
14324         * sysdeps/i386/strcspn.S (strcspn): Likewise.
14325         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
14326         * sysdeps/i386/strrchr.S (strrchr): Likewise.
14327         * sysdeps/i386/strspn.S (strspn): Likewise.
14328         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
14329         conditional code.
14330         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14331         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
14332         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14333         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
14334         L(1_3) into L(1_1).
14335         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
14336         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14337         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
14338         macros.
14339         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14341 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
14343         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
14344         macro.
14346 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14348         * math/atest-exp.c (exp_mpn): Remove ROUND.
14349         * math/atest-exp2.c (exp_mpn): Likewise.
14350         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
14352         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
14353         * stdlib/tst-tls-atexit-lib.c: Likewise.
14354         * stdlib/tst-tls-atexit.c: Likewise.
14356 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
14358         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
14359         and __attribute_alloc_size__.
14361 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
14363         * include/programs/xmalloc.h: Change __attribute_alloc_size to
14364         __attribute_alloc_size__.
14365         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
14366         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
14368 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
14370         * include/programs/xmalloc.h: New file.
14371         * catgets/gencat.c: Include it.
14372         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
14373         * elf/pldd.c: Likewise.
14374         * iconv/iconv_charmap.c: Likewise.
14375         * iconv/iconvconfig.c: Likewise.
14376         * iconv/strtab.c: Likewise.
14377         * locale/programs/locale.c: Likewise.
14378         * locale/programs/localedef.h: Likewise.
14379         * locale/programs/simple-hash.c: Likewise.
14380         * nscd/nscd.h: Likewise.
14381         * nss/makedb.c: Likewise.
14382         * sysdeps/generic/ldconfig.h: Likewise.
14384 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14386         * Versions.def: Add GLIBC_2.18.
14387         * include/link.h (struct link_map): New member l_tls_dtor_count.
14388         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
14389         (__call_tls_dtors): Likewise.
14390         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
14391         __cxa_thread_atexit_impl.
14392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14393         Likewise.
14394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14395         Likewise.
14396         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14397         Likewise.
14398         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14399         Likewise.
14400         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14401         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
14402         Likewise.
14403         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
14404         Likewise.
14405         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14406         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
14407         Likewise.
14408         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
14409         (tests): Add test case tst-tls-atexit.
14410         (modules-names): Add shared library for tst-tls-atexit.
14411         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
14412         (GLIBC_PRIVATE): Add __call_tls_dtors.
14413         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
14414         for libstdc++.
14415         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
14416         * stdlib/tst-tls-atexit.c: New test case.
14417         * stdlib/tst-tls-atexit-lib.c: New test case.
14419         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
14421         * elf/Versions (ld): Add _dl_find_dso_for_object.
14422         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
14423         * elf/dl-open.c (_dl_find_dso_for_object): New function.
14424         (dl_open_worker): Use _dl_find_dso_for_object.
14425         * elf/dl-sym.c (do_sym): Likewise.
14426         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
14428 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14430         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
14431         Syntactic changes only.
14432         (_dl_runtime_profile): Do a tail-call to the resolved function.
14434 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
14436         [BZ #13550]
14437         * sysdeps/x86_64/bp-asm.h: Remove file.
14438         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
14439         <bp-sym.h> and <bp-asm.h>.
14440         (__clone): Do not use BP_SYM.
14441         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
14442         <bp-sym.h> and <bp-asm.h>.
14443         * sysdeps/unix/x86_64/sysdep.S: Likewise.
14444         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
14445         "bp-asm.h".
14446         (_setjmp): Do not use BP_SYM.
14447         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
14448         "bp-asm.h".
14449         (setjmp): Do not use BP_SYM.
14450         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
14451         libc_hidden_def.
14452         (mempcpy): Do not use BP_SYM in weak_alias.
14453         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
14454         "bp-asm.h".
14455         (strchr): Do not use BP_SYM.
14456         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
14457         "bp-asm.h".
14458         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
14459         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
14460         (_start): Do not use BP_SYM.
14461         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
14462         "bp-asm.h".
14463         (strcat): Do not use BP_SYM.
14464         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
14465         "bp-asm.h".
14466         (STRCMP): Do not use BP_SYM.
14467         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
14468         "bp-asm.h".
14469         (STRCPY): Do not use BP_SYM.
14470         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
14471         "bp-asm.h".
14472         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
14473         "bp-asm.h".
14474         (FUNCTION): Do not use BP_SYM.
14475         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
14476         weak_alias.
14477         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
14479 2013-02-17  Andreas Jaeger  <aj@suse.de>
14481         * time/Versions: Sort entries.
14482         * string/Versions: Likewise.
14483         * resolv/Versions: Likewise.
14484         * posix/Versions: Likewise.
14485         * iconv/Versions: Likewise.
14486         * elf/Versions: Likewise.
14487         * wcsmbs/Versions: Likewise.
14489 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14491         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
14492         loop termination condition.
14494         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
14495         variable to calculate EZ.
14496         (__sqr): Likewise.
14498         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
14499         the lower precision input.
14501 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
14503         [BZ #13550]
14504         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
14505         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
14506         (run-via-rtld-prefix): Do not handle %-bp tests.
14507         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
14508         (all-object-suffixes): Remove .ob.
14509         (bppfx): Remove variable.
14510         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
14511         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
14512         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
14513         [$(build-bounded) = yes] (libtype.ob): Likewise.
14514         * Makerules (elide-routines.ob): Remove variable.
14515         (do-tests-clean): Do not handle *-bp.out.
14516         (common-mostlyclean): Do not handle *-bp and *-bp.out.
14517         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
14518         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
14519         (tests): Do not include $(tests-bp.out).
14520         (xtests): Do not include $(xtests-bp.out).
14521         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
14522         [$(build-bounded) = yes] ($(addprefix
14523         $(objpfx),$(binaries-bounded))): Remove rule.
14524         ($(objpfx)%-bp.out): Remove rule.
14525         * config.make.in (build-bounded): Remove variable.
14526         * crypt/Makefile [$(build-bounded) = yes]
14527         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
14528         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
14529         append to variable.
14530         [$(build-bounded) = yes] (install-lib): Likewise.
14531         [$(build-bounded) = yes] (generated): Likewise.
14532         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
14533         Remove rule.
14534         * intl/Makefile [$(build-bounded) = yes]
14535         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
14536         * math/Makefile [$(build-bounded) = yes]
14537         ($(tests:%=$(objpfx)%-bp): Likewise.
14538         * misc/Makefile [$(build-bounded) = yes]
14539         ($(objpfx)tst-tsearch-bp): Likewise.
14540         * nptl/Makeconfig (bounded-thread-library): Remove variable.
14541         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
14542         Remove dependency.
14543         * string/Makefile (o-objects.ob): Remove variable.
14544         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
14545         (CFLAGS-.ob): Remove variable.
14546         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
14547         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
14548         both definitions of variable.
14549         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
14550         (ASFLAGS-.ob): Remove variable.
14552 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
14554         [BZ #13550]
14555         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
14556         Remove __BOUNDED_POINTERS__ from condition.
14557         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
14558         * string/bits/string2.h [!__NO_STRING_INLINES &&
14559         !__BOUNDED_POINTERS__]: Likewise.
14560         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
14561         Likewise.
14562         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
14563         Remove conditional code.
14564         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
14565         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
14566         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
14567         condition.
14569         [BZ #13550]
14570         * csu/libc-start.c: Do not include <bp-sym.h>.
14571         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
14572         * elf/dl-open.c: Do not include <bp-sym.h>.
14573         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
14574         * math/fegetenv.c: Do not include <bp-sym.h>.
14575         (fegetenv): Do not use BP_SYM in versioned symbols.
14576         * nptl/sysdeps/pthread/bits/libc-lockP.h
14577         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
14578         <bp-sym.h>.
14579         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14580         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
14581         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14582         (__pthread_mutex_destroy): Likewise.
14583         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14584         (__pthread_mutex_lock): Likewise.
14585         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14586         (__pthread_mutex_trylock): Likewise.
14587         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14588         (__pthread_mutex_unlock): Likewise.
14589         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14590         (__pthread_mutexattr_init): Likewise.
14591         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14592         (__pthread_mutexattr_destroy): Likewise.
14593         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14594         (__pthread_mutexattr_settype): Likewise.
14595         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14596         (__pthread_rwlock_init): Likewise.
14597         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14598         (__pthread_rwlock_destroy): Likewise.
14599         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14600         (__pthread_rwlock_rdlock): Likewise.
14601         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14602         (__pthread_rwlock_tryrdlock): Likewise.
14603         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14604         (__pthread_rwlock_wrlock): Likewise.
14605         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14606         (__pthread_rwlock_trywrlock): Likewise.
14607         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14608         (__pthread_rwlock_unlock): Likewise.
14609         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14610         (__pthread_key_create): Likewise.
14611         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14612         (__pthread_setspecific): Likewise.
14613         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14614         (__pthread_getspecific): Likewise.
14615         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
14616         Likewise.
14617         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14618         (_pthread_cleanup_push_defer): Likewise.
14619         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14620         (_pthread_cleanup_pop_restore): Likewise.
14621         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14622         (pthread_setcancelstate): Likewise.
14623         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
14624         <bp-sym.h>.
14625         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
14626         (memchr): Do not use BP_SYM in weak_alias.
14627         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
14628         (fegetenv): Do not use BP_SYM in versioned symbols.
14629         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
14630         (fesetenv): Do not use BP_SYM in versioned symbols.
14631         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14632         (feupdateenv): Do not use BP_SYM in versioned symbols.
14633         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14634         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14635         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
14636         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
14637         (open64): Do not use BP_SYM in weak_alias.
14638         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
14639         (fegetenv): Do not use BP_SYM in versioned symbols.
14640         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
14641         (fesetenv): Do not use BP_SYM in versioned symbols.
14642         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14643         (feupdateenv): Do not use BP_SYM in versioned symbols.
14644         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
14645         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
14646         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
14647         (feraiseexcept): Do not use BP_SYM in versioned symbols.
14648         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14649         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14650         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
14651         <bp-sym.h>.
14652         (__libc_start_main): Do not use BP_SYM.
14654 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14656         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
14657         redundant return line.
14658         (norm): Likewise.
14659         (denorm): Likewise.
14660         (dbl_mp): Likewise.
14661         (sub_magnitudes): Likewise.
14662         (__add): Likewise.
14663         (__sub): Likewise.
14664         (__mul): Likewise.
14665         (__inv): Likewise.
14666         (__dvd): Likewise.
14667         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
14668         (norm): Likewise.
14669         (denorm): Likewise.
14670         (dbl_mp): Likewise.
14671         (sub_magnitudes): Likewise.
14672         (__add): Likewise.
14673         (__sub): Likewise.
14674         (__mul): Likewise.
14675         (__inv): Likewise.
14676         (__dvd): Likewise.
14678         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
14679         instead of __mul.
14680         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14681         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
14682         (cc32): Likewise.
14684         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
14685         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
14686         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
14687         of __mul for squares.
14688         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
14689         function
14690         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
14691         Likewise.
14692         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
14693         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14695 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
14697         [BZ #13550]
14698         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
14699         code.
14700         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
14701         prototype or function definition.  Rename ubp_* variables and
14702         parameters.  Remove argv definitions conditional on
14703         [__BOUNDED_POINTERS__].
14704         * debug/backtrace.c (__backtrace): Do not use __unbounded.
14705         * elf/dl-runtime.c (_dl_fixup): Likewise.
14706         * include/set-hooks.h (RUN_HOOK): Likewise.
14707         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
14708         definition.
14709         * string/strcpy.c (strcpy): Do not use __unbounded.
14710         * sysdeps/generic/frame.h (struct layout): Likewise.
14711         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
14712         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
14713         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
14714         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
14715         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
14716         (__backtrace): Likewise.
14717         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
14718         use __ptrvalue.
14719         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14720         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14721         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
14722         Likewise.
14723         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
14724         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
14725         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14726         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14727         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
14728         Do not use __unbounded.
14729         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
14730         Rename __unboundedrlimits parameter to rlimits in prototype.
14731         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
14732         Do not use __unbounded.
14733         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
14734         not use __ptrvalue.
14735         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14736         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
14737         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14738         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
14739         __ptrvalue or __unbounded.
14740         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
14741         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
14742         use __unbounded.
14743         (__new_msgctl): Do not use __ptrvalue.
14744         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
14745         __unbounded.
14746         (__libc_msgrcv): Do not use __ptrvalue.
14747         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
14748         startup_info): Do not use __unbounded.
14749         (__libc_start_main): Likewise.  Rename ubp_* variables and
14750         parameters.  Remove argv definitions conditional on
14751         [__BOUNDED_POINTERS__].
14752         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
14753         __ptrvalue.
14754         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
14755         use __unbounded.
14756         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
14757         or __ptrvalue.
14758         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
14759         use __unbounded.
14760         (__new_shmctl): Do not use __ptrvalue.
14761         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
14762         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
14763         Likewise.
14764         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
14765         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
14766         (__libc_sigaction): Likewise.
14767         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
14768         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
14769         Likewise.
14770         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14772 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
14774         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
14776         * string/mempcpy.c: Implement by calling memcpy.
14778 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14780         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
14782         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
14783         evaluation.
14785         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
14786         values in the mantissa.
14788         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
14789         minimize writes to Z.
14790         (sub_magnitudes): Simplify code a bit.
14792 2013-02-12  Roland McGrath  <roland@hack.frob.com>
14794         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
14795         from the message.  The linker prefixes all warnings with that already.
14797 2013-02-12  Andreas Schwab  <schwab@suse.de>
14799         [BZ #15078]
14800         * posix/regexec.c (extend_buffers): Add parameter min_len.
14801         (check_matching): Pass minimum needed length.
14802         (clean_state_log_if_needed): Likewise.
14803         (get_subexp): Likewise.
14804         * posix/Makefile (tests): Add bug-regex34.
14805         (bug-regex34-ENV): Define.
14806         * posix/bug-regex34.c: New file.
14808         [BZ #11561]
14809         * posix/regcomp.c (parse_bracket_exp): When looking up collating
14810         elements compare against the byte sequence of it, not its name.
14811         * posix/Makefile (tests): Add bug-regex35.
14812         (bug-regex35-ENV): Define.
14813         * posix/bug-regex35.c: New file.
14815 2013-02-11  Tom de Vries  <tom@codesourcery.com>
14817         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
14818         comment.
14819         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
14820         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
14821         (CHECK_EOL): Add undef.
14823 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
14825         * bits/stdlib-bsearch.h: New file.
14826         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
14827         * stdlib/stdlib.h: Likewise.
14829 2013-02-11  Roland McGrath  <roland@hack.frob.com>
14831         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
14832         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
14833         declaration.
14834         * manual/search.texi (Array Search Function): Add missing const in
14835         lfind prototype.
14836         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
14837         declaration to use rlim_t.
14838         (Basic Scheduling Functions): Remove erroneous const from
14839         sched_getparam prototype.  Remove erroneous * from
14840         sched_get_priority_max and sched_get_priority_min prototypes.
14841         (Resource Usage): Fix summary @comment on vtimes to refer to
14842         sys/vtimes.h rather than vtimes.h.
14843         Add missing *s in vtimes prototype.
14844         (Limits on Resources): Fix ulimit prototype to return long int.
14845         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
14846         prototypes to use long int rather than double.
14847         (BSD Random): Fix initstate and setstate to use char *, not void *.
14848         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
14849         prototype to make second argument 'struct aiocb64 *const[]'.
14850         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
14851         (Status of AIO Operations): Remove erroneous const in aio_return and
14852         aio_return64 prototypes.
14853         (Synchronizing I/O): Fix sync prototype to return void.
14854         * manual/startup.texi (Suboptions): Remove an erroneous const in
14855         getsubopt prototype.
14856         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
14857         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
14858         use size_t rather than int.
14859         (Scanning All Users): Likewise for getpwent_r.
14860         (Setting Groups): Add missing const to setgroups prototype.
14861         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
14862         * manual/socket.texi (Host Names): Fix gethostbyaddr and
14863         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
14864         'const void *' rather than 'const char *'.
14865         (Host Address Functions): Likewise for inet_ntop.
14866         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
14867         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
14868         ssize_t for return value.
14869         (Sending Data): Likewise for send, sendto, sendmsg.
14870         (Socket Option Functions): Add a missing const in setsockopt prototype.
14871         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
14872         use wchar_t for the argument.
14873         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
14874         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
14875         take no arguments.
14876         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
14877         double/float/long double for second argument.
14878         Fix return types of significand, significandf, significandl.
14879         * manual/filesys.texi (Setting Permissions): Use mode_t for second
14880         argument in fchmod prototype.
14881         (File Owner): Use uid_t and gid_t in fchown prototype.
14882         (File Times): Add const to utimes, futimes, and lutimes prototypes.
14883         (Making Special Files): Use mode_t and dev_t in mknod prototype.
14884         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
14885         use 'const struct dirent **' as argument types to CMP function pointer
14886         argument.
14887         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
14888         (File Times): Fix summary magic @comment for struct utimbuf and utime
14889         to refer to utime.h, not time.h.
14890         * manual/string.texi (Argz Functions): Add missing const in
14891         argz_extract and argz_next prototypes.
14892         (Finding Tokens in a String): Likewise for basename.
14893         (String/Array Comparison): Fix typo in wcscasecmp prototype.
14894         (Copying and Concatenation): Fix typo in wmemmove prototype.
14895         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
14896         (Signal Stack): Remove erroneous const in sigstack prototype.
14897         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
14898         prototype.
14899         (Simple Calendar Time): Likewise for stime.
14900         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
14901         prototype.
14902         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
14903         say sys/sysctl.h instead.
14904         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
14905         and vsyslog prototypes.
14907 2013-02-11  Tom de Vries  <tom@codesourcery.com>
14909         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
14910         Remove.
14912 2013-02-11  Roland McGrath  <roland@hack.frob.com>
14914         * misc/sys/mman.h: Fix typo in mremap comment.
14916 2013-02-08  Roland McGrath  <roland@hack.frob.com>
14918         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
14919         the '\0' terminator.
14921 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
14923         [BZ #13550]
14924         * debug/segfault.c: Don't include <bp-checks.h>.
14925         * sysdeps/generic/bp-checks.h: Remove file.
14926         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
14927         (__GETDENTS): Don't use CHECK_N.
14928         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
14929         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14930         (__getgroups): Don't use CHECK_N.
14931         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
14932         (setgroups): Don't use CHECK_N.
14933         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
14934         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
14935         (__libc_msgrcv): Don't use CHECK_N.
14936         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
14937         (__libc_msgsnd): Don't use CHECK_N.
14938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
14939         <bp-checks.h>.
14940         (__libc_pread): Don't use CHECK_N.
14941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
14942         include <bp-checks.h>.
14943         (__libc_pread64): Don't use CHECK_N.
14944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
14945         include <bp-checks.h>.
14946         (__libc_pwrite): Don't use CHECK_N.
14947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
14948         include <bp-checks.h>.
14949         (__libc_pwrite64): Don't use CHECK_N.
14950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
14951         <bp-checks.h>.
14952         (__libc_pread): Don't use CHECK_N.
14953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
14954         include <bp-checks.h>.
14955         (__libc_pread64): Don't use CHECK_N.
14956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
14957         include <bp-checks.h>.
14958         (__libc_pwrite): Don't use CHECK_N.
14959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
14960         include <bp-checks.h>.
14961         (__libc_pwrite64): Don't use CHECK_N.
14962         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
14963         (do_pread): Don't use CHECK_N.
14964         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
14965         (do_pread64): Don't use CHECK_N.
14966         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
14967         (do_pwrite): Don't use CHECK_N.
14968         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
14969         (do_pwrite64): Don't use CHECK_N.
14970         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
14971         (__libc_readv): Don't use CHECK_N.
14972         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
14973         (semop): Don't use CHECK_N.
14974         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
14975         <bp-checks.h>.
14976         (semtimedop): Don't use CHECK_N.
14977         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
14978         (__libc_pread): Don't use CHECK_N.
14979         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
14980         <bp-checks.h>.
14981         (__libc_pread64): Don't use CHECK_N.
14982         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
14983         <bp-checks.h>.
14984         (__libc_pwrite): Don't use CHECK_N.
14985         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
14986         <bp-checks.h>.
14987         (__libc_pwrite64): Don't use CHECK_N.
14988         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
14989         <bp-checks.h>.
14990         (__libc_msgrcv): Don't use CHECK_N.
14991         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
14992         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
14993         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
14994         (__libc_writev): Don't use CHECK_N.
14996 2013-02-08  Roland McGrath  <roland@hack.frob.com>
14998         * string/strcpy.c: Removed unused variable.
15000         * Makeconfig (+sysdep-includes): Define with := rather than =.
15001         Use an existing include/ subdir of each sysdeps dir before it.
15003 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
15005         * nscd/connection.c (register_traced_file): Comment function.
15006         [HAVE_INOTIFY] (union __inev): Define.
15007         [HAVE_INOTIFY] (inotify_check_files): New function.
15008         [HAVE_INOTIFY] (clear_db_cache): Likewise.
15009         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
15010         clear_db_cache.
15011         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
15013 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
15015         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
15016         loaded if not already and that a failure is permanent.
15018 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
15020         [BZ #15006]
15021         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
15022         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
15024 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
15026         [BZ #13550]
15027         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
15028         (CHECK_1_NULL_OK): Likewise.
15029         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
15030         (__fxstat): Do not use CHECK_1.
15031         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
15032         <bp-checks.h>.
15033         (___fxstat64): Do not use CHECK_1.
15034         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15035         <bp-checks.h>.
15036         (__fxstatat): Do not use CHECK_1.
15037         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15038         <bp-checks.h>.
15039         (__fxstatat64): Do not use CHECK_1.
15040         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
15041         <bp-checks.h>.
15042         (__fxstat): Do not use CHECK_1.
15043         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15044         <bp-checks.h>.
15045         (__fxstatat): Do not use CHECK_1.
15046         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15047         <bp-checks.h>.
15048         (__getresgid): Do not use CHECK_1.
15049         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15050         <bp-checks.h>.
15051         (__getresuid): Do not use CHECK_1.
15052         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
15053         <bp-checks.h>.
15054         (__lxstat): Do not use CHECK_1.
15055         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15056         <bp-checks.h>.
15057         (__old_msgctl): Do not use CHECK_1.
15058         (__new_msgctl): Likewise.
15059         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
15060         <bp-checks.h>.
15061         (__new_setrlimit): Do not use CHECK_1.
15062         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15063         <bp-checks.h>.
15064         (__old_shmctl): Do not use CHECK_1.
15065         (__new_shmctl): Likewise.
15066         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
15067         <bp-checks.h>.
15068         (__xstat): Do not use CHECK_1.
15069         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
15070         (__lxstat): Do not use CHECK_1.
15071         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
15072         <bp-checks.h>.
15073         (___lxstat64): Do not use CHECK_1.
15074         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
15075         (__old_msgctl): Do not use CHECK_1.
15076         (__new_msgctl): Likewise.
15077         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
15078         <bp-checks.h>.
15079         (__gettimeofday): Do not use CHECK_1.
15080         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
15081         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
15082         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
15083         <bp-checks.h>.
15084         (__gettimeofday): Do not use CHECK_1.
15085         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
15086         (__old_shmctl): Do not use CHECK_1_NULL_OK.
15087         (__new_shmctl): Do not use CHECK_1.
15088         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
15089         <bp-checks.h>.
15090         (do_sigtimedwait): Do not use CHECK_1.
15091         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
15092         <bp-checks.h>.
15093         (do_sigwaitinfo): Do not use CHECK_1.
15094         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
15095         <bp-checks.h>.
15096         (msgctl): Do not use CHECK_1.
15097         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
15098         <bp-checks.h>.
15099         (shmctl): Do not use CHECK_1.
15100         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
15101         (ustat): Do not use CHECK_1.
15102         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
15103         <bp-checks.h>.
15104         (__fxstat): Do not use CHECK_1.
15105         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15106         <bp-checks.h>.
15107         (__fxstatat): Do not use CHECK_1.
15108         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
15109         <bp-checks.h>.
15110         (__lxstat): Do not use CHECK_1.
15111         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
15112         <bp-checks.h>.
15113         (__xstat): Do not use CHECK_1.
15114         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
15115         (__xstat): Do not use CHECK_1.
15116         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
15117         (___xstat64): Do not use CHECK_1.
15119         [BZ #13550]
15120         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
15121         definitions.
15122         (CHECK_BOUNDS_HIGH): Likewise.
15123         * string/strcpy.c: Do not include <bp-checks.h>.
15124         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
15126 2013-02-07  Roland McGrath  <roland@hack.frob.com>
15128         * nscd/nscd-client.h (__nscd_drop_map_ref):
15129         Add __attribute__ ((unused)).
15130         * nis/nss-nisplus.h (niserr2nss): Likewise.
15132         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
15133         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
15135         * csu/libc-tls.c (init_static_tls, init_slotinfo):
15136         Remove inline keyword.
15137         * include/rounding-mode.h (round_away): Likewise.
15138         * libio/wfileops.c (adjust_wide_data): Likewise.
15139         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
15140         (__m128i_strloadu_tolower): Likewise.
15141         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
15142         (__m128i_strloadu_tolower): Likewise.
15143         * time/mktime.c (ydhms_diff): Likewise.
15144         * locale/elem-hash.h (elem_hash): Likewise.
15145         * locale/setlocale.c (setdata): Likewise.
15146         * posix/regex_internal.h (re_string_char_size_at): Likewise.
15147         (re_string_wchar_at): Likewise.
15148         (bitset_not, bitset_merge, bitset_mask): Likewise.
15149         [!(__GNUC__ > 3)] (inline): Remove macro.
15150         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
15151         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
15152         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
15153         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
15154         * string/memcmp.c (memcmp_bytes): Likewise.
15155         * locale/programs/locarchive.c (compute_hashval): Likewise.
15156         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
15157         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
15158         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
15159         * nss/getent.c (print_rpc, print_protocols): Likewise.
15160         (print_passwd, print_group, print_aliases): Likewise.
15161         * nis/nss-nisplus.h (niserr2nss): Likewise.
15162         * nscd/connections.c (restart_p): Likewise.
15163         Change return type to bool.
15165 2013-02-05  Roland McGrath  <roland@hack.frob.com>
15167         * Makeconfig (all-Depend-files): Add existing
15168         $(sorted-subdirs:=/Depend) files.
15169         (all-subdirs): Remove nss.
15170         * sysdeps/unix/inet/Subdirs: Add it here instead.
15171         * hesiod/Depend: New file.
15173         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
15174         instead of calling alloca.
15176         * io/lseek.c (__lseek): Rename to __libc_lseek.
15177         Define __lseek as an alias.
15179         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
15181 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
15183         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
15184         else clause and remove check for non-standard endianness.
15186 2013-02-04  David S. Miller  <davem@davemloft.net>
15188         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15190 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
15192         [BZ #13550]
15193         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
15194         (__ubp_memchr): Remove prototype.
15195         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
15196         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15197         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
15198         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15199         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
15200         Remove alias.
15201         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
15202         (__ubp_memchr): Likewise.
15203         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
15204         (__ubp_memchr): Likewise.
15205         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
15206         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
15207         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
15208         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
15209         CHECK_STRING.
15210         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15211         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
15212         (__getcwd): Do not use CHECK_STRING.
15213         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15214         <bp-checks.h>.
15215         (__real_chown): Do not use CHECK_STRING.
15216         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
15217         <bp-checks.h>.
15218         (fchownat): Do not use CHECK_STRING.
15219         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
15220         CHECK_STRING.
15221         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15222         <bp-checks.h>.
15223         (__lchown): Do not use CHECK_STRING.
15224         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15225         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15226         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15227         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
15228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15229         include <bp-checks.h>.
15230         (truncate64): Do not use CHECK_STRING.
15231         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15232         <bp-checks.h>.
15233         (__real_chown): Do not use CHECK_STRING.
15234         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15235         <bp-checks.h>.
15236         (__lchown): Do not use CHECK_STRING.
15237         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15238         <bp-checks.h>.
15239         (__chown): Do not use CHECK_STRING.
15240         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
15241         <bp-checks.h>.
15242         (truncate64): Do not use CHECK_STRING.
15243         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
15244         Likewise.
15245         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
15246         (__xmknod): Do not use CHECK_STRING.
15247         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15248         <bp-checks.h>.
15249         (__xmknodat): Do not use CHECK_STRING.
15250         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15251         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
15253 2013-02-04  Andreas Schwab  <schwab@suse.de>
15255         [BZ #14142]
15256         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
15257         * include/netdb.h: Likewise for h_errno.
15258         * elf/tst-stackguard1.c: Include <tls.h>.
15260 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
15262         * elf/link.h (struct link_map): Extend the l_addr comment.
15263         * include/link.h (struct link_map): Likewise.
15265 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
15267         [BZ #13550]
15268         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
15269         (BOUNDED_1): Remove macro.
15270         * debug/backtrace.c: Don't include <bp-checks.h>.
15271         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
15272         (__backtrace): Likewise.
15273         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
15274         <bp-checks.h>.
15275         (__backtrace): Don't use BOUNDED_1.
15276         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
15277         <bp-checks.h>.
15278         (__backtrace): Don't use BOUNDED_1.
15279         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
15280         (__backtrace): Don't use BOUNDED_1.
15281         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
15282         (shmat): Don't use BOUNDED_N.
15284 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
15286         [BZ #13550]
15287         * sysdeps/generic/bp-start.h: Remove file.
15288         * csu/libc-start.c: Don't include <bp-start.h>.
15289         (LIBC_START_MAIN): Set up __environ directly instead of using
15290         INIT_ARGV_and_ENVIRON.
15291         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
15292         <bp-start.h>.
15294         [BZ #13550]
15295         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
15296         definitions.
15297         (CHECK_FCNTL): Likewise.
15298         (CHECK_N_PAGES): Likewise.
15300         [BZ #13550]
15301         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
15302         definitions.
15303         (CHECK_SIGSET_NULL_OK): Likewise.
15304         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
15305         <bp-checks.h>.
15306         (sigpending): Don't use CHECK_SIGSET.
15307         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
15308         <bp-checks.h>.
15309         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15310         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
15311         <bp-checks.h>.
15312         (do_sigsuspend): Don't use CHECK_SIGSET.
15313         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
15314         use CHECK_SIGSET.
15315         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
15316         (do_sigwait): Don't use CHECK_SIGSET.
15317         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
15318         use CHECK_SIGSET.
15319         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
15320         include <bp-checks.h>.
15321         (sigpending): Don't use CHECK_SIGSET.
15322         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
15323         include <bp-checks.h>.
15324         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15325         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
15326         <bp-checks.h>.
15327         (sigpending): Don't use CHECK_SIGSET.
15328         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
15329         <bp-checks.h>.
15330         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15332         [BZ #13550]
15333         * sysdeps/generic/bp-semctl.h: Remove file.
15334         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
15335         <bp-checks.h> and <bp-semctl.h>.
15336         (__old_semctl): Don't use CHECK_SEMCTL.
15337         (__new_semctl): Likewise.
15338         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
15339         and <bp-semctl.h>.
15340         (__old_semctl): Don't use CHECK_SEMCTL.
15341         (__new_semctl): Likewise.
15342         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
15343         <bp-checks.h> and <bp-semctl.h>.
15344         (__old_semctl): Don't use CHECK_SEMCTL.
15345         (__new_semctl): Likewise.
15346         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
15347         <bp-checks.h> and <bp-semctl.h>.
15348         (semctl): Don't use CHECK_SEMCTL.
15350         [BZ #13550]
15351         * Makerules (elide-bp-thunks): Remove variable.
15352         (elide-routines.oS): Don't use $(elide-bp-thunks).
15353         (elide-routines.os): Likewise.
15354         (elide-routines.o): Likewise.
15355         (elide-routines.op): Likewise.
15356         (elide-routines.og): Likewise.
15357         (objects): Don't use $(bp-thunks).
15358         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
15359         include.
15360         (common-generated): Do not add s-proto-bp.d.
15361         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
15362         (int): Likewise.
15363         (typ): Likewise.
15364         Do not generate makefile rules for bounded-pointer thunks.
15365         * sysdeps/generic/bp-thunks.h: Remove file.
15366         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
15367         * sysdeps/unix/s-proto-bp.S: Likewise.
15369         [BZ #15062]
15370         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
15371         parts of result separately when argument is not close to line from
15372         -i to i and one part of argument is small.
15373         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15374         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15375         * math/libm-test.inc (cacos_test): Add more tests.
15376         (casin_test): Likewise.
15377         (casinh_test): Likewise.
15378         * sysdeps/i386/fpu/libm-test-ulps: Update.
15379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15381 2013-01-31  David S. Miller  <davem@davemloft.net>
15383         * po/de.po: Update from translation team.
15385 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
15387         * time/tzfile.c: Include stdint.h for SIZE_MAX.
15389 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
15391         * configure.in (_AC_PROG_CC_C89): New definition.
15392         * configure: Regenerate.
15394         * configure.in (AC_PROG_CPP): New definition.
15395         * configure: Regenerate.
15397 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
15399         * debug/tst-backtrace.h: New file.
15400         * debug/tst-backtrace2.c: Include tst-backtrace.h.
15401         (ret): Remove variable.
15402         (x): Likewise.
15403         (FAIL): Remove macro.
15404         (NO_INLINE): Likewise.
15405         (fn1): Use match function instead of strstr.
15406         * debug/tst-backtrace3.c: Include tst-backtrace.h.
15407         (ret): Remove variable.
15408         (x): Likewise.
15409         (FAIL): Remove macro.
15410         (NO_INLINE): Likewise.
15411         (fn): Use match function instead of strstr.
15412         * debug/tst-backtrace4.c: Include tst-backtrace.h.
15413         (ret): Remove variable.
15414         (x): Likewise.
15415         (FAIL): Remove macro.
15416         (NO_INLINE): Likewise.
15417         (handle_signal): Use match function instead of strstr.
15418         * debug/tst-backtrace5.c: Include tst-backtrace.h.
15419         (ret): Remove variable.
15420         (x): Likewise.
15421         (FAIL): Remove macro.
15422         (NO_INLINE): Likewise.
15423         (handle_signal): Use match function instead of strstr.
15425 2013-01-23  Roland McGrath  <roland@hack.frob.com>
15427         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
15429 2013-01-23  David S. Miller  <davem@davemloft.net>
15431         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
15432         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
15433         argument of CAS if possible.
15434         * sysdeps/sparc/sparc64/bits/atomic.h
15435         (__arch_compare_and_exchange_val_32_acq): Likewise.
15436         (__arch_compare_and_exchange_val_64_acq): Likewise.
15438 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
15440         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
15441         * sysdeps/posix/ulimit.c: ... this.
15442         Include <limits.h>.
15443         * sysdeps/unix/bsd/ulimit.c: Remove file.
15445 2013-01-23  Adam Conrad  <adconrad@0c3.net>
15447         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
15448         (LDFLAGS-tst-array5): Likewise.
15450 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
15452         [BZ #15036]
15453         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
15454         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
15455         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
15456         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
15458 2013-01-21  David S. Miller  <davem@davemloft.net>
15460         * sysdeps/sparc/backtrace.c: New file.
15461         * sysdeps/sparc/sparc32/backtrace.h: New file.
15462         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
15463         * sysdeps/sparc/sparc64/backtrace.h: New file.
15464         * sysdeps/sparc/sparc64/backtrace.c: Delete.
15465         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
15466         -funwind-tables.
15468 2013-01-21  Andreas Schwab  <schwab@suse.de>
15470         [BZ #15020]
15471         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
15472         closed its stdout.
15474 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
15476         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
15477         "mpa2.h".
15478         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15480 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
15481             Mark Mitchell  <mark@codesourcery.com>
15482             Tom de Vries  <tom@codesourcery.com>
15483             Paul Pluzhnikov  <ppluzhnikov@google.com>
15485         * debug/tst-backtrace2.c: New file.
15486         * debug/tst-backtrace3.c: Likewise.
15487         * debug/tst-backtrace4.c: Likewise.
15488         * debug/tst-backtrace5.c: Likewise.
15489         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
15490         (CFLAGS-tst-backtrace3.c): Likewise.
15491         (CFLAGS-tst-backtrace4.c): Likewise.
15492         (CFLAGS-tst-backtrace5.c): Likewise.
15493         (LDFLAGS-tst-backtrace2): Likewise.
15494         (LDFLAGS-tst-backtrace3): Likewise.
15495         (LDFLAGS-tst-backtrace4): Likewise.
15496         (LDFLAGS-tst-backtrace5): Likewise.
15497         (tests): Add new tests tst-backtrace2, tst-backtrace3,
15498         tst-backtrace4 and tst-backtrace5.
15500 2013-01-18  Anton Blanchard  <anton@samba.org>
15501             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15503         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
15504         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
15505         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
15506         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
15507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15508         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
15509         "+r" and remove output regs list as redundant.  Add explicit inline
15510         asm to specify register of return val to work around compiler codegen
15511         bug.  Remove (int) cast on return value.  Add return type parameter to
15512         use in macro so that this macro does not truncate return value for
15513         64-bit values.
15514         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
15515         pass to INTERNAL_VSYSCALL_NCS.
15516         (INLINE_VSYSCALL): Add 'long int' as return type to
15517         INTERNAL_VSYSCALL_NCS macro invocation.
15518         (INTERNAL_VSYSCALL): Add 'long int' as return type to
15519         INTERNAL_VSYSCALL_NCS macro invocation.
15520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15522 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15524         [BZ #14496]
15525         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
15526         Fix application of SIMD FP exception mask.
15528         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
15529         mp_no from a power of two.
15530         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
15531         __mpexp_twomm1.  Use __pow_mp.
15533         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
15534         multiplication.
15536 2013-01-17  David S. Miller  <davem@davemloft.net>
15538         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15540 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
15542         [BZ #15023]
15543         * include/complex.h: Condition contents on [!_COMPLEX_H].
15544         (__kernel_casinhf): New prototype.
15545         (__kernel_casinh): Likewise.
15546         (__kernel_casinhl): Likewise.
15547         * math/Makefile (libm_calls): Add k_casinh.
15548         * math/k_casinh.c: New file.
15549         * math/k_casinhf.c: Likewise.
15550         * math/k_casinhl.c: Likewise.
15551         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
15552         finite nonzero arguments.
15553         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
15554         finite nonzero arguments.
15555         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
15556         finite nonzero arguments.
15557         * math/s_casinh.c: Do not include <float.h>.
15558         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
15559         * math/s_casinhf.c: Do not include <float.h>.
15560         (__casinhf): Move code for finite nonzero arguments to
15561         k_casinhf.c.
15562         * math/s_casinhl.c: Do not include <float.h>.
15563         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
15564         redefine.
15565         (__casinhl): Move code for finite nonzero arguments to
15566         k_casinhl.c.
15567         * math/libm-test.inc (cacos_test): Add more tests.
15568         * sysdeps/i386/fpu/libm-test-ulps: Update.
15569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15571 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
15573         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
15574         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
15575         [!HAVE_MREMAP]: Remove [defined linux] case.
15576         * malloc/arena.c: Do not include <malloc-sysdep.h>.
15578 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
15580         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
15582 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
15584         * elf/elf.h (R_386_SIZE32): New relocation.
15585         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
15586         R_386_SIZE32.
15587         (elf_machine_rela): Likewise.
15588         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15589         R_X86_64_SIZE64 and R_X86_64_SIZE32.
15591 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
15593         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
15594         (FP_FAST_FMA): Do not define.
15595         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
15596         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
15597         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
15598         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
15599         !_SOFT_FLOAT]: Likewise.
15600         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
15601         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
15602         value.
15603         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
15604         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
15605         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
15606         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
15607         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
15608         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
15609         file.
15611 2013-01-16  Andreas Schwab  <schwab@suse.de>
15613         [BZ #14327]
15614         * include/stdlib.h (__mktemp): Add declaration.
15615         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
15616         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
15618 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15620         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
15621         definitions.
15622         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15623         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
15624         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
15625         definitions here.
15626         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
15627         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
15628         definitions.
15629         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
15630         and ONE.
15631         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
15632         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
15633         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
15634         definitions.
15635         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
15636         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
15637         definitions.
15638         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15640         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
15642 2013-01-15  David S. Miller  <davem@davemloft.net>
15644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15645         trunc{,f} to libm-sysdep_routes.
15646         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
15648         file.
15649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
15650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
15651         file.
15652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
15653         file.
15654         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
15655         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
15656         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
15657         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
15658         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
15659         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
15660         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
15661         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
15663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15664         nearbyint{,f} to libm-sysdep_routes.
15665         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
15667         New file.
15668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
15669         file.
15670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
15671         New file.
15672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
15673         file.
15674         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
15675         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
15676         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
15677         file.
15678         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
15679         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
15680         file.
15681         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
15682         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
15683         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
15685         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15686         libc_feholdexcept and libc_fesetenv.
15688 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
15690         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
15692 2013-01-14  David S. Miller  <davem@davemloft.net>
15694         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
15695         (SPARC_ASM_VIS2_IFUNC): Likewise.
15696         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
15697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
15698         use of 'siam' instruction.
15699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
15700         Likewise.
15701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
15702         Likewise.
15703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
15704         Likewise.
15705         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15706         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15707         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15708         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
15710         file.
15711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
15712         file.
15713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
15714         file.
15715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
15716         file.
15717         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
15718         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
15719         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
15720         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
15721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
15722         new VIS2 routines.
15723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15726         Likewise.
15727         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15728         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15729         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15730         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
15732         routines to libm-sysdep_routines.
15733         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15736         fdim/fdimf to libm-sysdep_routines.
15737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
15738         file.
15739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
15740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
15741         file.
15742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
15743         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
15744         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
15745         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
15746         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
15747         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
15748         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
15750 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15752         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
15753         to optimize copies.
15755         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
15756         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15757         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15759         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
15760         local variable MPTWO.
15761         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
15762         Likewise.
15764 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
15766         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
15767         GLOB_NOESCAPE.
15769 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
15771         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
15773 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
15775         * manual/pattern.texi (glob_t): Document gl_flags.
15776         (glob64_t): Likewise.
15778 2013-01-11  David S. Miller  <davem@davemloft.net>
15780         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
15781         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
15782         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
15783         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
15784         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
15785         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
15786         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
15787         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
15788         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
15789         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
15790         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
15791         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
15792         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
15794         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15795         sparc V9 rather than using V8 code.
15796         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15797         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15799         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15800         Move to...
15801         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
15802         Here.
15804 2013-01-11  Roland McGrath  <roland@hack.frob.com>
15806         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
15807         not in the main loop.
15808         * configure: Regenerated.
15810 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
15812         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
15813         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
15814         to just #else.
15815         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
15816         [!__GLIBC_HAVE_LONG_LONG] case.
15817         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
15818         condition to just #else.
15819         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
15820         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
15821         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
15822         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
15823         unconditional.
15824         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
15825         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15826         #elif condition to just #else.
15827         * sysdeps/unix/sysv/linux/sys/sysmacros.h
15828         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
15829         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15830         #elif condition to just #else.
15832 2013-01-11  Steve Ellcey  <sellcey@mips.com>
15834         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
15835         (EF_MIPS_ARCH_64): Fix value.
15836         (EF_MIPS_ARCH_32R2): New.
15837         (EF_MIPS_ARCH_64R2): New.
15839 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
15841         * Makeconfig (+link-pie-before-libc): New.
15842         (+link-pie-after-libc): Likewise.
15843         (+link-pie-tests): Likewise.
15844         (+link-pie): Rewritten.
15845         (link-before-libc): Remove $(config-LDFLAGS).
15846         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
15847         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
15848         (config-LDFLAGS): Renamed to ...
15849         (rtld-LDFLAGS): This.
15850         (rtld-tests-LDFLAGS): New macro.
15851         (link-libc-rpath-link): Likewise.
15852         (link-libc-tests-rpath-link): Likewise.
15853         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
15854         (link-libc): Prepand $(link-libc-rpath-link).
15855         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
15856         (test-program-prefix): New macro.
15857         (test-via-rtld-prefix): Likewise.
15858         (test-program-cmd): Likewise.
15859         (host-test-program-cmd): Likewise.
15860         * Makefile ($(common-objpfx)testrun.sh): Replace
15861         $(run-program-prefix) with $(test-program-prefix).
15862         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
15863         $(rtld-LDFLAGS).
15864         ($(common-objpfx)shlib.lds): Likewise.
15865         (build-module-helper): Likewise.
15866         ($(common-objpfx)format.lds): Likewise.
15867         * Rules (binaries-pie-tests): New.
15868         (binaries-pie-notests): Likewise.
15869         (binaries-pie): Rewritten.
15870         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
15871         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
15872         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
15873         (make-test-out): Replace $(host-built-program-cmd) with
15874         $(host-test-program-cmd).
15875         * config.make.in (build-hardcoded-path-in-tests): New variable.
15876         * configure.in (--enable-hardcoded-path-in-tests): New configure
15877         option.
15878         (hardcoded_path_in_tests): New AC_SUBST.
15879         * configure: Regenerated.
15880         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
15881         $(built-program-cmd) with $(test-program-cmd).
15882         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
15883         (test_program_cmd): This.
15884         * elf/Makefile ($(objpfx)order.out): Run test with
15885         $(test-program-prefix).
15886         ($(objpfx)order2.out): Likewise.
15887         ($(objpfx)tst-initorder.out): Likewise.
15888         ($(objpfx)tst-initorder2.out): Likewise.
15889         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
15890         $(test-program-cmd).
15891         ($(objpfx)tst-array1-static.out): Likewise.
15892         ($(objpfx)tst-array2.out): Likewise.
15893         ($(objpfx)tst-array3.out): Likewise.
15894         ($(objpfx)tst-array4.out): Likewise.
15895         ($(objpfx)tst-array5.out): Likewise.
15896         ($(objpfx)tst-array5-static.out): Likewise.
15897         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
15898         $(test-program-cmd).
15899         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
15900         $(run-program-prefix) with $(test-program-prefix).
15901         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
15902         (test_program_prefix): This.
15903         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
15904         $(run-program-prefix) with $(test-program-prefix).
15905         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
15906         (test_program_prefix): This.
15907         * iconvdata/tst-tables.sh: Likewise.
15908         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
15909         $(run-program-prefix) with $(test-program-prefix).
15910         ($(objpfx)tst-translit.out): Likewise.
15911         ($(objpfx)tst-gettext2.out): Likewise.
15912         ($(objpfx)tst-gettext4.out): Likewise.
15913         ($(objpfx)tst-gettext6.out): Likewise.
15914         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
15915         (test_program_prefix): This.
15916         * intl/tst-gettext2.sh: Likewise.
15917         * intl/tst-gettext4.sh  Likewise.
15918         * intl/tst-gettext6.sh: Likewise.
15919         * intl/tst-translit.sh: Likewise.
15920         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
15921         with $(test-program-cmd).
15922         * libio/Makefile ($(objpfx)test-freopen.out): Replace
15923         $(run-program-prefix) with $(test-program-prefix).
15924         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
15925         (test_program_prefix): This.
15926         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
15927         $(run-program-prefix) with $(test-program-prefix).
15928         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
15929         (test_program_prefix): This.
15930         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
15931         * posix/Makefile ($(objpfx)globtest.out): Replace
15932         $(run-via-rtld-prefix) and $(test-wrapper) with
15933         $(test-program-prefix) and $(test-via-rtld-prefix).
15934         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
15935         $(test-program-prefix).
15936         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
15937         $(host-test-program-cmd).
15938         (tst-spawn-ARGS): Likewise.
15939         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
15940         $(test-program-prefix).
15941         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
15942         (test_via_rtld_prefix): This.
15943         (test_wrapper): Renamed to ...
15944         (test_program_prefix): This.
15945         (run_program_prefix): Replaced by test_program_prefix.
15946         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
15947         (test_program_prefix): This.
15948         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
15949         with $(host-test-program-cmd).
15950         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
15951         $(run-program-prefix) with $(test-program-prefix).
15952         ($(objpfx)tst-printf.out): Likewise.
15953         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
15954         $(test-program-cmd).
15955         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
15956         (test_program_prefix): This.
15957         * stdio-common/tst-unbputc.sh: Likewise.
15958         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
15959         $(run-program-prefix) with $(test-program-prefix).
15960         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
15961         (test_program_prefix): This.
15962         * string/Makefile ($(objpfx)tst-svc.out):  Replace
15963         $(built-program-cmd) with $(test-program-cmd).
15965 2013-01-11  Andreas Jaeger  <aj@suse.de>
15967         [BZ #15003]
15968         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
15969         value. Sync with Linux 3.7.
15971 2013-01-10  David S. Miller  <davem@davemloft.net>
15973         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
15974         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15975         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15977 2013-01-10  Roland McGrath  <roland@hack.frob.com>
15979         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
15980         never set.
15981         * configure: Regenerated.
15983 2013-01-10  David S. Miller  <davem@davemloft.net>
15985         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15986         sparc V9 rather than using V8 code.
15987         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15988         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15990 2013-01-10  Roland McGrath  <roland@hack.frob.com>
15992         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
15993         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
15994         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
15995         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
15996         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
15997         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
15998         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
15999         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
16000         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
16001         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
16002         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
16003         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
16004         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
16005         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
16006         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
16007         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
16008         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
16009         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
16010         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
16011         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
16012         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
16013         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
16014         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
16015         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
16016         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
16017         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
16018         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
16020 2013-01-10  David S. Miller  <davem@davemloft.net>
16022         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16024 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
16026         * posix/Makefile (tests-static): New variable.
16027         (tests): Add $(tests-static).
16028         (tst-exec-static-ARGS): New variable.
16029         (tst-spawn-static-ARGS): Likewise.
16030         * posix/tst-exec-static.c: New file.
16031         * posix/tst-spawn-static.c: Likewise.
16032         * posix/tst-exec.c: Support run directly.
16033         * posix/tst-spawn.c: Likewise.
16035 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
16037         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
16038         long.
16039         * math/bits/mathcalls.h (llrint): Likewise.
16040         (llround): Likewise.
16041         * stdlib/stdlib.h (struct drand48_data): Likewise.
16042         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
16043         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
16044         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
16045         Likewise.
16046         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
16047         Likewise.
16048         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
16049         (elf_greg_t): Likewise.
16050         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
16051         (__jmp_buf): Likewise.
16052         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
16053         definitions.
16054         (llrint): Likewise, for all definitions.
16055         (llrintl): Likewise.
16057         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
16058         Remove [__GNUC__] condition.
16059         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
16060         condition to just [__USE_ISOC99].
16061         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
16063 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
16065         [BZ #14200]
16066         * sysdeps/unix/sysv/linux/x86/bits/environments.h
16067         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
16068         defined.
16069         (_POSIX_V6_ILP32_OFF32): Likewise.
16070         (_XBS5_ILP32_OFF32): Likewise.
16071         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
16072         (__ILP32_OFFBIG_LDFLAGS): Likewise.
16074 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16076         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
16078         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
16079         doubles __mpexp_twomm1.  Adjust usage.
16080         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
16081         Remove.
16083 2013-01-10  Andreas Schwab  <schwab@suse.de>
16085         [BZ #14964]
16086         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
16087         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
16089 2013-01-09  David S. Miller  <davem@davemloft.net>
16091         [BZ #15003]
16092         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
16093         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
16094         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
16095         TCP_FASTOPEN): Define.
16096         (tcp_repair_opt): New structure.
16097         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
16098         enum values.
16099         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
16100         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
16101         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
16102         (tcp_cookie_transactions): New structure.
16104 2013-01-09  Anton Blanchard  <anton@samba.org>
16106         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
16107         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
16108         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
16109         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
16111 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
16113         * include/features.h (__USE_ANSI): Remove.
16115 2013-01-09  Roland McGrath  <roland@hack.frob.com>
16117         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
16119         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
16121 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
16123         * sysdeps/s390/fpu/libm-test-ulps: Update.
16125         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16127         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
16128         (__acr): Likewise.
16129         (__cpy): Likewise.
16130         (norm): Likewise.
16131         (denorm): Likewise.
16132         (__mp_dbl): Likewise.
16133         (__dbl_mp): Likewise.
16134         (add_magnitudes): Likewise.
16135         (sub_magnitudes): Likewise.
16136         (__add): Likewise.
16137         (__sub): Likewise.
16138         (__mul): Likewise.
16139         (__inv): Likewise.
16140         (__dvd): Likewise.
16141         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
16142         (__acr): Likewise.
16143         (__cpy): Likewise.
16144         (norm): Likewise.
16145         (denorm): Likewise.
16146         (__mp_dbl): Likewise.
16147         (__dbl_mp): Likewise.
16148         (add_magnitudes): Likewise.
16149         (sub_magnitudes): Likewise.
16150         (__add): Likewise.
16151         (__sub): Likewise.
16152         (__mul): Likewise.
16153         (__inv): Likewise.
16154         (__dvd): Likewise.
16155         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
16156         (__acr): Likewise.
16157         (__cpy): Likewise.
16158         (norm): Likewise.
16159         (denorm): Likewise.
16160         (__mp_dbl): Likewise.
16161         (__dbl_mp): Likewise.
16162         (add_magnitudes): Likewise.
16163         (sub_magnitudes): Likewise.
16164         (__add): Likewise.
16165         (__sub): Likewise.
16166         (__mul): Likewise.
16167         (__inv): Likewise.
16168         (__dvd): Likewise.
16170 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
16172         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
16173         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
16174         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
16175         2 && __USE_EXTERN_INLINES]: Likewise.
16177 2013-01-08  Andreas Jaeger  <aj@suse.de>
16179         [BZ# 14985]
16180         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
16181         Remove.
16182         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16183         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16185 2013-01-07  Anton Blanchard  <anton@samba.org>
16187         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
16188         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16189         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
16190         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16191         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16192         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16193         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
16194         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16195         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16196         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16197         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16198         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16199         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16200         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16201         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16202         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16203         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16204         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16205         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16206         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16207         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16208         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
16209         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16210         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16211         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
16212         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16213         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16214         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16215         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
16216         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16217         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16218         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16219         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16220         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16221         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16222         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16223         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16224         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16225         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
16226         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16227         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
16228         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16229         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16231 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
16233         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
16234         (__MALLOC_PMT): Likewise.
16235         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
16236         [__GNUC__], only on [_LIBC].
16237         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16238         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
16239         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16240         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
16241         forward declaration.
16242         (realloc_hook_ini): Likewise.
16243         (memalign_hook_ini): Likewise.
16244         (__libc_memalign): Do not use __MALLOC_PMT in variable
16245         declaration.
16246         (__libc_valloc): Likewise.
16247         (__libc_pvalloc): Likewise.
16248         (__libc_calloc): Likewise.
16249         (__posix_memalign): Likewise.
16251         [BZ #14996]
16252         * math/s_casinh.c: Include <float.h>.
16253         (__casinh): Do not do computation with squaring and square root
16254         for large arguments.
16255         * math/s_casinhf.c: Include <float.h>.
16256         (__casinhf): Do not do computation with squaring and square root
16257         for large arguments.
16258         * math/s_casinhl.c: Include <float.h>.
16259         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
16260         (__casinhl): Do not do computation with squaring and square root
16261         for large arguments.
16262         * math/libm-test.inc (casin_test): Add more tests.
16263         (casinh_test): Likewise.
16264         * sysdeps/i386/fpu/libm-test-ulps: Update.
16265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16267 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
16269         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
16270         (__x86_64_raw_data_cache_size): Likewise.
16271         (__x86_64_data_cache_size_half): Likewise.
16272         (__x86_64_raw_data_cache_size_half): Likewise.
16273         (__x86_64_shared_cache_size): Likewise.
16274         (__x86_64_raw_shared_cache_size): Likewise.
16275         (__x86_64_shared_cache_size_half): Likewise.
16276         (__x86_64_raw_shared_cache_size_half): Likewise.
16277         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
16278         to ...
16279         (__x86_data_cache_size): This.
16280         (__x86_64_raw_data_cache_size): Renamed to ...
16281         (__x86_raw_data_cache_size): This.
16282         (__x86_64_data_cache_size_half): Renamed to ...
16283         (__x86_data_cache_size_half): This.
16284         (__x86_64_raw_data_cache_size_half): Renamed to ...
16285         (__x86_raw_data_cache_size_half): This.
16286         (__x86_64_shared_cache_size): Renamed to ...
16287         (__x86_shared_cache_size): This.
16288         (__x86_64_raw_shared_cache_size): Renamed to ...
16289         (__x86_raw_shared_cache_size): This.
16290         (__x86_64_shared_cache_size_half): Renamed to ...
16291         (__x86_shared_cache_size_half): This.
16292         (__x86_64_raw_shared_cache_size_half): Renamed to ...
16293         (__x86_raw_shared_cache_size_half): This.
16294         * sysdeps/x86_64/memcpy.S: Updated.
16295         * sysdeps/x86_64/memset.S: Likewise.
16296         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16297         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16298         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16300 2013-01-04  David S. Miller  <davem@davemloft.net>
16302         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16304 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
16306         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
16307         1 to avoid redefinition warning.
16308         (__USE_GNU): Don't define.
16309         (init_signaling_nan): Protoize.
16311         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16313 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16315         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
16316         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
16317         (__cpymn): Likewise.
16318         (norm): Remove commented code.
16319         (denorm): Likewise.
16320         (__mp_dbl): Likewise.
16321         (__inv): Likewise.
16322         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
16323         (__cpymn): Likewise.
16324         (norm): Remove commented code.
16325         (denorm): Likewise.
16326         (__mp_dbl): Likewise.
16327         (__inv): Likewise.
16329         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
16330         mp_no value for 1.0 and 2.0.
16331         (norm): Use RADIXI instead of radixi.d.
16332         (denorm): Likewise.
16333         (__mul): Use 0.0 instead of zero.d.
16334         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
16335         mp_no value for 1.0 and 2.0.
16336         (norm): Use RADIXI instead of radixi.d.
16337         (denorm): Likewise.
16338         (__mul): Use 0.0 instead of zero.d.
16340 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
16342         [BZ #14994]
16343         * math/s_casinh.c (__casinh): Reduce finite argument to first
16344         quadrant then set signs of results at the end.
16345         * math/s_casinhf.c (__casinhf): Likewise.
16346         * math/s_casinhl.c (__casinhl): Likewise.
16347         * math/libm-test.inc (casin_test): Add more tests.
16348         (casinh_test): Likewise.
16349         * sysdeps/i386/fpu/libm-test-ulps: Update.
16350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16352 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16354         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
16356         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
16358         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
16359         declarations.
16360         (denorm): Likewise.
16361         (__mp_dbl): Likewise.
16362         (__inv): Likewise.
16364         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
16365         and adjust the header comment.
16367         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
16368         variable name from declaration.
16370 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
16372         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16373         Initialize COMMON_CPUID_INDEX_7 element.
16374         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
16375         (CPUID_RTM): Likewise.
16376         (HAS_RTM): Likewise.
16377         (COMMON_CPUID_INDEX_7): New enum.
16379 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
16381         [BZ #14981]
16382         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
16383         size is zero, record memory as freed.
16385 2013-01-03  Andreas Jaeger  <aj@suse.de>
16387         * po/ia.po: Add new Interlingua translation.
16389 2012-01-03  Allan McRae  <allan@archlinux.org>
16391         * locale/programs/localedef.c: Fix description of '--posix' flag.
16393 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
16395         * NEWS: Update dates in second copyright notice.
16396         * README: Update copyright dates in example.
16397         * manual/libc.texinfo: Update copyright dates.
16398         * scripts/test-installation.pl: Update copyright date in --version
16399         output.
16401         * hurd/ctty-input.c: Fix copyright notice formatting.
16402         * hurd/ctty-output.c: Likewise.
16403         * hurd/dtable.c: Likewise.
16404         * hurd/hurd-raise.c: Likewise.
16405         * hurd/hurdprio.c: Likewise.
16406         * hurd/msgportdemux.c: Likewise.
16407         * misc/sys/file.h: Likewise.
16408         * misc/sys/ioctl.h: Likewise.
16409         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16410         * sysdeps/mach/hurd/chdir.c: Likewise.
16411         * sysdeps/mach/hurd/fchdir.c: Likewise.
16412         * sysdeps/mach/hurd/rename.c: Likewise.
16413         * sysdeps/mach/hurd/rmdir.c: Likewise.
16414         * sysdeps/mach/hurd/seekdir.c: Likewise.
16415         * sysdeps/mach/hurd/setsid.c: Likewise.
16416         * sysdeps/posix/wait3.c: Likewise.
16418         * All files with FSF copyright notices: Update copyright dates
16419         using scripts/update-copyrights.
16420         * intl/plural.c: Regenerated.
16421         * locale/programs/charmap-kw.h: Likewise.
16422         * locale/programs/locfile-kw.h: Likewise.
16424 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16426         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
16427         four values.
16429         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
16430         calculation loop and add branch prediction.
16432         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
16433         check access beyond bounds of m1np.
16435         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16436         MPTWO.
16437         (__inv): Remove local variable MPTWO to use the global
16438         constant.
16439         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
16440         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16441         variable MPTWO.
16442         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
16443         MP3HALFS static const.
16445 2013-01-01  David S. Miller  <davem@davemloft.net>
16447         * po/ca.po: Update from translation team.
16449 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
16451         * scripts/update-copyrights: New file.
16452         * Makeconfig: Reformat copyright notice.
16453         * ctype/ctype.h: Likewise.
16454         * debug/swprintf_chk.c: Likewise.
16455         * elf/dl-cache.c: Likewise.
16456         * elf/dl-debug.c: Likewise.
16457         * elf/dl-object.c: Likewise.
16458         * grp/initgroups.c: Likewise.
16459         * hurd/Makefile: Likewise.
16460         * hurd/hurd/signal.h: Likewise.
16461         * hurd/hurdfault.c: Likewise.
16462         * hurd/hurdioctl.c: Likewise.
16463         * hurd/hurdlookup.c: Likewise.
16464         * hurd/intr-msg.c: Likewise.
16465         * iconv/gconv_open.c: Likewise.
16466         * libio/swprintf.c: Likewise.
16467         * locale/lc-ctype.c: Likewise.
16468         * locale/nl_langinfo.c: Likewise.
16469         * mach/Machrules: Likewise.
16470         * mach/Makefile: Likewise.
16471         * malloc/obstack.h: Likewise.
16472         * manual/Makefile: Likewise.
16473         * manual/tsort.awk: Likewise.
16474         * misc/bits/stab.def: Likewise.
16475         * nis/nis_print_group_entry.c: Likewise.
16476         * nis/nis_table.c: Likewise.
16477         * nis/nss_compat/compat-pwd.c: Likewise.
16478         * nis/nss_compat/compat-spwd.c: Likewise.
16479         * po/Makefile: Likewise.
16480         * posix/fnmatch.c: Likewise.
16481         * posix/regex.h: Likewise.
16482         * resolv/Makefile: Likewise.
16483         * resolv/nss_dns/dns-network.c: Likewise.
16484         * resolv/res_hconf.c: Likewise.
16485         * scripts/gen-sorted.awk: Likewise.
16486         * soft-fp/soft-fp.h: Likewise.
16487         * stdio-common/printf.h: Likewise.
16488         * stdlib/monetary.h: Likewise.
16489         * stdlib/random.c: Likewise.
16490         * stdlib/random_r.c: Likewise.
16491         * sysdeps/generic/Makefile: Likewise.
16492         * sysdeps/gnu/Makefile: Likewise.
16493         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16494         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16495         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16496         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16497         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16498         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16499         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16500         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16501         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16502         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16503         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16504         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16505         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16506         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16507         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16508         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16509         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16510         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16511         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16512         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16513         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16514         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16515         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16516         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16517         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
16518         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16519         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16520         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
16521         * sysdeps/mach/hurd/errnos.awk: Likewise.
16522         * sysdeps/mach/hurd/fork.c: Likewise.
16523         * sysdeps/mach/hurd/getcwd.c: Likewise.
16524         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
16525         * sysdeps/mach/hurd/mmap.c: Likewise.
16526         * sysdeps/mach/hurd/utimes.c: Likewise.
16527         * sysdeps/mach/hurd/xmknod.c: Likewise.
16528         * sysdeps/posix/profil.c: Likewise.
16529         * sysdeps/posix/readdir_r.c: Likewise.
16530         * sysdeps/powerpc/bits/mathdef.h: Likewise.
16531         * sysdeps/powerpc/bits/setjmp.h: Likewise.
16532         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
16533         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16534         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16535         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16536         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16537         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16538         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16539         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16540         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16541         * sysdeps/pthread/lio_listio.c: Likewise.
16542         * sysdeps/sparc/dl-procinfo.h: Likewise.
16543         * sysdeps/unix/i386/sysdep.S: Likewise.
16544         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
16545         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
16546         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
16547         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
16548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16549         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16550         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16551         * sysdeps/unix/sysv/linux/speed.c: Likewise.
16552         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16553         * sysdeps/wordsize-32/divdi3.c: Likewise.
16554         * time/sys/time.h: Likewise.
16555         * wcsmbs/Makefile: Likewise.
16557 2013-01-01  David S. Miller  <davem@davemloft.net>
16559         * po/fr.po: Update from translation team.
16561         * catgets/gencat.c: Update copyright year.
16562         * csu/version.c: Likewise.
16563         * debug/catchsegv.sh: Likewise.
16564         * debug/pcprofiledump.c: Likewise.
16565         * debug/xtrace.sh: Likewise.
16566         * elf/ldconfig.c: Likewise.
16567         * elf/ldd.bash.in: Likewise.
16568         * elf/pldd.c: Likewise.
16569         * elf/sotruss.ksh: Likewise.
16570         * elf/sprof.c: Likewise.
16571         * iconv/iconv_prog.c: Likewise.
16572         * iconv/iconvconfig.c: Likewise.
16573         * locale/programs/locale.c: Likewise.
16574         * locale/programs/localedef.c: Likewise.
16575         * login/programs/pt_chown.c: Likewise.
16576         * malloc/memusage.sh: Likewise.
16577         * malloc/memusagestat.c: Likewise.
16578         * malloc/mtrace.pl: Likewise.
16579         * nscd/nscd.c: Likewise.
16580         * nss/getent.c: Likewise.
16581         * nss/makedb.c: Likewise.
16582         * posix/getconf.c: Likewise.
16584 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16586         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
16587         numbers.
16589 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
16591         * math/bits/mathcalls.h (modf): Use __nonnull.
16593 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16595         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
16596         (split): Use macro CN instead of the bare value.
16597         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
16598         could be used.
16599         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
16600         instead of the bare value.
16601         (power1): Likewise.
16603 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16605         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
16606         __ATAN_TWOM.
16607         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16609         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
16610         their values.
16611         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16612         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16613         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
16614         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16616 2012-12-28  Andreas Jaeger  <aj@suse.de>
16618         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
16619         values are from Linux 3.7.
16621         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
16622         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
16624 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16626         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
16627         TRUE case.
16629         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
16630         (norm): Likewise.
16631         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
16632         variables with preprocessor constants.
16633         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16634         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16635         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16637 2012-12-27  Bruno Haible  <bruno@clisp.org>
16639         [BZ #14317]
16640         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
16641         only if needed.
16643 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16645         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
16646         and use variable directly.
16647         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
16649         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16650         MPONE.
16651         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
16652         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16653         variable MPONE.
16654         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16655         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16656         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
16657         include directive.  Remove local variable MPONE.
16658         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
16659         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
16660         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16662 2012-12-25  David S. Miller  <davem@davemloft.net>
16664         * version.h (RELEASE): Set to "development".
16665         (VERSION): Set to "2.17.90".
16666         * NEWS: Add 2.18 section.
16668 2012-12-21  David S. Miller  <davem@davemloft.net>
16670         * po/hr.po: Update from translation team.
16672 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16674         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
16676 2012-12-19  Steve Ellcey  <sellcey@mips.com>
16678         * NEWS:  Mention new memcpy for MIPS.
16680 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16682         * manual/contrib.texi (Contributors): Spelling correction.
16684 2012-12-15  David S. Miller  <davem@davemloft.net>
16686         * po/ru.po: Update from translation team.
16688 2012-12-13  David S. Miller  <davem@davemloft.net>
16690         * NEWS: Mention IFUNC testsuite enhancements.
16692         * po/pl.po: Update from translation team.
16693         * po/bg.po: Likewise.
16695         * manual/contrib.texi (Contributors): Update entries for Hongjiu
16696         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
16698 2012-12-11  David S. Miller  <davem@davemloft.net>
16700         * po/sv.po: Update from translation team.
16702         * po/vi.po: Update from translation team.
16704         * po/cs.po: Update from translation team.
16706         * po/de.po: Update from translation team.
16707         * po/eo.po: Likewise.
16708         * po/nl.po: Likewise.
16710 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16712         [BZ #14246]
16713         * manual/argp.texi (Argp Helper Functions): Move node to follow
16714         Argp Parsing State.
16716         [BZ #14872]
16717         * manual/conf.texi (Limits on File System Capacity): Mention if
16718         terminating null is included in the max size.
16720 2012-12-10  Andreas Jaeger  <aj@suse.de>
16722         * po/cs.po: Update from translation team.
16724 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16726         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
16727         void pointer and cast to uintptr_t.
16728         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
16729         path.
16730         * sysdeps/s390/s390-64/memcpy.S: Likewise.
16731         * sysdeps/s390/s390-64/memset.S: Likewise.
16733 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
16735         [BZ #14833]
16736         * menual/message.texi (Message Translation): Fix typos.
16737         (Helper programs for gettext): Likewise.
16739 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
16741         [BZ #14898]
16742         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
16743         Change to -1.
16745 2012-12-07  David S. Miller  <davem@davemloft.net>
16747         * po/libc.pot: Update.
16749 2012-12-07  Richard Henderson  <rth@redhat.com>
16751         [BZ #10114]
16752         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
16753         normal/normal case to before the switch.
16754         (_FP_DIV): Likewise.
16756 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
16757             Mike Frysinger  <vapier@gentoo.org>
16759         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
16760         check for __NR_fadvise64_64.
16762 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
16764         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
16765         0, not just to plain "0" as a statement.
16766         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
16767         with cw.
16769 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
16771         * NEWS: Use sourceware.org in Bugzilla URL.
16773 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
16775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16776         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16778         * stdio-common/tst-put-error.c (do_test): Add newline to the
16779         padded test to ensure flush.
16781 2012-12-05  Jeff Law  <law@redhat.com>
16783         * sunrpc/etc.rpc (fedfs_admin): Add entry.
16785 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
16787         * README: Don't refer to ports add-on as distributed separately.
16788         Mention AArch64 in list of systems supported in the ports add-on.
16790         * LICENSES: Add more non-FSF copyright and license notices.
16792         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
16793         ((unused)).
16795         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
16797         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
16798         10000 as width of padded output.
16800 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
16802         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
16804         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
16805         variable LX with __attribute__ ((unused)).
16806         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16807         Likewise.
16808         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16809         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16810         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
16811         with __attribute__ ((unused)).
16813 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
16815         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
16817 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
16819         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
16820         (CFLAGS-nldbl-acos.c): New variable.
16821         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
16822         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
16823         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
16824         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
16825         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
16826         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
16827         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
16828         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
16829         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
16830         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
16831         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
16832         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
16833         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
16834         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
16835         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
16836         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
16837         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
16838         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
16839         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
16840         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
16841         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
16842         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
16843         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
16844         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
16845         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
16846         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
16847         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
16848         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
16849         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
16850         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
16851         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
16852         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
16853         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
16854         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
16855         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
16856         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
16857         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
16858         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
16859         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
16860         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
16861         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
16862         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
16863         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
16864         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
16865         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
16866         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
16867         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
16868         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
16869         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
16870         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
16871         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
16872         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
16873         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
16874         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
16875         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
16876         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
16877         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
16878         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
16879         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
16880         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
16881         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
16882         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
16883         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
16884         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
16885         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
16886         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
16887         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
16888         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
16889         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
16890         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
16891         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
16892         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
16893         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
16894         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
16895         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
16896         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
16897         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
16898         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
16899         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
16900         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
16901         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
16902         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
16903         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
16904         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
16905         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
16906         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
16907         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
16908         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
16909         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
16910         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
16911         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
16912         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
16913         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
16914         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
16915         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
16916         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
16917         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
16919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16920         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16922         [BZ #14914]
16923         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
16924         whole low double instead of just low 47 bits when splitting values
16925         into two parts.
16927 2012-12-03  Allan McRae  <allan@archlinux.org>
16929         * manual/stdio.texi (Predefined Printf Handlers): Remove
16930         @hsep and @vsep usage.
16932 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
16934         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
16935         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
16937 2012-12-03  Jeff Law  <law@redhat.com>
16939         * time/sys/time.h (settimeofday): Do not mark TV argument
16940         as __nonnull.
16942 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
16944         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
16945         when currently writing and seek to current position when not.
16946         * libio/Makefile (tests): Remove bug-fclose1.
16947         * libio/bug-fclose1.c: Delete.
16949 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
16951         * manual/arith.texi (feenableexcept): Fix typo.
16952         (fedisableexcept): Likewise.
16954 2012-11-30  Roland McGrath  <roland@hack.frob.com>
16956         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
16957         second, differently-typed declaration, rather than a cast.
16959 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16961         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
16962         * include/rpc/svc.h: ... here.
16964 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
16966         [BZ #13013]
16967         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
16968         depending n and resplen2 to catch cases where answer
16969         equals answerp2.
16971 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
16973         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
16974         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
16976 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
16978         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
16980 2012-11-29  Roland McGrath  <roland@hack.frob.com>
16982         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
16984 2012-11-28  Jeff Law  <law@redhat.com>
16986         [BZ #13761]
16987         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
16988         dataset_temporary.  Track alloca usage into alloca_used.
16989         If dataset is large allocate and release it via malloc/free.
16991 2012-06-04  Florian Weimer  <fweimer@redhat.com>
16993         [BZ #14197]
16994         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
16996 2012-11-28  David S. Miller  <davem@davemloft.net>
16998         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17000 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
17002         [BZ #14803]
17003         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
17004         of pi/2 rounded to nearest to 64 bits.
17005         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
17006         nearest to 64 bits.
17007         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
17008         bits.
17010 2012-11-28  Jeff Law <law@redhat.com>
17011             Martin Osvald <mosvald@redhat.com>
17013         [BZ #14889]
17014         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
17015         * sunrpc/svc.c: Include time.h.
17016         (__svc_accept_failed): New function.
17017         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
17018         any reason other than EINTR, call __svc_accept_failed.
17019         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
17020         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
17022 2012-11-28  Andreas Schwab  <schwab@suse.de>
17024         * scripts/abilist.awk: Also handle indirect functions in .opd
17025         section.
17027 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
17029         [BZ #13881]
17030         * sysdeps/x86/fpu/powl_helper.c: New file.
17031         * sysdeps/x86/fpu/Makefile: Likewise.
17032         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
17033         (p3): New object.
17034         (__ieee754_powl): Use __powl_helper for finite arguments except
17035         integer exponents below 8.
17036         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
17037         (p3): New object.
17038         (__ieee754_powl): Use __powl_helper for finite arguments except
17039         integer exponents below 8.
17040         * math/libm-test.inc (pow_test): Add more tests and enable some
17041         previously disabled tests.
17042         * sysdeps/i386/fpu/libm-test-ulps: Update.
17043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17045 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17046             Carlos O'Donell  <carlos_odonell@mentor.com>
17048         * nss/makedb.c (is_prime): Assert that input is odd and greater
17049         than 4.  Note that fact in a comment too.
17050         (next_prime): Add 4 to input.
17052 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17054         [BZ #11741]
17055         * libio/Makefile (tests): Add test case tst-fwrite-error.
17056         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
17057         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
17058         * libio/tst-fwrite-error.c: New test case.
17060 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
17062         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
17063         before casting to void *.
17064         * include/libc-internal.h (__pointer_type): New macro.
17065         (__integer_if_pointer_type_sub): Likewise.
17066         (__integer_if_pointer_type): Likewise.
17067         (cast_to_integer): Likewise.
17068         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
17069         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
17070         before casting to atomic64_t.
17071         (atomic_exchange_acq): Likewise.
17072         (__arch_exchange_and_add_body): Likewise.
17073         (__arch_add_body): Likewise.
17074         (atomic_add_negative): Likewise.
17075         (atomic_add_zero): Likewise.
17077 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
17079         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
17080         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
17081         (add_fdes): Likewise.
17082         (linear_search_fdes): Likewise.
17083         (binary_search_unencoded_fdes): Likewise.
17085 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
17087         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
17089 2012-11-24  Adam Conrad  <adconrad@0c3.net>
17091         * configure.in: Autodetect C++ header directories.
17092         * configure: Regenerated.
17094 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
17096         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
17098 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
17100         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17102 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
17104         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
17105         LDBL_MANT_DIG == 106]: Disable some tests.
17106         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17107         Likewise.
17108         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17109         Likewise.
17111         [BZ #14871]
17112         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
17113         input for small inputs.  Return +/- pi/2 for large inputs.
17114         * math/libm-test.inc (atan_test): Add more tests.
17116         * sysdeps/generic/unwind-dw2-fde-glibc.c
17117         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
17118         __attribute__ ((unused)).
17120         [BZ #14645]
17121         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
17122         x * y if x and y are nonzero and z is zero.
17124         [BZ #14811]
17125         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
17126         nonzero exponents with absolute value below 0x1p-117 to +/-
17127         0x1p-117.
17129         [BZ #14869]
17130         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
17131         up arguments below 2**-450, not just those below 2**-500.
17132         * math/libm-test.inc (hypot_test): Add another test.
17134         [BZ #14868]
17135         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
17136         Return a+b for ratio over 2**120, not 2**60.
17137         * math/libm-test.inc (hypot_test): Add another test.
17139         * math/libm-test.inc (clog_test): Use
17140         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
17141         (clog10_test): Likewise.
17143         [BZ #6778]
17144         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
17146 2012-11-22  Andreas Schwab  <schwab@suse.de>
17148         * sysdeps/i386/fpu/libm-test-ulps: Update.
17150 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
17152         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
17153         printf output with newline.
17155 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
17157         [BZ #14865]
17158         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
17159         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
17160         -z nodlopen, -z initfirst and -z execstack support.
17161         * configure: Regenerated.
17163         * elf/elf.h (DF_1_NODIRECT): New macro.
17164         (DF_1_IGNMULDEF): Likewise.
17165         (DF_1_NOKSYMS): Likewise.
17166         (DF_1_NOHDR): Likewise.
17167         (DF_1_EDITED): Likewise.
17168         (DF_1_NORELOC): Likewise.
17169         (DF_1_SYMINTPOSE): Likewise.
17170         (DF_1_GLOBAUDIT): Likewise.
17171         (DF_1_SINGLETON): Likewise.
17172         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
17173         DT_1_SUPPORTED_MASK bits.
17174         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
17176 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
17178         * sysdeps/unix/make-syscalls.sh: Document prefixes.
17180 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
17182         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
17183         macro.
17185         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
17186         (sendmmsg): Move declarations...
17187         * socket/sys/socket.h: ... here.
17188         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
17189         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
17190         include it from...
17191         * socket/recvmmsg.c: ... this new file.
17192         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
17193         (sendmmsg): Rename to __sendmmsg, create weak alias and make
17194         definition of __sendmmsg hidden.
17195         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17196         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
17197         Move ENOSYS stub into and include it from...
17198         * socket/sendmmsg.c: ... this new file.
17199         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
17200         (sysdep_routines): Move recvmmsg and sendmmsg...
17201         * socket/Makefile (routines): ... here.
17202         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
17203         (GLIBC_PRIVATE): Add __sendmmsg.
17204         * include/sys/socket.h (__sendmmsg): Add declarations.
17205         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
17206         sendmmsg.
17208 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
17210         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
17211         variable I1 with __attribute__ ((unused)).
17212         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17214 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
17216         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
17217         DUMMY variables with __attribute__ ((unused)).
17219         * bits/byteswap.h: Include <bits/types.h>.
17220         (__bswap_64): Use __uint64_t instead of unsigned long long int.
17222 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
17224         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
17225         string_t.  Do not manually set errno.
17226         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
17227         length with __strnlen.  Make sure to both set errno and return it on
17228         failure.
17230 2012-11-19  David S. Miller  <davem@davemloft.net>
17232         With help from Joseph Myers.
17233         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
17234         very large arguments properly.
17235         * math/libm-test.inc (atan_test): New tests.
17236         (atan2_test): New tests.
17237         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17238         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17240 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
17242         [BZ #14856]
17243         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
17244         Define to 3.
17246         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
17247         [POSIX] (EADDRNOTAVAIL): Likewise.
17248         [POSIX] (EAFNOSUPPORT): Likewise.
17249         [POSIX] (EALREADY): Likewise.
17250         [POSIX] (ECONNABORTED): Likewise.
17251         [POSIX] (ECONNREFUSED): Likewise.
17252         [POSIX] (ECONNRESET): Likewise.
17253         [POSIX] (EDESTADDRREQ): Likewise.
17254         [POSIX] (EDQUOT): Likewise.
17255         [POSIX] (EHOSTUNREACH): Likewise.
17256         [POSIX] (EIDRM): Likewise.
17257         [POSIX] (EISCONN): Likewise.
17258         [POSIX] (ELOOP): Likewise.
17259         [POSIX] (EMULTIHOP): Likewise.
17260         [POSIX] (ENETDOWN): Likewise.
17261         [POSIX] (ENETUNREACH): Likewise.
17262         [POSIX] (ENOBUFS): Likewise.
17263         [POSIX] (ENODATA): Likewise.
17264         [POSIX] (ENOLINK): Likewise.
17265         [POSIX] (ENOMSG): Likewise.
17266         [POSIX] (ENOPROTOOPT): Likewise.
17267         [POSIX] (ENOSR): Likewise.
17268         [POSIX] (ENOSTR): Likewise.
17269         [POSIX] (ENOTCONN): Likewise.
17270         [POSIX] (ENOTSOCK): Likewise.
17271         [POSIX] (EOPNOTSUPP): Likewise.
17272         [POSIX] (EOVERFLOW): Likewise.
17273         [POSIX] (EPROTO): Likewise.
17274         [POSIX] (EPROTONOSUPPORT): Likewise.
17275         [POSIX] (EPROTOTYPE): Likewise.
17276         [POSIX] (ESTALE): Likewise.
17277         [POSIX] (ETIME): Likewise.
17278         [POSIX] (ETXTBSY): Likewise.
17279         [POSIX] (EWOULDBLOCK): Likewise.
17280         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
17281         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
17282         [POSIX] (SEEK_CUR): Likewise.
17283         [POSIX] (SEEK_END): Likewise.
17284         [POSIX || UNIX98] (mode_t): Do not require.
17285         [POSIX] (off_t): Likewise.
17286         [POSIX] (pid_t): Likewise.
17287         [POSIX] (sys/stat.h): Do not allow header.
17288         [POSIX] (unistd.h): Likewise.
17289         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
17290         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
17291         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
17292         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
17293         require.
17294         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
17295         sigevent): Specify elements.
17296         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
17297         entry.
17298         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
17299         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
17301         * conform/data/cpio.h-data [POSIX]: Disable whole file.
17302         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
17303         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
17304         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
17305         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
17306         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
17307         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
17308         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
17309         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
17310         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
17311         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
17312         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
17313         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
17314         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
17315         Likewise.
17316         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
17317         Likewise.
17318         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
17319         Likewise.
17320         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
17321         Likewise.
17322         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
17323         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
17324         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
17325         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
17326         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
17327         Specify lower bound on value.
17328         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
17329         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
17330         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
17331         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
17332         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
17333         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
17334         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
17335         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
17336         value.
17337         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
17338         as optional.
17339         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
17340         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
17341         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
17342         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
17343         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
17344         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
17345         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
17346         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
17347         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
17348         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
17349         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
17350         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
17351         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
17352         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
17353         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
17354         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
17355         entry.
17356         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
17357         optional.
17358         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
17359         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
17360         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
17361         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
17362         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
17363         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
17364         Likewise.
17365         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
17366         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
17367         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
17368         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
17369         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
17370         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
17371         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
17372         as optional.
17373         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
17374         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
17375         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
17376         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
17377         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
17378         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
17379         specify as optional.
17380         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
17381         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
17382         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
17383         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
17384         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
17385         [XPG3] (NL_LANGMAX): Likewise.
17386         [POSIX || XPG3] (NL_MSGMAX): Likewise.
17387         [POSIX || XPG3] (NL_NMAX): Likewise.
17388         [POSIX || XPG3] (NL_SETMAX): Likewise.
17389         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
17390         [XPG3] (NZERO): Likewise.
17391         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
17392         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
17393         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
17394         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
17395         (REG_ERANGE): Expect.
17396         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
17397         optional-constant.
17398         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
17399         Use (void) in prototype.
17400         [POSIX] (*_t): Allow.
17401         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
17402         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
17403         (WRDE_BADVAL): Expect.
17405         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
17406         expect.
17407         [XPG3 || XPG4] (O_RSYNC): Likewise.
17408         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
17409         Likewise.
17410         [XPG3 || XPG4] (pthread_sigmask): Likewise.
17411         [XPG3 || XPG4] (sigqueue): Likewise.
17412         [XPG3 || XPG4] (sigtimedwait): Likewise.
17413         [XPG3 || XPG4] (sigwaitinfo): Likewise.
17414         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
17415         [XPG3 || XPG4] (vsnprintf): Likewise.
17416         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
17417         Likewise.
17418         [XPG3 || XPG4] (blksize_t): Likewise.
17419         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
17420         Likewise.
17421         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
17422         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17423         [XPG3 || XPG4] (struct itimerspec): Likewise.
17424         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
17425         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
17426         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
17427         [XPG3 || XPG4] (clockid_t): Likewise.
17428         [XPG3 || XPG4] (timer_t): Likewise.
17429         [XPG3 || XPG4] (clock_getres): Likewise.
17430         [XPG3 || XPG4] (clock_gettime): Likewise.
17431         [XPG3 || XPG4] (clock_settime): Likewise.
17432         [XPG3 || XPG4] (nanosleep): Likewise.
17433         [XPG3 || XPG4] (timer_create): Likewise.
17434         [XPG3 || XPG4] (timer_delete): Likewise.
17435         [XPG3 || XPG4] (timer_gettime): Likewise.
17436         [XPG3 || XPG4] (timer_getoverrun): Likewise.
17437         [XPG3 || XPG4] (timer_settime): Likewise.
17438         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
17439         [XPG3 || XPG4] (getlogin_r): Likewise.
17440         [XPG3 || XPG4] (pread): Likewise.
17441         [XPG3 || XPG4] (pthread_atfork): Likewise.
17442         [XPG3 || XPG4] (pwrite): Likewise.
17444         [BZ #14835]
17445         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
17446         <bits/siginfo.h>.
17448 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
17450         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
17451         finalizing MALLSTREAM.
17453         * sysdeps/mach/hurd/syncfs.c: New file.
17455 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17457         [BZ #14719]
17458         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
17459         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
17460         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
17461         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
17462         (_nss_dns_gethostbyname4_r): Likewise.
17463         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
17464         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
17466 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
17468         [BZ #13763]
17469         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
17471 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
17473         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
17474         * elf/cache.c (print_entry): Print ",AArch64" for
17475         FLAG_AARCH64_LIB64
17477         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
17478         * elf/cache.c (print_entry): Print ",hard-float" for
17479         FLAG_ARM_LIBHF.
17481 2012-11-18  David S. Miller  <davem@davemloft.net>
17483         With help from Joseph Myers.
17484         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
17485         cutoff to 2**-13.
17486         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
17487         cutoff to 2**-25.
17488         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
17489         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
17490         small.
17491         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
17492         * math/libm-test.inc (y0_test): New tests.
17493         (y1_test): New tests.
17494         * sysdeps/i386/fpu/libm-test-ulps: Update.
17495         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17496         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17498 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
17500         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
17501         64-bit targets.
17502         * configure: Regenerated.
17504 2012-11-17  David S. Miller  <davem@davemloft.net>
17506         [BZ #14811]
17507         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
17508         nonzero exponents with absolute value below 0x1p-128 to +/-
17509         0x1p-128.
17511 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
17513         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
17515         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
17517         * posix/getconf-speclist.c: New file.
17518         * posix/posix-envs.def: Likewise.
17519         * posix/confstr.c (START_ENV_GROUP): New macro.
17520         (END_ENV_GROUP): Likewise.
17521         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17522         (KNOWN_PRESENT_ENV_STRING): Likewise.
17523         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17524         (UNKNOWN_ENVIRONMENT): Likewise.
17525         (confstr): Include posix-envs.def instead of handling
17526         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
17527         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
17528         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
17529         (END_ENV_GROUP): Likewise.
17530         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17531         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17532         (UNKNOWN_ENVIRONMENT): Likewise.
17533         (__sysconf): Include posix-envs.def instead of handling associated
17534         cases directly here.
17535         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
17536         preprocessing getconf-speclist.c rather than running getconf or
17537         generating empty file.
17539 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
17541         * scripts/check-local-headers.sh: Ignore 'mach' headers.
17543 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
17545         [BZ #14672]
17546         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
17548 2012-11-16  David S. Miller  <davem@davemloft.net>
17550         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
17551         smaller than LDBL_EPSILON/2.0L, just return xm1.
17553 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
17555         * elf/tst-array1.c (init): Set constructor priority to 1000.
17556         (fini): Set destructor priority to 1000.
17557         * elf/tst-array2dep.c: Likewise.
17559 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17561         [BZ #11741]
17562         * libio/fileops.c (_IO_new_file_write): Correctly return error.
17563         (_IO_new_file_xsputn): Also return EOF if none of the input
17564         data was written when overflow failed.
17565         * libio/iopadn.c (_IO_padn): Likewise.
17566         * libio/iowpadn.c (_IO_wpadn): Likewise.
17567         * stdio-common/tst-put-error.c: Add copyright notice.
17568         (do_test): Add case for printing padded string.
17569         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
17570         _IO_padn returned error.
17571         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
17572         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
17573         return EOF.
17575 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17577         * libio/libioP.h: Add comment note that the references to C++
17578         bits are now obsolete.
17580 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17582         * math/libm-test.inc (check_complex): Use asprintf.
17584 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
17586         * debug/pcprofiledump.c (print_version): Update copyright year.
17587         * malloc/memusagestat.c (print_version): Likewise.
17589 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
17591         [BZ #14831]
17592         * elf/Makefile (tests): Add tst-audit8.
17593         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
17594         ($(objpfx)tst-audit8.out): New target.
17595         (tst-audit8-ENV): New variable.
17596         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
17597         audit if l_reloc_result is NULL.
17598         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
17599         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
17600         * elf/tst-audit8.c: New file.
17602 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17604         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
17605         * misc/Makefile (CFLAGS-select.c): Define.
17606         * posix/Makefile (CFLAGS-pause.c): Define.
17608 2012-11-13  David S. Miller  <davem@davemloft.net>
17610         * crypt/Makefile: Move test targets after toplevel Rules
17611         inclusion.  Grab any necessary sysdep routines when linking.
17612         * crypt/md5.c (md5_process_block): Remove define, we will always
17613         name it __md5_process_block.
17614         (md5_finish_ctx): Update md5_process_block call.
17615         (md5_stream): Likewise.
17616         (md5_process_bytes): Likewise.
17617         (md5_process_block): Rename to __md5_process_block and move to ...
17618         * crypt/md5-block.c: ... here.
17619         * crypt/sha256.c (sha256_process_block): Move to ...
17620         * crypt/sha256-block.c: ... here.
17621         * crypt/sha512.c (sha512_process_block): Move to ...
17622         * crypt/sha512-block.c: ... here.
17623         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
17624         path.
17625         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
17626         * sysdeps/sparc/sparc64/multiarch/Makefile
17627         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
17628         crypt subdir.
17629         (localedef-aux): Add md5 crypto assembler when in locale subdir.
17630         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
17631         multiarch changes.
17632         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
17633         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
17634         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
17635         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
17636         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
17637         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
17638         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
17639         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
17640         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
17641         file.
17642         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
17643         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
17644         file.
17645         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
17647 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
17649         * timezone/tzselect.ksh: Update from tzcode git revision
17650         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
17651         * timezone/zdump.c: Likewise.
17652         * timezone/zic.c: Likewise.
17653         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
17654         in TZVERSION setting, not $(PKGVERSION).
17655         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
17656         REPORT_BUGS_TO settings.
17658         [BZ #14838]
17659         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
17660         macro.
17662 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17664         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
17665         detection to immediately after _FP_ROUND().
17666         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
17667         bits are 0.
17669 2012-11-11  David S. Miller  <davem@davemloft.net>
17671         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
17672         inttypes.h
17673         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
17674         __close rather than their public counterparts.
17676 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
17678         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
17679         file.
17680         [UNIX98] (sem_timedwait): Do not expect.
17681         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
17682         [XPG4 || UNIX98] (sockatmark): Do not expect.
17683         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
17684         (clock_getcpuclockid): Do not expect.
17685         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
17686         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
17687         Do not expect.
17688         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
17689         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
17690         [UNIX98] (vwscanf): Likewise.
17691         [UNIX98] (vswscanf): Likewise.
17693 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
17695         * timezone/version.h: Remove file.
17696         * timezone/README: Do not refer to version.h.
17697         * timezone/Makefile ($(objpfx)zic.o): New dependency on
17698         $(objpfx)version.h.
17699         ($(objpfx)zdump.o): Likewise.
17700         ($(objpfx)version.h): New target.
17702         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
17703         2012i.
17704         * timezone/README: Don't mention modification to tzselect.ksh.
17705         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
17706         work on unmodified tzselect.ksh.  Substitute version numbers in
17707         tzselect.ksh.
17709         * Makefile (format-me): Remove.
17710         (INSTALL): Adjust indentation.  Use commands directly instead of
17711         using $(format-me).
17713         * aclocal.m4 (ACX_PKGVERSION): New macro.
17714         (ACX_BUGURL): Likewise.
17715         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
17716         (PKGVERSION): New AC_DEFINE_UNQUOTED.
17717         (REPORT_BUGS_TO): Likewise.
17718         * configure: Regenerated.
17719         * config.h.in (PKGVERSION): New macro.
17720         (REPORT_BUGS_TO): Likewise.
17721         * config.make.in (PKGVERSION): New variable.
17722         (PKGVERSION_TEXI): Likewise.
17723         (REPORT_BUGS_TO): Likewise.
17724         (REPORT_BUGS_TEXI): Likewise.
17725         * Makefile (format-me): Use -I$(common-objpfx)manual.
17726         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
17727         ($(common-objpfx)manual/%): New target.
17728         (manual/%): Remove target.
17729         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
17730         (print_version): Use PKGVERSION.
17731         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
17732         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
17733         and REPORT_BUGS_TO.
17734         ($(objpfx)xtrace): Likewise.
17735         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
17736         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
17737         (print_version): Use PKGVERSION.
17738         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
17739         (do_version): Use PKGVERSION.
17740         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
17741         REPORT_BUGS_TO.
17742         (common-ldd-rewrite): Likewise.
17743         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
17744         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
17745         (print_version): Use PKGVERSION.
17746         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
17747         * elf/pldd.c (argp_program_bug_address): Remove variable.
17748         (more_help): New function.
17749         (argp): Use more_help.
17750         (print_version): Use PKGVERSION.
17751         * elf/sln.c (main): Use PKGVERSION.
17752         (usage): Use REPORT_BUGS_TO.
17753         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
17754         (top level): Use PKGVERSION.
17755         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
17756         (print_version): Use PKGVERSION.
17757         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
17758         (print_version): Use PKGVERSION.
17759         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
17760         (print_version): Use PKGVERSION.
17761         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
17762         (print_version): Use PKGVERSION.
17763         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
17764         (print_version): Use PKGVERSION.
17765         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
17766         (print_version): Use PKGVERSION.
17767         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
17768         and BUGURL.
17769         ($(objpfx)memusage): Likewise.
17770         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
17771         (do_version): Use PKGVERSION.
17772         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
17773         (print_version): Use PKGVERSION.
17774         * malloc/mtrace.pl ($PACKAGE): Remove variable.
17775         ($PKGVERSION): New variable.
17776         ($REPORT_BUGS_TO): Likewise.
17777         (usage): Use $REPORT_BUGS_TO.
17778         (top level): Use $PKGVERSION.
17779         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
17780         ($(objpfx)pkgvers.texi): New rule.
17781         ($(objpfx)stamp-pkgvers): Likewise.
17782         * manual/install.texi: Include pkgvers.texi.
17783         (--with-pkgversion): Document new configure option.
17784         (--with-bugurl): Likewise.
17785         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
17786         than necessarily for this particular distribution.  Use
17787         REPORT_BUGS_TO for where to report bugs.
17788         * INSTALL: Regenerated.
17789         * manual/libc.texinfo: Include pkgvers.texi.
17790         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
17791         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
17792         (print_version): Use PKGVERSION.
17793         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
17794         (print_version): Use PKGVERSION.
17795         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
17796         (print_version): Use PKGVERSION.
17797         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
17798         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
17799         macro.
17800         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
17801         (print_version): Use PKGVERSION.
17802         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
17803         (print_version): Use PKGVERSION.
17804         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
17805         and PKGVERSION.
17807         * timezone/checktab.awk: Update from tzcode 2012i.
17808         * timezone/ialloc.c: Likewise.
17809         * timezone/private.h: Likewise.
17810         * timezone/scheck.c: Likewise.
17811         * timezone/tzfile.h: Likewise.
17812         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
17813         (TZVERSION): Hardcode tzcode version number.
17814         * timezone/zdump.c: Update from tzcode 2012i.
17815         * timezone/zic.c: Likewise.
17816         * timezone/version.h: New file.
17817         * timezone/README: Describe version.h.  Update upstream location.
17819         [BZ #14824]
17820         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
17821         (mktemp): Enable declaration.
17822         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
17823         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
17824         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
17825         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
17826         Likewise.
17827         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
17828         Likewise.
17829         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
17830         Likewise.
17831         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
17832         Likewise.
17833         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
17834         Likewise.
17835         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
17836         Likewise.
17838         [BZ #14821]
17839         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
17840         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
17841         for copies of such integer values.
17842         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17843         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17845 2012-11-09  Andreas Jaeger  <aj@suse.de>
17847         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
17848         definitions and declarations that are provided by
17849         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17851 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17853         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
17854         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
17855         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
17856         definition.
17858 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17860         * elf/elf.h: Update comment before AArch64 relocations.
17862 2012-11-07  David S. Miller  <davem@davemloft.net>
17864         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
17865         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17866         (__start_context): Declare.
17867         (__makecontext_ret): Delete.
17868         (__makecontext): Hook up __start_context instead of
17869         __makecontext_ret.
17870         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
17871         (sysdep_routines): Add __start_context when in stdlib.
17873 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17875         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
17876         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
17877         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
17878         hardcoded "nm".
17879         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
17880         (READELF): New variable.  Use it instead of hardcoded "readelf".
17882 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
17884         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
17885         * sysdeps/x86/Makefile: Here.
17886         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
17887         * sysdeps/x86/tst-xmmymm.sh: This.
17889 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17891         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
17892         expectations.
17893         [UNIX98] (pthread_barrier_t): Do not expect.
17894         [UNIX98] (pthread_barrierattr_t): Likewise.
17895         [UNIX98] (pthread_spinlock_t): Likewise.
17896         [UNIX98] (pthread_barrier_destroy): Likewise.
17897         [UNIX98] (pthread_barrier_init): Likewise.
17898         [UNIX98] (pthread_barrier_wait): Likewise.
17899         [UNIX98] (pthread_barrierattr_destroy): Likewise.
17900         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
17901         [UNIX98] (pthread_barrierattr_init): Likewise.
17902         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
17903         [UNIX98] (pthread_getcpuclockid): Likewise.
17904         [UNIX98] (pthread_mutex_timedlock): Likewise.
17905         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
17906         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
17907         [UNIX98] (pthread_sigmask): Likewise.
17908         [UNIX98] (pthread_spin_destroy): Likewise.
17909         [UNIX98] (pthread_spin_init): Likewise.
17910         [UNIX98] (pthread_spin_lock): Likewise.
17911         [UNIX98] (pthread_spin_trylock): Likewise.
17912         [UNIX98] (pthread_spin_unlock): Likewise.
17913         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
17914         Do not expect.
17915         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
17916         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
17917         [XPG3 || XPG4] (pthread_cond_t): Likewise.
17918         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
17919         [XPG3 || XPG4] (pthread_key_t): Likewise.
17920         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
17921         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
17922         [XPG3 || XPG4] (pthread_once_t): Likewise.
17923         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
17924         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
17925         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
17926         [XPG3 || XPG4] (pthread_t): Likewise.
17928         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
17929         not expect.
17930         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
17932         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
17933         Change function return type to int.
17935         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
17936         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
17937         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
17938         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
17939         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
17940         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
17941         [!POSIX] (posix_madvise): Likewise.
17942         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
17943         && !UNIX98].
17944         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
17945         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
17946         (mode_t): Likewise.
17947         (posix_mem_offset): Likewise.
17948         (posix_typed_mem_get_info): Likewise.
17949         (posix_typed_mem_open): Likewise.
17951         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
17952         Change condition to [XOPEN2K8].
17954         * conform/conformtest.pl: Preprocess allow-header data with -x c
17955         instead of from stdin.
17956         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
17957         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
17958         [C99-based standards] (cerfc): Likewise.
17959         [C99-based standards] (cexp2): Likewise.
17960         [C99-based standards] (cexpm1): Likewise.
17961         [C99-based standards] (clog10): Likewise.
17962         [C99-based standards] (clog1p): Likewise.
17963         [C99-based standards] (clog2): Likewise.
17964         [C99-based standards] (clgamma): Likewise.
17965         [C99-based standards] (ctgamma): Likewise.
17966         [C99-based standards] (cerff): Likewise.
17967         [C99-based standards] (cerfcf): Likewise.
17968         [C99-based standards] (cexp2f): Likewise.
17969         [C99-based standards] (cexpm1f): Likewise.
17970         [C99-based standards] (clog10f): Likewise.
17971         [C99-based standards] (clog1pf): Likewise.
17972         [C99-based standards] (clog2f): Likewise.
17973         [C99-based standards] (clgammaf): Likewise.
17974         [C99-based standards] (ctgammaf): Likewise.
17975         [C99-based standards] (cerfl): Likewise.
17976         [C99-based standards] (cerfcl): Likewise.
17977         [C99-based standards] (cexp2l): Likewise.
17978         [C99-based standards] (cexpm1l): Likewise.
17979         [C99-based standards] (clog10l): Likewise.
17980         [C99-based standards] (clog1pl): Likewise.
17981         [C99-based standards] (clog2l): Likewise.
17982         [C99-based standards] (clgammal): Likewise.
17983         [C99-based standards] (ctgammal): Likewise.
17984         * conform/data/inttypes.h-data [C99-based standards]: Include
17985         stdint.h-data.  Remove all expectations for stdint.h contents.
17986         [C99-based standards] (PRI*): Do not allow.
17987         [C99-based standards] (SCN*): Likewise.
17988         [C99-based standards] (*_t): Likewise.
17989         [C99-based-standards] (PRId8): Expect macro.
17990         [C99-based-standards] (PRIi8): Likewise.
17991         [C99-based-standards] (PRIo8): Likewise.
17992         [C99-based-standards] (PRIu8): Likewise.
17993         [C99-based-standards] (PRIx8): Likewise.
17994         [C99-based-standards] (PRIX8): Likewise.
17995         [C99-based-standards] (SCNd8): Likewise.
17996         [C99-based-standards] (SCNi8): Likewise.
17997         [C99-based-standards] (SCNo8): Likewise.
17998         [C99-based-standards] (SCNu8): Likewise.
17999         [C99-based-standards] (SCNx8): Likewise.
18000         [C99-based-standards] (PRIdLEAST8): Likewise.
18001         [C99-based-standards] (PRIiLEAST8): Likewise.
18002         [C99-based-standards] (PRIoLEAST8): Likewise.
18003         [C99-based-standards] (PRIuLEAST8): Likewise.
18004         [C99-based-standards] (PRIxLEAST8): Likewise.
18005         [C99-based-standards] (PRIXLEAST8): Likewise.
18006         [C99-based-standards] (SCNdLEAST8): Likewise.
18007         [C99-based-standards] (SCNiLEAST8): Likewise.
18008         [C99-based-standards] (SCNoLEAST8): Likewise.
18009         [C99-based-standards] (SCNuLEAST8): Likewise.
18010         [C99-based-standards] (SCNxLEAST8): Likewise.
18011         [C99-based-standards] (PRIdFAST8): Likewise.
18012         [C99-based-standards] (PRIiFAST8): Likewise.
18013         [C99-based-standards] (PRIoFAST8): Likewise.
18014         [C99-based-standards] (PRIuFAST8): Likewise.
18015         [C99-based-standards] (PRIxFAST8): Likewise.
18016         [C99-based-standards] (PRIXFAST8): Likewise.
18017         [C99-based-standards] (SCNdFAST8): Likewise.
18018         [C99-based-standards] (SCNiFAST8): Likewise.
18019         [C99-based-standards] (SCNoFAST8): Likewise.
18020         [C99-based-standards] (SCNuFAST8): Likewise.
18021         [C99-based-standards] (SCNxFAST8): Likewise.
18022         [C99-based-standards] (PRId16): Likewise.
18023         [C99-based-standards] (PRIi16): Likewise.
18024         [C99-based-standards] (PRIo16): Likewise.
18025         [C99-based-standards] (PRIu16): Likewise.
18026         [C99-based-standards] (PRIx16): Likewise.
18027         [C99-based-standards] (PRIX16): Likewise.
18028         [C99-based-standards] (SCNd16): Likewise.
18029         [C99-based-standards] (SCNi16): Likewise.
18030         [C99-based-standards] (SCNo16): Likewise.
18031         [C99-based-standards] (SCNu16): Likewise.
18032         [C99-based-standards] (SCNx16): Likewise.
18033         [C99-based-standards] (PRIdLEAST16): Likewise.
18034         [C99-based-standards] (PRIiLEAST16): Likewise.
18035         [C99-based-standards] (PRIoLEAST16): Likewise.
18036         [C99-based-standards] (PRIuLEAST16): Likewise.
18037         [C99-based-standards] (PRIxLEAST16): Likewise.
18038         [C99-based-standards] (PRIXLEAST16): Likewise.
18039         [C99-based-standards] (SCNdLEAST16): Likewise.
18040         [C99-based-standards] (SCNiLEAST16): Likewise.
18041         [C99-based-standards] (SCNoLEAST16): Likewise.
18042         [C99-based-standards] (SCNuLEAST16): Likewise.
18043         [C99-based-standards] (SCNxLEAST16): Likewise.
18044         [C99-based-standards] (PRIdFAST16): Likewise.
18045         [C99-based-standards] (PRIiFAST16): Likewise.
18046         [C99-based-standards] (PRIoFAST16): Likewise.
18047         [C99-based-standards] (PRIuFAST16): Likewise.
18048         [C99-based-standards] (PRIxFAST16): Likewise.
18049         [C99-based-standards] (PRIXFAST16): Likewise.
18050         [C99-based-standards] (SCNdFAST16): Likewise.
18051         [C99-based-standards] (SCNiFAST16): Likewise.
18052         [C99-based-standards] (SCNoFAST16): Likewise.
18053         [C99-based-standards] (SCNuFAST16): Likewise.
18054         [C99-based-standards] (SCNxFAST16): Likewise.
18055         [C99-based-standards] (PRId32): Likewise.
18056         [C99-based-standards] (PRIi32): Likewise.
18057         [C99-based-standards] (PRIo32): Likewise.
18058         [C99-based-standards] (PRIu32): Likewise.
18059         [C99-based-standards] (PRIx32): Likewise.
18060         [C99-based-standards] (PRIX32): Likewise.
18061         [C99-based-standards] (SCNd32): Likewise.
18062         [C99-based-standards] (SCNi32): Likewise.
18063         [C99-based-standards] (SCNo32): Likewise.
18064         [C99-based-standards] (SCNu32): Likewise.
18065         [C99-based-standards] (SCNx32): Likewise.
18066         [C99-based-standards] (PRIdLEAST32): Likewise.
18067         [C99-based-standards] (PRIiLEAST32): Likewise.
18068         [C99-based-standards] (PRIoLEAST32): Likewise.
18069         [C99-based-standards] (PRIuLEAST32): Likewise.
18070         [C99-based-standards] (PRIxLEAST32): Likewise.
18071         [C99-based-standards] (PRIXLEAST32): Likewise.
18072         [C99-based-standards] (SCNdLEAST32): Likewise.
18073         [C99-based-standards] (SCNiLEAST32): Likewise.
18074         [C99-based-standards] (SCNoLEAST32): Likewise.
18075         [C99-based-standards] (SCNuLEAST32): Likewise.
18076         [C99-based-standards] (SCNxLEAST32): Likewise.
18077         [C99-based-standards] (PRIdFAST32): Likewise.
18078         [C99-based-standards] (PRIiFAST32): Likewise.
18079         [C99-based-standards] (PRIoFAST32): Likewise.
18080         [C99-based-standards] (PRIuFAST32): Likewise.
18081         [C99-based-standards] (PRIxFAST32): Likewise.
18082         [C99-based-standards] (PRIXFAST32): Likewise.
18083         [C99-based-standards] (SCNdFAST32): Likewise.
18084         [C99-based-standards] (SCNiFAST32): Likewise.
18085         [C99-based-standards] (SCNoFAST32): Likewise.
18086         [C99-based-standards] (SCNuFAST32): Likewise.
18087         [C99-based-standards] (SCNxFAST32): Likewise.
18088         [C99-based-standards] (PRId64): Likewise.
18089         [C99-based-standards] (PRIi64): Likewise.
18090         [C99-based-standards] (PRIo64): Likewise.
18091         [C99-based-standards] (PRIu64): Likewise.
18092         [C99-based-standards] (PRIx64): Likewise.
18093         [C99-based-standards] (PRIX64): Likewise.
18094         [C99-based-standards] (SCNd64): Likewise.
18095         [C99-based-standards] (SCNi64): Likewise.
18096         [C99-based-standards] (SCNo64): Likewise.
18097         [C99-based-standards] (SCNu64): Likewise.
18098         [C99-based-standards] (SCNx64): Likewise.
18099         [C99-based-standards] (PRIdLEAST64): Likewise.
18100         [C99-based-standards] (PRIiLEAST64): Likewise.
18101         [C99-based-standards] (PRIoLEAST64): Likewise.
18102         [C99-based-standards] (PRIuLEAST64): Likewise.
18103         [C99-based-standards] (PRIxLEAST64): Likewise.
18104         [C99-based-standards] (PRIXLEAST64): Likewise.
18105         [C99-based-standards] (SCNdLEAST64): Likewise.
18106         [C99-based-standards] (SCNiLEAST64): Likewise.
18107         [C99-based-standards] (SCNoLEAST64): Likewise.
18108         [C99-based-standards] (SCNuLEAST64): Likewise.
18109         [C99-based-standards] (SCNxLEAST64): Likewise.
18110         [C99-based-standards] (PRIdFAST64): Likewise.
18111         [C99-based-standards] (PRIiFAST64): Likewise.
18112         [C99-based-standards] (PRIoFAST64): Likewise.
18113         [C99-based-standards] (PRIuFAST64): Likewise.
18114         [C99-based-standards] (PRIxFAST64): Likewise.
18115         [C99-based-standards] (PRIXFAST64): Likewise.
18116         [C99-based-standards] (SCNdFAST64): Likewise.
18117         [C99-based-standards] (SCNiFAST64): Likewise.
18118         [C99-based-standards] (SCNoFAST64): Likewise.
18119         [C99-based-standards] (SCNuFAST64): Likewise.
18120         [C99-based-standards] (SCNxFAST64): Likewise.
18121         [C99-based-standards] (PRIdMAX): Likewise.
18122         [C99-based-standards] (PRIiMAX): Likewise.
18123         [C99-based-standards] (PRIoMAX): Likewise.
18124         [C99-based-standards] (PRIuMAX): Likewise.
18125         [C99-based-standards] (PRIxMAX): Likewise.
18126         [C99-based-standards] (PRIXMAX): Likewise.
18127         [C99-based-standards] (SCNdMAX): Likewise.
18128         [C99-based-standards] (SCNiMAX): Likewise.
18129         [C99-based-standards] (SCNoMAX): Likewise.
18130         [C99-based-standards] (SCNuMAX): Likewise.
18131         [C99-based-standards] (SCNxMAX): Likewise.
18132         [C99-based-standards] (PRIdPTR): Likewise.
18133         [C99-based-standards] (PRIiPTR): Likewise.
18134         [C99-based-standards] (PRIoPTR): Likewise.
18135         [C99-based-standards] (PRIuPTR): Likewise.
18136         [C99-based-standards] (PRIxPTR): Likewise.
18137         [C99-based-standards] (PRIXPTR): Likewise.
18138         [C99-based-standards] (SCNdPTR): Likewise.
18139         [C99-based-standards] (SCNiPTR): Likewise.
18140         [C99-based-standards] (SCNoPTR): Likewise.
18141         [C99-based-standards] (SCNuPTR): Likewise.
18142         [C99-based-standards] (SCNxPTR): Likewise.
18143         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
18144         allow.
18145         * conform/data/stdint.h-data: Update comments to clarify
18146         requirements.
18147         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
18148         type.
18149         [C99-based standards] (INT8_MAX): Likewise.
18150         [C99-based standards] (INT16_MIN): Likewise.
18151         [C99-based standards] (INT16_MAX): Likewise.
18152         [C99-based standards] (INT32_MIN): Likewise.
18153         [C99-based standards] (INT32_MAX): Likewise.
18154         [C99-based standards] (INT64_MIN): Likewise.
18155         [C99-based standards] (INT64_MAX): Likewise.
18156         [C99-based standards] (UINT8_MAX): Likewise.
18157         [C99-based standards] (UINT16_MAX): Likewise.
18158         [C99-based standards] (UINT32_MAX): Likewise.
18159         [C99-based standards] (UINT64_MAX): Likewise.
18160         [C99-based standards] (INT_LEAST8_MIN): Likewise.
18161         [C99-based standards] (INT_LEAST8_MAX): Likewise.
18162         [C99-based standards] (INT_LEAST16_MIN): Likewise.
18163         [C99-based standards] (INT_LEAST16_MAX): Likewise.
18164         [C99-based standards] (INT_LEAST32_MIN): Likewise.
18165         [C99-based standards] (INT_LEAST32_MAX): Likewise.
18166         [C99-based standards] (INT_LEAST64_MIN): Likewise.
18167         [C99-based standards] (INT_LEAST64_MAX): Likewise.
18168         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
18169         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
18170         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
18171         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
18172         [C99-based standards] (INT_FAST8_MIN): Likewise.
18173         [C99-based standards] (INT_FAST8_MAX): Likewise.
18174         [C99-based standards] (INT_FAST16_MIN): Likewise.
18175         [C99-based standards] (INT_FAST16_MAX): Likewise.
18176         [C99-based standards] (INT_FAST32_MIN): Likewise.
18177         [C99-based standards] (INT_FAST32_MAX): Likewise.
18178         [C99-based standards] (INT_FAST64_MIN): Likewise.
18179         [C99-based standards] (INT_FAST64_MAX): Likewise.
18180         [C99-based standards] (UINT_FAST8_MAX): Likewise.
18181         [C99-based standards] (UINT_FAST16_MAX): Likewise.
18182         [C99-based standards] (UINT_FAST32_MAX): Likewise.
18183         [C99-based standards] (UINT_FAST64_MAX): Likewise.
18184         [C99-based standards] (INTPTR_MIN): Likewise.
18185         [C99-based standards] (INTPTR_MAX): Likewise.
18186         [C99-based standards] (UINTPTR_MAX): Likewise.
18187         [C99-based standards] (INTMAX_MIN): Likewise.
18188         [C99-based standards] (INTMAX_MAX): Likewise.
18189         [C99-based standards] (UINTMAX_MAX): Likewise.
18190         [C99-based standards] (PTRDIFF_MIN): Likewise.
18191         [C99-based standards] (PTRDIFF_MAX): Likewise.
18192         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
18193         [C99-based standards] (SIZE_MAX): Likewise.
18194         [C99-based standards] (WCHAR_MAX): Likewise.
18195         [C99-based standards] (WINT_MAX): Likewise.
18196         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
18197         constraint on value.
18198         [C99-based standards] (WCHAR_MIN): Likewise.
18199         [C99-based standards] (WINT_MIN): Likewise.
18200         [C99-based standards] (*_t): Allow.
18201         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
18202         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
18203         Include math.h-data and complex.h-data.  Remove all expectations
18204         of math.h and complex.h contents.
18205         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
18206         at end of line.
18207         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
18208         (struct tm): Expect tag.
18209         [C99-based-standards] (wcstof): Expect function.
18210         [C99-based-standards] (wcstold): Likewise.
18211         [C99-based-standards] (wcstoll): Likewise.
18212         [C99-based-standards] (wcstoull): Likewise.
18213         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
18214         macro-int-constant.  Specify type.
18215         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
18216         constraint on value.
18217         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18218         Specify type.
18219         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
18220         Specify value.
18221         [ISO C standards]: Do not allow headers.
18222         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
18223         wcs[abcdefghijklmnopqrstuvwxyz]*.
18224         [ISO C standards] (*_t): Do not allow.
18225         * conform/data/wctype.h-data [C99-based standards] (iswblank):
18226         Expect function.
18227         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
18228         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18229         Specify type.
18230         [ISO C standards]: Do not allow headers.
18231         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
18232         is[abcdefghijklmnopqrstuvwxyz]*.
18233         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
18234         to[abcdefghijklmnopqrstuvwxyz]*.
18235         [ISO C standards] (*_t): Do not allow.
18236         * conform/data/stdalign.h-data: New file.
18237         * conform/data/stdbool.h-data: Likewise.
18238         * conform/data/stdnoreturn.h-data: Likewise.
18240 2012-11-07  Roland McGrath  <roland@hack.frob.com>
18242         [BZ #14815]
18243         * manual/filesys.texi (Directory Entries): Typo fix.
18244         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
18246 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18248         * elf/elf.h (EM_AARCH64): New macro.
18249         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
18250         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
18251         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
18252         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
18253         (R_AARCH64_TLSDESC): Likewise.
18254         (NT_ARM_TLS): Likewise.
18255         (NT_ARM_HW_BREAK): Likewise.
18256         (NT_ARM_HW_WATCH): Likewise.
18258 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
18260         [BZ #14811]
18261         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
18262         (__ieee754_powl): Saturate nonzero exponents with absolute value
18263         below 0x1p-79 to +/- 0x1p-79.
18264         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
18265         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
18266         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
18267         nonzero exponents with absolute value below 0x1p-32 to +/-
18268         0x1p-32.
18269         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
18270         (__ieee754_powl): Saturate nonzero exponents with absolute value
18271         below 0x1p-79 to +/- 0x1p-79.
18272         * math/libm-test.inc (pow_test): Add more tests.
18274 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18276         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
18277         _dl_s390_cap_flags with kernel. Increase string length.
18278         (_dl_s390_platforms): Add z196 and zEC12.
18280 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
18282         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
18283         Change XOPEN21K to XOPEN2K.
18285 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
18287         * string/memmove.c: Use memcpy when possible.
18289 2012-11-06  Andreas Jaeger  <aj@suse.de>
18291         * po/eo.po: Update from translation team.
18293 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
18295         [BZ #14793]
18296         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
18297         exponent and small x and y exponents, scale x or y up.  Increase
18298         by 2 the exponent used in scaling up.
18299         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18300         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18301         * math/libm-test.inc (fma_test): Add more tests.
18302         (fma_test_towardzero): Likewise.
18303         (fma_test_downward): Likewise.
18304         (fma_test_upward): Likewise.
18306 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
18308         [BZ #14805]
18309         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
18310         fenv_t *.
18312         [BZ #14801]
18313         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
18314         namespace for names of struct fields.
18315         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
18316         fenv_t fields.
18317         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
18318         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
18320 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18322         [BZ #3665]
18323         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
18325 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
18327         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
18328         PTR_DEMANGLE.
18330         [BZ #5246]
18331         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
18332         PTR_DEMANGLE.
18334 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
18336         [BZ #14797]
18337         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
18338         definitely overflow as x * y not x * y + z.
18339         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18340         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18341         * math/libm-test.inc (fma_test): Add more tests.
18342         (fma_test_towardzero): Likewise.
18343         (fma_test_downward): Likewise.
18344         (fma_test_upward): Likewise.
18346 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
18348         [BZ #157]
18350         * include/stub-tag.h: Remove file.
18351         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
18352         '#include' of it.
18353         * manual/maint.texi (Porting): Don't reference it.
18354         * Makerules ($(objpfx)stubs): Likewise.
18355         * dirent/closedir.c: Don't include <stub-tag.h>.
18356         * dirent/dirfd.c: Likewise.
18357         * dirent/fdopendir.c: Likewise.
18358         * dirent/getdents.c: Likewise.
18359         * dirent/getdents64.c: Likewise.
18360         * dirent/opendir.c: Likewise.
18361         * dirent/readdir.c: Likewise.
18362         * dirent/readdir64.c: Likewise.
18363         * dirent/readdir64_r.c: Likewise.
18364         * dirent/readdir_r.c: Likewise.
18365         * dirent/rewinddir.c: Likewise.
18366         * dirent/seekdir.c: Likewise.
18367         * dirent/telldir.c: Likewise.
18368         * gmon/profil.c: Likewise.
18369         * grp/setgroups.c: Likewise.
18370         * inet/if_index.c: Likewise.
18371         * io/access.c: Likewise.
18372         * io/chdir.c: Likewise.
18373         * io/chmod.c: Likewise.
18374         * io/chown.c: Likewise.
18375         * io/close.c: Likewise.
18376         * io/dup.c: Likewise.
18377         * io/dup2.c: Likewise.
18378         * io/dup3.c: Likewise.
18379         * io/euidaccess.c: Likewise.
18380         * io/faccessat.c: Likewise.
18381         * io/fchdir.c: Likewise.
18382         * io/fchmod.c: Likewise.
18383         * io/fchmodat.c: Likewise.
18384         * io/fchown.c: Likewise.
18385         * io/fchownat.c: Likewise.
18386         * io/fcntl.c: Likewise.
18387         * io/flock.c: Likewise.
18388         * io/fstatfs.c: Likewise.
18389         * io/fstatfs64.c: Likewise.
18390         * io/fstatvfs.c: Likewise.
18391         * io/fstatvfs64.c: Likewise.
18392         * io/futimens.c: Likewise.
18393         * io/fxstat.c: Likewise.
18394         * io/fxstat64.c: Likewise.
18395         * io/fxstatat.c: Likewise.
18396         * io/fxstatat64.c: Likewise.
18397         * io/getcwd.c: Likewise.
18398         * io/isatty.c: Likewise.
18399         * io/lchmod.c: Likewise.
18400         * io/lchown.c: Likewise.
18401         * io/link.c: Likewise.
18402         * io/linkat.c: Likewise.
18403         * io/lseek.c: Likewise.
18404         * io/lseek64.c: Likewise.
18405         * io/lxstat64.c: Likewise.
18406         * io/mkdir.c: Likewise.
18407         * io/mkdirat.c: Likewise.
18408         * io/mkfifo.c: Likewise.
18409         * io/mkfifoat.c: Likewise.
18410         * io/open.c: Likewise.
18411         * io/open64.c: Likewise.
18412         * io/openat.c: Likewise.
18413         * io/openat64.c: Likewise.
18414         * io/pipe.c: Likewise.
18415         * io/pipe2.c: Likewise.
18416         * io/poll.c: Likewise.
18417         * io/posix_fadvise.c: Likewise.
18418         * io/posix_fadvise64.c: Likewise.
18419         * io/posix_fallocate.c: Likewise.
18420         * io/posix_fallocate64.c: Likewise.
18421         * io/read.c: Likewise.
18422         * io/readlink.c: Likewise.
18423         * io/readlinkat.c: Likewise.
18424         * io/rmdir.c: Likewise.
18425         * io/sendfile.c: Likewise.
18426         * io/sendfile64.c: Likewise.
18427         * io/statfs.c: Likewise.
18428         * io/statfs64.c: Likewise.
18429         * io/statvfs.c: Likewise.
18430         * io/statvfs64.c: Likewise.
18431         * io/symlink.c: Likewise.
18432         * io/symlinkat.c: Likewise.
18433         * io/ttyname.c: Likewise.
18434         * io/ttyname_r.c: Likewise.
18435         * io/umask.c: Likewise.
18436         * io/unlink.c: Likewise.
18437         * io/unlinkat.c: Likewise.
18438         * io/utime.c: Likewise.
18439         * io/utimensat.c: Likewise.
18440         * io/write.c: Likewise.
18441         * io/xmknod.c: Likewise.
18442         * io/xmknodat.c: Likewise.
18443         * io/xstat.c: Likewise.
18444         * io/xstat64.c: Likewise.
18445         * login/getpt.c: Likewise.
18446         * login/grantpt.c: Likewise.
18447         * login/unlockpt.c: Likewise.
18448         * math/e_acoshl.c: Likewise.
18449         * math/e_acosl.c: Likewise.
18450         * math/e_asinl.c: Likewise.
18451         * math/e_atan2l.c: Likewise.
18452         * math/e_atanhl.c: Likewise.
18453         * math/e_coshl.c: Likewise.
18454         * math/e_expl.c: Likewise.
18455         * math/e_fmodl.c: Likewise.
18456         * math/e_gammal_r.c: Likewise.
18457         * math/e_hypotl.c: Likewise.
18458         * math/e_j0l.c: Likewise.
18459         * math/e_j1l.c: Likewise.
18460         * math/e_jnl.c: Likewise.
18461         * math/e_lgammal_r.c: Likewise.
18462         * math/e_log10l.c: Likewise.
18463         * math/e_log2l.c: Likewise.
18464         * math/e_logl.c: Likewise.
18465         * math/e_powl.c: Likewise.
18466         * math/e_rem_pio2l.c: Likewise.
18467         * math/e_sinhl.c: Likewise.
18468         * math/e_sqrtl.c: Likewise.
18469         * math/fclrexcpt.c: Likewise.
18470         * math/fedisblxcpt.c: Likewise.
18471         * math/feenablxcpt.c: Likewise.
18472         * math/fegetenv.c: Likewise.
18473         * math/fegetexcept.c: Likewise.
18474         * math/fegetround.c: Likewise.
18475         * math/feholdexcpt.c: Likewise.
18476         * math/fesetenv.c: Likewise.
18477         * math/fesetround.c: Likewise.
18478         * math/feupdateenv.c: Likewise.
18479         * math/fgetexcptflg.c: Likewise.
18480         * math/fraiseexcpt.c: Likewise.
18481         * math/fsetexcptflg.c: Likewise.
18482         * math/ftestexcept.c: Likewise.
18483         * math/k_cosl.c: Likewise.
18484         * math/k_rem_pio2l.c: Likewise.
18485         * math/k_sinl.c: Likewise.
18486         * math/k_tanl.c: Likewise.
18487         * math/s_asinhl.c: Likewise.
18488         * math/s_atanl.c: Likewise.
18489         * math/s_cbrtl.c: Likewise.
18490         * math/s_erfl.c: Likewise.
18491         * math/s_expm1l.c: Likewise.
18492         * math/s_log1pl.c: Likewise.
18493         * math/s_tanhl.c: Likewise.
18494         * misc/acct.c: Likewise.
18495         * misc/brk.c: Likewise.
18496         * misc/chflags.c: Likewise.
18497         * misc/chroot.c: Likewise.
18498         * misc/fchflags.c: Likewise.
18499         * misc/fgetxattr.c: Likewise.
18500         * misc/flistxattr.c: Likewise.
18501         * misc/fremovexattr.c: Likewise.
18502         * misc/fsetxattr.c: Likewise.
18503         * misc/fsync.c: Likewise.
18504         * misc/ftruncate.c: Likewise.
18505         * misc/futimes.c: Likewise.
18506         * misc/futimesat.c: Likewise.
18507         * misc/getdomain.c: Likewise.
18508         * misc/getdtsz.c: Likewise.
18509         * misc/gethostid.c: Likewise.
18510         * misc/gethostname.c: Likewise.
18511         * misc/getloadavg.c: Likewise.
18512         * misc/getpagesize.c: Likewise.
18513         * misc/getsysstats.c: Likewise.
18514         * misc/getxattr.c: Likewise.
18515         * misc/gtty.c: Likewise.
18516         * misc/ioctl.c: Likewise.
18517         * misc/lgetxattr.c: Likewise.
18518         * misc/listxattr.c: Likewise.
18519         * misc/llistxattr.c: Likewise.
18520         * misc/lremovexattr.c: Likewise.
18521         * misc/lsetxattr.c: Likewise.
18522         * misc/lutimes.c: Likewise.
18523         * misc/madvise.c: Likewise.
18524         * misc/mincore.c: Likewise.
18525         * misc/mlock.c: Likewise.
18526         * misc/mlockall.c: Likewise.
18527         * misc/mmap.c: Likewise.
18528         * misc/mprotect.c: Likewise.
18529         * misc/msync.c: Likewise.
18530         * misc/munlock.c: Likewise.
18531         * misc/munlockall.c: Likewise.
18532         * misc/munmap.c: Likewise.
18533         * misc/preadv.c: Likewise.
18534         * misc/preadv64.c: Likewise.
18535         * misc/ptrace.c: Likewise.
18536         * misc/pwritev.c: Likewise.
18537         * misc/pwritev64.c: Likewise.
18538         * misc/readv.c: Likewise.
18539         * misc/reboot.c: Likewise.
18540         * misc/remap_file_pages.c: Likewise.
18541         * misc/removexattr.c: Likewise.
18542         * misc/revoke.c: Likewise.
18543         * misc/select.c: Likewise.
18544         * misc/setdomain.c: Likewise.
18545         * misc/setegid.c: Likewise.
18546         * misc/seteuid.c: Likewise.
18547         * misc/sethostid.c: Likewise.
18548         * misc/sethostname.c: Likewise.
18549         * misc/setregid.c: Likewise.
18550         * misc/setreuid.c: Likewise.
18551         * misc/setxattr.c: Likewise.
18552         * misc/sstk.c: Likewise.
18553         * misc/stty.c: Likewise.
18554         * misc/swapoff.c: Likewise.
18555         * misc/swapon.c: Likewise.
18556         * misc/sync.c: Likewise.
18557         * misc/syncfs.c: Likewise.
18558         * misc/syscall.c: Likewise.
18559         * misc/truncate.c: Likewise.
18560         * misc/ualarm.c: Likewise.
18561         * misc/usleep.c: Likewise.
18562         * misc/ustat.c: Likewise.
18563         * misc/utimes.c: Likewise.
18564         * misc/vhangup.c: Likewise.
18565         * misc/writev.c: Likewise.
18566         * posix/_exit.c: Likewise.
18567         * posix/alarm.c: Likewise.
18568         * posix/execve.c: Likewise.
18569         * posix/fexecve.c: Likewise.
18570         * posix/fork.c: Likewise.
18571         * posix/fpathconf.c: Likewise.
18572         * posix/getaddrinfo.c: Likewise.
18573         * posix/getegid.c: Likewise.
18574         * posix/geteuid.c: Likewise.
18575         * posix/getgid.c: Likewise.
18576         * posix/getgroups.c: Likewise.
18577         * posix/getlogin.c: Likewise.
18578         * posix/getlogin_r.c: Likewise.
18579         * posix/getpgid.c: Likewise.
18580         * posix/getpid.c: Likewise.
18581         * posix/getppid.c: Likewise.
18582         * posix/getresgid.c: Likewise.
18583         * posix/getresuid.c: Likewise.
18584         * posix/getsid.c: Likewise.
18585         * posix/getuid.c: Likewise.
18586         * posix/glob64.c: Likewise.
18587         * posix/nanosleep.c: Likewise.
18588         * posix/pathconf.c: Likewise.
18589         * posix/pause.c: Likewise.
18590         * posix/posix_madvise.c: Likewise.
18591         * posix/pread.c: Likewise.
18592         * posix/pread64.c: Likewise.
18593         * posix/pwrite.c: Likewise.
18594         * posix/pwrite64.c: Likewise.
18595         * posix/sched_getaffinity.c: Likewise.
18596         * posix/sched_getp.c: Likewise.
18597         * posix/sched_gets.c: Likewise.
18598         * posix/sched_primax.c: Likewise.
18599         * posix/sched_primin.c: Likewise.
18600         * posix/sched_rr_gi.c: Likewise.
18601         * posix/sched_setaffinity.c: Likewise.
18602         * posix/sched_setp.c: Likewise.
18603         * posix/sched_sets.c: Likewise.
18604         * posix/sched_yield.c: Likewise.
18605         * posix/setgid.c: Likewise.
18606         * posix/setlogin.c: Likewise.
18607         * posix/setpgid.c: Likewise.
18608         * posix/setresgid.c: Likewise.
18609         * posix/setresuid.c: Likewise.
18610         * posix/setsid.c: Likewise.
18611         * posix/setuid.c: Likewise.
18612         * posix/sleep.c: Likewise.
18613         * posix/spawni.c: Likewise.
18614         * posix/sysconf.c: Likewise.
18615         * posix/times.c: Likewise.
18616         * posix/wait.c: Likewise.
18617         * posix/wait3.c: Likewise.
18618         * posix/wait4.c: Likewise.
18619         * posix/waitpid.c: Likewise.
18620         * resolv/gai_sigqueue.c: Likewise.
18621         * resource/getpriority.c: Likewise.
18622         * resource/getrlimit.c: Likewise.
18623         * resource/getrusage.c: Likewise.
18624         * resource/nice.c: Likewise.
18625         * resource/setpriority.c: Likewise.
18626         * resource/setrlimit.c: Likewise.
18627         * resource/ulimit.c: Likewise.
18628         * rt/aio_cancel.c: Likewise.
18629         * rt/aio_fsync.c: Likewise.
18630         * rt/aio_read.c: Likewise.
18631         * rt/aio_sigqueue.c: Likewise.
18632         * rt/aio_suspend.c: Likewise.
18633         * rt/aio_write.c: Likewise.
18634         * rt/clock_getres.c: Likewise.
18635         * rt/clock_gettime.c: Likewise.
18636         * rt/clock_nanosleep.c: Likewise.
18637         * rt/clock_settime.c: Likewise.
18638         * rt/lio_listio.c: Likewise.
18639         * rt/mq_close.c: Likewise.
18640         * rt/mq_getattr.c: Likewise.
18641         * rt/mq_notify.c: Likewise.
18642         * rt/mq_open.c: Likewise.
18643         * rt/mq_receive.c: Likewise.
18644         * rt/mq_send.c: Likewise.
18645         * rt/mq_setattr.c: Likewise.
18646         * rt/mq_timedreceive.c: Likewise.
18647         * rt/mq_timedsend.c: Likewise.
18648         * rt/mq_unlink.c: Likewise.
18649         * rt/shm_open.c: Likewise.
18650         * rt/shm_unlink.c: Likewise.
18651         * rt/timer_create.c: Likewise.
18652         * rt/timer_delete.c: Likewise.
18653         * rt/timer_getoverr.c: Likewise.
18654         * rt/timer_gettime.c: Likewise.
18655         * rt/timer_settime.c: Likewise.
18656         * setjmp/__longjmp.c: Likewise.
18657         * setjmp/setjmp.c: Likewise.
18658         * signal/kill.c: Likewise.
18659         * signal/killpg.c: Likewise.
18660         * signal/raise.c: Likewise.
18661         * signal/sigaction.c: Likewise.
18662         * signal/sigaltstack.c: Likewise.
18663         * signal/sigblock.c: Likewise.
18664         * signal/sigignore.c: Likewise.
18665         * signal/sigintr.c: Likewise.
18666         * signal/signal.c: Likewise.
18667         * signal/sigpause.c: Likewise.
18668         * signal/sigpending.c: Likewise.
18669         * signal/sigqueue.c: Likewise.
18670         * signal/sigreturn.c: Likewise.
18671         * signal/sigset.c: Likewise.
18672         * signal/sigsetmask.c: Likewise.
18673         * signal/sigstack.c: Likewise.
18674         * signal/sigsuspend.c: Likewise.
18675         * signal/sigtimedwait.c: Likewise.
18676         * signal/sigvec.c: Likewise.
18677         * signal/sigwait.c: Likewise.
18678         * signal/sigwaitinfo.c: Likewise.
18679         * signal/sysv_signal.c: Likewise.
18680         * socket/accept.c: Likewise.
18681         * socket/accept4.c: Likewise.
18682         * socket/bind.c: Likewise.
18683         * socket/connect.c: Likewise.
18684         * socket/getpeername.c: Likewise.
18685         * socket/getsockname.c: Likewise.
18686         * socket/getsockopt.c: Likewise.
18687         * socket/isfdtype.c: Likewise.
18688         * socket/listen.c: Likewise.
18689         * socket/recv.c: Likewise.
18690         * socket/recvfrom.c: Likewise.
18691         * socket/recvmsg.c: Likewise.
18692         * socket/send.c: Likewise.
18693         * socket/sendmsg.c: Likewise.
18694         * socket/sendto.c: Likewise.
18695         * socket/setsockopt.c: Likewise.
18696         * socket/shutdown.c: Likewise.
18697         * socket/sockatmark.c: Likewise.
18698         * socket/socket.c: Likewise.
18699         * socket/socketpair.c: Likewise.
18700         * stdio-common/ctermid.c: Likewise.
18701         * stdio-common/cuserid.c: Likewise.
18702         * stdio-common/remove.c: Likewise.
18703         * stdio-common/rename.c: Likewise.
18704         * stdio-common/renameat.c: Likewise.
18705         * stdio-common/tempname.c: Likewise.
18706         * stdlib/getcontext.c: Likewise.
18707         * stdlib/makecontext.c: Likewise.
18708         * stdlib/setcontext.c: Likewise.
18709         * stdlib/swapcontext.c: Likewise.
18710         * stdlib/system.c: Likewise.
18711         * streams/fattach.c: Likewise.
18712         * streams/fdetach.c: Likewise.
18713         * streams/getmsg.c: Likewise.
18714         * streams/getpmsg.c: Likewise.
18715         * streams/putmsg.c: Likewise.
18716         * streams/putpmsg.c: Likewise.
18717         * sysdeps/unix/bsd/getpt.c: Likewise.
18718         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
18719         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
18720         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18722         Likewise.
18723         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
18724         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18725         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18726         * sysvipc/msgctl.c: Likewise.
18727         * sysvipc/msgget.c: Likewise.
18728         * sysvipc/msgrcv.c: Likewise.
18729         * sysvipc/msgsnd.c: Likewise.
18730         * sysvipc/semctl.c: Likewise.
18731         * sysvipc/semget.c: Likewise.
18732         * sysvipc/semop.c: Likewise.
18733         * sysvipc/semtimedop.c: Likewise.
18734         * sysvipc/shmat.c: Likewise.
18735         * sysvipc/shmctl.c: Likewise.
18736         * sysvipc/shmdt.c: Likewise.
18737         * sysvipc/shmget.c: Likewise.
18738         * termios/tcdrain.c: Likewise.
18739         * termios/tcflow.c: Likewise.
18740         * termios/tcflush.c: Likewise.
18741         * termios/tcgetattr.c: Likewise.
18742         * termios/tcgetpgrp.c: Likewise.
18743         * termios/tcsendbrk.c: Likewise.
18744         * termios/tcsetattr.c: Likewise.
18745         * termios/tcsetpgrp.c: Likewise.
18746         * time/adjtime.c: Likewise.
18747         * time/clock.c: Likewise.
18748         * time/getitimer.c: Likewise.
18749         * time/gettimeofday.c: Likewise.
18750         * time/setitimer.c: Likewise.
18751         * time/settimeofday.c: Likewise.
18752         * time/stime.c: Likewise.
18753         * time/time.c: Likewise.
18755 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
18757         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
18758         /usr/old/bin.
18760         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
18761         instead of spaces.
18762         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
18764 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
18766         [BZ #14796]
18767         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
18768         FE_TONEAREST before applying Dekker multiplication and Knuth
18769         addition.  Clear inexact exceptions and check for exact zero
18770         results afterwards.
18771         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18772         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18773         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18774         * math/libm-test.inc (fma_test): Add more tests.
18775         (fma_test_towardzero): Likewise.
18776         (fma_test_downward): Likewise.
18777         (fma_test_upward): Likewise.
18778         * sysdeps/generic/math_private.h (default_libc_fesetround): New
18779         function.
18780         (libc_fesetround): New macro.
18781         (libc_fesetroundf): Likewise.
18782         (libc_fesetroundl): Likewise.
18783         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
18784         function.
18785         (libc_fesetround_387): Likewise.
18786         (libc_fesetroundf): New macro.
18787         (libc_fesetround): Likewise.
18788         (libc_fesetroundl): Likewise.
18789         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
18790         function.
18791         (libc_fesetroundf): New macro.
18792         (libc_fesetround): Likewise.
18793         (libc_fesetroundl): Likewise.
18794         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
18795         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
18796         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
18797         libm_hidden_ver.
18798         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
18799         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
18800         libm_hidden_def.
18801         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
18802         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
18803         libm_hidden_ver.
18804         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
18805         libm_hidden_def.
18807         [BZ #3439]
18808         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
18809         integer constant usable in #if and use that to give value to enum
18810         constant.
18811         (FE_DIVBYZERO): Likewise.
18812         (FE_UNDERFLOW): Likewise.
18813         (FE_OVERFLOW): Likewise.
18814         (FE_INVALID): Likewise.
18815         (FE_INVALID_SNAN): Likewise.
18816         (FE_INVALID_ISI): Likewise.
18817         (FE_INVALID_IDI): Likewise.
18818         (FE_INVALID_ZDZ): Likewise.
18819         (FE_INVALID_IMZ): Likewise.
18820         (FE_INVALID_COMPARE): Likewise.
18821         (FE_INVALID_SOFTWARE): Likewise.
18822         (FE_INVALID_SQRT): Likewise.
18823         (FE_INVALID_INTEGER_CONVERSION): Likewise.
18824         (FE_TONEAREST): Likewise.
18825         (FE_TOWARDZERO): Likewise.
18826         (FE_UPWARD): Likewise.
18827         (FE_DOWNWARD): Likewise.
18828         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
18829         (FE_DIVBYZERO): Likewise.
18830         (FE_OVERFLOW): Likewise.
18831         (FE_UNDERFLOW): Likewise.
18832         (FE_INEXACT): Likewise.
18833         (FE_TONEAREST): Likewise.
18834         (FE_DOWNWARD): Likewise.
18835         (FE_UPWARD): Likewise.
18836         (FE_TOWARDZERO): Likewise.
18837         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
18838         (FE_UNDERFLOW): Likewise.
18839         (FE_OVERFLOW): Likewise.
18840         (FE_DIVBYZERO): Likewise.
18841         (FE_INVALID): Likewise.
18842         (FE_TONEAREST): Likewise.
18843         (FE_TOWARDZERO): Likewise.
18844         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
18845         (FE_OVERFLOW): Likewise.
18846         (FE_UNDERFLOW): Likewise.
18847         (FE_DIVBYZERO): Likewise.
18848         (FE_INEXACT): Likewise.
18849         (FE_TONEAREST): Likewise.
18850         (FE_TOWARDZERO): Likewise.
18851         (FE_UPWARD): Likewise.
18852         (FE_DOWNWARD): Likewise.
18853         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
18854         (FE_DIVBYZERO): Likewise.
18855         (FE_OVERFLOW): Likewise.
18856         (FE_UNDERFLOW): Likewise.
18857         (FE_INEXACT): Likewise.
18858         (FE_TONEAREST): Likewise.
18859         (FE_DOWNWARD): Likewise.
18860         (FE_UPWARD): Likewise.
18861         (FE_TOWARDZERO): Likewise.
18863 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
18865         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
18867 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
18869         * scripts/cross-test-ssh.sh (command): Use newlines to separate
18870         commands.  Quote $PWD.
18871         (blacklist_exports): Don't use remove_newlines.  Replace "declare
18872         -x" by "export".
18873         (remove_newlines): Remove.
18875 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
18877         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
18878         * stdlib/stdlib.h (atof): Moved to ...
18879         * include/bits/stdlib-float.h: Here.  New file.
18880         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
18881         * stdlib/bits/stdlib-float.h: New file.
18882         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
18883         -mno-sse -mno-mmx.
18884         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
18885         <xmmintrin.h>.
18887 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
18889         * conform/conformtest.pl (@headers): Add fenv.h.
18890         * conform/data/fenv.h-data: New file.
18891         * include/fenv.h [_ISOMAC]: Disable all contents of file except
18892         include of <math/fenv.h>.
18894         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
18895         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
18896         && !UNIX98].  Enables tests for XOPEN2K8.
18897         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
18898         POSIX2008]: Likewise.
18900         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
18901         (struct rusage): Do not expect type or its members.
18903         [BZ #3439]
18904         * math/math.h (FP_NAN): Define macro to integer constant usable in
18905         #if and use that to give value to enum constant.
18906         (FP_INFINITE): Likewise.
18907         (FP_ZERO): Likewise.
18908         (FP_SUBNORMAL): Likewise.
18909         (FP_NORMAL): Likewise.
18911 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
18913         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
18914         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
18915         arguments.
18917 2012-11-02  Roland McGrath  <roland@hack.frob.com>
18919         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
18920         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
18921         autoconf-time if not.
18922         * configure.in: Remove AC_PREREQ.
18924 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18926         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
18927         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
18928         of the internal implementation.
18930 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
18932         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
18933         except include of <misc/sys/syslog.h>.
18935 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
18937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
18938         function returns with a NULL context exit with zero.
18940 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18942         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
18944 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
18946         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
18947         (run_program_cmd): This.
18948         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
18949         (tst_langinfo): New variable.  Use it.
18951 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
18953         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
18954         floating point opcodes.
18956 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
18958         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
18959         variable.
18961         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
18963         * sysdeps/mach/hurd/powerpc: Remove directory.
18964         * sysdeps/mach/powerpc: Likewise.
18966 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
18968         * scripts/check-local-headers.sh: Ignore c++ headers.
18970 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
18972         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
18973         __libc_cleanup_region_start argument.
18975 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
18977         [BZ #14784]
18978         [BZ #14785]
18979         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
18980         x * y using scaling, not as x * y + z.
18981         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18982         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18983         * math/libm-test.inc (fma_test): Add more tests.
18984         (fma_test_towardzero): Likewise.
18985         (fma_test_downward): Likewise.
18986         (fma_test_upward): Likewise.
18988 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
18990         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
18992 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
18994         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
18995         New variable.
18997 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
18999         * rt/tst-shm.c (worker): Correct checking for mmap failure.
19001 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
19003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19004         Fix sort order.
19005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19006         Likewise.
19008 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19011         Fix the order of the list for glibc 2.17.
19012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19013         Likewise.
19015 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
19017         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19019 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
19021         [BZ #14610]
19022         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
19023         for low part of x being zero before using __atanl (y).
19024         * math/libm-test.inc (atan2_test): Add another test.
19026         * manual/install.texi (Configuring and compiling): Document
19027         general use of test-wrapper and test-wrapper-env.
19028         * INSTALL: Regenerated.
19030         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
19031         (__fma): Do not extract and scale down low bits on after-rounding
19032         systems when result rounded to normal precision would have normal
19033         exponent.
19034         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
19035         (__fmal): Do not extract and scale down low bits on after-rounding
19036         systems when result rounded to normal precision would have normal
19037         exponent.
19038         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
19039         (__fmal): Do not extract and scale down low bits on after-rounding
19040         systems when result rounded to normal precision would have normal
19041         exponent.
19042         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
19043         macro.
19044         (fma_test): Add more tests.
19045         (fma_test_towardzero): Likewise.
19046         (fma_test_downward): Likewise.
19047         (fma_test_upward): Likewise.
19049 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
19051         * sysdeps/i386/tininess.h: Renamed to ...
19052         * sysdeps/x86/tininess.h: This.
19053         * sysdeps/x86_64/tininess.h: Removed.
19055 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
19057         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
19058         input.  Use $(build-program-cmd).
19059         ($(objpfx)tst-array1-static.out): Likewise.
19060         ($(objpfx)tst-array2.out): Likewise.
19061         ($(objpfx)tst-array3.out): Likewise.
19062         ($(objpfx)tst-array4.out): Likewise.
19063         ($(objpfx)tst-array5.out): Likewise.
19064         ($(objpfx)tst-array5-static.out): Likewise.
19066 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
19068         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
19069         if defined.
19071         * nss/nsswitch.h (nss_interface_function): Provide new
19072         macro for use with NSS functions.
19073         * grp/initgroups.c: Use new macro.
19074         * nss/getXXbyYY.c: Likewise.
19075         * nss/getXXbyYY_r.c: Likewise.
19076         * nss/getXXent.c: Likewise.
19077         * nss/getXXent_r.c: Likewise.
19078         * sysdeps/posix/getaddrinfo.c: Likewise.
19080 2012-10-30  Andreas Jaeger  <aj@suse.de>
19082         * po/ru.po: Update Russion translation from translation project.
19084 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
19086         [BZ #14152]
19087         [BZ #14783]
19088         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
19089         result and shift together with sticky bit instead of replicating
19090         round-to-nearest rounding.
19091         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19092         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19093         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
19094         missing underflow exceptions.
19095         (fma_test_towardzero): Add more tests.
19096         (fma_test_downward): Likewise.
19097         (fma_test_upward): Likewise.
19099         [BZ #14047]
19100         * sysdeps/generic/tininess.h: New file.
19101         * sysdeps/i386/tininess.h: Likewise.
19102         * sysdeps/sh/tininess.h: Likewise.
19103         * sysdeps/x86_64/tininess.h: Likewise.
19104         * stdlib/tst-strtod-underflow.c: Likewise.
19105         * stdlib/tst-tininess.c: Likewise.
19106         * stdlib/strtod_l.c: Include <tininess.h>.
19107         (round_and_return): Do not set errno for exact underflow cases.
19108         Force an underflow exception when setting errno for underflow.
19109         Determine underflow based on rounding to normal precision if
19110         TININESS_AFTER_ROUNDING.
19111         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
19112         ERANGE for exact underflow cases.
19113         * stdlib/Makefile (tests): Add tst-tininess and
19114         tst-strtod-underflow.
19115         ($(objpfx)tst-tininess): Use $(link-libm).
19116         ($(objpfx)tst-strtod-underflow): Likewise.
19118 2012-10-30  Andreas Jaeger  <aj@suse.de>
19120         [BZ#14767]
19121         * elf/Makefile (tests): Remove conditional for have-initfini-array
19122         since this is now always required and the variable does not exist
19123         anymore.
19124         (tests-static): Likewise.
19125         (modules-names): Likewise.
19127         * po/eo.po: Add Esperanto translation from translation project.
19129         * elf/tst-array1.c (fini_array): Make writeable so that it can be
19130         merged with constructor/destructor.
19131         (init_array): Likewise.
19132         * elf/tst-array2dep.c (fini_array): Likewise.
19133         (init_array): Likewise.
19135 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
19137         * manual/message.texi: Delete @cartouche tags.
19139 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
19141         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
19142         EOPNOTSUPP.
19143         * sysdeps/mach/hurd/fsync.c: Likewise.
19145         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
19146         [_POSIX_REALTIME_SIGNALS]: Change condition to
19147         [_POSIX_REALTIME_SIGNALS > 0].
19149 2012-10-27  Andreas Jaeger  <aj@suse.de>
19151         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
19152         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
19153         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
19154         [__WORDSIZE != 64]: Likewise.
19156 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
19158         *  iconvdata/tst-table.sh: Remove ${SHELL}.
19159         *  iconvdata/tst-tables.sh: Likewise.
19161 2012-10-25  David S. Miller  <davem@davemloft.net>
19163         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19164         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
19165         of strtoull.
19167         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
19168         ifunc-impl-list.c
19169         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19170         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
19171         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
19172         file.
19174 2012-10-25  Roland McGrath  <roland@hack.frob.com>
19176         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19177         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
19178         __getdirentries.
19180 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
19181             Jim Blandy  <jimb@codesourcery.com>
19183         * scripts/cross-test-ssh.sh: New file.
19184         * manual/install.texi (Configuring and compiling): Document use of
19185         cross-test-ssh.sh.
19186         * INSTALL: Regenerated.
19188 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
19190         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
19191         EOPNOTSUPP.
19193 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
19195         * Makeconfig (run-program-prefix): Fix comment.
19197 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
19198             Jim Blandy  <jimb@codesourcery.com>
19200         * Makeconfig (test-wrapper): New variable,
19201         (test-wrapper-env): Likewise.
19202         [$(cross-compiling) = yes && $(test-wrapper) != ""]
19203         (run-built-tests): Define to yes.
19204         (run-program-prefix): Use $(test-wrapper).
19205         (built-program-cmd): Likewise.
19206         * Rules (make-test-out): Use $(test-wrapper-env) and
19207         $(host-built-program-cmd).
19208         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
19209         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
19210         tst-pathopt.sh.
19211         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
19212         $(test-wrapper-env) to tst-rtld-load-self.sh.
19213         ($(objpfx)order2.out): Use $(test-wrapper).
19214         ($(objpfx)tst-initorder.out): Likewise.
19215         ($(objpfx)tst-initorder2.out): Likewise.
19216         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
19217         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
19218         (test_wrapper_env): New variable.  Use it to run ld.so.
19219         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
19220         Use it to run ld.so.
19221         (test_wrapper_env): Likewise.
19222         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
19223         $(test-wrapper) to run-iconv-test.sh.
19224         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
19225         (ICONV): Use $test_wrapper.
19226         * posix/Makefile ($(objpfx)globtest.out): Pass
19227         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
19228         globtest.sh, not $(run-program-prefix).
19229         * posix/globtest.sh (run_via_rtld_prefix): New variable.
19230         (test_wrapper): Likewise.
19231         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
19232         set together with run_via_rtld_prefix.
19233         (run_program_prefix): Define in terms of test_wrapper and
19234         run_via_rtld_prefix.
19236 2012-10-24  Roland McGrath  <roland@hack.frob.com>
19238         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
19239         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
19240         Targets removed.
19242         [BZ #14743]
19243         * include/time.h: Remove librt_hidden_proto (clock_gettime).
19244         Declare __clock_getres, __clock_gettime, __clock_settime,
19245         __clock_nanosleep, and __clock_getcpuclockid.
19246         * rt/clock_gettime.c: Define __clock_gettime as an alias.
19247         Remove librt_hidden_def (clock_gettime).
19248         * sysdeps/unix/clock_gettime.c: Likewise.
19249         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
19250         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
19251         * rt/clock_getres.c: Define __clock_getres as an alias.
19252         * sysdeps/posix/clock_getres.c: Likewise.
19253         * rt/clock_settime.c: Define __clock_settime as an alias.
19254         * sysdeps/unix/clock_settime.c: Likewise.
19255         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
19256         * sysdeps/unix/clock_nanosleep.c: Likewise.
19257         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
19258         * rt/clock-compat.c: New file.
19259         * rt/Makefile (librt-routines): Add clock-compat and move
19260         $(clock-routines) to ...
19261         (routines): ... here, new variable.
19262         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
19263         Don't add get_clockfreq here.
19264         * rt/Versions (libc: GLIBC_2.17): New version set.
19265         Add clock_* symbols here.
19266         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
19267         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
19268         (GLIBC_2.17): Add clock_* symbols.
19269         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19270         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19271         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19273         Likewise.
19274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19275         Likewise.
19276         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19277         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19278         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19279         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19280         * NEWS: Mention the move.
19282         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19283         Use __open, __read, __close rather than their public counterparts.
19284         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19285         (__get_clockfreq_via_cpuinfo): Likewise.
19286         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
19287         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
19289         * config.h.in (HAVE_IFUNC): New #undef.
19290         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
19291         was successful.
19292         * configure: Regenerated.
19294 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
19296         * configure.in: Move READELF check to start of file.
19297         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
19298         libc_cv_asm_gnu_indirect_function in the process.
19299         * configure: Regenerated.
19301 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
19303         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
19304         send the output to /dev/null.
19305         (libc_cv_cc_with_libunwind): Likewise.
19306         (libc_cv_as_noexecstack): Likewise.
19307         * configure: Regenerate.
19309 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
19311         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
19313         * posix/globtest.sh (TMPDIR): Do not set.
19314         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
19315         (testout): Likewise.
19317 2012-10-24  Andreas Jaeger  <aj@suse.de>
19319         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
19320         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
19321         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
19322         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
19323         posix_fadvise64, posix_fallocate64.
19325         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
19326         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
19327         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
19328         Likewise.
19329         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
19330         Likewise.
19331         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
19333         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
19334         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
19335         <bits/fcntl-linux.h>.
19336         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
19338         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
19339         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
19340         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
19341         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
19342         [__WORDSIZE != 64]: Likewise.
19344 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
19346         * Makeconfig (run-built-tests): New variable.
19347         * Rules [$(cross-compiling) = yes]: Change condition to
19348         [$(run-built-tests) = no].
19349         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
19350         to [$(run-built-tests) = yes].
19351         * elf/Makefile [$(cross-compiling) = no]: Likewise
19352         * grp/Makefile [$(cross-compiling) = no]: Likewise.
19353         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
19354         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
19355         * intl/Makefile [$(cross-compiling) = no]: Likewise.
19356         * io/Makefile [$(cross-compiling) = no]: Likewise.
19357         * libio/Makefile [$(cross-compiling) = no]: Likewise.
19358         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
19359         * misc/Makefile [$(cross-compiling) = no]: Likewise.
19360         * posix/Makefile [$(cross-compiling) = no]: Likewise.
19361         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
19362         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
19363         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
19364         * string/Makefile [$(cross-compiling) = no]: Likewise.
19366         * posix/Makefile ($(objpfx)globtest.out): Pass
19367         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
19368         $(rtld-installed-name).
19369         * posix/globtest.sh (elf_objpfx): Remove variable.
19370         (rtld_installed_name): Likewise.
19371         (library_path): Likewise.
19372         (run_program_prefix): New variable.  Use for running globtest
19373         binary.
19375 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
19376             Joseph Myers  <joseph@codesourcery.com>
19378         * Makeconfig (host-built-program-cmd): New variable.
19379         * elf/Makefile (tst-stackguard1-ARGS): Use
19380         $(host-built-program-cmd).
19381         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
19382         (tst-spawn-ARGS): Likewise.
19383         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
19385 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
19386             Jim Blandy  <jimb@codesourcery.com>
19388         * Makeconfig (run-via-rtld-prefix): New variable.
19389         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
19390         (built-program-cmd): Likewise.
19392 2012-10-22  Andreas Jaeger  <aj@suse.de>
19394         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
19395         __O_RSYNC if it exists, otherwise to O_SYNC.
19397 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
19398             Joseph Myers  <joseph@codesourcery.com>
19400         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
19401         /dev/null.
19402         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
19403         from /dev/null
19404         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
19405         /dev/null.
19407 2012-10-22  Andreas Jaeger  <aj@suse.de>
19409         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
19410         Define always.
19411         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
19413         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19414         bits/fcntl-linux.h.
19416         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
19417         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
19419         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
19420         to __O_LARGEFILE.
19421         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
19422         to __O_LARGEFILE.
19424 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
19425             Joseph Myers  <joseph@codesourcery.com>
19427         * config.make.in (NM): New variable.
19429 2012-10-21  Andreas Jaeger  <aj@suse.de>
19431         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
19432         definitions and declarations that are provided by
19433         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
19435 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
19437         [BZ #14683]
19438         * elf/Makefile (tests-static): Add tst-leaks1-static.
19439         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
19440         ($(objpfx)tst-leaks1-static): New rule.
19441         ($(objpfx)tst-leaks1-static-mem): Likewise.
19442         (tst-leaks1-static-ENV): New macro.
19443         * elf/dl-open.c (dl_open_worker): Check the main application
19444         only if SHARED is defined.
19445         * elf/tst-leaks1-static.c: New file.
19447 2012-10-20  Andreas Jaeger  <aj@suse.de>
19449         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
19450         generic values for Linux.
19451         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
19452         and declarations that are provided by <bits/fcntl-linux.h> and
19453         include <bits/fcntl-linux.h>.
19454         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19455         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19457 2012-10-20  Roland McGrath  <roland@hack.frob.com>
19459         * io/fcntl.h: Move include of <bits/types.h> to the top and
19460         include it unconditionally.
19462 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
19464         * wcsmbs/Makefile (tests-ifunc): New variable.
19465         (tests): Add $(tests-ifunc).
19466         * wcsmbs/test-wcschr-ifunc.c: New file.
19467         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
19468         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
19469         * wcsmbs/test-wcslen-ifunc.c: Likewise.
19470         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
19471         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
19473         * string/Makefile (tests-ifunc): New variable.
19474         (tests): Add $(tests-ifunc).
19475         * string/test-memccpy.c (TEST_NAME): New macro.
19476         * string/test-memchr.c (TEST_NAME): Likewise.
19477         * string/test-memcmp.c (TEST_NAME): Likewise.
19478         * string/test-memcpy.c (TEST_NAME): Likewise.
19479         * string/test-memmem.c (TEST_NAME): Likewise.
19480         * string/test-memmove.c (TEST_NAME): Likewise.
19481         * string/test-memset.c (TEST_NAME): Likewise.
19482         * string/test-rawmemchr.c (TEST_NAME): Likewise.
19483         * string/test-stpcpy.c (TEST_NAME): Likewise.
19484         * string/test-stpncpy.c (TEST_NAME): Likewise.
19485         * string/test-strcasecmp.c (TEST_NAME): Likewise.
19486         * string/test-strcasestr.c (TEST_NAME): Likewise.
19487         * string/test-strcat.c (TEST_NAME): Likewise.
19488         * string/test-strchr.c (TEST_NAME): Likewise.
19489         * string/test-strcmp.c(TEST_NAME): Likewise.
19490         * string/test-strcpy.c (TEST_NAME): Likewise.
19491         * string/test-strcspn.c (TEST_NAME): Likewise.
19492         * string/test-strlen.c (TEST_NAME): Likewise.
19493         * string/test-strncasecmp.c (TEST_NAME): Likewise.
19494         * string/test-strncmp.c (TEST_NAME): Likewise.
19495         * string/test-strncpy.c (TEST_NAME): Likewise.
19496         * string/test-strnlen.c (TEST_NAME): Likewise.
19497         * string/test-strpbrk.c (TEST_NAME): Likewise.
19498         * string/test-strrchr.c (TEST_NAME): Likewise.
19499         * string/test-strspn.c (TEST_NAME): Likewise.
19500         * string/test-strstr.c (TEST_NAME): Likewise.
19501         * string/test-bcopy-ifunc.c: New file.
19502         * string/test-bzero-ifunc.c: Likewise.
19503         * string/test-memccpy-ifunc.c: Likewise.
19504         * string/test-memchr-ifunc.c: Likewise.
19505         * string/test-memcmp-ifunc.c: Likewise.
19506         * string/test-memcpy-ifunc.c: Likewise.
19507         * string/test-memmem-ifunc.c: Likewise.
19508         * string/test-memmove-ifunc.c: Likewise.
19509         * string/test-mempcpy-ifunc.c: Likewise.
19510         * string/test-memset-ifunc.c: Likewise.
19511         * string/test-rawmemchr-ifunc.c: Likewise.
19512         * string/test-stpcpy-ifunc.c: Likewise.
19513         * string/test-stpncpy-ifunc.c: Likewise.
19514         * string/test-strcasecmp-ifunc.c: Likewise.
19515         * string/test-strcasestr-ifunc.c: Likewise.
19516         * string/test-strcat-ifunc.c: Likewise.
19517         * string/test-strchr-ifunc.c: Likewise.
19518         * string/test-strchrnul-ifunc.c: Likewise.
19519         * string/test-strcmp-ifunc.c: Likewise.
19520         * string/test-strcpy-ifunc.c: Likewise.
19521         * string/test-strcspn-ifunc.c: Likewise.
19522         * string/test-strlen-ifunc.c: Likewise.
19523         * string/test-strncasecmp-ifunc.c: Likewise.
19524         * string/test-strncat-ifunc.c: Likewise.
19525         * string/test-strncmp-ifunc.c: Likewise.
19526         * string/test-strncpy-ifunc.c: Likewise.
19527         * string/test-strnlen-ifunc.c: Likewise.
19528         * string/test-strpbrk-ifunc.c: Likewise.
19529         * string/test-strrchr-ifunc.c: Likewise.
19530         * string/test-strspn-ifunc.c: Likewise.
19531         * string/test-strstr-ifunc.c: Likewise.
19533         * debug/Makefile (tests-ifunc): New variable.
19534         (tests): Add $(tests-ifunc).
19535         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
19536         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
19537         * debug/test-stpcpy_chk-ifunc.c: New file.
19538         * debug/test-strcpy_chk-ifunc.c: Likewise.
19540 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19542         [BZ #13601]
19543         * elf/dl-load.c (open_verify): Retry read if the entire ELF
19544         header is not read in.
19546 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
19548         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
19549         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
19550         directly.  Pass built executable to script as
19551         $(built-program-cmd).
19552         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
19553         $testprogram without using LD_LIBRARY_PATH and $ldso.
19555         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
19556         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
19557         $(rtld-installed-name).
19558         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
19559         (rtld_installed_name): Likewise.
19560         (library_path): Likewise.
19561         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
19562         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
19563         $(run-program-prefix) to tst-tables.sh.
19564         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
19565         it to run tst-table-from and tst-table-to.
19566         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
19567         Pass it to tst-table.sh.
19568         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
19569         $(run-program-prefix) to tst-gettext.sh.
19570         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
19571         tst-translit.sh.
19572         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
19573         tst-gettext2.sh.
19574         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
19575         to run tst-gettext.
19576         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
19577         to run tst-gettext2.
19578         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
19579         to run tst-translit.
19580         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
19581         $(run-program-prefix) to tst-mtrace.sh.
19582         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
19583         to run tst-mtrace.
19584         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
19585         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
19586         $(rtld-installed-name).
19587         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
19588         (rtld_installed_name): Likewise.
19589         (run_program_prefix): New variable.  Use it to run wordexp-test.
19591         * Makeconfig (ARCH): Remove all definitions.
19592         (machine): Likewise.
19593         [ARCH]: Remove conditional code.
19594         [!objdir]: Give error.
19595         [!objdir] (objpfx): Remove.
19596         [!objdir] (common-objpfx): Likewise.
19597         [!objdir] (common-objdir): Likewise.
19598         * configure.in (config_makefile): Remove.  Hardcode Makefile in
19599         AC_CONFIG_FILES call.
19600         * configure: Regenerated.
19602         [BZ #13888]
19603         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
19604         or TMPDIR.
19605         (testout): Likewise.
19607         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
19608         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
19609         $(rtld-installed-name).
19610         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
19611         (rtld_installed_name): Likwise.
19612         (runit): Remove function.
19613         (run_getconf): New variable,  Use it for running getconf binary.
19615 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
19617         [BZ #14716]
19618         * string/test-memmem.c (check_result): New function.
19619         (do_one_test): Use it.
19620         (check1): New function.
19621         (test_main): Use it.
19623 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
19625         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
19627 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
19629         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
19630         (_G_LSEEK64): Likewise.
19631         (_G_MMAP64): Likewise.
19632         (_G_FSTAT64): Likewise.
19633         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
19634         (_G_LSEEK64): Likewise.
19635         (_G_MMAP64): Likewise.
19636         (_G_FSTAT64): Likewise.
19637         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
19638         unconditional.  Call __mmap64 directly.
19639         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
19640         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
19641         __lseek64 directly.
19642         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
19643         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
19644         __mmap64 directly.
19645         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
19646         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
19647         __lseek64 directly.
19648         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
19649         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
19650         __lseek64 directly.
19651         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
19652         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
19653         __lseek64 directly.
19654         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
19655         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
19656         __fxstat64 directly.
19657         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
19658         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
19659         unconditional.
19660         (freopen64) [!_G_OPEN64]: Remove conditional code.
19661         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
19662         unconditional.
19663         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
19664         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
19665         unconditional.
19666         (ftello64) [!_G_LSEEK64]: Remove conditional code.
19667         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
19668         unconditional.
19669         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19670         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
19671         unconditional.
19672         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
19673         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
19674         unconditional.
19675         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19676         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
19677         unconditional.
19678         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19679         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
19680         unconditional.
19681         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19683 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19685         [BZ #12140]
19686         * manual/memory.texi (Malloc Tunable Parameters): Add note
19687         about free list pointers overwriting some perturb bytes.
19688         Wording suggested by Roland McGrath.
19690 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
19692         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
19693         (lgamma_test): Likewise.
19694         (tgamma_test): Likewise.
19696 2012-10-16  Florian Weimer  <fweimer@redhat.com>
19698         [BZ #14700]
19699         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
19700         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
19702 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
19704         * NEWS: Mention BZ #14716.
19705         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
19706         when removing AVAILABLE1_USES_J macro.
19708 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
19710         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
19711         (__bswap_64): __uint64_t for unsigned 64-bit int.
19713 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
19715         * include/string.h (memmem): Declare libc hidden alias.
19716         * string/memmem.c (memmem): Define libc hidden alias.
19717         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
19718         __read, __close instead of open, read, close.
19720 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
19722         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
19723         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
19724         global and hidden.
19725         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
19726         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
19727         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
19728         Likewise.
19729         (__rawmemchr_sse2): Likewise.
19730         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
19731         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
19732         (__strchr_sse2): Likewise.
19733         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
19734         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
19735         (__strcasecmp_sse2): Likewise.
19736         (__strncasecmp_sse2): Likewise.
19737         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
19738         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
19739         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
19740         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
19741         (__strrchr_sse2): Likewise.
19742         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
19743         ifunc-impl-list.c.
19744         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19745         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19746         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19747         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19748         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19749         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19750         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19751         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19752         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
19753         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
19754         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
19755         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
19756         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
19757         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19758         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19759         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19760         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19761         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19762         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
19763         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
19764         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
19765         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
19766         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
19767         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19768         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
19769         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19770         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19771         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19772         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19773         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19775         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
19776         global and hidden.
19777         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
19778         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
19779         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
19780         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
19781         Likewise.
19782         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
19783         Likewise.
19784         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
19785         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
19786         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
19787         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
19788         ifunc-impl-list.c.
19789         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19790         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19791         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19792         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19793         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19794         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19795         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19796         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19797         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19798         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19799         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19800         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19801         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19802         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
19803         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
19804         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19805         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
19806         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
19807         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19808         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19809         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19810         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19811         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19812         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19813         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19814         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
19815         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
19816         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
19817         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
19818         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19819         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
19820         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19821         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19822         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
19823         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19824         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19825         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19826         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19827         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19828         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19829         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
19831         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
19832         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
19833         * include/ifunc-impl-list.h: New file.
19834         * misc/ifunc-impl-list.c: Likewise.
19835         * misc/Makefile (routines): Add ifunc-impl-list.
19836         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
19837         * string/test-string.h: Include <ifunc-impl-list.h>.
19838         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
19839         impl_array): New variables.
19840         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
19841         are defined.
19842         (test_init): Call __libc_ifunc_impl_list to initialize
19843         func_list if TEST_IFUNC and TEST_NAME are defined.
19845         * string/Makefile (strop-tests): Add bcopy and bzero.
19846         * string/test-bcopy.c: New file.
19847         * string/test-bzero.c: Likewise.
19848         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
19849         defined.
19850         * string/test-memset.c: Support bzero test if TEST_BZERO is
19851         defined.
19852         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
19853         __libc_memmove.
19854         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
19855         __libc_memset.
19856         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
19857         of memset.
19859 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
19861         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
19862         * configure: Regenerated.
19864         * Makeconfig (+link-static-before-libc): Don't include
19865         $(link-static-libc).
19867         * libio/libio.h (_IO_pos_t): Remove.
19869 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
19871         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
19872         McGrath.
19874 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
19876         * crypt/crypt-entry.c: Include fips-private.h.
19877         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
19878         * crypt/md5c-test.c (main): Tolerate disabled MD5.
19879         * sysdeps/unix/sysv/linux/fips-private.h: New file.
19880         * sysdeps/generic/fips-private.h: New file, dummy fallback.
19882 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
19884         * crypt/crypt-private.h: Include stdbool.h.
19885         (_ufc_setup_salt_r): Return bool.
19886         * crypt/crypt-entry.c: Include errno.h.
19887         (__crypt_r): Return NULL with EINVAL for bad salt.
19888         * crypt/crypt_util.c (bad_for_salt): New.
19889         (_ufc_setup_salt_r): Check that salt is long enough and within
19890         the specified alphabet.
19891         * crypt/badsalttest.c: New file.
19892         * crypt/Makefile (tests): Add it.
19893         ($(objpfx)badsalttest): New.
19895 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
19897         * NEWS: Add entry for BZ #14602.
19899 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
19901         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
19902         type-generic.
19903         * math/libm-test.inc: Update comment listing what functions and
19904         macros are tested.
19905         (isgreater_test): New function.
19906         (isgreaterequal_test): Likewise.
19907         (isless_test): Likewise.
19908         (islessequal_test): Likewise.
19909         (islessgreater_test): Likewise.
19910         (isunordered_test): Likewise.
19911         (main): Call the new functions.
19913 2012-10-09  Roland McGrath  <roland@hack.frob.com>
19915         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
19916         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
19917         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
19918         * sysdeps/i386/configure: Regenerated.
19919         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
19920         * sysdeps/mach/configure: Regenerated.
19921         * sysdeps/mach/hurd/configure: Regenerated.
19922         * sysdeps/powerpc/configure: Regenerated.
19923         * sysdeps/powerpc/powerpc32/configure: Regenerated.
19924         * sysdeps/powerpc/powerpc64/configure: Regenerated.
19925         * sysdeps/s390/s390-32/configure: Regenerated.
19926         * sysdeps/s390/s390-64/configure: Regenerated.
19927         * sysdeps/sh/configure: Regenerated.
19928         * sysdeps/sparc/configure: Regenerated.
19929         * sysdeps/unix/sysv/linux/configure: Regenerated.
19930         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
19931         * sysdeps/x86_64/configure: Regenerated.
19933         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
19934         defined.  Don't check if MAP is NULL.
19936 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
19938         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
19939         (_G_stat64): Likewise.
19940         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
19941         (_G_stat64): Likewise.
19942         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
19943         instead of struct _G_stat64.
19944         * libio/fileops.c (mmap_remap_check): Likewise.
19945         (decide_maybe_mmap): Likewise.
19946         (_IO_new_file_seekoff): Likewise.
19947         (_IO_file_stat): Likewise.
19948         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
19949         _G_off64_t.
19950         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
19951         instead of struct _G_stat64.
19952         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19954 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
19956         [BZ #14602]
19957         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19958         Replace with ...
19959         (CHECK_EOL): New macro.
19960         (two_way_short_needle): Check beginning of haystack for EOL.  Use
19961         CHECK_EOL.
19962         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19963         Replace with CHECK_EOL.
19964         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19965         Replace with CHECK_EOL.
19967 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
19969         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
19970         type-generic.
19971         * math/libm-test.inc: Update comment listing what functions and
19972         macros are tested.
19973         (finite_test): New function.
19974         (isinf_test): Likewise.
19975         (isnan_test): Likewise.
19976         (fpclassify_test): Test subnormal input.
19977         (isfinite_test): Likewise.
19978         (isnormal_test): Likewise.
19979         (main): Call the new functions.
19981 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
19983         [BZ #14660]
19984         * Makerules (%.dynsym): Force C locale when running
19985         $(OBJDUMP) --dynamic-syms.
19987 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
19989         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
19990         <stdint.h>.
19992 2012-10-06  David S. Miller  <davem@davemloft.net>
19994         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
19995         upper 32-bits of the length value in %o2 since we use branch-on-register
19996         tests which consider the entire 64-bit register.
19998 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
20000         * string/test-strstr.c (check2): Add a test for page boundary.
20002 2012-10-05  David S. Miller  <davem@davemloft.net>
20004         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
20005         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
20006         file.
20007         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20008         sysdep_routines.
20009         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20010         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
20011         and bzero when HWCAP_SPARC_CRYPTO is present.
20013 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
20015         [BZ #14602]
20016         * string/test-strstr.c (check2): New function.
20017         (test_main): Call check2.
20019         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
20020         and bug-strchr1.
20021         * string/bug-strcasestr1.c (do_test): Moved to ...
20022         * string/test-strcasestr.c (check1): Here.  New function.
20023         (do_one_test): Break out result checking code into ...
20024         (check_result): This.  New function.
20025         (do_one_test): Call check_result.
20026         (test_main): Call check1.
20027         * string/bug-strchr1.c (do_test): Moved to ...
20028         * string/test-strchr.c (check1): Here.  New function.
20029         (do_one_test): Break out result checking code into ...
20030         (check_result): This.  New function.
20031         (do_one_test): Call check_result.
20032         (test_main): Call check1.
20033         * string/bug-strstr1.c (main): Moved to ...
20034         * string/test-strstr.c (check1): Here.  New function.
20035         (do_one_test): Break out result checking code into ...
20036         (check_result): This.  New function.
20037         (do_one_test): Call check_result.
20038         (test_main): Call check1.
20039         * string/bug-strcasestr1.c: Removed.
20040         * string/bug-strchr1.c: Likewise.
20041         * string/bug-strstr1.c: Likewise.
20043         * elf/Makefile (dl-routines): Add hwcaps.
20044         * elf/dl-support.c (_dl_important_hwcaps): Removed.
20045         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
20046         (_dl_important_hwcaps): Moved to ...
20047         * elf/dl-hwcaps.c: Here.  New file.
20048         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
20050         [BZ #14557]
20051         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
20052         if IS_IN_rtld isn't defined.
20054         * elf/dl-support.c (_dl_sysinfo_map): New.
20055         Include "get-dynamic-info.h" and "setup-vdso.h".
20056         (_dl_non_dynamic_init): Call setup_vdso.
20057         * elf/dynamic-link.h: Don't include <assert.h>.
20058         (elf_get_dynamic_info): Moved to ...
20059         * elf/get-dynamic-info.h: Here.  New file.
20060         * elf/dynamic-link.h: Include "get-dynamic-info.h".
20061         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
20062         * elf/setup-vdso.h: Here.  New file.
20063         * elf/rtld.c: Include "setup-vdso.h".
20064         (dl_main): Call setup_vdso.
20066 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
20068         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
20069         creal in comment listing functions tested.  List finite, isinf,
20070         isnan, isless, islessequal, isgreater, isgreaterequal,
20071         islessgreater, isunordered, lgamma_r and pow10 as functions and
20072         macros not tested.  Mention which functions not tested are aliases
20073         for other functions.  Fix typo.  Note that signs of NaNs are not
20074         tested.
20076         * scripts/config.guess: Update from config.git.
20077         * scripts/config.sub: Likewise.
20079 2012-10-04  Roland McGrath  <roland@hack.frob.com>
20081         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
20082         * misc/madvise.c (madvise): Renamed to __madvise.
20083         Make madvise a weak alias.
20084         * include/sys/mman.h: Declare __madvise.
20085         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
20086         * sysdeps/unix/syscalls.list
20087         (madvise): Make __madvise the strong name, and madvise a weak alias.
20088         * sysdeps/unix/sysv/linux/syscalls.list
20089         (madvise, mmap): Remove redundant entries.
20090         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
20091         * malloc/malloc.c (mtrim): Likewise.
20092         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
20094 2012-10-03  Roland McGrath  <roland@hack.frob.com>
20096         * sysdeps/mach/hurd/dl-cache.c: File removed.
20097         * config.h.in (USE_LDCONFIG): New #undef.
20098         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
20099         * configure: Regenerated.
20100         * elf/Makefile (dl-routines): Add dl-cache only under
20101         [$(use-ldconfig) = yes].
20102         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
20103         cache on [USE_LDCONFIG].
20104         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
20105         [USE_LDCONFIG].
20106         * elf/rtld.c (dl_main): Likewise.
20108 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
20110         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
20111         _SC_LEVEL4_CACHE_LINESIZE.
20113 2012-10-03  Roland McGrath  <roland@hack.frob.com>
20115         * sysdeps/unix/bsd/confstr.h: File removed.
20117 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
20119         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
20120         sys/sdt-config.h.
20122 2012-10-02  Roland McGrath  <roland@hack.frob.com>
20124         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
20125         Make 'mapoff' field ElfW(Off) rather than off_t.
20127 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
20129         * nscd/Makefile: Remove nscd-cflags and all its users.
20130         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
20131         (CFLAGS-nonlib): Add compiler flags for nscd modules.
20133         [BZ #10631]
20134         * malloc.c (malloc_printerr): Clarify error message.
20136 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
20138         [BZ #14648]
20139         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20140         Set bit_FMA_Usable if FMA is supported.
20141         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
20142         macro.
20143         (bit_FMA4_Usable): Updated.
20144         (index_FMA_Usable): New macro.
20145         (CPUID_FMA): Likewise
20146         (HAS_FMA): Defined with bit_FMA_Usable.
20148 2012-10-01  Roland McGrath  <roland@hack.frob.com>
20150         * bits/types.h (__swblk_t): Type removed.
20151         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
20152         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
20153         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20154         (__SWBLK_T_TYPE): Likewise.
20155         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20156         (__SWBLK_T_TYPE): Likewise.
20157         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20158         (__SWBLK_T_TYPE): Likewise.
20159         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20160         (__SWBLK_T_TYPE): Likewise.
20162 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
20163             Honza Horak <hhorak@redhat.com>
20165         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
20166         (xdr_mapname): Use YPMAXMAP as maxsize.
20167         (xdr_peername): Use YPMAXPEER as maxsize.
20168         (xdr_keydat): Use YPAXRECORD as maxsize.
20169         (xdr_valdat): Use YPMAXRECORD as maxsize.
20171 2012-10-01  Roland McGrath  <roland@hack.frob.com>
20173         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
20175         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
20176         * csu/init-first.c: ... here.
20177         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
20178         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
20179         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
20180         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20181         * sysdeps/i386/init-first.c: File removed.
20182         * sysdeps/sh/init-first.c: File removed.
20184 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
20186         [BZ #14645]
20187         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
20188         if x * y might underflow to zero and z is zero.
20189         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20190         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20191         * math/libm-test.inc (min_subnorm_value): New variable.
20192         (fma_test): Add more tests.
20193         (fma_test_towardzero): Likewise.
20194         (fma_test_downward): Likewise
20195         (fma_test_upward): Likewise.
20196         (initialize): Set min_subnorm_value.
20198 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
20200         [BZ #14638]
20201         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
20202         0 + 0.
20203         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
20204         mode for addition resulting in exact zero.
20205         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
20206         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
20207         exact 0 + 0.
20208         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20209         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20210         * math/libm-test.inc (fma_test): Add more tests.
20211         (fma_test_towardzero): New function.
20212         (fma_test_downward): Likewise.
20213         (fma_test_upward): Likewise.
20214         (main): Call the new functions.
20216 2012-09-28  David S. Miller  <davem@davemloft.net>
20218         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
20220 2012-09-28  Roland McGrath  <roland@hack.frob.com>
20222         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
20223         instead of SIGALRM.
20225         * sysdeps/gnu/_G_config.h: Moved to ...
20226         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
20227         * sysdeps/mach/hurd/_G_config.h: Moved to ...
20228         * sysdeps/generic/_G_config.h: ... here.
20230         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
20232         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
20234         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
20235         Conditionalize target on [libnss_test1.so-version].
20237         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
20239         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
20240         (elfobjdir): Move out of conditionals.
20242         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
20243         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
20244         (__nss_lookup_function): Conditionalize label remove_from_tree on
20245         [!DO_STATIC_NSS || SHARED], matching its only use.
20247 2012-09-28  David S. Miller  <davem@davemloft.net>
20249         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
20250         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
20251         file.
20252         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20253         sysdep_routines.
20254         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20255         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
20256         when HWCAP_SPARC_CRYPTO is present.
20258 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
20260         * io/tst-mknodat.c: Create a FIFO instead of a socket.
20262 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
20264         [BZ #6530]
20265         * stdio-common/vfprintf.c (process_string_arg): Revert
20266         2000-07-22 change.
20268 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
20270         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
20271         for testcase.
20272         * stdio-common/tst-sprintf.c: Include <locale.h>
20273         (main): Test sprintf's handling of incomplete multibyte
20274         characters.
20276 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
20278         * elf/dl-runtime.c (VERSYMIDX): Removed.
20279         * elf/dl-version.c (VERSYMIDX): Likewise.
20280         * elf/do-rel.h (VERSYMIDX): Likewise.
20281         (VALIDX): Likewise.
20282         * elf/dynamic-link.h (VERSYMIDX): Likewise.
20283         * elf/rtld.c (VALIDX): Likewise.
20284         (ADDRIDX): Likewise.
20285         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
20286         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
20287         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
20288         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
20289         (VALIDX): Likewise.
20290         (ADDRIDX): Likewise.
20292 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
20294         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
20296 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
20298         [BZ #11438]
20299         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
20300         to global scope.
20301         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
20302         addresses are in the same scope as 192.0.2/24.
20303         * posix/gai.conf: Document new scope table defaults.
20305 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20307         [BZ #5298]
20308         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
20309         for ftell.  Compute offsets from write pointers instead.
20310         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20312 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20314         [BZ #14543]
20315         * libio/Makefile (tests): New test case tst-fseek.
20316         * libio/tst-fseek.c: New test case to verify that fseek/ftell
20317         combination works in wide mode.
20318         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
20319         state when the external buffer state changes.
20321 2012-09-27  David S. Miller  <davem@davemloft.net>
20323         [BZ #14376]
20324         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
20325         pass reloc->r_addend in as the 'high' argument to
20326         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
20328         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20330 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
20332         * rt/tst-aio2.c: Include <pthread.h>.
20333         * rt/tst-aio3.c: Likewise.
20335 2012-09-27  Steve Ellcey  <sellcey@mips.com>
20337         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
20339 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
20341         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
20342         contents on [SHARED].
20344 2012-09-26  Marek Polacek  <polacek@redhat.com>
20346         [BZ #14530]
20347         [BZ #13741]
20348         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
20349         for C++ and GCC <4.3 as well as for non GCC compilers.
20351 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
20353         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20355 2012-09-25  Roland McGrath  <roland@hack.frob.com>
20357         * Makefile.in (all, install): Declare with .PHONY.
20358         Reported by Michael Hope <michael.hope@linaro.org>.
20360 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20362         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
20363         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
20364         system header.
20365         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
20366         Likewise.
20367         (sydep_routines): Add the new and the internal functions.
20368         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
20369         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
20370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
20371         (GLIBC_2.17): Add the new function.
20372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20373         (GLIBC_2.17): Likewise.
20374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20375         (GLIBC_2.17): Likewise.
20376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
20377         (GLIBC_2.17): Likewise.
20378         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
20380 2012-09-25  Alan Modra  <amodra@gmail.com>
20382         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
20383         Add release barrier before setting once_control to say
20384         initialisation is done.  Add hints on lwarx.  Use macro in
20385         place of isync.
20386         (clear_once_control): Add release barrier.
20388 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
20390         [BZ #13629]
20391         * math/s_clog.c (__clog): Handle more values close to |z| = 1
20392         specially.
20393         * math/s_clog10.c (__clog10): Likewise.
20394         * math/s_clog10f.c (__clog10f): Likewise.
20395         * math/s_clog10l.c (__clog10l): Likewise.
20396         * math/s_clogf.c (__clogf): Likewise.
20397         * math/s_clogl.c (__clogl): Likewise.
20398         * math/Makefile (libm-calls): Add x2y2m1.
20399         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
20400         (__x2y2m1): Likewise.
20401         (__x2y2m1l): Likewise.
20402         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
20403         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
20404         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
20405         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20406         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
20407         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
20408         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
20409         * sysdeps/i386/fpu/libm-test-ulps: Update.
20410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20412         [BZ #14621]
20413         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
20414         int as type of variable DEPTH.
20415         (glob): Use size_t instead of int as type of variables NEWCOUNT
20416         and OLD_PATHC.
20418 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20420         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20421         Add s_sincosf-sse2.
20422         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
20423         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
20424         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
20425         macros for using routine as __sincosf_ia32.
20426         Use macro for function declaration and weak_alias.
20427         * sysdeps/i386/fpu/libm-test-ulps: Update.
20429         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
20430         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20432         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
20433         subnormal argument.
20434         * math/s_cexpf.c (__cexpf): Likewise.
20435         * math/s_csinf.c (__csinf): Likewise.
20436         * math/s_csinhf.c (__csinhf): Likewise.
20437         * math/s_ctanf.c (__ctanf): Likewise.
20438         * math/s_ctanhf.c (__ctanhf): Likewise.
20439         * math/s_ccosh.c (__ccoshf): Likewise.
20440         * math/s_cexp.c (__cexpl): Likewise.
20441         * math/s_csin.c (__csin): Likewise.
20442         * math/s_csinh.c (__csinh): Likewise.
20443         * math/s_ctan.c (__ctan): Likewise.
20444         * math/s_ctanh.c (ctanh): Likewise.
20445         * math/s_ccoshl.c (__ccoshl): Likewise.
20446         * math/s_cexpl.c (__cexpl): Likewise.
20447         * math/s_csinl.c (__csinl): Likewise.
20448         * math/s_csinhl.c (__csinhl): Likewise.
20449         * math/s_ctanl.c (__ctanl): Likewise.
20450         * math/s_ctanhl.c (__ctanhl): Likewise.
20452 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
20454         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
20455         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
20456         (_IO_off_t): Define to __off_t, not _G_off_t.
20457         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
20458         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
20459         (_IO_wint_t): Define to wint_t, not _G_wint_t.
20460         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
20461         type of __dummy and __dummy2 fields.
20462         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
20463         (_G_ssize_t): Likewise.
20464         (_G_off_t): Likewise.
20465         (_G_pid_t): Likewise.
20466         (_G_uid_t): Likewise.
20467         (_G_wchar_t): Likewise.
20468         (_G_wint_t): Likewise.
20469         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
20470         (_G_ssize_t): Likewise.
20471         (_G_off_t): Likewise.
20472         (_G_pid_t): Likewise.
20473         (_G_uid_t): Likewise.
20474         (_G_wchar_t): Likewise.
20475         (_G_wint_t): Likewise.
20476         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
20477         (_G_ssize_t): Likewise.
20478         (_G_off_t): Likewise.
20479         (_G_pid_t): Likewise.
20480         (_G_uid_t): Likewise.
20481         (_G_wchar_t): Likewise.
20482         (_G_wint_t): Likewise.
20484 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20486         * malloc/arena.c: Include malloc-sysdep.h.
20487         (shrink_heap): Use check_may_shrink_heap to decide if madvise
20488         is sufficient to shrink the heap or an unmap is needed.
20489         * sysdeps/generic/malloc-sysdep.h: New file.  Define
20490         new function check_may_shrink_heap.
20491         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
20492         new function check_may_shrink_heap.
20494 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20496         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
20497         comments.
20499 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
20501         * catgets/test-gencat.sh: Add "set -e".
20502         * elf/tst-pathopt.sh: Likewise.
20503         * grp/tst_fgetgrent.sh: Likewise.
20504         * iconvdata/run-iconv-test.sh: Likewise.
20505         * intl/tst-gettext.sh: Likewise.
20506         * intl/tst-gettext2.sh: Likewise.
20507         * intl/tst-gettext4.sh: Likewise.
20508         * intl/tst-gettext6.sh: Likewise.
20509         * intl/tst-translit.sh: Likewise.
20510         * io/ftwtest-sh: Likewise.
20511         * libio/test-freopen.sh: Likewise.
20512         * malloc/tst-mtrace.sh: Likewise.
20513         * posix/globtest.sh: Likewise.
20514         * posix/tst-getconf.sh: Likewise.
20515         * posix/wordexp-tst.sh: Likewise.
20516         * stdio-common/tst-printf.sh: Likewise.
20517         * stdio-common/tst-unbputc.sh: Likewise.
20518         * stdlib/tst-fmtmsg.sh: Likewise.
20519         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20520         * catgets/Makefile: Do not specify -e option when running
20521         testsuite shell scripts.
20522         * elf/Makefile: Likewise.
20523         * grp/Makefile: Likewise.
20524         * iconvdata/Makefile: Likewise.
20525         * intl/Makefile: Likewise.
20526         * io/Makefile: Likewise.
20527         * libio/Makefile: Likewise.
20528         * malloc/Makefile: Likewise.
20529         * posix/Makefile: Likewise.
20530         * stdio-common/Makefile: Likewise.
20531         * stdlib/Makefile: Likewise.
20532         * sysdeps/x86_64/Makefile: Likewise.
20534         * io/ftwtest-sh: Add copyright header.
20535         * posix/globtest.sh: Likewise.
20536         * posix/tst-getconf.sh: Likewise.
20537         * posix/wordexp-tst.sh: Likewise.
20538         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20540 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
20542         [BZ #13679]
20543         * Makeconfig (+link): Defined as $(+link-static) if
20544         $(build-shared) isn't yes.
20545         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
20546         isn't yes.
20547         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
20549         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
20551         [BZ #14562]
20552         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
20553         new chunk size with MALLOC_ALIGN_MASK.
20555 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
20557         [BZ #5044]
20558         * stdio-common/printf_fphex.c: Include <stdbool.h> and
20559         <rounding-mode.h>.
20560         (__printf_fphex): Determine rounding using get_rounding_mode and
20561         round_away.
20562         * stdio-common/tst-printf-round.c (struct hex_test): New
20563         structure.
20564         (hex_tests): New variable.
20565         (test_hex_in_one_mode): New function.
20566         (do_test): Also run tests for hex float output.
20568 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
20570         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20571         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20572         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
20573         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20574         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20575         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
20576         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20577         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20579 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
20581         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
20582         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
20583         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
20584         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
20586 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
20588         [BZ #14579]
20589         * elf/rtld.c (dl_main): Limit the check for self loading to normal
20590         mode only.
20591         * elf/tst-rtld-load-self.sh: New test.
20592         * elf/Makefile: Run it.
20594 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
20596         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
20597         (tst-writev-ENV): Remove.
20598         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
20600 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
20602         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
20604 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
20606         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
20607         unconditional.
20608         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
20609         Likewise.
20610         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
20611         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
20612         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
20613         Likewise.
20615 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
20617         [BZ #14587]
20618         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
20619         * config.make.in (have-cpp-asm-debuginfo): Removed.
20620         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
20621         * configure: Regenerated.
20623 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
20625         [BZ #5044]
20626         * stdio-common/printf_fp.c: Include <stdbool.h> and
20627         <rounding-mode.h>.
20628         (___printf_fp): Determine rounding using get_rounding_mode and
20629         round_away.
20630         * stdio-common/tst-printf-round.c: New file.
20631         * stdio-common/Makefile (tests): Add tst-printf-round.
20632         (link-libm): New variable.
20633         ($(objpfx)tst-printf-round): Depend in $(link-libm).
20635 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
20637         [BZ #14576]
20638         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
20639         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
20640         Likewise.
20641         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
20642         Likewise.
20644 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
20646         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
20647         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20648         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20649         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20651 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
20653         [BZ #14518]
20654         * include/rounding-mode.h: New file.
20655         * sysdeps/generic/get-rounding-mode.h: Likewise.
20656         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
20657         * stdlib/strtod_l.c: Include <rounding-mode.h>.
20658         (MAX_VALUE): New macro.
20659         (MIN_VALUE): Likewise.
20660         (overflow_value): New function.
20661         (underflow_value): Likewise.
20662         (round_and_return): Use overflow_value and underflow_value to
20663         determine return values in overflow and underflow cases.  Use
20664         round_away to determine rounding depending on rounding mode.
20665         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
20666         determine return values in overflow and underflow cases.
20667         * stdlib/tst-strtod-round.c: Include <fenv.h>.
20668         (struct test_results): New structure.
20669         (struct test): Use struct test_results to store expected results
20670         for all rounding modes.
20671         (TEST): Include expected results for all rounding modes.
20672         (test_in_one_mode): New function.
20673         (do_test): Use test_in_one_mode to compute and check results.
20674         Check results for all rounding modes.
20675         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
20676         $(link-libm).
20678 2012-12-09  Allan McRae  <allan@archlinux.org>
20680         * sysdeps/i386/fpu/libm-test-ulps: Update
20682 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
20684         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
20685         (_G_int32_t): Likewise.
20686         (_G_uint16_t): Likewise.
20687         (_G_uint32_t): Likewise.
20688         (_G_HAVE_BOOL): Likewise.
20689         (_G_HAVE_ATEXIT): Likewise.
20690         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20691         (_G_HAVE_IO_FILE_OPEN): Likewise.
20692         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
20693         (_G_int32_t): Likewise.
20694         (_G_uint16_t): Likewise.
20695         (_G_uint32_t): Likewise.
20696         (_G_HAVE_BOOL): Likewise.
20697         (_G_HAVE_ATEXIT): Likewise.
20698         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20699         (_G_HAVE_IO_FILE_OPEN): Likewise.
20700         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
20701         (_G_int32_t): Likewise.
20702         (_G_uint16_t): Likewise.
20703         (_G_uint32_t): Likewise.
20704         (_G_HAVE_BOOL): Likewise.
20705         (_G_HAVE_ATEXIT): Likewise.
20706         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20707         (_G_HAVE_IO_FILE_OPEN): Likewise.
20709 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
20711         * csu/libc-tls.c: Update copyright years.
20713 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
20715         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
20716         [!_G_USING_THUNKS]: Remove conditional code.
20717         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
20718         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
20720         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
20721         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
20722         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20723         (_G_VTABLE_LABEL_PREFIX): Likewise.
20724         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20725         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20726         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20727         (_G_VTABLE_LABEL_PREFIX): Likewise.
20728         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20729         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20730         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20731         (_G_VTABLE_LABEL_PREFIX): Likewise.
20732         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20734 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
20736         * libio/Makefile: Include ../Makeconfig before tests.
20737         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
20738         only if $(build-shared) is yes.
20740         * iconv/gconv_db.c: Update copyright years.
20742 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20744         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
20745         unwind info if defined PIC. Fix special cases description.
20746         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
20748         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
20749         DP_HI_MASK entry.
20750         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
20752 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
20754         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
20756         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
20757         is NULL.
20759         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
20760         (LDLIBS-tst-chk4): This.
20761         (LDFLAGS-tst-chk5): Renamed to ...
20762         (LDLIBS-tst-chk5): This.
20763         (LDFLAGS-tst-chk6): Renamed to ...
20764         (LDLIBS-tst-chk6): This.
20765         (LDFLAGS-tst-lfschk4): Renamed to ...
20766         (LDLIBS-tst-lfschk4): This.
20767         (LDFLAGS-tst-lfschk5): Renamed to ...
20768         (LDLIBS-tst-lfschk5): This.
20769         (LDFLAGS-tst-lfschk6): Renamed to ...
20770         (LDLIBS-tst-lfschk6): This.
20772         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
20773         on $(common-objpfx)soversions.mk.
20775 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
20777         [BZ #10014]
20778         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
20779         example host name.
20781 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
20783         * malloc/arena.c (arena_get_retry): New function that gets
20784         another arena for the caller to try its request on.
20785         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
20786         current arena cannot fulfill the request.
20787         (__libc_memalign): Likewise.
20788         (__libc_memalign): Likewise.
20789         (__libc_pvalloc): Likewise.
20790         (__libc_calloc): Likewise.
20792 2012-09-05  John Tobey  <john.tobey@gmail.com>
20794         [BZ #13542]
20795         * manual/arith.texi (Operations on Complex): Fix description
20796         of carg branch cut.
20798 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
20800         [BZ #10014]
20801         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
20802         host name.
20804         [BZ #10038]
20805         * manual/memory.texi (Memory): Make order of menu items match
20806         order of sections.
20808 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
20810         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
20811         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
20812         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
20814 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
20816         * csu/libc-tls.c (static_dtv): Renamed to ...
20817         (_dl_static_dtv): This.  Make it global.
20818         (_dl_initial_dtv): Removed.
20819         (__libc_setup_tls): Updated.
20820         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
20821         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
20822         DL_INITIAL_DTV.
20824 2012-09-06  Petr Machata  <pmachata@redhat.com>
20826         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
20827         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
20828         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
20829         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
20831 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
20833         [BZ #14545]
20834         * csu/libc-tls.c (_dl_initial_dtv): New variable.
20835         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
20836         freeing dtv[-1].
20838 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
20840         [BZ #14544]
20841         * Makeconfig (link-static-before-libc): Replace $(+prector)
20842         with $(+prectorT).
20843         (link-static-after-libc): Replace $(+postctor) with
20844         $(+postctorT).
20845         (link-bounded): Replace $(+prector)/$(+postctor) with
20846         $(+prectorT)/$(+postctorT).
20847         (+prectorT): New macro.
20848         (+postctorT): Likewise.
20850 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
20852         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
20853         (round_str): Handle values above the maximum for IBM long double
20854         as inexact.
20855         * stdlib/tst-strtod-round.c (tests): Regenerated.
20857 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20859         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
20860         assembler flag.
20861         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
20862         zarch_nohighgprs around the zarch optimized routines.
20863         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
20864         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
20865         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
20866         for zarch.
20868 2012-09-05  David S. Miller  <davem@davemloft.net>
20870         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20872         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
20873         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
20874         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
20875         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20876         entries.
20878 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20880         * malloc/arena.c: Fold copyright years.
20881         * malloc/mcheck.c, malloc/memusage.c: Likewise.
20883 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20885         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
20887 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20889         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
20891 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20893         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
20894         change internal state upon failure.
20896 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20898         * malloc/mcheck.c (mcheck_check_all): Fix typo.
20899         * malloc/memusage.c (mmap): Likewise.
20900         (mmap64, mremap): Likewise.  Adjust name in comment.
20902 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20904         * libio/fileops.c: Fix typos in comments.
20905         * libio/oldfileops.c: Likewise.
20906         * libio/wfileops.c: Likewise.
20908 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20910         [BZ #1349]
20911         * malloc/Makefile (tests): Add tst-malloc-usable test case.
20912         (tst-malloc-usable-ENV): Set environment for test case.
20913         * malloc/hooks.c (malloc_check_get_size): New function to get
20914         requested size.
20915         * malloc/malloc.c (musable): Use malloc_check_get_size.
20916         * malloc/tst-malloc-usable.c: New test case.
20918 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
20920         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
20922 2012-09-05  Allan McRae  <allan@archlinux.org>
20924         [BZ #13966]
20925         * configure.in (CXX_SYSINCLUDES): Use compiler output to
20926         determine header location.
20927         * configure: Regenerated.
20929 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
20931         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
20932         float format.
20933         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
20934         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
20935         format.
20936         (test): Regenerate.
20938 2012-09-04  David S. Miller  <davem@davemloft.net>
20940         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
20941         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
20942         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
20944 2012-09-04  Florian Weimer  <fweimer@redhat.com>
20946         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
20947         failures.
20949         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
20951 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
20953         [BZ #9914]
20954         * libio/iogetdelim.c: Include <limits.h>.
20955         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
20956         + len + 1 would overflow.
20958 2012-09-03  Andreas Jaeger  <aj@suse.de>
20960         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20961         * sysdeps/i386/fpu/libm-test-ulps: Update.
20963 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20965         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20966         Add s_sinf-sse2, s_conf-sse2.
20968         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
20969         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
20970         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
20971         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
20973         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
20974         for using routine as __sinf_ia32.
20975         Use macro for function declaration and weak_alias.
20976         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
20977         for using routine as __cosf_ia32.
20978         Use macro for function declaration and weak_alias.
20980         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
20981         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
20983         * sysdeps/x86_64/fpu/s_sinf.S: New file.
20984         * sysdeps/x86_64/fpu/s_cosf.S: New file.
20985         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20987         * math/libm-test.inc (cos_test): Add more test cases.
20988         (sin_test): Likewise.
20989         (sincos_test): Likewise.
20991 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20993         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
20994         (IFUNC_RESOLVE): Make pointers to the specialized implementations
20995         hidden.
20996         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20998 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
21000         [BZ #14538]
21001         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
21002         first element of the GOT.
21003         (elf_machine_load_address): Return the difference between
21004         the runtime address of _DYNAMIC and elf_machine_dynamic ().
21006 2012-09-01  Allan McRae  <allan@archlinux.org>
21008         [BZ #13412]
21009         * configure.in (AWK): Require gawk version 3.0 or later.
21010         * configure: Regenerated.
21012 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
21014         * sysdeps/unix/sysv/linux/kernel-features.h
21015         (__ASSUME_POSIX_CPU_TIMERS): Remove.
21016         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21017         [__NR_clock_getres]: Make code unconditional.
21018         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
21019         (clock_getcpuclockid): Remove code left unreachable by removal of
21020         conditionals.
21021         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
21022         code unconditional.
21023         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21024         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21025         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
21026         Make code unconditional.
21027         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21028         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21029         * sysdeps/unix/sysv/linux/clock_settime.c
21030         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
21031         conditional code.
21032         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
21033         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21035 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
21037         [BZ #14476]
21038         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
21039         scripts/test-installation.pl.
21041         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
21042         and $ld_so_version if it is set.
21044 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21046         [BZ #14516]
21047         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
21048         failure if reading from procfs failed.
21049         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
21051 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
21053         * sysdeps/unix/sysv/linux/kernel-features.h
21054         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
21055         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21056         Remove conditional code.
21057         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21058         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
21059         Remove conditional code.
21060         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21061         * sysdeps/unix/sysv/linux/i386/fxstat.c
21062         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21063         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21064         * sysdeps/unix/sysv/linux/i386/fxstatat.c
21065         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21066         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21067         * sysdeps/unix/sysv/linux/i386/lxstat.c
21068         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21069         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21070         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
21071         Remove conditional code.
21072         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21073         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21074         Remove conditional code.
21075         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21076         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
21077         <kernel-features.h>.
21078         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
21079         Remove.
21080         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
21081         Remove conditional code.
21082         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21083         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
21084         Remove conditional.
21086 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
21088         [BZ #5400]
21089         * NEWS: Add fixed bug number.
21091 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
21093         [BZ #14519]
21094         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
21095         underflowing exponent in case of negative sign.
21096         * stdlib/tst-strtod-round-data: Add more tests.
21097         * stdlib/tst-strtod-round.c (tests): Regenerated.
21099         [BZ #3479]
21100         * stdlib/strtod_l.c (NDIG): Remove.
21101         (HEXNDIG): Likewise.
21102         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
21103         smallest representable value.
21104         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
21105         lie within an exact representation of 1/2 ulp of the result.
21106         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
21107         unconditionally.
21108         (TENS_P9_IDX): Define unconditionally.
21109         (TENS_P9_SIZE): Likewise.
21110         (TENS_P10_IDX): Likewise.
21111         (TENS_P10_SIZE): Likewise.
21112         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
21113         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
21114         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
21115         entries for 10^2^13 and 10^2^14.
21116         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
21117         (TENS_P13_IDX): Define.
21118         (TENS_P13_SIZE): Likewise.
21119         (TENS_P14_IDX): Likewise.
21120         (TENS_P14_SIZE): Likewise.
21121         (_fpioconst_pow10): Change array size to
21122         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
21123         unconditional.
21124         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
21125         1024]: Add entries for 10^2^13 and 10^2^14.
21126         [LAST_POW10 > _LAST_POW10]: Remove #error.
21127         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
21128         (_fpioconst_pow10): Change array size to
21129         FPIOCONST_POW10_ARRAY_SIZE.
21130         * stdlib/gen-fpioconst.c: New file.
21131         * stdlib/gen-tst-strtod-round.c: Likewise.
21132         * stdlib/tst-strtod-round-data: Likewise.
21133         * stdlib/tst-strtod-round.c: Likewise.
21134         * stdlib/Makefile (tests): Add tst-strtod-round.
21136         [BZ #14459]
21137         * stdlib/strtod_l.c: Include <stdint.h>.
21138         (NDEBUG): Do not define.
21139         (round_and_return): Change EXPONENT parameter to type intmax_t.
21140         Rearrange calculations to avoid internal overflow possibilities.
21141         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
21142         Rearrange calculations to avoid internal overflow possibilities.
21143         Assert that number fits inside MPNSIZE limbs.
21144         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
21145         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
21146         calculations and add assertions to avoid internal overflow
21147         possibilities.  Add casts to avoid signed/unsigned operations.
21148         * stdlib/tst-strtod-overflow.c: New file.
21149         * stdlib/Makefile (tests): Add tst-strtod-overflow.
21151 2012-08-25  Marek Polacek  <polacek@redhat.com>
21153         * time/time.h: Fix some typos in comments.
21155 2012-08-23  Roland McGrath  <roland@hack.frob.com>
21157         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
21158         * posix/tst-rfc3484-2.c: Likewise.
21159         * posix/tst-rfc3484-3.c: Likewise.
21161 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
21163         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
21164         (EF_ARM_ABI_FLOAT_HARD): Likewise.
21166 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
21168         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
21169         #include of fxstatat64.c.
21171 2012-08-22  Roland McGrath  <roland@hack.frob.com>
21173         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
21174         * shadow/getspent_r.c: Likewise.
21175         * shadow/getspnam.c: Likewise.
21176         * shadow/getspnam_r.c: Likewise.
21177         * gshadow/getsgent.c: Likewise.
21178         * gshadow/getsgent_r.c: Likewise.
21179         * gshadow/getsgnam.c: Likewise.
21180         * gshadow/getsgnam_r.c: Likewise.
21181         * inet/getnetbyad.c: Likewise.
21182         * inet/getnetbyad_r.c: Likewise.
21183         * inet/getnetbynm.c: Likewise.
21184         * inet/getnetbynm_r.c: Likewise.
21185         * inet/getnetent.c: Likewise.
21186         * inet/getnetent_r.c: Likewise.
21187         * inet/getproto.c: Likewise.
21188         * inet/getproto_r.c: Likewise.
21189         * inet/getprtent.c: Likewise.
21190         * inet/getprtent_r.c: Likewise.
21191         * inet/getprtname.c: Likewise.
21192         * inet/getprtname_r.c: Likewise.
21193         * inet/getrpcbyname.c: Likewise.
21194         * inet/getrpcbyname_r.c: Likewise.
21195         * inet/getrpcbynumber.c: Likewise.
21196         * inet/getrpcbynumber_r.c: Likewise.
21197         * inet/getrpcent.c: Likewise.
21198         * inet/getrpcent_r.c: Likewise.
21199         * inet/getaliasent.c: Likewise.
21200         * inet/getaliasent_r.c: Likewise.
21201         * inet/getaliasname.c: Likewise.
21202         * inet/getaliasname_r.c: Likewise.
21203         * nscd/getgrgid_r.c: Likewise.
21204         * nscd/getgrnam_r.c: Likewise.
21205         * nscd/gethstbyad_r.c: Likewise.
21206         * nscd/gethstbynm3_r.c: Likewise.
21207         * nscd/getpwnam_r.c: Likewise.
21208         * nscd/getpwuid_r.c: Likewise.
21209         * nscd/getsrvbynm_r.c: Likewise.
21210         * nscd/getsrvbypt_r.c: Likewise.
21211         * nscd/gai.c: Likewise.
21213         * configure.in (build_nscd): New substituted variable, set
21214         by --disable-build-nscd and defaults to $use_nscd.
21215         * configure: Regenerated.
21216         * config.make.in (build-nscd): New substituted variable.
21217         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
21218         Change conditional to require [$(build-nscd) = yes] as well.
21219         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
21221         [BZ# 13696]
21222         * configure.in (use_nscd): New substituted variable, set by
21223         --disable-nscd.  If enabled, define USE_NSCD.
21224         * configure: Regenerated.
21225         * config.h.in: Add USE_NSCD.
21226         * config.make.in (use-nscd): New substituted variable.
21227         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21228         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
21229         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
21230         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
21231         (CFLAGS-getgrnam_r.c): Likewise.
21232         (CFLAGS-initgroups.c): Likewise.
21233         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
21234         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
21235         Variables removed.
21236         * inet/getnetgrent_r.c
21237         (nscd_setnetgrent): New function, broken out of ...
21238         (setnetgrent): ... here.  Call it.
21239         (innetgr): Conditionalize nscd bits on [USE_NSCD].
21240         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
21241         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
21242         * nscd/Makefile (routines, aux): Move definitions after include of
21243         Makeconfig.  Conditionalize on [$(use-nscd) != no].
21244         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
21245         Conditionalize on [USE_NSCD].
21246         (is_nscd, nscd_init_cb): Likewise.
21247         (nss_load_library): Conditionalize init callback on [USE_NSCD].
21248         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
21249         * nss/nss_db/db-init.c: Likewise.
21250         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
21251         [USE_NSCD].
21252         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
21253         (make_request): Use it.
21254         (cache_valid_p): New function.
21255         (__check_pf): Use it.
21256         * NEWS: Add item for --disable-nscd.
21258 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
21260         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
21261         to support sed >= 4.2.1-20-ga9bf076.
21262         * configure: Regenerated.
21264 2012-08-22  Roland McGrath  <roland@hack.frob.com>
21266         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
21267         Conditionalize whole body on [IREL].
21269 2012-08-22  Jeff Law <law@redhat.com>
21271         [BZ #14505]
21272         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
21273         if the family is PF_UNSPEC.
21275 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
21277         * Makerules (lib-version): Rename from V.
21278         (install-lib-nosubdir): Change V to lib-version.
21280 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
21282         [BZ #14252]
21283         * powerpc32/power6/wcschr.c: New file.
21284         * powerpc32/power6/wcscpy.c: New file.
21285         * powerpc32/power6/wcsrchr.c: New file.
21286         * powerpc64/power6/wcschr.c: New file.
21287         * powerpc64/power6/wcscpy.c: New file.
21288         * powerpc64/power6/wcsrchr.c: New file.
21290 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
21292         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
21293         (two_way_short_needle): Use it.
21294         * string/strstr.c (AVAILABLE1_USES_J): Define.
21295         * string/strcasestr.c: Likewise.
21297         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
21298         array references.
21299         * string/strcasestr.c (TOLOWER): Make side-effect safe.
21301         [BZ #11607]
21302         * NEWS: Add an entry.
21303         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
21304         define their defaults.
21305         (two_way_short_needle): Detect end-of-string on-the-fly.
21306         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
21307         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
21308         * string/bug-strcasestr1.c: New test.
21309         * string/Makefile: Run it.
21311 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
21313         [BZ #11607]
21314         * string/str-two-way.h (two_way_short_needle): Optimize matching of
21315         the first character.
21317 2012-08-21  Roland McGrath  <roland@hack.frob.com>
21319         * csu/elf-init.c (__libc_csu_irel): Function removed.
21320         * csu/libc-start.c (apply_irel): New function.
21321         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
21323 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
21325         * sysdeps/unix/sysv/linux/kernel-features.h
21326         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
21327         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21328         <kernel-features.h>.
21329         [__NR_fadvise64_64]: Make code unconditional.
21330         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
21331         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21332         !__NR_fadvise64_64)]: Likewise.
21333         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21334         !__NR_fadvise64_64))]: Likewise.
21335         [__NR_fadvise64]: Make code unconditional.
21336         [!__NR_fadvise64]: Remove conditional code.
21337         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
21338         <kernel-features.h>.
21339         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21340         unconditional.
21341         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21342         conditional code.
21343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
21344         not include <kernel-features.h>.
21345         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21346         unconditional.
21347         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21348         conditional code.
21349         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
21350         include <kernel-features.h>.
21351         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21352         unconditional.
21353         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21354         conditional code.
21356 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
21358         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
21359         slight instruction rearrangements per scrollpipe analysis.
21360         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21362 2012-08-20  Roland McGrath  <roland@hack.frob.com>
21364         * manual/syslog.texi (syslog; vsyslog, closelog):
21365         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
21366         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
21368         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
21369         DSOCAPS to match condition on defining it.
21371 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
21373         * sysdeps/unix/sysv/linux/kernel-features.h
21374         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
21375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
21376         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21377         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
21379         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21380         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
21382         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21383         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21385         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
21386         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
21388         * sysdeps/unix/sysv/linux/kernel-features.h
21389         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
21390         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
21391         unconditional.
21392         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21393         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
21394         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21395         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21396         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
21397         Make code unconditional.
21398         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21399         (__mmap64) [!__NR_mmap2]: Likewise.
21400         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
21401         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21402         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21403         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
21404         [__NR_mmap2]: Make code unconditional.
21405         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21406         (__mmap64) [!__NR_mmap2]: Likewise.
21408 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21410         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
21412 2012-08-18  Andreas Jaeger  <aj@suse.de>
21414         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
21416 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
21418         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
21419         * include/unistd.h (__have_sock_cloexec): Likewise.
21420         (__have_pipe2): Likewise.
21421         (__have_dup3): Likewise.
21423 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
21425         [BZ #9685]
21426         * include/unistd.h (__have_pipe2): Change define into an extern int.
21427         (__have_dup3): Likewise.
21428         * socket/have_sock_cloexec.c: Include fcntl.h.
21429         (__have_pipe2): New variable.
21430         (__have_dup3): Likewise.
21432 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
21434         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
21436 2012-08-17  Marek Polacek  <polacek@redhat.com>
21438         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
21439         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
21441 2012-08-17  Roland McGrath  <roland@hack.frob.com>
21443         * configure.in: Add AC_SUBST for sysheaders.
21444         * configure: Regenerated.
21445         * config.make.in (sysheaders): New substituted variable.
21447         * sysdeps/unix/mkfifo.c: Moved ...
21448         * sysdeps/posix/mkfifo.c: ... here.
21449         * sysdeps/unix/mkfifoat.c: Moved ...
21450         * sysdeps/posix/mkfifoat.c: ... here.
21452         * sysdeps/unix/utime.c: Moved ...
21453         * sysdeps/posix/utime.c: ... here.
21455         * sysdeps/unix/time.c: Moved ...
21456         * sysdeps/posix/time.c: ... here.
21457         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
21458         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
21460         * sysdeps/unix/nice.c: Moved ...
21461         * sysdeps/posix/nice.c: ... here.
21463         * sysdeps/unix/alarm.c: Moved ...
21464         * sysdeps/posix/alarm.c: ... here.
21466         * intl/Makefile ($(codeset_mo)): Depend on the input file.
21468 2012-08-17  Jeff Law <law@redhat.com>
21470         * intl/Makefile (codeset_mo): New variable.
21471         ($(codeset_mo)): New target.
21472         (tst-codeset.out): Depend on that.  Remove explicit rule.
21473         (tst-gettext3.out, tst-gettext5.out): Likewise.
21474         (LOCPATH-ENV, tst-codeset-ENV): New variables.
21475         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
21476         * intl/tst-codeset.sh: Remove.
21477         * intl/tst-gettext3.sh: Likewise.
21478         * intl/tst-gettext5.sh: Likewise.
21480 2012-08-17  Roland McGrath  <roland@hack.frob.com>
21482         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
21483         * sysdeps/unix/syscalls.list: ... here.
21485         * sysdeps/posix/getaddrinfo.c
21486         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
21487         (gaiconf_init, gaiconf_reload): Use them.
21488         [!_STATBUF_ST_NSEC]
21489         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
21490         Define using time_t rather than struct timespec.
21492         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
21493         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
21494         Macros removed.
21495         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
21496         [!NO_THREADS].
21497         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
21498         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
21499         Likewise.
21501         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
21502         __libc_cleanup_push argument.
21504         * bits/param.h: New file.
21505         * misc/sys/param.h: New file.
21506         * include/sys/param.h: New file.
21507         * misc/Makefile (headers): Add bits/param.h.
21508         * sysdeps/generic/sys/param.h: File removed.
21509         * sysdeps/unix/sysv/linux/bits/param.h: New file.
21510         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
21511         * sysdeps/mach/hurd/bits/param.h: New file.
21512         * sysdeps/mach/hurd/sys/param.h: File removed.
21514         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
21515         last change.
21517         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
21518         [_IO_MTSAFE_IO].
21519         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
21520         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
21521         New macros.
21523         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
21524         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
21525         rather than -D_IO_MTSAFE_IO conditionally.
21526         * stdio-common/Makefile (CPPFLAGS): Likewise.
21527         * wcsmbs/Makefile (CPPFLAGS): Likewise.
21528         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
21529         Use $(libio-mtsafe).
21530         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
21531         of -D_IO_MTSAFE_IO.
21532         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
21533         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
21534         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
21535         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
21536         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
21537         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
21538         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
21539         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
21540         (CFLAGS-fread_u_chk.c): Likewise.
21541         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
21542         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
21543         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
21544         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
21545         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
21546         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
21547         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
21548         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
21549         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
21551         * libio/Makefile: Test [$(libc-reentrant) = yes]
21552         instead of [$(filter %REENTRANT, $(defines)) nonempty].
21554         * Makeconfig
21555         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
21556         * sysdeps/pthread/configure: File removed.
21557         * sysdeps/pthread/Makeconfig: New file.
21558         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
21559         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
21561 2012-08-16  Gary Benson  <gbenson@redhat.com>
21563         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
21564         unmapping the first object in a namespace.
21566 2012-08-16  Roland McGrath  <roland@hack.frob.com>
21568         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
21569         (__internal_setnetgrent): ... this.  Add internal_function to
21570         definition.  Add libc_hidden_def.
21571         (setnetgrent): Update caller.
21572         (internal_endnetgrent): Renamed to ...
21573         (__internal_endnetgrent): ... this.  Add internal_function to
21574         definition.  Add libc_hidden_def.
21575         (endnetgrent): Update caller.
21576         (internal_getnetgrent_r): Renamed to ...
21577         (__internal_getnetgrent_r): ... this.  Add internal_function to
21578         definition.  Add libc_hidden_def.
21579         (__getnetgrent_r): Update caller.
21580         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
21582 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
21584         * stdlib/longlong.h: Update from GCC.
21586 2012-08-16  Roland McGrath  <roland@hack.frob.com>
21588         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
21589         on _QL, which is set by umul_ppmm but never used.
21590         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
21591         variables, which are set by GMP macros but never used.
21592         * stdio-common/_itowa.c (_itowa): Likewise.
21593         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
21594         * stdlib/mod_1.c (mpn_mod_1): Likewise.
21596 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
21598         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
21599         struct La_sh_regs is not constant.
21600         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
21601         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
21602         and struct La_sparc64_regs are not constant.
21604 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
21606         * sysdeps/unix/sysv/linux/kernel-features.h
21607         (__ASSUME_POSIX_TIMERS): Remove.
21608         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21609         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21610         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
21611         Make code unconditional.
21612         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21613         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
21614         Make code unconditional.
21615         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21616         * sysdeps/unix/sysv/linux/clock_nanosleep.c
21617         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
21618         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21619         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
21620         Make code unconditional.
21621         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21622         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
21623         (__libc_missing_posix_timers): Remove.
21625 2012-08-15  Roland McGrath  <roland@hack.frob.com>
21627         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
21628         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
21630         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
21632         * elf/dl-sym.c: Include <stdlib.h>.
21634         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
21635         constants, which avoids warnings in 32-bit builds.
21637         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
21638         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
21640         * misc/lseek.c: File moved to ...
21641         * io/lseek.c: ... here.
21643         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
21645         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
21646         shifting LEN more than 31 bits at once.
21648 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21650         [BZ #14195]
21651         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
21652         segmentation fault for a case of two empty input strings.
21653         * string/test-strncasecmp.c (check1): Renamed to...
21654         (bz12205): ...this.
21655         (bz14195): Add new testcase for two empty input strings and N > 0.
21656         (test_main): Call new testcase, adapt for renamed function.
21658 2012-08-15  Andreas Jaeger  <aj@suse.de>
21660         [BZ #14090]
21661         * crypt/md5test2.c: New test, based on test supplied by Serge
21662         Belyshev <belyshev@depni.sinp.msu.ru>.
21663         * crypt/Makefile (xtests): Add md5test-giant..
21664         * crypt/Makefile ($(objpfx)md5test-giant): Add.
21666 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
21668         [BZ #14090]
21669         * crypt/md5.c (md5_process_block): Don't assume the buffer
21670         length is less than 2**32.
21671         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
21672         length is less than 2**64.
21674 2012-08-15  Roland McGrath  <roland@hack.frob.com>
21676         * string/str-two-way.h: Include <sys/param.h>.
21677         (MAX): Macro removed.
21679         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
21680         Move #define and #undef of memmove to just before and after
21681         including <string.h>.
21683         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
21684         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
21685         and after including <string.h>.  Move declarations of
21686         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
21687         to before #include "string/memmove.c".
21689         * include/dirent.h: Declare __getdirentries.
21691         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
21692         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
21694 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
21696         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
21697         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
21698         * sysdeps/i386/configure: Regenerated.
21699         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
21700         STABS_CURRENT_FILE, and STABS_FUN.
21701         (END): Remove call to STABS_FUN_END.
21702         (STABS_CURRENT_FILE1): Delete.
21703         (STABS_CURRENT_FILE): Likewise.
21704         (STABS_FUN): Likewise.
21705         (STABS_FUN_END): Likewise.
21706         (STABS_FUN2): Likewise.
21707         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
21708         * sysdeps/x86_64/configure: Regenerated.
21710 2012-08-14  Roland McGrath  <roland@hack.frob.com>
21712         * elf/dl-open.c: Include <atomic.h>.
21713         * elf/dl-lookup.c: Likewise.
21715 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
21717         * sysdeps/unix/sysv/linux/kernel-features.h
21718         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
21719         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
21720         unconditionally.
21721         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
21722         unconditionally.
21723         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
21724         condition on __ASSUME_CLONE_THREAD_FLAGS.
21726 2012-08-14  Andreas Jaeger  <aj@suse.de>
21728         * sysdeps/i386/fpu/libm-test-ulps: Update.
21730 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
21732         * include/atomic.h (atomic_exchange_and_add): Split into ...
21733         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
21734         New atomic macros.
21736 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
21738         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21740 2012-08-13  Jeff Law <law@redhat.com>
21742         * manual/stdio.texi (snprintf): Clarify handling of the trailing
21743         null byte in the output string.
21745 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
21747         * sysdeps/unix/sysv/linux/kernel-features.h
21748         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
21749         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
21750         (__ASSUME_ARG_MAX_STACK_BASED): Define.
21751         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21752         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
21753         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
21754         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
21756 2012-08-09  Jeff Law <law@redhat.com>
21758         [BZ #13939]
21759         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
21760         When avoid_arena is set, don't retry in the that arena.  Pick the
21761         next one, whatever it might be.
21762         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
21763         (arena_lock): Pass in new parameter to arena_get2.
21764         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
21765         arena_get2.
21766         (__libc_malloc): Unify retrying after main arena failure with
21767         __libc_memalign version.
21768         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
21770 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
21772         [BZ #14166]
21773         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
21774         to __redirect_strstr.
21775         (__strstr_sse42): Use typeof __redirect_strstr.
21776         (__strstr_ia32): Likewise.
21777         (__libc_strstr): New prototype.
21778         (strstr): Renamed to ...
21779         (__libc_strstr): This.
21780         (strstr): New strong alias of __libc_strstr.
21781         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21782         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
21783         __redirect_time.
21784         Include <time.h>.
21785         (__libc_time): New prototype.
21786         (time_ifunc): Replace time with __libc_time.
21787         (time): New strong alias and hidden definition of __libc_time.
21788         (__GI_time): Remove strong alias.
21789         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
21790         Include <stddef.h>.
21791         (memmove): Redefined to __redirect_memmove.
21792         (__memmove_sse2): Use typeof __redirect_memmove.
21793         (__memmove_ssse3): Likewise.
21794         (__memmove_ssse3_back): Likewise.
21795         (__libc_memmove): New prototype.
21796         (memmove): Renamed to ...
21797         (__libc_memmove): This.
21798         (memmove): New strong alias of __libc_memmove.
21800 2012-08-08  Mark Salter  <msalter@redhat.com>
21802         * elf/elf.h
21803         (R_MN10300_TLS_GD): Define.
21804         (R_MN10300_TLS_LD): Likewise.
21805         (R_MN10300_TLS_LDO): Likewise.
21806         (R_MN10300_TLS_GOTIE): Likewise.
21807         (R_MN10300_TLS_IE): Likewise.
21808         (R_MN10300_TLS_LE): Likewise.
21809         (R_MN10300_TLS_DTPMOD): Likewise.
21810         (R_MN10300_TLS_DTPOFF): Likewise.
21811         (R_MN10300_TLS_TPOFF): Likewise.
21812         (R_MN10300_SYM_DIFF): Likewise.
21813         (R_MN10300_ALIGN): Likewise.
21814         (R_MN10300_NUM): Update.
21816 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
21818         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
21819         Remove.
21821 2012-08-08  Roland McGrath  <roland@hack.frob.com>
21823         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
21825         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
21826         sysdeps/unix -> sysdeps/posix move.
21827         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21829 2012-08-07      Allan McRae     <allan@archlinux.org>
21831         [BZ #14303]
21832         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
21833         (SUNOS_CPP): Likewise.
21834         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
21835         not found.
21836         (open_input): Call CPP using execvp.
21838 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
21840         * sysdeps/unix/sysv/linux/kernel-features.h
21841         (__ASSUME_PROT_GROWSUPDOWN): Remove.
21842         (__ASSUME_NO_CLONE_DETACHED): Likewise.
21843         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21844         (__ASSUME_WAITID_SYSCALL): Likewise.
21845         * sysdeps/unix/sysv/linux/dl-execstack.c
21846         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
21847         code unconditional.
21848         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
21849         conditional code.
21850         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
21851         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
21852         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
21853         code.
21854         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
21855         unconditional.
21856         [__ASSUME_WAITID_SYSCALL]: Likewise.
21857         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
21859 2012-08-07  Roland McGrath  <roland@hack.frob.com>
21861         * sysdeps/unix/closedir.c: Renamed to ...
21862         * sysdeps/posix/closedir.c: ... here.
21863         * sysdeps/unix/dirfd.c: Renamed to ...
21864         * sysdeps/posix/dirfd.c: ... here.
21865         * sysdeps/unix/dirstream.h: Renamed to ...
21866         * sysdeps/posix/dirstream.h: ... here.
21867         * sysdeps/unix/fdopendir.c: Renamed to ...
21868         * sysdeps/posix/fdopendir.c: ... here.
21869         * sysdeps/unix/opendir.c: Renamed to ...
21870         * sysdeps/posix/opendir.c: ... here.
21871         * sysdeps/unix/readdir.c: Renamed to ...
21872         * sysdeps/posix/readdir.c: ... here.
21873         * sysdeps/unix/readdir_r.c: Renamed to ...
21874         * sysdeps/posix/readdir_r.c: ... here.
21875         * sysdeps/unix/rewinddir.c: Renamed to ...
21876         * sysdeps/posix/rewinddir.c: ... here.
21877         * sysdeps/unix/seekdir.c: Renamed to ...
21878         * sysdeps/posix/seekdir.c: ... here.
21879         * sysdeps/unix/telldir.c: Renamed to ...
21880         * sysdeps/posix/telldir.c: ... here.
21881         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
21882         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
21883         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
21884         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
21886         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
21887         * bits/fcntl.h: ... here.
21889         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
21890         not 0.
21891         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
21892         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
21893         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
21894         (struct flock): Move l_start, l_len to the beginning.
21895         Use __pid_t for l_pid.
21896         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
21897         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
21898         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
21899         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
21900         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
21901         [__USE_LARGEFILE64] (struct flock64): New type.
21902         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
21904         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
21905         * bits/dirent.h: ... here.
21907         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
21908         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
21910 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
21912         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21913         Change from 2.6.0 to 2.6.16.
21914         * sysdeps/unix/sysv/linux/configure: Regenerated.
21915         * sysdeps/unix/sysv/linux/kernel-features.h
21916         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
21917         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
21918         version.
21919         (__ASSUME_UTIMES): Likewise.
21920         (__ASSUME_CLONE_STOPPED): Remove.
21921         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
21922         architectures, not kernel version.
21923         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
21924         (__ASSUME_NO_CLONE_DETACHED): Likewise.
21925         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21926         (__ASSUME_WAITID_SYSCALL): Likewise.
21927         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
21928         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
21929         * README: State 2.6.16 as minimum Linux kernel version.  Do not
21930         refer to older versions.
21932 2012-08-06  Roland McGrath  <roland@hack.frob.com>
21934         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
21935         Define alphasort64 as an alias.
21936         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
21937         Define versionsort64 as an alias.
21938         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
21939         Define scandir64 as an alias.
21940         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
21941         Define scandirat64 as an alias.
21942         * dirent/alphasort64.c (alphasort64):
21943         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
21944         * dirent/versionsort64.c: Likewise.
21945         * dirent/scandir64.c: Likewise.
21946         * dirent/scandirat64.c: Likewise.
21947         * sysdeps/wordsize-64/alphasort.c: File removed.
21948         * sysdeps/wordsize-64/alphasort64.c: File removed.
21949         * sysdeps/wordsize-64/scandir.c: File removed.
21950         * sysdeps/wordsize-64/scandir64.c: File removed.
21951         * sysdeps/wordsize-64/scandirat.c: File removed.
21952         * sysdeps/wordsize-64/scandirat64.c: File removed.
21953         * sysdeps/wordsize-64/versionsort.c: File removed.
21954         * sysdeps/wordsize-64/versionsort64.c: File removed.
21955         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
21956         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
21957         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
21958         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
21959         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
21960         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
21961         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
21962         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
21964         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
21965         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21966         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
21967         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21968         [defined __arch64__ || defined __sparcv9]
21969         (__INO_T_MATCHES_INO64_T): New macro.
21970         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21971         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
21972         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
21973         * sysdeps/unix/sysv/linux/bits/dirent.h
21974         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
21975         (_DIRENT_MATCHES_DIRENT64): New macro.
21977         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
21978         Define lockf64 as an alias.
21979         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
21980         Define fseeko64 as an alias.
21981         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
21982         Define ftello64 as an alias.
21983         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
21984         Define _IO_fgetpos64 and fgetpos64 as aliases.
21985         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
21986         Define _IO_fsetpos64 and fsetpos64 as aliases.
21987         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
21988         Conditionalize body on this.
21989         * libio/fseeko64.c: Likewise.
21990         * libio/ftello64.c: Likewise.
21991         * libio/iofgetpos64.c: Likewise.
21992         * libio/iofsetpos64.c: Likewise.
21993         * sysdeps/wordsize-64/lockf.c: File removed.
21994         * sysdeps/wordsize-64/lockf64.c: File removed.
21995         * sysdeps/wordsize-64/fseeko.c: File removed.
21996         * sysdeps/wordsize-64/fseeko64.c: File removed.
21997         * sysdeps/wordsize-64/ftello.c: File removed.
21998         * sysdeps/wordsize-64/ftello64.c: File removed.
21999         * sysdeps/wordsize-64/iofgetpos.c: File removed.
22000         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
22001         * sysdeps/wordsize-64/iofsetpos.c: File removed.
22002         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
22003         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
22004         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
22005         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
22006         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
22007         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
22008         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
22009         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
22010         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
22011         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
22012         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
22014         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22015         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22016         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
22017         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22018         [defined __arch64__ || defined __sparcv9]
22019         (__OFF_T_MATCHES_OFF64_T): New macro.
22020         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22021         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22022         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22023         (__OFF_T_MATCHES_OFF64_T): New macro.
22025 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
22027         * stdlib/secure-getenv.c (__secure_getenv): Replace
22028         GLIBC_2_16 with GLIBC_2_17.
22030 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
22032         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
22033         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22035 2012-08-03  David S. Miller  <davem@davemloft.net>
22037         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22039 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
22041         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
22042         Remove.
22043         (__ASSUME_CORRECT_SI_PID): Likewise.
22044         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
22045         (__ASSUME_TMPFS_NAME): Likewise.
22046         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
22047         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
22048         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
22049         (HAVE_AUX_SECURE): Make definition unconditional.
22050         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
22051         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
22053 2012-08-03  Roland McGrath  <roland@hack.frob.com>
22055         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
22056         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
22057         * sysdeps/mach/hurd/eloop-threshold.h: New file.
22058         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22059         __eloop_threshold instead of SYMLOOP_MAX.
22061         * sysdeps/generic/eloop-threshold.h: New file.
22062         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
22063         of MAXSYMLINKS.
22064         * elf/chroot_canon.c (chroot_canon): Likewise.
22066 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
22068         [BZ #13717]
22069         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22070         Change to 2.6.0 everywhere.
22071         * sysdeps/unix/sysv/linux/configure: Regenerated.
22072         * sysdeps/unix/sysv/linux/kernel-features.h
22073         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
22074         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
22075         kernel versions.
22076         (__ASSUME_POSIX_TIMERS): Define unconditionally.
22077         (__ASSUME_FUTEX_REQUEUE): Remove.
22078         (__ASSUME_STATFS64): Define unconditionally.
22079         (__ASSUME_AT_SECURE): Likewise.
22080         (__ASSUME_CORRECT_SI_PID): Likewise.
22081         (__ASSUME_TGKILL): Define without depending on kernel version for
22082         i386.
22083         (__ASSUME_UTIMES): Likewise.
22084         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
22085         kernel version.
22086         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
22087         (__ASSUME_TMPFS_NAME): Likewise.
22088         * README: Update reference to Linux kernel versions.
22090 2012-08-02  Marek Polacek  <polacek@redhat.com>
22092         [BZ# 14150]
22093         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
22094         libc_cv_asm_type_prefix with %.
22095         * configure: Regenerated.
22096         * include/libc-symbols.h: Remove comment about
22097         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
22098         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
22099         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
22100         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
22101         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
22102         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
22103         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
22104         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
22105         * elf/tst-unique2mod1.c: Likewise.
22106         * elf/tst-unique1mod2.c: Likewise.
22107         * elf/tst-unique1mod1.c: Likewise.
22108         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
22109         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
22110         Replace ASM_TYPE_DIRECTIVE with .type.
22111         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22112         * sysdeps/i386/sysdep.h: Likewise.
22113         * sysdeps/x86_64/sysdep.h: Likewise.
22114         * sysdeps/sh/sysdep.h: Likewise.
22115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22116         Do not define ASM_TYPE_DIRECTIVE.
22117         * sysdeps/powerpc/sysdep.h: Likewise.
22118         * sysdeps/powerpc/powerpc32/sysdep.h:
22119         Replace ASM_TYPE_DIRECTIVE with .type.
22120         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22121         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22122         * sysdeps/i386/fpu/e_powf.S: Likewise.
22123         * sysdeps/i386/fpu/e_expl.S: Likewise.
22124         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22125         * sysdeps/i386/fpu/e_acosh.S: Likewise.
22126         * sysdeps/i386/fpu/e_pow.S: Likewise.
22127         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22128         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22129         * sysdeps/i386/fpu/s_expm1.S: Likewise.
22130         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22131         * sysdeps/i386/fpu/e_log2.S: Likewise.
22132         * sysdeps/i386/fpu/e_log2l.S: Likewise.
22133         * sysdeps/i386/fpu/e_scalb.S: Likewise.
22134         * sysdeps/i386/fpu/e_powl.S: Likewise.
22135         * sysdeps/i386/fpu/e_log10f.S: Likewise.
22136         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22137         * sysdeps/i386/fpu/e_logl.S: Likewise.
22138         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22139         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22140         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22141         * sysdeps/i386/fpu/e_log2f.S: Likewise.
22142         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22143         * sysdeps/i386/fpu/e_log.S: Likewise.
22144         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22145         * sysdeps/i386/fpu/e_logf.S: Likewise.
22146         * sysdeps/i386/fpu/e_log10l.S: Likewise.
22147         * sysdeps/i386/fpu/e_atanh.S: Likewise.
22148         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22149         * sysdeps/i386/fpu/e_log10.S: Likewise.
22150         * sysdeps/i386/fpu/s_frexp.S: Likewise.
22151         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22152         * sysdeps/i386/fpu/s_asinh.S: Likewise.
22153         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22154         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22155         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
22156         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22157         * sysdeps/i386/i686/strtok.S: Likewise.
22158         * sysdeps/i386/i386-mcount.S: Likewise.
22159         * sysdeps/i386/strtok.S: Likewise.
22160         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
22161         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22162         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22163         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22164         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22165         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22166         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22167         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22168         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22169         * sysdeps/x86_64/_mcount.S: Likewise.
22170         * sysdeps/x86_64/strtok.S: Likewise.
22171         * sysdeps/sh/_mcount.S: Likewise.
22173 2012-08-01  Roland McGrath  <roland@hack.frob.com>
22175         * libio/iofopen.c: Include <fcntl.h>.
22176         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
22177         (_IO_fopen64, fopen64): Define as aliases.
22178         * libio/iofopen64.c: Include <fcntl.h>.
22179         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
22180         Conditionalize body on this.
22181         * sysdeps/wordsize-64/iofopen.c: File removed.
22182         * sysdeps/wordsize-64/iofopen64.c: File removed.
22184 2012-08-01  Marek Polacek  <polacek@redhat.com>
22186         * libc/Makeconfig: Use elf in place of binfmt-subdir.
22187         Use dlfcn directly instead of a variable.
22188         (binfmt-subdir): Do not define.
22189         (dlfcn): Likewise.
22191 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
22193         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
22194         Remove all definitions.
22195         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
22196         <kernel-features.h>.
22197         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22198         (miss_F_GETOWN_EX): Remove all definitions.
22199         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
22200         macro definition.
22201         [!__ASSUME_FCNTL64]: Remove conditional code.
22202         [__ASSUME_FCNTL64]: Make code unconditional.
22203         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
22204         <kernel-features.h>.
22205         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22206         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
22207         (lockf64) [__NR_fcntl64]: Make code unconditional.
22208         (lockf64) [__ASSUME_FCNTL64]: Likewise.
22210         * sysdeps/unix/sysv/linux/kernel-features.h
22211         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
22212         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
22213         Make code unconditional.
22214         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22215         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
22217         [__NR_vfork]: Make code unconditional.
22218         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22219         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
22221         [__NR_vfork]: Make code unconditional.
22222         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22223         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22225 2012-08-01  Roland McGrath  <roland@hack.frob.com>
22227         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
22228         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
22230         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22231         Define mkstemp64 as an alias.
22232         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22233         Define mkstemps64 as an alias.
22234         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22235         Define mkostemp64 as an alias.
22236         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22237         Define mkostemps64 as an alias.
22238         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
22239         Conditionalize body on this.
22240         * misc/mkostemp64.c: Likewise.
22241         * misc/mkostemps64.c: Likewise.
22242         * misc/mkstemps64.c: Likewise.
22243         * sysdeps/wordsize-64/mkstemp64.c: File removed.
22244         * sysdeps/wordsize-64/mkostemp64.c: File removed.
22245         * sysdeps/wordsize-64/mkostemp.c: File removed.
22246         * sysdeps/wordsize-64/mkstemp.c: File removed.
22247         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
22248         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
22249         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
22250         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
22252         [BZ #14138]
22253         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
22254         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
22255         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
22256         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
22258         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
22259         compat_symbol macros from <shlib-compat.h> rather than the underlying
22260         default_symbol_version and symbol_version macros, so that DEFAULT
22261         lines in shlib-versions are respected.
22262         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
22264 2012-08-01  Florian Weimer  <fweimer@redhat.com>
22266         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
22267         Declare with warn_unused_result.
22268         (setgid, setregid, setegid, setresgid): Likewise.
22269         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
22270         Likewise.
22271         * WUR-REPORT: Remove set*id functions.
22273 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
22275         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
22277 2012-07-31  Roland McGrath  <roland@hack.frob.com>
22279         [BZ #10191]
22280         * include/sys/socket.h (__libc_accept, __libc_accept4):
22281         Add attribute_hidden.
22282         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
22284         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
22285         use of PTR_MANGLE.
22286         * inet/getnetgrent_r.c (setup): Likewise.
22288         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
22290 2012-07-31  David S. Miller  <davem@davemloft.net>
22292         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22294 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
22296         [BZ #13629]
22297         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
22298         value between 1.0 and 2.0 and smaller part has absolute value less
22299         than 1.0.
22300         * math/s_clog10.c (__clog10): Likewise.
22301         * math/s_clog10f.c (__clog10f): Likewise.
22302         * math/s_clog10l.c (__clog10l): Likewise.
22303         * math/s_clogf.c (__clogf): Likewise.
22304         * math/s_clogl.c (__clogl): Likewise.
22305         * math/libm-test.inc (clog_test): Add more tests.
22306         (clog10_test): Likewise.
22307         * sysdeps/i386/fpu/libm-test-ulps: Update.
22308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22310 2012-07-31  Florian Weimer  <fweimer@redhat.com>
22312         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
22313         Exit with zero in case no suitable GID is found, and write a
22314         message to standard error.
22316 2012-07-30  Roland McGrath  <roland@hack.frob.com>
22318         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
22319         rather than to 1.
22320         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
22321         (MAXPATHLEN): Removed.
22322         (NOGROUP, NODEV): New macros.
22323         (setbit, clrbit, isset, isclr): New macros.
22324         (howmany, roundup, powerof2): New macros.
22325         (DEV_BSIZE): New macro.
22327         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
22328         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
22330         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
22331         definition on [!__NO_LONG_DOUBLE_MATH].
22333         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
22334         PTR_MANGLE and PTR_DEMANGLE.
22336         * socket/accept4.c (accept4): Rename to __libc_accept4.
22337         Define accept4 as a weak alias.
22339         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
22340         on [_DIRENT_HAVE_D_TYPE].
22341         * io/ftw.c (ftw_dir): Likewise.
22343         * io/xmknod.c (__xmknod): Don't check PATH for being null.
22345         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
22347         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
22348         Use the BSD numbers rather than the arbitrary ones we had.
22349         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
22350         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
22351         (SIGXCPU, SIGXFSZ): New macros.
22352         (_NSIG): Now 32.
22354         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
22355         initializer on [_LIBC_REENTRANT].
22357         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
22358         definitions inside [_POSIX_MAPPED_FILES].
22360         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
22362         * dirent/opendir.c: Include <fcntl.h>.
22364         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
22365         (__libc_getspecific): Likewise.
22366         (__libc_key_create): Likewise.
22368         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
22369         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
22370         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
22371         (tmpfile64): Define as alias.
22372         * sysdeps/wordsize-64/tmpfile.c: File removed.
22373         * sysdeps/wordsize-64/tmpfile64.c: File removed.
22374         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
22375         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
22377         * stdio-common/vfscanf.c: Include <stdbool.h>.
22378         * nss/makedb.c: Likewise.
22379         * stdio-common/_i18n_number.h: Likewise.
22380         * argp/argp-help.c: Likewise.
22381         * posix/wordexp.c: Likewise.
22382         * sysdeps/posix/spawni.c: Likewise.
22383         * nss/nss_files/files-initgroups.c: Likewise.
22384         * stdio-common/reg-modifier.c: Include <stdlib.h>.
22385         * nss/nss_files/files-initgroups.c: Likewise.
22386         * nss/nss_db/db-netgrp.c: Likewise.
22387         * nss/nss_db/db-initgroups.c: Likewise.
22388         * io/fchmodat.c: Include <sys/stat.h>.
22390         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
22391         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
22393         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
22394         [HAVE_MMAP].
22396         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
22397         Add multiple inclusion protection.
22399 2012-07-27  David S. Miller  <davem@davemloft.net>
22401         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22403 2012-07-27  Gary Benson  <gbenson@redhat.com>
22405         [BZ #14298]
22406         * elf/rtld.c: Include <stap-probe.h>.
22407         (dl_main): Added static probes "init_start" and "init_complete".
22408         * elf/dl-load.c: Include <stap-probe.h>.
22409         (lose): Take new parameter "nsid".
22410         Added static probe "map_failed".
22411         (_dl_map_object_from_fd): Pass namespace id to lose.
22412         Added static probe "map_start".
22413         (open_verify): Pass namespace id to lose.
22414         * elf/dl-open.c: Include <stap-probe.h>.
22415         (dl_open_worker) Added static probes "map_complete", "reloc_start"
22416         and "reloc_complete".
22417         * elf/dl-close.c: Include <stap-probe.h>.
22418         (_dl_close_worker): Added static probes "unmap_start" and
22419         "unmap_complete".
22420         * elf/rtld-debugger-interface.txt: New file documenting the above.
22422 2012-07-26  Roland McGrath  <roland@hack.frob.com>
22424         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
22425         rather than a string variable.
22426         * sunrpc/rpc_main.c (h_output): Likewise.
22427         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
22429 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
22431         * inet/check_native.c: New file.
22433 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
22435         [BZ #13629]
22436         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
22437         if larger part has absolute value 1.0.
22438         * math/s_clog10.c (__clog10): Likewise.
22439         * math/s_clog10f.c (__clog10f): Likewise.
22440         * math/s_clog10l.c (__clog10l): Likewise.
22441         * math/s_clogf.c (__clogf): Likewise.
22442         * math/s_clogl.c (__clogl): Likewise.
22443         * math/libm-test.inc (clog_test): Add more tests.
22444         (clog10_test): Likewise.
22445         * sysdeps/i386/fpu/libm-test-ulps: Update.
22446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22448         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
22449         (pltexit): Likewise.
22450         (La_regs): Likewise.
22451         (La_retval): Likewise.
22452         (int_retval): Likewise.
22453         Update #error for removed macros to refer only to definitions in
22454         tst-audit.h.
22455         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
22456         macro.
22457         (pltexit): Likewise.
22458         (La_regs): Likewise.
22459         (La_retval): Likewise.
22460         (int_retval): Likewise.
22461         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
22462         macro.
22463         (pltexit): Likewise.
22464         (La_regs): Likewise.
22465         (La_retval): Likewise.
22466         (int_retval): Likewise.
22467         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
22468         macro.
22469         (pltexit): Likewise.
22470         (La_regs): Likewise.
22471         (La_retval): Likewise.
22472         (int_retval): Likewise.
22473         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
22474         macro.
22475         (pltexit): Likewise.
22476         (La_regs): Likewise.
22477         (La_retval): Likewise.
22478         (int_retval): Likewise.
22479         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
22480         macro.
22481         (pltexit): Likewise.
22482         (La_regs): Likewise.
22483         (La_retval): Likewise.
22484         (int_retval): Likewise.
22485         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
22486         macro.
22487         (pltexit): Likewise.
22488         (La_regs): Likewise.
22489         (La_retval): Likewise.
22490         (int_retval): Likewise.
22491         * sysdeps/generic/tst-audit.h: Update comment to refer only to
22492         macro definitions in tst-audit.h.
22493         * sysdeps/i386/tst-audit.h: New file.
22494         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
22495         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
22496         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
22497         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
22498         * sysdeps/sh/tst-audit.h: Likewise.
22499         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
22500         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
22501         * sysdeps/x86_64/tst-audit.h: Likewise.
22503 2012-07-26  Andreas Jaeger  <aj@suse.de>
22505         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
22506         ptrace.
22508         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
22509         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
22510         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
22511         PTRACE_O_MASK.
22512         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
22513         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
22514         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
22516         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
22517         value.
22519         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
22520         _sigsys.
22521         (si_call_addr, si_syscall, si_arch): Define new macro.
22522         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
22523         _sigsys.
22524         (si_call_addr, si_syscall, si_arch): Define new marcro.
22525         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
22526         _sigsys.
22527         (si_call_addr, si_syscall, si_arch): Define new macro.
22528         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
22529         _sigsys.
22530         (si_call_addr, si_syscall, si_arch): Define new macro.
22532 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
22534         [BZ #13717]
22535         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22536         Change to 2.4.21 where previously 2.4.1.
22537         * sysdeps/unix/sysv/linux/configure: Regenerated.
22538         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
22539         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
22540         Linux kernel version.
22541         (__ASSUME_STD_AUXV): Remove.
22542         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
22543         kernel version.
22544         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
22545         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
22546         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
22547         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
22548         (__ASSUME_NETLINK_SUPPORT): Likewise.
22549         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
22550         (__no_netlink_support): Remove conditional definition.
22551         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
22552         Remove.
22553         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22554         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
22555         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
22556         (if_nameindex_ioctl): Remove.
22557         (if_nameindex_netlink): Do not handle __no_netlink_support.
22558         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22559         code.
22560         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
22561         Remove conditional code.
22562         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22563         code.
22564         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
22565         unconditional.
22566         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22567         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
22568         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
22569         Remove.
22570         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
22571         [!__ASSUME_STD_AUXV]: Remove conditional code.
22572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
22573         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
22574         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
22575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
22576         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
22577         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22578         code.
22579         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22581         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
22582         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22583         conditional code.
22584         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22586         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22587         code.
22588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22589         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22590         conditional code.
22591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
22592         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22593         code unconditional.
22594         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22595         conditional code.
22596         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22597         unconditional.
22598         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22599         conditional code.
22600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22601         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22602         unconditional.
22603         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22604         conditional code.
22605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22606         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22607         code unconditional.
22608         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22609         conditional code.
22610         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22611         unconditional.
22612         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22613         conditional code.
22614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22615         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22616         code unconditional.
22617         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22618         conditional code.
22619         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22620         unconditional.
22621         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22622         conditional code.
22624 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
22626         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
22627         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
22628         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22629         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
22630         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
22631         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22632         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22633         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22634         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
22635         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22636         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
22637         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
22638         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
22639         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22640         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
22641         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
22642         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
22643         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
22644         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
22645         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
22646         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
22647         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
22648         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22650 2012-07-25  Florian Weimer  <fweimer@redhat.com>
22652         * Versions.def: Add GLIBC_2.17.
22653         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
22654         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
22655         Introduce __libc_secure_getenv.
22656         * stdlib/Versions (2.17): Add secure_getenv
22657         (GLIBC_PRIVATE): Add __libc_secure_getenv.
22658         * stdlib/secure-getenv.c: Rename __secure_getenv to
22659         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
22660         symbol __secure_getenv for GLIBC_2.0.
22661         * stdlib/tst-secure-getenv.c: New.
22662         * stdlib/Makefile (tests): Add testcase.
22663         * manual/startup.texi (Environment Access): Document
22664         secure_getenv.
22665         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
22666         __libc_secure_getenv.
22667         * inet/ruserpass.c (ruserpass): Likewise.
22668         * malloc/mtrace.c (mtrace): Likewise.
22669         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
22670         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
22671         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
22672         * sysdeps/posix/tempname.c: Likewise.  Evaluate
22673         HAVE_SECURE_GETENV.
22674         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
22675         __secure_getenv to __libc_secure_getenv.
22676         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
22677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22678         Likewise.
22679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22680         Likewise.
22681         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22682         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22683         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22684         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22685         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22686         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22687         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22689 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
22691         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
22692         (struct La_i86_retval): Likewise.
22693         (struct La_x86_64_regs): Likewise.
22694         (struct La_x86_64_retval): Likewise.
22695         (struct La_x32_regs): Likewise.
22696         (struct La_x32_retval): Likewise.
22697         (struct La_ppc32_regs): Likewise.
22698         (struct La_ppc32_retval): Likewise.
22699         (struct La_ppc64_regs): Likewise.
22700         (struct La_ppc64_retval): Likewise.
22701         (struct La_sh_regs): Likewise.
22702         (struct La_sh_retval): Likewise.
22703         (struct La_s390_32_regs): Likewise.
22704         (struct La_s390_32_retval): Likewise.
22705         (struct La_s390_64_regs): Likewise.
22706         (struct La_s390_64_retval): Likewise.
22707         (struct La_sparc32_regs): Likewise.
22708         (struct La_sparc32_retval): Likewise.
22709         (struct La_sparc64_regs): Likewise.
22710         (struct La_sparc64_retval): Likewise.
22711         (struct audit_ifaces): Remove architecture-specific pltenter and
22712         pltexit members.
22713         * sysdeps/i386/ldsodefs.h: New file.
22714         * sysdeps/powerpc/ldsodefs.h: Likewise.
22715         * sysdeps/s390/ldsodefs.h: Likewise.
22716         * sysdeps/sh/ldsodefs.h: Likewise.
22717         * sysdeps/sparc/ldsodefs.h: Likewise.
22718         * sysdeps/x86_64/ldsodefs.h: Likewise.
22720 2012-07-25  Marek Polacek  <polacek@redhat.com>
22722         [BZ #6808]
22723         * math/libm-test.inc (yn_test): Add another test.
22724         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
22725         to ERANGE when the result is +-Inf.
22726         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22727         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
22728         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
22729         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
22731 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
22733         * conform/data/time.h-data (NULL): Use macro-constant.  Require
22734         equal to 0.
22735         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
22736         clock_t.
22737         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
22739 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
22741         * configure.in <sysdeps resolving>: Correct printing
22742         Implies_before.
22743         * configure: Regenerate.
22745 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
22747         * math/w_ilogb.c: Include <limits.h>.
22748         * math/w_ilogbl.c: Likewise.
22750 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
22752         * manual/lang.texi (__va_copy): Document primarily as ISO C99
22753         va_copy.  Document allowing for unavailable va_copy only as
22754         pre-C99 compatibility.
22755         * manual/string.texi (Copying and Concatenation): Use va_copy
22756         instead of __va_copy in concat example.
22758 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
22760         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
22761         (__sendto): Use create_address_port.  Initialize APORT and deallocate
22762         it if not null.
22764         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
22765         with O_NOLINK passed to __file_name_lookup.
22767         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
22768         with O_NOLINK passed to __file_name_lookup.
22770         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
22771         negative N or less than NGIDS.
22773         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
22774         type to string_t.  Set ERANGE as errno and return it if NAME is not big
22775         enough.  Use memcpy instead of strncpy.
22777 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
22779         * elf/Makefile (check-data): Remove.
22780         (localplt.data): New vpath directive.
22781         ($(objpfx)check-localplt.out): Use localplt.data from vpath
22782         instead of $(check-data).
22783         * scripts/data/localplt-generic.data: Move to ...
22784         * sysdeps/generic/localplt.data: ... here.
22785         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
22786         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
22787         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
22788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
22789         ... here.
22790         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
22791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
22792         ... here.
22793         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
22794         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
22795         ... here.
22796         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
22797         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
22798         ... here.
22799         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
22800         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
22801         ... here.
22802         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
22803         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
22804         ... here.
22806 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22808         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
22809         PPC32 and PPC64 files.
22810         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
22811         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
22813 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22815         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
22816         __makecontext_ret to ...
22817         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
22818         ... here and call exit if uc_link is NULL.  New file.
22819         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
22820         __makecontext_ret.S.
22821         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
22822         __makecontext_ret to ...
22823         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
22824         ... here and call exit if uc_link is NULL.  New file.
22825         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
22826         __makecontext_ret.S.
22828 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22830         * elf/elf.h (R_390_IRELATIVE): New definition.
22831         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
22832         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
22833         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
22834         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22835         (elf_machine_lazy_rel): Likewise.
22836         * sysdeps/s390/dl-irel.h: New file.
22837         * sysdeps/s390/s390-64/memcpy.S: New asm code.
22838         * sysdeps/s390/s390-64/memset.S: New asm code.
22839         * sysdeps/s390/s390-64/memcmp.S: New asm code.
22840         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
22841         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
22842         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
22843         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
22844         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
22845         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
22846         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
22847         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
22848         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
22849         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
22850         * sysdeps/s390/s390-32/memcpy.S: New asm code.
22851         * sysdeps/s390/s390-32/memset.S: New asm code.
22852         * sysdeps/s390/s390-32/memcmp.S: New asm code.
22854 2012-07-17  Marek Polacek  <polacek@redhat.com>
22856         [BZ #14349]
22857         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
22858         * sysdeps/s390/s390-64/configure.in: Likewise.
22859         * sysdeps/sparc/configure.in: Likewise.
22860         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
22861         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
22862         * sysdeps/i386/configure.in: Likewise.
22863         * sysdeps/x86_64/configure.in: Likewise.
22864         * sysdeps/sh/configure.in: Likewise.
22865         * sysdeps/s390/s390-32/configure: Regenerated.
22866         * sysdeps/s390/s390-64/configure: Likewise.
22867         * sysdeps/x86_64/configure: Likewise.
22868         * sysdeps/sh/configure: Likewise.
22869         * sysdeps/powerpc/powerpc64/configure: Likewise.
22870         * sysdeps/powerpc/powerpc32/configure: Likewise.
22871         * sysdeps/sparc/configure: Likwise.
22872         * sysdeps/i386/configure: Likewise.
22874         * elf/dl-open.c: Comment fixes.
22876 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
22878         * Makefile [CXX] (check-data): Remove.
22879         [CXX] (c++-types.data): New vpath directive.
22880         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
22881         vpath.  Do not allow for C++ type data being missing.
22882         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
22883         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
22884         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
22885         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
22886         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
22887         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
22888         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
22889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
22890         ... here.
22891         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
22892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
22893         ... here.
22894         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
22895         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
22896         ... here.
22897         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
22898         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
22899         ... here.
22900         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
22901         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
22902         ... here.
22903         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
22904         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
22905         ... here.
22906         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
22907         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
22908         ... here.
22909         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
22910         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
22912         * elf/tls-macros.h (TLS_LE): Move architecture-specific
22913         definitions to architecture-specific files.
22914         (TLS_IE): Likewise.
22915         (TLS_LD): Likewise.
22916         (TLS_GD): Likewise.
22917         * sysdeps/i386/tls-macros.h: New file.
22918         * sysdeps/powerpc/tls-macros.h: Likewise.
22919         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
22920         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
22921         * sysdeps/sh/tls-macros.h: Likewise.
22922         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
22923         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
22924         * sysdeps/x86_64/tls-macros.h: Likewise.
22926 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
22928         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
22929         zero value for regular exit case.
22931         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22932         (__start_context): Preserve zero value for regular exit case.
22934 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
22935             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22937         * manual/setjmp.texi (setcontext): Clarify normal process
22938         termination when uc_link is the null pointer.
22939         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
22940         exit call.
22942 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
22944         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
22945         preprocessor.  Test for each exception mask separately.
22947 2012-07-16  Andreas Jaeger  <aj@suse.de>
22949         * po/ru.po: Update from translation team.
22951 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
22953         * conform/data/string.h-data (NULL): Use macro-constant.  Require
22954         equal to 0.
22955         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22956         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22957         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
22958         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
22959         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22961 2012-07-13  Andreas Jaeger  <aj@suse.de>
22963         * po/fr.po: Update from translation team.
22965 2012-07-12  Marek Polacek  <polacek@redhat.com>
22967         [BZ #14173]
22968         * math/libm-test.inc (yn_test): Add test for BZ #14173.
22969         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
22970         loop condition.
22972 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
22974         [BZ #13717]
22975         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22976         Change to 2.4.1 where previously 2.4.0.
22977         * sysdeps/unix/sysv/linux/configure: Regenerated.
22978         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
22979         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
22980         version.
22981         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
22982         (__ASSUME_AT_CLKTCK): Remove.
22983         (__ASSUME_AT_PAGESIZE): Likewise.
22984         (__ASSUME_AT_XID): Likewise.
22985         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
22986         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
22987         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
22988         unconditionally.
22989         (HAVE_AUX_PAGESIZE): Likewise.
22990         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
22991         [__ASSUME_AT_CLKTCK]: Make code unconditional.
22992         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
22994 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
22996         [BZ #14307]
22997         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
22998         the temporary buffer used to invoke __gethostbyname2_r,
22999         __gethostbyaddr_r and gethostbyname4_r to make room for struct
23000         host_data / struct gaih_addrtuple.
23001         * resolv/nss_dns/dns-host.c (global scope): Move definition of
23002         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
23003         header file nss/nsswitch.h.
23004         * nss/nsswitch.h (global scope): Add definition of implementation
23005         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
23006         resolv/nss_dns/dns-host.c).
23008 2012-07-11  Andreas Jaeger  <aj@suse.de>
23010         * po/fr.po: Update from translation team.
23012         * po/sv.po: Update from translation team
23013         * po/fr.po: Another update from translation team.
23015 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23017         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
23018         for subnormals or multiply small sinh result by itself.
23019         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23020         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23022 2012-07-11  David S. Miller  <davem@davemloft.net>
23024         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23026 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
23028         [BZ #14347]
23029         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
23030         (INTERNAL_MARK): Shift it here.
23032 2012-07-10  Marek Polacek  <polacek@redhat.com>
23034         [BZ #14151]
23035         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
23036         libc_cv_asm_global_directive with .globl.
23037         * configure: Regenerated.
23038         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
23039         with .globl.
23040         * sysdeps/i386/configure: Regenerated.
23041         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
23042         with .globl.
23043         * sysdeps/x86_64/configure: Regenerated.
23044         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
23045         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
23046         * elf/tst-unique2mod2.c: Likewise.
23047         * elf/tst-unique2mod1.c: Likewise.
23048         * elf/tst-unique1mod2.c: Likewise.
23049         * elf/tst-unique1mod1.c: Likewise.
23050         * sysdeps/s390/s390-32/sysdep.h: Likewise.
23051         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
23052         * sysdeps/s390/s390-64/sysdep.h: Likewise.
23053         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23054         * sysdeps/mach/sysdep.h: Likewise.
23055         * sysdeps/i386/sysdep.h: Likewise.
23056         * sysdeps/i386/i386-mcount.S: Likewise.
23057         * sysdeps/x86_64/_mcount.S: Likewise.
23058         * sysdeps/x86_64/sysdep.h: Likewise.
23059         * sysdeps/sh/_mcount.S: Likewise.
23060         * sysdeps/sh/sysdep.h: Likewise.
23061         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
23062         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
23063         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
23064         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23065         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
23066         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
23067         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
23068         * locale/localeinfo.h: Likewise.
23069         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
23070         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
23072 2012-07-09  Roland McGrath  <roland@hack.frob.com>
23074         [BZ #14336]
23075         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
23076         system".
23077         * manual/message.texi (The Uniforum approach): Likewise.
23078         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
23079         (glibc iconv Implementation): Likewise.
23081 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
23083         [BZ #14337]
23084         * math/s_clog.c (__clog): Avoid scaling a value down where that
23085         could result in underflow.
23086         * math/s_clog10.c (__clog10): Likewise.
23087         * math/s_clog10f.c (__clog10f): Likewise.
23088         * math/s_clog10l.c (__clog10l): Likewise.
23089         * math/s_clogf.c (__clogf): Likewise.
23090         * math/s_clogl.c (__clogl): Likewise.
23091         * math/libm-test.inc (clog_test): Add more tests.
23092         (clog10_test): Likewise.
23093         * sysdeps/i386/fpu/libm-test-ulps: Update.
23094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23096 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
23098         [BZ #14283]
23099         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
23100         by 7 not 8 to examine high bit of fractional part.
23102         [BZ #14042]
23103         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
23104         for call to __mcount_internal.
23105         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
23106         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
23107         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
23109 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
23111         [BZ #14154]
23112         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
23113         approximation for values within 0x1p-13f of an odd multiple of
23114         pi/4.
23115         * math/libm-test.inc (tan_test): Do not allow spurious underflow
23116         exception.  Add more tests.
23117         * sysdeps/i386/fpu/libm-test-ulps: Update.
23119         [BZ #6778]
23120         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
23121         inputs and return -1 for them.  Do not check for +Inf in case not
23122         reachable for +Inf.
23123         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23124         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
23125         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23126         and return -1 for them.  Do not check for +Inf in case not
23127         reachable for +Inf.
23128         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
23129         define.
23130         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23131         and return -1 for them.  Do not check for +Inf in case not
23132         reachable for +Inf.
23133         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
23134         spurious underflow.
23135         * sysdeps/i386/fpu/libm-test-ulps: Update.
23136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23138 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
23140         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
23142 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
23144         [BZ #14157]
23145         [BZ #14331]
23146         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
23147         could result in spurious underflow.  Scale down values above
23148         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
23149         * math/s_csqrtf.c (__csqrtf): Likewise.
23150         * math/s_csqrtl.c (__csqrtl): Likewise.
23151         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
23152         spurious underflow.
23153         * sysdeps/i386/fpu/libm-test-ulps: Update.
23154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23156 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
23158         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
23159         xopen-msg.sed.
23160         * catgets/xopen-msg.awk: New file.
23161         * catgets/xopen-msg.sed: Removed.
23163         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
23164         po2text.sed.
23165         * intl/po2test.awk: New file.
23166         * intl/po2test.sed: Removed.
23168 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
23170         [BZ #14328]
23171         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
23172         or multiply small sinh result by itself.
23173         * math/s_ctanf.c (__ctanf): Likewise.
23174         * math/s_ctanh.c (__ctanh): Likewise.
23175         * math/s_ctanhf.c (__ctanhf): Likewise.
23176         * math/s_ctanhl.c (__ctanhl): Likewise.
23177         * math/s_ctanl.c (__ctanl): Likewise.
23178         * math/libm-test.inc (ctan_test_tonearest): New function.
23179         (ctan_test_towardzero): Likewise.
23180         (ctan_test_downward): Likewise.
23181         (ctan_test_upward): Likewise.
23182         (ctanh_test_tonearest): Likewise.
23183         (ctanh_test_towardzero): Likewise.
23184         (ctanh_test_downward): Likewise.
23185         (ctanh_test_upward): Likewise.
23186         (main): Call these new functions.
23187         * sysdeps/i386/fpu/libm-test-ulps: Update.
23188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23190 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
23192         * .gitignore: Delete /ports entry.
23194 2012-07-03  Andreas Jaeger  <aj@suse.de>
23196         * po/bg.po: Update from translation team.
23197         * po/cs.po: Likewise.
23198         * po/de.po: Likewise.
23199         * po/hr.po: Likewise.
23200         * po/nl.pl: Likewise.
23201         * po/pl.po: Likewise.
23202         * po/vi.po: Likewise.
23204 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
23206         * Makeconfig [!+link] (+link-before-libc): New variable.
23207         [!+link] (+link-after-libc): Likewise.
23208         [!+link] (+link-tests): Likewise.
23209         [!+link] (+link): Define in terms of $(+link-before-libc) and
23210         $(+link-after-libc).
23211         [!+link-static] (+link-static-before-libc): New variable.
23212         [!+link-static] (+link-static-after-libc): Likewise.
23213         [!+link-static] (+link-static-tests): Likewise.
23214         [!+link-static] (+link-static): Define in terms of
23215         $(+link-static-before-libc) and $(+link-static-after-libc).
23216         [build-shared] (link-libc-before-gnulib): New variable.
23217         [build-shared] (link-libc-tests): Likewise.
23218         [build-shared] (link-libc): Define in terms of
23219         $(link-libc-before-gnulib).
23220         [!build-shared] (link-libc-tests): New variable.
23221         (link-libc-static-tests): New variable.
23222         [!gnulib] (gnulib-arch): New variable.
23223         [!gnulib] (gnulib-tests): Likewise.
23224         [!gnulib] (static-gnulib-arch): Likewise.
23225         [!gnulib] (static-gnulib-tests): Likewise.
23226         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
23227         Define with "=" instead of ":=".
23228         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
23229         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
23230         * Rules (binaries-all-notests): New variable.
23231         (binaries-all-tests): Likewise.
23232         (binaries-static-notests): Likewise.
23233         (binaries-static-tests): Likewise.
23234         (binaries-all): Define using $(binaries-all-notests) and
23235         $(binaries-all-tests).
23236         (binaries-static): Define using $(binaries-static-notests) and
23237         $(binaries-static-tests).
23238         (binaries-shared-tests): New variable.
23239         (binaries-shared-notests): Likewise.
23240         (binaries-shared): Remove variable.
23241         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
23242         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
23243         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
23244         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
23245         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
23246         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
23247         * elf/Makefile (sln-modules): New variable.
23248         (extra-objs): Add $(sln-modules:=.o).
23249         (ldconfig-modules): Add static-stubs.
23250         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
23251         * elf/static-stubs.c: New file.
23253         [BZ #14283]
23254         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
23255         by 7 not 8 to examine high bit of fractional part.  Use volatile
23256         variables when splitting into final array of floats if
23257         __FLT_EVAL_METHOD__ != 0.
23258         * math/libm-test.inc (cos_test): Add another test.
23259         (sin_test): Likewise.
23260         * sysdeps/i386/fpu/libm-test-ulps: Update.
23262         [BZ #14273]
23263         * math/libm-test.inc (cosh_test): Add more tests.
23265         * version.h (RELEASE): Set to "development".
23266         (VERSION): Set to "2.16.90".
23268 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
23270         * NEWS: Update copyright. Remove last-updated date.
23271         Mention math library bug fixes and timezone data changes.
23272         * README: Mention GNU/Hurd, x32, and HPPA support status.
23274 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
23276         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
23278 2012-06-27  Andreas Jaeger  <aj@suse.de>
23280         * manual/contrib.texi (Contributors): Add Samuel Thibault.
23282 2012-06-25  Andreas Jaeger  <aj@suse.de>
23284         * sysdeps/s390/fpu/libm-test-ulps: Update.
23286 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
23287             Thomas Schwinge  <thomas@codesourcery.com>
23289         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
23290         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
23291         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
23292         fanotify_mark.
23294 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
23296         * sysdeps/mach/start.c: Remove file.
23297         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
23298         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
23299         * sysdeps/sh/init-first.c: Likewise.
23301         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
23302         registers for frame unwinding purposes, add CFI directives.
23303         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23304         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
23305         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
23306         Likewise.
23308         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
23309         __fortify_fail returning.
23310         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23312         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
23313         sysdeps/sh/____longjmp_chk.S.
23314         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
23315         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
23316         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
23317         (gen-as-const-headers): Append sigaltstack-offsets.sym.
23319         * sysdeps/sh/abort-instr.h: New file.
23320         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
23321         process in case exit returns.
23323         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
23324         initialize the GOT register before use.
23326         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
23327         calculation of ARGC > 4.
23329         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
23330         meaningful names to some local labels.
23332 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23333             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23335         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
23336         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
23337         (__arch_compare_and_exchange_val_16_acq): Likewise.
23338         (__arch_compare_and_exchange_val_32_acq): Likewise.
23339         (atomic_exchange_and_add): Fix gUSA sequence.
23340         (atomic_add): Likewise.
23341         (atomic_add_negative): Likewise.
23342         (atomic_add_zero): Likewise.
23343         (atomic_bit_test_set): Likewise.
23345 2012-06-22  Andreas Schwab  <schwab@redhat.com>
23347         [BZ #13579]
23348         * include/link.h (struct link_map): Add l_free_initfini.
23349         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
23350         l_initfini.
23351         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
23352         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
23353         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
23354         set.
23356 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
23358         * configure.in: Use AC_LANG_SOURCE.
23359         * configure: Regenerate.
23361 2012-06-22  Roland McGrath  <roland@hack.frob.com>
23363         * configure.in (libc_cv_localstatedir): New substituted variable.
23364         * configure: Regenerated.
23365         * config.make.in (localstatedir): New variable, substituted from
23366         libc_cv_localstatedir.
23367         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
23368         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
23369         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
23370         * sysdeps/gnu/configure: Regenerated.
23372 2012-06-21  Jeff Law  <law@redhat.com>
23374         [BZ #14277]
23375         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
23376         free.  Simplify list management for _LIBC case.
23378 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
23380         [BZ #14273]
23381         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
23382         Clear sign bit of 64-bit integer value before comparing against
23383         overflow value.
23385         * sysdeps/mach/configure: Regenerated.
23387 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
23389         [BZ #14278]
23390         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
23392 2012-06-21  Jeff Law  <law@redhat.com>
23394         [BZ #13882]
23395         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
23396         uint16_t for elements in the "seen" array to avoid char overflows.
23397         * elf/dl-fini.c (_dl_sort_fini): Likewise.
23398         * elf/dl-open.c (dl_open_worker): Likewise.
23400 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
23402         * scripts/list-sources.sh: Scan PORTS for translations.
23403         * po/libc.pot: Regenerated.
23405 2012-06-21  Andreas Jaeger  <aj@suse.de>
23407         [BZ #12194]
23408         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
23409         warning.
23410         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
23411         * bits/byteswap-16.h (__bswap_16): Likewise.
23412         * bits/byteswap.h (__bswap_constant_16): Likewise.
23414 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
23416         [BZ #14117]
23417         * sysdeps/i386/fpu_control.h: Removed.
23418         * sysdeps/x86_64/fpu_control.h: Moved to ...
23419         * sysdeps/x86/fpu_control.h: Here.
23421         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
23422         (_FPU_SETCW): Likewise.
23424 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
23426         [BZ #14117]
23427         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
23428         * sysdeps/x86/fpu/bits/mathinline.h: This.
23429         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
23431         [BZ #14050]
23432         [BZ #14117]
23433         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
23434         functions if __x86_64__ is defined.
23436 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
23438         * string/endian.h: Add !__ASSEMBLER__ condition for including
23439         conversion interfaces.
23441 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
23443         [BZ #14241]
23444         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
23445         of ABS(x) in calculating zero to negative powers other than odd
23446         integers.
23447         * math/libm-test.inc (pow_test): Add more tests.
23449 2012-06-15  Andreas Jaeger  <aj@suse.de>
23451         * manual/contrib.texi (Contributors): Update entry of Liubov
23452         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
23453         Machado Filho.
23455 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
23457         * string/string.h: Add __wur to GNU version of strerror_r.
23459 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
23461         [BZ #14229]
23462         * string/Makefile (tests): Add tst-strtok_r.
23463         * string/tst-strtok_r.c: New file.
23464         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
23465         RAX_LP/RDX_LP on SAVE_PTR.
23467 2012-06-14  Roland McGrath  <roland@hack.frob.com>
23469         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
23471 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
23473         * libm_test.inc (csqrt_test): Allow more spurious underflow
23474         exceptions.
23475         (j0_test): Likewise.
23476         (j1_test): Likewise.
23477         (y0_test): Likewise.
23478         (y1_test): Likewise.
23480 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
23482         * po/Makefile (libc.pot): Use UTF-8 charset.
23484 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
23486         [BZ #14210]
23487         Suppress sign-conversion warning from FD_SET.
23488         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
23489         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
23490         not unsigned long int.
23491         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
23493 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
23495         [BZ #14050]
23496         [BZ #14117]
23497         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
23498         __extern_always_inline instead of __extern_inline.
23499         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
23500         (__signbit): Likewise.
23501         (__signbitl): Support C++ namespace.
23502         (lrintf): New inline function.
23503         (lrint): Likewise.
23504         (llrintf): Likewise.
23505         (llrint): Likewise.
23506         (fmaxf): Likewise.
23507         (fmax): Likewise.
23508         (fminf): Likewise.
23509         (fmin): Likewise.
23510         (rint): Likewise.
23511         (rintf): Likewise.
23512         (ceil): Likewise.
23513         (ceilf): Likewise.
23514         (floor): Likewise.
23515         (floorf): Likewise.
23516         (nearbyint): Likewise.
23517         (nearbyintf): Likewise.
23519 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
23521         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
23522         non-default versions.
23524 2012-06-11  Roland McGrath  <roland@hack.frob.com>
23526         [BZ #14218]
23527         * manual/argp.texi (Argp): Reword argp_parse description slightly.
23529 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
23531         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
23532         (FE_UPWARD, FE_DOWNWARD): Don't define.
23533         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
23534         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23536         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
23537         reading it.
23538         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23539         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23541 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23543         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23544         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
23545         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
23546         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
23548 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
23550         [BZ #14117]
23551         * sysdeps/i386/fpu/bits/fenv.h: Removed.
23552         * sysdeps/i386/fpu/Implies: New file.
23553         * sysdeps/x86_64/fpu/Implies: Likewise.
23554         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
23555         * sysdeps/x86/fpu/bits/fenv.h: This.
23557         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
23558         __SSE_MATH__.
23560 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23562         [BZ #14134]
23563         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
23564         character 0xffff that matches the last element of the
23565         conversion table.
23567 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23569         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
23570         fmodl commit.
23572 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23574         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
23575         values higher than 25.6283.
23577 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23579         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
23580         subnormal exponent extraction and add some __builtin_expect.
23581         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
23582         Fix for subnormal mantissa calculation.
23584 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
23586         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
23587         cpu2 is -1 and errno is not ENOSYS.
23589 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
23591         [BZ #14117]
23592         * sysdeps/i386/i486/bits/string.h: Renamed to ...
23593         * sysdeps/x86/bits/string.h: This.
23594         * sysdeps/x86_64/bits/string.h: Removed.
23596         * sysdeps/i386/i486/bits/string.h: Define inline functions only
23597         if not compiling for x86-64, but compiling for >= i486.
23599         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
23600         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
23602         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
23603         New macro from Linux kernel 3.4.0.
23604         (FP_XSTATE_MAGIC2): Likewise.
23605         (FP_XSTATE_MAGIC2_SIZE): Likewise.
23606         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
23607         (struct _fpx_sw_bytes): New struct.
23608         (struct _xsave_hdr): Likewise.
23609         (struct _ymmh_state): Likewise.
23610         (struct _xstate): Likewise.
23612         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
23613         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
23614         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
23615         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
23616         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
23617         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
23619         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
23620         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
23621         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
23622         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
23623         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
23624         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
23626 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23628         [BZ #13743]
23629         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
23630         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
23631         (sysdep_headers): Include sys/platform/ppc.h.
23632         * sysdeps/powerpc/test-gettimebase.c: Test for
23633         __ppc_get_timebase() to catch future ISA opcode/insn changes.
23634         * manual/Makefile (appendices): Include platform.texi.
23635         * manual/contrib.texi (Contributors): Update @node pointers.
23636         * manual/maint.texi (Maintenance): Likewise.
23637         (Platform): New node.
23638         * manual/platform.texi: New file.  Document the new features.
23640 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23641             Jakub Jelinek  <jakub@redhat.com>
23643         [BZ #14188]
23644         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
23645         where __builtin_expect is unavailable.
23647 2012-06-03  David S. Miller  <davem@davemloft.net>
23649         * stdlib/longlong.h: Updated from GCC.
23651 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
23653         [BZ #14042]
23654         * sysdeps/powerpc/powerpc32/mcount.c: New file.
23655         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
23656         __mcount_internal.
23657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23658         (GLIBC_2.16): Likewise.
23660 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
23662         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
23664 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
23666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
23667         (default-abi): New variable.
23668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
23669         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
23670         variable.
23671         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
23672         Likewise.
23673         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
23674         Likewise.
23675         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
23676         Likewise.
23678         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
23679         definition.  Document in comment.
23681 2012-06-01  David S. Miller  <davem@davemloft.net>
23683         * stdlib/longlong.h: Updated from GCC.
23685 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
23687         [BZ #14117]
23688         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
23689         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
23690         sys/debugreg.h sys/io.h here.
23691         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
23692         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
23693         sys/io.h.
23694         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
23695         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
23696         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
23697         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
23698         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
23699         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
23701         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
23702         Define only if __x86_64__ is defined.
23704 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
23706         [BZ #14048]
23707         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
23708         Use int64_t for variable i.
23709         * math/libm-test.inc (fmod_test): Add more tests.
23711         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
23712         z computation is not scheduled after fetestexcept.
23713         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
23714         Use math_force_eval instead of asm to ensure calculation scheduled
23715         before exception test.
23716         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
23717         Ensure a1 + u.d computation is not scheduled after fetestexcept.
23719 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
23721         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
23722         computation is not scheduled after fetestexcept.
23724 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
23726         [BZ #14117]
23727         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
23728         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
23730 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23732         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
23733         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23735 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
23737         [BZ #14117]
23738         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
23739         <bits/wordsize.h>.
23740         (__WCHAR_MIN): Support __WORDSIZE == 64.
23741         (__WCHAR_MAX): Likewise.
23743         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
23744         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
23746         [BZ #14183]
23747         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
23748         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
23750         [BZ #14117]
23751         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
23752         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
23754         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
23755         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
23757         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
23758         Defined to 1 if __x86_64__ isn't defined.
23759         (_STAT_VER_LINUX_OLD): New.
23760         (st_atime): Remove duplicate.
23761         (st_mtime): Likewise.
23762         (st_ctime): Likewise.
23764 2012-05-31  David S. Miller  <davem@davemloft.net>
23766         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
23767         entries.
23769 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
23771         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
23772         gen-libm-test.pl.
23774         [BZ #14132]
23775         * elf/dl-reloc.c: Include <_itoa.h>.
23776         (_dl_reloc_bad_type): Remove use of INTUSE.
23777         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
23778         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
23779         * stdio-common/psiginfo.c (psiginfo): Likewise.
23780         * stdio-common/psignal.c (psignal): Likewise.
23781         * string/strsignal.c (strsignal): Likewise.
23782         * include/signal.h (_sys_siglist): Declare hidden proto.
23783         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
23784         INTVARDEF with libc_hidden_data_def.
23785         * stdio-common/itoa-udigits.c: Likewise.
23786         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
23787         (_itoa_lower_digits_internal): Remove declaration.
23788         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
23789         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
23790         (_sys_sigabbrev_internal): Remove aliases.
23791         (_sys_siglist): Define hidden alias.
23793 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
23795         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23796         bits/sysctl.h.
23798 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
23800         [BZ #14117]
23801         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
23802         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
23804         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
23805         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
23806         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
23807         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
23808         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
23809         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
23811         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
23812         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
23813         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
23815         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
23816         with __addr.
23817         (insw): Likewise.
23818         (insl): Likewise.
23819         (outsb): Likewise.
23820         (outsw): Likewise.
23821         (outsl): Likewise.
23823         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
23824         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
23825         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
23827         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
23828         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
23829         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
23830         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
23831         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
23832         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
23834         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
23835         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
23837         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
23838         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
23840         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
23841         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
23842         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
23844         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
23845         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
23846         to ...
23847         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
23849         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
23850         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
23851         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
23853         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
23854         for x86-64.
23855         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
23857 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
23859         * math/math.h (M_El): Use two more decimal places.
23860         (M_LOG2El): Likewise.
23861         (M_LOG10El): Likewise.
23862         (M_LN2l): Likewise.
23863         (M_LN10l): Likewise.
23864         (M_PIl): Likewise.
23865         (M_PI_2l): Likewise.
23866         (M_PI_4l): Likewise.
23867         (M_1_PIl): Likewise.
23868         (M_2_PIl): Likewise.
23869         (M_2_SQRTPIl): Likewise.
23870         (M_SQRT2l): Likewise.
23871         (M_SQRT1_2l): Likewise.
23873 2012-05-31  David S. Miller  <davem@davemloft.net>
23875         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
23876         values between float registers.
23877         * sysdeps/sparc/sparc64/memset.S: Likewise.
23878         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23880 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
23882         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
23883         -D_FORTIFY_SOURCE=1.
23884         (CPPFLAGS-tst-longjmp_chk.c): Define.
23885         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
23886         (CPPFLAGS-tst-longjmp_chk2.c): Define.
23887         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
23888         CFLAGS-tst-wchar-h.c.
23890 2012-05-31  Marek Polacek  <polacek@redhat.com>
23892         [BZ #14132]
23893         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
23894         __endmntent_internal): Remove declaration.
23895         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
23896         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
23897         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
23899 2012-05-30  David S. Miller  <davem@davemloft.net>
23901         * sysdeps/sparc/sparc32/soft-fp/q_util.c
23902         (___Q_simulate_exceptions): Use real FP ops rather than writing
23903         into the %fsr.
23904         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
23905         Likewise.
23907 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
23909         [BZ #14117]
23910         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
23911         * sysdeps/x86/bits/xtitypes.h: This.
23913         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
23914         * sysdeps/x86/bits/wordsize.h: This.
23916         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
23917         * sysdeps/x86/bits/huge_vall.h: This.
23919         * sysdeps/i386/bits/select.h: Removed.
23920         * sysdeps/x86_64/bits/select.h: Renamed to ...
23921         * sysdeps/x86/bits/select.h: This.
23923         * sysdeps/i386/bits/setjmp.h: Removed.
23924         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
23925         * sysdeps/x86/bits/setjmp.h: This.
23927         * sysdeps/i386/bits/mathdef.h: Removed.
23928         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
23929         * sysdeps/x86/bits/mathdef.h: This.
23931 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
23933         [BZ #14132]
23934         * include/sys/socket.h (__connect_internal)
23935         (__libc_sa_len_internal): Remove declaration.
23936         (__connect, __libc_sa_len): Declare hidden_proto.
23937         (SA_LEN): Remove use of INTUSE.
23938         * socket/connect.c: Add libc_hidden_def.
23939         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
23940         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
23941         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
23942         alias.
23943         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
23944         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
23945         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
23946         of adding _internal alias.
23948 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
23950         [BZ #14117]
23951         * sysdeps/i386/bits/link.h: Removed.
23952         * sysdeps/i386/bits/linkmap.h: Likewise.
23953         * sysdeps/x86_64/bits/link.h: Renamed to ...
23954         * sysdeps/x86/bits/link.h: This.
23955         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
23956         * sysdeps/x86/bits/linkmap.h: This.
23958         * sysdeps/i386/bits/endian.h: Removed.
23959         * sysdeps/x86_64/bits/endian.h: Renamed to ...
23960         * sysdeps/x86/bits/endian.h: This.
23962         * sysdeps/i386/bits/byteswap.h: Removed.
23963         * sysdeps/i386/bits/byteswap-16.h: Likewise.
23964         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
23965         * sysdeps/x86/bits/byteswap.h: This.
23966         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
23967         * sysdeps/x86/bits/byteswap-16.h: This.
23968         * sysdeps/i386/Implies: Add x86.
23969         * sysdeps/x86_64/Implies: Likewise.
23971 2012-05-30  David S. Miller  <davem@davemloft.net>
23973         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
23974         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
23975         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23976         (FP_TRAPPING_EXCEPTIONS): Define.
23977         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23978         (FP_TRAPPING_EXCEPTIONS): Define.
23979         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
23980         subnormals only when inexact has been signalled or underflow
23981         exceptions are enabled.
23982         (_FP_PACK_CANONICAL): Likewise.
23984 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
23986         [BZ #14183]
23987         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
23988         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
23990 2012-05-30  Richard Henderson  <rth@twiddle.net>
23992         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
23993         with #ifndef NOT_IN_libc.
23995         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
23996         marked to avoid plt entry.
23998 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
24000         [BZ #14112]
24001         * Makeconfig (default-abi): New macro.
24002         (abi-includes): Likewise.
24003         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
24004         $(abi-$(default-abi)-lib-soname) for soname if defined.
24005         ($(common-objpfx)gnu/lib-names.stmp): Generate from
24006         abi-variants.
24007         * Makefile (installed-stubs): Likewise.
24008         * include/stubs-biarch.h: Removed.
24009         * scripts/lib-names.awk: Only handle one library at a time.
24010         * scripts/soversions.awk: Remove WORDSIZE support.
24011         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
24012         entries.
24013         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
24014         Removed.
24015         (syscall-list-default-condition): Likewise.
24016         (syscall-list-default-condition): Likewise.
24017         (syscall-list-includes): Likewise.
24018         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
24019         syscall-list-* with abi-*.  Handle undefined abi-variants.
24020         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
24021         * sysdeps/unix/sysv/linux/i386/Implies: New file.
24022         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
24023         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
24024         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
24025         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
24026         Removed.
24027         (syscall-list-32-options): Likewise.
24028         (syscall-list-32-condition): Likewise.
24029         (syscall-list-64-options): Likewise.
24030         (syscall-list-64-condition): Likewise.
24031         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
24032         macro.
24033         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
24034         Renamed to ...
24035         (abi-*): This.
24036         (abi-64-ld-soname): New macro.
24037         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
24038         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
24039         Renamed to ...
24040         (abi-*): This.
24041         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
24042         * sysdeps/x86_64/x32/shlib-versions: Likewise.
24044 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
24046         * sysdeps/unix/sysv/linux/kernel-features.h
24047         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
24048         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
24049         include <kernel-features.h>.
24050         [!__NR_ftruncate64]: Remove conditional code.
24051         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24052         [__NR_ftruncate64]: Make code unconditional.
24053         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24054         * sysdeps/unix/sysv/linux/truncate64.c: Do not
24055         include <kernel-features.h>.
24056         [!__NR_ftruncate64]: Remove conditional code.
24057         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24058         [__NR_ftruncate64]: Make code unconditional.
24059         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
24061         include <kernel-features.h>.
24062         [!__NR_ftruncate64]: Remove conditional code.
24063         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24064         [__NR_ftruncate64]: Make code unconditional.
24065         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24067         include <kernel-features.h>.
24068         [!__NR_ftruncate64]: Remove conditional code.
24069         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24070         [__NR_ftruncate64]: Make code unconditional.
24071         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24073         * configure.in (libc_cv_fpie): Weaken to a compile test using
24074         LIBC_TRY_CC_OPTION.
24075         * configure: Regenerated.
24077 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24079         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
24080         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
24081         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
24082         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24083         Refreshed.
24084         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
24085         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
24086         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
24087         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
24088         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
24089         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24090         Refreshed.
24092 2012-05-27  David S. Miller  <davem@davemloft.net>
24094         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
24095         (___Q_zero): New.
24096         (__Q_simulate_exceptions): Return void.  Change to simulate
24097         exceptions by writing into the %fsr.
24098         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
24099         (__Qp_handle_exceptions): Likewise.
24100         (numbers): Delete.
24101         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
24102         __Qp_handle_exceptions.
24103         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
24104         __Qp_handle_exceptions.
24105         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24106         as unused and give dummy FP_RND_NEAREST initializer.
24107         (FP_INHIBIT_RESULTS): Define.
24108         (___Q_simulate_exceptions): Update declaration.
24109         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
24110         formatting.
24111         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24112         as unused and give dummy FP_RND_NEAREST initializer.
24113         (__Qp_handle_exceptions): Update declaration.
24114         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
24115         formatting.
24117 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
24119         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
24120         the temporary FPU control word.
24121         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
24122         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
24123         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24124         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
24125         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24126         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24127         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24128         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24129         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24130         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
24131         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24133 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24135         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
24136         fields.
24138 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
24140         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
24141         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
24142         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
24143         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
24144         Likewise.
24145         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
24146         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
24147         Likewise.
24149 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
24151         * po/h.po: Update from translation team.
24153 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
24155         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
24157         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
24158         handling of denormals.
24159         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24160         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24161         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24162         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24163         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24164         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
24165         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
24166         Likewise.
24168 2012-05-26  Marek Polacek  <polacek@redhat.com>
24170         [BZ #14152]
24171         * math/libm-test.inc (fma_test): Don't always expect underflow
24172         exception.
24174 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24176         [BZ #12416]
24177         * elf/tst-execstack.c: Include stackinfo.h.
24178         (do_test): Adjust test case to ensure that pthread_getattr_np
24179         behaviour remains the same after marking stack executable.
24181 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
24183         * sysdeps/unix/sysv/linux/kernel-features.h
24184         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
24185         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
24186         kernel-features.h.
24187         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24188         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24189         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
24190         kernel-features.h.
24191         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24192         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24194 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
24196         * configure.in: Define the default includes to being none.
24197         * configure: Regenerated.
24199 2012-05-25  Roland McGrath  <roland@hack.frob.com>
24201         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
24202         * sysdeps/x86_64/setjmp.S: Likewise.
24203         * sysdeps/i386/bsd-setjmp.S: Likewise.
24204         * sysdeps/i386/bsd-_setjmp.S: Likewise.
24205         * sysdeps/i386/setjmp.S: Likewise.
24206         * sysdeps/i386/__longjmp.S: Likewise.
24207         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24208         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
24210         * include/stap-probe.h: New file.
24211         * configure.in: Handle --enable-systemtap.
24212         * configure: Regenerated.
24213         * config.h.in (USE_STAP_PROBE): New #undef.
24214         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
24215         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
24216         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24218 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
24220         [BZ #13717]
24221         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24222         to 2.4.0 where earlier.
24223         * sysdeps/unix/sysv/linux/configure: Regenerated.
24224         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24225         <kernel-features.h>.
24226         [__ASSUME_32BITUIDS]: Make code unconditional.
24227         [!__ASSUME_32BITUIDS]: Remove conditional code.
24228         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
24229         <kernel-features.h>.
24230         [__ASSUME_32BITUIDS]: Make code unconditional.
24231         [!__ASSUME_32BITUIDS]: Remove conditional code.
24232         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
24233         [__ASSUME_32BITUIDS]: Make code unconditional.
24234         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
24235         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
24236         <kernel-features.h>.
24237         [__ASSUME_32BITUIDS]: Make code unconditional.
24238         [!__ASSUME_32BITUIDS]: Remove conditional code.
24239         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
24240         <kernel-features.h>.
24241         [__ASSUME_32BITUIDS]: Make code unconditional.
24242         [!__ASSUME_32BITUIDS]: Remove conditional code.
24243         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
24244         <kernel-features.h>.
24245         [__ASSUME_32BITUIDS]: Make code unconditional.
24246         [!__ASSUME_32BITUIDS]: Remove conditional code.
24247         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
24248         <kernel-features.h>.
24249         [__ASSUME_32BITUIDS]: Make code unconditional.
24250         [!__ASSUME_32BITUIDS]: Remove conditional code.
24251         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24252         <kernel-features.h>.
24253         [__ASSUME_32BITUIDS]: Make code unconditional.
24254         [!__ASSUME_32BITUIDS]: Remove conditional code.
24255         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24256         <kernel-features.h>.
24257         [__ASSUME_32BITUIDS]: Make code unconditional.
24258         [!__ASSUME_32BITUIDS]: Remove conditional code.
24259         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
24260         <kernel-features.h>.
24261         [__ASSUME_32BITUIDS]: Make code unconditional.
24262         [!__ASSUME_32BITUIDS]: Remove conditional code.
24263         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24264         <kernel-features.h>.
24265         [__ASSUME_32BITUIDS]: Make code unconditional.
24266         [!__ASSUME_32BITUIDS]: Remove conditional code.
24267         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24268         <kernel-features.h>.
24269         [__ASSUME_32BITUIDS]: Make code unconditional.
24270         [!__ASSUME_32BITUIDS]: Remove conditional code.
24271         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
24272         <kernel-features.h>.
24273         [__ASSUME_32BITUIDS]: Make code unconditional.
24274         [!__ASSUME_32BITUIDS]: Remove conditional code.
24275         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
24276         <kernel-features.h>.
24277         [__NR_setresgid] (__setresgid): Do not declare.
24278         [__ASSUME_32BITUIDS]: Make code unconditional.
24279         [!__ASSUME_32BITUIDS]: Remove conditional code.
24280         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
24281         <kernel-features.h>.
24282         [__NR_setresuid] (__setresuid): Do not declare.
24283         [__ASSUME_32BITUIDS]: Make code unconditional.
24284         [!__ASSUME_32BITUIDS]: Remove conditional code.
24285         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
24286         <kernel-features.h>.
24287         [__ASSUME_32BITUIDS]: Make code unconditional.
24288         [!__ASSUME_32BITUIDS]: Remove conditional code.
24289         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
24290         <kernel-features.h>.
24291         [__ASSUME_32BITUIDS]: Make code unconditional.
24292         [!__ASSUME_32BITUIDS]: Remove conditional code.
24293         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
24294         <kernel-features.h>.
24295         [__ASSUME_32BITUIDS]: Make code unconditional.
24296         [!__ASSUME_32BITUIDS]: Remove conditional code.
24297         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
24298         <kernel-features.h>.
24299         [__ASSUME_32BITUIDS]: Make code unconditional.
24300         [!__ASSUME_32BITUIDS]: Remove conditional code.
24301         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
24302         <kernel-features.h>.
24303         [__ASSUME_32BITUIDS]: Make code unconditional.
24304         [!__ASSUME_32BITUIDS]: Remove conditional code.
24305         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
24306         <kernel-features.h>.
24307         [__ASSUME_32BITUIDS]: Make code unconditional.
24308         [!__ASSUME_32BITUIDS]: Remove conditional code.
24309         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
24310         <kernel-features.h>.
24311         [__ASSUME_32BITUIDS]: Make code unconditional.
24312         [!__ASSUME_32BITUIDS]: Remove conditional code.
24313         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
24314         <kernel-features.h>.
24315         [__ASSUME_32BITUIDS]: Make code unconditional.
24316         [!__ASSUME_32BITUIDS]: Remove conditional code.
24317         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
24318         <kernel-features.h>.
24319         [__ASSUME_32BITUIDS]: Make code unconditional.
24320         [!__ASSUME_32BITUIDS]: Remove conditional code.
24321         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24322         <kernel-features.h>.
24323         [__ASSUME_32BITUIDS]: Make code unconditional.
24324         [!__ASSUME_32BITUIDS]: Remove conditional code.
24325         * sysdeps/unix/sysv/linux/kernel-features.h
24326         (__ASSUME_SETRESUID_SYSCALL): Remove.
24327         (__ASSUME_SETRESGID_SYSCALL): Likewise.
24328         (__ASSUME_32BITUIDS): Likewise.
24329         (__ASSUME_LDT_WORKS): Likewise.
24330         (__ASSUME_O_DIRECTORY): Likewise.
24331         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
24332         architecture but not kernel version.
24333         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
24334         (__ASSUME_MMAP2_SYSCALL): Likewise.
24335         (__ASSUME_STAT64_SYSCALL): Likewise.
24336         (__ASSUME_IPC64): Likewise.
24337         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
24338         <kernel-features.h>.
24339         [__ASSUME_32BITUIDS]: Make code unconditional.
24340         [!__ASSUME_32BITUIDS]: Remove conditional code.
24341         * sysdeps/unix/sysv/linux/opendir.c: Do not include
24342         <kernel-features.h>.
24343         [__ASSUME_O_DIRECTORY]: Make code unconditional.
24344         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
24345         132096]: Remove conditional code.
24346         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
24347         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24348         <kernel-features.h>.
24349         [__ASSUME_32BITUIDS]: Make code unconditional.
24350         [!__ASSUME_32BITUIDS]: Remove conditional code.
24351         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24352         <kernel-features.h>.
24353         [__ASSUME_32BITUIDS]: Make code unconditional.
24354         [!__ASSUME_32BITUIDS]: Remove conditional code.
24355         * sysdeps/unix/sysv/linux/setegid.c: Do not include
24356         <kernel-features.h>.
24357         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
24358         unconditional.
24359         (__setresgid): Do not declare.
24360         [__ASSUME_32BITUIDS]: Make code unconditional.
24361         [!__ASSUME_32BITUIDS]: Remove conditional code.
24362         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
24363         <kernel-features.h>.
24364         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
24365         unconditional.
24366         (__setresuid): Do not declare.
24367         [__ASSUME_32BITUIDS]: Make code unconditional.
24368         [!__ASSUME_32BITUIDS]: Remove conditional code.
24369         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24370         <kernel-features.h>.
24371         [__ASSUME_32BITUIDS]: Make code unconditional.
24372         [!__ASSUME_32BITUIDS]: Remove conditional code.
24373         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
24374         <kernel-features.h>.
24375         [__ASSUME_32BITUIDS]: Make code unconditional.
24376         [!__ASSUME_32BITUIDS]: Remove conditional code.
24378 2012-05-25  Richard Henderson  <rth@twiddle.net>
24380         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
24381         dl_hwcap to ifunc resolver.
24382         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
24383         elf_ifunc_invoke.
24384         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
24385         dl_hwcap to ifunc resolver.
24386         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
24388 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
24390         [BZ #14153]
24391         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
24392         for |x| <= 2**-26, not 2**-57.
24393         * math/libm-test.inc (acos_test): Do not allow spurious underflow
24394         exception.
24396 2012-05-24  Jeff Law  <law@redhat.com>
24398         * stdio-common/Makefile (tests): Add bug25.
24399         * stdio-common/bug25.c: New test.
24401 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
24403         [BZ #13576]
24404         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
24405         multiple of MALLOC_ALIGNMENT in size.
24406         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
24408 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
24410         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
24411         Require >= 256.
24412         (FILENAME_MAX): Use macro-int-constant.
24413         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
24414         (_IOFBF): Use macro-int-constant.
24415         (_IOLBF): Likewise.
24416         (_IONBF): Likewise.
24417         (SEEK_CUR): Likewise.
24418         (SEEK_END): Likewise.
24419         (SEEK_SET): Likewise.
24420         (TMP_MAX): Likewise.
24421         (EOF): Use macro-int-constant.  Require < 0.
24422         (NULL): Use macro-constant.  Require == 0.
24423         (stdin): Require type to be FILE *.
24424         (stdout): Likewise.
24425         (stderr): Likewise.
24426         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
24427         macro-int-constant.
24428         (EXIT_SUCCESS): Likewise.
24429         (NULL): Use macro-constant.  Require == 0.
24430         (RAND_MAX): Use macro-int-constant.
24431         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
24432         [C99-based standards] (strtof): Require function.
24433         [C99-based standards] (strtold): Likewise.
24434         [C99-based standards] (strtoll): Likewise.
24435         [C99-based standards] (strtoull): Likewise.
24436         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
24437         [ISO || ISO99 || ISO11] (limits.h): Likewise.
24438         [ISO || ISO99 || ISO11] (math.h): Likewise.
24439         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
24440         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
24441         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24443 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
24445         [BZ #14132]
24446         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
24447         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
24448         * intl/dgettext.c (DCGETTEXT): Likewise.
24449         * intl/gettext.c (DCGETTEXT): Likewise.
24450         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
24451         * posix/regex_internal.h (gettext): Likewise.
24452         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
24453         Remove declaration.
24454         * include/argz.h (__argz_count_internal)
24455         (__argz_stringify_internal): Remove declaration.
24456         (__argz_count, __argz_stringify): Declare hidden proto.
24457         * intl/dcgettext.c: Remove use of INTDEF.
24458         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
24459         * string/argz-stringify.c: Likewise.
24460         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24461         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24462         Declare hidden proto.
24463         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24464         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24465         Declare hidden proto.
24466         * include/stdio.h (__asprintf_internal): Don't declare.
24467         (__asprintf): Don't define as macro.  Declare hidden proto.
24468         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
24469         (__fsetlocking): Declare hidden proto.
24470         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
24471         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
24472         hidden proto.
24473         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
24474         (_IO_setlinebuf): Remove use of INTUSE.
24475         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
24476         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
24477         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
24478         Remove declaration.
24479         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
24480         (_IO_do_flush): Remove use of INTUSE.
24481         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
24482         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
24483         (_IO_adjust_column, _IO_least_wmarker)
24484         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
24485         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
24486         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
24487         (_IO_default_doallocate, _IO_wdefault_doallocate)
24488         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
24489         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
24490         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
24491         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
24492         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
24493         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
24494         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
24495         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
24496         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
24497         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
24498         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
24499         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
24500         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
24501         proto.
24502         (_IO_flush_all_internal, _IO_adjust_column_internal)
24503         (_IO_default_uflow_internal, _IO_default_finish_internal)
24504         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
24505         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
24506         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
24507         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
24508         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
24509         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
24510         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
24511         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
24512         (_IO_file_close_internal, _IO_file_close_it_internal)
24513         (_IO_file_underflow_internal, _IO_file_overflow_internal)
24514         (_IO_file_init_internal, _IO_file_attach_internal)
24515         (_IO_file_fopen_internal, _IO_file_read_internal)
24516         (_IO_file_sync_internal, _IO_file_seek_internal)
24517         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
24518         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
24519         (_IO_str_underflow_internal, _IO_str_overflow_internal)
24520         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
24521         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
24522         (_IO_list_all_internal, _IO_link_in_internal)
24523         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
24524         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
24525         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
24526         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
24527         (_IO_do_write_internal, _IO_padn_internal)
24528         (_IO_getline_info_internal, _IO_getline_internal)
24529         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
24530         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
24531         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
24532         (_IO_vfscanf_internal, _IO_vfprintf_internal)
24533         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
24534         (_IO_init_internal, _IO_un_link_internal): Don't declare.
24535         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
24536         with libc_hidden_ver, remove use of INTUSE.
24537         * libio/genops.c: Likewise.
24538         * libio/freopen.c: Likewise.
24539         * libio/freopen64.c: Likewise.
24540         * libio/iofclose.c: Likewise.
24541         * libio/iofdopen.c: Likewise.
24542         * libio/iofflush.c: Likewise.
24543         * libio/iofflush_u.c: Likewise.
24544         * libio/iofgets.c: Likewise.
24545         * libio/iofgets_u.c: Likewise.
24546         * libio/iofopen.c: Likewise.
24547         * libio/iofopncook.c: Likewise.
24548         * libio/iofread.c: Likewise.
24549         * libio/iofread_u.c: Likewise.
24550         * libio/ioftell.c: Likewise.
24551         * libio/iofwrite.c: Likewise.
24552         * libio/iogetline.c: Likewise.
24553         * libio/iogets.c: Likewise.
24554         * libio/iogetwline.c: Likewise.
24555         * libio/iopadn.c: Likewise.
24556         * libio/iopopen.c: Likewise.
24557         * libio/ioseekoff.c: Likewise.
24558         * libio/ioseekpos.c: Likewise.
24559         * libio/iosetbuffer.c: Likewise.
24560         * libio/iosetvbuf.c: Likewise.
24561         * libio/ioungetc.c: Likewise.
24562         * libio/ioungetwc.c: Likewise.
24563         * libio/iovdprintf.c: Likewise.
24564         * libio/iovsprintf.c: Likewise.
24565         * libio/iovsscanf.c: Likewise.
24566         * libio/memstream.c: Likewise.
24567         * libio/obprintf.c: Likewise.
24568         * libio/oldfileops.c: Likewise.
24569         * libio/oldiofclose.c: Likewise.
24570         * libio/oldiofdopen.c: Likewise.
24571         * libio/oldiofopen.c: Likewise.
24572         * libio/oldiopopen.c: Likewise.
24573         * libio/oldstdfiles.c: Likewise.
24574         * libio/putc.c: Likewise.
24575         * libio/setbuf.c: Likewise.
24576         * libio/setlinebuf.c: Likewise.
24577         * libio/stdfiles.c: Likewise.
24578         * libio/strops.c: Likewise.
24579         * libio/vasprintf.c: Likewise.
24580         * libio/vscanf.c: Likewise.
24581         * libio/vsnprintf.c: Likewise.
24582         * libio/vswprintf.c: Likewise.
24583         * libio/wfiledoalloc.c: Likewise.
24584         * libio/wfileops.c: Likewise.
24585         * libio/wgenops.c: Likewise.
24586         * libio/wmemstream.c: Likewise.
24587         * libio/wstrops.c: Likewise.
24588         * libio/__fpurge.c: Likewise.
24589         * libio/__fsetlocking.c: Likewise.
24590         * assert/assert.c: Likewise.
24591         * debug/fgets_chk.c: Likewise.
24592         * debug/fgets_u_chk.c: Likewise.
24593         * debug/fread_chk.c: Likewise.
24594         * debug/fread_u_chk.c: Likewise.
24595         * debug/gets_chk.c: Likewise.
24596         * debug/obprintf_chk.c: Likewise.
24597         * debug/vasprintf_chk.c: Likewise.
24598         * debug/vdprintf_chk.c: Likewise.
24599         * debug/vsnprintf_chk.c: Likewise.
24600         * debug/vsprintf_chk.c: Likewise.
24601         * malloc/mtrace.c: Likewise.
24602         * misc/error.c: Likewise.
24603         * misc/syslog.c: Likewise.
24604         * stdio-common/asprintf.c: Likewise.
24605         * stdio-common/fxprintf.c: Likewise.
24606         * stdio-common/getw.c: Likewise.
24607         * stdio-common/isoc99_fscanf.c: Likewise.
24608         * stdio-common/isoc99_scanf.c: Likewise.
24609         * stdio-common/isoc99_vfscanf.c: Likewise.
24610         * stdio-common/isoc99_vscanf.c: Likewise.
24611         * stdio-common/isoc99_vsscanf.c: Likewise.
24612         * stdio-common/printf-prs.c: Likewise.
24613         * stdio-common/printf_fp.c: Likewise.
24614         * stdio-common/printf_fphex.c: Likewise.
24615         * stdio-common/printf_size.c: Likewise.
24616         * stdio-common/putw.c: Likewise.
24617         * stdio-common/scanf.c: Likewise.
24618         * stdio-common/sprintf.c: Likewise.
24619         * stdio-common/tmpfile.c: Likewise.
24620         * stdio-common/vfprintf.c: Likewise.
24621         * stdio-common/vfscanf.c: Likewise.
24622         * stdlib/strfmon_l.c: Likewise.
24623         * sunrpc/openchild.c: Likewise.
24624         * sunrpc/xdr_stdio.c: Likewise.
24625         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24626         * sysdeps/mach/hurd/tmpfile.c: Likewise.
24628 2012-05-24  Roland McGrath  <roland@hack.frob.com>
24630         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24632         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
24633         in the third column, to generate for the shared library an IFUNC
24634         that uses _dl_vdso_vsym.
24635         * Makerules (COMPILE.c, compile-stdin.c): New variables.
24636         * Makeconfig (object-suffixes-noshared): New variable.
24638         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
24639         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
24640         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
24641         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
24643         [BZ #14132]
24644         * include/sys/time.h (__gettimeofday): Remove macro.
24645         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
24646         * time/gettimeofday.c (__gettimeofday): Remove #undef.
24647         Remove INTDEF.
24648         (__gettimeofday): Add libc_hidden_def.
24649         (gettimeofday): Add libc_hidden_weak.
24650         * sysdeps/mach/gettimeofday.c: Likewise.
24651         * sysdeps/posix/gettimeofday.c: Likewise.
24652         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24653         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
24654         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
24655         (__gettimeofday_internal): Remove strong_alias.
24656         (__gettimeofday): Add libc_hidden_def.
24657         (gettimeofday): Add libc_hidden_weak.
24658         * sysdeps/unix/syscalls.list (gettimeofday):
24659         Remove __gettimeofday_internal alias.
24661 2012-05-24  Daniel Jacobowitz  <drow@false.org>
24662             H.J. Lu  <hongjiu.lu@intel.com>
24664         [BZ #12495]
24665         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
24666         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
24667         (largebin_index_32_big): New.
24668         (largebin_index): Use it for 16-byte alignment.
24669         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
24670         correction with front_misalign.
24672 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
24674         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
24675         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24676         Likewise.
24677         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
24678         Likewise.
24679         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24680         Likewise.
24681         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
24682         Likewise.
24683         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
24684         Likewise.
24685         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
24686         Likewise.
24687         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
24688         Likewise.
24689         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24690         Likewise.
24691         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
24692         Likewise.
24693         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
24694         Likewise.
24695         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24696         Likewise.
24697         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
24698         Likewise.
24700         * scripts/data/c++-types-x32-linux-gnu.data: New file.
24701         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
24703 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
24705         [BZ #10846]
24706         [BZ #14036]
24707         * math/libm-test.inc (exp_test): Add test from bug 14036.
24708         (pow_test): Add test from bug 10846.
24710         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
24711         and other flags.
24712         (special_function): Do not include flags in test name.
24713         (parse_args): Likewise.
24714         * sysdeps/i386/fpu/libm-test-ulps: Update.
24715         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24716         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24717         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24720         * math/gen-libm-test.pl (%beautify): Add entries for underflow
24721         exceptions.
24722         * math/libm-test.inc ("Philosophy"): Update comment about
24723         exception testing.
24724         (UNDERFLOW_EXCEPTION): New macro.
24725         (UNDERFLOW_EXCEPTION_OK): Likewise.
24726         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
24727         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
24728         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
24729         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
24730         (INVALID_EXCEPTION_OK): Update value.
24731         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24732         (OVERFLOW_EXCEPTION_OK): Likewise.
24733         (IGNORE_ZERO_INF_SIGN): Likewise.
24734         (test_exceptions): Handle underflow exceptions.
24735         (acos_test): Update for underflow exception expectations.
24736         (cexp_test): Likewise.
24737         (clog_test): Likewise.
24738         (clog10_test): Likewise.
24739         (csqrt_test): Likewise.
24740         (ctan_test): Likewise.
24741         (ctanh_test): Likewise.
24742         (exp_test): Likewise.
24743         (exp10_test): Likewise.
24744         (exp2_test): Likewise.
24745         (expm1_test): Likewise.
24746         (fma_test): Likewise.
24747         (j0_test): Likewise.
24748         (jn_test): Likewise.
24749         (nexttoward_test): Likewise.
24750         (pow_test): Likewise.
24751         (scalbn_test): Likewise.
24752         (scalbln_test): Likewise.
24753         (tan_test): Likewise.
24754         (y1_test): Likewise.
24755         * sysdeps/i386/fpu/libm-test-ulps: Update.
24756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24758 2012-05-23  David S. Miller  <davem@davemloft.net>
24760         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24761         (__libc_sigaction): Remove unused local variables.
24763 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
24765         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
24767 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
24769         mktime: avoid signed integer overflow
24770         * time/mktime.c (__mktime_internal): Do not mishandle the case
24771         where diff == INT_MIN.
24773         mktime: simplify computation of average
24774         * time/mktime.c (ranged_convert): Use new time_t_avg function
24775         instead of rolling our own (probably-slower) code.
24777         mktime: do not assume signed right shift propagates sign bit
24778         * time/mktime.c (isdst_differ): New static function.
24779         (__mktime_internal): No need to normalize tm_isdst now.
24780         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
24781         tm_isdst values.
24783         mktime: merge another wrapv change from gnulib
24784         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
24785         from some compilers.
24787         mktime: remove incorrect attempt at unusual arithmetics
24788         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
24789         The code didn't really work on such machines anyway.
24790         (TYPE_MINIMUM): Assume two's complement.
24791         (twos_complement_arithmetic): Verify that long_int and time_t
24792         are two's complement (or unsigned, in the latter case).
24794         mktime: check signed shifts on long_int and time_t, too
24795         * time/mktime.c (SHR): Check that shifts work as desired
24796         on the types long_int and time_t too, as SHR is used on
24797         such types.
24799         mktime: do not assume 'long' is wide enough
24800         * time/mktime.c (verify): Move decl up.
24801         (long_int): New type.
24802         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
24803         to remove assumption in the code that 'long' is wide enough to
24804         store year values.  This assumption is not true on x32 and on
24805         some non-glibc platforms.
24807         mktime: merge wrapv change from gnulib
24808         * time/mktime.c (WRAPV): New macro.
24809         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
24810         (guess_time_tm, __mktime_internal): Do not assume that signed
24811         integer overflow wraps around; modern compilers generate code
24812         where this assumption is no longer valid.
24814 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
24816         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24817         Replace "jmp L(pseudo_end)" with "ret".
24818         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
24819         Likewise.
24821 2012-05-23  Andreas Jaeger  <aj@suse.de>
24823         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
24824         * sysdeps/unix/sysv/linux/poll.c: Remove file.
24826 2012-05-23  Andreas Jaeger  <aj@suse.de>
24827             Maximilian Attems  <max@stro.at>
24829         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
24830         New macros.
24832 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
24834         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
24835         code so that pseudo_end is just ret and the stack pointer is
24836         correct also for static library in error case.
24838 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
24840         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
24841         move to syscalls.list.
24842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
24843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24847         * manual/install.texi (Running make install): Do not mention Linux
24848         kernel version for which pt_chown is not needed.
24849         (Linux): Do not mention problems with nscd with 2.0 kernels.
24850         * INSTALL: Regenerated.
24852 2012-05-23  Andreas Jaeger  <aj@suse.de>
24854         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
24855         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
24856         macro.
24857         * sysdeps/unix/sysv/linux/s390/bits/mman.h
24858         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24859         * sysdeps/unix/sysv/linux/sh/bits/mman.h
24860         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24861         * sysdeps/unix/sysv/linux/i386/bits/mman.h
24862         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24863         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
24864         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24865         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
24866         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24867         * sysdeps/unix/sysv/linux/bits/in.h
24868         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
24870 2012-05-22  Roland McGrath  <roland@hack.frob.com>
24872         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
24873         (PREPARE_VERSION): Just use assert instead, it will be elided
24874         under [NDEBUG] anyway.
24876 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24878         * sysdeps/unix/sysv/linux/Makefile: Include
24879         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
24880         (sysdep_routines): Remove sysctl.
24881         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
24882         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
24883         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
24884         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
24885         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
24887 2012-05-22  Andreas Jaeger  <aj@suse.de>
24889         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
24890         that pseudo_end is just ret and the stack pointer is correct also
24891         for static library in error case.
24893 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
24895         [BZ #14122]
24896         * nss/nsswitch.c (defconfig_entries): New variable.
24897         (__nss_database_lookup): Don't leak defconfig entries.
24898         (nss_parse_service_list): Don't leak on error paths.
24899         (free_database_entries): New function.
24900         (free_defconfig): New function.
24901         (free_mem): Move common code to free_database_entries.
24903 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24905         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
24906         Add arch_prctl.
24907         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
24909         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24910         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
24911         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
24912         New macro.
24913         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
24914         (INTERNAL_SYSCALL_TYPES): Likewise.
24915         (LOAD_ARGS_TYPES_[1-6]): Likewise.
24916         (LOAD_REGS_TYPES_[1-6]): Likewise.
24917         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
24918         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
24920 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24922         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
24923         copysignl for GLIBC_2_0.
24924         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
24925         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
24926         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
24927         logbl for GLIBC_2_0.
24928         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24929         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24931 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24933         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
24934         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
24936         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24937         Use "neg %eax".
24939         * time/mktime.c: Update copyright years.
24941 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
24943         mktime: merge comment-quoting-style change from gnulib
24944         * time/mktime.c: Quote 'like this' in comments.
24945         The GNU coding standards suggest that we no longer quote `like this',
24946         as "`" and "'" are typically rendered asymmetrically nowadays.
24947         The typical gnulib style is to quote 'like this' when quoting
24948         code, and "like this" when quoting English.
24950         * time/mktime.c (compile-command): Add "-I.".
24952         mktime: merge mktime-internal.h change from gnulib
24953         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
24955         mktime: merge time_r change from gnulib
24956         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
24958         mktime: merge DEBUG change from gnulib
24959         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
24960         case system <time.h> has a #define.
24962         mktime: merge <sys/types.h> change from gnulib
24963         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
24964         since <time.t> is now guaranteed to define time_t.
24966         mktime: merge HAVE_CONFIG_H change from gnulib
24967         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
24969 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24971         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24972         Use "neg %eax".
24974         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
24975         __rlim_t cast.
24976         (struct rusage): Use anonymous union to pad each field to
24977         __syscall_slong_t.
24979 2012-05-21  David S. Miller  <davem@davemloft.net>
24981         * Makefules (o-iterator): Remove .s cases.
24982         (compile-command.s): Delete.
24983         (COMPILE.s): Delete.
24984         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
24986 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
24988         * configure.in (libc_cv_predef_stack_protector): Only consider
24989         "foobar" and "__stack_chk_fail" lines in libc_undefs.
24990         * configure: Regenerated.
24992 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
24994         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24995         New macro.  Use R*LP on int and pointer.
24996         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
24997         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
24998         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
24999         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
25001         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
25002         [__WORDSIZE_TIME64_COMPAT32] instead of
25003         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
25004         (struct utmp): Likewise.
25005         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
25006         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
25007         Renamed to ...
25008         (__WORDSIZE_TIME64_COMPAT32): This.
25009         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
25010         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
25011         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
25012         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
25013         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
25014         (__WORDSIZE_TIME64_COMPAT32): New macro.
25016 2012-05-21  Andreas Jaeger  <aj@suse.de>
25018         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
25019         only if [SHARED]. Add prototype for __wcschr_ia32.
25021 2012-05-21  Roland McGrath  <roland@hack.frob.com>
25023         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
25024         of %rbp unmolested in the jmp_buf while mangling the low bits.
25025         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
25026         unmolested high bits of %rbp while demangling the low bits.
25027         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
25029 2012-05-21  Andreas Jaeger  <aj@suse.de>
25031         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
25032         * sunrpc/svc_simple.c: Use it for registerrpc.
25033         * sunrpc/xcrypt.c: Use it for passwd2des.
25035         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
25037 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
25039         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
25040         Don't define if [__SYSCALL_WORDSIZE != 32].
25041         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
25042         New macro.
25044 2012-05-21  Bruno Haible  <bruno@clisp.org>
25045             Andreas Jaeger  <aj@suse.de>
25047         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
25048         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
25049         inptr and inend for must_buffer_ch.
25050         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
25051         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
25052         * stdio-common/Makefile (tests): Remove bug15.
25053         (bug15-ENV): Remove macro.
25054         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
25055         anymore.
25057 2012-05-19  Andreas Jaeger  <aj@suse.de>
25058             Roland McGrath  <roland@hack.frob.com>
25060         * manual/contrib.texi: Completely rewritten. It contains now an
25061         alphabetical list of contributors and their contributions.
25063 2012-05-21  Richard Henderson  <rth@twiddle.net>
25065         * misc/getauxval.c (__getauxval): Use unsigned long int.
25066         * misc/sys/auxv.h: Include <sys/cdefs.h>.
25067         (getauxval): Use unsigned long int.
25069 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
25071         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
25073 2012-05-21  Roland McGrath  <roland@hack.frob.com>
25075         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
25076         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
25077         __alignof__ (long double).
25079 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25081         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25083 2012-05-20  Richard Henderson  <rth@twiddle.net>
25085         * misc/getauxval.c: New file.
25086         * misc/sys/auxv.h: New file.
25087         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
25088         (routines): Add getauxval.
25089         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
25090         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
25091         * elf/dl-sysdep.c (_dl_auxv): Remove.
25092         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
25093         * elf/dl-support.c (_dl_auxv): New variable.
25094         (_dl_aux_init): Initialize it.
25095         * manual/startup.texi (Auxiliary Vector): New node.
25096         * sysdeps/generic/bits/hwcap.h: New file.
25097         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
25098         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
25099         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
25100         * sysdeps/sparc/sysdep.h: ... here.  Include it.
25101         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
25102         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
25103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25104         Update.
25105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
25106         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
25107         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
25108         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
25109         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25110         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25111         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
25112         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
25114 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25116         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25118 2012-05-19  David S. Miller  <davem@davemloft.net>
25120         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25122 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
25124         [BZ #14123]
25125         * math/s_ccosh.c: Include <float.h>
25126         (__ccosh): Avoid internal overflow calculating sinh and cosh
25127         values before multiplying by sin and cos values.
25128         * math/s_ccoshf.c: Likewise.
25129         * math/s_ccoshl.c: Likewise.
25130         * math/s_csin.c: Likewise.
25131         * math/s_csinf.c: Likewise.
25132         * math/s_csinl.c: Likewise.
25133         * math/s_csinh.c: Likewise.
25134         * math/s_csinhf.c: Likewise.
25135         * math/s_csinhl.c: Likewise.
25136         * math/libm-test.inc (ccos_test): Add more tests.
25137         (ccosh_test): Likewise.
25138         (csin_test): Likewise.
25139         (csinh_test): Likewise.
25140         * sysdeps/i386/fpu/libm-test-ulps: Update.
25141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25143 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
25145         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
25146         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
25148         * sysdeps/x86_64/x32/_itoa.h: Add comment.
25150 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
25152         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
25153         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
25154         * sysdeps/powerpc/soft-fp/Versions: Likewise.
25155         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
25156         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
25157         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
25158         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
25159         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
25160         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
25161         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
25162         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
25163         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
25164         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
25165         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
25166         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
25167         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
25168         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
25169         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
25170         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
25171         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
25172         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
25173         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
25174         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
25175         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
25176         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
25177         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
25178         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
25179         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
25180         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
25181         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
25182         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
25184 2012-05-18  Andreas Jaeger  <aj@suse.de>
25186         * csu/.gitignore: Delete.
25188 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
25190         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
25191         (timex): Use __syscall_slong_t.
25193 2012-05-18  Andreas Jaeger  <aj@suse.de>
25194             Carlos O'Donell  <carlos_odonell@mentor.com>
25196         * manual/install.texi (Configuring and compiling): Update
25197         description about files modified in the source directory.
25198         * INSTALL: Regenerated.
25200 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
25202         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
25203         value.  Use "or" to set return value to -1.
25204         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
25205         negate return value.
25207 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25209         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
25210         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
25211         failure if the compiler has Graphite support disabled.
25212         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
25213         Likewise.
25214         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
25215         CFLAGS-memmove.c): Likewise.
25216         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
25217         Likewise.
25219 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
25221         * sysdeps/x86_64/x32/_itoa.h: New file.
25223         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
25224         getdents system call only if kernel and user dirents have the
25225         same d_ino and d_off.
25227         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25228         LLONG_MAX != LONG_MAX.
25229         (_itoa_word): Use _ITOA_WORD_TYPE on value.
25230         (_fitoa_word): Likewise.
25232         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
25233         years.
25234         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
25235         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
25236         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
25238         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
25239         include <bits/wordsize.h>.  Check __x86_64__ instead of
25240         __WORDSIZE.
25241         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
25242         if __x86_64__ is defined.  Use anonymous union on fpstate.
25244         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
25245         anonymous union.
25247 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
25249         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25250         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
25251         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
25252         Refer to _rtld_local_ro instead of _rtld_global_ro.
25253         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
25254         Likewise.
25255         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
25256         Likewise.
25257         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
25258         Likewise.
25259         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
25260         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
25261         of _rtld_global, and rtld_progname instead of _dl_argv[0].
25263         * sysdeps/powerpc/powerpc32/dl-machine.c
25264         (__elf_machine_runtime_setup) [PROF]: Don't reference
25265         _dl_prof_resolve.
25267 2012-05-18  Andreas Jaeger  <aj@suse.de>
25269         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
25270         function only available for GCCs before 3.4 since GCC 3.4
25271         introduced a builtin.
25272         (lrint): Likewise.
25273         (llrintf): Likewise.
25274         (llrint): Likewise.
25275         (fmaxf): Likewise.
25276         (fmax): Likewise.
25277         (fminf): Likewise.
25278         (fmin): Likewise.
25279         (rint): Likewise.
25280         (rintf): Likewise.
25281         (nearbyint): Likewise.
25282         (nearbyintf): Likewise.
25283         (ceil): Likewise.
25284         (ceilf): Likewise.
25285         (floor): Likewise.
25286         (floorf): Likewise.
25288 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
25290         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
25291         on both fields and cast pointer to __syscall_ulong_t.
25293         * bits/types.h (__fsword_t): New type.
25294         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
25295         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
25296         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25297         (__FSWORD_T_TYPE): Likewise.
25298         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25299         (__FSWORD_T_TYPE): Likewise.
25300         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25301         (__FSWORD_T_TYPE): Likewise.
25302         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
25303         (__FSWORD_T_TYPE): Likewise.
25304         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
25305         __SWORD_TYPE with __fsword_t.
25306         (statfs64): Likewise.
25308 2012-05-17  David S. Miller  <davem@davemloft.net>
25310         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
25312 2012-05-17  Andreas Jaeger  <aj@suse.de>
25314         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
25315         warning.
25317 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
25319         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
25321 2012-05-17  Andreas Jaeger  <aj@suse.de>
25323         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
25324         when it is used.
25326 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
25328         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
25330 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
25332         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
25333         * sysdeps/x86_64/tst-mallocalign1.c: New file.
25335 2012-05-17  Andreas Jaeger  <aj@suse.de>
25336             Carlos O'Donell  <carlos_odonell@mentor.com>
25338         [BZ #14059]
25339         * sysdeps/x86_64/multiarch/init-arch.h
25340         (bit_YMM_Usable): Rename to...
25341         (bit_AVX_Usable): ... this.
25342         (bit_FMA4_Usable): New macro.
25343         (bit_XMM_state): New macro.
25344         (bit_YMM_state): New macro.
25345         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
25346         [__ASSEMBLER__] (index_AVX_Usable): ... this.
25347         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
25348         (CPUID_OSXSAVE): New macro.
25349         (CPUID_AVX): New macro.
25350         (CPUID_FMA4): New macro.
25351         (index_YMM_Usable): Rename to...
25352         (index_AVX_Usable): ... this.
25353         (HAS_AVX): Use HAS_ARCH_FEATURE.
25354         (HAS_FMA4): Likewise.
25355         (HAS_YMM_USABLE): Remove.
25356         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25357         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
25358         are present.
25359         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
25360         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
25361         * sysdeps/x86_64/multiarch/Makefile: Likewise.
25362         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
25363         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
25365 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
25367         * math/libm-test.c: Support platforms without multiple rounding modes.
25368         * math/bug-nextafter.c: Support platforms without FP exceptions.
25369         * math/bug-nexttoward.c: Likewise.
25370         * math/test-fenv.c: Likewise.
25371         * math/test-misc.c: Likewise.
25372         * stdlib/bug-getcontext.c: Likewise.
25374 2012-05-17  Andreas Jaeger  <aj@suse.de>
25376         * manual/examples/search.c (critter_cmp): Change signature to
25377         avoid warnings.
25378         * manual/string.texi (Collation Functions): Likewise.
25380 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25382         * bits/types.h: Fold copyright years.
25383         * bits/typesizes.h: Likewise.
25384         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
25385         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25386         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
25387         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
25388         * time/time.h: Likewise.
25390 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
25392         [BZ #208]
25393         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
25394         in instead of returning them.  Return void.
25395         (__libc_mallinfo): Accumulate over all arenas.
25396         (__malloc_stats): Adjust for change in int_mallinfo interface.
25398 2012-05-16  Roland McGrath  <roland@hack.frob.com>
25400         [BZ #10375]
25401         * configure.in (NM): Add AC_CHECK_TOOL for it.
25402         (libc_extra_cflags): New substituted variable.
25403         Check for -fstack-protector being used implicitly.
25404         * configure: Regenerated.
25405         * config.make.in (config-extra-cflags): New variable,
25406         gets @libc_extra_cflags@.
25407         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
25409         [BZ #10375]
25410         * configure.in: Check for _FORTIFY_SOURCE being predefined.
25411         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
25412         * configure: Regenerated.
25413         * config.make.in (CPPUNDEFS): New substituted variable.
25414         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
25415         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
25416         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
25418 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25420         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
25421         (mq_attr): Use __syscall_slong_t.
25423 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25425         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
25426         Check __x86_64__ instead of __WORDSIZE.
25427         (_STAT_VER_LINUX): Likewise.
25428         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
25429         __syscall_ulong_t and __syscall_slong_t.
25430         (stat64): Likewise.
25432 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25434         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
25436 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25438         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
25440 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25442         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
25443         __syscall_ulong_t.
25445         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
25446         include <bits/wordsize.h>.  Check __x86_64__ instead of
25447         __WORDSIZE.
25448         (greg_t): Use "__extension__ long long int" if __x86_64__ is
25449         defined.
25450         (mcontext_t): Replace "unsigned long" with "unsigned long long".
25452         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
25453         include <bits/wordsize.h>.  Check __x86_64__ instead of
25454         __WORDSIZE.
25455         (user_regs_struct): Use "__extension__ unsigned long long"
25456         instead of "unsigned long" if __x86_64__ is defined.
25457         (user): Likewise.  Pad after pointer field if __ILP32__ is
25458         defined.
25460 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
25462         * configure.in (makeinfo): Require version 4.5 or later.  Allow
25463         versions 5 to 9.
25464         * configure: Regenerated.
25465         * manual/install.texi (texinfo): Increase version requirement to
25466         4.5 or later.
25467         * INSTALL: Regenerated.
25469         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
25471 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25473         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
25475         * sysdeps/x86_64/x32/ffs.c: New file.
25477         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
25478         __syscall_ulong_t.
25479         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
25480         defined.  Use __syscall_ulong_t.
25481         (shminfo): Use __syscall_ulong_t.
25482         (shm_info): Likewise.
25484         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
25485         __syscall_ulong_t.
25487         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
25488         <bits/wordsize.h>.
25489         (msgqnum_t): Use __syscall_ulong_t.
25490         (msglen_t): Likewise.
25491         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
25492         __syscall_ulong_t.
25494         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
25495         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
25497         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
25499         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
25500         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
25502         * sysvipc/sys/msg.h (msgbuf): Replace long int with
25503         __syscall_slong_t.
25505         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
25506         include <bits/wordsize.h>.  Check __x86_64__ instead of
25507         __WORDSIZE.
25509         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
25510         "unsigned long long int" if __x86_64__ is defined.
25511         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
25513         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
25514         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
25515         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
25517         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
25518         <stdint.h>.
25519         (GET_PC): Cast to uintptr_t first.
25520         (GET_FRAME): Likewise.
25521         (GET_STACK): Likewise.
25523         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
25524         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
25525         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
25526         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
25527         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
25528         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
25529         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
25530         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
25531         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
25532         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
25533         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
25534         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
25535         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25536         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
25537         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
25538         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
25539         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
25540         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
25541         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
25542         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
25543         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
25544         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
25545         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
25546         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
25547         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
25548         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
25549         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
25550         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
25551         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
25553 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
25555         * Makerules (+depfiles): Also collect depfiles from .oS in
25556         $(extra-objs).
25557         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
25558         .oS, $(libnldbl-routines)).
25560         * Makerules (native-compile-mkdep-flags): Define.
25561         * sunrpc/Makefile (extra-objs): Add $(addprefix
25562         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
25563         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
25564         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
25565         calling $(make-target-directory).
25567 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25569         * bits/types.h (__snseconds_t): Removed.
25570         * time/time.h (struct timespec): Replace __snseconds_t with
25571         __syscall_slong_t.
25572         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
25573         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
25574         Likewise.
25575         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25576         (__SNSECONDS_T_TYPE): Likewise.
25577         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25578         (__SNSECONDS_T_TYPE): Likewise.
25579         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25580         (__SNSECONDS_T_TYPE): Likewise.
25582 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25584         * sysdeps/mach/hurd/bits/typesizes.h
25585         (__SYSCALL_SLONG_TYPE): New macro.
25586         (__SYSCALL_ULONG_TYPE): Likewise.
25588 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25590         * bits/types.h (__syscall_slong_t): New type.
25591         (__syscall_ulong_t): Likewise.
25593         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
25594         (__SYSCALL_ULONG_TYPE): Likewise.
25595         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25596         (__SYSCALL_SLONG_TYPE): Likewise.
25597         (__SYSCALL_ULONG_TYPE): Likewise.
25598         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25599         (__SYSCALL_SLONG_TYPE): Likewise.
25600         (__SYSCALL_ULONG_TYPE): Likewise.
25601         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25602         (__SYSCALL_SLONG_TYPE): Likewise.
25603         (__SYSCALL_ULONG_TYPE): Likewise.
25605 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25607         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
25608         Add sigaltstack-offsets.sym.
25609         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
25610         <sigaltstack-offsets.h>.
25611         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
25612         longjmp_msg pointer.
25613         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
25614         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
25615         signal stack.
25616         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
25618 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
25620         * elf/stackguard-macros.h: Remove file.
25621         * sysdeps/generic/stackguard-macros.h: New file.
25622         * sysdeps/i386/stackguard-macros.h: Likewise.
25623         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25624         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25625         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25626         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25627         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25628         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25629         * sysdeps/x86_64/stackguard-macros.h: Likewise.
25630         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
25631         <elf/stackguard-macros.h>.
25633         [BZ #14109]
25634         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
25635         __aligned__ in attribute.
25636         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
25637         (gregset_t): Likewise.
25639 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25641         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
25642         * sysdeps/x86_64/64/Implies-after: Here.  New file.
25643         * sysdeps/x86_64/x32/Implies-after: New file.
25645 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25647         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
25648         and access return value for _dl_profile_fixup.  Use R10_LP to
25649         load frame size.
25651 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25653         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
25655 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25657         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
25658         * sysdeps/x86_64/x32/sysdep.h: New file.
25660 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25662         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
25663         * sysdeps/x86_64/setjmp.S: Likewise.
25665 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25667         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
25668         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
25669         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
25670         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
25671         remove unused global constant.
25673 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
25675         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
25676         include of <not-cancel.h>.
25678 2012-05-15  Roland McGrath  <roland@hack.frob.com>
25680         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
25682 2012-05-15  Jeff Law  <law@redhat.com>
25683             Andreas Jaeger  <aj@suse.de>
25685         [BZ #13594]
25686         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
25687         out from...
25688         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
25689         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
25690         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
25691         code changing __hst_map_handle.map.
25693 2012-05-15  Roland McGrath  <roland@hack.frob.com>
25695         * configure.in (sysnames): Look for Implies-before and Implies-after
25696         files.
25697         * configure: Regenerated.
25699 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25701         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
25702         8-byte data alignment with LP_SIZE alignment.
25704 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25706         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
25707         into R10_LP.
25709 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25711         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
25713 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25715         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
25716         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
25717         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
25718         Likewise.
25719         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25721 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25723         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
25724         (stackinfo_sub_sp): Likewise.
25726 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25728         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
25729         RAX_LP.
25731 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25733         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
25734         into R*_LP.
25736 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25738         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
25739         sizes into R*_LP.
25741 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25743         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
25745 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25747         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
25748         into R11_LP and load __x86_64_shared_cache_size_half into
25749         R8_LP.
25751 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25753         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
25754         R8_LP.
25756 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25758         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
25759         logb for POWER7.
25760         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
25761         logbf for POWER7.
25762         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
25763         logbl for POWER7.
25764         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
25765         powerpc32/power7/fpu/s_logb.c via #include.
25766         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
25767         powerpc32/power7/fpu/s_logbf.c via #include.
25768         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
25769         powerpc32/power7/fpu/s_logbl.c via #include.
25771 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
25773         * README.libm: Remove file.
25775 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25777         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
25778         count for x32.  Use R*_LP and omit operand-size suffix.
25780 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25782         * shlib-versions: Move x86_64-.*-linux.* entries to ...
25783         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
25784         * sysdeps/x86_64/x32/shlib-versions: New file.
25786 2012-05-14  Roland McGrath  <roland@hack.frob.com>
25788         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
25789         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
25790         Use _dl_fatal_printf instead.
25792 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
25794         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
25795         set if not set by the user.  Do not allow for being unset.
25796         * sysdeps/unix/sysv/linux/configure: Regenerated.
25798 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25800         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
25801         the `q' suffix from lea and replace .quad with ASM_ADDR.
25803 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25805         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
25806         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
25807         instead of $17.
25808         (PTR_DEMANGLE): Likewise.
25810 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25812         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
25813         (LP_OP): Likewise.
25814         (ASM_ADDR): Likewise.
25815         (RAX_LP): Likewise.
25816         (RBP_LP): Likewise.
25817         (RBX_LP): Likewise.
25818         (RCX_LP): Likewise.
25819         (RDI_LP): Likewise.
25820         (RSI_LP): Likewise.
25821         (RSP_LP): Likewise.
25822         (R8_LP): Likewise.
25823         (R9_LP): Likewise.
25824         (R10_LP): Likewise.
25825         (R10_LP): Likewise.
25826         (R11_LP): Likewise.
25827         (R12_LP): Likewise.
25828         (R13_LP): Likewise.
25829         (R14_LP): Likewise.
25830         (R15_LP): Likewise.
25832 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25834         * sysdeps/x86_64/x32/dl-machine.h: New file.
25836 2012-05-14  Andreas Jaeger  <aj@suse.de>
25838         * manual/Makefile (subdir): Remove export of subdir.
25839         (all): Remove target.
25840         (.PHONY): Remove all from list.
25841         (mkinstalldirs): Remove.
25842         (.PHONY): Remove installdirs from list.
25843         ($(inst_infodir)/libc.info): Use make-target-directory.
25844         (installdirs): Remove.
25845         (subdir_%): Remove.
25846         (glibc-targets): Remove.
25847         (lib): Remove.
25848         (stubs): Remove.
25849         ($(objpfx)stubs ../po/manual.pot): Remove.
25850         ($(objpfx)stamp%): Remove.
25851         (make-target-directory): Remove.
25852         (subdir_install): Remove.
25853         (routines): Remove.
25854         (aux): Remove.
25855         (sources): Remove.
25856         (objects): Remove.
25857         (headers): Remove.
25859         [BZ #13750]
25860         * manual/.gitignore: Remove, it's not needed anymore.
25861         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
25862         all files in it.
25863         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
25864         directory.
25865         (texis): Renamed to $(objpfx)texis.
25866         (texis-path): New, contains path to generated files.
25867         (chapters.%): Use texis-path for complete path, add extra argument
25868         libc-texinfo.sh.
25869         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
25870         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
25871         (summary,texi, stamp-summary): Use complete path of
25872         files. Generate files in build dir.
25873         (dir-add.texi): Build in build dir.
25874         (libm-err.texi,stamp-libm-err): Likewise.
25875         (version.texi, stamp-version): Likewise.
25876         (.%c.texi): Likewise.
25877         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
25878         (mostlyclean): Remove target.
25879         (realclean): Remove target.
25880         (generated): Add new variable with contents from mostlyclean and
25881         realclean, remove entries duplicated in common-mostlyclean, add
25882         stamp-libm-err and stamp-version.
25883         (generated-dirs): Add libc directory.
25884         ($(inst_infodir)/libc.info): Install files from build dir.
25886         * manual/install.texi (Configuring and compiling): Adjust since
25887         the info files are not part of the tar ball anymore.
25889 2012-05-14  Andreas Jaeger  <aj@suse.de>
25891         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
25892         variable.
25894 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
25896         [BZ #13717]
25897         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
25898         to 2.2.0 where earlier.
25899         * sysdeps/unix/sysv/linux/configure: Regenerated.
25900         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
25901         Remove conditional code.
25902         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
25903         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
25904         Remove conditional code.
25905         [!__NR_lchown]: Likewise.
25906         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25907         [__NR_lchown]: Likewise.
25908         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
25909         comment referencing __ASSUME_LCHOWN_SYSCALL.
25910         * sysdeps/unix/sysv/linux/i386/sigaction.c
25911         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25912         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25913         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
25914         Remove conditional code.
25915         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
25916         (__protocol_available): Remove #if 0 code.
25917         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
25918         conditional code.
25919         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
25920         * sysdeps/unix/sysv/linux/kernel-features.h
25921         (__ASSUME_GETCWD_SYSCALL): Don't define.
25922         (__ASSUME_REALTIME_SIGNALS): Likewise.
25923         (__ASSUME_PREAD_SYSCALL): Likewise.
25924         (__ASSUME_PWRITE_SYSCALL): Likewise.
25925         (__ASSUME_POLL_SYSCALL): Likewise.
25926         (__ASSUME_LCHOWN_SYSCALL): Likewise.
25927         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
25928         non-SPARC.
25929         (__ASSUME_SIOCGIFNAME): Don't define.
25930         (__ASSUME_MSG_NOSIGNAL): Likewise.
25931         (__ASSUME_SENDFILE): Define unconditionally.
25932         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
25933         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
25934         conditional code.
25935         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
25936         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
25937         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25938         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25939         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
25940         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25941         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
25943         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25944         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25946         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25947         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
25949         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25950         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25952         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25953         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
25955         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25956         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25958         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25959         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
25961         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25962         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25964         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25965         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25966         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
25967         Remove conditional code.
25968         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25969         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25970         Remove conditional code.
25971         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25972         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
25973         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
25974         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25975         Remove conditional code.
25976         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25977         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
25978         Remove conditional code.
25979         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25980         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
25981         Remove conditional code.
25982         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25983         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25984         Remove conditional code.
25985         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25986         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25987         Remove conditional code.
25988         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25989         * sysdeps/unix/sysv/linux/sh/pwrite64.c
25990         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25991         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25992         * sysdeps/unix/sysv/linux/sigaction.c
25993         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25994         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25995         * sysdeps/unix/sysv/linux/sigpending.c
25996         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25997         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25998         * sysdeps/unix/sysv/linux/sigprocmask.c
25999         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26000         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26001         * sysdeps/unix/sysv/linux/sigsuspend.c
26002         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26003         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26004         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26005         (__libc_missing_rt_sigs): Remove.
26006         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
26007         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
26008         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
26009         Remove conditional code.
26010         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
26011         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
26012         return 1.
26013         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
26014         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
26015         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
26016         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
26018 2012-05-14  Andreas Jaeger  <aj@suse.de>
26020         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
26021         it's not used in glibc.
26022         (__coshm1): Likewise.
26023         (__acosh1p): Likewise.
26024         (__sgn): Likewise.
26026         * manual/string.texi (Copying and Concatenation): Add missing
26027         variable in concat example.
26028         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
26030 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
26032         [BZ #14103]
26033         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
26034         __builtin_clzl with __builtin_clzll.
26036 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
26038         [BZ #14104]
26039         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
26040         libc_freeres_ptr.
26042 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26044         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
26045         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
26046         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
26047         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
26049 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
26051         * NEWS: Update ia64 info.
26053 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
26055         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
26056         used as bcopy.
26058 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
26060         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
26061         * sysdeps/unix/syscalls.list (dup3): Likewise.
26062         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
26063         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
26065 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
26067         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
26068         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
26070 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
26072         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
26073         thread pointer.
26074         (TLS_IE): Use mov/add instead of movq/addq to load thread
26075         pointer.
26076         (TLS_GD_PREFIX): New.
26077         (TLS_GD): Use it.
26079 2012-05-11  David S. Miller  <davem@davemloft.net>
26081         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
26082         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
26083         (_FPU_SETCW): Likewise.
26085 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
26087         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
26088         is 32-byte aligned.
26090 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
26092         [BZ #11837]
26093         * iconvdata/gb18030.c: Update tables.
26094         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
26095         characters specially.
26096         (BODY for TO_LOOP): Add encoding of missing ranges.
26098 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
26100         [BZ #13673]
26101         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
26102         * sysdeps/mach/hurd/dup3.c: Likewise.
26103         * sysdeps/mach/hurd/readlinkat.c: Likewise.
26104         * sysdeps/powerpc/memmove.c:: Likewise.
26106 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
26108         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
26109         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
26111 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
26113         * elf/elf.h (R_X86_64_RELATIVE64): New.
26114         (R_X86_64_NUM): Updated.
26115         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26116         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
26117         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
26118         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
26119         tst-quad1pie tst-quad2pie
26120         (modules-names): Add tst-quadmod1 tst-quadmod2.
26121         ($(objpfx)tst-quad1): New dependency.
26122         ($(objpfx)tst-quad2): Likewise.
26123         ($(objpfx)tst-quad1pie): Likewise.
26124         ($(objpfx)tst-quad2pie): Likewise.
26125         * sysdeps/x86_64/tst-quad1.c: New file.
26126         * sysdeps/x86_64/tst-quad1pie.c: New file.
26127         * sysdeps/x86_64/tst-quad2.c: Likewise.
26128         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
26129         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
26130         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
26131         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
26132         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
26134 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26136         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
26137         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
26138         * streams/stropts.h (t_scalar_t): Define type.
26140         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
26141         (_PATH_PRESERVE): Set to "/var/lib".
26142         (_PATH_RWHODIR): Set to "/var/spool/rwho".
26144         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
26145         instead of int.
26147         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
26148         if __dir_mkfile succeeded.
26150         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
26151         checking for _hurd_dtablesize.  Unlock it right after having
26152         finished _hurd_dtable allocation.
26154 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
26156         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
26157         * sysdeps/mach/hurd/configure: Regenerated.
26158         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
26159         special-casing to...
26160         * sysdeps/gnu/configure.in: ... this new file.
26161         * sysdeps/unix/sysv/linux/configure: Regenerated.
26162         * sysdeps/gnu/configure: New generated file.
26164         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
26165         for Linux: use nsec instead of usec, as well as:
26166         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
26167         members of type struct timespec.
26168         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
26169         New macros.
26170         (struct stat64): Likewise.
26171         (_STATBUF_ST_NSEC): New macro.
26172         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
26174         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26175         __strtoul_internal rather than strtoul.
26177 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
26179         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
26180         and reject them.
26182 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26184         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
26185         which preserves existing values.
26186         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
26188 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
26190         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
26191         TIMEOUT values.  Return EINVAL for NFDS values either negative or
26192         greater than FD_SETSIZE.
26194 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26196         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
26197         allocated, call __vm_protect to finish enabling the existing space, and
26198         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
26199         allocate the remainder.
26201 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
26203         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
26204         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
26206 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26208         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
26209         sysdeps/mach/hurd/readlink.c.
26211         * posix/tst-sysconf.c (posix_options): Only use
26212         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
26213         _POSIX_SYNCHRONIZED_IO when they are defined
26214         * sysdeps/mach/hurd/bits/posix_opt.h:
26215         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
26216         (_XOPEN_REALTIME): Undefine macro.
26217         (_XOPEN_REALTIME_THREADS): Undefine macro.
26218         (_XOPEN_SHM): Undefine macro.
26219         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
26220         macro to -1.
26221         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
26222         macro to -1.
26223         (_POSIX_ASYNC_IO): Undefine macro.
26224         (_POSIX_PRIORITIZED_IO): Undefine macro.
26225         (_POSIX_SPIN_LOCKS): Define macro to -1.
26227         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
26228         SA_NODEFER, SA_RESETHAND.
26229         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
26230         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
26231         F_DUPFD_CLOEXEC.
26233 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
26235         * elf/Makefile (pldd-modules): Define unconditionally.
26237 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
26239         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
26241 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26243         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
26244         Return ENOENT when name is empty.
26245         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
26247 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
26249         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
26251         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
26253 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26255         Fix mlock in all cases except non-readable pages.
26256         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
26257         instead of VM_PROT_ALL as parameter to __vm_wire function.
26259         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
26260         (__mkdir): When path is `/', just fail with EEXIST.
26261         * sysdeps/mach/hurd/mkdirat.c: Likewise.
26263 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
26265         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
26266         <sys/uio.h> (for writev).
26267         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
26268         and <sys/param.h> (for MIN).
26270 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
26272         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
26273         REQUESTED_TIME.  Properly set the remaining time and return EINTR
26274         if interrupted.
26276 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
26278         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
26279         Depend on against $(link-rpcuserlibs).
26281 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26283         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
26284         (__libc_stack_end): Do not use attribute_relro.
26285         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
26286         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
26287         to libthread-provided value.
26288         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
26289         attribute_relro.
26291 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
26293         [BZ #3748]
26294         * bits/libc-lock.h (__libc_once_get): New macro.
26295         * sysdeps/mach/bits/libc-lock.h: Likewise.
26296         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
26297         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
26298         instead of using implementation details.
26300         * libio/fileops.c: Unconditionally include <kernel-features.h>.
26301         * libio/freopen.c: Likewise.
26302         * libio/freopen64.c: Likewise.
26303         * misc/syslog.c: Likewise.
26304         * nscd/connections.c: Likewise.
26305         * nscd/netgroupcache.c: Likewise.
26306         * sysdeps/posix/getcwd.c: Likewise.
26308 2012-05-10  Roland McGrath  <roland@hack.frob.com>
26310         * math/w_ilogbf.c: Add #include <limits.h>.
26312 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26314         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
26315         path instead of returning without unlocking.
26317         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
26318         immediate-write ioctls.
26319         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
26321 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
26323         * sysdeps/mach/hurd/i386/init-first.c (init): Use
26324         __builtin_frame_address instead of making assumptions about the
26325         location of the return address relative to DATA.  Force early load of
26326         the return address.
26327         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
26328         __builtin_frame_address.
26330         dup3 for GNU Hurd.
26331         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
26332         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
26333         implement dup3 and do some further code clean-ups.
26334         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
26335         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
26337 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26339         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
26341         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
26342         HURD_CRITICAL_END around holding _hurd_dtable_lock.
26343         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
26344         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
26345         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
26346         d->port.lock.
26348         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
26349         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
26350         when handler == SIG_ERR, not when handler != SIG_ERR.
26352 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
26354         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
26355         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
26356         definitions.
26358         accept4 for GNU Hurd.
26359         * include/sys/socket.h (__libc_accept4): New prototype.
26360         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
26361         to implement __libc_accept4.
26362         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
26363         __libc_accept4.
26364         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
26366         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
26367         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
26368         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
26369         signal-defines.sym.
26371 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26373         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
26375 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
26377         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
26378         assertion on O_CLOEXEC flag.
26379         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
26380         * hurd/intern-fd.c: Likewise.
26381         * hurd/port2fd.c: Likewise.
26383 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26385         [BZ #3906]
26386         * bits/in.h (IPV6_PKTINFO): Define new macro.
26387         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
26389 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26391         [BZ #13954]
26392         [BZ #13955]
26393         [BZ #13956]
26394         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
26395         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26396         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
26397         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26398         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26399         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26400         * math/libm-test.inc (logb_test) : Additional logb tests.
26402 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
26403             Andreas Jaeger  <aj@suse.de>
26405         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
26406         * configure: Regenerated.
26407         * config.h.in (LINK_OBSOLETE_RPC): New macro.
26408         * config.make.in (link-obsolete-rpc): New substituted variable.
26409         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
26410         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
26411         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26412         (shared-only-routines): Don't set it under [link-obsolete-rpc],
26413         so that libc.a contains the symbols.
26414         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26415         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
26416         * sunrpc/auth_none.c: Likewise.
26417         * sunrpc/auth_unix.c: Likewise.
26418         * sunrpc/authdes_prot.c: Likewise.
26419         * sunrpc/authuxprot.c: Likewise.
26420         * sunrpc/clnt_gen.c: Likewise.
26421         * sunrpc/clnt_perr.c: Likewise.
26422         * sunrpc/clnt_raw.c: Likewise.
26423         * sunrpc/clnt_simp.c: Likewise.
26424         * sunrpc/clnt_tcp.c: Likewise.
26425         * sunrpc/clnt_udp.c: Likewise.
26426         * sunrpc/clnt_unix.c: Likewise.
26427         * sunrpc/des_crypt.c: Likewise.
26428         * sunrpc/des_soft.c: Likewise.
26429         * sunrpc/get_myaddr.c: Likewise.
26430         * sunrpc/key_call.c: Likewise.
26431         * sunrpc/key_prot.c: Likewise.
26432         * sunrpc/netname.c: Likewise.
26433         * sunrpc/pm_getmaps.c: Likewise.
26434         * sunrpc/pm_getport.c: Likewise.
26435         * sunrpc/pmap_clnt.c: Likewise.
26436         * sunrpc/pmap_prot.c: Likewise.
26437         * sunrpc/pmap_prot2.c: Likewise.
26438         * sunrpc/pmap_rmt.c: Likewise.
26439         * sunrpc/publickey.c: Likewise.
26440         * sunrpc/rpc_cmsg.c: Likewise.
26441         * sunrpc/rpc_common.c: Likewise.
26442         * sunrpc/rpc_dtable.c: Likewise.
26443         * sunrpc/rpc_prot.c: Likewise.
26444         * sunrpc/rpc_thread.c: Likewise.
26445         * sunrpc/rtime.c: Likewise.
26446         * sunrpc/svc.c: Likewise.
26447         * sunrpc/svc_auth.c: Likewise.
26448         * sunrpc/svc_raw.c: Likewise.
26449         * sunrpc/svc_run.c: Likewise.
26450         * sunrpc/svc_tcp.c: Likewise.
26451         * sunrpc/svc_udp.c: Likewise.
26452         * sunrpc/svc_unix.c: Likewise.
26453         * sunrpc/svcauth_des.c: Likewise.
26454         * sunrpc/xcrypt.c: Likewise.
26455         * sunrpc/xdr.c: Likewise.
26456         * sunrpc/xdr_array.c: Likewise.
26457         * sunrpc/xdr_float.c: Likewise.
26458         * sunrpc/xdr_intXX_t.c: Likewise.
26459         * sunrpc/xdr_mem.c: Likewise.
26460         * sunrpc/xdr_rec.c: Likewise.
26461         * sunrpc/xdr_ref.c: Likewise.
26462         * sunrpc/xdr_sizeof.c: Likewise.
26463         * sunrpc/xdr_stdio.c: Likewise.
26465 2012-05-10  Roland McGrath  <roland@hack.frob.com>
26467         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
26468         change.  Update copyright years.
26470 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
26472         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
26474 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
26475             Joseph Myers  <joseph@codesourcery.com>
26476             Paul Pluzhnikov  <ppluzhnikov@google.com>
26478         [BZ #14012]
26479         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
26480         requiring rpcgen.
26481         [cross-compiling] (extra-libs): Likewise.
26482         [cross-compiling] (extra-libs-others): Likewise.
26483         [cross-compiling] (librpcsvc-routines): Likewise.
26484         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
26485         [cross-compiling] (omit-deps): Likewise.
26486         (sunrpc-CPPFLAGS): New variable.
26487         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
26488         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
26489         (cross-rpcgen-objs): New variable.
26490         (extra-objs): Append $(cross-rpcgen-objs).
26491         ($(cross-rpcgen-objs)): New rule.
26492         ($(objpfx)cross-rpcgen): Likewise.
26493         (rpcgen-cmd): Define to use $(built-program-file).  Expand
26494         comment.
26495         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
26496         ($(objpfx)x%.stmp): Likewise.
26497         * sunrpc/proto.h [IS_IN_build] (_): Define.
26498         [IS_IN_build] (_libc_intl_domainname): Likewise.
26500 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
26502         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
26503         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
26504         and R_X86_64_TPOFF64.
26506 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
26508         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
26509         sysdeps/unix/sysv/syscalls.list.
26510         (stime): Likewise.
26511         (utime): Likewise.
26512         * sysdeps/unix/sysv/syscalls.list: Remove file.
26514 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
26516         [BZ #3440]
26517         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
26518         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
26519         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
26520         (__LC_IDENTIFICATION): Make these macros useful in #if
26521         expressions, as required by C99.
26523 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
26525         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
26526         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
26527         after this.
26529 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
26531         * stdlib/longlong.h: Updated from GCC.
26533 2012-05-09  Andreas Jaeger  <aj@suse.de>
26535         * nscd/nscd.c (run_modes): Make named enum, reorder so that
26536         default is first entry.
26537         (run_mode): Set type.
26538         (main): Remove informal message about syslog.
26539         (options): Fix typo.
26541         [BZ #14053]
26542         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
26543         to asm.
26544         (lrint): Likewise.
26545         (llrintf): Likewise.
26546         (llrint): Likewise.
26547         (rint): Likewise.
26548         (rintf): Likewise.
26549         (nearbyint): Likewise.
26550         (nearbyintf): Likewise.
26552 2012-05-09  Andreas Jaeger  <aj@suse.de>
26553             Pedro Alves  <palves@redhat.com>
26555         * nscd/nscd.c (run_mode): Use enum.
26556         (main): Cleanup coding style issue.
26558 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
26559             Andreas Jaeger  <aj@suse.de>
26561         * nscd/nscd.c (go_background): Replaced with...
26562         (run_mode): ... this.
26563         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
26564         (options): Add -F --foreground.
26565         (main): Implement it.
26566         (parse_opt): Parse it.
26568 2012-05-09  Andreas Jaeger  <aj@suse.de>
26570         [BZ #14083]
26571         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
26572         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
26573         -Wconversion warning.
26574         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
26575         Likewise.
26577 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
26579         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
26580         == 0.
26581         (LC_ALL): Use macro-int-constant.
26582         (LC_COLLATE): Likewise.
26583         (LC_CTYPE): Likewise.
26584         (LC_MESSAGES): Likewise.
26585         (LC_MONETARY): Likewise.
26586         (LC_NUMERIC): Likewise.
26587         (LC_TIME): Likewise.
26588         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
26589         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26590         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26591         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
26592         Specify type.
26593         [C99-based standards] (float_t): Expect type.
26594         [C99-based standards] (double_t): Expect type.
26595         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
26596         type.
26597         [C99-based standards] (HUGE_VALL): Likewise.
26598         [C99-based standards] (INFINITY): Likewise.
26599         [C99-based standards] (NAN): Likewise.
26600         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
26601         [C99-based standards] (FP_NAN): Likewise.
26602         [C99-based standards] (FP_NORMAL): Likewise.
26603         [C99-based standards] (FP_SUBNORMAL): Likewise.
26604         [C99-based standards] (FP_ZERO): Likewise.
26605         [C99-based standards] (FP_FAST_FMA): Use
26606         optional-macro-int-constant.  Specify type.  Require == 1.
26607         [C99-based standards] (FP_FAST_FMAF): Likewise.
26608         [C99-based standards] (FP_FAST_FMAL): Likewise.
26609         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
26610         [C99-based standards] (FP_ILOGBNAN): Likewise.
26611         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
26612         Specify type.
26613         [C99-based standards] (MATH_ERREXCEPT): Likewise.
26614         [C99-based standards] (math_errhandling): Specify type.
26615         [ISO99 || ISO11] (signgam): Do not allow.
26616         [non-C99-based standards] (copysignf): Do not allow.
26617         [non-C99-based standards] (exp2f): Likewise.
26618         [non-C99-based standards] (log2f): Likewise.
26619         [non-C99-based standards] (modff): Allow.
26620         [non-C99-based standards] (erff): Do not allow.
26621         [non-C99-based standards] (erfcf): Likewise.
26622         [non-C99-based standards] (gammaf): Likewise.
26623         [non-C99-based standards] (hypotf): Likewise.
26624         [non-C99-based standards] (j0f): Likewise.
26625         [non-C99-based standards] (j1f): Likewise.
26626         [non-C99-based standards] (jnf): Likewise.
26627         [non-C99-based standards] (lgammaf): Likewise.
26628         [non-C99-based standards] (tgammaf): Likewise.
26629         [non-C99-based standards] (y0f): Likewise.
26630         [non-C99-based standards] (y1f): Likewise.
26631         [non-C99-based standards] (ynf): Likewise.
26632         [non-C99-based standards] (isnanf): Likewise.
26633         [non-C99-based standards] (acoshf): Likewise.
26634         [non-C99-based standards] (asinhf): Likewise.
26635         [non-C99-based standards] (atanhf): Likewise.
26636         [non-C99-based standards] (cbrtf): Likewise.
26637         [non-C99-based standards] (expm1f): Likewise.
26638         [non-C99-based standards] (ilogbf): Likewise.
26639         [non-C99-based standards] (log1pf): Likewise.
26640         [non-C99-based standards] (logbf): Likewise.
26641         [non-C99-based standards] (nextafterf): Likewise.
26642         [non-C99-based standards] (remainderf): Likewise.
26643         [non-C99-based standards] (rintf): Likewise.
26644         [non-C99-based standards] (scalbf): Likewise.
26645         [non-C99-based standards] (copysignl): Likewise.
26646         [non-C99-based standards] (exp2l): Likewise.
26647         [non-C99-based standards] (log2l): Likewise.
26648         [non-C99-based standards] (modfl): Allow.
26649         [non-C99-based standards] (erfl): Do not allow.
26650         [non-C99-based standards] (erfcl): Likewise.
26651         [non-C99-based standards] (gammal): Likewise.
26652         [non-C99-based standards] (hypotl): Likewise.
26653         [non-C99-based standards] (j0l): Likewise.
26654         [non-C99-based standards] (j1l): Likewise.
26655         [non-C99-based standards] (jnl): Likewise.
26656         [non-C99-based standards] (lgammal): Likewise.
26657         [non-C99-based standards] (tgammal): Likewise.
26658         [non-C99-based standards] (y0l): Likewise.
26659         [non-C99-based standards] (y1l): Likewise.
26660         [non-C99-based standards] (ynl): Likewise.
26661         [non-C99-based standards] (isnanl): Likewise.
26662         [non-C99-based standards] (acoshl): Likewise.
26663         [non-C99-based standards] (asinhl): Likewise.
26664         [non-C99-based standards] (atanhl): Likewise.
26665         [non-C99-based standards] (cbrtl): Likewise.
26666         [non-C99-based standards] (expm1l): Likewise.
26667         [non-C99-based standards] (ilogbl): Likewise.
26668         [non-C99-based standards] (log1pl): Likewise.
26669         [non-C99-based standards] (logbl): Likewise.
26670         [non-C99-based standards] (nextafterl): Likewise.
26671         [non-C99-based standards] (remainderl): Likewise.
26672         [non-C99-based standards] (rintl): Likewise.
26673         [non-C99-based standards] (scalbl): Likewise.
26674         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26675         [non-C99-based standards] (FP_*): Do not allow.
26676         [C99-based standards] (FP_*): Change to
26677         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26678         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26679         allow.
26680         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
26681         (SIG_ERR): Likewise.
26682         [X/Open-based standards] (SIG_HOLD): Likewise.
26683         (SIG_IGN): Likewise.
26684         (SIGABRT): Use macro-int-constant.  Specify type.  Require
26685         positive value.
26686         (SIGFPE): Likewise.
26687         (SIGILL): Likewise.
26688         (SIGINT): Likewise.
26689         (SIGSEGV): Likewise.
26690         (SIGTER): Likewise.
26691         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
26692         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
26693         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
26694         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
26695         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
26696         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
26697         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
26698         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
26699         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
26700         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
26701         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
26702         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
26703         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
26704         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
26705         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
26706         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
26707         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
26708         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
26709         [X/Open-based standards] (SIGTRAP): Likewise.
26710         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
26711         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
26712         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
26713         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
26714         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26715         allow.
26717 2012-05-08  Ian Wienand  <ianw@vmware.com>
26719         [BZ #14080]
26720         * time/tzset.c (__tzset_parse_tz): Update default rules for
26721         daylight time changes in the Energy Policy Act of 2005.
26723 2012-05-09  Andreas Jaeger  <aj@suse.de>
26725         [BZ #13983]
26726         * elf/ldconfig.c (parse_conf): Change string to make clear that
26727         ldconfig only issued a warning if ld.so.conf does not exist.
26729 2012-05-08  David S. Miller  <davem@davemloft.net>
26731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
26732         movxtod instead of popping the value on the stack.
26734         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26736 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
26738         * config.h.in: Add HAVE_ARM_PCS_VFP.
26740 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
26742         [BZ #13979]
26743         * include/features.h: Warn if user requests __FORTIFY_SOURCE
26744         checking but the checks are disabled for any reason.
26746 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
26748         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
26749         and ELF64_R_TYPE with ELFW(R_TYPE).
26751 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
26753         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
26754         (ulimit): Likewise.
26756         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
26757         (settimeofday): Likewise.
26759 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
26761         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
26762         a struct th_u2 inside the union, and move tu_block/tu_code into
26763         a new th_u3 union of tu_block/tu_code inside of that.  Move
26764         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
26765         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
26766         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
26767         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
26768         (th_stuff): Change to th_u1.tu_stuff.
26769         (th_data): Define.
26770         (th_msg): Change to th_u1.th_u2.tu_data.
26772 2012-05-07  David S. Miller  <davem@davemloft.net>
26774         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26776         [BZ #14074]
26777         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
26778         (SETUP_PIC_REG): Use it.
26779         (SETUP_PIC_REG_LEAF): Use it.
26781 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
26783         [BZ #13885]
26784         [BZ #13923]
26785         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26786         USE_AS_EXPM1L.
26787         (EXPL_FINITE): Likewise.
26788         (FLDLOG): Likewise.
26789         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26790         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26791         e_expl.S.
26792         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26793         USE_AS_EXPM1L.
26794         (EXPL_FINITE): Likewise.
26795         (FLDLOG): Likewise.
26796         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26797         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26798         e_expl.S.
26799         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
26800         test of -max_value argument for long double.
26801         * sysdeps/i386/fpu/libm-test-ulps: Update.
26802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26804 2012-05-06  David S. Miller  <davem@davemloft.net>
26806         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
26807         quad soft-float symbols whose references which are compiler
26808         generated.
26809         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26811 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
26813         [BZ #13884]
26814         [BZ #13914]
26815         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26816         USE_AS_EXP10L.
26817         (EXPL_FINITE): Likewise.
26818         (FLDLOG): Likewise.
26819         (c0): Likewise.
26820         (c1): Likewise.
26821         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
26822         Adjust comments for base varying.
26823         (__expl_finite): Change alias to EXPL_FINITE.
26824         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
26825         e_expl.S.
26826         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
26827         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
26828         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26829         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
26830         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26831         USE_AS_EXP10L.
26832         (EXPL_FINITE): Likewise.
26833         (FLDLOG): Likewise.
26834         (c0): Likewise.
26835         (c1): Likewise.
26836         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
26837         Adjust comments for base varying.
26838         (__expl_finite): Change alias to EXPL_FINITE.
26839         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
26840         tests for bugs.
26841         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26843         [BZ #14064]
26844         * math/libm-test.inc (check_float_internal): Correct ulp
26845         calculation for subnormal expected results.
26847 2012-05-06  Andreas Jaeger  <aj@suse.de>
26849         * Makeconfig (+math-flags): New, set to -frounding-math.
26850         (+cflags): Add +math-flags so that all of glibc gets compiled with
26851         it.
26853         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
26855 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
26857         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
26858         Disable one test.
26860         [BZ #13787]
26861         [BZ #13922]
26862         [BZ #14036]
26863         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
26864         (__ieee754_expl): Allow for and saturate large arguments.
26865         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
26866         (u_threshold): Likewise.
26867         (__exp): Call __ieee754_exp before checking for overflow and
26868         underflow.
26869         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
26870         (u_threshold): Likewise.
26871         (__expf): Call __ieee754_expf before checking for overflow and
26872         underflow.
26873         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
26874         (u_threshold): Likewise.
26875         (__expl): Call __ieee754_expl before checking for overflow and
26876         underflow.
26877         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
26878         (__ieee754_expl): Allow for and saturate large arguments.
26879         * math/libm-test.inc (exp_test): Add another test.  Do not allow
26880         missing overflow exception on overflow.
26881         (expm1_test): Do not allow missing overflow exception on overflow.
26883         * sysdeps/i386/fpu/e_expl.c: Move to ...
26884         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
26885         rather than using inline asm.
26886         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
26887         * sysdeps/x86_64/fpu/e_expl.S: Copy from
26888         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
26890         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
26891         (nice): Likewise.
26892         (poll): Likewise.
26893         (signal): Likewise.
26894         (time): Likewise.
26895         (times): Likewise.
26897 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
26899         * sysdeps/unix/syscalls.list (adjtime): Add entry from
26900         sysdeps/unix/common/syscalls.list.
26901         (fchmod): Likewise.
26902         (fchown): Likewise.
26903         (ftruncate): Likewise.
26904         (getrusage): Likewise.
26905         (gettimeofday): Likewise.
26906         (setpgid): Likewise.
26907         (setregid): Likewise.
26908         (setreuid): Likewise.
26909         (sigaction): Likewise.
26910         (truncate): Likewise.
26911         (vhangup): Likewise.
26912         * sysdeps/unix/common/syscalls.list: Remove file.
26913         * sysdeps/unix/bsd/Implies: Don't include unix/common.
26914         * sysdeps/unix/sysv/linux/Implies: Likewise.
26916 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
26918         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
26919         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
26920         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
26921         Moved to ...
26922         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
26923         Here.
26924         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
26925         to ...
26926         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
26927         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
26928         to ...
26929         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
26930         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
26931         to ...
26932         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
26933         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
26934         to ...
26935         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
26936         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
26937         to ...
26938         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
26939         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
26940         to ...
26941         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
26942         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
26943         to ...
26944         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26945         Here.
26946         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
26947         to ...
26948         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
26949         Here.
26950         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
26951         to ...
26952         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
26953         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
26954         Moved to ...
26955         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
26956         Here.
26957         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
26958         to ...
26959         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
26961 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
26963         * sysdeps/unix/common/bits/dirent.h: Remove file.
26964         * sysdeps/unix/common/bits/fcntl.h: Likewise.
26966         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
26967         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
26968         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
26969         * sysdeps/unix/bsd/isatty.c: Likewise.
26970         * sysdeps/unix/bsd/tcdrain.c: Likewise.
26971         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
26972         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
26974 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26976         [BZ #13563]
26977         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
26978         long double comparison inaccuracies.
26979         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26980         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26982 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
26984         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
26985         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
26987 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
26989         [BZ #14049]
26990         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
26991         nonzero digits before rounding a hex value.
26992         * stdlib/tst-strtod.c (tests): Add another test.
26994 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26996         * sysdeps/s390/fpu/libm-test-ulps: Update.
26998 2012-05-03  Andreas Jaeger  <aj@suse.de>
27000         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
27001         does not get optimized out.
27002         (malloc_opt_barrier): New.
27004 2012-05-03  Andreas Jaeger  <aj@suse.de>
27005             Roland McGrath  <roland@hack.frob.com>
27007         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
27008         intermediate file deletion.
27009         (generated): Add .symlist files.
27011 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
27013         [BZ #13775]
27014         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
27015         Redirect under this condition.
27016         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27017         [__USE_GNU] (__dprintf_chk): Not under this condition.
27018         [__USE_GNU] (__vdprintf_chk): Likewise.
27019         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
27020         under this condition.
27021         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27022         [__USE_XOPEN2K8] (dprintf): Define under this condition.
27023         [__USE_XOPEN2K8] (vdprintf): Likewise.
27024         [__USE_GNU] (__dprintf_chk): Not under this condition.
27025         [__USE_GNU] (__vdprintf_chk): Likewise.
27026         [__USE_GNU] (dprintf): Likewise.
27027         [__USE_GNU] (vdprintf): Likewise.
27029 2012-05-03  Roland McGrath  <roland@hack.frob.com>
27031         * elf/Makefile (common-generated): Set this instead of generated for
27032         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
27033         $(all-built-dso)-derived lists.
27035 2012-05-03  Andreas Jaeger  <aj@suse.de>
27037         * sysdeps/i386/fpu/libm-test-ulps: Update.
27039         * FAQ: Removed.
27040         * FAQ.in: Likewise.
27041         * scripts/gen-FAQ.pl: Likewise.
27042         * manual/install.texi (Installation): Point to online location of
27043         FAQ.
27044         * Makefile (files-for-dist): Remove FAQ.
27045         (FAQ): Remove.
27047 2012-05-02  Allan McRae  <allan@archlinux.org>
27049         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
27050         (LDFLAGS-reldepmod5.so): Likewise.
27051         (LDFLAGS-reldep6mod1.so): Likewise.
27052         (LDFLAGS-reldep6mod4.so): Likewise.
27053         (LDFLAGS-reldep8mod3.so): Likewise.
27054         (LDFLAGS-unload4mod1.so): Likewise.
27055         (LDFLAGS-unload4mod2.so): Likewise.
27056         (LDFLAGS-tst-initorder): Likewise.
27057         (LDFLAGS-tst-initordera2.so): Likewise.
27058         (LDFLAGS-tst-initordera3.so): Likewise.
27059         (LDFLAGS-tst-initordera4.so): Likewise.
27060         (LDFLAGS-tst-initorderb2.so): Likewise.
27061         (LDFLAGS-noload): Likewise.
27062         (LDFLAGS-next): Likewise.
27063         (LDFLAGS-order2mod1.so): Likewise.
27064         (LDFLAGS-order2mod2.so): Likewise.
27065         (LDFLAGS-tst-initorder2): Likewise.
27066         (LDFLAGS-tst-initorder2a.so): Likewise.
27067         (LDFLAGS-tst-initorder2b.so): Likewise.
27068         (LDFLAGS-tst-initorder2c.so): Likewise.
27069         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
27071 2012-05-02  David S. Miller  <davem@davemloft.net>
27073         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27075 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
27077         [BZ #14055]
27078         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
27080 2012-05-02  Andreas Jaeger  <aj@suse.de>
27082         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
27083         since we manipulate rounding mode.
27084         (CPPFLAGS-test-idouble.c): Likewise.
27085         (CPPFLAGS-test-ifloat.c): Likewise.
27086         (CFLAGS-test-ldouble.c): Likewise.
27087         (CFLAGS-test-double.c): Likewise.
27088         (CFLAGS-test-float.c): Likewise.
27089         (CFLAGS-test-misc.c): Likewise.
27090         (CFLAGS-test-test-fenv.c): Likewise.
27092 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27094         [BZ #2550]
27095         [BZ #2570]
27096         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
27097         comparisons to determine direction to adjust input.
27099 2012-05-01  Roland McGrath  <roland@hack.frob.com>
27101         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
27102         output to the target.
27104         * scripts/localplt.awk: New file.
27105         * elf/Makefile ($(objpfx)check-localplt): Target removed.
27106         (check-localplt-CFLAGS): Variable removed.
27107         ($(all-built-dso:=.jmprel)): New static pattern rule.
27108         (generated): Add those targets.
27109         (localplt-built-dso): New variable.
27110         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
27112         * elf/check-localplt.c: File removed.
27114         * scripts/check-execstack.awk: New file.
27115         * elf/Makefile ($(objpfx)check-execstack): Target removed.
27116         (check-execstack-CFLAGS): Variable removed.
27117         ($(objpfx)check-execstack.h): Target removed.
27118         ($(objpfx)execstack-default): New target.
27119         (generated): Add that instead of check-execstack.h.
27120         ($(all-built-dso:=.phdr)): New static pattern rule.
27121         (generated): Add those targets.
27122         * elf/check-execstack.c: File removed.
27124         * scripts/check-textrel.awk: New file.
27125         * elf/Makefile ($(objpfx)check-textrel): Target removed.
27126         (check-textrel-CFLAGS): Variable removed.
27127         (all-built-dso): Use := to define.o
27128         ($(all-built-dso:=.dyn)): New static pattern rule.
27129         (generated): Add those targets.
27130         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
27131         * config.make.in (READELF): New substituted variable.
27132         * elf/check-textrel.c: File removed.
27134 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
27136         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27137         allow.
27138         * conform/data/ctype.h-data [C99-based standards] (isblank):
27139         Expect function.
27140         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
27141         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
27142         [ISO || ISO99 || ISO11] (*_t): Do not allow.
27143         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
27144         Specify type.  Require positive value.
27145         (EILSEQ): Likewise.
27146         (ERANGE): Likewise.
27147         [ISO || POSIX] (EILSEQ): Do not expect.
27148         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
27149         Specify type.  Require positive value.
27150         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
27151         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
27152         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
27153         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
27154         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
27155         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
27156         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
27157         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
27158         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
27159         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
27160         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
27161         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
27162         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
27163         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
27164         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
27165         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
27166         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
27167         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
27168         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
27169         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
27170         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
27171         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
27172         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
27173         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
27174         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
27175         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
27176         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
27177         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
27178         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
27179         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
27180         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
27181         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
27182         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
27183         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
27184         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
27185         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
27186         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
27187         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
27188         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
27189         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
27190         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
27191         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
27192         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
27193         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
27194         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
27195         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
27196         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
27197         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
27198         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
27199         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
27200         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
27201         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
27202         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
27203         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
27204         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
27205         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
27206         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
27207         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
27208         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
27209         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
27210         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
27211         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
27212         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
27213         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
27214         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
27215         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
27216         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
27217         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
27218         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
27219         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
27220         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
27221         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
27222         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
27223         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
27224         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
27225         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
27226         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
27227         Require >= 2.
27228         (FLT_ROUNDS): Expect as macro, not constant.
27229         (FLT_MANT_DIG): Use macro-int-constant.
27230         (DBL_MANT_DIG): Likewise.
27231         (LDBL_MANT_DIG): Likewise.
27232         (FLT_DIG): Likewise.
27233         (DBL_DIG): Likewise.
27234         (LDBL_DIG): Likewise.
27235         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
27236         (DBL_MIN_EXP): Likewise.
27237         (LDBL_MIN_EXP): Likewise.
27238         (FLT_MAX_EXP): Use macro-int-constant.
27239         (DBL_MAX_EXP): Likewise.
27240         (LDBL_MAX_EXP): Likewise.
27241         (FLT_MAX_10_EXP): Likewise.
27242         (DBL_MAX_10_EXP): Likewise.
27243         (LDBL_MAX_10_EXP): Likewise.
27244         (FLT_MAX): Use macro-constant.
27245         (DBL_MAX): Likewise.
27246         (LDBL_MAX): Likewise.
27247         (FLT_EPSILON): Use macro-constant.  Give upper bound.
27248         (DBL_EPSILON): Likewise.
27249         (LDBL_EPSILON): Likewise.
27250         (FLT_MIN): Likewise.
27251         (DBL_MIN): Likewise.
27252         (LDBL_MIN): Likewise.
27253         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
27254         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
27255         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
27256         [ISO11] (FLT_HAS_SUBNORM): Likewise.
27257         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
27258         [ISO11] (DBL_DECIMAL_DIG): Likewise.
27259         [ISO11] (FLT_DECIMAL_DIG): Likewise.
27260         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
27261         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
27262         [ISO11] (FLT_TRUE_MIN): Likewise.
27263         [ISO11] (LDBL_TRUE_MIN): Likewise.
27264         [ISO || ISO99 || ISO11] (*_t): Do not allow.
27265         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
27266         (SCHAR_MIN): Use macro-int-constant.  Specify type.
27267         (SCHAR_MAX): Likewise.
27268         (UCHAR_MAX): Likewise.
27269         (CHAR_MIN): Likewise.
27270         (CHAR_MAX): Likewise.
27271         (MB_LEN_MAX): Use macro-int-constant.
27272         (SHRT_MIN): Use macro-int-constant.  Specify type.
27273         (SHRT_MAX): Likewise.
27274         (USHRT_MAX): Likewise.
27275         (INT_MAX): Likewise.
27276         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
27277         bound negative.
27278         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
27279         bound with "U".
27280         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
27281         bound with "L".
27282         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
27283         bound negative.  Suffix upper bound with "L".
27284         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
27285         bound with "UL".
27286         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
27287         Specify type.
27288         [C99-based standards] (LLONG_MAX): Likewise.
27289         [C99-based standards] (ULLONG_MAX): Likewise.
27290         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
27291         == 0.
27292         [ISO11] (max_align_t): Require type.
27293         [ISO || ISO99 || ISO11] (*_t): Do not allow.
27295         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
27296         from $CFLAGS, without defining away __attribute__ calls.
27297         (checknamespace): Use $CFLAGS_namespace.
27299         * conform/conformtest.pl (@keywords): Only include C99 keywords
27300         for standards based on C99 or C11.
27302         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
27303         Disable tests.
27304         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
27305         UNIX98]: Likewise.
27307         * conform/conformtest.pl: Handle "macro-int-constant" and test for
27308         usability of symbols in #if.
27310         * conform/conformtest.pl: If macro or constant types start
27311         "promoted:", expect the symbol to be of the following type
27312         promoted by the integer promotions.
27314         * conform/conformtest.pl: Parse all "constant" and "macro" lines
27315         in one place.  Also handle "macro-constant".
27317         * conform/conformtest.pl: Only accept expected macro values with
27318         "==".  Parse all "macro" lines in one place.
27319         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
27321         * conform/conformtest.pl: Handle braced types on "constant" lines
27322         instead of handling "typed-constant".
27323         * conform/data/signal.h-data: Use "constant" instead of
27324         "typed-constant".
27326         * conform/conformtest.pl: Handle "optional-" at start of lines in
27327         one place rather than duplicating several cases.  Handle each
27328         format of "macro" line with initial "optional-".
27330         * conform/conformtest.pl: Only accept expected constant or
27331         optional-constant values with "==".  Parse all "constant" lines in
27332         one place.  Parse all "optional-constant" lines in one place.
27333         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
27334         * conform/data/fmtmsg.h-data: Likewise.
27335         * conform/data/netinet/in.h-data: Likewise.
27336         * conform/data/tar.h-data: Likewise.
27337         * conform/data/limits.h-data: Use "==" form on "constant" and
27338         "optional-constant" lines.
27340         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
27341         Use -std=c99 for XOPEN2K.
27342         (@knownproblems): Remove.
27343         (newtoken): Don't check %isknown.
27345         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
27346         Do not expect macro.
27347         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
27348         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
27349         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
27350         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
27351         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
27352         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
27353         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
27354         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
27355         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
27356         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
27357         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
27358         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
27359         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
27360         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
27361         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
27362         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
27363         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
27364         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
27365         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
27366         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
27367         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
27368         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
27369         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
27370         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
27371         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
27372         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
27373         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
27374         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
27375         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
27376         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
27377         [XPG3] (acosh): Likewise.
27378         [XPG3] (asinh): Likewise.
27379         [XPG3] (atanh): Likewise.
27380         [XPG3] (cbrt): Likewise.
27381         [XPG3] (expm1): Likewise.
27382         [XPG3] (ilogb): Likewise.
27383         [XPG3] (log1p): Likewise.
27384         [XPG3] (logb): Likewise.
27385         [XPG3] (nextafter): Likewise.
27386         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
27387         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
27388         [XPG3] (remainder): Likewise.
27389         [XPG3] (rint): Likewise.
27390         [XPG3 || XPG4 || UNIX98] (round): Likewise.
27391         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
27392         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
27393         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
27394         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
27395         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
27396         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
27397         [UNIX98 || XOPEN2K] (scalb): Expect.
27398         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
27399         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
27400         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
27401         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
27402         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
27403         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
27404         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
27405         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
27406         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
27407         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
27408         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
27409         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
27410         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
27411         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
27412         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
27413         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
27414         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
27415         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
27416         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
27417         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
27418         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
27419         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
27420         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
27421         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
27422         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
27423         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
27424         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
27425         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
27426         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
27427         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
27428         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
27429         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
27430         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
27431         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
27432         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
27433         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
27434         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
27435         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
27436         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
27437         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
27438         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
27439         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
27440         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
27441         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
27442         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
27443         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
27444         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
27445         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
27446         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
27447         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
27448         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
27449         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
27450         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
27451         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
27452         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
27453         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
27454         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
27455         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
27456         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
27457         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
27458         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
27459         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
27460         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
27461         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
27462         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
27463         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
27464         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
27465         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
27466         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
27467         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
27468         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
27469         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
27470         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
27471         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
27472         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
27473         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
27474         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
27475         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
27476         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
27477         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
27478         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
27479         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
27480         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
27481         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
27482         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
27483         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
27484         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
27485         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
27486         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
27487         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
27488         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
27489         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
27490         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
27491         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
27492         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
27493         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
27494         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
27495         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
27496         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
27497         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
27498         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
27499         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
27500         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
27501         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
27502         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
27503         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
27504         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
27505         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
27506         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
27507         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
27508         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
27509         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
27510         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
27511         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
27512         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
27513         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
27514         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
27515         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
27516         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
27517         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
27518         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
27519         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
27520         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
27521         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
27522         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
27523         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
27524         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
27525         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
27526         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
27527         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
27528         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
27529         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
27530         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
27531         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
27532         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
27533         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
27534         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
27536         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
27537         _XOPEN_SOURCE_EXTENDED for XPG4.
27539         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
27541         * Makeconfig (localtime): Remove variable.
27542         (inst_localtime-file): Likewise.
27544 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27547         Update.
27548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27549         Update.
27550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27551         Update.
27552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27553         Update.
27554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27555         Update.
27556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
27557         Update.
27558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27559         Update.
27560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
27561         Update.
27562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27563         Update.
27565 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
27567         [BZ #2550]
27568         [BZ #2570]
27569         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
27570         comparisons to determine direction to adjust input.
27571         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27572         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
27573         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
27574         Likewise.
27575         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27576         Likewise.
27577         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27578         Likewise.
27579         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27580         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27581         Likewise.
27582         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27583         Likewise.
27584         * math/libm-test.inc (nexttoward_test): Add more tests.
27586 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27588         [BZ #14040]
27589         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
27590         in version GLIBC_2.1, not GLIBC_2.0.
27591         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
27592         Likewise.
27594 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
27596         [BZ #13942]
27597         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
27598         (1 - x) * (1 + x).
27599         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27600         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
27601         * math/libm-test.inc (acos_test): Add more tests.
27602         (asin_test): Likewise.
27603         * sysdeps/i386/fpu/libm-test-ulps: Update.
27604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27606         [BZ #14034]
27607         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
27608         of square root.
27609         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
27610         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27611         * math/libm-test.inc (acos_test_tonearest): New function.
27612         (acos_test_towardzero): Likewise.
27613         (acos_test_downward): Likewise.
27614         (acos_test_upward): Likewise.
27615         (asin_test_tonearest): Likewise.
27616         (asin_test_towardzero): Likewise.
27617         (asin_test_downward): Likewise.
27618         (asin_test_upward): Likewise.
27619         (main): Call the new functions.
27620         * sysdeps/i386/fpu/libm-test-ulps: Update.
27621         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27623         [BZ #13884]
27624         [BZ #13924]
27625         * math/e_exp10.c: Include <float.h>.
27626         (__ieee754_exp10): Handle underflow here rather than multiplying
27627         large negative argument by M_LN10.
27628         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
27629         of __ieee754_expf.
27630         * math/e_exp10l.c: Include <float.h>.
27631         (__ieee754_exp10l): Handle underflow here rather than multiplying
27632         large negative argument by M_LN10l.
27633         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
27634         spurious overflow exception on underflow.
27636 2012-04-29  Marek Polacek  <polacek@redhat.com>
27638         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
27639         (__fortify_function): New macro.
27640         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
27641         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
27642         __extern_always_inline.
27643         * libio/bits/stdio2.h: Likewise.
27644         * libio/bits/stdio.h: Likewise.
27645         * string/string.h: Likewise.
27646         * string/bits/string3.h: Likewise.
27647         * include/stdio.h: Likewise.
27648         * stdlib/bits/stdlib.h: Likewise.
27649         * stdlib/stdlib.h: Likewise.
27650         * rt/bits/mqueue2.h: Likewise.
27651         * rt/mqueue.h: Likewise.
27652         * posix/bits/unistd.h: Likewise.
27653         * posix/unistd.h: Likewise.
27654         * io/bits/poll2.h: Likewise.
27655         * io/bits/fcntl2.h: Likewise.
27656         * io/fcntl.h: Likewise.
27657         * io/sys/poll.h: Likewise.
27658         * misc/bits/syslog.h: Likewise.
27659         * misc/bits/syslog-ldbl.h: Likewise.
27660         * misc/sys/syslog.h: Likewise.
27661         * socket/bits/socket2.h: Likewise.
27662         * socket/sys/socket.h: Likewise.
27663         * debug/tst-chk1.c: Likewise.
27664         * wcsmbs/bits/wchar2.h: Likewise.
27665         * wcsmbs/bits/wchar-ldbl.h: Likewise.
27666         * wcsmbs/wchar.h: Likewise.
27668 2012-04-29  Andreas Jaeger  <aj@suse.de>
27670         * Makerules (tests): Remove enable-check-abi protection.
27671         (check-abi-warn): Remove.
27672         (check-abi-%): Remove check-abi-warn usage.
27674         * configure.in: Remove check-abi configure option.
27675         * configure: Regenerated.
27676         * config.make.in (enable-check-abi): Remove.
27678 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
27680         [BZ #14033]
27681         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
27682         double functions to double *_finite functions.
27684         [BZ #13941]
27685         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
27686         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
27687         LDBL_MIN_EXP.
27688         * stdio-common/Makefile (tests): Add tst-sprintf3.
27689         * stdio-common/tst-sprintf3.c: New file.
27691         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
27692         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
27694 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
27696         * conform/conformtest.pl: Remove duplicate typed-constant
27697         handling.
27699 2012-04-28  David S. Miller  <davem@davemloft.net>
27701         * Makerules (%.abilist): Add vpath on sysdep_dirs.
27702         (check-abi-%): Remove AWK script prerequisite and explicit
27703         abilist directory.
27704         (check-abi): Rewrite to just diff the symlist with the abilist.
27705         (config-tls, config-abi-config): Delete, no longer used.
27706         (update-abi-%): Remove AWK script and explicit abilist directory.
27707         (update-abi): Rewrite to simply compare and conditionally copy the
27708         symlist and the sysdep abilist file.  Remove update-abi-config
27709         checks.
27710         * abilist/ld.abilist: Remove.
27711         * abilist/libBrokenLocale.abilist: Remove.
27712         * abilist/libanl.abilist: Remove.
27713         * abilist/libcrypt.abilist: Remove.
27714         * abilist/libdl.abilist: Remove.
27715         * abilist/librt.abilist: Remove.
27716         * abilist/libthread_db.abilist: Remove.
27717         * abilist/libutil.abilist: Remove.
27718         * scripts/extract-abilist.awk: Remove.
27719         * scripts/merge-abilist.awk: Remove.
27720         * sysdeps/generic/libcidn.abilist: New file.
27721         * sysdeps/generic/libnss_compat.abilist: New file.
27722         * sysdeps/generic/libnss_db.abilist: New file.
27723         * sysdeps/generic/libnss_dns.abilist: New file.
27724         * sysdeps/generic/libnss_files.abilist: New file.
27725         * sysdeps/generic/libnss_hesiod.abilist: New file.
27726         * sysdeps/generic/libnss_nis.abilist: New file.
27727         * sysdeps/generic/libnss_nisplus.abilist: New file.
27728         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
27729         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
27730         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
27731         file.
27732         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
27733         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
27734         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
27735         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
27736         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
27737         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
27738         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
27739         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
27740         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
27741         file.
27742         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
27743         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
27744         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
27745         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
27746         file.
27747         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
27748         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
27749         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
27750         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
27751         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
27752         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
27753         file.
27754         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
27755         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
27756         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
27757         file.
27758         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
27759         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
27760         New file.
27761         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
27762         New file.
27763         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
27764         New file.
27765         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
27766         New file.
27767         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
27768         New file.
27769         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
27770         New file.
27771         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
27772         New file.
27773         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
27774         New file.
27775         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
27776         New file.
27777         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
27778         New file.
27779         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
27780         New file.
27781         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
27782         New file.
27783         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
27784         New file.
27785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
27786         file.
27787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
27788         New file.
27789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
27790         New file.
27791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
27792         file.
27793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
27794         New file.
27795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
27796         New file.
27797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
27798         file.
27799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
27800         New file.
27801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27802         New file.
27803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
27804         New file.
27805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
27806         New file.
27807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
27808         New file.
27809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
27810         New file.
27811         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
27812         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
27813         file.
27814         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27815         New file.
27816         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
27817         file.
27818         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
27819         file.
27820         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
27821         file.
27822         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
27823         file.
27824         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
27825         file.
27826         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27827         New file.
27828         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
27829         file.
27830         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
27831         file.
27832         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27833         New file.
27834         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
27835         file.
27836         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
27837         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
27838         file.
27839         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27840         New file.
27841         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
27842         file.
27843         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
27844         file.
27845         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
27846         file.
27847         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
27848         file.
27849         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
27850         file.
27851         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27852         New file.
27853         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
27854         file.
27855         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
27856         file.
27857         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27858         New file.
27859         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
27860         file.
27861         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27862         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
27863         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
27864         file.
27865         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
27866         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
27867         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
27868         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
27869         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
27870         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
27871         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
27872         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
27873         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
27874         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
27875         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
27876         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
27877         file.
27878         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
27879         New file.
27880         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
27881         file.
27882         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
27883         file.
27884         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
27885         file.
27886         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
27887         file.
27888         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
27889         file.
27890         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27891         New file.
27892         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
27893         New file.
27894         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
27895         file.
27896         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
27897         New file.
27898         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
27899         file.
27900         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
27901         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
27902         file.
27903         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
27904         New file.
27905         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
27906         file.
27907         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
27908         file.
27909         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
27910         file.
27911         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
27912         file.
27913         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
27914         file.
27915         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27916         New file.
27917         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
27918         New file.
27919         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
27920         file.
27921         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
27922         New file.
27923         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
27924         file.
27926 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
27928         * conform/conformtest.pl: Fix typo in handling typed-constant from
27929         allow-header.
27931 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
27933         * README: Cut down references to pre-2.6 Linux kernels and
27934         Linuxthreads.  Update lists of configurations in libc and ports
27935         and sort alphabetically.  Say "or newer" with Linux kernel version
27936         requirements.
27938         * config.h.in [IS_IN_build]: Allow compiling without optimization.
27940 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27942         [BZ #887]
27943         * math/libm-test.inc (logb_test_downward): New test to expose
27944         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
27945         rounding mode.
27947 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
27949         [BZ #14027]
27950         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
27951         to be done.
27952         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
27953         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
27955 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
27957         * sysdeps/unix/i386/brk.S: Remove file.
27958         * sysdeps/unix/i386/dl-brk.S: Likewise.
27959         * sysdeps/unix/i386/pipe.S: Likewise.
27960         * sysdeps/unix/i386/sigreturn.S: Likewise.
27961         * sysdeps/unix/i386/syscall.S: Likewise.
27962         * sysdeps/unix/i386/vfork.S: Likewise.
27963         * sysdeps/unix/i386/wait.S: Likewise.
27965         * sysdeps/unix/common/tcsendbrk.c: Move to ...
27966         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
27968         * configure.in (arm*-none*): Do not allow without
27969         --enable-hacker-mode.
27970         (netbsd*): Remove case setting base_os.
27971         (386bsd*): Likewise.
27972         (freebsd*): Likewise.
27973         (bsdi*): Likewise.
27974         (osf*): Likewise.
27975         (sunos*): Likewise.
27976         (ultrix*): Likewise.
27977         (newsos*): Likewise.
27978         (dynix*): Likewise.
27979         (*bsd*): Likewise.
27980         (sysv*): Likewise.
27981         (isc*): Likewise.
27982         (esix*): Likewise.
27983         (sco*): Likewise.
27984         (minix*): Likewise.
27985         (irix4*): Likewise.
27986         (irix6*): Likewise.
27987         (solaris[2-9]*): Likewise.
27988         (none): Likewise.
27989         * configure: Regenerated.
27991 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27993         [BZ #11521]
27994         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
27995         overflow or cancellation in calculating denominator.
27996         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
27997         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
27998         down expression to avoid unexpected rounding in newer GCCs.
27999         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
28001 2012-04-26  David S. Miller  <davem@davemloft.net>
28003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
28004         long-double compat symbols.
28005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
28009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28010         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
28011         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
28012         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
28013         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
28014         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
28015         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
28016         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
28017         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28019 2012-04-25  David S. Miller  <davem@davemloft.net>
28021         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
28022         HWCAP_* values only after the memory barriers have been defined.
28023         (atomic_full_barrier): Define.
28024         (atomic_read_barrier): Define.
28025         (atomic_write_barrier): Define.
28027 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28029         * shlib-versions: Add libgcc_s version information.
28030         * sysdeps/generic/libgcc_s.h: Remove.
28031         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
28032         libgcc_s.h.
28033         * sysdeps/gnu/unwind-resume.c: Likewise.
28034         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
28036 2012-04-25  David S. Miller  <davem@davemloft.net>
28038         * sysdeps/unix/sparc/brk.S: Delete.
28039         * sysdeps/unix/sparc/dl-brk.S: Delete.
28040         * sysdeps/unix/sparc/pipe.S: Delete.
28041         * sysdeps/unix/sparc/sysdep.S: Delete.
28042         * sysdeps/unix/sparc/sysdep.h: Delete.
28043         * sysdeps/unix/sparc/vfork.S: Delete.
28044         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
28045         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
28046         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
28047         ret_ERRVAL, r0, r1, MOVE): Define.
28048         (JUMPTARGET): Remove.
28049         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
28050         sysdeps/unix/sparc/sysdep.h
28051         (ENTRY, END): Remove.
28052         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28054 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
28056         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
28057         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
28058         -DIS_IN_build.
28060         * timezone/README: Update upstream location and email address for
28061         tzcode and tzdata.
28062         * timezone/zdump.c: Update from tzcode 2012b.
28063         * timezone/zic.c: Likewise.
28065         * configure.in (libc_cv_as_needed): Remove test.
28066         * configure: Regenerated.
28067         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
28068         conditional definition.
28069         [$(have-as-needed) != yes] (no-as-needed): Likewise.
28070         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
28071         * config.make.in (have-as-needed): Remove variable.
28073 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28074             Paul Pluzhnikov  <ppluzhnikov@google.com>
28076         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
28077         strings correctly.
28079 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
28081         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
28082         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
28083         * sysdeps/sh/strlen.S: Likewise.
28085 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
28087         * sysdeps/unix/fork.S: Remove file.
28088         * sysdeps/unix/i386/fork.S: Likewise.
28089         * sysdeps/unix/sparc/fork.S: Likewise.
28091         * sysdeps/unix/system.c: Remove file.
28092         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
28094         * sysdeps/unix/getegid.S: Remove file.
28095         * sysdeps/unix/geteuid.S: Likewise.
28097 2012-04-24  Roland McGrath  <roland@hack.frob.com>
28099         * scripts/check-localplt.awk: New file.
28100         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
28101         of diff.
28102         * scripts/data/localplt-generic.data: Add a comment.
28104         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
28105         NODE when __dir_mkfile failed.
28106         * sysdeps/mach/hurd/symlinkat.c: Likewise.
28107         Reported by Ludovic Courtès <ludo@gnu.org>.
28109 2012-04-24  Andreas Jaeger  <aj@suse.de>
28111         * Makerules (common-clean): Also remove gen-as-const-headers
28112         files.
28114 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
28116         * Makerules (native-compile): Do not change working directory for
28117         build.  Use $(OUTPUT_OPTION) in command.
28118         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
28120 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28122         [BZ #13886]
28123         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
28124         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
28125         * math/libm-test.inc (floor_test): Add more tests.
28126         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
28128 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
28130         * sysdeps/unix/getdents.c: Remove file.
28131         * sysdeps/unix/sysv/getdents.c: Likewise.
28132         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
28134         * sysdeps/unix/syscalls.list (madvise): Add syscall from
28135         sysdeps/unix/mman/syscalls.list.
28136         (mmap): Likewise.
28137         (mprotect): Likewise.
28138         (msync): Likewise.
28139         (munmap): Likewise.
28140         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
28141         * sysdeps/unix/mman/syscalls.list: Remove.
28142         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
28144         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
28145         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
28146         * configure: Regenerated.
28147         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
28148         $(libgcc_s_suffix).
28149         * config.make.in (libgcc_s_suffix): Remove variable.
28151 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
28153         * sysdeps/unix/sysv/gethostname.c: Move to ...
28154         * sysdeps/posix/gethostname.c: ... here.
28156         * sysdeps/unix/execve.S: Remove file.
28158         * sysdeps/unix/_exit.S: Remove file.
28160 2012-04-23  Andreas Jaeger  <aj@suse.de>
28162         [BZ #13739]
28163         * manual/Makefile: Remove make dist support, there's no
28164         need for a stand-alone documentation tar ball.
28165         (TEXI2DVI): Define always, it's not in Makeconfig.
28166         (dist): Removed.
28167         (tar-it): Removed.
28168         (edition): Removed.
28169         (glibc-doc-$(edition).tar): Removed
28170         (%.Z): Removed.
28171         (%.gz): Removed.
28172         (%.uu): Removed.
28173         (ETAGS): Remove, it's in Makeconfig.
28174         (move-if-change): Remove, it's in Makeconfig.
28176 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
28178         [BZ #13970]
28179         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
28180         (strtod, strtof, strtold, strtol, strtoul, strtoq)
28181         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
28182         (strtod_l, strtof_l, strtold_l): Remove __wur.
28183         It is not necessarily an error to ignore strtol's return value.
28184         One can reliably look at the stored endptr to decide whether
28185         the number had valid syntax.
28187 2012-04-21  Andreas Jaeger  <aj@suse.de>
28189         [BZ #13739]
28190         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
28192 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
28194         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
28195         * sysdeps/unix/sysv/Versions: Remove file.
28197 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
28199         [BZ #13927]
28200         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28202 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
28204         [BZ #7064]
28205         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
28206         version from __vm86.
28208 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
28210         * sysdeps/unix/common/lxstat.c: Remove file.
28211         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
28213         * sysdeps/unix/sysv/Makefile: Remove file.
28215         * sysdeps/unix/sysv/direct.h: Remove file.
28217         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
28218         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
28219         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
28220         * sysdeps/unix/sysv/bits/signum.h: Likewise.
28221         * sysdeps/unix/sysv/bits/stat.h: Likewise.
28222         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
28223         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
28225         * sysdeps/unix/sysv/setrlimit.c: Remove file.
28227         * sysdeps/unix/xmknod.c: Remove file.
28228         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
28230         * sysdeps/unix/sysv/settimeofday.c: Remove file.
28232         * sysdeps/unix/sysv/i386/time.S: Remove file.
28234         * sysdeps/unix/fxstat.c: Remove file.
28235         * sysdeps/unix/xstat.c: Likewise.
28236         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
28238         * sysdeps/unix/sysv/sigaction.c: Remove file.
28240         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
28241         (sysdep_headers): Remove variable.
28242         [termio.h not in sysdep_headers] (generated): Likewise.
28243         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
28244         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
28245         * sysdeps/unix/sysv/tcdrain.c: Likewise.
28246         * sysdeps/unix/sysv/tcflow.c: Likewise.
28247         * sysdeps/unix/sysv/tcflush.c: Likewise.
28248         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
28249         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
28250         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
28251         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
28252         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
28254         * sysdeps/unix/siglist.c: Remove file.
28256         * sysdeps/unix/getppid.S: Remove file.
28258         * sysdeps/unix/mkdir.c: Remove file.
28259         * sysdeps/unix/rmdir.c: Likewise.
28261 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
28263         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
28264         ERR_MAX value.
28265         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
28266         errlist-compat value.
28268 2012-04-18  David S. Miller  <davem@davemloft.net>
28270         * sysdeps/generic/memcopy.h (reg_char): Delete.
28271         * debug/strcat_chk.c: Use char, not reg_char.
28272         * debug/strcpy_chk.c: Likewise.
28273         * debug/strncat_chk.c: Likewise.
28274         * debug/strncpy_chk.c: Likewise.
28275         * string/memchr.c: Likewise.
28276         * string/memrchr.c: Likewise.
28277         * string/rawmemchr.c: Likewise.
28278         * string/strcat.c: Likewise.
28279         * string/strchr.c: Likewise.
28280         * string/strchrnul.c: Likewise.
28281         * string/strcmp.c: Likewise.
28282         * string/strcpy.c: Likewise.
28283         * string/strncat.c: Likewise.
28284         * string/strncmp.c: Likewise.
28285         * string/strncpy.c: Likewise.
28287 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
28289         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
28290         __builtin_memcopy is called when src and dest ranges are known to not
28291         overlap.
28293 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
28295         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
28296         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
28297         fwd_align_merge macro call.
28298         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
28299         bwd_align_merge macro call.
28300         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28302 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
28304         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
28305         bwd_align_merge macros.
28306         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
28307         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
28308         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28310 2012-04-18  David S. Miller  <davem@davemloft.net>
28312         * sysdeps/sparc/sparc64/memcopy.h: Delete.
28314 2012-04-18  Andreas Jaeger  <aj@suse.de>
28316         [BZ# 6794]
28317         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
28318         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
28319         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28321         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
28322         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
28323         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28325         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
28326         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
28327         Adjust for changed ldbl-128 files.
28329         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
28330         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
28331         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28333 2012-04-17  David S. Miller  <davem@davemloft.net>
28335         * sysdeps/sparc/sparc32/memcopy.h: Delete.
28337 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
28339         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
28340         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
28341         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
28342         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
28343         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28344         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
28346 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28348         [BZ #6794]
28349         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
28350         * math/libm-test.inc: Add ilogb errno and exception tests.
28351         * math/w_ilogb.c: New file: ilogb wrapper.
28352         * math/w_ilogbf.c: New file: ilogbf wrapper.
28353         * math/w_ilogbl.c: New file: ilogbl wrapper.
28354         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
28355         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
28356         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
28357         exception being thrown with 0.0 as argument.
28358         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
28359         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
28360         exception being thrown with 0.0 as argument.
28361         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
28362         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28363         exception being thrown with 0.0 as argument.
28364         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
28365         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28366         exception being thrown with 0.0 as argument.
28367         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
28368         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
28369         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
28370         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
28371         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
28372         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
28373         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
28374         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
28375         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
28377 2012-04-17  Petr Baudis  <pasky@ucw.cz>
28379         * include/sys/uio.h: Change __vector to __iovec to avoid clash
28380         with altivec.
28382 2012-04-16  Marek Polacek  <polacek@redhat.com>
28384         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
28386 2012-04-16  Marek Polacek  <polacek@redhat.com>
28388         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
28389         operands of fdivp instruction.
28391 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
28393         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
28394         * elf/tst-auditmod3b.c: Likewise.
28395         * elf/tst-auditmod4b.c: Likewise.
28396         * elf/tst-auditmod5b.c: Likewise.
28397         * elf/tst-auditmod6b.c: Likewise.
28398         * elf/tst-auditmod6c.c: Likewise.
28399         * elf/tst-auditmod7b.c: Likewise.
28400         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
28401         * sysdeps/x86_64/preconfigure.in: Likewise.
28402         * sysdeps/x86_64/preconfigure: Regenerated.
28404 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
28406         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
28407         __ILP32__.
28409 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
28411         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28412         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
28414 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
28416         [BZ #13973]
28417         * locale/iso-639.def: Fix gl language name. Spotted by
28418         Yaron Shahrabani.
28420 2012-04-12  Roland McGrath  <roland@hack.frob.com>
28422         [BZ #2074]
28423         * libio/libio.h (__io_write_fn): Update comment.
28425 2012-04-12  Petr Baudis  <pasky@ucw.cz>
28427         [BZ #2074]
28428         * stdio.texi (Hook Functions): The user provided writer function
28429         is not allowed to return -1.
28431 2012-04-11  David S. Miller  <davem@davemloft.net>
28433         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28435 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
28437         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
28438         Add a leading slash to rtkaio.
28440 2012-04-11  Jim Meyering  <meyering@redhat.com>
28442         [BZ #11959]
28443         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
28444         It is not necessarily an error to ignore fwrite's return
28445         value.  One can reliably use ferror to test for errors after
28446         the fact.
28448 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
28450         * bits/types.h (__snseconds_t): New type.
28451         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
28453         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
28454         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28455         (__SNSECONDS_T_TYPE): Likewise.
28456         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28457         (__SNSECONDS_T_TYPE): Likewise.
28458         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28459         (__SNSECONDS_T_TYPE): Likewise.
28461 2012-04-10  Andreas Jaeger  <aj@suse.de>
28463         [BZ #2636]
28464         * manual/time.texi (Processor Time): Return type of times is
28465         elapsed real time since an arbitrary point in the past.
28466         (CPU Time): Move CLK_TCK from here...
28467         (Processor Time): ...to here.  Correct description.
28468         * manual/conf.texi (Constants for Sysconf): Correct description of
28469         _SC_CLK_TCK.
28471 2012-04-10  David S. Miller  <davem@davemloft.net>
28473         [BZ #13967]
28474         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
28475         where the is a gap between DT_REL(A) and DT_JMPREL.
28477 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
28479         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
28480         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28481         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28483 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28485         * elf/dl-support.c (_dl_inhibit_cache): New variable.
28486         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
28487         (dl_main): Handle --inhibit-cache.
28488         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
28489         _dl_inhibit_cache.
28490         * elf/dl-load.c (_dl_map_object): Use it.
28491         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
28493 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
28495         [BZ #13872]
28496         * sysdeps/i386/fpu/e_powl.S (p78): New object.
28497         (__ieee754_powl): Saturate large exponents rather than testing for
28498         overflow of y*log2(x).
28499         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28500         * math/libm-test.inc (pow_test): Do not permit spurious overflow
28501         exceptions.
28503         [BZ #11521]
28504         * math/s_ctan.c: Include <float.h>.
28505         (__ctan): Avoid internal overflow or cancellation in calculating
28506         denominator.
28507         * math/s_ctanf.c: Likewise.
28508         * math/s_ctanl.c: Likewise.
28509         * math/s_ctanh.c: Likewise.
28510         * math/s_ctanhf.c: Likewise.
28511         * math/s_ctanhl.c: Likewise.
28512         * math/libm-test.inc (ctan_test): Add more tests.
28513         (ctanh_test): Likewise.
28514         * sysdeps/i386/fpu/libm-test-ulps: Update.
28515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28517 2012-04-09  Andreas Jaeger  <aj@suse.de>
28519         [BZ #6894]
28520         * manual/filesys.texi (Directory Entries): Mention that d_namlen
28521         is an optional BSD extension.
28523         [BZ #10254]
28524         * manual/stdio.texi (Opening Streams): Document additional fopen
28525         parameters.
28527 2012-04-09  Roland McGrath  <roland@hack.frob.com>
28529         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
28530         %eax without telling the compiler.
28532 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
28534         [BZ # 13963]
28535         * manual/install.texi: Use sourceware.org.
28537 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
28539         [BZ #13873]
28540         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
28541         (__ieee754_pow): Generate overflow and underflow using huge*huge
28542         and tiny*tiny rather than just returning constant infinity or zero
28543         for large exponents.
28544         * math/libm-test.inc (pow_test): Require overflow exceptions for
28545         applicable cases of large exponents.
28547         [BZ #706]
28548         * sysdeps/i386/fpu/e_pow.S (p10): New object.
28549         (__ieee754_pow): Use iterative multiplication algorithm only for
28550         integer exponents with absolute value below 1024.  Check for odd
28551         integer exponents when using algorithm for real exponents.
28552         * math/libm-test.inc (pow_test): Add more tests.
28553         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28555 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
28557         [BZ #13705]
28558         * math/libm-test.inc (exp_test): Do not allow overflow exception
28559         on underflow test.
28561 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
28563         [BZ #13705]
28564         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
28565         instead of __kernel_standard_f.
28567 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
28569         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
28570         * sysdeps/x86_64/memset_chk.S: Likewise.
28572 2012-04-08  Andreas Jaeger  <aj@suse.de>
28574         [BZ #10153]
28575         * manual/startup.texi (Environment Access): Describe return value
28576         for putenv and setenv.
28578         [BZ #6895]
28579         * manual/filesys.texi (Directory Entries): Add description for
28580         DT_LNK.
28582         [BZ #6890]
28583         * manual/filesys.texi (Directory Entries): Clarify that it's file
28584         system not operating system in the description of DT_UNKNOWN.
28586         [BZ #6578]
28587         * manual/syslog.texi (closelog): Fix reference, it's openlog.
28589 2012-04-08  Stephen Compall  <s11@member.fsf.org>
28591         [BZ #6649]
28592         * manual/llio.texi (Opening and Closing Files): Add cross
28593         reference to explain mode argument.
28595 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
28597         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
28598         * sysdeps/x86_64/memset_chk.S: Likewise.
28600 2012-04-07  David S. Miller  <davem@davemloft.net>
28602         * elf/elf.h (R_SPARC_WDISP10): Define.
28603         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
28604         R_SPARC_SIZE32.
28605         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
28606         R_SPARC_SIZE64 and R_SPARC_H34.
28608 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
28610         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
28611         conditions and remove no longer applicable assertion.
28613 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
28615         * bits/byteswap.h: Include <features.h>.
28616         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28617         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28619 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
28621         * bits/byteswap.h (__bswap_16): Removed.
28622         Include <bits/byteswap-16.h> to get __bswap_16.
28623         * sysdeps/i386/bits/byteswap.h: Likewise.
28624         * sysdeps/s390/bits/byteswap.h: Likewise.
28625         * sysdeps/x86_64/bits/byteswap.h: Likewise.
28626         * bits/byteswap-16.h: New file.
28627         * sysdeps/i386/bits/byteswap-16.h: Likewise.
28628         * sysdeps/s390/bits/byteswap-16.h: Likewise.
28629         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
28630         * string/Makefile (headers): Add bits/byteswap-16.h.
28632 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
28634         [BZ #13895]
28635         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
28636         extra indirection.
28637         * nss/Makefile (tests-static, tests): Add tst-nss-static.
28638         * nss/tst-nss-static.c: New.
28640 2012-04-06  Robert Millan  <rmh@gnu.org>
28642         [BZ #6486]
28643         * manual/llio.texi (File Position Primitive): lseek
28644         refers to WHENCE when it really means OFFSET.
28646 2012-04-06  Andreas Jaeger  <aj@suse.de>
28648         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
28649         strncmp declarations.
28651         * abilist/libc.abilist: Add __poll and __ppoll.
28653 2012-04-05  David S. Miller  <davem@davemloft.net>
28655         * scripts/check-local-headers.sh: Accept a host triplet in the
28656         path matched by the exclude regexp.
28658         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
28659         definition.
28660         * sysdeps/powerpc/powerpc32/dl-machine.h
28661         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
28662         * sysdeps/s390/s390-32/dl-machine.h
28663         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28664         * sysdeps/sparc/sparc32/dl-machine.h
28665         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28666         * sysdeps/sparc/sparc64/dl-machine.h
28667         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28669         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
28670         lazy binding.
28671         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
28672         undefined symbol errors.
28674         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
28675         DT_NEEDED entries.
28677 2012-04-05  Michael Matz  <matz@suse.de>
28679         [BZ #13592]
28680         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
28682 2012-04-05  Andreas Jaeger  <aj@suse.de>
28684         [BZ #13908]
28685         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
28686         comment.
28688 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28690         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
28691         which ROUND is no valid rounding mode.
28693 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28695         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
28696         read again.
28697         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
28699 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28701         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
28702         an exception using FPU order intentionally.
28704 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28706         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
28707         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
28708         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
28709         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
28711 2012-04-05  Simon Josefsson  <simon@josefsson.org>
28713         [BZ #12340]
28714         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
28715         EINVAL when BUFLEN is too smal.
28717 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
28719         [BZ #13553]
28720         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
28721         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
28723 2012-04-03  Andreas Jaeger  <aj@suse.de>
28725         [BZ #13938]
28726         * manual/setjmp.texi (System V contexts): Fix sentence.
28728         [BZ #13926]
28729         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
28730         New macro for this case.
28731         [!__GNUC__] (__bswap_64): New inline function for this case.
28732         * sysdeps/x86_64/bits/byteswap.h: Likewise.
28733         * bits/byteswap.h: Likewise.
28734         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
28735         ull, guard with __GLIBC_HAVE_LONG_LONG.
28737         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
28738         __GLIBC_HAVE_LONG_LONG.
28740         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
28741         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
28743 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28745         [BZ #13691]
28746         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
28747         inptr and inend, rather than using last_ch.
28749 2012-04-02  David S. Miller  <davem@davemloft.net>
28751         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
28752         * stdio-common/printf-parse.h (read_int): Change return type to
28753         'int', return -1 on INT_MAX overflow.
28754         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
28755         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
28756         overflows INT_MAX.  Check for overflow of in-format-string precision
28757         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
28758         SIZE_MAX not INT_MAX for integer overflow test.
28759         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
28760         skip the construct in the format string but do not record anything.
28761         * stdio-common/bug22.c: Adjust to test both width/prevision
28762         INT_MAX overflow as well as total length INT_MAX overflow.  Check
28763         explicitly for proper errno values.
28765 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
28767         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
28768         CHAR_MAX.
28769         * string/test-strcmp.c [! WIDE]: Likewise.
28770         * time/tst-mktime2.c: Likewise for INT_MAX.
28771         * string/test-string.h: #include <sys/param.h> for MIN.
28773         * csu/init-first.c (__libc_init_first): Call __ctype_init.
28774         * sysdeps/i386/init-first.c (init): Likewise.
28775         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
28776         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
28777         * sysdeps/sh/init-first.c (init): Likewise.
28779 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
28781         * po/ru.po: Update from translation team.
28782         * po/vi.po: Likewise.
28784 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
28786         * resolv/nss_dns/dns-host.c: Merge copyright years.
28788 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28790         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28791         Optimize memcpy with prefetch if
28792         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
28793         src, dst pointers have unequal 16 byte alignments.
28795 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28797         [BZ #13928]
28798         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
28799         from a CNAME entry and return the minimum ttl for the query.
28800         (gaih_getanswer_slice): Likewise.
28802 2012-03-30  Jeff Law  <law@redhat.com>
28804         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
28805         due to long keys.
28806         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
28807         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
28809         * resolv/nss_dns/dns-host.c: Update copyright year.
28811 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
28813         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
28814         requests to save a system call.  Fix check that all bytes are sent.
28816         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
28817         comments for sendmmsg.
28819 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28821         [BZ #13691]
28822         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
28823         with only 1 character between 0x0041 and 0x01b0.
28824         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
28825         * wcsmbs/tst-mbsnrtowcs.c: New file.
28827 2012-03-29  David S. Miller  <davem@davemloft.net>
28829         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
28830         small copies by hand.
28832 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28834         [BZ #13761]
28835         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
28836         _nss_compat_initgroups_dyn): Fall back to malloc/free
28837         for large group memberships.
28839 2012-03-28  David S. Miller  <davem@davemloft.net>
28841         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
28842         that branches into memcpy.
28843         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
28844         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
28845         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28846         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
28847         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
28848         bits.
28849         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
28850         implementation too.
28851         * sysdeps/sparc/mempcpy.S: New file.
28853         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
28854         the IFUNC routine in the libc case.
28855         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28857         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
28858         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
28859         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
28860         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
28861         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
28862         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
28863         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
28864         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
28866         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
28867         loop to 256 bytes instead of 64 bytes and fix test signedness.
28869         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
28870         * sysdeps/sparc/sparc32/Makefile: rather than here...
28871         * sysdeps/sparc/sparc64/Makefile: and here.
28873 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
28875         * malloc/mallocbug.c: Avoid warnings about unused variables.
28877 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28879         [BZ #13760]
28880         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
28881         in the right place. Discard and retry query if response is
28882         larger than input buffer size.
28884 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
28886         [BZ #369]
28887         [BZ #2678]
28888         [BZ #3866]
28889         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
28890         x for large integer exponent.
28891         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28892         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
28893         sign of result as needed afterwards.
28894         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28895         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
28896         result for underflowing pow the same as for overflow.
28897         (__kernel_standard_l): Handle powl overflow and underflow here
28898         rather than calling __kernel_standard.
28899         * math/libm-test.inc (pow_test): Add more tests.
28901         [BZ #3868]
28902         [BZ #13879]
28903         [BZ #13910]
28904         [BZ #13911]
28905         [BZ #13912]
28906         [BZ #13913]
28907         [BZ #13915]
28908         [BZ #13916]
28909         [BZ #13917]
28910         [BZ #13918]
28911         [BZ #13919]
28912         [BZ #13920]
28913         [BZ #13921]
28914         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
28915         * sysdeps/ieee754/k_standard.c: Include <float.h>.
28916         (__kernel_standard_l): New function.
28917         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
28918         __kernel_standard.
28919         * math/w_acosl.c (__acosl): Likewise.
28920         * math/w_asinl.c (__asinl): Likewise.
28921         * math/w_atan2l.c (__atan2l): Likewise.
28922         * math/w_atanhl.c (__atanhl): Likewise.
28923         * math/w_coshl.c (__coshl): Likewise.
28924         * math/w_exp10l.c (__exp10l): Likewise.
28925         * math/w_exp2l.c (__exp2l): Likewise.
28926         * math/w_fmodl.c (__fmodl): Likewise.
28927         * math/w_hypotl.c (__hypotl): Likewise.
28928         * math/w_j0l.c (__j0l, __y0l): Likewise.
28929         * math/w_j1l.c (__j1l, __y1l): Likewise.
28930         * math/w_jnl.c (__jnl, __ynl): Likewise.
28931         * math/w_lgammal.c (__lgammal): Likewise.
28932         * math/w_log10l.c (__log10l): Likewise.
28933         * math/w_log2l.c (__log2l): Likewise.
28934         * math/w_logl.c (__logl): Likewise.
28935         * math/w_powl.c (__powl): Likewise.
28936         * math/w_remainderl.c (__remainderl): Likewise.
28937         * math/w_scalbl.c (sysv_scalbl): Likewise.
28938         * math/w_sinhl.c (__sinhl): Likewise.
28939         * math/w_sqrtl.c (__sqrtl): Likewise.
28940         * math/w_tgammal.c (__tgammal): Likewise.
28941         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
28942         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
28943         * math/libm-test.inc (acos_test): Add more tests.
28944         (acosh_test): Likewise.
28945         (asin_test): Likewise.
28946         (atanh_test): Likewise.
28947         (exp_test): Likewise.
28948         (exp10_test): Likewise.
28949         (exp2_test): Likewise.
28950         (expm1_test): Likewise.
28951         (lgamma_test): Likewise.
28952         (log_test): Likewise.
28953         (log10_test): Likewise.
28954         (log1p_test): Likewise.
28955         (log2_test): Likewise.
28956         (pow_test): Do not allow some spurious overflow exceptions.
28957         (sqrt_test): Add more tests.
28958         (tgamma_test): Likewise.
28959         (y0_test): Likewise.
28960         (y1_test): Likewise.
28961         (yn_test): Likewise.
28963 2012-03-27  Anton Blanchard  <anton@samba.org>
28965         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
28966         MAP_HUGETLB.
28967         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28968         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28969         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28971 2012-03-27  David S. Miller  <davem@davemloft.net>
28973         * conform/Makefile: Run run-conformtest.sh using $(BASH).
28975         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
28976         have-as-vis3 check.
28978 2012-03-27  Andreas Jaeger  <aj@suse.de>
28980         * sysdeps/x86_64/elf/configure.in: Moved to ...
28981         * sysdeps/x86_64/configure.in: ... here.
28982         * sysdeps/x86_64/elf/start.S: Moved to ...
28983         * sysdeps/x86_64/start.S: ... here.
28984         * sysdeps/x86_64/elf/configure: Delete.
28986         * sysdeps/x86_64/configure.in: Merge contents from
28987         sysdeps/i386/configure.in (without i686 check).
28989         * sysdeps/i386/elf/Versions: Merge into ...
28990         * sysdeps/i386/Versions: ... this.
28991         * sysdeps/i386/elf/Versions: Delete file.
28992         * sysdeps/i386/elf/start.S: Moved to ...
28993         * sysdeps/i386/start.S: ...here.
28994         * sysdeps/i386/elf/configure.in: Merge into...
28995         * sysdeps/i386/configure.in: ...here.
28996         * sysdeps/i386/elf/configure.in: Delete file.
28997         * sysdeps/i386/elf/configure: Delete file.
28999         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
29000         * debug/backtracesyms.c: ... here.
29001         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
29002         * debug/backtracesymsfd.c: ... here.
29003         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
29004         * sysdeps/generic/ifunc-sel.h: ... here.
29006         * sysdeps/unix/i386/start.c: Delete file.
29007         * sysdeps/unix/sparc/start.c: Delete file.
29008         * sysdeps/unix/start.c: Delete file.
29010         * sysdeps/sh/elf/configure.in: Moved to ...
29011         * sysdeps/sh/configure.in: ... here.
29012         * sysdeps/sh/elf/start.S: Moved to ...
29013         * sysdeps/sh/start.S: ... here.
29014         * sysdeps/sh/elf/configure: Delete file.
29016         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
29017         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
29018         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
29019         * sysdeps/powerpc/powerpc64/entry.h: ... here.
29020         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
29021         * sysdeps/powerpc/powerpc64/start.S: here.
29022         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
29023         * sysdeps/powerpc/powerpc64/Makefile: ... this.
29024         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
29025         * sysdeps/powerpc/powerpc64/configure.in: ... this.
29026         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
29028         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
29029         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
29030         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
29031         * sysdeps/powerpc/powerpc32/start.S: ... here.
29032         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
29033         * sysdeps/powerpc/powerpc32/configure.in: ... this.
29034         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
29036         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
29037         * sysdeps/powerpc/ifunc-sel.h: ... here.
29038         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
29039         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
29041         * sysdeps/sparc/elf/configure.in: Moved to ...
29042         * sysdeps/sparc/configure.in: ... here.
29043         * sysdeps/sparc/elf/configure: Delete file.
29044         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
29045         * sysdeps/sparc/sparc32/start.S: ... here.
29046         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
29047         * sysdeps/sparc/sparc64/start.S: ... here.
29048         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
29049         * sysdeps/sparc/sparc32/Makefile: ... this.
29050         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
29051         * sysdeps/sparc/sparc64/Makefile: ... this.
29053         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
29054         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
29055         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
29056         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
29057         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
29058         * sysdeps/s390/s390-32/setjmp.S: ... here.
29059         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
29060         * sysdeps/s390/s390-32/configure.in: ... here.
29061         * sysdeps/s390/s390-32/elf/configure: Delete file.
29062         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
29063         * sysdeps/s390/s390-32/start.S: ... here.
29065         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
29066         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
29067         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
29068         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
29069         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
29070         * sysdeps/s390/s390-64/setjmp.S: ... here.
29071         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
29072         * sysdeps/s390/s390-64/configure.in: ... here
29073         * sysdeps/s390/s390-64/elf/configure: Delete file.
29074         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
29075         * sysdeps/s390/s390-64/start.S: ... here.
29076         * sysdeps/s390/s390-64/elf/configure: Delete.
29078         * configure.in: Remove support for elf directories in sysdeps.
29080         * configure: Regenerated.
29081         * sysdeps/i386/configure: Regenerated.
29082         * sysdeps/powerpc/powerpc32/configure: Regenerated.
29083         * sysdeps/powerpc/powerpc64/configure: Regenerated.
29084         * sysdeps/s390/s390-32/configure: Regenerated.
29085         * sysdeps/s390/s390-64/configure: Regenerated.
29086         * sysdeps/sh/configure: Regenerated.
29087         * sysdeps/sparc/configure: Regenerated.
29088         * sysdeps/x86_64/configure: Regenerated.
29090 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
29092         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29094         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
29095         denormal result into account.
29097 2012-03-25  Roland McGrath  <roland@hack.frob.com>
29099         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
29100         Reported by Allan McRae <allan@archlinux.org>.
29102 2012-03-23  Jeff Law  <law@redhat.com>
29104         * nss/getnssent.c (__nss_getent): Fix typo.
29106 2012-03-23  David S. Miller  <davem@davemloft.net>
29108         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29110 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
29112         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
29113         to pad to uint64_t for each field.
29114         (dl_tls_index): Replace unsigned long with uint64_t.
29116 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
29117         Paul Pluzhnikov  <ppluzhnikov@google.com>
29119         [BZ #6528]
29120         * grp/Makefile (otherlibs): Don't set it.
29121         * inet/Makefile (otherlibs): Likewise.
29122         * login/Makefile (otherlibs): Likewise.
29123         * nscd/Makefile (otherlibs): Likewise.
29124         * posix/Makefile (otherlibs): Likewise.
29125         * pwd/Makefile (otherlibs): Likewise.
29126         * rt/Makefile (otherlibs): Likewise.
29127         * sunrpc/Makefile (otherlibs): Likewise.
29128         * nss/Makefile (otherlibs): Likewise.
29129         Add libnss_files to routines and static-only-routines.
29130         ($(objpfx)getent): Remove rule.
29131         * resolv/Makefile: Add libnss_dns and libresolv to routines and
29132         static-only-routines.
29134 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
29136         [BZ #13892]
29137         * math/s_cexp.c: Include <float.h>.
29138         (__cexp): Handle exp result overflowing not necessarily
29139         overflowing both real and imaginary parts of result.
29140         * math/s_cexpf.c: Likewise.
29141         * math/s_cexpl.c: Likewise.
29142         * math/libm-test.inc (cexp_test): Add more tests.
29143         * sysdeps/i386/fpu/libm-test-ulps: Update.
29144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29146 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
29148         * include/link.h (ELFW): New macro.
29149         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
29150         Replace ELF64_R_TYPE with ELFW(R_TYPE).
29152 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
29154         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
29155         with uint64_t.
29157 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
29159         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
29160         declaration.
29161         (struct La_x32_retval): Likewise.
29163 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
29165         * sysdeps/x86_64/preconfigure.in: New file.
29166         * sysdeps/x86_64/preconfigure: New generated file.
29168 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
29170         [BZ #13824]
29171         * math/e_exp2l.c: Include <float.h>.
29172         (__ieee754_exp2l): Handle overflow and underflow cases
29173         separately.  Only pass fractional part of argument to
29174         __ieee754_expl.
29175         * math/libm-test.inc (exp2_test): Add more tests.
29177         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
29178         negating x to take absolute value.
29179         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
29180         Likewise.
29181         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29182         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
29183         Likewise.
29184         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
29185         computing low part if x was negated.
29186         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29188 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
29190         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
29191         la_x32_gnu_pltexit.
29192         (pltexit): Cast int_retval to ptrdiff_t.
29193         * elf/tst-auditmod3b.c: Likewise.
29194         * elf/tst-auditmod4b.c: Likewise.
29195         * elf/tst-auditmod5b.c: Likewise.
29196         * elf/tst-auditmod6b.c: Likewise.
29197         * elf/tst-auditmod6c.c: Likewise.
29198         * elf/tst-auditmod7b.c: Likewise.
29200         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
29201         and x32_gnu_pltexit.
29203         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
29204         __ELF_NATIVE_CLASS.
29205         (La_x32_regs): New macro.
29206         (La_x32_retval): Likewise.
29207         (la_x32_gnu_pltenter): New function prototype.
29208         (la_x32_gnu_pltexit): Likewise.
29210 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
29212         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
29213         exponent.
29215         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29217         * configure.in (libc_cv_cc_nofma): Check for option to disable
29218         generation of FMA instructions.
29219         * configure: Regenerate.
29220         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
29221         * sysdeps/ieee754/dbl-64/Makefile: New file.
29222         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29223         Remove brandred-fma4.
29224         (CFLAGS-brandred-fma4.c): Remove.
29225         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
29226         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
29227         define.
29228         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
29229         define.
29231 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
29233         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29234         LLONG_MAX != LONG_MAX.
29235         (_itoa_word): Use _ITOA_WORD_TYPE on value.
29236         (_fitoa_word): Likewise.
29237         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
29238         LLONG_MAX != LONG_MAX.
29239         * stdio-common/_itowa.h: Include <_itoa.h>.
29240         (_itowa_word): Use _ITOA_WORD_TYPE on value.
29241         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
29242         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
29243         only if not defined.
29244         (_ITOA_WORD_TYPE): Likewise.
29245         (_itoa_word): Use _ITOA_WORD_TYPE on value.
29246         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
29248 2012-03-21  David S. Miller  <davem@davemloft.net>
29250         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29252 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
29254         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
29255         of x86_64 when setting libc_cv_slibdir, libdir and
29256         libc_cv_localedir.
29257         * sysdeps/unix/sysv/linux/configure: Regenerated.
29259 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
29261         * manual/lang.texi (Old Varargs): Remove section.
29262         (How Variadic): Update menu.
29263         (va_start): Do not mention varargs.h.
29265 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
29266             Joseph Myers  <joseph@codesourcery.com>
29268         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
29269         link test.
29270         * configure: Regenerated.
29272 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
29274         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
29275         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
29276         conformtest.pl
29278 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
29280         * NOTES: Remove.
29281         * Makefile (files-for-dist): Remove NOTES.
29282         (NOTES): Remove rule.
29283         * README: Don't refer to NOTES.
29284         * manual/creature.texi: Don't include macros.texi.
29285         * manual/intro.texi (creature.texi): Remove comment referring to
29286         NOTES.
29288         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
29289         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
29290         * configure: Regenerated.
29291         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
29292         LIBC_TRY_CC_OPTION.
29293         (libc_cv_as_i686): Likewise.
29294         (libc_cv_cc_avx): Likewise.
29295         (libc_cv_cc_sse2avx): Likewise.
29296         (libc_cv_cc_fma4): Likewise.
29297         (libc_cv_cc_novzeroupper): Likewise.
29298         * sysdeps/i386/configure: Regenerated.
29300         [BZ #13883]
29301         * sysdeps/i386/fpu/s_cexp.S: Remove.
29302         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29303         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29304         * math/libm-test.inc (cexp_test): Add more tests.
29305         * sysdeps/i386/fpu/libm-test-ulps: Update.
29306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29308 2012-03-21  Allan McRae  <allan@archlinux.org>
29310         * timezone/Makefile: Do not install iso3166.tab and zone.tab
29312 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
29314         [BZ #13871]
29315         * math/w_exp2.c: Do not include <float.h>.
29316         (o_threshold, u_threshold): Remove.
29317         (__exp2): Calculate result before checking finiteness and calling
29318         __kernel_standard.
29319         * math/w_exp2f.c: Likewise.
29320         * math/w_exp2l.c: Likewise.
29321         * math/libm-test.inc (exp2_test): Require overflow exception for
29322         1e6 input.
29324         [BZ #3866]
29325         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
29326         range of signed 64-bit integers before using fistpll.  Remove
29327         checks for whether integers fit in mantissa bits.
29328         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
29329         the range of signed 32-bit integers before using fistpl.  Remove
29330         checks for whether integers fit in mantissa bits.
29331         * sysdeps/i386/fpu/e_powl.S (p64): New object.
29332         (__ieee754_powl): Test for y outside the range of signed 64-bit
29333         integers before using fistpll.  Reduce 64-bit values to 63-bit
29334         ones as needed.
29335         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
29336         divide-by-zero is raised for zero to large negative powers.
29337         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
29338         (__ieee754_powl): Test for y outside the range of signed 64-bit
29339         integers before using fistpll.  Reduce 64-bit values to 63-bit
29340         ones as needed.
29341         * math/libm-test.inc (pow_test): Add more tests.
29343 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
29345         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
29346         <stdio-common/_itoa.h>.
29347         * debug/segfault.c: Likewise.
29348         * elf/dl-cache.c: Likewise.
29349         * elf/dl-minimal.c: Likewise.
29350         * elf/dl-misc.c: Likewise.
29351         * elf/dl-sysdep.c: Likewise.
29352         * elf/dl-version.c: Likewise.
29353         * elf/rtld.c: Likewise.
29354         * hurd/hurdsock.c: Likewise.
29355         * hurd/lookup-retry.c: Likewise.
29356         * malloc/malloc.c: Likewise.
29357         * malloc/mtrace.c: Likewise.
29358         * nscd/nscd_getgr_r.c: Likewise.
29359         * nscd/nscd_getpw_r.c: Likewise.
29360         * nscd/nscd_getserv_r.c: Likewise.
29361         * posix/getopt_init.c: Likewise.
29362         * posix/wordexp.c: Likewise.
29363         * stdio-common/_itoa.c: Likewise.
29364         * stdio-common/printf_fphex.c: Likewise.
29365         * stdio-common/vfprintf.c: Likewise.
29366         * string/_strerror.c: Likewise.
29367         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
29368         * sysdeps/i386/i686/hp-timing.h: Likewise.
29369         * sysdeps/mach/_strerror.c: Likewise.
29370         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
29371         * sysdeps/mach/hurd/sethostid.c: Likewise.
29372         * sysdeps/mach/hurd/xmknodat.c: Likewise.
29373         * sysdeps/mach/xpg-strerror.c: Likewise.
29374         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29375         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29376         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
29377         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
29378         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29379         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
29380         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29381         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29382         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
29383         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
29384         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
29385         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29386         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
29387         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29388         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29389         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
29390         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
29391         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
29392         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
29393         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
29394         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
29396         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
29398         * stdio-common/_itoa.h: Moved to ...
29399         * sysdeps/generic/_itoa.h: Here.
29401         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
29403         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
29404         instead of "_itoa.h" and "_itowa.h".
29405         * stdio-common/vfprintf.: Likewise.
29407 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
29409         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
29410         <bits/wordsize.h>.
29411         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
29412         (__signbit): Likwise.
29413         (llrintf): Likwise.
29414         (llrint): Likwise.
29416 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
29418         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
29419         __WORDSIZE != 64.
29421 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
29423         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
29424         OVERFLOW_EXCEPTION_OK.
29425         * math/libm-test.inc ("Philosophy"): Update comment about
29426         exception testing.
29427         (OVERFLOW_EXCEPTION): Define.
29428         (OVERFLOW_EXCEPTION_OK): Likewise.
29429         (INVALID_EXCEPTION_OK): Renumber.
29430         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29431         (IGNORE_ZERO_INF_SIGN): Likewise.
29432         (test_exceptions): Handle FE_OVERFLOW.
29433         (exp10_test): Expect overflow exceptions.
29434         (exp2_test): Likewise.
29435         (expm1_test): Likewise.
29436         (nextafter_test): Likewise.
29437         (pow_test): Likewise.
29438         (scalbn_test): Likewise.
29439         (scalbln_test): Likewise.
29441 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
29443         * sysdeps/x86_64/bits/atomic.h
29444         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
29445         64bit integer.
29446         (atomic_exchange_acq): Likewise.
29447         (__arch_exchange_and_add_body): Likewise.
29448         (__arch_add_body): Likewise.
29449         (atomic_add_negative): Likewise.
29450         (atomic_add_zero): Likewise.
29452 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
29454         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
29455         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
29457 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
29459         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
29460         Check __x86_64__ instead of __WORDSIZE.
29462 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
29464         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
29466 2012-03-19  David S. Miller  <davem@davemloft.net>
29468         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29470         * sysdeps/sparc/fpu/fenv_private.h: New file.
29471         * sysdeps/sparc/fpu/math_private.h: Use it.
29472         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
29473         Remove.
29474         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
29475         (libc_feholdexcept_setroundl): Remove.
29476         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
29477         Remove.
29478         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
29479         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
29481 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
29483         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
29484         int64_t instead of long int.
29485         (INSERT_WORDS64): Likwise.
29487 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
29489         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
29490         _Unwind_GetCFA return to _Unwind_Ptr first.
29492 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
29494         [BZ #13629]
29495         * math/s_clog.c: Include <float.h>.
29496         (__clog): Scale large or subnormal inputs.
29497         * math/s_clogf.c: Likewise.
29498         * math/s_clogl.c: Likewise.
29499         * math/s_clog10.c: Include <float.h>.
29500         (M_LOG10_2): Define.
29501         (__clog10): Scale large or subnormal inputs.
29502         * math/s_clog10f.c: Likewise.
29503         * math/s_clog10l.c: Likewise.
29504         * math/libm-test.inc (clog_test): Add more tests.
29505         (clog10_test): Likewise.
29506         * sysdeps/i386/fpu/libm-test-ulps: Update.
29507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29509         [BZ #11451]
29510         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
29511         x and y.
29512         * math/libm-test.inc (atan2_test): Add another test.
29514         * Makerules (common-objdir-compile): Remove.
29515         * sysdeps/unix/Makefile (config-generated): Do not add
29516         $(unix-generated) to variable.
29517         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
29518         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
29519         Remove rule.
29520         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
29521         Likewise.
29522         [generic bits/local_lim.h] (before-compile): Do not append to
29523         variable.
29524         [generic bits/local_lim.h] (common-generated): Likewise.
29525         [generic sys/param.h] (before-compile): Do not append to variable.
29526         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
29527         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
29528         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
29529         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
29530         include.
29531         [generic sys/param.h] (sys/param.h-includes): Remove variable.
29532         [generic sys/param.h] (sys/param.h-includes): Remove rule.
29533         [generic sys/param.h] ($(addprefix
29534         $(common-objpfx),$(sys/param.h-includes))): Likewise.
29535         [generic sys/param.h] (common-generated): Do not append to
29536         variable.
29537         [generic sys/param.h] (sysdep_headers): Likewise.
29538         [generic bits/errno.h] (before-compile): Do not append to
29539         variable.
29540         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
29541         rule.
29542         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
29543         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
29544         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
29545         [generic bits/errno.h] (common-generated): Do not append to
29546         variable.
29547         [generic bits/ioctls.h] (before-compile): Do not append to
29548         variable.
29549         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
29550         rule.
29551         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
29552         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
29553         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
29554         rule.
29555         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
29556         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
29557         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
29558         [generic bits/ioctls.h] (common-generated): Do not append to
29559         variable.
29560         [generic sys/syscall.h] (syscall.h): Remove variable.
29561         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
29562         rule.
29563         [generic sys/syscall.h] (before-compile): Do not append to
29564         variable.
29565         [generic sys/syscall.h] (common-generated): Likewise.
29566         * sysdeps/unix/errnos-tmpl.c: Remove file.
29567         * sysdeps/unix/errnos.awk: Likewise.
29568         * sysdeps/unix/ioctls-tmpl.c: Likewise.
29569         * sysdeps/unix/ioctls.awk: Likewise.
29570         * sysdeps/unix/mk-local_lim.c: Likewise.
29571         * sysdeps/unix/snarf-ioctls: Likewise.
29573 2012-03-19  Richard Henderson  <rth@twiddle.net>
29575         * sysdeps/i386/fpu/fenv_private.h: New file.
29576         * sysdeps/i386/fpu/math_private.h: Use it.
29577         (math_opt_barrier, math_force_eval): Remove.
29578         (libc_feholdexcept_setround_53bit): Remove.
29579         (libc_feupdateenv_53bit): Remove.
29580         * sysdeps/x86_64/fpu/math_private.h: Likewise.
29581         (math_opt_barrier, math_force_eval): Remove.
29582         (libc_feholdexcept): Remove.
29583         (libc_feholdexcept_setround): Remove.
29584         (libc_fetestexcept, libc_fesetenv): Remove.
29585         (libc_feupdateenv_test): Remove.
29586         (libc_feupdateenv, libc_feholdsetround): Remove.
29587         (libc_feresetround): Remove.
29589         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
29590         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29592         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
29593         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
29594         (libc_feupdateenv_testl): New.
29595         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
29596         (libc_feupdateenv_testf): New.
29597         (libc_feupdateenv): Use libc_feupdateenv_test.
29598         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
29599         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
29601         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
29602         (libc_feholdsetroundf, libc_feholdsetroundl): New.
29603         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
29604         (libc_feresetround_noex): New.
29605         (libc_feresetround_noexf): New.
29606         (libc_feresetround_noexl): New.
29607         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
29608         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
29609         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
29610         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
29611         SET_RESTORE_ROUND.
29612         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29613         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
29614         (__cos): Likewise.
29615         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
29616         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
29617         SET_RESTORE_ROUND_NOEX.
29618         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
29619         SET_RESTORE_ROUND_NOEXF.
29620         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
29621         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
29622         (libc_feholdsetroundf): New.
29623         (libc_feresetround, libc_feresetroundf): New.
29625         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
29626         (libc_feholdexcept_setround_53bit): Convert from macro to function.
29627         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
29629         * sysdeps/generic/math_private.h: Include <fenv.h>.
29630         (default_libc_feholdexcept): New.
29631         (default_libc_feholdexcept_setround): New.
29632         (default_libc_fesetenv, default_libc_feupdateenv): New.
29633         (libc_feholdexcept): Only define if undefined.
29634         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
29635         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
29636         (libc_feholdexcept_setroundl): Likewise.
29637         (libc_feholdexcept_setround_53bit): Likewise.
29638         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
29639         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
29640         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
29641         (libc_feupdateenv_53bit): Likewise.
29642         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
29643         (libc_feholdexcept): Convert from macro to inline function.
29644         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
29645         (libc_fesetenv, libc_feupdateenv): Likewise.
29647         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
29648         not previously defined.
29649         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
29650         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
29651         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
29652         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
29653         * sysdeps/ieee754/flt-32/math_private.h: New file.
29654         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
29655         math_private.h below SET_FLOAT_WORD.
29656         (__isnan, __isinf_ns, __finite): Remove.
29657         (__isnanf, __isinf_nsf, __finitef): Remove.
29659 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
29661         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29663 2012-03-17  David S. Miller  <davem@davemloft.net>
29665         [BZ #6471]
29666         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
29667         for 2.16.
29669 2012-03-16  David S. Miller  <davem@davemloft.net>
29671         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
29672         warnings.
29674         [BZ #6471]
29675         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
29676         properly.
29677         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
29678         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
29679         sysdep_routines when subdir is sysvipc.
29680         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
29681         __getshmlba helper.
29683         * sysdeps/sparc/fpu/libm-test/ulps: Update.
29685 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29687         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
29688         [__LP64__].
29690 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29692         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
29693         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
29694         (__lround): Renamed to ...
29695         (__llround): This.  Replace long int with long long int.
29696         Define lround functions as aliases of llround functions.
29697         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
29699 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29701         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
29702         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
29703         adresses to uintptr_t.  Replace "long int" and "unsigned long
29704         int" with "greg_t" on va_arg.
29706 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29708         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
29709         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
29711         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
29712         Move e_machine check before EI_CLASS check.  Handle x32
29713         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
29714         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
29715         SKIP_EM_IA_64 and include
29716         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
29718         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
29719         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
29720         (add_system_dir): New macro.
29722         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
29723         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
29725 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
29727         [BZ #2551]
29728         [BZ #2552]
29729         [BZ #2553]
29730         [BZ #2554]
29731         [BZ #2562]
29732         [BZ #2563]
29733         [BZ #2565]
29734         [BZ #2566]
29735         [BZ #2576]
29736         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
29737         (y0): Likewise.
29738         * math/w_j0f.c (j0f): Likewise.
29739         (y0f): Likewise.
29740         * math/w_j0l.c (__j0l): Likewise.
29741         (__y0l): Likewise.
29742         * math/w_j1.c (j1): Likewise.
29743         (y1): Likewise.
29744         * math/w_j1f.c (j1f): Likewise.
29745         (y1f): Likewise.
29746         * math/w_j1l.c (__j1l): Likewise.
29747         (__y1l): Likewise.
29748         * math/w_jn.c (jn): Likewise.
29749         (yn): Likewise.
29750         * math/w_jnf.c (jnf): Likewise.
29751         (ynf): Likewise.
29752         * math/w_jnl.c (__jnl): Likewise.
29753         (__ynl): Likewise.
29754         * math/libm-test.inc (j0_test): Add more tests.
29755         (j1_test): Likewise.
29756         (jn_test): Likewise.  Add trailing semicolon to existing test.
29757         (y0_test): Likewise.
29758         (y1_test): Likewise.
29759         * sysdeps/i386/fpu/libm-test-ulps: Update.
29760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29762         [BZ #13851]
29763         [BZ #13854]
29764         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
29765         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
29766         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
29767         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
29768         (__tanl): Set errno for infinite argument.
29769         * sysdeps/i386/fpu/mptan.c: Remove.
29770         * sysdeps/i386/fpu/s_tan.S: Likewise.
29771         * sysdeps/i386/fpu/s_tanl.S: Likewise.
29772         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
29773         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
29774         * math/libm-test.inc (tan_test): Add more tests and enable more
29775         tests for double and long double.
29776         * sysdeps/i386/fpu/libm-test-ulps: Update.
29777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29779 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
29781         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
29782         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
29784 2012-03-16  Roland McGrath  <roland@hack.frob.com>
29786         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
29787         * configure.in: Use it for both main tree and add-ons.
29788         * configure: Regenerated.
29790 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29792         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
29794 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
29796         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
29797         in comment.
29799         [BZ #13851]
29800         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
29801         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
29802         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
29803         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
29804         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
29805         infinite argument.
29806         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
29807         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
29808         != 0 for prec == 2.
29809         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
29810         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
29811         * sysdeps/i386/fpu/s_cosl.S: Likewise.
29812         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
29813         * sysdeps/i386/fpu/s_sinl.S: Likewise.
29814         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
29815         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
29816         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
29817         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
29818         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
29819         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
29820         * math/libm-test.inc (cos_test): Add more tests and enable more
29821         tests for long double.
29822         (sin_test): Likewise.
29823         (sincos_test): Likewise.
29824         * sysdeps/i386/fpu/libm-test-ulps: Update.
29825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29827 2012-03-16  David S. Miller  <davem@davemloft.net>
29829         * sysdeps/sparc/fpu/math_private.h: New file.
29831 2012-03-15  David S. Miller  <davem@davemloft.net>
29833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
29834         file.
29835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
29836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
29837         file.
29838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
29839         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
29840         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
29841         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
29842         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
29843         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
29844         sysdep routines.
29845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29847         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
29848         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
29850         * sysdeps/sparc/sparc-ifunc.h: New file.
29851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
29852         sparc-ifunc.h
29853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29855         Likewise.
29856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
29857         Likewise.
29858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
29859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
29860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29862         Likewise.
29863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
29864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
29865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
29866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
29867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
29868         Likewise.
29869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
29870         Likewise.
29871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
29872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
29873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
29874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
29875         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29876         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29877         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
29878         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
29879         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29880         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29881         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
29882         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
29883         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
29884         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
29885         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
29886         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
29887         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
29888         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
29889         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
29890         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
29891         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
29892         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
29893         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
29894         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
29896 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
29898         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
29899         scaling.
29900         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29902 2012-03-15  Andreas Jaeger  <aj@suse.de>
29904         [BZ #13852]
29905         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
29906         ieee754/flt-32 implementation for sin, cos and sincos.
29907         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
29908         * sysdeps/i386/fpu/s_cosf.S: Likewise.
29909         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
29910         * sysdeps/i386/fpu/s_sinf.S: Likewise.
29911         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
29912         ieee754/flt-32 implementation for tan.
29914         * math/libm-test.inc (cos_test): Enable some large input tests for
29915         float as well
29916         (sin_test): Likewise.
29917         (sincos_test): Likewise.
29918         (tan_test): Add tests for large input.
29920         * sysdeps/i386/fpu/libm-test-ulps: Update.
29922 2012-03-15  Andreas Jaeger  <aj@suse.de>
29924         [BZ #13658]
29925         * math/libm-test.inc (cos_test): Add more test cases.
29926         (sin_test): Likewise.
29927         (sincos_test): Likewise.
29929 2012-03-15  Andreas Jaeger  <aj@suse.de>
29931         [BZ #13837]
29932         * math/libm-test.inc (cos_test): Add a test case for large input
29933         value.
29934         (sin_test): Likewise.
29935         (sincos_test): Likewise.
29937 2012-03-15  Andreas Jaeger  <aj@suse.de>,
29938         Joseph Myers  <joseph@codesourcery.com>
29940         [BZ #13658]
29941         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
29942         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
29943         * sysdeps/i386/fpu/branred.c: Likewise.
29944         * sysdeps/i386/fpu/dosincos.c: Likewise.
29945         * sysdeps/i386/fpu/mpa.c: Likewise.
29946         * sysdeps/i386/fpu/s_cos.S: Likewise.
29947         * sysdeps/i386/fpu/s_sin.S: Likewise.
29948         * sysdeps/i386/fpu/s_sincos.S: Likewise.
29949         * sysdeps/i386/fpu/sincos32.c: Likewise.
29951         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
29952         Define.
29953         (libc_feupdateenv_53bit): Define.
29954         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
29955         Define.
29956         (libc_feupdateenv_53bit): Define.
29958         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
29959         53 bit (without extend i386 double precision).
29961         * math/libm-test.inc (sincos_test): Add tests for large input.
29962         (sin): Likewise.
29963         (cos): Likewise.
29965         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29967 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
29969         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29971 2012-03-15  David S. Miller  <davem@davemloft.net>
29973         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
29974         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
29975         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
29976         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
29977         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
29978         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
29979         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
29980         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
29981         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
29982         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
29983         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
29984         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
29985         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
29986         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
29987         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
29988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
29989         file.
29990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
29991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
29992         file.
29993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
29994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
29995         file.
29996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
29997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
29998         file.
29999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
30000         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
30001         fmin/fmax sysdep routines.
30002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30004 2012-03-14  David S. Miller  <davem@davemloft.net>
30006         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
30007         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
30008         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
30009         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
30010         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
30011         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
30012         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
30013         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
30014         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
30015         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
30016         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
30017         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
30018         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
30019         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
30020         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
30021         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
30022         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
30023         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
30024         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
30025         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
30026         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
30027         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
30028         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
30029         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
30030         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
30031         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
30032         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
30033         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
30034         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
30035         routines.
30036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
30037         file.
30038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
30039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
30040         file.
30041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
30042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
30043         file.
30044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
30045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
30046         file.
30047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
30048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
30049         file.
30050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
30051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
30052         file.
30053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
30054         file.
30055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
30056         file.
30057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
30058         file.
30059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
30060         New file.
30061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
30062         file.
30063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
30064         file.
30065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
30066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
30067         file.
30068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
30069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
30070         file.
30071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
30072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
30073         file.
30074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
30075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
30076         VIS3 routines.
30078         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30079         New file.
30081         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30083         * sysdeps/sparc/configure.in: New file.
30084         * sysdeps/sparc/configure: Generate.
30085         * configure.in (libc_cv_sparc_as_vis3): Substitute.
30086         * configure: Regenerate.
30087         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
30088         * config.make.in (have-as-vis3): New.
30089         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
30090         available use -Av9d instead of -Av9a.
30091         * sysdeps/sparc/sparc64/Makefile: Likewise.
30092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
30093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
30094         New file.
30095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
30096         file.
30097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
30098         New file.
30099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
30100         file.
30101         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
30102         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
30103         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
30104         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
30105         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
30107         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
30108         fzeros/fnegs to load 0x80000000 into a float register instead of
30109         using the stack.
30110         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
30112 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
30114         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30115         bits/syscall.h.
30116         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
30117         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
30118         ($(inst_includedir)/bits/syscall.h): Remove rule.
30119         ($(objpfx)bits/syscall.d): Include instead of
30120         $(objpfx)syscall-list.d.
30121         (generated): Change syscall-list.h and syscall-list.d to
30122         bits/syscall.h and bits/syscall.d.
30124 2012-03-14  Roland McGrath  <roland@hack.frob.com>
30126         [BZ #13846]
30127         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
30129 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
30131         [BZ #13841]
30132         * math/s_csqrt.c: Include <float.h>.
30133         (__csqrt): Scale large or subnormal inputs.
30134         * math/s_csqrtf.c: Likewise.
30135         * math/s_csqrtl.c: Likewise.
30136         * math/libm-test.inc (csqrt_test): Add more tests.
30137         * sysdeps/i386/fpu/libm-test-ulps: Update.
30138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30140         [BZ #13840]
30141         * math/libm-test.inc (hypot_test): Add more tests.
30143 2012-03-13  David S. Miller  <davem@davemloft.net>
30145         [BZ #13840]
30146         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
30147         double-precision for the calculation instead of scaling.
30149 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
30151         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
30152         manipulate bits before adding and subtracting TWO52[sx].
30153         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
30154         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30155         Likewise.
30156         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
30158 2012-03-13  David S. Miller  <davem@davemloft.net>
30160         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
30161         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
30162         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
30163         rtld-global-offsets.h
30164         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30166         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
30167         large parameters.
30169         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
30171         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
30172         'err' in the ifdef scope in which it is actually used.
30174         * nss/nss_db/db-init.c: Include string.h
30176 2012-03-12  David S. Miller  <davem@davemloft.net>
30178         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30179         masking out of the most significant byte of random value used.
30180         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30181         Fix coding style in previous change.
30183         * sysdeps/unix/sysv/linux/kernel-features.h
30184         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
30185         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
30186         expression.
30187         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
30188         later.
30190 2012-03-11  David S. Miller  <davem@davemloft.net>
30192         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30193         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
30194         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
30195         for 'resultvar' otherwise things get truncated on 64-bit.
30197         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30198         Fix masking out of the most significant byte of random value used.
30200         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30202 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
30204         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30206 2012-03-09  David S. Miller  <davem@davemloft.net>
30208         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
30209         variables with appropriate CPP guards.
30210         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
30211         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
30212         on resulting framesize and the management of the outregs buffer for pltexit.
30213         Preserve floating point return values across _dl_call_pltexit call.
30214         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
30215         framesize and the management of the outregs buffer for pltexit.
30216         Preserve floating point return values across _dl_call_pltexit
30217         call.
30218         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
30219         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
30220         (print_exit): Fix format string for return register value.
30222 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
30224         * sunrpc/Makefile (others): Add rpcgen.
30225         ($(objpfx)rpcgen): Remove special build rule and dependency on
30226         libc.
30227         * sunrpc/rpcgen.c: New file.
30229 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
30231         [BZ #13673]
30232         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
30233         * stdio-common/bug-vfprintf-nargs.c: Likewise.
30234         * sysdeps/i386/crti.S: Likewise.
30235         * sysdeps/i386/crtn.S: Likewise.
30236         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
30237         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
30238         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
30239         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
30240         * sysdeps/sh/crti.S: Likewise.
30241         * sysdeps/sh/crtn.S: Likewise.
30242         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30244         [BZ #13673]
30245         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
30246         with URL.
30247         * locale/programs/locfile-kw.gperf: Likewise.
30248         * locale/programs/charmap-kw.h: Regenerated.
30249         * locale/programs/locfile-kw.h: Likewise.
30251         [BZ #13673]
30252         * intl/plural.y: Replace FSF snail mail address with URL.
30253         * intl/plural.c: Regenerated.
30255 2012-03-09  Richard Henderson  <rth@twiddle.net>
30257         * include/math_private.h: Remove file.
30258         * math/math_private.h: Move file ...
30259         * sysdeps/generic/math_private.h: ... here.
30261         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
30262         * sysdeps/powerpc/fpu/math_private.h: Likewise.
30263         * sysdeps/x86_64/fpu/math_private.h: Likewise.
30265         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
30266         and <math_private.h>.
30267         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30268         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30269         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30270         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30271         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30272         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
30273         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30274         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30275         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30276         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30277         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30278         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30279         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30280         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30281         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30282         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30283         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30284         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30285         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30286         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30287         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30288         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30289         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30290         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30291         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30292         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30293         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30294         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30295         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30296         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30297         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30298         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30299         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30300         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30301         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30302         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30303         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30304         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30305         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30306         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30307         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
30308         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30309         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30310         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30311         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30312         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30313         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
30314         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30315         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30316         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30317         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30318         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
30319         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30320         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30321         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30322         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30323         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30324         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30325         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30326         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
30327         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30328         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30329         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30330         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30331         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
30332         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30333         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30334         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30335         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
30336         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
30337         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30338         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30339         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30340         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30341         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
30342         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
30343         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
30344         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30345         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
30346         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
30347         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30348         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
30349         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30350         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30351         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30352         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30353         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
30354         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
30355         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30356         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30357         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30358         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30359         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30360         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30361         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30362         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30363         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30364         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30365         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30366         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30367         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30368         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30369         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30370         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30371         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30372         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30373         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30374         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30375         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30376         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30377         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30378         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30379         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30380         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30381         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
30382         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30383         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30384         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30385         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30386         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30387         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30388         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30389         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30390         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
30391         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30392         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30393         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30394         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
30395         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30396         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
30397         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
30398         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30399         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30400         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
30401         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
30402         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30403         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30404         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30405         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
30406         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30407         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30408         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30409         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30410         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
30411         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
30412         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30413         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30414         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30415         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
30416         * sysdeps/ieee754/k_standard.c: Likewise.
30417         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30418         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30419         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30420         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30421         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30422         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30423         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30424         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30425         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30426         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30427         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30428         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30429         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30430         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30431         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30432         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30433         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30434         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30435         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30436         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
30437         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
30438         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
30439         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30440         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30441         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30442         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
30443         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30444         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30445         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30446         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30447         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30448         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30449         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30450         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30451         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30452         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30453         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30454         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
30455         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
30456         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30457         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30458         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30459         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30460         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30461         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30462         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30463         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30464         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30465         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30466         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30467         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30468         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30469         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30470         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
30471         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30472         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30473         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
30474         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
30475         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30476         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30477         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30478         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30479         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30480         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30481         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30482         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30483         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30484         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30485         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30486         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30487         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30488         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30489         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30490         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30491         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30492         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30493         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
30494         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30495         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30496         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30497         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30498         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30499         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30500         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30501         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
30502         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30503         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30504         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30505         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30506         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30507         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
30508         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30509         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30510         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30511         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30512         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30513         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
30514         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30515         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30516         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
30517         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30518         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30519         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30520         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30521         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
30522         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30523         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30524         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30525         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
30526         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30527         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30528         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30529         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30530         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30531         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30532         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30533         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30534         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30535         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30536         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30537         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30538         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30539         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30540         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30541         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30542         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
30543         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30544         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30545         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30546         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30547         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30548         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30549         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30550         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30551         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30552         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30553         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
30554         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30555         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30556         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
30557         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
30558         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30559         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
30560         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
30561         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30562         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30563         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30564         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30565         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30566         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
30567         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30568         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30569         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30570         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30571         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
30572         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
30573         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30574         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30575         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30576         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30577         * sysdeps/ieee754/s_lib_version.c: Likewise.
30578         * sysdeps/ieee754/s_matherr.c: Likewise.
30579         * sysdeps/ieee754/s_signgam.c: Likewise.
30580         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30581         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30582         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
30583         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
30584         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
30585         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30586         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
30587         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
30588         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
30589         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
30590         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30591         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
30592         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30593         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30594         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
30595         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30596         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30597         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30598         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30599         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30600         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30602 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
30604         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
30605         * sunrpc/rpc_main.c: Likewise.
30606         * sunrpc/rpc_svcout.c: Likewise.
30608 2012-03-09  David S. Miller  <davem@davemloft.net>
30610         * include/math_private.h: New file.
30612 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
30614         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
30615         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
30616         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
30617         from <bits/socket_type.h>.
30618         (enum __socket_type): Don't define here.
30619         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
30620         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30621         bits/socket_type.h.
30623         [BZ #13566]
30624         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
30625         checking __USE_GNU.
30627         * Makerules ($(inst_includedir)/%.h): New rule.
30628         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
30629         (install-others): Remove variable setting.
30630         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
30632 2012-03-08  Richard Henderson  <rth@twiddle.net>
30634         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
30635         from macro to inline function; merge with the
30636         !__LIBC_INTERNAL_MATH_INLINES version.
30637         (__ieee754_sqrtf): Likewise.
30639         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
30640         to inline function.
30641         (__rintf, __floor, __floorf): Likewise.
30643         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
30644         macro to inline function.
30645         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
30647         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
30648         not <math/math_private.h>.
30650 2012-03-08  David S. Miller  <davem@davemloft.net>
30652         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
30653         copyright year.
30654         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
30656 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
30658         * resolv/gai_misc.c (handle_requests): Fix struct timespec
30659         normalization.
30660         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
30661         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
30663 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
30665         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
30666         be defined individually, they must be defined as a block.  Define
30667         S for printing a string instead of hidint the different by using a
30668         macro for adding the 'l'.
30669         * stdio-common/tst-fphex-wide.c: Adjust.
30671 2012-03-07  Marek Polacek  <polacek@redhat.com>
30673         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
30675 2012-03-08  Marek Polacek  <polacek@redhat.com>
30677         [BZ #13806]
30678         * stdio-common/Makefile (tests): Add tst-fphex-wide.
30679         * stdio-common/tst-fphex.c: Define a few macros to make the
30680         test reusable.  Use them.
30681         * stdio-common/tst-fphex-wide.c: New file.
30683 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
30685         [BZ #6911]
30686         * manual/macros.texi (gnusystems): New macro.
30687         (nongnusystems): Likewise.
30688         (gnulinuxhurdsystems): Likewise.
30689         (gnuhurdsystems): Likewise..
30690         (gnulinuxsystems): Likewise.
30691         * manual/charset.texi: Use new macros or @theglibc{} to refer to
30692         variants of the GNU system, not "GNU system".
30693         * manual/conf.texi: Likewise.
30694         * manual/errno.texi: Likewise.  Update example of errno macro
30695         expansion.
30696         * manual/filesys.texi: Likewise.
30697         (getumask): Document as specific to GNU/Hurd.
30698         * manual/install.texi: Likewise.  Reword some references to
30699         GNU/Linux.
30700         * manual/intro.texi: Likewise.
30701         * manual/io.texi: Likewise.
30702         (File Name Portability): Detail which constraints are inapplicable
30703         to all GNU systems and which are only inapplicable to GNU/Hurd.
30704         * manual/job.texi: Likewise.
30705         * manual/llio.texi: Likewise.
30706         (O_NOCTTY): Document as present on GNU/Linux.
30707         * manual/maint.texi: Likewise.
30708         * manual/memory.texi: Likewise.
30709         * manual/pattern.texi: Likewise.
30710         * manual/pipe.texi: Likewise.
30711         * manual/process.texi: Likewise.
30712         * manual/resource.texi: Likewise.
30713         (RUSAGE_CHILDREN): Remove statement about specifying a particular
30714         child on GNU/Hurd.
30715         * manual/setjmp.texi: Likewise.
30716         * manual/signal.texi: Likewise.
30717         * manual/startup.texi: Likewise.
30718         * manual/stdio.texi: Likewise.
30719         * manual/terminal.texi: Likewise.
30720         (ONLCR): Document as POSIX.
30721         (OXTABS): Document availability on GNU/Linux as XTABS.
30722         (ONOEOT): Document availability separately from other bits.
30723         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
30724         * manual/time.texi: Likewise.
30725         * manual/users.texi: Likewise.
30726         * INSTALL: Regenerated.
30727         * sysdeps/gnu/errlist.c: Regenerated.
30729         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
30730         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
30731         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
30732         puts.
30733         * configure: Regenerated.
30735 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
30737         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
30738         default includes instead of AC_HEADER_CHECK.
30739         * sysdeps/i386/configure: Regenerated.
30741         [BZ #10716]
30742         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
30743         * math/s_cacoshf.c (__cacoshf): Likewise.
30744         * math/s_cacoshl.c (__cacoshl): Likewise.
30745         * math/s_casinh.c (__casinh): Set signs of result from argument.
30746         * math/s_casinhf.c (__casinhf): Likewise.
30747         * math/s_casinhl.c (__casinhl): Likewise.
30748         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
30749         (casinh_test): Add more tests.
30750         * sysdeps/i386/fpu/libm-test-ulps: Update.
30751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30753 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
30755         * po/zh_TW.po: Update from translation team.
30757         * login/Makefile (distribute): Remove variable.
30758         * catgets/Makefile: Likewise.
30759         * mach/Makefile: Likewise.
30760         * malloc/Makefile: Likewise.
30761         * misc/Makefile: Likewise.
30762         * iconv/Makefile: Likewise.
30763         * nscd/Makefile: Likewise.
30764         * hurd/Makefile: Likewise.
30765         * manual/Makefile: Likewise.
30766         * locale/Makefile: Likewise.
30767         * intl/Makefile: Likewise.
30768         * conform/Makefile: Likewise.
30769         * nss/Makefile: Likewise.
30770         * time/Makefile: Likewise.
30771         * soft-fp/Makefile: Likewise.
30772         * dirent/Makefile: Likewise.
30773         * gmon/Makefile: Likewise.
30774         * po/Makefile: Likewise.
30775         * rt/Makefile: Likewise.
30776         * socket/Makefile: Likewise.
30777         * math/Makefile: Likewise.
30778         * signal/Makefile: Likewise.
30779         * debug/Makefile: Likewise.
30780         * elf/Makefile: Likewise.
30781         * timezone/Makefile: Likewise.
30782         * stdlib/Makefile: Likewise.
30783         * iconvdata/Makefile: Likewise.
30784         * sunrpc/Makefile: Likewise.
30785         * io/Makefile: Likewise.
30786         * argp/Makefile: Likewise.
30787         * inet/Makefile: Likewise.
30788         * hesiod/Makefile: Likewise.
30789         * grp/Makefile: Likewise.
30790         * csu/Makefile: Likewise.
30791         * wctype/Makefile: Likewise.
30792         * crypt/Makefile: Likewise.
30793         * libio/Makefile: Likewise.
30794         * string/Makefile: Likewise.
30795         * nis/Makefile: Likewise.
30796         * resolv/Makefile: Likewise.
30797         * stdio-common/Makefile: Likewise.
30798         * wcsmbs/Makefile: Likewise.
30799         * dlfcn/Makefile: Likewise.
30800         * posix/Makefile: Likewise.
30802         [BZ #6959]
30803         * timezone/Makefile: Don't install timezone files, just the programs
30804         and scripts.
30806 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
30808         * nss/databases.def: Add missing gshadow entry.
30810         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
30812 2012-03-06  Marek Polacek  <polacek@redhat.com>
30814         [BZ #13726]
30815         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
30816         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30817         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
30818         * stdio-common/tst-long-dbl-fphex.c: New file.
30820 2012-03-06  David S. Miller  <davem@davemloft.net>
30822         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30823         (set_obp_int): New function.
30824         (get_obp_int): New function.
30825         (__get_clockfreq_via_dev_openprom): Likewise.
30826         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
30827         Avoid unused variable warnings on 'val' and use builtin_expect.
30828         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
30829         __builtin_expect.
30830         (INLINE_CLONE_SYSCALL): Likewise.
30832 2012-03-05  David S. Miller  <davem@davemloft.net>
30834         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30836 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
30838         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30840         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
30841         only for |x| >= 40.
30842         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30844 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
30846         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
30847         Replace gettimeofday with __vdso_gettimeofday.
30849         * sysdeps/unix/sysv/linux/x86_64/init-first.c
30850         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
30851         __vdso_clock_gettime and __vdso_getcpu.
30853         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
30854         time with __vdso_time.
30856 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
30858         * manual/lang.texi (size_t): Note types to which size_t may be
30859         equivalent with the GNU C Library, but do not describe when
30860         differences between them are significant.
30862 2012-03-05  Andreas Jaeger  <aj@suse.de>
30864         * sysdeps/i386/fpu/libm-test-ulps: Update.
30866 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
30868         [BZ #3976]
30869         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
30870         (__ieee754_pow): Save and restore rounding mode and use
30871         round-to-nearest for main computations.
30872         * math/libm-test.inc (pow_test_tonearest): New function.
30873         (pow_test_towardzero): Likewise.
30874         (pow_test_downward): Likewise.
30875         (pow_test_upward): Likewise.
30876         (main): Call the new functions.
30877         * sysdeps/i386/fpu/libm-test-ulps: Update.
30878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30880         [BZ #3976]
30881         * math/libm-test.inc (cosh_test_tonearest): New function.
30882         (cosh_test_towardzero): Likewise.
30883         (cosh_test_downward): Likewise.
30884         (cosh_test_upward): Likewise.
30885         (sinh_test_tonearest): Likewise.
30886         (sinh_test_towardzero): Likewise.
30887         (sinh_test_downward): Likewise.
30888         (sinh_test_upward): Likewise.
30889         (main): Call the new functions.
30890         * sysdeps/i386/fpu/libm-test-ulps: Update.
30891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30893 2012-03-05  Tom de Vries  <tom@codesourcery.com>
30895         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
30896         default stack guard is set in last bytes.
30897         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
30899 2012-03-05  Kees Cook  <keescook@chromium.org>
30901         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
30903         [BZ #13656]
30904         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
30905         possibly allocate from heap instead of stack.
30906         * stdio-common/bug-vfprintf-nargs.c: New file.
30907         * stdio-common/Makefile (tests): Add nargs overflow test.
30909 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
30911         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30913 2012-03-03  Marek Polacek  <polacek@redhat.com>
30915         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
30916         * math/math_private.h: Likewise.
30917         * stdlib/tst-strtod.c: Likewise.
30918         * sysdeps/i386/i486/bits/atomic.h: Likewise.
30919         * sysdeps/x86_64/bits/atomic.h: Likewise.
30921 2012-03-02  David S. Miller  <davem@davemloft.net>
30923         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
30924         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
30925         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
30926         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
30927         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
30928         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
30929         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
30930         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
30932 2012-03-02  Roland McGrath  <roland@hack.frob.com>
30934         [BZ #13792]
30935         * manual/examples/README: New file, says the example source files
30936         can be used under GPL>=2.
30937         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
30938         line containing just "*/".
30939         * manual/examples/add.c: Add copyright header (GPL>=2).
30940         * manual/examples/argp-ex1.c: Likewise.
30941         * manual/examples/argp-ex2.c: Likewise.
30942         * manual/examples/argp-ex3.c: Likewise.
30943         * manual/examples/argp-ex4.c: Likewise.
30944         * manual/examples/atexit.c: Likewise.
30945         * manual/examples/db.c: Likewise.
30946         * manual/examples/dir.c: Likewise.
30947         * manual/examples/dir2.c: Likewise.
30948         * manual/examples/execinfo.c: Likewise.
30949         * manual/examples/filecli.c: Likewise.
30950         * manual/examples/filesrv.c: Likewise.
30951         * manual/examples/fmtmsgexpl.c: Likewise.
30952         * manual/examples/genpass.c: Likewise.
30953         * manual/examples/inetcli.c: Likewise.
30954         * manual/examples/inetsrv.c: Likewise.
30955         * manual/examples/isockad.c: Likewise.
30956         * manual/examples/longopt.c: Likewise.
30957         * manual/examples/memopen.c: Likewise.
30958         * manual/examples/memstrm.c: Likewise.
30959         * manual/examples/mkfsock.c: Likewise.
30960         * manual/examples/mkisock.c: Likewise.
30961         * manual/examples/mygetpass.c: Likewise.
30962         * manual/examples/pipe.c: Likewise.
30963         * manual/examples/popen.c: Likewise.
30964         * manual/examples/rprintf.c: Likewise.
30965         * manual/examples/search.c: Likewise.
30966         * manual/examples/select.c: Likewise.
30967         * manual/examples/setjmp.c: Likewise.
30968         * manual/examples/sigh1.c: Likewise.
30969         * manual/examples/sigusr.c: Likewise.
30970         * manual/examples/stpcpy.c: Likewise.
30971         * manual/examples/strdupa.c: Likewise.
30972         * manual/examples/strftim.c: Likewise.
30973         * manual/examples/strncat.c: Likewise.
30974         * manual/examples/subopt.c: Likewise.
30975         * manual/examples/swapcontext.c: Likewise.
30976         * manual/examples/termios.c: Likewise.
30977         * manual/examples/testopt.c: Likewise.
30978         * manual/examples/testpass.c: Likewise.
30979         * manual/examples/timeval_subtract.c: Likewise.
30981         [BZ #13792]
30982         * manual/time.texi (Elapsed Time): Move timeval_subtract example
30983         function to ...
30984         * manual/timeval_subtract.c.texi: ... here, new file.
30986 2012-03-02  David S. Miller  <davem@davemloft.net>
30988         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
30990 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
30992         [BZ #3976]
30993         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
30994         (__sin): Save and restore rounding mode and use round-to-nearest
30995         for all computations.
30996         (__cos): Save and restore rounding mode and use round-to-nearest
30997         for all computations.
30998         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
30999         <fenv.h>.
31000         (tan): Save and restore rounding mode and use round-to-nearest for
31001         all computations.
31002         * math/libm-test.inc (cos_test_tonearest): New function.
31003         (cos_test_towardzero): Likewise.
31004         (cos_test_downward): Likewise.
31005         (cos_test_upward): Likewise.
31006         (sin_test_tonearest): Likewise.
31007         (sin_test_towardzero): Likewise.
31008         (sin_test_downward): Likewise.
31009         (sin_test_upward): Likewise.
31010         (tan_test_tonearest): Likewise.
31011         (tan_test_towardzero): Likewise.
31012         (tan_test_downward): Likewise.
31013         (tan_test_upward): Likewise.
31014         (main): Call the new functions.
31015         * sysdeps/i386/fpu/libm-test-ulps: Update.
31016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31018         [BZ #10135]
31019         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
31020         small n, then large n, before computing and testing k+n.
31021         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
31022         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
31023         Likewise.
31024         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
31025         Likewise.
31026         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
31027         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
31028         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
31029         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
31030         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31031         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31032         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
31033         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
31034         * math/libm-test.inc (scalbn_test): Add more tests.
31035         (scalbln_test): Likewise.
31037         * manual/filesys.texi (mode_t): Describe constraints on size and
31038         signedness, not exact equivalence to a particular type.
31039         (ino_t): Likewise.
31040         (ino64_t): Likewise.
31041         (dev_t): Likewise.
31042         (nlink_t): Likewise.
31043         (blkcnt_t): Likewise.
31044         (blkcnt64_t): Likewise.
31045         * manual/llio.texi (off_t): Likewise.
31047         [BZ #3976]
31048         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
31049         (__ieee754_exp): Save and restore rounding mode and use
31050         round-to-nearest for all computations.
31051         * math/libm-test.inc (exp_test_tonearest): New function.
31052         (exp_test_towardzero): Likewise.
31053         (exp_test_downward): Likewise.
31054         (exp_test_upward): Likewise.
31055         (main): Call the new functions.
31056         * sysdeps/i386/fpu/libm-test-ulps: Update.
31057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31059 2012-03-01  Chris Demetriou  <cgd@google.com>
31061         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
31062         have predictable order.
31064 2012-03-01  David S. Miller  <davem@davemloft.net>
31066         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
31068         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
31069         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
31070         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
31071         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
31073         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
31074         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
31075         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
31076         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
31077         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
31078         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
31079         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
31080         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
31081         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
31083         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31085         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
31086         * sysdeps/sparc/fpu/libm-test-ulps: to here.
31087         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
31089         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
31090         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31091         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31092         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
31093         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
31094         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
31095         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
31096         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31097         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31098         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
31099         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
31100         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31101         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31102         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31103         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31104         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31105         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
31106         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
31107         * sysdeps/sparc/elf/configure: Regenerated.
31109 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
31111         * configure.in (AS, LD): Require binutils 2.20 or later.
31112         * configure: Regenerated.
31113         * manual/install.texi (Tools for Compilation): Give binutils 2.20
31114         as required minimum version.
31115         * INSTALL: Regenerated.
31117         [BZ #2541]
31118         [BZ #4108]
31119         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
31120         before squaring exponent.
31121         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
31122         bottom long double and 27 bits of top long double before squaring
31123         exponent.
31124         * math/libm-test.inc (erfc_test): Add more tests.
31125         * sysdeps/i386/fpu/libm-test-ulps: Update.
31126         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31129 2012-03-01  Kai Tietz  <ktietz@redhat.com>
31131         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
31132         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
31133         containing bit-fields.
31134         * soft-fp/extended.h (_FP_UNION_E): Likewise.
31135         * soft-fp/single.h (_FP_UNION_S): Likewise.
31136         * soft-fp/double.h (_FP_UNION_D): Likewise.
31138 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
31140         [BZ #13786]
31141         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
31142         not include ../strcmp.S.
31143         [USE_AS_STRNCASECMP_L]: Likewise.
31144         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
31145         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
31146         * sysdeps/i386/i686/multiarch/strncase_l-c.c
31147         (__strncasecmp_l_ia32): Define as alias to
31148         __strncasecmp_l_nonascii.
31150         [BZ #5794]
31151         * math/libm-test.inc (expm1_test): Add test for bug 5794.
31152         * sysdeps/i386/fpu/libm-test-ulps: Update.
31153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31155         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
31156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31158 2012-02-29  Jeff Law  <law@redhat.com>
31160         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
31161         out of bounds read.
31163 2012-02-29  Marek Polacek  <polacek@redhat.com>
31165         [BZ #13706]
31166         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
31167         * elf/Makefile: Add rules to run tst-unused-dep.out.
31169 2012-02-28  David S. Miller  <davem@davemloft.net>
31171         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
31172         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
31173         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
31174         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
31175         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
31176         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
31178 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
31180         * math/libm-test.inc (llround_test): Move one test from
31181         lround_test.  Use TEST_f_L in moved test.
31182         (lround_test): Move misplaced test to llround_test.  Add testcase
31183         from bug 2561.
31185 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
31187         * sysdeps/x86_64/fpu/e_expf.S: New file.
31188         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
31190 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
31192         [BZ #13637]
31193         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
31194         of remain_len that may cause incomplete multi-byte character and
31195         false match.
31196         * posix/bug-regex33.c: New file.
31197         * posix/Makefile (tests): Add bug-regex33.
31199 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
31201         * manual/macros.texi: New file.
31202         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
31203         * manual/libc.texinfo: Include macros.texi.
31204         * manual/creatute.texi: Likewise.
31205         * manual/install.texi: Likewise.
31206         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
31207         @glibcadj{} in references to the GNU C Library.
31208         * manual/charset.texi: Likewise.
31209         * manual/conf.texi: Likewise.
31210         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
31211         when not using those macros.
31212         * manual/creature.texi: Likewise.
31213         * manual/crypt.texi: Likewise.
31214         * manual/errno.texi: Likewise.
31215         * manual/filesys.texi: Likewise.
31216         * manual/header.texi: Likewise.
31217         * manual/install.texi: Likewise.
31218         * manual/intro.texi: Likewise.
31219         * manual/io.texi: Likewise.
31220         * manual/job.texi: Likewise.
31221         * manual/lang.texi: Likewise.
31222         * manual/libc.texiinfo: Likewise.
31223         * manual/llio.texi: Likewise.
31224         * manual/locale.texi: Likewise.
31225         * manual/maint.texi: Likewise.
31226         * manual/math.texi: Likewise.
31227         * manual/memory.texi: Likewise.
31228         * manual/message.texi: Likewise.
31229         * manual/nss.texi: Likewise.
31230         * manual/pattern.texi: Likewise.
31231         * manual/process.texi: Likewise.
31232         * manual/resource.texi: Likewise.
31233         * manual/search.texi: Likewise.
31234         * manual/setjmp.texi: Likewise.
31235         * manual/signal.texi: Likewise.
31236         * manual/socket.texi: Likewise.
31237         * manual/startup.texi: Likewise.
31238         * manual/stdio.texi: Likewise.
31239         * manual/string.texi: Likewise.
31240         * manual/sysinfo.texi: Likewise.
31241         * manual/syslog.texi: Likewise.
31242         * manual/terminal.texi: Likewise.
31243         * manual/time.texi: Likewise.
31244         * manual/users.texi: Likewise.
31245         * INSTALL: Regenerated.
31246         * NOTES: Regenerated.
31247         * sysdeps/gnu/errlist.c: Regenerated.
31249 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
31251         * include/dirent.h: Include <dirstream.h> before
31252         <dirent/dirent.h>.
31254 2012-02-28  David S. Miller  <davem@davemloft.net>
31256         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
31257         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
31258         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
31259         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
31261 2012-02-27  David S. Miller  <davem@davemloft.net>
31263         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
31264         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
31265         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
31266         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
31268         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
31269         frame pointer instead of stack pointer relative arg slot.
31270         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31271         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31272         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31274 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
31276         [BZ #3992]
31277         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
31279 2012-02-27  David S. Miller  <davem@davemloft.net>
31281         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
31282         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31283         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31284         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
31285         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31286         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31287         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
31288         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
31290 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
31292         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
31293         later.  Allow versions 5-9.
31294         * configure: Regenerated.
31295         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
31296         required minimum version and 4.6 as recommended version.  Do not
31297         mention bugs in GCC 2.7 and 2.8.
31298         * INSTALL: Regenerated.
31300 2012-02-27  David S. Miller  <davem@davemloft.net>
31302         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
31303         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
31304         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
31305         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
31306         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
31307         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
31308         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
31309         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
31311         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
31312         manipulate bits before adding and subtracting TWO112[sx].
31313         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31315 2012-02-27  Roland McGrath  <roland@hack.frob.com>
31317         [BZ #13775]
31318         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
31319         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
31320         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
31321         being in POSIX, because they are in 1003.1-2008.
31323         * rt/tst-aio.c: Include <fcntl.h>.
31324         * rt/tst-aio7.c: Likewise.
31325         * rt/tst-aio64.c: Likewise.
31327         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
31329 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
31331         * manual/install.texi (--with-headers): Describe headers as
31332         interface headers, not private headers.
31333         (Specific advice for GNU/Linux systems): Describe use of headers
31334         from "make headers_install", not private headers from older
31335         kernels.
31336         * INSTALL: Regenerated.
31337         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
31338         Change to 2.6.19.
31339         * sysdeps/unix/sysv/linux/configure: Regenerated.
31341         * manual/llio.texi (fclean): Remove documentation.
31343         * manual/Makefile (libc-texi-generated): New variable.  Include
31344         version.texi.
31345         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
31346         $(libc-texi-generated), not duplicated list of files.
31347         (version.texi, stamp-version): New rules.
31348         (realclean): Remove $(libc-texi-generated), not individual files
31349         from that list.  Do not remove dir-add.texinfo.
31350         * manual/libc.texinfo: Comment out uses of edition numbers and
31351         references to printed manual.  Remove last-updated dates.
31352         (EDITION): Comment out.
31353         (ISBN): Likewise.
31354         (VERSION, UPDATED): Remove.
31355         (version.texi): Include.
31357 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
31359         * sysdeps/posix/spawni.c: Include <signal.h>.
31360         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
31361         * sysdeps/pthread/aio_fsync.c: Likewise.
31363 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
31365         * conform/Makefile (tests): Run only when not cross-compiling and
31366         when fast-check is not defined.
31368         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
31369         * conform/data/limits.h-data: Fixes for POSIX2008.
31370         * conform/run-conformtest.sh: Run all tests.
31371         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
31372         headers.
31373         * include/bits/dlfcn.h: Likewise.
31374         * include/langinfo.h: Likewise.
31375         * include/monetary.h: Likewise.
31376         * include/sys/poll.h: Likewise.
31378         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
31379         for __USE_GNU.
31380         * posix/spawn.h: Define __need_sigset_t.
31381         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
31382         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
31383         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
31384         to get sigevent_t only.
31385         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
31386         only for __USE_GNU.
31387         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31388         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31389         process_vm_writev only for __USE_GNU.
31390         * termios/termios.h: Declare tcgetsid also for POSIX2008.
31392         * conform/Makefile: For now ignore errors from run-conformtest.
31393         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
31394         POSIX to avoid namespace pollution.  Don't prepend headers.
31395         * conform/data/aio.h-data: Fixes for POSIX testing.
31396         * conform/data/fcntl.h-data: Likewise.
31397         * conform/data/glob.h-data: Likewise.
31398         * conform/data/grp.h-data: Likewise.
31399         * conform/data/pthread.h-data: Likewise.
31400         * conform/data/pwd.h-data: Likewise.
31401         * conform/data/signal.h-data: Likewise.
31402         * conform/data/spawn.h-data: Likewise.
31403         * conform/data/stdio.h-data: Likewise.
31404         * conform/data/stdlib.h-data: Likewise.
31405         * conform/data/stropts.h-data: Likewise.
31406         * conform/data/sys/mman.h-data: Likewise.
31407         * conform/data/sys/stat.h-data: Likewise.
31408         * conform/data/sys/types.h-data: Likewise.
31409         * conform/data/sys/wait.h-data: Likewise.
31410         * conform/data/time.h-data: Likewise.
31411         * conform/data/unistd.h-data: Likewise.
31412         * conform/data/utime.h-data: Likewise.
31414         * io/sys/stat.h: fchmod was always in POSIX.
31415         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
31416         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
31417         * rt/aio.h: Define __need_timespec before including <time.h>.
31418         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
31419         struct.  Add forward declaration of pthread_attr_t and use it in
31420         sigevent.
31421         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31422         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31423         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
31424         always remove CLK_TCK definition.
31426 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
31428         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
31430 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
31432         * conform/run-conformtest.sh: New file.
31433         * conform/Makefile: Run run-conformtest for tests.
31434         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
31435         support.
31437         * conform/data/uchar.h-data: New file.
31438         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
31439         * conform/data/arpa/inet.h-data: Likewise.
31440         * conform/data/assert.h-data: Likewise.
31441         * conform/data/complex.h-data: Likewise.
31442         * conform/data/cpio.h-data: Likewise.
31443         * conform/data/ctype.h-data: Likewise.
31444         * conform/data/dirent.h-data: Likewise.
31445         * conform/data/dlfcn.h-data: Likewise.
31446         * conform/data/errno.h-data: Likewise.
31447         * conform/data/fcntl.h-data: Likewise.
31448         * conform/data/float.h-data: Likewise.
31449         * conform/data/fmtmsg.h-data: Likewise.
31450         * conform/data/fnmatch.h-data: Likewise.
31451         * conform/data/ftw.h-data: Likewise.
31452         * conform/data/glob.h-data: Likewise.
31453         * conform/data/grp.h-data: Likewise.
31454         * conform/data/iconv.h-data: Likewise.
31455         * conform/data/inttypes.h-data: Likewise.
31456         * conform/data/langinfo.h-data: Likewise.
31457         * conform/data/libgen.h-data: Likewise.
31458         * conform/data/limits.h-data: Likewise.
31459         * conform/data/locale.h-data: Likewise.
31460         * conform/data/math.h-data: Likewise.
31461         * conform/data/monetary.h-data: Likewise.
31462         * conform/data/mqueue.h-data: Likewise.
31463         * conform/data/ndbm.h-data: Likewise.
31464         * conform/data/net/if.h-data: Likewise.
31465         * conform/data/netdb.h-data: Likewise.
31466         * conform/data/netinet/in.h-data: Likewise.
31467         * conform/data/nl_types.h-data: Likewise.
31468         * conform/data/poll.h-data: Likewise.
31469         * conform/data/pthread.h-data: Likewise.
31470         * conform/data/pwd.h-data: Likewise.
31471         * conform/data/regex.h-data: Likewise.
31472         * conform/data/sched.h-data: Likewise.
31473         * conform/data/search.h-data: Likewise.
31474         * conform/data/semaphore.h-data: Likewise.
31475         * conform/data/setjmp.h-data: Likewise.
31476         * conform/data/signal.h-data: Likewise.
31477         * conform/data/spawn.h-data: Likewise.
31478         * conform/data/stdarg.h-data: Likewise.
31479         * conform/data/stdio.h-data: Likewise.
31480         * conform/data/stdlib.h-data: Likewise.
31481         * conform/data/string.h-data: Likewise.
31482         * conform/data/strings.h-data: Likewise.
31483         * conform/data/stropts.h-data: Likewise.
31484         * conform/data/sys/ipc.h-data: Likewise.
31485         * conform/data/sys/mman.h-data: Likewise.
31486         * conform/data/sys/msg.h-data: Likewise.
31487         * conform/data/sys/resource.h-data: Likewise.
31488         * conform/data/sys/select.h-data: Likewise.
31489         * conform/data/sys/sem.h-data: Likewise.
31490         * conform/data/sys/shm.h-data: Likewise.
31491         * conform/data/sys/socket.h-data: Likewise.
31492         * conform/data/sys/stat.h-data: Likewise.
31493         * conform/data/sys/statvfs.h-data: Likewise.
31494         * conform/data/sys/time.h-data: Likewise.
31495         * conform/data/sys/timeb.h-data: Likewise.
31496         * conform/data/sys/times.h-data: Likewise.
31497         * conform/data/sys/types.h-data: Likewise.
31498         * conform/data/sys/uio.h-data: Likewise.
31499         * conform/data/sys/un.h-data: Likewise.
31500         * conform/data/sys/utsname.h-data: Likewise.
31501         * conform/data/sys/wait.h-data: Likewise.
31502         * conform/data/syslog.h-data: Likewise.
31503         * conform/data/tar.h-data: Likewise.
31504         * conform/data/termios.h-data: Likewise.
31505         * conform/data/utime.h-data: Likewise.
31506         * conform/data/utmpx.h-data: Likewise.
31507         * conform/data/varargs.h-data: Likewise.
31508         * conform/data/wchar.h-data: Likewise.
31509         * conform/data/wctype.h-data: Likewise.
31510         * conform/data/wordexp.h-data: Likewise.
31512         * include/stropts.h: New file.
31513         * include/uchar.h: New file.
31514         * include/aio.h: Changes to allow conformtest.pl to use the headers.
31515         * include/assert.h: Likewise.
31516         * include/ctype.h: Likewise.
31517         * include/dirent.h: Likewise.
31518         * include/dlfcn.h: Likewise.
31519         * include/fcntl.h: Likewise.
31520         * include/fnmatch.h: Likewise.
31521         * include/glob.h: Likewise.
31522         * include/grp.h: Likewise.
31523         * include/libio.h: Likewise.
31524         * include/locale.h: Likewise.
31525         * include/math.h: Likewise.
31526         * include/net/if.h: Likewise.
31527         * include/netdb.h: Likewise.
31528         * include/netinet/in.h: Likewise.
31529         * include/pthread.h: Likewise.
31530         * include/pwd.h: Likewise.
31531         * include/regex.h: Likewise.
31532         * include/sched.h: Likewise.
31533         * include/search.h: Likewise.
31534         * include/setjmp.h: Likewise.
31535         * include/signal.h: Likewise.
31536         * include/stdio.h: Likewise.
31537         * include/stdlib.h: Likewise.
31538         * include/string.h: Likewise.
31539         * include/sys/cdefs.h: Likewise.
31540         * include/sys/mman.h: Likewise.
31541         * include/sys/msg.h: Likewise.
31542         * include/sys/resource.h: Likewise.
31543         * include/sys/select.h: Likewise.
31544         * include/sys/socket.h: Likewise.
31545         * include/sys/stat.h: Likewise.
31546         * include/sys/statvfs.h: Likewise.
31547         * include/sys/time.h: Likewise.
31548         * include/sys/times.h: Likewise.
31549         * include/sys/uio.h: Likewise.
31550         * include/sys/utsname.h: Likewise.
31551         * include/sys/wait.h: Likewise.
31552         * include/termios.h: Likewise.
31553         * include/time.h: Likewise.
31554         * include/ulimit.h: Likewise.
31555         * include/unistd.h: Likewise.
31556         * include/utime.h: Likewise.
31557         * include/wchar.h: Likewise.
31558         * include/wctype.h: Likewise.
31559         * include/wordexp.h: Likewise.
31561         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
31563         * time/time.h: TIME_UTC must be a macro.
31564         Make timespec_get available for ISO C11 only as well.
31566 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
31568         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
31569         Reported by Peng Haitao <penght@cn.fujitsu.com>.
31571 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
31573         * configure.in: Use -o not -a in test for unsupported multi-arch.
31575 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
31577         * manual/texinfo.tex: Update to version 2012-01-19.16.
31579 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
31581         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
31583 2012-02-24  Roland McGrath  <roland@hack.frob.com>
31585         [BZ #13738]
31586         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
31587         * manual/fdl-1.3.texi: New file.
31588         * manual/fdl-1.1.texi: File removed.
31590         [BZ #13738]
31591         * manual/libc.texinfo (FDL_VERSION): New @set.
31592         Use it for mention of FDL in cover text.
31593         (Documentation License): Use it in @include file name.
31595 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31596             Roland McGrath  <roland@hack.frob.com>
31598         [BZ #5461]
31599         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
31600         not LONG_LONG_MAX and LONG_LONG_MIN.
31601         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
31602         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
31603         name.
31604         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
31606 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31608         [BZ #2547]
31609         [BZ #11365]
31610         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
31611         manipulate bits before adding and subtracting TWO23[sx].
31612         * math/libm-test.inc (nearbyint_test): Add more tests.
31614 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31616         [BZ #2548]
31617         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
31618         bits before adding and subtracting TWO23[sx].
31619         * math/libm-test.inc (rint_test): Add more tests.
31620         (rint_test_tonearest): Likewise.
31621         (rint_test_towardzero): Likewise.
31622         (rint_test_downward): Likewise.
31623         (rint_test_upward: Likewise.
31625 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31627         [BZ #10110]
31628         * include/stdc-predef.h: New file.  Extracted from features.h.
31629         * include/features.h: Include stdc-predef.h.
31630         * Makefile (headers): Add stdc-predef.h.
31631         * CONFORMANCE (Compiler limitations): Update.
31633 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31635         * manual/libc.texinfo (VERSION, UPDATED): Revert.
31637 2012-02-21  David S. Miller  <davem@davemloft.net>
31639         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
31640         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31642 2012-02-20  David S. Miller  <davem@davemloft.net>
31644         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
31645         using a normal save/restore sequence, rather than allocating a
31646         dummy stack frame just to store a frame pointer and restore.
31647         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31649 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
31651         * manual/install.texi: Fix stray word in line-wrapped comment.
31653 2012-02-20  David S. Miller  <davem@davemloft.net>
31655         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
31656         both binutils and gcc support GOTDATA.
31658         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
31659         "rd %pc" in the PIC register setup sequences.
31661         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
31662         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31663         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31664         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31665         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31666         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31667         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31668         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31669         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
31670         (SYSCALL_ERROR_HANDLER): Likewise.
31671         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31672         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31673         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
31674         (SYSCALL_ERROR_HANDLER): Likewise.
31676         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
31677         (HAVE_GCC_GOTDATA): New.
31678         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
31679         relocation support in both binutils and gcc.
31680         * sysdeps/sparc/elf/configure: Regenerate.
31682         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
31683         * sysdeps/sparc/sparc32/elf/configure: Delete.
31684         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
31685         * sysdeps/sparc/sparc64/elf/configure: Delete.
31686         * sysdeps/sparc/elf/configure.in: New file.
31687         * sysdeps/sparc/elf/configure: Generate.
31689         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
31690         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
31691         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31692         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
31693         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
31695 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
31697         * manual/install.texi: Do not mention specific glibc version
31698         numbers.
31699         * manual/libc.texinfo (VERSION, UPDATED): Update.
31700         (@copying): Use @copyright{} and range of years.
31702 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
31704         [BZ #13695]
31705         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
31706         [crti.S not in sysdirs] (generated): Do not append.
31707         [crti.S not in sysdirs] (omit-deps): Likewise.
31708         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
31709         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
31710         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
31711         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
31712         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
31713         Likewise.
31714         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
31715         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
31716         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
31717         * csu/defs.awk: Remove file.
31718         * sysdeps/generic/initfini.c: Likewise.
31719         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
31720         variable.
31721         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
31722         Likewise.
31724 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
31726         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
31727         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
31728         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
31729         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
31730         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31731         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
31732         <bits/epoll.h>.
31733         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
31734         (__EPOLL_PACKED): Define to empty if not defined by
31735         <bits/epoll.h>.
31736         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
31737         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31738         bits/epoll.h.
31740 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
31742         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
31743         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
31744         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
31745         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
31746         <bits/timerfd.h>.
31747         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
31748         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31749         bits/timerfd.h.
31751 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
31753         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
31754         in C locale.
31755         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31756         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31757         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
31758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31760 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
31762         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31763         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31765 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
31767         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
31768         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
31769         defined.
31770         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
31771         Likewise.
31772         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
31773         entry for 2.16.
31775 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
31777         * math/w_acos.c: Use non-signaling floating-point comparisons.
31778         * math/w_acosf.c: Likewise.
31779         * math/w_acosh.c: Likewise.
31780         * math/w_acoshf.c: Likewise.
31781         * math/w_acoshl.c: Likewise.
31782         * math/w_acosl.c: Likewise.
31783         * math/w_asin.c: Likewise.
31784         * math/w_asinf.c: Likewise.
31785         * math/w_asinl.c: Likewise.
31786         * math/w_atanh.c: Likewise.
31787         * math/w_atanhf.c: Likewise.
31788         * math/w_atanhl.c: Likewise.
31789         * math/w_exp2.c: Likewise.
31790         * math/w_exp2f.c: Likewise.
31791         * math/w_exp2l.c: Likewise.
31792         * math/w_j0.c: Likewise.
31793         * math/w_j0f.c: Likewise.
31794         * math/w_j0l.c: Likewise.
31795         * math/w_j1.c: Likewise.
31796         * math/w_j1f.c: Likewise.
31797         * math/w_j1l.c: Likewise.
31798         * math/w_jn.c: Likewise.
31799         * math/w_jnf.c: Likewise.
31800         * math/w_log.c: Likewise.
31801         * math/w_log10.c: Likewise.
31802         * math/w_log10f.c: Likewise.
31803         * math/w_log10l.c: Likewise.
31804         * math/w_log2.c: Likewise.
31805         * math/w_log2f.c: Likewise.
31806         * math/w_log2l.c: Likewise.
31807         * math/w_logf.c: Likewise.
31808         * math/w_logl.c: Likewise.
31809         * math/w_sqrt.c: Likewise.
31810         * math/w_sqrtf.c: Likewise.
31811         * math/w_sqrtl.c: Likewise.
31812         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31813         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
31814         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31815         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31816         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31818 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
31820         [BZ #9739]
31821         * manual/string.texi (strnlen): Use correct parameter name in
31822         equivalent expression.
31824 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
31826         [BZ #11174]
31827         * manual/users.texi (seteuid): Consistently use neweuid for
31828         argument name.
31830 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
31832         [BZ #13704]
31833         * manual/nss.texi (Services in the NSS configuration): Correct
31834         list of services in example configuration file.
31836 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
31838         [BZ #11322]
31839         * manual/arith.texi: Remove statements about negative zero
31840         behaving identically to zero.
31842 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
31844         [BZ #5993]
31845         * manual/install.texi: Do not document upgrading from libc5.
31847 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
31849         [BZ #4596]
31850         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
31852 2012-02-18  David S. Miller  <davem@davemloft.net>
31854         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
31855         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
31856         %o7 across the call.
31857         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
31858         instead.
31859         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
31860         SETUP_PIC_REG_LEAF.
31861         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31862         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
31863         * sysdeps/sparc/crtn.S: Likewise.
31865 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
31867         * aout/Makefile: Remove.
31869 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
31871         [BZ #13058]
31872         * manual/examples/argp-ex1.c (main): Format definition in GNU
31873         style.
31874         * manual/examples/argp-ex2.c (main): Likewise.
31875         * manual/examples/argp-ex3.c (main): Likewise.
31876         * manual/examples/argp-ex4.c (main): Likewise.
31877         * manual/examples/longopt.c (main): Use new-style prototype
31878         definition.
31879         * manual/examples/strncat.c (main): Specify return type and use
31880         (void) for arguments.
31881         * manual/examples/subopt.c (main): Use char **argv argument.
31883 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31885         [BZ #5077]
31886         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
31887         rounding modes.
31889 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
31891         [BZ #6907]
31892         * manual/string.texi (strchr): Change when strchrnul is
31893         recommended.
31895 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
31897         [BZ #174]
31898         * manual/locale.texi (setlocale): Document LOCPATH.
31900 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31902         [BZ #10210]
31903         * manual/process.texi (execle): Move @dots{} before last argument.
31905 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
31907         [BZ #12047]
31908         * manual/charset.texi (Generic Charset Conversion): Fix typo
31909         (LC_TYPE -> LC_CTYPE).
31911 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
31913         [BZ #5805]
31914         * manual/arith.texi (scalbn): Use @var{} on parameter names.
31915         (scalbnf): Likewise.
31916         (scalbnl): Likewise.
31917         (scalbln): Likewise.
31918         (scalblnf): Likewise.
31919         (scalblnl): Likewise.
31920         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
31921         (vwarnx): Likewise.
31922         (verr): Likewise.
31923         (verrx): Likewise.
31924         * manual/filesys.texi (telldir): Use braces around return type.
31925         * manual/llio.texi (mmap): Add space after comma.
31926         (mmap64): Likewise.
31927         * manual/math.texi (jn): Use @var{} on parameter names.
31928         (jnf): Likewise.
31929         (jnl): Likewise.
31930         (yn): Likewise.
31931         (ynf): Likewise.
31932         (ynl): Likewise.
31933         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
31934         line.
31935         * manual/resource.texi (ulimit): Use @dots{} instead of literal
31936         "...".
31937         (sched_get_priority_min): Remove semicolon on @deftypefun line.
31938         (sched_get_priority_max): Likewise.
31939         * manual/signal.texi (sigvec): Add space after comma.
31940         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
31941         names.
31942         (if_indextoname): Likewise.
31943         (if_freenameindex): Likewise.
31944         (sendto): Use ',' instead of '.' in prototype.
31945         * manual/startup.texi (syscall): Use @dots{} instead of literal
31946         "...".
31947         * manual/stdio.texi (__fpending): Separate initial words of
31948         paragraph from @deftypefun line.
31949         * manual/syslog.texi (syslog): Use @dots{} instead of literal
31950         "...".
31951         (vsyslog): Use @var{} on parameter names.
31952         * manual/terminal.texi (stty): Use @var{} on parameter names.
31953         * manual/users.texi (getutmp): Use @var{} on parameter names.
31954         (getutmpx): Likewise.
31956 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31958         [BZ #6884]
31959         * manual/stdio.texi (fopen): Fix typos in description of
31960         ",ccs=STRING".
31962 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
31964         [BZ #4026]
31965         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
31966         get clock_id definition.
31968 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
31970         [BZ #4822]
31971         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
31972         (madvise): Cast every argument to void on its own.
31974 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31976         [BZ #9902]
31977         * manual/startup.texi (Exit Status): Fix typo.
31979 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31981         [BZ #10140]
31982         * manual/examples/argp-ex1.c: Include <stdlib.h>.
31983         * manual/examples/argp-ex2.c: Likewise.
31984         * manual/examples/argp-ex3.c: Likewise.
31986 2012-02-16  Richard Henderson  <rth@redhat.com>
31988         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
31989         * sysdeps/s390/s390-32/initfini.c: Remove.
31990         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
31991         * sysdeps/s390/s390-64/initfini.c: Remove.
31993 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31995         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
31996         compiler output for sysdeps/generic/initfini.c.
31997         * sysdeps/sh/elf/initfini.c: Remove file.
31999 2012-02-16  David S. Miller  <davem@davemloft.net>
32001         [BZ #11494]
32002         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
32004         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
32005         * sysdeps/sparc/crti.S: New file.
32006         * sysdeps/sparc/crtn.S: New file.
32007         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
32008         * sysdeps/sparc/sparc64/Makefile: Likewise.
32010 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
32012         [BZ #3335]
32013         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
32015 2012-02-15  Roland McGrath  <roland@hack.frob.com>
32017         [BZ #4822]
32018         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
32020         * mach/devstream.c (cookie_io_functions_t): Macro removed.
32021         (write, read, close): Likewise.
32022         Patch by Aurelien Jarno <aurelien@aurel32.net>.
32024 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
32026         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
32027         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
32028         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
32029         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
32030         <bits/signalfd.h>.
32031         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
32032         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32033         bits/signalfd.h.
32035 2012-02-14  Marek Polacek  <polacek@redhat.com>
32037         * sysdeps/x86_64/crti.S: New file.
32038         * sysdeps/x86_64/crtn.S: New file.
32039         * sysdeps/x86_64/elf/initfini.c: Remove file.
32041 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
32043         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
32044         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
32045         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
32046         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
32047         <bits/inotify.h>.
32048         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
32049         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32050         bits/inotify.h.
32052 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
32054         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
32055         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
32056         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
32057         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
32058         <bits/eventfd.h>.
32059         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
32060         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32061         bits/eventfd.h.
32063 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
32065         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
32066         __feraiseexcept instead of feraiseexcept.
32068         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
32069         nanosleep invocations.
32070         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
32071         strings, and add error checking for a nanosleep invocations.
32073 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
32075         Replace FSF snail mail address with URLs, as per GNU coding standards.
32076         Most of the snail mail addresses were wrong anyway, and omitting
32077         them makes the source code easier to maintain.  Almost all of the
32078         changes are to license notices and to locale LC_IDENTIFICATION
32079         addresses, except for this one:
32080         * manual/libc.texinfo: In "Published by", give the FSF's URL,
32081         not its snail mail address.
32083 2012-02-09  Richard Henderson  <rth@twiddle.net>
32085         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
32086         of kernel-features.h.
32088         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
32090 2012-02-08  Marek Polacek  <polacek@redhat.com>
32092         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
32093         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
32094         * sysdeps/gnu/_G_config.h: Likewise.
32095         * sysdeps/generic/_G_config.h: Likewise.
32097 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
32099         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
32100         tests.
32101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32103         * sysdeps/powerpc/powerpc32/crti.S: New file.
32104         * sysdeps/powerpc/powerpc32/crtn.S: New file.
32105         * sysdeps/powerpc/powerpc64/crti.S: New file.
32106         * sysdeps/powerpc/powerpc64/crtn.S: New file.
32108         * Makeconfig (have-initfini): Don't set.
32109         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
32110         * configure.in (nopic_initfini): Don't substitute.
32111         * config.h.in (HAVE_INITFINI): Don't #undef.
32112         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
32113         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
32115 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
32117         Support crti.S and crtn.S provided directly by architectures.
32118         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
32119         [crti.S in sysdirs] (omit-deps): Likewise.
32120         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
32121         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
32122         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
32123         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
32124         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
32125         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
32126         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
32127         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
32128         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
32129         compiler output for sysdeps/generic/initfini.c.
32130         * sysdeps/i386/elf/Makefile: Remove file.
32131         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
32133 2012-02-07  Marek Polacek  <polacek@redhat.com>
32135         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
32136         * sysdeps/gnu/_G_config.h: Likewise.
32137         * sysdeps/mach/hurd/_G_config.h: Likewise.
32139 2012-02-07  Marek Polacek  <polacek@redhat.com>
32141         * math/Makefile (tests): Add tst-CMPLX2.
32142         * math/tst-CMPLX2.c: New file.
32144 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
32146         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32148         * math/libm-test.inc (jn_test): Add missing L suffix.
32150 2012-02-06  Marek Polacek  <polacek@redhat.com>
32152         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
32153         * sysdeps/i386/fpu/e_powf.S: Likewise.
32154         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32155         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32156         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32157         * sysdeps/i386/fpu/e_pow.S: Likewise.
32158         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32159         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32160         * sysdeps/i386/fpu/s_expm1.S: Likewise.
32161         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32162         * sysdeps/i386/fpu/e_log2.S: Likewise.
32163         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32164         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32165         * sysdeps/i386/fpu/e_powl.S: Likewise.
32166         * sysdeps/i386/fpu/s_log1p.S: Likewise.
32167         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32168         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32169         * sysdeps/i386/fpu/e_logl.S: Likewise.
32170         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32171         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
32172         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32173         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32174         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32175         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32176         * sysdeps/i386/fpu/e_log.S: Likewise.
32177         * sysdeps/i386/fpu/s_cexp.S: Likewise.
32178         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32179         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
32180         * sysdeps/i386/fpu/e_logf.S: Likewise.
32181         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32182         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32183         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
32184         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32185         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32186         * sysdeps/i386/fpu/e_log10.S: Likewise.
32187         * sysdeps/i386/fpu/s_frexp.S: Likewise.
32188         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32189         * sysdeps/i386/fpu/s_asinh.S: Likewise.
32190         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32191         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32192         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32193         * sysdeps/i386/asm-syntax.h: Likewise.
32194         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32195         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32196         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32197         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
32198         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
32199         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32200         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32201         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32202         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32203         * sysdeps/powerpc/sysdep.h: Likewise.
32204         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
32205         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32207 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
32209         [BZ #411]
32210         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
32212 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
32214         * sysdeps/i386/sysdep.h: Include <features.h>.
32215         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
32216         version.
32218 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
32220         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
32221         Define.
32222         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
32223         LOAD_PIC_REG_STR.
32225 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
32227         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
32228         (SETUP_PIC_REG): Use GET_PC_THUNK.
32229         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
32230         macro.
32232 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
32234         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
32235         for non-PIC compilation.
32236         (SETUP_PIC_REG): Add .p2align directive.
32237         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
32238         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32239         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32240         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32241         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32242         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32243         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32244         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32245         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32246         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32247         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32248         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32249         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32250         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32251         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32252         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32253         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32254         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32255         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32256         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32257         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32258         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32259         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32260         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32261         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32262         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32263         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32264         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32265         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32266         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32267         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32268         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32269         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32270         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32271         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32272         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32273         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32274         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32275         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32276         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32277         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32279 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
32281         * math/tst-CMPLX.c: Include <stdio.h>.
32283 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
32285         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
32286         float.
32287         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32288         * sysdeps/sparc/bits/mathdef.h: Likewise.
32290 2012-01-31  Marek Polacek  <polacek@redhat.com>
32292         * libio/libio.h: Don't define _PARAMS.
32293         * locale/programs/config.h: Don't define PARAMS.
32294         * stdlib/strtol_l.c: Likewise.
32295         (__strtol_l): Remove PARAMS from the prototype.
32297 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
32299         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
32300         names.  Just use the correct names.  Remove unnecessary wrapper
32301         functions.
32302         * malloc/arena.c: Likewise.
32303         * malloc/hooks.c: Likewise.
32305         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
32306         ARENA_TEST says not to.  Simplify test for creation of a new arena.
32307         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
32309 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
32311         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
32312         into tail calls.
32313         (update_get_addr): New function.
32314         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
32315         GET_ADDR_MODULE parameter.
32317 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
32319         * crypt/cert.c: Remove __STDC__ conditionals.
32320         * crypt/crypt-entry.c: Likewise.
32321         * crypt/crypt_util.c: Likewise.
32322         * libio/filedoalloc.c: Likewise.
32323         * libio/fileops.c: Likewise.
32324         * libio/genops.c: Likewise.
32325         * libio/iofclose.c: Likewise.
32326         * libio/iofdopen.c: Likewise.
32327         * libio/iofopen.c: Likewise.
32328         * libio/iofopen64.c: Likewise.
32329         * libio/iogetdelim.c: Likewise.
32330         * libio/iopopen.c: Likewise.
32331         * libio/obprintf.c: Likewise.
32332         * libio/oldfileops.c: Likewise.
32333         * libio/oldiofclose.c: Likewise.
32334         * libio/oldiofdopen.c: Likewise.
32335         * libio/oldiofopen.c: Likewise.
32336         * libio/oldiopopen.c: Likewise.
32337         * libio/wfiledoalloc.c: Likewise.
32338         * libio/wgenops.c: Likewise.
32339         * locale/programs/xmalloc.c: Likewise.
32340         * misc/syslog.c: Likewise.
32341         * stdio-common/xbug.c: Likewise.
32342         * string/memchr.c: Likewise.
32343         * string/memcmp.c: Likewise.
32344         * string/memrchr.c: Likewise.
32345         * string/rawmemchr.c: Likewise.
32346         * sysdeps/posix/getcwd.c: Likewise.
32347         * time/strftime_l.c: Likewise.
32349 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
32351         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
32352         * config.make.in (config-cflags-sse2avx): Define.
32353         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
32354         Fix typo.
32356 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
32358         * scripts/config.guess: Update from upstream config git repository.
32359         * scripts/config.sub: Likewise.
32361 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
32363         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
32364         (EM_NUM): Update.
32365         (R_TILEPRO_*, R_TILEGX_*): New macros.
32367         * scripts/firstversions.awk: Fix bug in version range handling.
32369         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
32371         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
32373         * include/sys/epoll.h: New file.
32374         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
32375         libc_hidden_def.
32377 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
32379         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
32380         Avoid unnecessary __WORDSIZE == 64 test.
32381         (fmaxf): Use VEX format if possible.
32382         (fmax): Likewise.
32383         (fminf): Likewise.
32384         (fmin): Likewise.
32386         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
32387         * math/math_private.h: Remove libc_fegetround* and
32388         libc_fesetround*.
32389         * sysdeps/i386/configure.in: Check for -msse2avx.
32390         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
32391         also if SSE2AVX is defined.
32392         Remove libc_fegetround* and libc_fesetround*.
32393         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
32394         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
32395         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
32396         of HAS_YMM_USABLE.
32397         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32398         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32399         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32400         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32401         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32403         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
32405 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32407         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
32408         size is not set.
32409         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32411 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
32413         [BZ #13618]
32414         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
32415         relocation.
32416         * Makeconfig (libm): Define.
32417         * elf/Makefile: Add rules to build and run tst-relsort1.
32418         * elf/tst-relsort1.c: New file.
32419         * elf/tst-relsort1mod1.c: New file.
32420         * elf/tst-relsort1mod2.c: New file.
32422 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
32424         * math/s_ldexp.c: Remove __STDC__ conditionals.
32425         * math/s_ldexpf.c: Likewise.
32426         * math/s_ldexpl.c: Likewise.
32427         * math/s_nextafter.c: Likewise.
32428         * math/s_nexttowardf.c: Likewise.
32429         * math/s_significand.c: Likewise.
32430         * math/s_significandf.c: Likewise.
32431         * math/s_significandl.c: Likewise.
32432         * math/w_jnl.c: Likewise.
32433         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32434         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32435         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32436         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32437         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32438         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32439         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
32440         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32441         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32442         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32443         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32444         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32445         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32446         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32447         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32448         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32449         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32450         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32451         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32452         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32453         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32454         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32455         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32456         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32457         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32458         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32459         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32460         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32461         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32462         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32463         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32464         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32465         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32466         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32467         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32468         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32469         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32470         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32471         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32472         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32473         * sysdeps/ieee754/k_standard.c: Likewise.
32474         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32475         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32476         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32477         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32478         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32479         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32480         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32481         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32482         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32483         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32484         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32485         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32486         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32487         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32488         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32489         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32490         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32491         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32492         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32493         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32494         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32495         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32496         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32497         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32498         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32499         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32500         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32501         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32502         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32503         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32504         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32505         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
32506         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32507         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32508         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32509         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32510         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
32511         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32512         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32513         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
32514         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
32515         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32516         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
32517         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
32518         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32519         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32520         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32521         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32522         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32523         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
32524         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
32525         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32526         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32527         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32528         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32529         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32530         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
32531         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32532         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32533         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32534         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32535         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32536         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32537         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32538         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32539         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32540         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32541         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32542         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32543         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32544         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32545         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32546         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32547         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32548         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32549         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32550         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32551         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32552         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32553         * sysdeps/ieee754/s_matherr.c: Likewise.
32554         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32555         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32556         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32557         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32559 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
32561         * crypt/md5.h: Remove __STDC__ conditionals.
32562         * libio/libioP.h: Likewise.
32563         * locale/programs/config.h: Likewise.
32564         * sysdeps/generic/sysdep.h: Likewise.
32565         * sysdeps/i386/asm-syntax.h: Likewise.
32566         * sysdeps/s390/asm-syntax.h: Likewise.
32567         * sysdeps/unix/sysdep.h: Likewise.
32568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32571 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
32573         * libio/libio.h: Remove __STDC__ conditionals.
32574         * malloc/obstack.h: Likewise.
32575         * math/complex.h: Likewise.
32576         * math/math.h: Likewise.
32577         * sysdeps/generic/_G_config.h: Likewise.
32578         * sysdeps/gnu/_G_config.h: Likewise.
32579         * sysdeps/mach/hurd/_G_config.h: Likewise.
32580         * sysdeps/powerpc/bits/mathdef.h: Likewise.
32581         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32582         * sysdeps/sparc/bits/mathdef.h: Likewise.
32584 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
32586         [BZ #13583]
32587         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
32588         Clean up HAS_* macros.
32589         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
32590         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
32591         possible.
32592         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
32593         HAS_AVX.
32594         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32595         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32596         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32597         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32598         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32600 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
32602         * elf/tst-unique3.cc (gets): Remove declaration.
32603         * elf/tst-unique3lib.cc (gets): Likewise.
32604         * elf/tst-unique3lib2.cc (gets): Likewise.
32605         * elf/tst-unique4.cc (gets): Likewise.
32607 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
32609         * include/stdio.h: Add C++ protection.  Add gets declarations and
32610         definitions.
32611         * debug/tst-chk1.c: Don't declare gets here.
32612         * stdio-common/tst-gets.c: Likewise.
32614 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
32616         * posix/glob: Remove directory.
32618 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
32620         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
32622 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
32624         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
32625         of the non-standard EPFNOSUPPORT.
32627 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32629         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
32630         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
32631         ANYWHERE set to 1 only on KERN_NO_SPACE error.
32633 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
32635         * wcsmbs/uchar.h: Test __STDC_VERSION__.
32637 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
32639         * nscd/aicache.c (addhstaiX): Do not cache negative results of
32640         transient errors.
32641         * nscd/grpcache.c (cache_addgr): Likewise.
32642         * nscd/hstcache.c (cache_addhst): Likewise.
32643         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32644         * nscd/pwdcache.c (cache_addpw): Likewise.
32645         * nscd/servicescache.c (cache_addserv): Likewise.
32647 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
32649         * malloc/malloc.c: Various cleanups.
32650         * malloc/hooks.c: Likewise.
32652         * stdlib/Makefile (tests): Add bug-fmtmsg1.
32653         * stdlib/bug-fmtmsg1.c: New file.
32655         * stdlib/fmtmsg.c (init): Add missing unlock.
32656         Patch by Peng Haitao <penght@cn.fujitsu.com>.
32658 2012-01-12  Marek Polacek  <polacek@redhat.com>
32660         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
32661         and _GNU_SOURCE.
32663 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
32665         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
32666         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
32667         macro to ensure uniqueness of label name.
32668         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32669         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32671 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
32673         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
32675         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
32676         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32677         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32678         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
32680 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
32682         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
32684         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
32685         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32686         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32688         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
32690         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
32691         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32692         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
32693         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
32695         * math/bits/math-finite.h: Add ldexp support.
32697 2012-01-10  Marek Polacek  <polacek@redhat.com>
32699         * locale/programs/localedef.h (show_archive_content): Add noreturn
32700         attribute.
32702 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
32704         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
32706 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
32708         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
32710         * io/Makefile (headers): Add bits/poll2.h.
32712 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
32714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
32715         typo #include statement.
32717 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
32719         * include/sys/cdefs.h: Define __attribute_alloc_size.
32720         * catgets/gencat.c: Add alloc_size attribute and apply consistently
32721         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
32722         * elf/pldd.c: Likewise.
32723         * iconv/iconv_charmap.c: Likewise.
32724         * iconv/iconvconfig.c: Likewise.
32725         * iconv/strtab.c: Likewise.
32726         * locale/programs/locale.c: Likewise.
32727         * locale/programs/localedef.h: Likewise.
32728         * locale/programs/simple-hash.c: Likewise.
32729         * nscd/nscd.h: Likewise.
32730         * nss/makedb.c: Likewise.
32731         * sysdeps/generic/ldconfig.h: Likewise.
32732         * locale/programs/localedef.c: Remove xmalloc prototype.
32733         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
32735 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
32737         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
32738         appropriate.
32740 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
32742         * math/Makefile (tests): Add tst-CMPLX.
32743         * math/tst-CMPLX.c: New file.
32745         * math/complex.h (CMPLXL): Fix typo.
32747         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
32748         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
32749         GLIBC_2.16.
32750         * debug/tst-chk1.c: Add poll and ppoll tests.
32751         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
32752         * include/sys/poll.h: Add hidden proto for ppoll.
32753         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
32754         * sysdeps/mach/hurd/ppoll.c: Likewise.
32755         * io/ppoll.c: Likewise.
32756         * debug/poll_chk.c: New file.
32757         * debug/ppoll_chk.c: New file.
32758         * include/bits/poll2.h: New file.
32759         * io/bits/poll2.h: New file.
32761         [BZ #1350]
32762         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
32764         * configure.in: static is always set to yes.  Remove.
32765         * config.make.in: Don't set build-static.
32766         * Makeconfig: Remove use of build-static.
32767         * dlfcn/Makefile: Likewise.
32768         * elf/Makefile: Likewise.
32769         * math/Makefile: Likewise.
32770         * misc/Makefile: Likewise.
32771         * nptl/Makefile: Likewise.
32772         * sysdeps/mach/hurd/Makefile: Likewise.
32774         * configure.in: PWD_P is not used anymore.
32775         * config.make.in: Remove PWD_P entry.
32777         * configure.in: Remove last remnants of RANLIB.
32778         No need to check for signed size_t anymore.
32779         Don't set libc_commonpagesize and libc_relro_required here for Alpha
32780         and IA-64.
32781         Remove __builtin_expect test because we require at least gcc 3.4.
32782         * aclocal.m4: Likewise.
32784         * wcsmbs/mbrtoc16.c: Implement using towc function.
32785         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
32786         * wcsmbs/wcsmbsload.c: Likewise.
32787         * iconv/gconv_simple.c: Likewise.
32788         * iconv/gconv_int.h: Likewise.
32789         * iconv/gconv_builtin.h: Likewise.
32790         * iconv/iconv_prog.c: Remove CHAR16 handling.
32792         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
32794         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
32796         * configure.in: Remove --with-elf and --enable-bounded options.
32797         Dont set base_machine for ia64.  More non-ELF conditions removed.
32798         Remove testing and setting of leading underscore information.
32799         * config.make.in (build-bounded): Set to no.
32800         * config.h.in: Remove NO_UNDERSCORES entry.
32801         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
32802         them.
32803         * csu/start.c: Remove !NO_UNDERSCORE code.
32804         * locale/localeinfo.h: Likewise.
32805         * sysdeps/generic/machine-gmon.h: Likewise.
32806         * sysdeps/generic/sysdep.h: Likewise.
32807         * sysdeps/i386/sysdep.h: Likewise.
32808         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32809         * sysdeps/mach/sysdep.h: Likewise.
32810         * sysdeps/s390/s390-32/sysdep.h: Likewise.
32811         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32812         * sysdeps/sh/sysdep.h: Likewise.
32813         * sysdeps/sparc/sparc32/alloca.S: Likewise.
32814         * sysdeps/unix/i386/sysdep.S: Likewise.
32815         * sysdeps/unix/sparc/start.c: Likewise.
32816         * sysdeps/unix/sparc/sysdep.S: Likewise.
32817         * sysdeps/unix/sparc/sysdep.h: Likewise.
32818         * sysdeps/unix/start.c: Likewise.
32819         * sysdeps/unix/x86_64/sysdep.S: Likewise.
32820         * sysdeps/x86_64/sysdep.h: Likewise.
32822 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
32824         [BZ #13553]
32825         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
32826         for non-gcc.
32827         * argp/argp-fmtstream.h: Use const instead __const.
32828         * argp/argp.h: Likewise.
32829         * assert/assert.h: Likewise.
32830         * bits/fenv.h: Likewise.
32831         * bits/sched.h: Likewise.
32832         * bits/sigset.h: Likewise.
32833         * bits/sigthread.h: Likewise.
32834         * catgets/nl_types.h: Likewise.
32835         * conform/data/pthread.h-data: Likewise.
32836         * crypt/crypt-private.h: Likewise.
32837         * crypt/crypt.h: Likewise.
32838         * crypt/crypt_util.c: Likewise.
32839         * ctype/ctype.h: Likewise.
32840         * debug/execinfo.h: Likewise.
32841         * debug/mbsnrtowcs_chk.c: Likewise.
32842         * debug/mbsrtowcs_chk.c: Likewise.
32843         * debug/wcsnrtombs_chk.c: Likewise.
32844         * debug/wcsrtombs_chk.c: Likewise.
32845         * debug/wcstombs_chk.c: Likewise.
32846         * dirent/dirent.h: Likewise.
32847         * dlfcn/dlfcn.h: Likewise.
32848         * elf/neededtest4.c: Likewise.
32849         * grp/grp.h: Likewise.
32850         * gshadow/gshadow.h: Likewise.
32851         * iconv/gconv.h: Likewise.
32852         * iconv/gconv_int.h: Likewise.
32853         * iconv/gconv_simple.c: Likewise.
32854         * iconv/iconv.h: Likewise.
32855         * iconv/loop.c: Likewise.
32856         * iconv/skeleton.c: Likewise.
32857         * include/aio.h: Likewise.
32858         * include/aliases.h: Likewise.
32859         * include/argz.h: Likewise.
32860         * include/arpa/inet.h: Likewise.
32861         * include/assert.h: Likewise.
32862         * include/dirent.h: Likewise.
32863         * include/dlfcn.h: Likewise.
32864         * include/execinfo.h: Likewise.
32865         * include/fcntl.h: Likewise.
32866         * include/fenv.h: Likewise.
32867         * include/glob.h: Likewise.
32868         * include/grp.h: Likewise.
32869         * include/libintl.h: Likewise.
32870         * include/mntent.h: Likewise.
32871         * include/netdb.h: Likewise.
32872         * include/pwd.h: Likewise.
32873         * include/rpc/netdb.h: Likewise.
32874         * include/sched.h: Likewise.
32875         * include/search.h: Likewise.
32876         * include/shadow.h: Likewise.
32877         * include/signal.h: Likewise.
32878         * include/stdio.h: Likewise.
32879         * include/stdlib.h: Likewise.
32880         * include/string.h: Likewise.
32881         * include/sys/socket.h: Likewise.
32882         * include/sys/stat.h: Likewise.
32883         * include/sys/statfs.h: Likewise.
32884         * include/sys/statvfs.h: Likewise.
32885         * include/sys/syslog.h: Likewise.
32886         * include/sys/time.h: Likewise.
32887         * include/sys/uio.h: Likewise.
32888         * include/time.h: Likewise.
32889         * include/unistd.h: Likewise.
32890         * include/utmp.h: Likewise.
32891         * include/wchar.h: Likewise.
32892         * include/wctype.h: Likewise.
32893         * inet/aliases.h: Likewise.
32894         * inet/arpa/inet.h: Likewise.
32895         * inet/netinet/ether.h: Likewise.
32896         * inet/netinet/in.h: Likewise.
32897         * intl/libintl.h: Likewise.
32898         * io/bits/fcntl2.h: Likewise.
32899         * io/fcntl.h: Likewise.
32900         * io/ftw.h: Likewise.
32901         * io/sys/poll.h: Likewise.
32902         * io/sys/stat.h: Likewise.
32903         * io/sys/statfs.h: Likewise.
32904         * io/sys/statvfs.h: Likewise.
32905         * io/utime.h: Likewise.
32906         * libio/bits/stdio.h: Likewise.
32907         * libio/bits/stdio2.h: Likewise.
32908         * libio/libio.h: Likewise.
32909         * libio/libioP.h: Likewise.
32910         * libio/stdio.h: Likewise.
32911         * locale/lc-ctype.c: Likewise.
32912         * locale/locale.h: Likewise.
32913         * login/utmp.h: Likewise.
32914         * malloc/arena.c: Likewise.
32915         * malloc/malloc.c: Likewise.
32916         * malloc/malloc.h: Likewise.
32917         * malloc/mcheck.c: Likewise.
32918         * malloc/mtrace.c: Likewise.
32919         * math/bits/mathcalls.h: Likewise.
32920         * math/fenv.h: Likewise.
32921         * math/math_private.h: Likewise.
32922         * misc/bits/error.h: Likewise.
32923         * misc/bits/syslog.h: Likewise.
32924         * misc/err.h: Likewise.
32925         * misc/error.h: Likewise.
32926         * misc/fstab.h: Likewise.
32927         * misc/mntent.h: Likewise.
32928         * misc/regexp.h: Likewise.
32929         * misc/search.h: Likewise.
32930         * misc/sgtty.h: Likewise.
32931         * misc/sys/mman.h: Likewise.
32932         * misc/sys/syslog.h: Likewise.
32933         * misc/sys/uio.h: Likewise.
32934         * misc/sys/xattr.h: Likewise.
32935         * misc/ttyent.h: Likewise.
32936         * nis/rpcsvc/ypclnt.h: Likewise.
32937         * nss/nss.h: Likewise.
32938         * posix/bits/unistd.h: Likewise.
32939         * posix/fnmatch.h: Likewise.
32940         * posix/glob.h: Likewise.
32941         * posix/sched.h: Likewise.
32942         * posix/spawn.h: Likewise.
32943         * posix/sys/wait.h: Likewise.
32944         * posix/unistd.h: Likewise.
32945         * posix/wordexp.h: Likewise.
32946         * pwd/pwd.h: Likewise.
32947         * resolv/netdb.h: Likewise.
32948         * resource/sys/resource.h: Likewise.
32949         * rt/aio.h: Likewise.
32950         * rt/bits/mqueue2.h: Likewise.
32951         * rt/mqueue.h: Likewise.
32952         * shadow/shadow.h: Likewise.
32953         * signal/signal.h: Likewise.
32954         * socket/send.c: Likewise.
32955         * socket/sendto.c: Likewise.
32956         * socket/sys/socket.h: Likewise.
32957         * stdio-common/printf.h: Likewise.
32958         * stdlib/bits/stdlib.h: Likewise.
32959         * stdlib/fmtmsg.h: Likewise.
32960         * stdlib/monetary.h: Likewise.
32961         * stdlib/stdlib.h: Likewise.
32962         * stdlib/ucontext.h: Likewise.
32963         * streams/stropts.h: Likewise.
32964         * string/argz.h: Likewise.
32965         * string/bits/string2.h: Likewise.
32966         * string/string.h: Likewise.
32967         * string/strings.h: Likewise.
32968         * sunrpc/rpc/auth.h: Likewise.
32969         * sunrpc/rpc/auth_des.h: Likewise.
32970         * sunrpc/rpc/clnt.h: Likewise.
32971         * sunrpc/rpc/netdb.h: Likewise.
32972         * sunrpc/rpc/pmap_clnt.h: Likewise.
32973         * sunrpc/rpc/xdr.h: Likewise.
32974         * sysdeps/generic/inttypes.h: Likewise.
32975         * sysdeps/generic/net/if.h: Likewise.
32976         * sysdeps/generic/sys/swap.h: Likewise.
32977         * sysdeps/gnu/net/if.h: Likewise.
32978         * sysdeps/gnu/utmpx.h: Likewise.
32979         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
32980         * sysdeps/i386/i486/bits/string.h: Likewise.
32981         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
32982         * sysdeps/s390/bits/string.h: Likewise.
32983         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
32984         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
32985         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32986         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
32987         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
32988         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
32989         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
32990         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
32991         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
32992         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
32993         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
32994         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32995         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
32996         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32997         * sysdeps/unix/sysv/linux/readv.c: Likewise.
32998         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
32999         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
33000         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33001         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
33002         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
33003         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33004         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
33005         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
33006         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
33007         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
33008         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
33009         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
33010         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33011         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
33012         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
33013         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
33014         * sysvipc/sys/ipc.h: Likewise.
33015         * sysvipc/sys/msg.h: Likewise.
33016         * sysvipc/sys/sem.h: Likewise.
33017         * sysvipc/sys/shm.h: Likewise.
33018         * termios/termios.h: Likewise.
33019         * time/sys/time.h: Likewise.
33020         * time/time.h: Likewise.
33021         * wcsmbs/bits/wchar2.h: Likewise.
33022         * wcsmbs/uchar.h: Likewise.
33023         * wcsmbs/wchar.h: Likewise.
33024         * wctype/wctype.h: Likewise.
33026         [BZ #13551]
33027         * Makeconfig: Remove all but ELF support including AIX support.
33028         * Makerules: Likewise.
33029         * config.h.in: Likewise.
33030         * config.make.in: Likewise.
33031         * configure: Likewise.
33032         * configure.in: Likewise.
33033         * csu/Makefile: Likewise.
33034         * csu/version.c: Likewise.
33035         * debug/Makefile: Likewise.
33036         * dlfcn/Makefile: Likewise.
33037         * elf/Makefile: Likewise.
33038         * extra-lib.mk: Likewise.
33039         * iconv/Makefile: Likewise.
33040         * include/libc-symbols.h: Likewise.
33041         * include/shlib-compat.h: Likewise.
33042         * resolv/Makefile: Likewise.
33043         * resolv/res_libc.c: Likewise.
33044         * rt/Makefile: Likewise.
33045         * sysdeps/i386/asm-syntax.h: Likewise.
33046         * sysdeps/i386/sysdep.h: Likewise.
33047         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33048         * sysdeps/mach/sysdep.h: Likewise.
33049         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
33050         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
33051         * sysdeps/s390/asm-syntax.h: Likewise.
33052         * sysdeps/s390/s390-32/sysdep.h: Likewise.
33053         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33054         * sysdeps/sh/sysdep.h: Likewise.
33055         * sysdeps/unix/sparc/sysdep.h: Likewise.
33056         * sysdeps/wordsize-32/divdi3.c: Likewise.
33057         * sysdeps/x86_64/sysdep.h: Likewise.
33059         * argp/Versions: Remove _argp_unlock_xxx.
33061         [BZ #13559]
33062         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
33063         * abilist/libBrokenLocale.abilist: Likewise.
33064         * abilist/libanl.abilist: Likewise.
33065         * abilist/libc.abilist: Likewise.
33066         * abilist/libcrypt.abilist: Likewise.
33067         * abilist/libdl.abilist: Likewise.
33068         * abilist/libm.abilist: Likewise.
33069         * abilist/libnsl.abilist: Likewise.
33070         * abilist/libpthread.abilist: Likewise.
33071         * abilist/libresolv.abilist: Likewise.
33072         * abilist/librt.abilist: Likewise.
33073         * abilist/libthread_db.abilist: Likewise.
33074         * abilist/libutil.abilist: Likewise.
33075         * abilist/libnss_db.abilist: New file.
33077         * scripts/abilist.awk: Add support for indirect functions.
33079         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
33081         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
33083         * shlib-versions: Remove entries for ports architectures.
33085         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
33086         files in ports.
33087         * elf/stackguard-macros.h: Remove support for IA-64.
33088         * elf/tst-auditmod1.c: Likewise.
33089         * sysdeps/generic/ldsodefs.h: Likewise.
33091         * sysdeps/unix/sysv/linux/configure.in: Ports should define
33092         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
33093         configure files.
33095         [BZ #13552]
33096         * configure.in: Remove --enable-omitfp support.
33097         * FAQ.in: Adjust.
33098         * config.make.in: Likewise.
33099         * Makeconfig: Likewise.
33100         * manual/install.texi: Likewise.
33102         In case anyone cares, the IA-64 architecture could move to ports.
33103         * sysdeps/ia64/*: Removed.
33104         * sysdeps/unix/sysv/linux/ia64/*: Removed.
33105         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
33107         [BZ #13555]
33108         * configure.in: Remove entries for unsupported architectures.
33110         [BZ #13533]
33111         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
33112         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
33113         routines.
33114         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
33115         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
33116         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
33117         fall back to using wcrtomb.
33118         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
33119         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
33120         renaming.
33121         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
33122         * wcsmbs/tst-c16c32-1.c: New file.
33124         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
33125         local variable.
33127         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
33129         * elf/tst-unique3.cc: Add explicit declaration of gets.
33130         * elf/tst-unique3lib.cc: Likewise.
33131         * elf/tst-unique3lib2.cc: Likewise.
33132         * elf/tst-unique4.cc: Likewise.
33134         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
33136 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
33138         [BZ #13566]
33139         * assert/assert.h (static_assert): Don't define for C++.
33140         * libio/stdio.h (gets): Do declare for C++ <= C++11.
33141         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
33143 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
33145         * iconv/loop.c (single loop): Fix assertion in storing of
33146         remaining bytes.
33148         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
33150 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
33152         * posix/getconf.c: Update copyright year.
33153         * nss/getent.c: Likewise.
33154         * nss/makedb.c: Likewise.
33155         * iconv/iconvconfig.c: Likewise.
33156         * iconv/iconv_prog.c: Likewise.
33157         * elf/ldconfig.c: Likewise.
33158         * elf/pldd.c: Likewise.
33159         * elf/sotruss.ksh: Likewise.
33160         * catgets/gencat.c: Likewise.
33161         * csu/version.c: Likewise.
33162         * elf/ldd.bash.in: Likewise.
33163         * elf/sprof.c (print_version): Likewise.
33164         * locale/programs/locale.c: Likewise.
33165         * locale/programs/localedef.c: Likewise.
33166         * login/programs/pt_chown.c: Likewise.
33167         * nscd/nscd.c (print_version): Likewise.
33168         * debug/xtrace.sh: Likewise.
33169         * malloc/memusage.sh: Likewise.
33170         * malloc/mtrace.pl: Likewise.
33171         * debug/catchsegv.sh: Likewise.
33173 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
33175         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
33176         pure attribute.
33178 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
33180         [BZ #13533]
33181         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
33182         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
33183         transformations.
33184         * iconv/gconv_int.h: Likewise.
33185         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
33186         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
33187         from libc for GLIBC_2.16.
33188         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
33189         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
33190         * wcsmbs/uchar.h: Really define mbstate_t.
33191         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
33192         * wcsmbs/c16rtomb.c: New file.
33193         * wcsmbs/mbrtoc16.c: New file.
33194         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
33195         for C/POSIX locale.
33196         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
33197         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
33199         * wcsmbs/wchar.h: Add missing __restrict.
33201 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
33203         [BZ #13532]
33204         * time/Makefile (routines): Add timespec_get.
33205         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
33206         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
33207         timespec for ISO C11.
33208         * time/timespec_get.c: New file.
33209         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
33210         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
33212         [BZ #13531]
33213         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
33214         * stdlib/stdlib.h: Declare aligned_alloc.
33215         * Versions.def: Add GLIBC_2.16 for libc.
33216         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
33218         [BZ 13527]
33219         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
33220         ISO C11.
33222         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
33223         code.
33225         [BZ #13528]
33226         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
33228         [BZ #13529]
33229         * assert/assert.h (static_assert): Define.
33231         * version.h: Update for 2.16 development version.
33233         [BZ #13526]
33234         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
33235         _ISOC11_SOURCE.
33237         * version.h (RELEASE): Bump for 2.15 release.
33238         * include/features.h (__GLIBC_MINOR__): Bump to 15.
33240         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
33241         Patch by Marek Polacek <mpolacek@redhat.com>.
33243         * bits/byteswap.h: Protect long long constants with __extension__.
33244         * sysdeps/i386/bits/byteswap.h: Likewise.
33245         * sysdeps/ia64/bits/byteswap.h: Likewise.
33246         * sysdeps/s390/bits/byteswap.h: Likewise.
33247         * sysdeps/x86_64/bits/byteswap.h: Likewise.
33249 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33251         [BZ #13540]
33252         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
33253         destination buffer.
33254         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
33256 2011-12-23  Marek Polacek  <polacek@redhat.com>
33258         * elf/dl-addr.c (determine_info): Add inline keyword.
33259         * elf/tst-auditmod4b.c (check_avx): Likewise.
33260         * elf/tst-auditmod6b.c (check_avx): Likewise.
33261         * elf/tst-auditmod6c.c (check_avx): Likewise.
33262         * elf/tst-auditmod7b.c (check_avx): Likewise.
33264 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
33266         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
33267         !__SSE_MATH__.
33269 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33271         [BZ #13540]
33272         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
33273         processing for last bytes.
33275 2011-08-06  Bruno Haible  <bruno@clisp.org>
33277         [BZ #13061]
33278         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
33279         U+0385, not to U+1FEE.
33281         [BZ #13062]
33282         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
33283         entry for U+00A5 U+0301.
33285 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
33287         [BZ #13166]
33288         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
33289         buffer for the output is too small.
33291         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
33292         optimization.
33294         [BZ #13185]
33295         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
33296         SSE flags if possible.
33298 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33300         [BZ #13540]
33301         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
33302         processing for last bytes.
33304 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
33306         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
33307         (syscall-list-default-options, syscall-list-default-condition)
33308         (syscall-list-includes): Define.
33309         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
33310         list of ABIs and options and #if conditions for each ABI.  Do not
33311         handle common syscalls between ABIs specially.
33312         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
33313         Remove.
33314         (syscall-list-variants, syscall-list-32bit-options)
33315         (syscall-list-32bit-condition, syscall-list-64bit-options)
33316         (syscall-list-64bit-condition): Define.
33317         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
33318         (syscall-list-variants, syscall-list-32bit-options)
33319         (syscall-list-32bit-condition, syscall-list-64bit-options)
33320         (syscall-list-64bit-condition): Define.
33321         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
33322         Remove.
33323         (syscall-list-variants, syscall-list-32bit-options)
33324         (syscall-list-32bit-condition, syscall-list-64bit-options)
33325         (syscall-list-64bit-condition): Define.
33326         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
33327         Remove.
33328         (syscall-list-variants, syscall-list-32bit-options)
33329         (syscall-list-32bit-condition, syscall-list-64bit-options)
33330         (syscall-list-64bit-condition): Define.
33332 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
33334         * locale/iso-639.def: Add brx entry.
33336         [BZ #13328]
33337         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
33338         Proposed by Mariusz_Cukr <marcukr@op.pl>.
33340         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
33341         __feraiseexcept_renamed.
33343 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
33345         [BZ #13538]
33346         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
33347         EPOLLET with unsigned values.
33348         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33349         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33351         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
33352         to large cancellation.
33353         * math/s_cacoshf.c: Likewise.
33354         * math/s_cacoshl.c: Likewise.
33356 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
33358         [BZ #13305]
33359         [BZ #12786]
33360         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
33361         * math/s_cacoshf.c: Likewise.
33362         * math/s_cacoshl.c: Likewise.
33364 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
33366         [BZ #13439]
33367         * iconv/gconv.h: Define __GCONV_SWAP.
33368         * iconvdata/unicode.c: The swap bit must be stored in __flags.
33369         * iconvdata/utf-16.c: Likewise.
33370         * iconvdata/utf-32.c: Likewise.
33372 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
33374         [BZ #13524]
33375         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
33376         numerator after shifting it by one limb.
33378 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
33380         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
33381         under [__USE_EXTERN_INLINES].
33383 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
33385         [BZ #13446]
33386         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
33388 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33390         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
33391         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
33392         optimized code.
33393         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
33394         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
33395         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
33396         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
33397         for strncasecmp/strncasecmp_l compilation.
33398         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
33399         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
33401 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
33403         [BZ #13484]
33404         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
33405         of __asm__.
33407 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
33409         [BZ #13506]
33410         * time/tzfile.c (__tzfile_read): Check values from file header.
33412 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
33414         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
33415         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
33416         * powerpc/powerpc32/dl-start.S: Likewise.
33417         * powerpc/powerpc32/elf/start.S: Likewise.
33418         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33419         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
33420         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
33421         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
33422         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33423         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
33424         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
33425         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33426         * powerpc/powerpc32/fpu/s_round.S: Likewise.
33427         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33428         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33429         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33430         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
33431         * powerpc/powerpc32/memset.S: Likewise.
33432         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33433         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33434         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33435         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33436         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33437         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33438         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33439         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33440         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
33441         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
33442         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
33443         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
33444         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
33446 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33448         * math/libm-test.inc: Added more nearbyint tests.
33449         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
33450         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
33451         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
33452         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
33454 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
33456         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
33457         FD_CLOEXEC.
33459 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33461         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
33462         Add wcscpy-ssse3 wcscpy-c.
33463         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
33464         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
33465         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
33466         * sysdeps/x86_64/wcschr.S: New file.
33467         * sysdeps/x86_64/wcsrchr.S: New file.
33468         * string/test-strcmp.c: Remove checking of wcscmp function for
33469         wrong alignments.
33470         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
33471         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
33472         wcsrchr-sse2 wcsrchr-c.
33473         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
33474         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
33475         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
33476         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
33477         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
33478         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
33479         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
33480         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
33481         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
33482         * wcsmbc/wcschr.c (WCSCHR): New macro.
33484 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33486         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
33487         * wcsmbs/test-wcsrchr.c: New file.
33488         * string/test-strrchr.c: Add wcsrchr support.
33489         (WIDE): New macro.
33490         * wcsmbs/test-wcscpy.c: New file.
33491         * string/test-strcpy.c: Add wcscpy support.
33492         (WIDE): New macro.
33494 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
33496         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
33497         the inner loop.
33499 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
33501         [BZ #13472]
33502         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
33504 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
33506         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
33507         Minor optimizations.
33509         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
33510         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
33511         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33513 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
33515         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
33516         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
33517         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
33518         for gcc to avoid warnings.
33519         * inet/Makefile (tests): Add tst-checks.
33520         * inet/tst-checks.c: New file.
33522         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
33523         warning.
33525         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
33526         __wmemcmp_sse2.
33528         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
33529         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
33531         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
33533 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
33535         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
33536         problem.
33538         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
33540 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
33542         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
33543         conditional on GCC version.
33544         (__arch_compare_and_exchange_val_8_acq)
33545         (__arch_compare_and_exchange_val_16_acq)
33546         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
33547         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
33548         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
33550 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
33552         * sysdeps/sh/backtrace.c: New file.
33554 2011-12-02  Andreas Schwab  <schwab@redhat.com>
33556         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
33557         parenthesis.
33559 2011-12-01  Andreas Schwab  <schwab@redhat.com>
33561         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
33562         falling back to utime.
33564 2011-11-30  Andreas Schwab  <schwab@redhat.com>
33566         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
33567         expectations for float.
33569 2011-11-29  Andreas Schwab  <schwab@redhat.com>
33571         * locale/weight.h (findidx): Add parameter len.
33572         * locale/weightwc.h (findidx): Likewise.
33573         * posix/fnmatch_loop.c (FCT): Adjust caller.
33574         * posix/regcomp.c (build_equiv_class): Likewise.
33575         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
33576         * posix/regexec.c (check_node_accept_bytes): Likewise.
33577         * string/strcoll_l.c (STRCOLL): Likewise.
33578         * string/strxfrm_l.c (STRXFRM): Likewise.
33580 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
33582         * Makefile.in: Remove CVSOPT handling.
33583         * configure.in: Remove use of AC_REVISION.
33584         * iconvdata/Makefile (distribute): No need to filter out CVS.
33585         * scripts/list-sources.sh: Remove CVS, subversion and monotone
33586         handling.
33588 2011-11-16  Andreas Schwab  <schwab@redhat.com>
33590         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
33591         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
33592         [USE_AS_STRNCASECMP_L]: Likewise.
33593         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
33594         NO_TLS_DIRECT_SEG_REFS.
33595         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
33596         Fix argument offsets for non-PIC.
33597         [USE_AS_STRNCASECMP_L]: Likewise.
33598         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
33599         NO_TLS_DIRECT_SEG_REFS.
33601 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
33603         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
33604         O_CLOEXEC.
33605         * locale/loadlocale.c (_nl_load_locale): Likewise.
33607 2011-11-15  Andreas Schwab  <schwab@redhat.com>
33609         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
33610         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
33611         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
33612         (SYSCALL_GETTIME): Set errno on error.
33614         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
33615         count references to noai6ai_cached.
33617 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
33619         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
33621         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
33622         FD_CLOEXEC for /proc/self/maps.
33624         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
33625         FD_CLOEXEC for /proc/meminfo.
33627         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
33628         gai.conf.
33630         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
33631         FD_CLOEXEC for given file.
33633         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
33635         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
33636         FD_CLOEXEC for /etc/hosts.
33637         (_gethtent): Likewise.
33639         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
33641         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
33642         cancellation and set FD_CLOEXEC for /etc/netgroup.
33644         * nss/nss_files/files-key.c (search): Don't allow cancellation when
33645         reading /etc/publickey.
33647         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
33648         allow cancellation when reading /etc/group.
33650         * nss/nss_files/files-alias.c (internal_setent): Don't allow
33651         cancellation.
33652         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
33654         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
33655         when using data file.
33657         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
33659         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
33660         (write_nis_obj): Use "c" and "e" in fopen.
33662         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
33664         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
33666         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
33668         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
33670         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
33671         locale.alias.
33673         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
33675         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
33677         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
33679         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
33680         file parsing and set FD_CLOEXEC.
33682 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
33684         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
33686 2011-11-14  Andreas Schwab  <schwab@redhat.com>
33688         * malloc/arena.c (arena_get2): Don't call reused_arena when
33689         _int_new_arena failed.
33691 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
33693         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
33694         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
33695         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
33696         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33697         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33698         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
33699         to compile strcasecmp and strncasecmp.
33700         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
33701         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
33703         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
33705 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
33707         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
33708         locale-defines.sym to gen-as-const-headers.
33709         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
33710         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
33711         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
33712         to compile strcasecmp and strncasecmp.
33713         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
33714         strcasecmp_l and strncasecmp_l.
33715         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
33716         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
33717         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
33718         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
33719         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
33720         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
33721         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
33722         * sysdeps/i386/i686/multiarch/strncase.S: New file.
33723         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
33724         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
33725         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
33727 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
33729         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
33730         result of SYSDEP_GETTIME_CPU to retval.
33731         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
33732         parameter list to macro.  Remove trailing semicolon.  Adjust users.
33734         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
33735         variable.
33737         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
33738         mantissa words.
33739         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33741         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
33742         from unused variable.
33744         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
33745         DWARF definitions.
33746         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
33747         for assembling.
33749         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
33750         over namespaces.
33752         * sunrpc/rpc_prot.c (rejected): Fix case value.
33754         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
33755         unsigned long long int to avoid warnings in shift.
33757         * posix/regex_internal.c (re_string_reconstruct): Actually use result
33758         of use of trans.
33759         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
33760         variable tmp.
33762         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
33763         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
33764         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
33766         * nis/nis_table.c (nis_list): Use variable of correct type for
33767         result of __follow_path call.
33769 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33771         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
33772         of math functions ceil, trunc, floor, round, and sqrt, when
33773         avaliable on the platform.
33774         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
33775         name clash.
33776         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33777         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33778         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33780 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
33782         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
33783         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33785 2011-11-11  Roland McGrath  <roland@hack.frob.com>
33787         * include/unistd.h: Fix __readlink return type.
33788         Reported by Chris Metcalf <cmetcalf@tilera.com>.
33790 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
33792         * stdlib/ucontext.h: Undo last change for makecontext.
33794 2011-11-11  Andreas Schwab  <schwab@redhat.com>
33796         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
33798         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
33799         * setjmp/setjmp.h: Mark functions as non-leaf.
33800         * setjmp/bits/setjmp2.h: Likewise.
33801         * stdlib/ucontext.h: Likewise.
33803 2011-11-10  Andreas Schwab  <schwab@redhat.com>
33805         * malloc/arena.c (_int_new_arena): Don't increment narenas.
33806         (reused_arena): Don't check arena limit.
33807         (arena_get2): Atomically check arena limit.
33809 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
33811         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
33812         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
33814         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
33815         instructions.
33817 2011-11-07  Andreas Schwab  <schwab@redhat.com>
33819         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
33820         handler when locking.
33822         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33823         Fix size of allocated buffer.
33825 2011-11-04  Andreas Schwab  <schwab@redhat.com>
33827         [BZ #10103]
33828         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
33829         declarations for long double functions.
33830         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
33832         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
33834 2011-11-03  Andreas Schwab  <schwab@redhat.com>
33836         * nscd/nscd.c (main): Don't start AVC thread until credentials are
33837         installed.
33839         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
33840         is disabled.
33842 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33844         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
33846 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
33848         * include/alloca.h (stackinfo_alloca_round): Define.
33849         (extend_alloca): Use it.
33850         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
33851         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
33852         here.
33854         * scripts/check-local-headers.sh: Ignore libaudit.h.
33856         * nscd/Makefile (extra-objs): Make recursively expanded.
33858 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
33860         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
33861         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33863         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
33864         * posix/tst-rfc3484-2.c: Likewise.
33865         * posix/tst-rfc3484-3.c: Likewise.
33867         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33868         process_vm_writev.
33869         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
33870         process_vm_writev.
33871         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
33872         process_vm_writev from libc using GLIBC_2.15 version.
33874         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
33876 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
33878         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
33879         stack usage.
33881 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
33883         [BZ #13367]
33884         * nss/getent.c (initgroups_keys): Show error message in case no group
33885         names are given.
33887         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
33888         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
33889         __bump_nl_timestamp.
33890         * nscd/connections (nscd_init): When host database is served open
33891         netlink socket and request notification about configuration changes.
33892         (main_loop_poll): Track netlink file descriptor and bump timestamp
33893         in case data becomes available.
33894         (main_loop_epoll): Likewise.
33895         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
33896         (database_pers_head): Add extra_data fileds.
33897         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
33898         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
33899         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
33900         Adjust caller.
33901         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
33902         in6ai data, call __free_in6ai.
33903         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
33904         Add -DHAVE_NETLINK.
33905         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
33906         interface information.  Reuse previous data if netlink timestamp
33907         is not changed.
33908         (__bump_nl_timestamp): New function.
33909         (__free_in6ai): New function.
33911 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
33913         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
33914         close_not_cancel_no_status here.
33915         (__check_pf): Reorganize code a bit to not call close twice if OOM.
33917 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
33919         [BZ #13276]
33920         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
33921         return value.
33923         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
33924         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
33925         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
33927 2011-07-03  Andreas Jaeger  <aj@suse.de>
33929         [BZ #10709]
33930         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
33931         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
33932         * math/libm-test.inc (sin_test): Add test case.
33934 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
33936         [BZ #13337]
33937         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
33938         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33940         * elf/chroot_canon.c (chroot_canon): Cleanups.
33942         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
33944         [BZ #13335]
33945         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
33946         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33948         * string/test-strchr.c: Make usable for strchrnul testing.
33949         * string/test-strchrnul.c: New file.
33950         * string/Makefile (strop-tests): Add strchrnul.
33952         * po/it.po: Update from translation team.
33953         * po/es.po: Likewise.
33955 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
33957         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
33958         the three constants needed as parameters.  Drop the others.
33959         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
33960         __m128i_strloadu_tolower.
33961         Create and initialize variable zero and use it in all the places
33962         where _mm_setzero_si128 was used.
33964         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
33965         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
33966         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
33967         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
33968         anymore.
33969         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
33970         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
33971         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
33972         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
33973         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
33974         __mpranred, __mptan.
33975         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
33976         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
33977         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
33978         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
33979         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
33980         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
33981         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
33982         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
33983         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
33985 2011-10-28  Andreas Schwab  <schwab@redhat.com>
33987         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
33988         redefine if SHARED.
33989         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
33991         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
33992         wide char related routines to wcsmbs subdir.
33994 2011-10-27  Andreas Schwab  <schwab@redhat.com>
33996         [BZ #13344]
33997         * misc/sys/cdefs.h (__THROWNL): Define.
33998         * posix/unistd.h: Use __THREADNL instead of __THREAD
33999         for memory synchronization functions.
34001 2011-10-26  Roland McGrath  <roland@hack.frob.com>
34003         [BZ #13349]
34004         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
34005         doesn't exist.
34006         * manual/stdio.texi (Obstack Streams): Node removed.
34008 2011-10-26  Andreas Schwab  <schwab@redhat.com>
34010         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
34011         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34012         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34014         * math/math_private.h (math_force_eval): Allow non-addressable
34015         arguments.
34016         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
34018 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
34020         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
34021         file is not needed.
34023         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
34024         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34025         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34026         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34027         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34028         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34029         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34030         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
34031         Add AVX variants.
34032         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
34033         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
34034         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
34035         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
34036         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
34037         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
34038         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
34039         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
34040         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
34041         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
34042         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
34043         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
34044         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
34045         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
34046         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
34047         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
34048         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
34049         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
34050         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
34052         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
34053         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
34055         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
34056         place.  Use VEX encoding when compiling for AVX.
34058 2011-10-25  Andreas Schwab  <schwab@redhat.com>
34060         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
34061         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34063         * string/test-strchr.c (do_test): Don't generate NUL bytes.
34065 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
34067         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
34068         useless if() expression.
34069         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34070         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34071         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34072         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34073         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34074         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34075         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34076         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34077         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34078         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34079         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34080         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34081         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34082         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34083         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34084         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34085         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34086         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34087         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34089         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
34091 2011-10-25  Andreas Schwab  <schwab@redhat.com>
34093         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
34094         condition.
34095         * elf/dl-fini.c (_dl_sort_fini): Likewise.
34097 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
34099         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
34100         .text section.  Avoid duplicate constants.
34101         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34102         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34103         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34104         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34105         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34106         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34107         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34108         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34109         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34110         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
34111         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34112         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34113         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34114         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34115         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34116         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34117         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34118         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34119         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34120         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34121         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34122         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34123         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34124         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
34125         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
34126         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
34127         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
34128         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
34129         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
34130         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
34131         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
34132         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
34133         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34134         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
34135         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
34136         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
34137         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
34138         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
34139         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
34140         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
34141         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
34142         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
34143         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
34144         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
34145         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
34147 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
34149         * sysdeps/x86_64/dla.h: Move to ...
34150         * sysdeps/x86_64/fpu/dla.h: ...here.
34151         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
34152         situations.  Use __builtin_fma only for gcc 4.6 and up.
34154         * config.make.in: Add have-mfma4 entry.
34155         * configure.in: Substitute libc_cv_cc_fma4.
34156         * math/Makefile (dbl-only-routines): Add sincostab.
34157         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
34158         Use __sincostab not sincos.
34159         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
34160         name is a macro.
34161         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34162         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34163         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34164         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
34165         using __copysign.
34166         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
34167         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
34168         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
34169         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
34170         and __inv.
34171         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
34172         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
34173         __copysign.
34174         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
34175         define aliases when function name is a macro.
34176         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
34177         sysdeps/ieee754/dbl-64/sincos.tbl.
34178         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
34179         fma4-enabled routines.
34180         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
34181         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
34182         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
34183         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
34184         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
34185         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
34186         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
34187         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
34188         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
34189         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
34190         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
34191         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
34192         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
34193         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
34194         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
34195         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
34196         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
34197         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
34198         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
34199         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
34200         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
34201         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
34202         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
34203         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
34204         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
34205         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
34206         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
34207         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
34208         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
34209         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
34211         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
34212         rename.
34213         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34214         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34215         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34216         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34217         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34218         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34219         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34220         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34222 2011-10-24  Andreas Schwab  <schwab@redhat.com>
34224         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
34226 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
34228         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
34230         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
34231         prediction.
34232         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
34234         * string/strnlen.c: Don't define STRNLEN, reverse logic.
34235         Remove unused variable magic_bits.
34236         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
34238         * string/strnlen.c: Define and use STRNLEN macro.
34239         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
34240         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
34241         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
34242         * wcsmbs/wcslen.c: Define and use WCSLEN.
34243         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
34244         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
34245         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
34246         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
34247         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
34248         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
34249         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34251 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34253         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34254         strnlen-sse2-no-bsf.
34255         Rename strlen-no-bsf to strlen-sse2-no-bsf.
34256         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
34257         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
34258         Add strnlen support.
34259         (USE_AS_STRNLEN): New macro.
34260         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
34261         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
34262         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
34263         * sysdeps/x86_64/wcslen.S: New file.
34265 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
34267         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34268         XMM-moves are used for copying on small sizes.
34270 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34272         * wcsmbs/Makefile (strop-tests): Add wcschr.
34273         * wcsmbs/test-wcschr.c: New file.
34274         * string/test-strchr.c: Update.
34275         Add wcschr support.
34276         (WIDE): New macro.
34278 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34280         * wcsmbs/Makefile (strop-tests): Add wcslen.
34281         * wcsmbs/test-wcslen.c: New file.
34282         * string/test-strlen.c: Update.
34283         Add wcslen support.
34284         (WIDE): New macro.
34286 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
34288         * po/it.po: Update from translation team.
34290 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34292         * sysdeps/x86_64/wcscmp.S: Update.
34293         Fix wrong comparison semantics.
34294         wcscmp shall use signed comparison not unsigned.
34295         Don't use substraction to avoid overflow bug.
34296         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
34297         * wcsmbc/wcscmp.c: Likewise.
34298         * string/test-strcmp.c: Likewise.
34299         Add new tests to check cases with negative values.
34301 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
34303         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
34304         * sysdeps/x86_64/dla.h: ...here.  New file.
34305         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
34306         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34307         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34308         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34309         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34310         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34311         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34312         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34313         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34315 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
34317         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
34318         __ynl_finite aliases.
34320 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
34322         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34324         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
34325         define DLA_FMA.
34326         [DLA_FMA] (EMULV): Use DLA_FMA.
34327         [DLA_FMA] (MUL12): Use EMULV.
34328         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
34329         that are not needed.
34330         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34331         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34332         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34333         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34334         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34335         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34336         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34338 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
34340         * math/s_nan.c: Undef __nan.
34341         * math/s_nanf.c: Undef __nanf.
34342         * math/s_nanl.c: Undef __nanl.
34343         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
34344         "math_private.h".
34346 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
34348         * math/s_catan.c: Add branch predictions.
34349         * math/s_catanf.c: Likewise.
34350         * math/s_catanh.c: Likewise.
34351         * math/s_catanhf.c: Likewise.
34352         * math/s_catanhl.c: Likewise.
34353         * math/s_catanl.c: Likewise.
34354         * math/s_cexp.c: Likewise.
34355         * math/s_cexpf.c: Likewise.
34356         * math/s_cexpl.c: Likewise.
34357         * math/s_clog.c: Likewise.
34358         * math/s_clog10.c: Likewise.
34359         * math/s_clog10f.c: Likewise.
34360         * math/s_clog10l.c: Likewise.
34361         * math/s_clogf.c: Likewise.
34362         * math/s_clogl.c: Likewise.
34363         * math/s_csqrt.c: Likewise.
34364         * math/s_csqrtf.c: Likewise.
34365         * math/s_csqrtl.c: Likewise.
34366         * math/s_ctanf.c: Likewise.
34367         * math/s_ctanh.c: Likewise.
34368         * math/s_ctanhf.c: Likewise.
34369         * math/s_ctanhl.c: Likewise.
34370         * math/s_ctanl.c: Likewise.
34372         * math/math_private.h: Define __nan, __nanf, __nanl.
34373         * math/s_cacosh.c: Include <math_private.h>.
34374         * math/s_cacoshl.c: Likewise.
34375         * math/s_casinh.c: Likewise.
34376         * math/s_casinhf.c: Likewise.
34377         * math/s_casinhl.c: Likewise.
34378         * math/s_ccos.c: Rely entire on ccosh.
34379         * math/s_ccosf.c: Rely entire on ccoshf.
34380         * math/s_ccosl.c: Rely entirely on ccoshl.
34381         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
34382         Remove tests for FE_INVALID.
34383         * math/s_ccoshf.c: Likewise.
34384         * math/s_ccoshl.c: Likewise.
34385         * math/s_csin.c: Likewise.
34386         * math/s_csinf.c: Likewise.
34387         * math/s_csinh.c Likewise.
34388         * math/s_csinhf.c: Likewise.
34389         * math/s_csinhl.c: Likewise.
34390         * math/s_csinl.c: Likewise.
34391         * math/s_ctan.c: Likewise.
34392         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
34393         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
34394         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
34396 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
34398         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
34399         compilation problems.
34401         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
34402         __builtin_expect.
34404 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
34406         * sysdeps/i386/configure.in: Test for -mfma4 option.
34407         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
34408         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
34409         COMMON_CPUID_INDEX_80000001.
34410         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
34411         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
34412         use it if FMA3 is not supported.
34413         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
34415         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
34416         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34418 2011-10-20  Andreas Schwab  <schwab@redhat.com>
34420         [BZ #12892]
34421         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
34422         it would create a cycle with a link time dependency.
34424 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
34426         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
34427         instruction.
34428         * string/Makefile (strop-tests): Add rawmemchr.
34429         * string/test-rawmemchr.c: New file.
34431         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
34432         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
34433         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
34434         when compiling str{,n}casecmp and when AVX is available.  Hook up
34435         new optimized code in initializers.
34437 2011-10-19  Andreas Schwab  <schwab@redhat.com>
34439         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
34440         __feraiseexcept instead of feraiseexcept.
34442 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
34444         * math/math_private.h: Define defaults for libc_fetestexcept and
34445         libc_feupdateenv.
34446         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
34447         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
34448         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34449         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34450         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34451         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34452         libc_fetestexcept and libc_feupdateenv.
34454         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
34455         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
34456         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
34457         * sysdeps/x86_64/fpu/math_private.h: Define special version of
34458         libc_feholdexcept_setround.
34460         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
34461         Add s_nearbyint-c and s_nearbyintf-c.
34462         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
34463         nearbyintf inlines.
34464         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
34465         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
34466         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
34467         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
34469         * math/math_private.h: Define defaults for libc_fegetround,
34470         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
34471         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
34472         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
34473         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
34474         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
34475         standard functions.
34476         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34477         Remove comments and hacks for old compiler versions.
34478         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34479         libc_fegetround, libc_fesetround, libc_feholdexcept, and
34480         libc_feholdexceptl.
34482 2011-10-18  Andreas Schwab  <schwab@redhat.com>
34484         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
34485         (__feraiseexcept_renamed): Add __NTH.
34486         (feraiseexcept): Add __NTH.  Rename local variables to fix
34487         namespace violations.
34489 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
34491         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
34493         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
34495         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
34496         recently added interfaces.
34497         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
34499         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
34500         about macro parameter expansion.
34502         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
34503         __NO_MATH_INLINES is defined.  Cleanups.
34505         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
34506         and __floorf is target has SSE4.1.
34507         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
34508         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
34509         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
34510         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
34512         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
34513         name.
34514         (floorf): Likewise.
34516         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
34518 2011-10-17  Andreas Schwab  <schwab@redhat.com>
34520         * misc/sys/cdefs.h: Fix last change.
34522         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
34523         database lookup.
34525 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
34527         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
34529         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
34530         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34531         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34532         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34533         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34534         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34535         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34536         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34537         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34538         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
34539         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
34540         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
34541         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
34542         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
34543         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
34544         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
34545         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
34546         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
34547         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
34548         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
34549         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
34550         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
34552         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
34553         ceil, ceilf, floor, floorf.
34555         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
34556         Perform IRELATIVE relocations last.
34558         * elf/do-rel.h: Add another parameter nrelative, replacing the
34559         local variable with the same name.  Change name of the function
34560         to end in Rel or Rela (uppercase).
34561         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
34562         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
34563         elf_dynamic_do_##reloc function.
34565 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
34567         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
34568         is sufficient, at least on modern CPUs.
34570         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
34572         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
34573         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
34575         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
34576         __expl_finite.
34577         * math/bits/math-finite.h: Add entries for exp.
34578         * math/e_expl.c: Add __*_finite alias.
34579         * sysdeps/i386/fpu/e_exp.S: Likewise.
34580         * sysdeps/i386/fpu/e_expf.S: Likewise.
34581         * sysdeps/i386/fpu/e_expl.c: Likewise.
34582         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34583         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34584         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34585         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34586         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
34587         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34588         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34590         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
34591         is sufficient, at least on modern CPUs.
34593         * ctype/ctype-info.c (__ctype_init): Define.
34594         * include/ctype.h (__ctype_init): Declare.
34595         (__ctype_b_loc): The variable is always initialized.
34596         (__ctype_toupper_loc): Likewise.
34597         (__ctype_tolower_loc): Likewise.
34598         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
34599         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
34601 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
34603         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
34605         * configure.in: Also look in $cxxmachine/include for C++ system
34606         headers.
34608 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34610         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
34611         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
34612         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
34613         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
34614         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
34615         (USE_AS_WMEMCMP): New macro.
34616         Fixing indents.
34617         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
34618         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
34619         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
34620         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
34621         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34622         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
34623         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
34624         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
34625         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
34626         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
34627         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
34628         (USE_AS_WMEMCMP): New macro.
34629         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
34630         * sysdeps/string/test-memcmp.c: Update.
34631         Fix simple_wmemcmp.
34632         Add new tests.
34633         * wcsmbs/wmemcmp.c: Update.
34634         (WMEMCMP): New macro.
34635         Fix overflow bug.
34637 2011-10-12  Andreas Jaeger  <aj@suse.de>
34639         [BZ #13268]
34640         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
34642 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
34644         * libio/iofwide.c (do_length): Avoid warning.
34646         * ctype/ctype.h (__isctype_f): Add missing __THROW.
34648 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
34650         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
34652         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
34653         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
34654         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
34655         * sysdeps/i386/i686/fpu/e_log.S: New file.
34656         * sysdeps/i386/i686/fpu/e_logf.S: New file.
34657         * sysdeps/i386/i686/fpu/e_logl.S: New file.
34659         * ctype/ctype.h: Add support for inlined isXXX functions when
34660         compiling C++ code.
34662 2011-10-14  Andreas Schwab  <schwab@redhat.com>
34664         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34666         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
34668 2011-10-13  Roland McGrath  <roland@hack.frob.com>
34670         [BZ #13291]
34671         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
34673 2011-10-13  Andreas Schwab  <schwab@redhat.com>
34675         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
34676         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
34677         feraiseexcept.
34679         * sysdeps/x86_64/memrchr.S: Check for zero size.
34681         * string/stratcliff.c: Add memrchr tests.
34683 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34685         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34686         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
34687         rawmemchr-sse2 rawmemchr-sse2-bsf.
34688         * sysdeps/i386/i686/multiarch/memchr.S: New file.
34689         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
34690         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
34691         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
34692         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
34693         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
34694         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
34695         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
34696         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
34697         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
34698         * string/memrchr.c (MEMRCHR): New macro.
34700 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
34702         Add integration with gcc's -ffinite-math-only and optimize wrapper
34703         functions in libm.
34704         * Versions.def: Define GLIBC_2.15 version for libm.
34705         * math/Makefile (headers): Add bits/math-finite.h.
34706         * math/bits/math-finite.h: New file.
34707         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
34708         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
34709         * math/e_acoshl.c: Add __*_finite alias.
34710         * math/e_acosl.c: Likewise.
34711         * math/e_asinl.c: Likewise.
34712         * math/e_atan2l.c: Likewise.
34713         * math/e_atanhl.c: Likewise.
34714         * math/e_coshl.c: Likewise.
34715         * math/e_exp10.c: Likewise.
34716         * math/e_exp10f.c: Likewise.
34717         * math/e_exp10l.c: Likewise.
34718         * math/e_exp2l.c: Likewise.
34719         * math/e_fmodl.c: Likewise.
34720         * math/e_gammal_r.c: Likewise.
34721         * math/e_hypotl.c: Likewise.
34722         * math/e_j0l.c: Likewise.
34723         * math/e_j1l.c: Likewise.
34724         * math/e_jnl.c: Likewise.
34725         * math/e_lgammal_r.c: Likewise.
34726         * math/e_log10l.c: Likewise.
34727         * math/e_log2l.c: Likewise.
34728         * math/e_logl.c: Likewise.
34729         * math/e_powl.c: Likewise.
34730         * math/e_sinhl.c: Likewise.
34731         * math/e_sqrtl.c: Likewise.
34732         * math/e_scalb.c: Completely rewritten and optimized.
34733         * math/e_scalbf.c: Likewise.
34734         * math/e_scalbl.c: Likewise.
34735         * math/w_acos.c: Likewise.
34736         * math/w_acosf.c: Likewise.
34737         * math/w_acosl.c: Likewise.
34738         * math/w_acosh.c: Likewise.
34739         * math/w_acoshf.c: Likewise.
34740         * math/w_acoshl.c: Likewise.
34741         * math/w_asin.c: Likewise.
34742         * math/w_asinf.c: Likewise.
34743         * math/w_asinl.c: Likewise.
34744         * math/w_atan2.c: Likewise.
34745         * math/w_atan2f.c: Likewise.
34746         * math/w_atan2l.c: Likewise.
34747         * math/w_atanh.c: Likewise.
34748         * math/w_atanhf.c: Likewise.
34749         * math/w_atanhl.c: Likewise.
34750         * math/w_exp10.c: Likewise.
34751         * math/w_exp10f.c: Likewise.
34752         * math/w_exp10l.c: Likewise.
34753         * math/w_fmod.c: Likewise.
34754         * math/w_fmodf.c: Likewise.
34755         * math/w_fmodl.c: Likewise.
34756         * math/w_j0.c: Likewise.
34757         * math/w_j0f.c: Likewise.
34758         * math/w_j0l.c: Likewise.
34759         * math/w_j1.c: Likewise.
34760         * math/w_j1f.c: Likewise.
34761         * math/w_j1l.c: Likewise.
34762         * math/w_jn.c: Likewise.
34763         * math/w_jnf.c: Likewise.
34764         * math/w_log.c: Likewise.
34765         * math/w_logf.c: Likewise.
34766         * math/w_logl.c: Likewise.
34767         * math/w_log10.c: Likewise.
34768         * math/w_log10f.c: Likewise.
34769         * math/w_log10l.c: Likewise.
34770         * math/w_log2.c: Likewise.
34771         * math/w_log2f.c: Likewise.
34772         * math/w_log2l.c: Likewise.
34773         * math/w_pow.c: Likewise.
34774         * math/w_powf.c: Likewise.
34775         * math/w_powl.c: Likewise.
34776         * math/w_remainder.c: Likewise.
34777         * math/w_remainderf.c: Likewise.
34778         * math/w_remainderl.c: Likewise.
34779         * math/w_scalb.c: Likewise.
34780         * math/w_scalbf.c: Likewise.
34781         * math/w_scalbl.c: Likewise.
34782         * math/w_sqrt.c: Likewise.
34783         * math/w_sqrtf.c: Likewise.
34784         * math/w_sqrtl.c: Likewise.
34785         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
34786         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
34787         used.
34788         * math/math_private.h: Declare __kernel_standard_f.
34789         * math/w_cosh.c: Remove cruft and optimize a bit.
34790         * math/w_coshf.c: Likewise.
34791         * math/w_coshl.c: Likewise.
34792         * math/w_exp2.c: Likewise.
34793         * math/w_exp2f.c: Likewise.
34794         * math/w_exp2l.c: Likewise.
34795         * math/w_hypot.c: Likewise.
34796         * math/w_hypotf.c: Likewise.
34797         * math/w_hypotl.c: Likewise.
34798         * math/w_lgamma.c: Likewise.
34799         * math/w_lgamma_r.c: Likewise.
34800         * math/w_lgammaf.c: Likewise.
34801         * math/w_lgammaf_r.c: Likewise.
34802         * math/w_lgammal.c: Likewise.
34803         * math/w_lgammal_r.c: Likewise.
34804         * math/w_sinh.c: Likewise.
34805         * math/w_sinhf.c: Likewise.
34806         * math/w_sinhl.c: Likewise.
34807         * math/w_tgamma.c: Likewise.
34808         * math/w_tgammaf.c: Likewise.
34809         * math/w_tgammal.c: Likewise.
34810         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34811         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34812         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
34813         Minor optimizations.  Pretty printing.  Remove cruft.
34814         * sysdeps/i386/fpu/e_acosf.S: Likewise.
34815         * sysdeps/i386/fpu/e_acosh.S: Likewise.
34816         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34817         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34818         * sysdeps/i386/fpu/e_acosl.c: Likewise.
34819         * sysdeps/i386/fpu/e_asin.S: Likewise.
34820         * sysdeps/i386/fpu/e_asinf.S: Likewise.
34821         * sysdeps/i386/fpu/e_atan2.S: Likewise.
34822         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
34823         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
34824         * sysdeps/i386/fpu/e_atanh.S: Likewise.
34825         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34826         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34827         * sysdeps/i386/fpu/e_exp10.S: Likewise.
34828         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
34829         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
34830         * sysdeps/i386/fpu/e_exp2.S: Likewise.
34831         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
34832         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
34833         * sysdeps/i386/fpu/e_fmod.S: Likewise.
34834         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
34835         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
34836         * sysdeps/i386/fpu/e_hypot.S: Likewise.
34837         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
34838         * sysdeps/i386/fpu/e_log.S: Likewise.
34839         * sysdeps/i386/fpu/e_log10.S: Likewise.
34840         * sysdeps/i386/fpu/e_log10f.S: Likewise.
34841         * sysdeps/i386/fpu/e_log10l.S: Likewise.
34842         * sysdeps/i386/fpu/e_log2.S: Likewise.
34843         * sysdeps/i386/fpu/e_log2f.S: Likewise.
34844         * sysdeps/i386/fpu/e_log2l.S: Likewise.
34845         * sysdeps/i386/fpu/e_logf.S: Likewise.
34846         * sysdeps/i386/fpu/e_logl.S: Likewise.
34847         * sysdeps/i386/fpu/e_pow.S: Likewise.
34848         * sysdeps/i386/fpu/e_powf.S: Likewise.
34849         * sysdeps/i386/fpu/e_powl.S: Likewise.
34850         * sysdeps/i386/fpu/e_remainder.S: Likewise.
34851         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
34852         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
34853         * sysdeps/i386/fpu/e_scalb.S: Likewise.
34854         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34855         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34856         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
34857         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
34858         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
34859         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34860         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34861         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34862         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34863         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34864         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34865         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
34866         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34867         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34868         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34869         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34870         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34871         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34872         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34873         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34874         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34875         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34876         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34877         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34878         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34879         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34880         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34881         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34882         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34883         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34884         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34885         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34886         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34887         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
34888         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34889         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34890         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34891         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34892         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34893         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34894         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34895         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34896         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34897         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34898         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34899         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34900         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34901         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34902         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34903         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34904         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34905         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34906         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34907         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34908         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
34909         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34910         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34911         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34912         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34913         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34914         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34915         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34916         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34917         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34918         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34919         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34920         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34921         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34922         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34923         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34924         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34925         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34926         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34927         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
34928         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34929         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34930         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34931         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34932         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34933         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34934         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34935         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34936         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34937         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34938         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34939         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34940         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34941         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
34942         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34943         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34944         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34945         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34946         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34947         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34948         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34949         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34950         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34951         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34952         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34953         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34954         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34955         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34956         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
34957         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
34958         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
34959         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
34960         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
34961         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
34962         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
34963         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34964         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34965         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34966         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34967         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
34968         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34969         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
34970         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
34971         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
34972         (__isnanf): Likewise.
34973         (__isinf_ns): Likewise.
34974         (__isinf_nsf): Likewise.
34975         (__finite): Likewise.
34976         (__finitef): Likewise.
34977         (__ieee754_sqrt): Define as macro.
34978         (__ieee754_sqrtf): Define as macro.
34979         (__ieee754_sqrtl): Define as macro.
34980         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
34981         inlined copy.
34982         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
34983         __FINITE_MATH_ONLY__ consistent.
34984         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
34986 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
34988         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
34989         of rawmemchr.
34991         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
34993 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
34995         * po/ja.po: Update from translation team.
34997 2011-10-08  Roland McGrath  <roland@hack.frob.com>
34999         * locale/programs/locarchive.c (prepare_address_space): New function.
35000         (create_archive, enlarge_archive, open_archive): Use it.
35002         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
35003         inside [SHARED], where it is used.
35005         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
35007         * nss/getent.c (netgroup_keys): Remove unused variable.
35008         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35010 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
35012         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
35013         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
35014         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
35015         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
35016         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
35017         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
35018         * math/Makefile (libm-calls): Add s_isinf_ns.
35019         * math/divtc3.c: Use __isinf_nsl instead of isinf.
35020         * math/multc3.c: Likewise.
35021         * math/s_casin.c: Likewise.
35022         * math/s_casinf.c: Likewise.
35023         * math/s_casinl.c: Likewise.
35024         * math/s_ccos.c: Likewise.
35025         * math/s_ccosf.c: Likewise.
35026         * math/s_ccosl.c: Likewise.
35027         * math/s_ctan.c: Likewise.
35028         * math/s_ctanf.c: Likewise.
35029         * math/s_ctanh.c: Likewise.
35030         * math/s_ctanhf.c: Likewise.
35031         * math/s_ctanhl.c: Likewise.
35032         * math/s_ctanl.c: Likewise.
35033         * math/w_fmod.c: Likewise.
35034         * math/w_fmodf.c: Likewise.
35035         * math/w_fmodl.c: Likewise.
35036         * math/w_remainder.c: Likewise.
35037         * math/w_remainderf.c: Likewise.
35038         * math/w_remainderl.c: Likewise.
35039         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
35040         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
35041         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
35042         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
35043         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
35044         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
35045         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
35046         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
35048         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
35049         of the number.
35050         * stdio-common/printf_fphex.c: Likewise.
35051         * stdio-common/printf_size.c: Likewise.
35053         * math/e_exp10.c: Include math_private.h using <...> not "...".
35054         * math/e_exp10f.c: Likewise.
35055         * math/e_exp10l.c: Likewise.
35056         * math/e_exp2l.c: Likewise.
35057         * math/e_j0l.c: Likewise.
35058         * math/e_j1l.c: Likewise.
35059         * math/e_jnl.c: Likewise.
35060         * math/e_lgammal_r.c: Likewise.
35061         * math/e_rem_pio2l.c: Likewise.
35062         * math/e_scalb.c: Likewise.
35063         * math/e_scalbf.c: Likewise.
35064         * math/e_scalbl.c: Likewise.
35065         * math/k_cosl.c: Likewise.
35066         * math/k_sinl.c: Likewise.
35067         * math/k_tanl.c: Likewise.
35068         * math/s_cacoshf.c: Likewise.
35069         * math/s_catan.c: Likewise.
35070         * math/s_catanf.c: Likewise.
35071         * math/s_catanh.c: Likewise.
35072         * math/s_catanhf.c: Likewise.
35073         * math/s_catanhl.c: Likewise.
35074         * math/s_catanl.c: Likewise.
35075         * math/s_ccosh.c: Likewise.
35076         * math/s_ccoshf.c: Likewise.
35077         * math/s_ccoshl.c: Likewise.
35078         * math/s_cexp.c: Likewise.
35079         * math/s_cexpf.c: Likewise.
35080         * math/s_cexpl.c: Likewise.
35081         * math/s_clog.c: Likewise.
35082         * math/s_clog10.c: Likewise.
35083         * math/s_clog10f.c: Likewise.
35084         * math/s_clog10l.c: Likewise.
35085         * math/s_clogf.c: Likewise.
35086         * math/s_clogl.c: Likewise.
35087         * math/s_csin.c: Likewise.
35088         * math/s_csinf.c: Likewise.
35089         * math/s_csinh.c: Likewise.
35090         * math/s_csinhf.c: Likewise.
35091         * math/s_csinhl.c: Likewise.
35092         * math/s_csinl.c: Likewise.
35093         * math/s_csqrt.c: Likewise.
35094         * math/s_csqrtf.c: Likewise.
35095         * math/s_csqrtl.c: Likewise.
35096         * math/s_ctan.c: Likewise.
35097         * math/s_ctanf.c: Likewise.
35098         * math/s_ctanh.c: Likewise.
35099         * math/s_ctanhf.c: Likewise.
35100         * math/s_ctanhl.c: Likewise.
35101         * math/s_ctanl.c: Likewise.
35102         * math/s_ldexp.c: Likewise.
35103         * math/s_ldexpf.c: Likewise.
35104         * math/s_ldexpl.c: Likewise.
35105         * math/s_significand.c: Likewise.
35106         * math/s_significandf.c: Likewise.
35107         * math/s_significandl.c: Likewise.
35108         * math/w_acos.c: Likewise.
35109         * math/w_acosf.c: Likewise.
35110         * math/w_acosh.c: Likewise.
35111         * math/w_acoshf.c: Likewise.
35112         * math/w_acoshl.c: Likewise.
35113         * math/w_acosl.c: Likewise.
35114         * math/w_asin.c: Likewise.
35115         * math/w_asinf.c: Likewise.
35116         * math/w_asinl.c: Likewise.
35117         * math/w_atan2.c: Likewise.
35118         * math/w_atan2f.c: Likewise.
35119         * math/w_atan2l.c: Likewise.
35120         * math/w_atanh.c: Likewise.
35121         * math/w_atanhf.c: Likewise.
35122         * math/w_atanhl.c: Likewise.
35123         * math/w_cosh.c: Likewise.
35124         * math/w_coshf.c: Likewise.
35125         * math/w_coshl.c: Likewise.
35126         * math/w_dremf.c: Likewise.
35127         * math/w_exp10.c: Likewise.
35128         * math/w_exp10f.c: Likewise.
35129         * math/w_exp10l.c: Likewise.
35130         * math/w_exp2.c: Likewise.
35131         * math/w_exp2f.c: Likewise.
35132         * math/w_fmod.c: Likewise.
35133         * math/w_fmodf.c: Likewise.
35134         * math/w_fmodl.c: Likewise.
35135         * math/w_hypot.c: Likewise.
35136         * math/w_hypotf.c: Likewise.
35137         * math/w_hypotl.c: Likewise.
35138         * math/w_j0.c: Likewise.
35139         * math/w_j0f.c: Likewise.
35140         * math/w_j0l.c: Likewise.
35141         * math/w_j1.c: Likewise.
35142         * math/w_j1f.c: Likewise.
35143         * math/w_j1l.c: Likewise.
35144         * math/w_jn.c: Likewise.
35145         * math/w_jnf.c: Likewise.
35146         * math/w_jnl.c: Likewise.
35147         * math/w_lgamma.c: Likewise.
35148         * math/w_lgamma_r.c: Likewise.
35149         * math/w_lgammaf.c: Likewise.
35150         * math/w_lgammaf_r.c: Likewise.
35151         * math/w_lgammal.c: Likewise.
35152         * math/w_lgammal_r.c: Likewise.
35153         * math/w_log.c: Likewise.
35154         * math/w_log10.c: Likewise.
35155         * math/w_log10f.c: Likewise.
35156         * math/w_log10l.c: Likewise.
35157         * math/w_log2.c: Likewise.
35158         * math/w_log2f.c: Likewise.
35159         * math/w_log2l.c: Likewise.
35160         * math/w_logf.c: Likewise.
35161         * math/w_logl.c: Likewise.
35162         * math/w_pow.c: Likewise.
35163         * math/w_powf.c: Likewise.
35164         * math/w_powl.c: Likewise.
35165         * math/w_remainder.c: Likewise.
35166         * math/w_remainderf.c: Likewise.
35167         * math/w_remainderl.c: Likewise.
35168         * math/w_scalb.c: Likewise.
35169         * math/w_scalbf.c: Likewise.
35170         * math/w_scalbl.c: Likewise.
35171         * math/w_sinh.c: Likewise.
35172         * math/w_sinhf.c: Likewise.
35173         * math/w_sinhl.c: Likewise.
35174         * math/w_sqrt.c: Likewise.
35175         * math/w_sqrtf.c: Likewise.
35176         * math/w_sqrtl.c: Likewise.
35177         * math/w_tgamma.c: Likewise.
35178         * math/w_tgammaf.c: Likewise.
35179         * math/w_tgammal.c: Likewise.
35181         * po/ja.po: Update from translation team.
35183 2011-09-29  Andreas Jaeger  <aj@suse.de>
35185         [BZ #13179]
35186         * sunrpc/netname.c (netname2host): Fix logic.
35188         [BZ #6779]
35189         [BZ #6783]
35190         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
35191         correctly.
35192         * math/w_remainder.c (__remainder): Likewise.
35193         * math/w_remainderf.c (__remainderf): Likewise.
35194         * math/libm-test.inc (remainder_test): Add test cases.
35196 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35198         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
35199         sdiv_qrnnd.
35201 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
35203         * string/test-memcmp.c: Avoid unncessary #defines.
35204         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
35206 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35208         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
35209         Use new sse2 version for core i3 - i7 as it's faster
35210         than sse42 version.
35211         (bit_Prefer_PMINUB_for_stringop): New.
35212         * sysdeps/x86_64/rawmemchr.S: Update.
35213         Replace with faster SSE2 version.
35214         * sysdeps/x86_64/memrchr.S: New file.
35215         * sysdeps/x86_64/memchr.S: Update.
35216         Replace with faster SSE2 version.
35218 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
35220         * elf/dl-load.c (lose): Add cast to avoid warning.
35222 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
35224         * po/ca.po: Update from translation team.
35226         * inet/getnetgrent_r.c: Hook up nscd.
35227         * nscd/Makefile (routines): Add nscd_netgroup.
35228         (nscd-modules): Add netgroupcache.
35229         (CFLAGS-netgroupcache.c): Define.
35230         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
35231         (cache_search): Add const to second parameter.
35232         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
35233         INNETGR.
35234         (dbs): Add netgrdb entry.
35235         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
35236         (verify_persistent_db): Handle netgrdb.
35237         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
35238         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
35239         GETFDNETGR.
35240         (netgroup_response_header): Define.
35241         (innetgroup_response_header): Define.
35242         (datahead): Add netgroup_response_header and innetgroup_response_header
35243         elements.
35244         * nscd/nscd.conf: Add entries for netgroup cache.
35245         * nscd/nscd.h (dbtype): Add netgrdb.
35246         (_PATH_NSCD_NETGROUP_DB): Define.
35247         (netgroup_iov_disabled): Declare.
35248         (xmalloc, xcalloc, xrealloc): Move declarations here.
35249         (cache_search): Adjust prototype.
35250         Add netgroup-related prototypes.
35251         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
35252         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
35253         (__nscd_innetgr): Declare.
35254         * nscd/selinux.c (perms): Use access_vector_t as element type and
35255         add netgroup-related initializers.
35256         * nscd/netgroupcache.c: New file.
35257         * nscd/nscd_netgroup.c: New file.
35258         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
35259         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
35260         For four parameters use innetgr.
35261         * nss/nss_files/files-init.c: Add definition and callback for netgr.
35262         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
35263         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
35264         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
35266         * nscd/connections.c (register_traced_file): Don't register file
35267         for disabled databases.
35269 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
35271         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
35273         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
35274         from tree and freeing node.
35276 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
35278         * nss/nsswitch.c (__nss_database_lookup): Handle
35279         nss_parse_service_list out of memory case.
35281 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
35283         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
35284         out of memory case.
35286 2011-10-04  Andreas Schwab  <schwab@redhat.com>
35288         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
35289         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
35290         pass it down.
35291         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
35292         elf_machine_rela, elf_machine_lazy_rel.
35293         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
35294         (ELF_DYNAMIC_DO_REL): Likewise.
35295         (ELF_DYNAMIC_DO_RELA): Likewise.
35296         (ELF_DYNAMIC_RELOCATE): Likewise.
35297         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
35298         to ELF_DYNAMIC_DO_REL.
35299         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
35300         (dl_main): In trace mode always set __RTLD_NOIFUNC.
35301         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
35302         elf_machine_rela.
35303         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
35304         skip_ifunc, don't call ifunc function if non-zero.
35305         (elf_machine_rela): Likewise.
35306         (elf_machine_lazy_rel): Likewise.
35307         (elf_machine_lazy_rela): Likewise.
35308         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
35309         (elf_machine_lazy_rel): Likewise.
35310         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
35311         Likewise.
35312         (elf_machine_lazy_rel): Likewise.
35313         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35314         Likewise.
35315         (elf_machine_lazy_rel): Likewise.
35316         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
35317         (elf_machine_lazy_rel): Likewise.
35318         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
35319         (elf_machine_lazy_rel): Likewise.
35320         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35321         (elf_machine_lazy_rel): Likewise.
35322         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
35323         (elf_machine_lazy_rel): Likewise.
35324         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
35325         (elf_machine_lazy_rel): Likewise.
35326         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35327         (elf_machine_lazy_rel): Likewise.
35329 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
35331         * nss/nss_files/files-init.c (_nss_files_init): Use static
35332         initialization for all the *_traced_file variables.
35334 2011-09-28  Andreas Schwab  <schwab@redhat.com>
35336         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35338 2011-09-27  Roland McGrath  <roland@hack.frob.com>
35340         [BZ #13226]
35341         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
35343 2011-09-27  Andreas Schwab  <schwab@redhat.com>
35345         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
35346         Reread the line before reparsing it.
35348 2011-09-26  Andreas Schwab  <schwab@redhat.com>
35350         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
35352 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
35353             Maxim Kuvyrkov  <maxim@codesourcery.com>
35354             Joseph Myers  <joseph@codesourcery.com>
35356         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
35357         if needed for __stack_chk_guard.
35359 2011-09-19  Roland McGrath  <roland@hack.frob.com>
35361         * sysdeps/posix/spawni.c (script_execute): Always define it.
35362         It will be optimized away if unused.
35363         (maybe_script_execute): New function.
35364         (__spawni): Call it.
35366         * Makerules: Don't include tls.make.
35367         (config-tls): Always set to thread.
35368         * tls.make.c: File removed.
35370 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
35372         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
35373         * config.make.in (CPPFLAGS-config): New substituted variable.
35375 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
35377         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
35379         [BZ #13192]
35380         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
35381         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
35383 2011-09-15  Roland McGrath  <roland@hack.frob.com>
35385         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
35386         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
35387         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35388         (CALL_FAIL): Likewise.
35389         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
35390         (CALL_FAIL): Macro removed.
35391         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
35393 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
35395         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
35396         for __FINITE_MATH_ONLY__ == 1.
35398 2011-09-15  Andreas Schwab  <schwab@redhat.com>
35400         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
35401         __ieee754_sqrt instead of sqrt.
35402         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
35403         __ieee754_sqrtf instead of sqrtf.
35404         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
35405         __floorf instead of floorf.
35406         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
35407         __floorf, __truncf instead of floorf, truncf.
35409 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
35411         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
35413         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
35414         __extern_always_inline.
35415         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
35416         32-bit.
35418 2011-09-14  Andreas Schwab  <schwab@redhat.com>
35420         * elf/rtld.c (dl_main): Also relocate in dependency order when
35421         doing symbol dependency testing.
35423 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
35425         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35426         Always define `refsym'.
35428 2011-09-13  Andreas Schwab  <schwab@redhat.com>
35430         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
35431         (__FD_ELT): Renamed from __FDELT.
35432         * misc/bits/select2.h (__FD_ELT): Likewise.
35433         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
35434         __FD_MASK instead of __FDELT, __FDMASK.
35435         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35436         Likewise.
35437         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35438         Likewise.
35440         * elf/Makefile (gen-ldd): Fix pattern.
35442         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
35443         (init_tls): Likewise.
35445 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
35447         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
35449 2011-09-12  Andreas Schwab  <schwab@redhat.com>
35451         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
35452         `struct cmsghdr *' instead of `void *'.
35453         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
35454         Likewise.
35456 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
35458         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
35459         if non-absolute.
35460         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
35461         ldd_rewrite_script.
35463 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
35465         * configure.in: Remove --with-tls option.
35466         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
35467         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
35468         out in case it is missing.
35469         * sysdeps/ia64/elf/configure.in: Likewise.
35470         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
35471         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
35472         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
35473         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
35474         * sysdeps/sh/elf/configure.in: Likewise.
35475         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
35476         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35477         * sysdeps/x86_64/elf/configure.in: Likewise.
35478         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
35479         * sysdeps/mach/hurd/tls.h: Likewise.
35481         [BZ #13067]
35482         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
35484         [BZ #13090]
35485         * configure.in: Fix use of AC_INIT.
35487         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
35489 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
35491         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
35492         __set_errno.
35493         * malloc/hooks.c: Likewise.
35495         [BZ #11929]
35496         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
35497         variables statically.
35498         (narenas): Initialize.
35499         (list_lock): Initialize.
35500         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
35501         initializtion of main_arena and list_lock.  Small cleanups.
35502         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
35503         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
35504         Add initializers to main_arena and mp_.
35505         (malloc_state): Remove pagesize member.  Change all users to use
35506         GLRO(dl_pagesize).
35508         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
35509         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
35510         is always initialized.
35512         * malloc/malloc.c: Removed unused configurations and dead code.
35513         * malloc/arena.c: Likewise.
35514         * malloc/hooks.c: Likewise.
35515         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
35517         * include/tls.h: Removed.  USE___THREAD must always be defined.
35518         * bits/libc-tsd.h: Don't handle !USE___THREAD.
35519         * elf/dl-libc.c: Likewise.
35520         * elf/dl-tsd.c: Likewise.
35521         * include/errno.h: Likewise.
35522         * include/netdb.h: Likewise.
35523         * include/resolv.h: Likewise.
35524         * inet/herrno-loc.c: Likewise.
35525         * inet/herrno.c: Likewise.
35526         * malloc/arena.c: Likewise.
35527         * malloc/hooks.c: Likewise.
35528         * malloc/malloc.c: Likewise.
35529         * resolv/res-state.c: Likewise.
35530         * resolv/res_libc.c: Likewise.
35531         * sysdeps/i386/dl-machine.h: Likewise.
35532         * sysdeps/ia64/dl-machine.h: Likewise.
35533         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35534         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35535         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35536         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35537         * sysdeps/sh/dl-machine.h: Likewise.
35538         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35539         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35540         * sysdeps/unix/i386/sysdep.S: Likewise.
35541         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35542         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
35543         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
35544         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35545         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
35546         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35547         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35548         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35549         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35550         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35551         * sysdeps/unix/x86_64/sysdep.S: Likewise.
35552         * sysdeps/x86_64/dl-machine.h: Likewise.
35553         * tls.make.c: Likewise.
35555         * configure.in: Remove --with-__thread option.  Make tests for
35556         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
35557         tls_model attribute fail if no support is available.  Remove
35558         USE_IN_LIBIO.
35559         * Makeconfig: Adjust for dropped configure option.  All features are
35560         now mandatory.
35561         * Makerules: Likewise.
35562         * Versions.def: Likewise.
35563         * argp/argp-fmtstream.c: Likewise.
35564         * argp/argp-fmtstream.h: Likewise.
35565         * argp/argp-help.c: Likewise.
35566         * assert/assert.c: Likewise.
35567         * config.h.in: Likewise.
35568         * config.make.in: Likewise.
35569         * configure: Likewise.
35570         * configure.in: Likewise.
35571         * csu/Versions: Likewise.
35572         * csu/init.c: Likewise.
35573         * elf/tst-audit2.c: Likewise.
35574         * elf/tst-tls10.c: Likewise.
35575         * elf/tst-tls10.h: Likewise.
35576         * elf/tst-tls11.c: Likewise.
35577         * elf/tst-tls12.c: Likewise.
35578         * elf/tst-tls14.c: Likewise.
35579         * elf/tst-tlsmod11.c: Likewise.
35580         * elf/tst-tlsmod12.c: Likewise.
35581         * elf/tst-tlsmod13.c: Likewise.
35582         * elf/tst-tlsmod13a.c: Likewise.
35583         * elf/tst-tlsmod14a.c: Likewise.
35584         * elf/tst-tlsmod15b.c: Likewise.
35585         * elf/tst-tlsmod16a.c: Likewise.
35586         * elf/tst-tlsmod16b.c: Likewise.
35587         * elf/tst-tlsmod7.c: Likewise.
35588         * elf/tst-tlsmod8.c: Likewise.
35589         * elf/tst-tlsmod9.c: Likewise.
35590         * gmon/gmon.c: Likewise.
35591         * grp/fgetgrent_r.c: Likewise.
35592         * grp/putgrent.c: Likewise.
35593         * hurd/fopenport.c: Likewise.
35594         * include/libc-symbols.h: Likewise.
35595         * include/tls.h: Likewise.
35596         * intl/gettextP.h: Likewise.
35597         * intl/loadinfo.h: Likewise.
35598         * locale/global-locale.c: Likewise.
35599         * locale/localeinfo.h: Likewise.
35600         * mach/devstream.c: Likewise.
35601         * malloc/arena.c: Likewise.
35602         * malloc/set-freeres.c: Likewise.
35603         * misc/err.c: Likewise.
35604         * misc/getttyent.c: Likewise.
35605         * misc/mntent_r.c: Likewise.
35606         * posix/getopt.c: Likewise.
35607         * posix/wordexp.c: Likewise.
35608         * pwd/fgetpwent_r.c: Likewise.
35609         * resolv/Versions: Likewise.
35610         * resolv/res_hconf.c: Likewise.
35611         * shadow/fgetspent_r.c: Likewise.
35612         * shadow/putspent.c: Likewise.
35613         * stdio-common/printf_fphex.c: Likewise.
35614         * stdio-common/tmpfile.c: Likewise.
35615         * stdlib/abort.c: Likewise.
35616         * stdlib/fmtmsg.c: Likewise.
35617         * sunrpc/auth_unix.c: Likewise.
35618         * sunrpc/clnt_perr.c: Likewise.
35619         * sunrpc/clnt_tcp.c: Likewise.
35620         * sunrpc/clnt_udp.c: Likewise.
35621         * sunrpc/clnt_unix.c: Likewise.
35622         * sunrpc/openchild.c: Likewise.
35623         * sunrpc/svc_simple.c: Likewise.
35624         * sunrpc/svc_tcp.c: Likewise.
35625         * sunrpc/svc_udp.c: Likewise.
35626         * sunrpc/svc_unix.c: Likewise.
35627         * sunrpc/xdr.c: Likewise.
35628         * sunrpc/xdr_array.c: Likewise.
35629         * sunrpc/xdr_rec.c: Likewise.
35630         * sunrpc/xdr_ref.c: Likewise.
35631         * sunrpc/xdr_stdio.c: Likewise.
35633 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
35635         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35637 2011-07-03  Andreas Jaeger  <aj@suse.de>
35639         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
35640         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
35641         regenerate with gen-libm-tests.pl.
35643 2010-05-12  Petr Baudis  <pasky@suse.cz>
35645         [BZ #11589]
35646         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
35647         around j0() zero points by switching to j1().
35648         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35649         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35650         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35651         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35653 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
35655         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
35656         instead of 0.
35657         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
35658         instead of 0.
35659         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35660         Patch in part by Pavel Roskin <proski@gnu.org>.
35662         [BZ #13138]
35663         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
35664         realloc.
35665         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
35666         Free memory block if necessary.
35668         [BZ #12847]
35669         * libio/genops.c (INTDEF): For string streams the _lock pointer can
35670         be NULL.  Don't lock in this case.
35672 2011-09-09  Roland McGrath  <roland@hack.frob.com>
35674         * elf/elf.h (ELFOSABI_GNU): New macro.
35675         (ELFOSABI_LINUX): Define to that.
35677 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
35679         * string/strncat.c (strncat): Undef the symbol in case it has been
35680         defined in bits/string.h.
35682 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
35684         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
35686         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
35687         link map.
35689 2011-08-17  Andreas Jaeger  <aj@suse.de>
35691         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
35693 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
35694             Ian Lance Taylor  <iant@google.com>
35696         * math/libm-test.inc (lround_test): New testcase.
35697         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
35699 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
35701         * Makefile: Remove support for automatic cvs check-ins.
35702         * Makerules: Likewise.
35703         * config.make.in: Likewise.
35704         * configure.in: Likewise.
35705         * intl/Makefile: Likewise.
35706         * locale/Makefile: Likewise.
35707         * po/Makefile: Likewise.
35708         * posix/Makefile: Likewise.
35709         * sysdeps/gnu/Makefile: Likewise.
35710         * sysdeps/mach/hurd/Makefile: Likewise.
35711         * sysdeps/sparc/sparc32/Makefile: Likewise.
35713         [BZ #13118]
35714         * posix/Makefile (bug-regex32-ENV): Define.
35715         Patch by John Stanley <jpsinthemix@verizon.net>.
35717         * misc/Makefile (headers): Add bits/select2.h.
35718         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
35719         * misc/bits/select2.h: New file.
35720         * include/bits/select2.h: New file.
35721         * debug/Makefile (routines): Add fdelt_chk.
35722         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
35723         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
35724         FD_ISSET.
35725         * debug/fdelt_chk.c: New file.
35727         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
35728         * wcsmbs/test-wmemcmp.c: Likewise.
35729         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
35730         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
35732 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35734         * string/Makefile (strop-tests): Add memcmp.
35735         * string/test-wmemcmp.c: New file.
35736         * string/test-memcmp.c: Add wmemcmp support.
35738 2011-09-08  Roland McGrath  <roland@hack.frob.com>
35740         [BZ #13153]
35741         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
35742         2011-07-19 change.
35744         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
35745         garbage value in a __mach_port_mod_refs call in the cases of the
35746         task-self and thread-self ports.
35748 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35750         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
35752 2011-09-08  Andreas Schwab  <schwab@redhat.com>
35754         * elf/dl-load.c (lose): Check for non-null L.
35756 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
35758         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
35760         * elf/dl-libc.c (dlerror_run): Pass back error code from
35761         dl_catch_error.
35763         [BZ #13123]
35764         * elf/dl-load.c (lose): Free l_origin if it is valid.
35766         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
35767         names.
35768         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
35769         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35770         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35771         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35772         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
35773         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
35775 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35777         * sysdeps/powerpc/fpu/e_hypot.c: New file.
35778         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
35779         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
35780         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
35781         * sysdeps/powerpc/fpu/k_cosf.c: New file.
35782         * sysdeps/powerpc/fpu/k_sinf.c: New file.
35783         * sysdeps/powerpc/fpu/s_cosf.c: New file.
35784         * sysdeps/powerpc/fpu/s_sinf.c: New file.
35785         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
35786         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
35788 2011-08-15  Alan Modra  <amodra@gmail.com>
35790         [BZ #13092]
35791         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
35792         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
35793         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
35794         ppc_mcount to static-only-routines.
35795         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
35796         __mcount_internal.
35797         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
35798         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
35800 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
35802         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
35803         for finite and infinity parameters.
35805 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
35807         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
35808         and add nop instructions for throughput optimization.
35809         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35811 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
35813         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
35814         aligned copy for power7 with vector-scalar instructions.
35815         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
35817 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
35819         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
35820         AVX check.
35822 2011-09-07  Andreas Schwab  <schwab@redhat.com>
35824         [BZ #13144]
35825         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
35826         last change.
35828 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
35830         * sysdeps/unix/sysv/linux/x86_64/init-first.c
35831         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
35832         syscall wrapper around clock_gettime in __vdso_clock_gettime.
35833         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
35834         clock_gettime.
35836 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
35838         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
35839         Forgot to demangle the pointer.
35841         * sysdeps/i386/sysdep.h: Define atom_text_section.
35842         * sysdeps/x86_64/sysdep.h: Likewise.
35843         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
35844         section with atom_text_section.
35845         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35846         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35847         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
35848         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35849         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
35851         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
35852         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
35853         already be defined.  Change to take two parameters and don't assign
35854         result to variable.  Adjust all users.
35855         Define INTERNAL_GETTIME if not already defined.
35856         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
35857         call.
35858         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
35859         HAVE_CLOCK_GETTIME_VSYSCALL.
35860         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
35862         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
35863         gettimeofday vsyscall, just use time.
35865 2011-09-06  Andreas Schwab  <schwab@redhat.com>
35867         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
35868         <errno.h>.
35870 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
35872         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
35873         syscall on x86-64.
35874         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
35875         syscall.
35876         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
35877         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
35878         syscall if possible.
35880 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
35882         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
35883         e_ident.  Don't pass to find_mapsXX.
35884         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
35886 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35888         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35889         strchr-sse2-no-bsf strrchr-sse2-no-bsf
35890         * sysdeps/x86_64/multiarch/strchr.S: Update.
35891         Check bit_slow_BSF bit.
35892         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35893         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
35894         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
35896 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
35898         [BZ #13134]
35899         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
35900         before glibc 2.15.
35901         (tryshell): Define.
35902         (__spawni): Change last parameter to be flag.  Test
35903         SPAWN_XFLAGS_USE_PATH flag to use path or not.
35904         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
35905         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
35906         * posix/spawni.c: Likewise.
35907         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
35908         * posix/spawnp.c: Likewise.  Change normal version to use
35909         SPAWN_XFLAGS_USE_PATH.
35910         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
35911         SPAWN_XFLAGS_TRY_SHELL.
35913         [BZ #13150]
35914         * posix/glob.h: Remove gcc 1.x support.
35916         [BZ #13068]
35917         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
35919 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35921         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35922         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
35923         strrchr-sse2-bsf
35924         * sysdeps/i386/i686/multiarch/strchr.S: New file.
35925         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
35926         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
35927         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
35928         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
35929         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
35931 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35933         * sysdeps/x86_64/wcscmp.S: New file.
35935         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
35936         wcscmp-c wcscmp-sse2
35937         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
35938         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
35939         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
35940         * wcsmbs/wcscmp.c: Allow renaming.
35942 2011-09-05  David S. Miller  <davem@davemloft.net>
35944         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
35945         stack slot, rather than the struct return pointer slot.
35946         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
35947         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
35948         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
35949         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
35951 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
35953         * po/ja.po: Update from translation team.
35955         [BZ #13144]
35956         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
35957         kernel in 64-bit binaries.
35959 2011-09-01  David S. Miller  <davem@davemloft.net>
35961         * elf/elf.h (HWCAP_SPARC_*): Move to..
35962         * sysdeps/sparc/sysdep.h: this new file and add new values.
35963         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
35964         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
35965         _DL_HWCAP_COUNT to 24.
35966         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35967         entries.
35968         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
35969         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
35970         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
35971         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
35972         instead of magic constants.
35973         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35975 2011-08-31  David S. Miller  <davem@davemloft.net>
35977         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
35978         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
35979         Reimplement to do errno handling inline.
35980         (SYSCALL_ERROR_HANDLER): New macro.
35981         (__SYSCALL_STRING): Do not do errno handling in asm.
35982         (__CLONE_SYSCALL_STRING): Delete.
35983         (__INTERNAL_SYSCALL_STRING): Delete.
35984         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
35985         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
35986         (PSEUDO): Reimplement to do errno handling inline.
35987         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
35988         (SYSCALL_ERROR_HANDLER): New macro.
35989         (__SYSCALL_STRING): Do not do errno handling in asm.
35990         (__CLONE_SYSCALL_STRING): Delete.
35991         (__INTERNAL_SYSCALL_STRING): Delete.
35992         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
35993         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
35994         i386.
35995         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
35996         (inline_syscall*): Add 'err' argument.
35997         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
35998         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
35999         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
36000         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
36002         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
36003         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36005 2011-08-30  Andreas Schwab  <schwab@redhat.com>
36007         * elf/rtld.c (dl_main): Relocate objects in dependency order.
36009 2011-08-29  Jiri Olsa <jolsa@redhat.com>
36011         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
36012         directive.
36014 2011-08-24  David S. Miller  <davem@davemloft.net>
36016         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
36018 2011-08-24  Andreas Schwab  <schwab@redhat.com>
36020         * elf/Makefile: Add rules to build and run unload8 test.
36021         * elf/unload8.c: New file.
36022         * elf/unload8mod1.c: New file.
36023         * elf/unload8mod1x.c: New file.
36024         * elf/unload8mod2.c: New file.
36025         * elf/unload8mod3.c: New file.
36027         * elf/dl-close.c (_dl_close_worker): Reset private search list if
36028         it wasn't used.
36030 2011-08-23  David S. Miller  <davem@davemloft.net>
36032         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
36033         subtract stack bias.
36034         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
36035         %sp not %fp in calculations.
36036         (_JMPBUF_UNWINDS_ADJ): Likewise.
36038         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
36039         (aio_suspend): Call it to force an exception region around the
36040         AIO_MISC_WAIT() invocation.
36042 2011-08-23  Andreas Schwab  <schwab@redhat.com>
36044         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
36045         backslash.
36047 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
36049         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
36050         protection macro.
36051         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
36052         and <dl-machine.h>.
36053         (Elf64_FuncDesc): Remove.
36055 2011-08-22  David S. Miller  <davem@davemloft.net>
36057         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
36058         sigaltstack check, add missing cfi directives.
36059         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
36060         missing cfi directives, and sigaltstack handling.
36062 2011-08-16  Andreas Schwab  <schwab@redhat.com>
36064         [BZ #11724]
36065         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
36066         object is seen twice.
36067         * elf/dl-fini.c (_dl_sort_fini): Likewise.
36069         * elf/Makefile (distribute): Add tst-initorder2.c.
36070         (tests): Add tst-initorder2.
36071         (modules-names): Add tst-initorder2a tst-initorder2b
36072         tst-initorder2c tst-initorder2d.  Add rules to build them.
36073         ($(objpfx)tst-initorder2.out): New rule.
36074         * elf/tst-initorder2.c: New file.
36075         * elf/tst-initorder2.exp: New file.
36077 2011-08-22  Andreas Schwab  <schwab@redhat.com>
36079         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
36081         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
36082         dependencies back to end of function.
36084         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36085         $(elfobjdir)/ld.so.
36087 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
36089         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
36090         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
36091         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
36092         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
36093         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
36094         of __vdso_gettimeofday.
36095         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
36096         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
36097         attribute_hidden.
36098         (_libc_vdso_platform_setup): Remove initialization of
36099         __vdso_gettimeofday and __vdso_time.
36101 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
36103         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
36104         and fgetc_unlocked.
36105         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
36106         getc_unlocked.
36108         * elf/dl-open.c (add_to_global): Report additions to the global scope
36109         for LD_DEBUG=scopes.
36110         (dl_open_worker): Also print scope of newly loaded dependencies.
36111         (_dl_show_scope): Indicate if there is no scope.
36113         [BZ #13114]
36114         * stdio-common/Makefile (tests): Add bug24.
36115         * stdio-common/bug24.c: New file.
36117 2011-08-19  Andreas Jaeger  <aj@suse.de>
36119         [BZ #13114]
36120         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
36121         non-existant file when using close-on-exec mode.
36123 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
36125         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
36126         the very first instruction.
36128         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
36129         the CFI state in the end.
36130         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
36131         inclusion of dl-trampoline.h.
36132         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
36134 2011-08-19  Andreas Schwab  <schwab@redhat.com>
36136         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
36137         expectations for long double.
36139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
36140         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
36142 2011-08-14  David S. Miller  <davem@davemloft.net>
36144         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
36145         artificual limit depends upon the system page size.
36147 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
36149         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
36150         * resolv/Makefile: Define CFLAGS-libresolv.
36152 2011-08-17  Andreas Schwab  <schwab@redhat.com>
36154         * nss/makedb.c (compute_tables): Make variables used in nested
36155         function static.
36157 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
36159         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
36160         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
36161         if buffer was too small.
36163         * elf/pldd.c (main): Attach to all threads in the process.
36164         Rewrite /proc handling to use *at functions.
36166 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
36168         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
36169         specifies first scope to show.
36170         (dl_open_worker): Update callers.  Move printing scope of new
36171         object to before the relocation.
36172         * elf/rtld.c (dl_main): Update _dl_show_scope call.
36173         * sysdeps/generic/ldsodefs.h: Update declaration.
36175         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
36176         string for the scope number.
36178 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
36180         * nscd/servicescache.c (cache_addserv): Make sure written is always
36181         initialized.
36183 2011-08-14  Roland McGrath  <roland@hack.frob.com>
36185         * sysdeps/i386/i486/bits/atomic.h
36186         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
36187         statement expression, so as to suppress "set but not used" warning.
36188         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
36190         * string/strncat.c (STRNCAT): Use prototype definition.
36192         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
36193         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
36194         -Iprograms here.
36195         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
36196         (localedef-modules): Add localedef.
36197         (locale-modules): Add locale.
36199         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
36200         * elf/rtld.c (dl_main): Invert order of assignment in last change,
36201         to avoid a warning.
36203 2011-08-14  David S. Miller  <davem@davemloft.net>
36205         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
36206         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
36208 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
36210         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
36211         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
36212         * elf/rtld.c (dl_main): Set l_name of vDSO.
36213         Call _dl_show_scope when DL_DEBUG_SCOPES.
36214         (process_dl_debug): Recognize scopes flag and also set it for all.
36215         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
36216         Declare _dl_show_scope.
36218         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
36219         (do_dlopen): Pass caller_dlopen to dl_open.
36220         (__libc_dlopen_mode): Initialize caller_dlopen.
36222         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
36223         of libc.  Make tolower call locale-independent.  Optimize a bit by
36224         using isdigit instead of isalnum.
36225         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
36227 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
36229         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
36230         was a dependency or dynamically loaded.
36232 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
36234         * intl/l10nflist.c: Allow architecture-specific pop function.
36235         * sysdeps/x86_64/l10nflist.c: New file.
36237         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
36238         classification.
36240 2011-08-10  Andreas Schwab  <schwab@redhat.com>
36242         * include/dirent.h: Add libc_hidden_proto for scandirat and
36243         scandirat64.  Don't declare __scandirat64.
36244         * dirent/scandirat.c: Add libc_hidden_def.
36245         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
36246         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
36248 2011-08-10  David S. Miller  <davem@davemloft.net>
36250         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
36251         enum.
36252         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36253         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36254         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36256 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
36258         * Versions.def [libc]: Add GLIBC_2.15.
36259         * dirent/Makefile (routines): Add scandirat and scandirat64.
36260         * dirent/Versions [libc]: Export scandirat and scandirat64 for
36261         GLIBC_2.15.
36262         * dirent/dirent.h: Declare scandirat and scandirat64.
36263         * dirent/scandirat.c: New file.
36264         * dirent/scandirat64.c: New file.
36265         * sysdeps/wordsize-64/scandirat.c: New file.
36266         * sysdeps/wordsize-64/scandirat64.c: New file.
36267         * dirent/opendir.c: Define opendirat.
36268         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
36269         using scandirat.
36270         * dirent/scandir64.c: Adjust for scandir.c change.
36271         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
36272         __scandirat64, and __scandir_cancel_handler.
36273         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
36274         additional parameter and use openat instead of open (outside of ld.so).
36275         Add new __opendir as wrapper around __opendirat.
36276         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
36277         here without requiring old scandirat implementation.
36279 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
36281         * dirent/scandir.c (cancel_handler): Renamed to
36282         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
36283         defined.  Adjust users.
36284         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
36285         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
36287 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
36289         * string/test-string.h (IMPL): Use __STRING to expand name and then
36290         stringify it.
36292         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
36293         of cleanups.
36295 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36297         * string/Makefile: Update.
36298         (strop-tests): Append strncat.
36299         * string/test-wcscmp.c: New file.
36300         New comprehensive test for wcscmp.
36301         * string/test-strcmp.c: Update.
36302         (WIDE): New define.
36304 2011-07-22  Andreas Schwab  <schwab@redhat.com>
36306         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
36307         line.
36309 2011-07-26  Andreas Schwab  <schwab@redhat.com>
36311         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36312         encoding to ACE if AI_IDN.
36314 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
36316         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
36317         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
36319 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36321         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
36322         Fix overflow bug in strncat.
36323         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
36325         * string/test-strncat.c: Update.
36326         Add new tests for checking overflow bugs.
36328 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36330         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36331         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
36332         * sysdeps/i386/i686/multiarch/strcat.S: New file.
36333         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
36334         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
36335         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
36336         * sysdeps/i386/i686/multiarch/strncat.S: New file.
36337         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
36338         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
36340         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
36341         (USE_AS_STRCAT): Define.
36342         Add strcat and strncat support.
36343         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36345 2011-07-25  Andreas Schwab  <schwab@redhat.com>
36347         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
36348         __n bigger than INT_MAX+1.
36349         (__strncmp_g): Likewise.
36351 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
36353         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
36354         * libio/stido.h: Likewise.
36356         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
36357         (AF_NFC): Define.
36358         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
36359         (AF_NFC): Define.
36361         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
36362         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36363         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36364         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
36365         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36367         [BZ #13021]
36368         * scripts/test-installation.pl: Don't expect libnss_test1 to be
36369         installed.
36371         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
36372         typo.
36373         (_dl_x86_64_save_sse): Likewise.
36375 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
36377         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
36378         OSXSAVE.
36379         (_dl_x86_64_save_sse): Likewise.
36381         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
36383         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
36385 2011-07-21  Andreas Schwab  <schwab@redhat.com>
36387         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
36388         change.
36389         (_dl_x86_64_save_sse): Use correct AVX check.
36391 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36393         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
36394         bug in strncpy/strncat.
36395         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
36397 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
36399         * string/tester.c (test_strcat): Add tests for different alignments
36400         of source and destination.
36401         (test_strncat): Likewise.
36403 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
36405         [BZ #12852]
36406         * posix/glob.c (glob): Check passed in values before using them in
36407         expressions to avoid some overflows.
36408         (glob_in_dir): Likewise.
36410         [BZ #13007]
36411         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
36412         check for AVX enablement so that we don't crash with old kernels and
36413         new hardware.
36414         * elf/tst-audit4.c: Add same checks here.
36415         * elf/tst-audit6.c: Likewise.
36417         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
36419 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
36421         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
36423 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
36425         * po/cs.po: Update from translation team.
36426         * po/bg.po: Likewise.
36428 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
36430         * misc/sys/cdefs.h: Add support for const attribute.
36431         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
36432         to gnu_dev_{major,minor,makedev} functions.
36434 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
36436         * intl/dcigettext.c (get_output_charset): Add missing bracket.
36438 2011-07-20  Andreas Schwab  <schwab@redhat.com>
36440         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
36441         strlen results.
36443 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36445         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36446         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
36447         register in order to avoid conflicts with the soft frame pointer
36448         being held in r11 when necessary.
36449         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36450         (INTERNAL_VSYSCALL_NCS): Likewise.
36452 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
36454         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
36455         * elf/dl-fini.c (_dl_fini): Adjust caller.
36456         * elf/dl-close.c (_dl_close_worker): Likewise.
36457         * sysdeps/generic/ldsodefs.h: Adjust declaration.
36459 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
36461         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
36462         "aux_cache->nlibs < 0".
36464         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
36465         in the reload-count case.
36467 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36469         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36470         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
36471         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
36472         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
36473         * sysdeps/x86_64/multiarch/strcat.S: New file.
36474         * sysdeps/x86_64/multiarch/strncat.S: New file.
36475         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
36476         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
36477         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
36478         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
36479         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
36480         (USE_AS_STRCAT): Define.
36481         Add strcat and strncat support.
36482         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36483         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36484         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
36485         * string/strncat.c: Update.
36486         (USE_AS_STRNCAT): Define.
36487         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36488         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
36489         and i7.
36490         * sysdeps/x86_64/multiarch/init-arch.h
36491         (bit_Prefer_PMINUB_for_stringop): New.
36492         (index_Prefer_PMINUB_for_stringop): Likewise.
36493         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
36494         bit_Prefer_PMINUB_for_stringop.
36496 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
36498         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
36499         buffer64.
36500         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
36501         of casting of buffer.
36502         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
36503         buffer32 and buffer64.
36504         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
36505         writes instead of casting of buffer.
36506         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
36507         buffer32.
36508         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
36509         casting of buffer.
36511 2011-07-19  Andreas Schwab  <schwab@redhat.com>
36513         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
36515 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
36517         * nscd/nscd.c (termination_handler): Don't do anything for a database
36518         if it has not yet been initialized.
36520 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
36522         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36524 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
36526         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36528 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
36530         * po/nl.po: Update from translation team.
36531         * po/sv.po: Likewise.
36533 2011-07-16  Roland McGrath  <roland@hack.frob.com>
36535         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
36536         now disallowed by GCC.
36538         * configure.in (use-default-link): Default to yes if a test -shared
36539         link meets our qualifications.
36540         * configure: Regenerated.
36542         * config.make.in (output-format): New variable.
36543         * configure.in: Check for ld --print-output-format support.
36544         * configure: Regenerated.
36545         * Makerules ($(common-objpfx)format.lds)
36546         [$(output-format) != unknown]: Just use $(output-format),
36547         instead of the linker-script munging.
36549 2011-07-14  Roland McGrath  <roland@hack.frob.com>
36551         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
36552         of $(common-objpfx)shlib.lds.
36553         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
36555         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
36556         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
36558         * configure.in (-z relro check): Adjust test code to add a large
36559         writable data section after it.
36560         * configure: Regenerated.
36562 2011-07-11  Roland McGrath  <roland@hack.frob.com>
36564         * configure.in (-z relro check): Fix test code to make the variable
36565         truly const.
36566         * configure: Regenerated.
36568 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
36570         * nscd/nscd.h (struct traced_file): Define.
36571         (struct database_dyn): Remove inotify_descr, reset_res, and filename
36572         elements.  Add traced_files.
36573         (inotify_fd): Declare.
36574         (register_traced_file): Declare.
36575         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
36576         (inotify_fd): Export.
36577         (resolv_conf_descr): Remove.
36578         (nscd_init): Move inotify descriptor creation to main.
36579         Don't register files for notification here.
36580         (register_traced_file): New function.
36581         (invalidate_cache): Don't use reset_res to determine whether to call
36582         res_init, go through the list of registered files.
36583         (main_loop_poll): The inotify descriptors are now stored in the
36584         structures for the traced files.
36585         (main_loop_epoll): Likewise
36586         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
36587         to __nss_disable_nscd.
36588         * nscd/cache.c (prune_cache): There is no single inotify descriptor
36589         for a database anymore.  Check the records for all the registered
36590         files instead.
36591         * nss/Makefile (libnss_files-routines): Add files-init.
36592         (libnss_db-routines): Add db-init.
36593         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
36594         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
36595         * nss/nss_db/db-init.c: New file.
36596         * nss/nss_files/files-init.c: New file.
36597         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
36598         __nss_lookup_function.
36599         (__nss_lookup_function): Call nss_load_library.
36600         (nss_load_all_libraries): New function.
36601         (__nss_disable_nscd): Take parameter with callback function for files
36602         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
36603         used for the cached services.
36604         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
36605         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
36606         options for features to all the files in nscd.
36608         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
36610 2011-07-10  Roland McGrath  <roland@hack.frob.com>
36612         * csu/elf-init.c (__libc_csu_init): Comment typo.
36614 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
36616         * po/pl.po: Update from translation team.
36617         * po/ja.po: Likewise.
36618         * po/ru.po: Likewise.
36619         * po/ko.po: Likewise.
36620         * po/fr.po: Likewise.
36622 2011-07-09  Roland McGrath  <roland@hack.frob.com>
36624         * configure.in (.ctors/.dtors header and trailer check):
36625         Use an empirical test on a built program.
36626         * configure: Regenerated.
36628         * configure.in (-z relro check): Use an empirical test on a built DSO.
36629         Detect, but do not require, on ia64.
36630         * configure: Regenerated.
36632         * configure.in (READELF): Find it with AC_CHECK_TOOL.
36633         Update tests that use readelf to use $READELF instead.
36634         * configure: Regenerated.
36636 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
36638         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
36639         if the result is not used.
36641 2011-07-05  Andreas Jaeger  <aj@suse.de>
36643         [BZ#9696]
36644         * stdlib/tst-strtod.c: Add testcase.
36646 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
36648         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
36649         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
36650         The latter has a higher limit.  Take additional parameter to pass to
36651         the new function.
36652         (__pathconf): Pass file to __statfs_link_max.
36653         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
36654         __statfs_link_max.
36655         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
36656         __statfs_link_max.
36658         [BZ #12868]
36659         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
36660         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36661         Handle Lustre.
36662         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
36663         (__statfs_filesize_max): Likewise.
36664         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
36666 2011-07-05  Andreas Jaeger  <aj@suse.de>
36668         * resolv/res_comp.c (dn_skipname): Remove unused variable.
36670 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
36672         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
36673         `status' variable.
36674         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
36675         Likewise.
36677 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
36679         * Makefile (strop-tests): Add strncat.
36680         * string/test-strncat.c: New file.
36682 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
36684         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
36686 2011-06-21  Andreas Jaeger  <aj@suse.de>
36688         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
36689         Copy rule from iconvdata/Makefile.
36691 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
36693         [BZ #12922]
36694         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
36695         but no long options are defined, just return 'W'.
36697 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
36699         [BZ #9696]
36700         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
36702 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
36704         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
36705         netgroups to read.
36706         (innetgr): Likewise.
36708 2011-07-05  Roland McGrath  <roland@hack.frob.com>
36710         * config.make.in (install_root): Default to $(DESTDIR).
36712 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
36714         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
36716 2011-07-02  Roland McGrath  <roland@hack.frob.com>
36718         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
36720         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
36721         containing directory rather than embedding absolute directory names.
36723         * scripts/check-local-headers.sh: Rewritten using awk.
36724         Match by word, not by line.  Print error messages for matches.
36725         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
36727         * Makerules [shlib-lds-flags empty]:
36728         ($(common-objpfx)libc_pic.opts): New target.
36729         ($(common-objpfx)libc_pic.os.clean): New target.
36730         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
36732         * config.make.in (OBJCOPY): New variable.
36733         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
36734         * configure: Regenerated.
36736         * config.make.in (use-default-link): New variable.
36737         * configure.in (use_default_link): Grok --with-default-link to set it.
36738         * configure: Regenerated.
36739         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
36740         (shlib-lds, shlib-lds-flags): Define to empty.
36742         * Makerules (shlib-lds): New variable.
36743         (shlib-lds-flags): New variable.
36744         (build-shlib, build-moduile, build-module-asneeded): Use it.
36745         ($(common-objpfx)libc.so): Use $(shlib-lds).
36746         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
36747         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
36749         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
36750         DT_FLAGS/DT_FLAGS_1 with zero flags.
36752         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
36753         linker script munging.
36755 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
36757         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
36758         as 128-bit value.
36759         * crypt/sha512.c (sha512_process_block): Perform total addition using
36760         128-bit if possible.
36761         (__sha512_finish_ctx): Likewise.
36762         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
36763         as 64-bit value.
36764         * crypt/sha256.c (SWAP64): Define.
36765         (sha256_process_block): Perform total addition using 64-bit if
36766         possible.
36767         (__sha256_finish_ctx): Likewise.
36769 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
36771         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
36772         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36773         * nscd/hstcache.c (cache_addhst): Likewise.
36774         * nscd/grpcache.c (cache_addgr): Likewise.
36775         * nscd/aicache.c (addhstaiX): Likewise
36776         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
36778 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
36780         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
36781         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36782         * nscd/hstcache.c (cache_addhst): Likewise.
36783         * nscd/grpcache.c (cache_addgr): Likewise.
36784         * nscd/aicache.c (addhstaiX): Likewise
36786 2011-07-01  Andreas Schwab  <schwab@redhat.com>
36788         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
36789         domain only when needed.
36791 2011-06-30  Andreas Schwab  <schwab@redhat.com>
36793         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
36794         is always restored.
36796 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
36798         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
36799         are re-adding the entry.
36800         * nscd/servicescache.c (cache_addserv): Likewise.
36802 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
36804         * sysdeps/generic/dl-irel.h: fix protection against multiple
36805         inclusions.
36806         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
36808 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
36810         [BZ #12935]
36811         * malloc/memusage.sh: Fix quoting in message.
36812         * debug/xtrace.sh: Likewise.
36814         * configure.in: Remove support for --experimental-malloc option, make
36815         it the default.
36816         * config.make.in: Likewise.
36817         * malloc/Makefile: Likewise.
36819 2011-06-27  Andreas Schwab  <schwab@redhat.com>
36821         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
36822         two-byte characters.
36824 2011-06-27  Roland McGrath  <roland@hack.frob.com>
36826         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
36827         AC_CACHE_CHECK invocation.
36828         * configure: Regenerated.
36830         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
36832 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
36834         [BZ #12350]
36835         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
36836         bit from old_res_options.
36838         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
36840         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
36841         value type for setfct.
36843 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
36845         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36846         __gettimeofday instead of gettimeofday.
36848 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
36850         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
36852 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
36854         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
36856         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
36857         info.
36859 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
36861         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36862         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36863         strcpy-sse2-unaligned strncpy-sse2-unaligned
36864         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
36865         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
36866         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
36867         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
36868         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
36869         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
36870         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
36871         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
36872         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
36873         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
36874         (STRCPY): Support SSE2 and SSSE3 versions.
36876 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
36878         [BZ #12874]
36879         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
36880         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
36881         kernels which artificially limit size of requests.
36883 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
36885         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36886         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36887         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
36888         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
36889         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
36890         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
36891         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
36892         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
36893         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
36894         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
36895         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
36896         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
36897         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
36898         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
36899         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
36900         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36901         Enable unaligned load optimization for Intel Core i3, i5 and i7
36902         processors.
36903         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
36904         Define.
36905         (index_Fast_Unaligned_Load): Define.
36906         (HAS_FAST_UNALIGNED_LOAD): Define.
36908 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
36910         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
36912 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
36914         [BZ #12907]
36915         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
36916         until it is clear that the information is realy needed.
36917         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
36919 2011-06-22  Andreas Schwab  <schwab@redhat.com>
36921         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
36923 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
36925         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36926         /sys/devices/system/cpu/online if it is usable.
36928         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
36929         reading the information from the /proc filesystem to once a second.
36931 2011-06-21  Andreas Jaeger  <aj@suse.de>
36933         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
36934         NULL after inclusion of kernel headers.
36936 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
36938         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
36939         calls to internal_setent.
36941         [BZ #12885]
36942         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
36943         addresses using gethostbyname4_r ignore IPv4 addresses.
36945         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
36946         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
36948         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
36950 2011-06-20  David S. Miller  <davem@davemloft.net>
36952         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
36953         inclusions.
36954         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
36956         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
36957         (elf_irel): Use it.
36958         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
36959         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
36960         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
36961         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
36962         * sysdeps/x86_64/dl-irel.h: Likewise.
36964         * elf/dl-runtime.c: Use elf_ifunc_invoke.
36965         * elf/dl-sym.c: Likewise.
36967 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
36969         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
36970         need to dereference resplen2.
36972 2011-06-14  Andreas Schwab  <schwab@redhat.com>
36974         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
36976 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
36978         * Makeconfig: Define vardbdir and inst_vardbdir.
36979         * nss/Makefile: Add rules to install db-Makefile.
36981         * nss/nss_db/db-XXX.c: Cleanup.
36983         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
36984         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
36985         GLIBC_PRIVATE.
36986         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
36987         * nss/makedb.c: Implement -g option to specify that value strings
36988         are generated and should not be added to table iterated over for
36989         get*ent calls.
36990         * nss/nss_db/db-initgroups.c: New file.
36992         * nss/getent.c: Add support for initgroups lookups through getgrouplist
36993         interface.
36995         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
36996         (internal_getgrouplist): Adjust to name change.
36997         Update use_initgroups_entry if this is not the first call.
36998         * nss/databases.def: Add initgroups entry.
37000         * nss/makedb.c (compute_tables): Check result of multiple hash table
37001         sizes to minimize maximum chain length.
37003 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
37005         * Versions.def: Add entry for libnss_db.
37006         * shlib-versions: Likewise.
37007         * nss/Makefile: Add rules to build libnss_db.
37008         * nss/Versions: Add libnss_db information.  Organize libnss_files
37009         entries better.
37010         * nss/db-Makefile: Add gshadow support.  Change rules for the new
37011         makedb progra.  Some minor improvements to generate smaller files.
37012         * nss/nss_db/nss_db.h: Move NSS database header data structures to
37013         here from...
37014         * nss/makedb.c: ...here.
37015         Improve database format to be smaller and require less memory at
37016         runtime.
37017         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
37018         db anymore.
37019         * nss/nss_db/db-netgrp.c: Likewise.
37020         * nss/nss_db/db-open.c: Likewise.
37021         * nss/nss_files/flies-XXX.x: Adjust comments.
37022         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
37023         * nss/nss_files/files-grp.c: Likewise.
37024         * nss/nss_files/files-hosts.c: Likewise.
37025         * nss/nss_files/files-network.c: Likewise.
37026         * nss/nss_files/files-proto.c: Likewise.
37027         * nss/nss_files/files-pwd.c: Likewise.
37028         * nss/nss_files/files-rpc.c: Likewise.
37029         * nss/nss_files/files-service.c: Likewise.
37030         * nss/nss_files/files-sgrp.c: Likewise.
37031         * nss/nss_files/files-spwd.c: Likewise.
37032         * nss/nss_db/db-alias.c: Removed.
37033         * nss/nss_db/dummy-db.h: Removed.
37035 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
37037         * nss/makedb.c: Rewritten to not use database library.
37038         * nss/Makefile: Update to build new makedb program.
37040 2011-06-14  Andreas Jaeger  <aj@suse.de>
37042         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
37043         memset declaration.
37045 2011-06-10  Andreas Schwab  <schwab@redhat.com>
37047         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
37048         tmpbuf.
37050 2011-06-10  Roland McGrath  <roland@hack.frob.com>
37052         * Makerules (shlib.lds): Fail if the linker script comes out empty.
37053         * elf/Makefile ($(objpfx)ld.so): Likewise.
37055         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
37056         Don't list ld.so twice in dependencies.
37058         * posix/bug-regex31.c: Include <stdlib.h>.
37060         * nscd/hstcache.c (cache_addhst): Remove unused variable.
37062         * nis/nss_compat/compat-spwd.c
37063         (getspent_next_nss_netgr): Remove unused variable.
37064         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
37066         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
37067         nonmembers" output to use the right array.
37069         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
37071         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
37073         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
37074         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
37075         * catgets/gencat.c (read_input_file): Likewise.
37076         * locale/programs/locarchive.c (enlarge_archive): Likewise.
37078         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
37079         variable definition inside #if's controlling its use.
37081         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
37083         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
37085         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
37087         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
37088         unreachable code.
37090         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
37092         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
37093         * configure: Regenerated.
37095         * Makerules: Revert last change.
37096         * elf/Makefile: Likewise.
37098 2011-06-09  Roland McGrath  <roland@hack.frob.com>
37100         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
37101         * elf/Makefile ($(objpfx)librtld.os): Likewise.
37102         (reloc-link): Likewise.
37104 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
37106         * elf/Makefile: Add rules to build pldd.
37107         * elf/pldd.c: New file.
37108         * elf/pldd-xx.c: New file.
37110 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
37112         * version.h: Update for 2.15 development version.
37114 2011-06-07  David S. Miller  <davem@davemloft.net>
37116         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
37117         ifuncs.
37118         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
37119         elf_machine_lazy_rel): Likewise.
37120         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
37121         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
37122         elf_machine_lazy_rel): Likewise.
37123         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
37124         dl_hwcap via passed in argument.
37125         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
37126         Likewise.
37128 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37130         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
37132 2011-06-06  Roland McGrath  <roland@hack.frob.com>
37134         [BZ #12849]
37135         * manual/fdl-1.1.texi: New file, verbatim from:
37136         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
37137         * manual/lgpl-2.1.texi: New file, verbatim from:
37138         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
37139         * manual/Makefile (licenses): New variable, list those new file names.
37140         (texis): Use it.
37141         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
37143         * manual/fdl.texi: File removed.
37144         * manual/lesser.texi: File removed.
37145         * manual/libc.texinfo (Copying, Documentation License):
37146         Use new @include file names, put @appendix directive before @include.
37148 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
37150         [BZ #12841]
37151         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
37152         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
37153         (mq_open): Add __NTH.
37155 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
37157         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37158         Assume Intel Core i3/i5/i7 processor if AVX is available.
37160 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
37162         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37163         typo.
37165 2011-05-31  Andreas Schwab  <schwab@redhat.com>
37167         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
37168         memory.  Use alloca_account.  Fix memory leak when retrying.
37170 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
37172         * version.h (RELEASE): Bump for 2.14 release.
37173         * include/features.h (__GLIBC_MINOR__): Bump to 14.
37175         * config.make.in (RANLIB): Remove entry.
37177 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
37179         * po/Makefile (po-sed-cmd): Add ksh to extensions.
37180         (libc.pot): Work around missing support for .ksh extension in xgettext.
37182         [BZ #12684]
37183         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
37184         if both request failed.
37185         (send_dg): In case of server errors clear resplen or *resplen2.
37187         [BZ #12454]
37188         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
37189         when there are multiple maps.
37190         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
37191         (_dl_fini): Remove test here.
37193         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
37195 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
37197         [BZ #12350]
37198         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
37199         bit from old_res_options.
37200         (gaih_inet): Likewise.
37202         [BZ #11099]
37203         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
37204         as signed.
37206         * resolv/res_init.c (res_setoptions): Make the code more compact.
37208         [BZ #11558]
37209         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
37210         set RES_USEVC.
37212         [BZ #11634]
37213         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
37215         * malloc/malloc.h: Mark malloc hook variables as deprecated.
37217         [BZ #11781]
37218         * malloc/malloc.h: Declare malloc hook variables as volatile.
37220         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
37221         in last patch.
37223         [BZ #11799]
37224         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
37225         raise in the comment.
37226         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37227         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37228         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
37230 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
37232         [BZ #12811]
37233         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
37234         grow the buffers more if it already has to be sufficient.
37235         (build_wcs_upper_buffer): Likewise.
37236         * posix/regexec.c (check_matching): Likewise.
37237         (clean_state_log_if_needed): Likewise.
37238         (extend_buffers): Don't enlarge buffers beyond size of the input
37239         buffer.
37240         Patches mostly by Emil Wojak <emil@wojak.eu>.
37241         * posix/bug-regex32.c: New file.
37242         * posix/Makefile (tests): Add bug-regex32.
37244         * locale/findlocale.c (_nl_find_locale): Return right away if
37245         _nl_explode_name failed.
37246         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
37248         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
37250         * debug/xtrace.sh: Unify messages.
37251         * malloc/memusage.sh: Likewise.
37253         [BZ #12813]
37254         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
37255         time symbol from vDSO.  Substitute with vsyscall if not available.
37256         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
37257         __vdso_time.
37259         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
37260         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
37261         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
37262         Add sendmmsg and internal_sendmmsg.
37263         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
37264         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
37265         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
37267         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
37268         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
37269         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
37271 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
37273         [BZ #12813]
37274         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
37275         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
37276         available.
37277         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
37278         __vdso_getcpu.
37280         [BZ #12814]
37281         * iconvdata/Makefile (tests): Add bug-iconv9.
37282         * iconvdata/bug-iconv9.c: New file.
37284 2011-05-27  Andreas Schwab  <schwab@redhat.com>
37286         [BZ #12814]
37287         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
37289 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
37291         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37292         (struct user_regs_struct): Change intcs field back to cs.
37294 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
37296         * po/ja.po: Update from translation team.
37298 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
37300         [BZ #12795]
37301         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
37302         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
37304 2011-05-20  Andreas Schwab  <schwab@redhat.com>
37306         * stdlib/longlong.h: Update from GCC.
37308 2011-05-23  Andreas Schwab  <schwab@redhat.com>
37310         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
37311         parameter name.
37312         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
37313         Add parameter name.
37314         (__sysconf): Pass it down.
37316 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
37318         [BZ #12671]
37319         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
37320         some situations.
37321         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37322         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
37323         add in in __libc_use_alloca calls.  Adjust callers.
37324         (glob): Use malloc in some situations.
37326         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
37327         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
37328         pltexit.
37330 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
37332         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
37333         and CLOCK_BOOTTIME_ALARM.
37335         [BZ #12782]
37336         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
37337         is returned.
37339         * string/_strerror.c (__strerror_r): Print negative errors as signed
37340         numbers.
37342         [BZ #12777]
37343         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
37344         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
37345         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
37347         * configure.in: Fix typo in redirection and correct removal of test
37348         files in two cases.
37350         [BZ #12788]
37351         * locale/setlocale.c (new_composite_name): Fix test to check for
37352         identical name of all categories.
37354         [BZ #12792]
37355         * libio/filedoalloc.c (local_isatty): New function.
37356         (_IO_file_doallocate): Use local_isatty.
37357         * stdio-common/perror.c (perror): In case a new stream is used
37358         forward the stream error.
37359         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
37360         error flag.
37362 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
37364         [BZ #11869]
37365         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
37366         alloca.
37367         * include/alloca.h (extend_alloca_account): Define.
37369         [BZ #11857]
37370         * posix/regex.h: Fix comments with documentation of user-accessible
37371         fields after compilation and describe correct free'ing of pattern
37372         after re_compile_pattern.
37373         Patch by Reuben Thomas <rrt@sc3d.org>.
37375 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
37377         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
37378         and -mno-altivec to prevent the compiler from using Altivec and/or
37379         VSX instructions when the corresponding registers are not available.
37381 2011-05-19  Andreas Schwab  <schwab@redhat.com>
37383         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
37385 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
37387         * libio/freopen.c (freopen): Use __dup2, not dup2.
37388         * libio/freopen64.c (freopen64): Likewise.
37390 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
37392         [BZ #12775]
37393         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
37394         * math/Makefile (tests): Add test-powl.
37395         (CFLAGS-test-powl.c): Define.
37396         * math/test-powl.c: New file.
37398 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37400         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
37402 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
37404         [BZ #11837]
37405         * iconvdata/gb18030.c: Update to GB18020-2005.
37407 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
37409         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
37410         RE_SYNTAX_POSIX_AWK): Update to match recent development.
37411         Patch by Aharon Robbins <arnold@skeeve.com>.
37413         [BZ #11892]
37414         * stdlib/putenv.c (putenv): Don't always create copy of the variable
37415         on the stack.
37417         [BZ #11895]
37418         * misc/pselect.c (__pselect): Handle timeout value errors hidden
37419         through underflows.
37421         [BZ #12766]
37422         * misc/error.c (error_at_line): Ensure file_name and old_file_name
37423         point to strings before performing equality test for error_one_per_line
37424         mode.
37426         [BZ #11697]
37427         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
37429         [BZ #11820]
37430         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37431         (struct user_fpregs_struct): Avoid __uint*_t types.
37433         [BZ #6420]
37434         * malloc/mtrace.c (tr_where): Add additional parameter to point to
37435         symbol info.  Use it instead of calling _dl_addr locally.
37436         (lock_and_info): New function.
37437         (tr_freehook): Call lock_and_info and pass symbol info as additional
37438         parameter to tr_where.
37439         (tr_mallochook): Likewise.
37440         (tr_reallochook): Likewise.
37441         (tr_memalignhook): Likewise.
37443         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
37444         used and couldn't be at all thread-safe.
37446 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
37448         * libio/freopen.c (freopen): Don't close old file descriptor
37449         before the new one is opened.  Instead dup the new file descriptor
37450         to the old one after the new stream is created.
37451         * libio/freopen64.c (freopen64): Likewise.
37452         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
37453         * libio/fileops.c (_IO_new_file_close_it): Handle new
37454         _IO_FLAGS2_NOCLOSE flag.
37455         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
37456         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
37457         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
37458         _IO_FLAGS2_NOCLOSE flag.
37459         * include/unistd.h: Add hidden_proto for dup3.
37460         Define __have_dup3.
37461         * io/dup3.c: Define hidden symbol.
37462         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
37464         [BZ #7101]
37465         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
37466         when an incomplete long option is used.
37467         * posix/tst-getopt_long1.c: New file.
37468         * posix/Makefile (tests): Add tst-getopt_long1.
37470         [BZ #10138]
37471         * scripts/config.guess: Update from autoconf-2.68.
37472         * scripts/config.sub: Likewise.
37474         [BZ #10157]
37475         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
37476         tests into ...
37477         (has_cpuclock): ...this.  New function.
37478         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
37479         macro here based on has_cpuclock code.
37481         [BZ #10149]
37482         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37483         First byte (not low byte) is now always NUL.
37484         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
37486         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37487         Use non-cancelable interfaces.
37489         [BZ #9809]
37490         * locale/iso-639.def: Add entry for Sorani.
37492         [BZ #11901]
37493         * include/stdlib.h: Move include protection to the right place.
37494         Define abort_msg_s.  Declare __abort_msg with it.
37495         * stdlib/abort.c (__abort_msg): Adjust type.
37496         * assert/assert.c (__assert_fail_base): New function.  Majority
37497         of code from __assert_fail.  Allocate memory for __abort_msg with
37498         mmap.
37499         (__assert_fail): Now call __assert_fail_base.
37500         * assert/assert-perr.c: Remove bulk of implementation.  Use
37501         __assert_fail_base.
37502         * include/assert.hL Declare __assert_fail_base.
37503         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
37504         mmap.
37505         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
37507 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
37509         [BZ #11952]
37510         [BZ #12453]
37511         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
37512         until all modules are registered in the DTV.
37513         * elf/Makefile: Add rules to build and run tst-tls19.
37514         * elf/tst-tls19.c: New file.
37515         * elf/tst-tls19mod1.c: New file.
37516         * elf/tst-tls19mod2.c: New file.
37517         * elf/tst-tls19mod3.c: New file.
37518         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
37520         [BZ #12083]
37521         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
37522         correctly.
37524         [BZ #12601]
37525         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
37526         two-byte sequence errors.
37527         * iconvdata/Makefile (tests): Add bug-iconv8.
37528         * iconvdata/bug-iconv8.c: New file.
37530         [BZ #12626]
37531         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
37532         buf2 definition.
37534         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
37536         [BZ #12432]
37537         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
37538         (dummy_getcfa): New function.
37539         (init): Get _Unwind_GetCFA address, use dummy if not found.
37540         (backtrace_helper): In recursion check, also check whether CFA changes.
37541         (__backtrace): Completely initialize arg.
37543         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
37544         storing incomplete byte sequence in state object.  Avoid testing for
37545         guaranteed too small input if we know there is enough data available.
37547 2011-05-11  Andreas Schwab  <schwab@redhat.com>
37549         * Makeconfig (+link-pie): Indent.
37550         * Rules (binaries-pie): Define if $(have-fpie) and
37551         $(build-shared).
37552         (binaries-shared): Also filter out $(binaries-pie).
37553         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
37554         * nscd/Makefile (others-pie): Add nscd.
37555         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
37556         ($(objpfx)nscd): Remove command override.
37557         * login/Makefile (others-pie): Add pt_chown.
37558         ($(objpfx)pt_chown): Remove command override.
37559         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
37560         remove command overrides.
37562 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
37564         * libio/tst_putwc.c: Fix error messages.
37566         [BZ #12724]
37567         * libio/fileops.c (_IO_new_file_close_it): Always flush when
37568         currently writing and seek to current position when not.
37569         * libio/Makefile (tests): Add bug-fclose1.
37570         * libio/bug-fclose1.c: New file.
37572 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
37574         [BZ #12511]
37575         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
37576         don't set DF_1_NODELETE here.
37577         (do_lookup_x): When entering new entry test for copy relocation
37578         and if necessary set DF_1_NODELETE flag.
37579         * elf/tst-unique4.cc: New file.
37580         * elf/tst-unique4.h: New file.
37581         * elf/tst-unique4lib.cc: New file.
37582         * elf/Makefile: Add rules to build and run tst-unique4.
37583         Patch by Piotr Bury <pbury@goahead.com>.
37585 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
37587         [BZ #12052]
37588         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
37590         [BZ #12625]
37591         * misc/mntent_r.c (addmntent): Flush the stream after the output
37593         [BZ #12393]
37594         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
37595         (is_trusted_path_normalize): Skip initial colon.  Append slash
37596         to empty buffer.  Duplicate is_trusted_path code but allow
37597         constructed patch to be prefix.
37598         (is_dst): Allow $ORIGIN followed by /.
37599         (_dl_dst_substitute): Correct clearing of check_for_trusted.
37600         Correct testing of result of is_trusted_path_normalize
37601         (decompose_rpath): Fix warning.
37603 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
37605         [BZ #11257]
37606         * grp/initgroups.c (internal_getgrouplist): When we found the service
37607         list through the initgroups entry in nsswitch.conf do not always
37608         continue on a successful lookup.  Don't always use the
37609         __nss_group_database value if it is set.
37610         * nss/nsswitch.conf (initgroups): Change action for successful db
37611         lookup to continue for compatibility.
37613 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
37615         [BZ #11532]
37616         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
37617         and CP774 modules.
37618         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
37619         and CP774 modules.
37620         * iconvdata/tst-tables.sh: Likewise.
37621         * iconvdata/cp770.c: New file.
37622         * iconvdata/cp771.c: New file.
37623         * iconvdata/cp772.c: New file.
37624         * iconvdata/cp773.c: New file.
37625         * iconvdata/cp774.c: New file.
37626         * iconvdata/testdata/CP770: New file.
37627         * iconvdata/testdata/CP770..UTF8: New file.
37628         * iconvdata/testdata/CP771: New file.
37629         * iconvdata/testdata/CP771..UTF8: New file.
37630         * iconvdata/testdata/CP772: New file.
37631         * iconvdata/testdata/CP772..UTF8: New file.
37632         * iconvdata/testdata/CP773: New file.
37633         * iconvdata/testdata/CP773..UTF8: New file.
37634         * iconvdata/testdata/CP774: New file.
37635         * iconvdata/testdata/CP774..UTF8: New file.
37637         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
37638         END CHARMAP line.
37639         * iconvdata/gen-8bit-gap.sh: Likewise.
37640         * iconvdata/gen-8bit.sh: Likewise.
37642         * locale/iso-639.def: Add ary entry.
37644         [BZ #11258]
37645         * locale/C-translit.h.in: Add U20A1 transliteration.
37647         [BZ #12178]
37648         * locale/iso-639.def: Add wae entry.
37649         Patch by Kevin Bortis <bortis@translate-wae.ch>.
37651         [BZ #12545]
37652         * locale/programs/localedef.c (construct_output_path): Use ssize_t
37653         for n.
37655         [BZ #12711]
37656         * locale/C-translit.h.in: Add entry for U20B9.
37657         Patch by pravin.d.s@gmail.com.
37659 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
37661         [BZ #12713]
37662         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
37663         ENAMETOOLONG use generic getcwd.
37664         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
37665         in rtld.  Use *stat64.
37666         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
37667         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
37668         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
37669         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
37670         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
37671         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
37672         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
37673         __fstatat64 macros.
37674         * include/dirent.h: Add libc_hidden_proto for rewinddir.
37675         * dirent/rewinddir.c: Add libc_hidden_def.
37676         * sysdeps/mach/hurd/rewinddir.c: Likewise.
37677         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
37679         * include/dirent.h (__alloc_dir): Add flags parameter.
37680         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
37681         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
37682         __alloc_dir.
37683         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
37684         from fdopendir if O_CLOEXEC is already set.
37686 2011-03-15  Alan Modra  <amodra@gmail.com>
37688         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
37689         l_tls_firstbyte_offset non-zero.  Save padding offset in
37690         l_tls_firstbyte_offset for later use.
37691         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
37692         freeing static tls block.
37694 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
37696         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
37697         where #ifdef was intended.  The intent is to prevent ARG_MAX from
37698         being defined by the kernel headers.
37700 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
37702         [BZ #12734]
37703         * resolv/resolv.h: Define RES_NOTLDQUERY.
37704         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
37705         no-tld-query and set RES_NOTLDQUERY.
37706         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
37707         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
37708         modern BIND to search name as TLD unless forbidden.
37710 2011-05-07  Petr Baudis  <pasky@suse.cz>
37711             Ulrich Drepper  <drepper@gmail.com>
37713         [BZ #12393]
37714         * elf/dl-load.c (fillin_rpath): Move trusted path check...
37715         (is_trusted_path): ...to here.
37716         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
37717         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
37718         using is_trusted_path_normalize() in setuid scripts.
37720 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37722         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
37723         __BEGIN/__END_DECLS.
37725 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
37727         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
37728         NSS_STATUS_NOTFOUND if no record was found.
37730 2011-05-05  Andreas Schwab  <schwab@redhat.com>
37732         * sunrpc/Makefile (headers): Add rpc/netdb.h.
37733         (headers-not-in-tirpc): Remove rpc/netdb.h
37734         * resolv/netdb.h: Revert last change.
37736 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37738         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
37739         circular dependency between libgcc.a and libc.a.
37741 2011-05-05  Andreas Schwab  <schwab@redhat.com>
37743         * resolv/netdb.h: Don't include <rpc/netdb.h>.
37744         * nis/Makefile: Don't install rpcsvc/*.
37745         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
37746         instead of <rpc/types.h>.
37747         (MAXHOSTNAMELEN): Define.
37749 2011-05-03  Andreas Schwab  <schwab@redhat.com>
37751         * elf/ldconfig.c (add_dir): Don't crash on empty path.
37753 2011-04-28  Maciej Babinski  <mbabinski@google.com>
37755         [BZ #12714]
37756         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
37757         gethostbyname4_r when IPv6 results are possible.
37759 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
37761         [BZ #12723]
37762         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
37763         _PC_PIPE_BUF handling.
37765 2011-04-30  Bruno Haible  <bruno@clisp.org>
37767         [BZ #12717]
37768         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
37769         * resolv/netdb.h (getnameinfo): Change type of flags parameter
37770         to 'int'.
37771         * inet/getnameinfo.c (getnameinfo): Likewise.
37773 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
37775         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
37776         to groups setting in database lookup.
37777         * nss/nsswitch.conf: Add initgroups entry.
37779 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
37781         [BZ #12685]
37782         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
37783         mode string.
37784         Patch by Eric Blake <eblake@redhat.com>.
37786 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
37788         * sunrpc/Makefile (need-export-routines): Add svc_run.
37789         (routines): Remove svc_run.
37790         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
37791         * sunrpc/clnt_perr.c (clnt_perrno): Export.
37792         * sunrpc/svc_run.c (svc_run): Likewise.
37793         * sunrpc/svc_udp.c (svcudp_create): Likewise.
37795 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
37797         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
37798         problem in reallocation in last patch.
37800 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
37802         * sunrpc/Makefile: Move inclusion of Rules.
37804 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
37806         * nss/nss_files/files-initgroups.c: New file.
37807         * nss/Makefile (libnss_files-routines): Add files-initgroups.
37808         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
37809         _nss_files_initgroups_dyn.
37811 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
37813         * elf/elf.h (R_ARM_IRELATIVE): Define.
37815 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
37817         * po/ru.po: Update from translation team.
37819 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
37821         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
37822         dependencies.
37824 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
37826         [BZ #12653]
37827         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
37828         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
37829         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37830         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37831         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37833 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
37835         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
37836         differing bytes.
37837         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37838         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37839         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37841 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
37843         [BZ #12420]
37844         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
37845         storing it.
37846         * stdlib/bug-getcontext.c: New file.
37847         * stdlib/Makefile: Add rules to build and run bug-getcontext.
37849 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37851         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
37852         instructions into .machine "z9-109".
37853         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
37854         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
37856 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37858         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
37859         between environment variables and auxiliary vector.
37861 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
37863         * Makefile: Add rules to build linkobj/libc.so.
37864         * include/libc-symbols.h: Define libc_hidden_nolink.
37865         * include/rpc/auth.h: Mark functions which are to be hidden.
37866         * include/rpc/auth_des.h: Likewise.
37867         * include/rpc/auth_unix.h: Likewise.
37868         * include/rpc/clnt.h: Likewise.
37869         * include/rpc/des_crypt.h: Likewise.
37870         * include/rpc/key_prot.h: Likewise.
37871         * include/rpc/pmap_clnt.h: Likewise.
37872         * include/rpc/pmap_prot.h: Likewise.
37873         * include/rpc/pmap_rmt.h: Likewise.
37874         * include/rpc/rpc_msg.h: Likewise.
37875         * include/rpc/svc.h: Likewise.
37876         * include/rpc/svc_auth.h: Likewise.
37877         * include/rpc/xdr.h: Likewise.
37878         * nis/Makefile: Link all DSOs against linkobj/libc.so.
37879         * nss/Makefile: Likewise.
37880         * sunrpc/Makefile: Don't install headers.  Build library with normal
37881         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
37882         * sunrpc/auth_des.c: Hide exported symbols by default, export some
37883         for the compat linking library.  Remove use of INTDEF/INTUSE.
37884         * sunrpc/auth_none.c: Likewise.
37885         * sunrpc/auth_unix.c: Likewise.
37886         * sunrpc/authdes_prot.c: Likewise.
37887         * sunrpc/authuxprot.c: Likewise.
37888         * sunrpc/clnt_gen.c: Likewise.
37889         * sunrpc/clnt_perr.c: Likewise.
37890         * sunrpc/clnt_raw.c: Likewise.
37891         * sunrpc/clnt_simp.c: Likewise.
37892         * sunrpc/clnt_tcp.c: Likewise.
37893         * sunrpc/clnt_udp.c: Likewise.
37894         * sunrpc/clnt_unix.c: Likewise.
37895         * sunrpc/des_crypt.c: Likewise.
37896         * sunrpc/des_soft.c: Likewise.
37897         * sunrpc/get_myaddr.c: Likewise.
37898         * sunrpc/key_call.c: Likewise.
37899         * sunrpc/key_prot.c: Likewise.
37900         * sunrpc/netname.c: Likewise.
37901         * sunrpc/pm_getmaps.c: Likewise.
37902         * sunrpc/pm_getport.c: Likewise.
37903         * sunrpc/pmap_clnt.c: Likewise.
37904         * sunrpc/pmap_prot.c: Likewise.
37905         * sunrpc/pmap_prot2.c: Likewise.
37906         * sunrpc/pmap_rmt.c: Likewise.
37907         * sunrpc/publickey.c: Likewise.
37908         * sunrpc/rpc_cmsg.c: Likewise.
37909         * sunrpc/rpc_common.c: Likewise.
37910         * sunrpc/rpc_dtable.c: Likewise.
37911         * sunrpc/rpc_prot.c: Likewise.
37912         * sunrpc/rpc_thread.c: Likewise.
37913         * sunrpc/rtime.c: Likewise.
37914         * sunrpc/svc.c: Likewise.
37915         * sunrpc/svc_auth.c: Likewise.
37916         * sunrpc/svc_authux.c: Likewise.
37917         * sunrpc/svc_raw.c: Likewise.
37918         * sunrpc/svc_run.c: Likewise.
37919         * sunrpc/svc_simple.c: Likewise.
37920         * sunrpc/svc_tcp.c: Likewise.
37921         * sunrpc/svc_udp.c: Likewise.
37922         * sunrpc/svc_unix.c: Likewise.
37923         * sunrpc/svcauth_des.c: Likewise.
37924         * sunrpc/xcrypt.c: Likewise.
37925         * sunrpc/xdr.c: Likewise.
37926         * sunrpc/xdr_array.c: Likewise.
37927         * sunrpc/xdr_float.c: Likewise.
37928         * sunrpc/xdr_intXX_t.c: Likewise.
37929         * sunrpc/xdr_mem.c: Likewise.
37930         * sunrpc/xdr_rec.c: Likewise.
37931         * sunrpc/xdr_ref.c: Likewise.
37932         * sunrpc/xdr_sizeof.c: Likewise.
37933         * sunrpc/xdr_stdio.c: Likewise.
37935 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
37937         [BZ #12650]
37938         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
37939         * sysdeps/ia64/dl-tls.h: Likewise.
37940         * sysdeps/powerpc/dl-tls.h: Likewise.
37941         * sysdeps/s390/dl-tls.h: Likewise.
37942         * sysdeps/sh/dl-tls.h: Likewise.
37943         * sysdeps/sparc/dl-tls.h: Likewise.
37944         * sysdeps/x86_64/dl-tls.h: Likewise.
37945         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
37947 2011-03-14  Andreas Schwab  <schwab@redhat.com>
37949         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
37950         rpath element also skip the following colon.
37951         (expand_dynamic_string_token): Add is_path parameter and pass
37952         down to DL_DST_REQUIRED and _dl_dst_substitute.
37953         (decompose_rpath): Call expand_dynamic_string_token with
37954         non-zero is_path.  Ignore empty rpaths.
37955         (_dl_map_object_from_fd): Call expand_dynamic_string_token
37956         with zero is_path.
37958 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
37960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37961         Make cancelable.
37963 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
37965         [BZ #12655]
37966         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
37967         Patch by Filipe David Manana <fdmanana@apache.org>.
37969 2011-04-07  Andreas Schwab  <schwab@redhat.com>
37971         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
37972         Maintain aligned stack.
37973         (CHECK_RSP): Remove unused macro.
37975 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
37977         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
37978         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
37980 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
37982         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
37984         * include/features.h: Mention __USE_XOPEN2K8 in comment.
37986 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
37988         [BZ #12518]
37989         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
37990         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
37991         * sysdeps/x86_64/memmove.c: New file.
37992         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
37993         (memcpy): Renamed to ...
37994         (__new_memcpy): This.
37995         (memcpy): Provide GLIBC_2_14 memcpy.
37996         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
37997         (memcpy): Provide GLIBC_2_2_5 memcpy.
37999 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
38001         [BZ #12631]
38002         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
38004 2011-03-30  Andreas Schwab  <schwab@redhat.com>
38006         * misc/syncfs.c: New file.
38007         * misc/Makefile (routines): Add syncfs.
38008         * posix/unistd.h: Declare syncfs.
38009         * sysdeps/unix/syscalls.list: Add syncfs.
38011 2011-04-01  Andreas Schwab  <schwab@redhat.com>
38013         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
38014         open_by_handle_at.
38015         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38016         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38017         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38018         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38019         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38020         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
38021         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38023 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
38025         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
38026         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38027         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
38028         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38029         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38030         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38031         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38033         * io/Makefile: Compile fallocate.c, fallocate64.c, and
38034         sync_file_range.c with -fexceptions.
38035         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
38036         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
38037         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
38038         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
38039         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
38040         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
38041         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
38042         sync_file_range as cancellation point
38043         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
38044         now a wrapper around __call_sync_file_range with cancellation handling.
38045         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
38046         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
38047         function name to __call_sync_file_range.
38048         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
38049         Add call_sync_file_range.
38051 2011-04-01  Andreas Schwab  <schwab@redhat.com>
38053         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38054         bits/timex.h.
38056 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
38058         * iconv/iconv.h: Fix typo in comment.
38059         * io/fcntl.h: Likewise.
38060         * libio/stdio.h: Likewise.
38061         * posix/spawn.h: Likewise.
38062         * posix/unistd.h: Likewise.
38063         * stdlib/stdlib.h: Likewise.
38064         * time/time.h: Likewise.
38065         * wcsmbs/wchar.h: Likewise.
38067         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
38068         open_by_handle): Add.
38069         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
38070         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
38071         Augment a few comments.
38072         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38073         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38074         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38075         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38076         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38077         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
38078         open_by_handle.
38080         * io/fcntl.h (AT_EMPTY_PATH): Define.
38082 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
38084         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
38085         * sysdeps/unix/sysv/linux/bits/time.h: New file.
38086         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
38087         to...
38088         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
38089         * Versions.def: Add GLIBC_2.14.
38090         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
38091         Export.
38093 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
38095         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
38096         round counter.
38097         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38099 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38101         [BZ #12597]
38102         * string/test-strncmp.c (do_page_test): New function.
38103         (check2): Likewise.
38104         (test_main): Call check2.
38105         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
38107 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
38109         [BZ #12587]
38110         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
38111         Handle cache information in CPU leaf 4.
38112         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38114 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
38116         [BZ #12583]
38117         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
38118         character representation.
38119         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
38121 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
38123         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
38124         END(__isnan) to END(__isnanf) to match function entry point/label
38125         EALIGN(__isnanf,...).
38127 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
38129         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
38131 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
38133         [BZ #12510]
38134         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
38135         copy from the symbol referenced in the relocation to initialize the
38136         used variable.
38137         Patch by Piotr Bury <pbury@goahead.com>.
38138         * elf/Makefile: Add rules to build and tst-unique3.
38139         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
38140         * elf/tst-unique3.cc: New file.
38141         * elf/tst-unique3.h: New file.
38142         * elf/tst-unique3lib.cc: New file.
38143         * elf/tst-unique3lib2.cc: New file.
38145         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
38147 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
38149         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
38150         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
38151         to _start.
38153 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
38155         * elf/dl-load.c (_dl_map_object): If we are looking for the first
38156         to-be-loaded object along a path to loader is ld.so.
38158 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
38159             Ulrich Drepper  <drepper@gmail.com>
38161         * sysdeps/x86_64/memset.S: After aligning destination, code
38162         branches to different locations depending on the value of
38163         misalignment, when multiarch is enabled. Fix this.
38165 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
38167         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
38168         Set _x86_64_preferred_memory_instruction for AMD processsors.
38169         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38170         Set bit_Prefer_SSE_for_memop for AMD processors.
38172 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
38174         * libio/fmemopen.c (fmemopen): Optimize a bit.
38176 2011-03-03  Andreas Schwab  <schwab@redhat.com>
38178         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
38180 2011-03-03  Roland McGrath  <roland@redhat.com>
38182         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
38184 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
38186         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
38187         __bzero_ultra1 instead of __memset_ultra1.
38189 2011-02-23  Andreas Schwab  <schwab@redhat.com>
38190             Ulrich Drepper  <drepper@gmail.com>
38192         [BZ #12509]
38193         * include/link.h (struct link_map): Add l_orig_initfini.
38194         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
38195         returning unsuccessfully.
38196         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
38197         close of a file loaded at startup, restore the original l_initfini
38198         list.
38199         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
38200         list, store the pointer.
38201         * elf/Makefile ($(objpfx)noload-mem): New rule.
38202         (noload-ENV): Define.
38203         (tests): Add $(objpfx)noload-mem.
38204         * elf/noload.c: Include <memcheck.h>.
38205         (main): Call mtrace.  Close all opened handles.
38207 2011-02-17  Andreas Schwab  <schwab@redhat.com>
38209         [BZ #12454]
38210         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
38211         dependencies are missing.
38213 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38215         Fix __if_freereq crash: Unlike the generic version which uses free,
38216         Hurd needs munmap.
38217         * sysdeps/mach/hurd/ifreq.h: New file.
38219 2011-01-27  Petr Baudis  <pasky@suse.cz>
38220             Ulrich Drepper  <drepper@gmail.com>
38222         [BZ 12445]#
38223         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
38224         to extend_alloca().
38225         * stdio-common/bug23.c: New file.
38226         * stdio-common/Makefile (tests): Add bug23.
38228 2010-09-28  Andreas Schwab  <schwab@redhat.com>
38229             Ulrich Drepper  <drepper@gmail.com>
38231         [BZ #12489]
38232         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
38233         before performing relro protection.  At old place add assertion
38234         to make sure nothing changed.
38236 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
38237             Glauber de Oliveira Costa  <glommer@gmail.com>
38239         * elf/elf.h: Add new ARM TLS relocs.
38241 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
38243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38244         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
38245         cast from r3.
38246         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
38247         'tests' variable.
38248         * sysdeps/wordsize-64/tst-writev.c: New file.
38250 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
38252         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
38253         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
38254         insns in _dl_start to prevent a TOC reference before relocs are
38255         resolved.
38257 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
38259         [BZ #12469]
38260         * Makeconfig: Remove RANLIB definition.
38261         * Makerules: Don't use RANLIB.
38262         * aclocal.m4: Remove ranlib test.
38263         * configure.in: No need to check for ranlib.
38264         * elf/rtld-Rules: Don't use RANLIB.
38266 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38268         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
38269         protection macro.
38270         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
38271         inclusion protection macro.
38273         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
38274         SIGRTMIN and SIGRTMAX and print information in that case only when
38275         SIGRTMIN is defined.
38277 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
38279         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
38280         arginfo fn returning -1.
38282         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
38283         and thousands string is zero terminated.
38285 2011-02-03  Andreas Schwab  <schwab@redhat.com>
38287         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
38288         sysdeps/unix/sysv/linux/bits/socket.h.
38290 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38292         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
38293         (__CPU_COUNT): Remove old macros.
38294         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
38295         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
38296         (__CPU_ALLOC, __CPU_FREE): Add macros.
38297         (__sched_cpualloc, __sched_cpufree): Add declarations.
38299 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
38301         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
38302         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
38303         * nscd/aicache.c (addhstaiX): Return timeout of added value.
38304         (readdhstai): Return value of addhstaiX call.
38305         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
38306         (addgrbyX): Return value returned by cache_addgr.
38307         (readdgrbyname): Return value returned by addgrbyX.
38308         (readdgrbygid): Likewise.
38309         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
38310         (addpwbyX): Return value returned by cache_addpw.
38311         (readdpwbyname): Return value returned by addhstbyX.
38312         (readdpwbyuid): Likewise.
38313         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
38314         (addservbyX): Return value returned by cache_addserv.
38315         (readdservbyname): Return value returned by addservbyX:
38316         (readdservbyport): Likewise.
38317         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
38318         (addhstbyX): Return value returned by cache_addhst.
38319         (readdhstbyname): Return value returned by addhstbyX.
38320         (readdhstbyaddr): Likewise.
38321         (readdhstbynamev6): Likewise.
38322         (readdhstbyaddrv6): Likewise.
38323         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
38324         (readdinitgroups): Return value returned by addinitgroupsX.
38325         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
38326         (prune_cache): Keep track of timeout value of re-added entries.
38327         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
38328         * nscd/nscd.h: Adjust prototypes of readd* functions.
38330 2011-02-04  Roland McGrath  <roland@redhat.com>
38332         * nis/nis_server.c (nis_servstate): Use the right name for 0.
38333         (nis_stats): Likewise.
38334         * nis/nis_modify.c (nis_modify): Likewise.
38335         * nis/nis_remove.c (nis_remove): Likewise.
38336         * nis/nis_add.c (nis_add): Likewise.
38338         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
38340         * posix/fnmatch_loop.c: Add some consts.
38342         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
38344 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
38346         [BZ #12460]
38347         * config.make.in (config-cflags-novzeroupper): Define.
38348         * configure.in: Substitute libc_cv_cc_novzeroupper.
38349         * elf/Makefile (AVX-CFLAGS): Define.
38350         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
38351         (CFLAGS-tst-auditmod4a.c): Likewise.
38352         (CFLAGS-tst-auditmod4b.c): Likewise.
38353         (CFLAGS-tst-auditmod6b.c): Likewise.
38354         (CFLAGS-tst-auditmod6c.c): Likewise.
38355         (CFLAGS-tst-auditmod7b.c): Likewise.
38356         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
38358 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
38360         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
38361         function to the callback.
38362         Patch partly by Jiri Olsa <jolsa@redhat.com>.
38364 2011-02-02  Andreas Schwab  <schwab@redhat.com>
38366         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
38367         of errno.
38369 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
38371         [BZ #11724]
38372         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
38373         of constructors.
38374         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
38375         of destructors.
38376         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
38378         [BZ #11724]
38379         * elf/Makefile: Add rules to build and run new test.
38380         * elf/tst-initorder.c: New file.
38381         * elf/tst-initorder.exp: New file.
38382         * elf/tst-initordera1.c: New file.
38383         * elf/tst-initordera2.c: New file.
38384         * elf/tst-initordera3.c: New file.
38385         * elf/tst-initordera4.c: New file.
38386         * elf/tst-initorderb1.c: New file.
38387         * elf/tst-initorderb2.c: New file.
38388         * elf/tst-order-a1.c: New file.
38389         * elf/tst-order-a2.c: New file.
38390         * elf/tst-order-a3.c: New file.
38391         * elf/tst-order-a4.c: New file.
38392         * elf/tst-order-b1.c: New file.
38393         * elf/tst-order-b2.c: New file.
38394         * elf/tst-order-main.c: New file.
38395         New test case by George Gensure <werkt0@gmail.com>.
38397 2010-10-01  Andreas Schwab  <schwab@redhat.com>
38399         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38400         decoding ACE if AI_CANONIDN.
38402 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
38404         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
38406 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
38408         * version.h (RELEASE): Bump for 2.13 release.
38409         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
38411         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
38413         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
38414         MADV_NOHUGEPAGE.
38415         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
38416         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38417         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38418         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38419         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38420         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38422         * posix/getconf.c: Update copyright year.
38423         * catgets/gencat.c: Likewise.
38424         * csu/version.c: Likewise.
38425         * debug/catchsegv.sh: Likewise.
38426         * debug/xtrace.sh: Likewise.
38427         * elf/ldconfig.c: Likewise.
38428         * elf/ldd.bash.in: Likewise.
38429         * elf/sprof.c (print_version): Likewise.
38430         * iconv/iconv_prog.c: Likewise.
38431         * iconv/iconvconfig.c: Likewise.
38432         * locale/programs/locale.c: Likewise.
38433         * locale/programs/localedef.c: Likewise.
38434         * malloc/memusage.sh: Likewise.
38435         * malloc/mtrace.pl: Likewise.
38436         * nscd/nscd.c (print_version): Likewise.
38437         * nss/getent.c: Likewise.
38439         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
38440         PF_CAIF, and PF_ALG.
38441         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38443 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
38445         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
38446         (modules-names): Use them.
38447         (ifunc-test-modules, ifunc-pie-tests): Define.
38448         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
38449         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
38450         (test-extras): Likewise.
38451         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
38452         $(compile-command.c).
38453         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
38454         (all-built-dso): Define.
38455         (check-textrel.out, check-execstack.out): Depend on it.
38457         * configure.in: Don't override --enable-multi-arch.
38459 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
38461         [BZ #6812]
38462         * nscd/hstcache.c (tryagain): Define.
38463         (cache_addhst): Return tryagain not notfound for temporary errors.
38464         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
38465         failed.
38467 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
38469         [BZ #10563]
38470         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
38471         to make the syscall.
38472         * sysdeps/unix/sysv/linux/setgroups.c: New file.
38474         [BZ #12378]
38475         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
38476         and fall back to matching as normal character if the string ends before
38477         the matching ']' is found.  This is what POSIX requires.
38478         * posix/testfnm.c: Adjust test result.
38479         * posix/globtest.sh: Adjust test result.  Add new test.
38480         * posix/tst-fnmatch.input: Likewise.
38481         * posix/tst-fnmatch2.c: Add new test.
38483 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
38485         * elf/Makefile (check-execstack): Revert last change.  Depend on
38486         check-execstack.h.
38487         (check-execstack.h): New target.
38488         (generated): Add check-execstack.h.
38489         * elf/check-execstack.c: Include "check-execstack.h".
38490         (main): Revert last change.
38491         (handle_file): Return zero if GNU_STACK is absent and
38492         DEFAULT_STACK_PERMS doesn't include PF_X.
38494 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
38496         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
38497         in child fails because the descriptor is already closed.
38498         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
38499         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
38500         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
38502         [BZ #12397]
38503         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
38504         syscall.
38506         [BZ #10484]
38507         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
38508         temporary buffer used to handle multi lookups locally.
38509         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
38511 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
38513         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
38514         loader is ld.so.
38516 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
38518         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
38519         alignment for SSE2.
38521 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
38523         [BZ #12394]
38524         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
38525         characters.  When rounding increased number of integer digits recompute
38526         number of groups.
38527         * stdio-common/tst-grouping.c: New file.
38528         * stdio-common/Makefile: Add rules to build and run tst-grouping.
38530 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
38532         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
38533         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
38535         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
38536         void.
38537         * bits/select.h: Likewise.
38539 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
38541         * po/ja.po: Update from translation team.
38543 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
38545         [BZ #11155]
38546         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
38547         implementation just like for lxstat, fxstatat, et al.
38549 2010-12-27  Jim Meyering  <meyering@redhat.com>
38551         [BZ #12348]
38552         * posix/regexec.c (build_trtable): Return failure indication upon
38553         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
38555 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
38557         [BZ #12201]
38558         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
38559         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
38560         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
38561         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
38563         [BZ #12207]
38564         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
38566         [BZ #12204]
38567         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
38568         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
38570 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
38572         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
38573         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
38574         script has SORT_BY_INIT_PRIORITY.
38575         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
38576         NO_CTORS_DTORS_SECTIONS is defined.
38577         * elf/soinit.c: Likewise.
38578         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
38579         NO_CTORS_DTORS_SECTIONS is defined.
38580         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
38581         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
38582         * sysdeps/sh/init-first.c: Likewise.
38583         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
38585 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
38587         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
38588         always use the slow path.
38590 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
38592         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
38593         similar rule which adds the sysdep directories to the header search in
38594         order to pick up the correct platform stackinfo.h.
38595         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
38596         perform test if it is, otherwise return successfully without testing.
38597         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
38598         DEFAULT_STACK_PERMS define in stackinfo.h.
38599         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
38600         defined in stackinfo.h.
38601         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
38602         DEFAULT_STACK_PERMS defined in stackinfo.h.
38603         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
38604         * sysdeps/ia64/stackinfo.h: Likewise.
38605         * sysdeps/s390/stackinfo.h: Likewise.
38606         * sysdeps/sh/stackinfo.h: Likewise.
38607         * sysdeps/sparc/stackinfo.h: Likewise.
38608         * sysdeps/x86_64/stackinfo.h: Likewise.
38609         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
38610         PF_X for powerpc64.  Retain PF_X for powerpc32.
38612 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
38614         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
38615         accurately.
38616         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
38617         GETDENTS_64BIT_ALIGNED.
38619 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
38621         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
38623 2010-12-10  Andreas Schwab  <schwab@redhat.com>
38625         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
38626         _GNU_SOURCE.
38628         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
38629         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
38630         Remove __restrict.
38631         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
38632         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
38634 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
38636         [BZ #11655]
38637         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
38638         are initialized.
38640 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
38642         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
38644 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
38646         * po/it.po: Update from translation team.
38648 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
38650         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
38651         unused codes.
38653 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
38655         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
38657 2010-11-24  Andreas Schwab  <schwab@redhat.com>
38659         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
38660         specially.
38661         (gaih_getanswer_slice): Likewise.
38663 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
38665         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
38667 2010-05-31  Petr Baudis  <pasky@suse.cz>
38669         [BZ #11149]
38670         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
38671         silently even in the chroot mode.
38673 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
38675         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
38676         last patch a bit.  Pretty printing
38678 2010-05-31  Petr Baudis <pasky@suse.cz>
38680         [BZ #10085]
38681         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
38682         initialization of skip_initgroups_dyn.
38684 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
38686         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
38687         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38689 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
38691         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
38693 2010-11-11  Andreas Schwab  <schwab@redhat.com>
38695         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
38696         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
38697         (tst-fnmatch-ENV): Set MALLOC_TRACE.
38698         ($(objpfx)tst-fnmatch-mem): New rule.
38699         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
38700         * posix/tst-fnmatch.c (main): Call mtrace.
38702 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
38704         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38705         Support Intel processor model 6 and model 0x2c.
38707 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
38709         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
38710           signed comparison.
38712 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
38714         [BZ #12205]
38715         * string/test-strncasecmp.c (check_result): New function.
38716         (do_one_test): Use it.
38717         (check1): New function.
38718         (test_main): Use it.
38719         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
38720         Support strcasecmp and strncasecmp.
38722 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
38724         [BZ #12194]
38725         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
38726         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38728 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
38730         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
38731         IFUNC support.
38732         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38733         memset-x86-64.
38734         * sysdeps/x86_64/multiarch/bzero.S: New file.
38735         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
38736         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
38737         * sysdeps/x86_64/multiarch/memset.S: New file.
38738         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
38739         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38740         Set bit_Prefer_SSE_for_memop for Intel processors.
38741         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
38742         Define.
38743         (index_Prefer_SSE_for_memop): Define.
38744         (HAS_PREFER_SSE_FOR_MEMOP): Define.
38746 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
38748         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
38749         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
38751 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
38753         [BZ #12191]
38754         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38755         (__x86_64_raw_data_cache_size_half): Likewise.
38756         (__x86_64_raw_shared_cache_size): Likewise.
38757         (__x86_64_raw_shared_cache_size_half): Likewise.
38759         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38760         (__x86_64_raw_data_cache_size_half): Likewise.
38761         (__x86_64_raw_shared_cache_size): Likewise.
38762         (__x86_64_raw_shared_cache_size_half): Likewise.
38763         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
38764         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
38765         and __x86_64_raw_shared_cache_size_half.  Round
38766         __x86_64_data_cache_size_half, __x86_64_data_cache_size
38767         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
38768         to multiple of 256 bytes.
38770 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
38772         [BZ #12167]
38773         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
38774         of inacessible symlinks.  Verify result of symlink before returning it.
38775         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38776         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
38778 2010-10-28  Erich Ritz  <erichritz@gmail.com>
38780         * math/math.h (isinf): Fix typo in comment.
38782 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
38784         * po/da.po: Update from translation team.
38786 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
38788         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
38789         is added to the list.
38791 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38792             Ulrich Drepper  <drepper@gmail.com>
38794         * elf/dl-object.c (_dl_new_object): Don't append the new object to
38795         the global list here.  Move code to...
38796         (_dl_add_to_namespace_list): ...here.  New function.
38797         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
38798         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
38799         * elf/dl-load.c (lose): Don't remove the element from the list.
38800         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
38801         (_dl_map_object): Likewise.
38803 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
38805         [BZ #12159]
38806         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
38807         into all bytes of SSE register.
38808         Patch by Richard Li <richardpku@gmail.com>.
38810 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
38812         [BZ #12140]
38813         * malloc/malloc.c (_int_free): Fill correct number of bytes when
38814         perturbing.
38816 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
38818         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
38819         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
38820         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
38821         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
38823         submachine.
38824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
38826 2010-10-22  Andreas Schwab  <schwab@redhat.com>
38828         * include/dlfcn.h (__RTLD_SECURE): Define.
38829         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
38830         mode & __RTLD_SECURE instead.
38831         (open_path): Rename preloaded parameter to secure.
38832         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
38833         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
38834         * elf/dl-deps.c (openaux): Likewise.
38835         * elf/rtld.c (struct map_args): Remove is_preloaded.
38836         (map_doit): Don't use it.
38837         (dl_main): Likewise.
38838         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
38839         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
38841 2010-09-09  Andreas Schwab  <schwab@redhat.com>
38843         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
38844         (sysd-rules-targets): Remove duplicates.
38845         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
38846         rtld-%.$o dependency.
38848 2010-10-18  Andreas Schwab  <schwab@redhat.com>
38850         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
38851         _dl_map_object do it.
38853 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
38855         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
38856         fast fma builtins, define the macros in the C99 standard.
38857         (FP_FAST_FMAF): Likewise.
38858         (FP_FAST_FMAL): Likewise.
38859         * sysdeps/x86_64/bits/mathdef.h: Likewise.
38861         * bits/mathdef.h: Update copyright year.
38862         * sysdeps/powerpc/bits/mathdef.h: Likewise.
38864 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
38866         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
38867         builtins, define the macros in the C99 standard.
38868         (FP_FAST_FMAF): Likewise.
38869         (FP_FAST_FMAL): Likewise.
38870         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
38871         multiply/add.
38872         (FP_FAST_FMAF): Likewise.
38874 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
38876         [BZ #3268]
38877         * math/libm-test.inc (fma_test): Some new testcases.
38878         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
38879         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
38880         y and infinite z.  Do multiplication by C already in long double.
38881         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
38882         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
38883         y and infinite z.  Do bitwise or of inexact bit into u.d.
38884         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
38885         * sysdeps/i386/fpu/s_fmaf.S: Removed.
38886         * sysdeps/i386/fpu/s_fma.S: Removed.
38887         * sysdeps/i386/fpu/s_fmal.S: Removed.
38889 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
38891         [BZ #3268]
38892         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
38893         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
38894         computation is not scheduled after fetestexcept.  Fix value
38895         of minimum denormal long double.
38897 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
38899         [BZ #3268]
38900         * math/libm-test.inc (fma_test): Add some more tests.
38901         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
38902         correctly.
38904 2010-10-15  Andreas Schwab  <schwab@redhat.com>
38906         * scripts/data/localplt-s390-linux-gnu.data: New file.
38907         * scripts/data/localplt-s390x-linux-gnu.data: New file.
38909 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
38911         [BZ #3268]
38912         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
38913         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
38914         instead of dbl-64.
38915         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
38916         inlines.
38917         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
38918         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
38919         if one of x and y is very large and the other is subnormal.
38920         * sysdeps/s390/fpu/s_fmaf.c: New file.
38921         * sysdeps/s390/fpu/s_fma.c: New file.
38922         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
38923         * sysdeps/powerpc/fpu/s_fma.S: New file.
38924         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
38925         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
38926         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
38928 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
38930         [BZ #3268]
38931         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
38932         fma tests.
38933         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
38934         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
38935         * sysdeps/i386/i686/multiarch/s_fma.c: Include
38936         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
38937         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
38938         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
38939         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
38941 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
38943         [BZ #12078]
38944         * posix/regcomp.c (parse_branch): One more memory leak plugged.
38945         * posix/bug-regex31.input: Add test case.
38947 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
38949         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
38950         * posix/bug-regex31.input: New file.
38952         [BZ #12078]
38953         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
38954         (parse_sub_exp): Fix last change, use postorder.
38956         * posix/bug-regex31.c: New file.
38957         * posix/Makefile: Add rules to build and run bug-regex31.
38959         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
38961         [BZ #12078]
38962         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
38964         [BZ #12108]
38965         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
38966         to have entries in sys_siglist.
38968         [BZ #12093]
38969         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
38970         be NULL.
38972 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
38974         [BZ #3268]
38975         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
38976         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
38977         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
38978         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
38979         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38980         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
38981         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
38982         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
38983         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
38984         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
38985         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
38986         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
38987         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
38988         * math/ftestexcept.c (fetestexcept): Likewise.
38989         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
38990         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
38991         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
38992         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
38993         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
38994         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
38995         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38997 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
38999         [BZ #12107]
39000         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
39001         newline.
39003 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
39005         * string/bug-strstr1.c: New file.
39006         * string/Makefile: Add rules to build and run bug-strstr1.
39008 2010-10-05  Eric Blake  <eblake@redhat.com>
39010         [BZ #12092]
39011         * string/str-two-way.h (two_way_long_needle): Always clear memory
39012         when skipping input due to the shift table.
39014 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
39016         [BZ #12005]
39017         * malloc/mcheck.c: Handle large requests.
39019         [BZ #12077]
39020         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
39021         for strncmp and strncasecmp.
39022         * string/stratcliff.c: Add tests for strcmp and strncmp.
39023         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
39025 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39027         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
39028         __set_fpscr.
39030 2010-09-30  Andreas Jaeger  <aj@suse.de>
39032         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
39033         (CGROUP_SUPER_MAGIC): Define.
39034         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39035         Handle btrfs and cgroup file systems.
39036         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
39037         Likewise.
39039 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
39041         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
39042         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
39044 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39046         [BZ #12067]
39047         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
39048         trying to locate the ELF header.
39050 2010-09-27  Andreas Schwab  <schwab@redhat.com>
39052         [BZ #11611]
39053         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
39054         Mask out sign-bit copies when constructing f_fsid.
39056 2010-09-24  Petr Baudis <pasky@suse.cz>
39058         * debug/stack_chk_fail_local.c: Add missing licence exception.
39059         * debug/warning-nop.c: Likewise.
39061 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
39063         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
39064         implementing getdents64 using getdents syscall, set d_type if
39065         __ASSUME_GETDENTS32_D_TYPE.
39067 2010-09-16  Andreas Schwab  <schwab@redhat.com>
39069         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
39070         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
39072 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
39074         [BZ #12037]
39075         * posix/unistd.h: Undo change of feature selection for ftruncate from
39076         2010-01-11.
39078 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
39080         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
39081         detection.
39083 2010-09-20  Andreas Schwab  <schwab@redhat.com>
39085         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
39086         fanotify_mark.
39087         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39089 2010-09-14  Andreas Schwab  <schwab@redhat.com>
39091         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
39092         variables after CHECK_SP call.
39093         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
39095 2010-09-13  Andreas Schwab  <schwab@redhat.com>
39096             Ulrich Drepper  <drepper@redhat.com>
39098         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
39099         re-relocationg ld.so.
39100         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
39101         _dl_init_paths call.
39102         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
39103         here anymore.
39105 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
39107         * resolv/res_init.c (__res_vinit): Count the default server we added.
39109 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
39110             Ulrich Drepper  <drepper@redhat.com>
39112         [BZ #11968]
39113         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39114         (____longjmp_chk): Use %ebx for saving value across system call.
39115         Add unwind info.
39117 2010-09-06  Andreas Schwab  <schwab@redhat.com>
39119         * manual/Makefile: Don't mix pattern rules with normal rules.
39121 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
39123         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
39124         operation.
39125         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
39126         * libio/iofopncook.c (_IO_cookie_init): Likewise.
39127         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
39128         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
39129         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39130         Likewise.
39132 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
39134         [BZ #11979]
39135         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
39136         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
39138 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
39140         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
39141         * sysdeps/x86_64/addmul_1.S: Likewise.
39142         * sysdeps/x86_64/lshift.S: Likewise.
39143         * sysdeps/x86_64/mul_1.S: Likewise.
39144         * sysdeps/x86_64/rshift.S: Likewise.
39145         * sysdeps/x86_64/sub_n.S: Likewise.
39146         * sysdeps/x86_64/submul_1.S: Likewise.
39148 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39150         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
39151         Define __sched_param instead of SCHED_* and sched_param when
39152         <bits/sched.h> is included with __need_schedparam defined.
39153         * bits/sched.h [__need_schedparam]
39154         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
39155         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
39156         (__defined_schedparam): Define to 1.
39157         (__sched_param): New structure, identical to sched_param.
39158         (__need_schedparam): Undefine.
39160 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
39162         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
39163         (epoll_create1): Declare.
39165         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
39167 2010-08-31  Andreas Schwab  <schwab@redhat.com>
39169         [BZ #7066]
39170         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
39171         shifting retval into place.
39173 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
39175         * nis/rpcsvc/nis.h: Update copyright notice.
39176         * nis/rpcsvc/nis.x: Likewise.
39177         * nis/rpcsvc/nis_callback.h: Likewise.
39178         * nis/rpcsvc/nis_callback.x: Likewise.
39179         * nis/rpcsvc/nis_object.x: Likewise.
39180         * nis/rpcsvc/nis_tags.h: Likewise.
39181         * nis/rpcsvc/yp.h: Likewise.
39182         * nis/rpcsvc/yp.x: Likewise.
39183         * nis/rpcsvc/ypupd.h: Likewise.
39184         * nis/yp_xdr.c: Likewise.
39185         * nis/ypupdate_xdr.c: Likewise.
39187         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
39188         mainly the body of pmap_getport.  Add parameters to specify timeouts.
39189         (pmap_getport): Use __libc_rpc_getport.
39190         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
39191         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
39192         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
39194 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
39196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
39197         fanotify_mark.
39199 2010-08-27  Roland McGrath  <roland@redhat.com>
39201         * sysdeps/i386/i686/multiarch/Makefile
39202         (CFLAGS-varshift.c): New variable.
39204 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
39206         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
39207         * sysdeps/i386/i686/multiarch/varshift.c: New file.
39209         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
39211         * sysdeps/x86_64/strlen.S: Minimal code improvement.
39213 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
39215         * sysdeps/x86_64/strlen.S: Unroll the loop.
39216         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39217         strlen-sse2 strlen-sse2-bsf.
39218         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
39219         __strlen_no_bsf if bit_Slow_BSF is set.
39220         (__strlen_sse42): Removed.
39221         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
39222         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
39224 2010-08-25  Roland McGrath  <roland@redhat.com>
39226         * sysdeps/x86_64/multiarch/varshift.S: File removed.
39227         * sysdeps/x86_64/multiarch/varshift.c: New file.
39228         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
39229         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
39230         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
39231         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
39233 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
39235         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39236         strlen-sse2 strlen-sse2-bsf.
39237         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
39238         __strlen_sse2_bsf if bit_Slow_BSF is unset.
39239         (__strlen_sse2): Removed.
39240         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
39241         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
39242         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
39243         bit_Slow_BSF for Atom.
39244         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
39245         (index_Slow_BSF): Define.
39246         (HAS_SLOW_BSF): Define.
39248 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
39250         [BZ #10851]
39251         * resolv/res_init.c (__res_vinit): When no server address at all
39252         is given default to loopback.
39254 2010-08-24  Roland McGrath  <roland@redhat.com>
39256         * configure.in: Remove config-name.h generation.
39257         * configure: Regenerated.
39258         * config-name.in: File removed.
39259         * scripts/config-uname.sh: New file.
39260         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
39261         ($(objdir)config-name.h): New target.
39263         * sunrpc/rpc_parse.h: Avoid nested comment.
39265 2010-08-24  Richard Henderson  <rth@redhat.com>
39266             Ulrich Drepper  <drepper@redhat.com>
39267             H.J. Lu  <hongjiu.lu@intel.com>
39269         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
39270         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
39271         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
39272         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
39273         _mm_alignr_epi8 with _mm_loadu_si128.
39274         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
39275         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
39276         (__m128i_shift_right): Removed.
39277         * sysdeps/i386/i686/multiarch/varshift.h: New file.
39278         * sysdeps/i386/i686/multiarch/varshift.S: New file.
39279         * sysdeps/x86_64/multiarch/varshift.h: New file.
39280         * sysdeps/x86_64/multiarch/varshift.S: New file.
39282 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
39284         * configure.in: Move assembler checks to before sysdep dir checking.
39286 2010-08-20  Petr Baudis  <pasky@suse.cz>
39288         * LICENSES: Sync the sunrpc license.
39290 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
39292         * sunrpc/auth_des.c: Update copyright notice once again.
39293         * sunrpc/auth_none.c: Likewise.
39294         * sunrpc/auth_unix.c: Likewise.
39295         * sunrpc/authdes_prot.c: Likewise.
39296         * sunrpc/authuxprot.c: Likewise.
39297         * sunrpc/bindrsvprt.c: Likewise.
39298         * sunrpc/clnt_gen.c: Likewise.
39299         * sunrpc/clnt_perr.c: Likewise.
39300         * sunrpc/clnt_raw.c: Likewise.
39301         * sunrpc/clnt_simp.c: Likewise.
39302         * sunrpc/clnt_tcp.c: Likewise.
39303         * sunrpc/clnt_udp.c: Likewise.
39304         * sunrpc/clnt_unix.c: Likewise.
39305         * sunrpc/des_crypt.c: Likewise.
39306         * sunrpc/des_soft.c: Likewise.
39307         * sunrpc/get_myaddr.c: Likewise.
39308         * sunrpc/getrpcport.c: Likewise.
39309         * sunrpc/key_call.c: Likewise.
39310         * sunrpc/key_prot.c: Likewise.
39311         * sunrpc/openchild.c: Likewise.
39312         * sunrpc/pm_getmaps.c: Likewise.
39313         * sunrpc/pm_getport.c: Likewise.
39314         * sunrpc/pmap_clnt.c: Likewise.
39315         * sunrpc/pmap_prot.c: Likewise.
39316         * sunrpc/pmap_prot2.c: Likewise.
39317         * sunrpc/pmap_rmt.c: Likewise.
39318         * sunrpc/rpc/auth.h: Likewise.
39319         * sunrpc/rpc/auth_unix.h: Likewise.
39320         * sunrpc/rpc/clnt.h: Likewise.
39321         * sunrpc/rpc/des_crypt.h: Likewise.
39322         * sunrpc/rpc/key_prot.h: Likewise.
39323         * sunrpc/rpc/netdb.h: Likewise.
39324         * sunrpc/rpc/pmap_clnt.h: Likewise.
39325         * sunrpc/rpc/pmap_prot.h: Likewise.
39326         * sunrpc/rpc/pmap_rmt.h: Likewise.
39327         * sunrpc/rpc/rpc.h: Likewise.
39328         * sunrpc/rpc/rpc_des.h: Likewise.
39329         * sunrpc/rpc/rpc_msg.h: Likewise.
39330         * sunrpc/rpc/svc.h: Likewise.
39331         * sunrpc/rpc/svc_auth.h: Likewise.
39332         * sunrpc/rpc/types.h: Likewise.
39333         * sunrpc/rpc/xdr.h: Likewise.
39334         * sunrpc/rpc_clntout.c: Likewise.
39335         * sunrpc/rpc_cmsg.c: Likewise.
39336         * sunrpc/rpc_common.c: Likewise.
39337         * sunrpc/rpc_cout.c: Likewise.
39338         * sunrpc/rpc_dtable.c: Likewise.
39339         * sunrpc/rpc_hout.c: Likewise.
39340         * sunrpc/rpc_main.c: Likewise.
39341         * sunrpc/rpc_parse.c: Likewise.
39342         * sunrpc/rpc_parse.h: Likewise.
39343         * sunrpc/rpc_prot.c: Likewise.
39344         * sunrpc/rpc_sample.c: Likewise.
39345         * sunrpc/rpc_scan.c: Likewise.
39346         * sunrpc/rpc_scan.h: Likewise.
39347         * sunrpc/rpc_svcout.c: Likewise.
39348         * sunrpc/rpc_tblout.c: Likewise.
39349         * sunrpc/rpc_util.c: Likewise.
39350         * sunrpc/rpc_util.h: Likewise.
39351         * sunrpc/rpcinfo.c: Likewise.
39352         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
39353         * sunrpc/rpcsvc/key_prot.x: Likewise.
39354         * sunrpc/rpcsvc/klm_prot.x: Likewise.
39355         * sunrpc/rpcsvc/mount.x: Likewise.
39356         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
39357         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
39358         * sunrpc/rpcsvc/rex.x: Likewise.
39359         * sunrpc/rpcsvc/rstat.x: Likewise.
39360         * sunrpc/rpcsvc/rusers.x: Likewise.
39361         * sunrpc/rpcsvc/sm_inter.x: Likewise.
39362         * sunrpc/rpcsvc/spray.x: Likewise.
39363         * sunrpc/rpcsvc/yppasswd.x: Likewise.
39364         * sunrpc/rtime.c: Likewise.
39365         * sunrpc/svc.c: Likewise.
39366         * sunrpc/svc_auth.c: Likewise.
39367         * sunrpc/svc_authux.c: Likewise.
39368         * sunrpc/svc_raw.c: Likewise.
39369         * sunrpc/svc_run.c: Likewise.
39370         * sunrpc/svc_simple.c: Likewise.
39371         * sunrpc/svc_tcp.c: Likewise.
39372         * sunrpc/svc_udp.c: Likewise.
39373         * sunrpc/svc_unix.c: Likewise.
39374         * sunrpc/svcauth_des.c: Likewise.
39375         * sunrpc/xcrypt.c: Likewise.
39376         * sunrpc/xdr.c: Likewise.
39377         * sunrpc/xdr_array.c: Likewise.
39378         * sunrpc/xdr_float.c: Likewise.
39379         * sunrpc/xdr_mem.c: Likewise.
39380         * sunrpc/xdr_rec.c: Likewise.
39381         * sunrpc/xdr_ref.c: Likewise.
39382         * sunrpc/xdr_sizeof.c: Likewise.
39383         * sunrpc/xdr_stdio.c: Likewise.
39385         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
39386         handling.
39388 2010-08-19  Andreas Schwab  <schwab@redhat.com>
39390         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
39392 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
39394         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
39395         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
39396         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
39397         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
39398         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
39399         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
39400         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
39401         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
39402         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
39403         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
39404         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
39405         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
39406         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
39407         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
39409 2010-07-26  Anton Blanchard  <anton@samba.org>
39411         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
39412         * malloc/arena.c (heap_trim): Likewise.
39414 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
39416         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
39417         here.  Not...
39418         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
39419         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
39421 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
39423         * sysdeps/i386/elf/Makefile: New file.
39425 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
39427         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
39428         from fanotify_init.
39429         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
39430         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39432 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
39434         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
39435         of strncasecmp_l.
39436         * sysdeps/multiarch/strcmp.S: Likewise.
39438 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
39440         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39441         strncase_l-nonascii.
39442         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39443         Add strncase_l-ssse3.
39444         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
39445         * sysdeps/x86_64/strcmp.S: Likewise.
39446         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
39447         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
39448         * sysdeps/x86_64/strncase.S: New file.
39449         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
39450         * sysdeps/x86_64/strncase_l.S: New file.
39451         * string/Makefile (strop-tests): Add strncasecmp.
39452         * string/test-strncasecmp.c: New file.
39454         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
39455         warning.
39457         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
39458         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
39460 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
39462         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
39464 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
39466         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
39467         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
39468         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
39470 2010-05-01  Alan Modra  <amodra@gmail.com>
39472         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
39473         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
39474         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
39475         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
39476         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
39477         tidying.  Don't tail-call __sigjmp_save for static lib.
39478         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
39479         save location.
39480         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
39481         (CALL_MCOUNT): Add eh info, and nop after bl.
39482         (TAIL_CALL_SYSCALL_ERROR): New macro.
39483         (PSEUDO_RET): Use it.
39484         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39485         Correct save location of integer regs and cr.
39486         (_dl_profile_resolve): Correct cr save location.  Delete nops
39487         after bl when SHARED.  Reduce cfi size a little by better
39488         placement of cfi directives.
39489         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
39490         make a stack frame.  Instead use parm save area as a temp.
39491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
39492         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
39493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39494         Don't make a stack frame for parent, use parm save area.
39495         Increase child stack frame to 112 bytes.  Don't save unused reg,
39496         and adjust reg usage.  Set up cfi on error recovery and
39497         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
39498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39499         (__makecontext): Add dummy nop after jump to exit.
39500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
39501         Use correct parm save area and cr save, reduce stack frame.
39502         Correct cfi for possible PSEUDO_RET frame setup.
39503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
39504         Branch to local label emitted by PSEUDO_RET rather than
39505         __syscall_error.
39507 2010-08-12  Andreas Schwab  <schwab@redhat.com>
39509         [BZ #11904]
39510         * locale/programs/locale.c (print_assignment): New function.
39511         (show_locale_vars): Use it.
39513 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
39515         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
39516         field.
39517         (struct statfs64): Likewise.
39518         (_STATFS_F_FLAGS): Define.
39519         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
39520         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39521         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
39522         (ST_VALID): Define locally.
39523         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
39524         __statvfs_getflags, use the provided value.
39525         * sysdeps/unix/sysv/linux/kernel-features.h: Define
39526         __ASSUME_STATFS_F_FLAGS.
39528         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
39530         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
39531         Add sys/fanotify.h.
39532         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
39533         fanotify_mask for GLIBC_2.13.
39534         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
39535         fanotify_init and fanotify_mark.
39536         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39537         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
39539         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
39540         Add prlimit.
39541         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
39542         prlimit64 for GLIBC_2.13.
39543         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
39544         prlimit64.
39545         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
39546         syscall.
39547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
39548         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39549         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
39550         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
39551         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
39552         add prlimit alias.
39553         * sysdeps/unix/sysv/linux/prlimit.c: New file.
39555         [BZ #11903]
39556         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
39557         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
39559         * nss/Makefile: Add rules to build and run tst-nss-test1.
39560         * shlib-versions: Add entry for libnss_test1.
39561         * nss/nss_test1.c: New file.
39562         * nss/tst-nss-test1.c: New file.
39564         * nss/nsswitch.c (__nss_database_custom): Define new variable.
39565         (__nss_configure_lookup): Set appropriate entry in
39566         __nss_configure_lookup to true.
39567         * nss/nsswitch.h: Define enum with indeces of databases in
39568         databases and __nss_database_custom arrays.  Declare
39569         __nss_database_custom.
39570         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
39571         to avoid using nscd when custom rules are installed.
39572         * nss/getXXbyYY_r.c: Likewise.
39573         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39575         * nss/nss_files/files-parse.c: Whitespace fixes.
39577 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
39579         [BZ #11883]
39580         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
39581         * posix/fnmatch_loop.c: Likewise.
39583 2010-07-17  Andi Kleen  <ak@linux.intel.com>
39585         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
39586         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
39587         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
39588         * Versions.def [GLIBC_2.13]: Add.
39590 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
39592         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39593         Also fail if tpwd after pwuid call is NULL.
39595 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39597         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
39598         when converting to ms.
39600 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39602         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
39603         EOPNOTSUPP errors with ENOTTY.
39604         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
39605         EOPNOTSUPP errors with ENOTTY.
39607 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
39609         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39610         Add strcasecmp_l-ssse3.
39611         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
39612         strcasecmp.
39613         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
39614         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
39615         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
39617 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
39619         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
39621         * string/Makefile (strop-tests): Add strcasecmp.
39622         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39623         strcasecmp_l-nonascii.
39624         (gen-as-const-headers): Add locale-defines.sym.
39625         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
39626         * sysdeps/x86_64/strcasecmp.S: New file.
39627         * sysdeps/x86_64/strcasecmp_l.S: New file.
39628         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
39629         * sysdeps/x86_64/locale-defines.sym: New file.
39630         * string/test-strcasecmp.c: New file.
39632         * string/test-strcasestr.c: Test both ends of the range of characters.
39633         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
39635 2010-07-29  Roland McGrath  <roland@redhat.com>
39637         [BZ #11856]
39638         * manual/locale.texi (Yes-or-No Questions): Fix example code.
39640 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
39642         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
39643         for ld.so.
39645 2010-07-27  Andreas Schwab  <schwab@redhat.com>
39647         * manual/memory.texi (Malloc Tunable Parameters): Document
39648         M_PERTURB.
39650 2010-07-26  Roland McGrath  <roland@redhat.com>
39652         [BZ #11840]
39653         * configure.in (-fgnu89-inline check): Set and substitute
39654         gnu89_inline, not libc_cv_gnu89_inline.
39655         * configure: Regenerated.
39656         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
39658 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
39660         * string/test-strnlen.c: New file.
39661         * string/Makefile (strop-tests): Add strnlen.
39662         * string/tester.c (test_strnlen): Add a few more test cases.
39663         * string/tst-strlen.c: Better error reporting.
39665         * sysdeps/x86_64/strnlen.S: New file.
39667 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
39669         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
39670         lower-latency instructions.
39672 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
39674         * string/test-strcasestr.c: New file.
39675         * string/test-strstr.c: New file.
39676         * string/Makefile (strop-tests): Add strstr and strcasestr.
39677         * string/str-two-way.h: Don't undefine MAX.
39678         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
39680 2010-07-21  Andreas Schwab  <schwab@redhat.com>
39682         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39683         strcasestr-nonascii.
39684         (CFLAGS-strcasestr-nonascii.c): Define.
39685         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
39686         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
39687         Remove unused attribute.
39689 2010-07-20  Roland McGrath  <roland@redhat.com>
39691         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
39692         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
39693         ld.so.cache was broken.  With it, there is no way to disable dsocaps
39694         like LD_HWCAP_MASK can disable hwcaps.
39696 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
39698         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
39700 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
39702         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
39703         call in strcasestr.
39704         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
39705         __strcasestr_sse42_nonascii.
39706         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
39707         strcasestr-nonascii.c.
39708         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
39710 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
39712         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
39713         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
39714         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
39715         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
39717 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
39719         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
39720         fcntl.
39722 2010-07-06  Andreas Schwab  <schwab@redhat.com>
39724         [BZ #11577]
39725         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
39726         dl_signal_cerror.
39728 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
39730         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
39731         _PC_PIPE_BUF using F_GETPIPE_SZ.
39733 2010-07-05  Roland McGrath  <roland@redhat.com>
39735         * manual/arith.texi (Rounding Functions): Fix rint description
39736         implicit in round description.
39738 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
39740         * elf/Makefile: Fix linking for a few tests to make recent linker
39741         happy.
39743 2010-06-30  Andreas Schwab  <schwab@redhat.com>
39745         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39746         $(common-objpfx)libc_nonshared.a.
39748 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
39750         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
39751         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
39752         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39753         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39754         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
39755         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
39756         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39757         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
39759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
39760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
39761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
39763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
39765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
39766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
39767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
39768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
39770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
39772         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
39773         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
39774         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
39775         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
39776         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
39777         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
39778         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
39779         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
39780         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
39781         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
39782         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
39783         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
39784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
39785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
39786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
39787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
39788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
39789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
39790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
39791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
39792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
39793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
39794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
39795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
39796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
39797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
39799 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
39801         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
39802         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
39803         * string/memmove.c (memmove): Renamed to ...
39804         (MEMMOVE): ...this.  Default to memmove.
39805         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
39806         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
39807         (END_CHK): Define.
39808         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39809         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
39810         mempcpy-ssse3-back memmove-ssse3-back.
39811         * sysdeps/x86_64/multiarch/bcopy.S: New file .
39812         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
39813         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
39814         * sysdeps/x86_64/multiarch/memcpy.S: New file.
39815         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
39816         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
39817         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
39818         * sysdeps/x86_64/multiarch/memmove.c: New file.
39819         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
39820         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
39821         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
39822         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
39823         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
39824         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
39825         Define.
39826         (index_Fast_Copy_Backward): Define.
39827         (HAS_ARCH_FEATURE): Define.
39828         (HAS_FAST_REP_STRING): Define.
39829         (HAS_FAST_COPY_BACKWARD): Define.
39831 2010-06-21  Andreas Schwab  <schwab@redhat.com>
39833         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39834         Restore proper fallback handling.
39836 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
39838         [BZ #11701]
39839         * posix/group_member.c (__group_member): Correct checking loop.
39841         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
39842         OOM in getpwuid_r correctly.  Return error number when the caller
39843         should return, otherwise -1.
39844         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
39845         call returning > 0 value.
39846         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
39848 2010-06-07  Andreas Schwab  <schwab@redhat.com>
39850         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
39851         libc_nonshared.a from targets in modules-names.
39853 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
39855         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
39856         requires it.
39858 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
39860         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
39861         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
39862         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
39863         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
39865 2010-06-02  Andreas Schwab  <schwab@redhat.com>
39867         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
39869 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
39871         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
39872         and F_GETPIPE_SZ.
39873         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
39874         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39875         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39876         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39877         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39878         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
39880 2010-06-14  Roland McGrath  <roland@redhat.com>
39882         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
39884 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
39886         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
39887         __REDIRECT followed by __THROW.
39888         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
39889         * posix/getopt.h (getopt): Likewise.
39891 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
39893         * hurd/lookup-at.c (__file_name_lookup_at): Accept
39894         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
39895         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
39896         in AT_FLAGS.
39897         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
39898         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
39900 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
39902         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
39904 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
39906         [BZ #11640]
39907         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39908         Properly check family and model.
39910 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
39912         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
39914 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
39916         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
39918 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
39920         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
39921         symbol reference.
39923 2010-05-19  Andreas Schwab  <schwab@redhat.com>
39925         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
39926         symbol reference.
39928 2010-05-21  Andreas Schwab  <schwab@redhat.com>
39930         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
39931         and internal_recvmmsg.
39932         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
39933         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
39934         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
39935         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
39937         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
39938         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39939         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39941 2010-05-20  Andreas Schwab  <schwab@redhat.com>
39943         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
39945 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
39947         POWER7 optimizations.
39948         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
39949         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
39951 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
39953         * version.h: Update for 2.13 development version.
39955 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
39957         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
39958         exceptions.  Return 0.
39960 2010-05-07  Roland McGrath  <roland@redhat.com>
39962         * elf/ldconfig.c (main): Add a const.
39964 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
39966         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
39967         (args_options): Add no-idn option.
39968         (ahosts_keys_int): Add idn_flags to ai_flags.
39969         (parse_option): Handle 'i' option to clear idn_flags.
39971         * malloc/malloc.c (_int_free): Possible race in the most recently
39972         added check.  Only act on the data if no current modification
39973         happened.
39975 See ChangeLog.17 for earlier changes.